* texinfo.tex: Update from gnulib.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
27a69ff0
SM
12014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * simple.el (undo-make-selective-list): Obey undo-no-redo.
4
ecaf7f4d
SS
52014-05-12 Sam Steingold <sds@gnu.org>
6
7 * calendar/time-date.el (seconds-to-string): New function to
8 pretty print time delay in seconds.
9
97100b43
SM
102014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11
400e8286
SM
12 * mpc.el (mpc-format): Trim Date to the year.
13 (mpc-songs-hashcons): Shorten the Date field.
14
97100b43
SM
15 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
16 into autoloading just because of a silly indirection.
17
bbbabffe 182014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
0add0959
SPM
19
20 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
21
bbbabffe 222014-05-12 Glenn Morris <rgm@gnu.org>
e7caef59
GM
23
24 * emacs-lisp/find-gc.el: Move to ../admin.
25
6b45ef35
GM
26 * printing.el (pr-version):
27 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
28
8c6699ab
GM
29 * net/browse-url.el (browse-url-mosaic):
30 Create /tmp/Mosaic.PID as a private file.
31
bbbabffe 322014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5d03fb43
SM
33
34 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
35 (advice--member-p): If name is given, only compare the name.
36 (advice--remove-function): Don't stop at the first match.
37 (advice--normalize-place): New function.
38 (add-function, remove-function): Use it.
39 (advice--add-function): Pass the name, if any, to
40 advice--remove-function.
41
bbbabffe 422014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3ebdceaf
PR
43
44 * electric.el (electric-indent-post-self-insert-function): Don't use
45 `pos' after modifying the buffer (bug#17449).
46
bbbabffe 472014-05-12 Stephen Berman <stephen.berman@gmx.net>
472c15bf
SB
48
49 * calendar/todo-mode.el (todo-insert-item-from-calendar):
50 Correct argument list to conform to todo-insert-item--basic.
51
bbbabffe 522014-05-12 Glenn Morris <rgm@gnu.org>
bb1f4b8f 53
2651ed05
GM
54 * files.el (cd-absolute): Test if directory is accessible
55 rather than executable. (Bug#17330)
56
bb1f4b8f
GM
57 * progmodes/compile.el (recompile):
58 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
59
4049faae
GM
60 * net/browse-url.el (browse-url-mosaic):
61 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
62 This is CVE-2014-3423.
63
4eb43682
SM
642014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
65
fbd5cc6c
SM
66 * mouse.el: Use the normal toplevel loop while dragging.
67 (mouse-set-point): Handle multi-clicks.
68 (mouse-set-region): Handle multi-clicks for drags.
69 (mouse-drag-region): Update call accordingly.
70 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
71 Use the normal event loop instead of a local while/read-event loop.
72 (global-map): Remove redundant bindings for double/triple-mouse-1.
73 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
74 Generate synthetic down events when the protocol only sends up events.
75 (xterm-mouse-last): Remove.
76 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
77 terminal parameter instead.
78 (xterm-mouse--set-click-count): New function.
79 (xterm-mouse-event): Detect/generate double/triple clicks.
80 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
81
80a78d23
SM
82 * info.el (Info-quoted): New face.
83 (Info-mode-font-lock-keywords): New var.
84 (Info-mode): Use it.
85
4eb43682
SM
86 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
87 are a hindrance for C-x C-e.
88
2f9b4cfc
LL
892014-05-11 Leo Liu <sdl.web@gmail.com>
90
91 * net/rcirc.el (rcirc-sentinel): Fix last change.
92
f36f0bca
SS
932014-05-08 Sam Steingold <sds@gnu.org>
94
95 * net/rcirc.el (rcirc-reconnect-delay): New user option.
96 (rcirc-sentinel): Auto-reconnect to the server if
97 `rcirc-reconnect-delay' is non-0 (but not more often than its
98 value in case the host is off-line).
99
b722ea4e
EZ
1002014-05-09 Eli Zaretskii <eliz@gnu.org>
101
102 * progmodes/grep.el (lgrep): Fix a typo in last commit.
103
1d75432d
GM
1042014-05-09 Glenn Morris <rgm@gnu.org>
105
106 * files.el (file-expand-wildcards):
107 * man.el (Man-support-local-filenames):
108 * printing.el (pr-i-directory, pr-interface-directory):
109 * progmodes/grep.el (lgrep, rgrep):
110 * textmodes/ispell.el (ispell-call-process)
111 (ispell-call-process-region, ispell-start-process)
112 (ispell-init-process): Use file-accessible-directory-p.
113
b406487f
SM
1142014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
115
116 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
117 (xterm-mouse--read-event-sequence-1000): Return nil if something
118 looks fishy.
119 (xterm-mouse-event): Propagate it.
120 (xterm-mouse-translate-1): Handle it.
121
fb3f83f5 1222014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
123
124 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
125 four slots of the parameter list are filled, make sure to pass it
126 to the argument list of todo-insert-item--basic.
127
fb3f83f5 1282014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
129
130 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
131 Add optional `seen' argument to detect and break infinite loops.
132
fb3f83f5 1332014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
134
135 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
136 (trace-unsafe, trace-use-tree): Make parentheses style be
137 according to Emacs style.
138
fb3f83f5 1392014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 140
5e87fcb1
SM
141 * net/tramp-sh.el (tramp-remote-process-environment):
142 Remove HISTFILE and HISTSIZE; it's too late to set them here.
143 Add :version entry.
144 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
145 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
146 extra "PSx=..." commands.
147 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
148 (Bug#17295)
149
23e19cf2
MA
150 (tramp-uudecode): Replace the hard-coded temporary file name by a
151 format specifier.
152 (tramp-remote-coding-commands): Enhance docstring.
153 (tramp-find-inline-encoding): Replace "%t" by a temporary file
154 name. (Bug#17415)
a9fd3545 155 This is CVE-2014-3424.
23e19cf2 156
fb3f83f5 1572014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
158
159 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
160 (find-gc-source-files): Update some names.
161 (trace-call-tree): Simplify and update.
162 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 163 This is CVE-2014-3422.
0c4decae 164
fb3f83f5 1652014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 166
bf67c3f7
SM
167 * minibuffer.el (completion--try-word-completion): Revert fix for
168 Bug#15980 (bug#17375).
169
c22f24f6
SM
170 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
171 Always store button numbers in the same way in xterm-mouse-last;
172 Don't burp is xterm-mouse-last is not set as expected.
173 Never return negative indices.
174
fb3f83f5 1752014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
176
177 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
178 Backtrack one char if the global/char-literal var matcher hits
179 inside a string. The next char could be the beginning of an
180 expression expansion.
181
fb3f83f5 1822014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
183
184 * help-fns.el (describe-function-1): Test for an autoload before a
185 macro, since `macrop' works on autoloads. (Bug#17410)
186
fb3f83f5 1872014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 188
e6025d72
SM
189 * electric.el (electric-indent-functions-without-reindent): Add yaml.
190
dccb0688
SM
191 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
192 Make sure the new point we return is within the new string (bug#17239).
193
049534ad
DC
1942014-05-05 Daniel Colascione <dancol@dancol.org>
195
196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
197 Port `gnu' pattern to rx.
198
80e377c0
JC
1992014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
200
201 Remove unneeded prompt when closing a buffer with active
202 emacsclient ("Buffer ... still has clients"), #16548.
203 * server.el (server-start): Remove the only call to:
204 (server-kill-buffer-query-function): Remove.
205
f930a063
LL
2062014-05-04 Leo Liu <sdl.web@gmail.com>
207
208 * calendar/diary-lib.el (calendar-chinese-month-name-array):
209 Defvar to pacify compiler.
210
3e9fa60a 2112014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
212
213 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
214
3e9fa60a 2152014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
216
217 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
218 Use nil rather than `default' for the "default" appearance (bug#17388).
219 * vc/ediff-util.el (ediff-inferior-compare-regions)
220 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
221 a misleading `default' value when it's really a boolean.
222 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
223 overlay is not visible.
224
3e9fa60a 2252014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
226
227 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
228 (todo-menu): Uncomment and update.
229
3e9fa60a 2302014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
231
232 * calendar/todo-mode.el: Reimplement item editing to have the same
233 basic user interface as item insertion, and make small UI and
234 larger internal improvements to the latter.
235 (todo-insert-item): Add reference to the Todo mode user manual to
236 the documentation string.
237 (todo-insert-item--basic): Rename from todo-basic-insert-item and
238 adjust all callers. Change signature to combine diary and
239 nonmarking arguments. Incorporate functionality of deleted item
240 copying command and add error checking. Remove detailed
241 descriptions of the arguments from the documentation string, since
242 this is treated in the Todo mode user manual.
243 (todo-copy-item, todo-edit-multiline-item)
244 (todo-edit-done-item-comment, todo-edit-item-header)
245 (todo-edit-item-time, todo-edit-item-date-from-calendar)
246 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
247 (todo-edit-item-date-year, todo-edit-item-date-month)
248 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
249 Remove.
250 (todo-edit-item): Reimplement as wrapper command for
251 todo-edit-item--next-key and make it distinguish done and not done
252 todo items.
253 (todo-edit-item--text): New function, replacing old command
254 todo-edit-item and incorporating deleted commands
255 todo-edit-multiline-item and todo-edit-done-item-comment.
256 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
257 Use only numeric value of prefix argument. Remove detailed
258 descriptions of the arguments from the documentation string, since
259 this is treated in the Todo mode user manual.
260 (todo-edit-item--diary-inclusion): New function, replacing old
261 command todo-edit-item-diary-inclusion and incorporating and fixing
262 functionality of deleted command todo-edit-item-diary-nonmarking,
263 making sure to remove todo-nondiary-marker when adding
264 diary-nonmarking-symbol.
265 (todo-edit-category-diary-inclusion): Make sure to delete
266 diary-nonmarking-symbol when adding todo-nondiary-marker.
267 (todo-edit-category-diary-nonmarking): Fix indentation.
268 (todo-insert-item--parameters): Group diary and nonmarking
269 parameters together.
270 (todo-insert-item--apply-args): Adjust to signature of
271 todo-insert-item--basic and incorporate copy parameter.
272 Make small code improvements.
273 (todo-insert-item--next-param): Improve prompt and adjust it to
274 new parameter grouping. Remove obsolete code.
275 (todo-edit-item--param-key-alist)
276 (todo-edit-item--date-param-key-alist)
277 (todo-edit-done-item--param-key-alist): New defconsts.
278 (todo-edit-item--prompt): New variable.
279 (todo-edit-item--next-key): New function.
5e87fcb1
SM
280 (todo-key-bindings-t): Bind "e" to todo-edit-item.
281 Remove bindings of deleted commands.
aed4b12d 282
3e9fa60a 2832014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
284
285 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
286
3e9fa60a 2872014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
288
289 * allout-widgets.el (allout-widgets-tally)
290 (allout-decorate-item-guides):
291 * menu-bar.el (menu-bar-positive-p):
292 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
293 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
294 * progmodes/js.el (js--inside-param-list-p)
295 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
296 * progmodes/prolog.el (region-exists-p):
297 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
298 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
299 Doc fixes (replace `iff').
300
3e9fa60a 3012014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
302
303 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
304
bbdcf64f
LL
3052014-05-04 Leo Liu <sdl.web@gmail.com>
306
307 Support Chinese diary entries in calendar and diary. (Bug#17393)
308 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
309 (calendar-chinese-from-absolute-for-diary)
310 (calendar-chinese-to-absolute-for-diary)
311 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
312 (diary-chinese-list-entries): New functions to list and mark
313 Chinese diary entries in the calendar window.
314 (diary-chinese-anniversary)
315 (diary-chinese-insert-anniversary-entry)
316 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
317 (diary-chinese-insert-yearly-entry): New commands to insert
318 Chinese diary entries.
319
80a78d23
SM
320 * calendar/diary-lib.el (diary-font-lock-keywords):
321 Support font-locking Chinese dates.
bbdcf64f
LL
322
323 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
324 inserting Chinese diary entries.
325
80a78d23
SM
326 * calendar/calendar.el (diary-chinese-entry-symbol):
327 New customizable variable.
bbdcf64f
LL
328 (calendar-mode-map): Add bindings for inserting Chinese diary
329 entries.
330
cfd59d67
JL
3312014-05-03 Juri Linkov <juri@jurta.org>
332
333 * dired.el (dired-check-switches, dired-switches-recursive-p):
334 New functions. (Bug#17218)
335 (dired-switches-escape-p, dired-move-to-end-of-filename):
336 Use `dired-check-switches'.
337 (dired-insert-old-subdirs, dired-build-subdir-alist)
338 (dired-sort-R-check): Use `dired-switches-recursive-p'.
339
4807c7eb
BR
3402014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
341
a7e1ffdc
BR
342 * simple.el (undo-make-selective-list): New algorithm fixes
343 incorrectness of position adjustments when undoing in region.
344 (Bug#17235)
345 (undo-elt-crosses-region): Make obsolete.
80a78d23
SM
346 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
347 New functions to adjust positions using undo-deltas.
4807c7eb 348
17a873c5
SM
3492014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
352 the last consecutive closing paren (bug#17345).
353
724ee6dc
RT
3542014-04-30 Reuben Thomas <rrt@sc3d.org>
355
356 * dired.el (dired-mode): make terminology for eXpunge command
357 consistent. (Bug#17276)
358
72962dd8
EZ
3592014-04-30 Eli Zaretskii <eliz@gnu.org>
360
361 * dired.el (dired-initial-position-hook, dired-initial-position):
362 Doc string fixes.
363
09b911ad 3642014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
365
366 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
367
09b911ad 3682014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
369
370 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 371 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
372 overriden by the defface spec which also fixes issues on win32 where
373 the toolbar coloring was wrong because it is set through X resources
374 and was (wrongfully) overriden. (Bug#16694)
375
09b911ad 3762014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
377
378 * textmodes/rst.el (electric-pair-pairs): Declare.
379 (rst-mode): Set it (bug#17131).
380
09b911ad 3812014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
382
383 * desktop.el (desktop-value-to-string): Let-bind `print-length'
384 and `print-level' to nil. (Bug#17351)
385
09b911ad 3862014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
387
388 * battery.el (battery-update): Handle the case where battery
389 status is "N/A" (bug#17319).
390
9b7b020d
SM
3912014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
394 to syntax-propertize.
395 (ps-mode-auto-indent): Mark as obsolete.
396 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
397 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
398 word regexp operators.
399 (ps-mode-map): Move initialization into declaration. Remove binding
400 for TAB, RET, >, ], and }.
401 (ps-mode-syntax-table): Move initialization into declaration.
402 Don't give word syntax to non-word chars.
403 (ps-run-mode-map): Move initialization into declaration.
404 (ps-mode-menu-main): Remove auto-indent entry.
405 (ps-mode-smie-rules): New function.
406 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
407 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
408 (ps-mode--string-syntax-table): New const.
409 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
410 New functions.
411 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
412 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
413
196bfaec
DC
4142014-04-27 Daniel Colascione <dancol@dancol.org>
415
416 * term/xterm.el (xterm-paste): Use large finite timeout when
417 reading event to avoid putting keys in this-command-keys.
418
5ba339c7
SM
4192014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
420
421 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
422 (perl-syntax-propertize-function): Use it. Extend handling of
423 here-docs to the unquoted case.
424
dff4a9f6 4252014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 426
5ba339c7
SM
427 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
428 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 429
dff4a9f6 4302014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
431
432 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
433 Fix syntax for @. (Bug#17325)
434
dff4a9f6 4352014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
436
437 * emacs-lisp/cl.el (gv): Require gv early to break eager
438 macro-expansion cycles.
439
dff4a9f6 4402014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 441
05452dc4
SM
442 * simple.el (region-active-p): Check there's a mark (bug#17324).
443
0e8a9331
SM
444 * simple.el (completion-list-mode-map): Use choose-completion for the
445 mouse binding as well (bug#17302).
446 (completion-list-mode, completion-setup-function): Adjust docstring and
447 echo area message accordingly.
448 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
449 calling convention of choose-completion.
450 * comint.el (comint-dynamic-list-completions):
451 * term.el (term-dynamic-list-completions): Accept choose-completion.
452
c0868451
SM
453 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
454 &, |, +, - and * can't be a division (bug#17317).
455
f7e0450a
SM
456 * term/xterm.el (xterm--version-handler): Don't use modern xterm
457 features on gnome-terminal (bug#16988).
458
5e4ab4e4
TTN
4592014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
460
461 Improve Scheme font-locking for (define ((foo ...) ...) ...).
462
463 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
464 the declared object, ignore zero or more parens, not zero or one.
465
d5031a2a
LL
4662014-04-24 Leo Liu <sdl.web@gmail.com>
467
468 * progmodes/xscheme.el (xscheme-expressions-ring)
469 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
470 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
471 (xscheme-allow-output-p, xscheme-prompt)
472 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
473
474 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
475 Comment out unused functions.
476
118b5a92
SM
4772014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * info.el: Use lexical-binding and cl-lib.
480 Use defvar-local and setq-local instead of make-local-variable.
481 (Info-apropos-matches): Avoid add-to-list.
482 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
483
9b233997
DC
4842014-04-24 Daniel Colascione <dancol@dancol.org>
485
486 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
487
ddc13efd
SM
4882014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
489
490 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
491
f2df692c
MH
4922014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
493
494 * dired.el (dired-insert-set-properties): Do not consider
495 subdirectory headings and empty lines to be information that
496 `dired-hide-details-mode' should hide. (Bug#17228)
497
14828a95
MA
4982014-04-22 Michael Albinus <michael.albinus@gmx.de>
499
500 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
501 Remove test messages.
502 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
503 and `target' twice.
504
42e91034 5052014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 506
9c104369
SM
507 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
508 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
509
622eef68
SM
510 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
511
42e91034 5122014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 513
622eef68
SM
514 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
515 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
516 the file name. Add test messages for hunting a bug on hydra.
517 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
518
42e91034 5192014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
520
521 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
522 Don't prettify a word within a symbol.
523
42e91034 5242014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
525
526 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
527 possible.
528
1b0f10d2
DC
5292014-04-22 Daniel Colascione <dancol@dancol.org>
530
531 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
532 use defun to define `function-put'.
533
67c477ae
SM
5342014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
535
4f965793
SM
536 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
537 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
538 (lisp-mode-variables): Set font-lock-extra-managed-props.
539
67c477ae
SM
540 * emacs-lisp/byte-run.el (function-put): New function.
541 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
542 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
543 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
544 Use them.
545
66fda794
DC
5462014-04-22 Daniel Colascione <dancol@dancol.org>
547
67c477ae
SM
548 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
549 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
550 `macroexpand-all'.
551
552 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
553 Improve docstrings.
554
c98212f9
DC
555 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
556 Use lambda function values, not quoted lambdas.
557 (byte-compile-recurse-toplevel): Remove extraneous &optional.
558
66fda794 559 * emacs-lisp/cl-macs.el
c98212f9 560 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
561 (cl-struct-slot-value): Conditionally use aref or nth so that the
562 compiler produces optimal code.
563
d6f14ca7
SM
5642014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
567 (inline): Don't inline cl--set-elt.
568 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
569 Define as inlinable instead.
570 (cl-struct-set-slot-value): Remove.
571
572 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
573 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
574 Use setf instead.
575
44faec17
DC
5762014-04-21 Daniel Colascione <dancol@dancol.org>
577
578 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
579 last two parameters after all.
580 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
581 (cl--compiler-macro-assoc,cl-struct-slot-value)
582 (cl-struct-set-slot-value): Stop using them.
583
584(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
585
586 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
587 entry in image-mode-winprops-alist.
588
2fa1b97d
DC
5892014-04-21 Daniel Colascione <dancol@dancol.org>
590
9253f7af
SM
591 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
592 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
593 (byte-compile-toplevel-file-form): Use it.
594
2fa1b97d
DC
595 * emacs-lisp/cl-macs.el:
596 (cl--loop-let): Properly destructure `while' clauses.
597
e8a77f24
DC
5982014-04-20 Daniel Colascione <dancol@dancol.org>
599
600 * vc/vc.el (vc-root-dir): New public autoloaded function for
601 generically finding the current VC root.
602 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 603 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 604
89a2e783
DC
6052014-04-20 Daniel Colascione <dancol@dancol.org>
606
607 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
608 argument.
609 (cl--const-expr-val): cl--const-expr-val should macroexpand its
610 argument in case we're inside a symbol-macrolet.
611 (cl--do-arglist, cl--compiler-macro-typep)
612 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
613 environment to `cl--const-expr-val'.
614 (cl-struct-sequence-type,cl-struct-slot-info)
615 (cl-struct-slot-offset, cl-struct-slot-value)
616 (cl-struct-set-slot-value): New functions.
617
fe36068f
SM
6182014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
619
620 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
621 assignments such as "case=hello" (bug#17297).
622
ce8c5107
MA
6232014-04-18 Michael Albinus <michael.albinus@gmx.de>
624
625 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
626 Do not autoload.
627 (tramp-file-name-handler, tramp-completion-file-name-handler):
628 Revert patch from 2014-04-10, it isn't necessary anymore.
629 (tramp-autoload-file-name-handler)
630 (tramp-register-autoload-file-name-handlers): New defuns.
631 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
632 (tramp-register-file-name-handlers): Remove also
633 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
634 Do not autoload its invocation, but eval it after loading of 'tramp.
635
636 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
637
638 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
639
bfc30790
DC
6402014-04-17 Daniel Colascione <dancol@dancol.org>
641
642 Add support for bracketed paste mode; add infrastructure for
643 managing terminal mode enabling and disabling automatically.
644
645 * xt-mouse.el:
646 (xterm-mouse-mode): Simplify.
647 (xterm-mouse-tracking-enable-sequence)
648 (xterm-mouse-tracking-disable-sequence): New constants.
649 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
650 (turn-off-xterm-mouse-tracking-on-terminal):
651 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
652 parameters instead of random hooks.
653 (turn-on-xterm-mouse-tracking)
654 (turn-off-xterm-mouse-tracking): Delete.
655
656 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
657 (xterm-paste-ending-sequence): New constant.
658 (xterm-paste): New command used for bracketed paste support.
659
660 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
661 (terminal-init-xterm-bracketed-paste-mode): New function.
662 (terminal-init-xterm): Call it.
663 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
664 and tty-mode-reset-strings instead of random hooks.
665 (xterm-turn-on-modify-other-keys)
666 (xterm-turn-off-modify-other-keys)
667 (xterm-remove-modify-other-keys): Delete obsolete functions.
668
67c477ae
SM
669 * term/screen.el: Rewrite to just use the xterm code.
670 Add copyright notice. Mention tmux.
bfc30790 671
e51c8d91
I
6722014-04-17 Ian D <dunni@gnu.org> (tiny change)
673
674 * image-mode.el (image-mode-window-put): Also update the property of
675 the "default window".
676 * doc-view.el (doc-view-new-window-function): If no window
677 exists, move to the last known page.
678
c76a7a5c
SM
6792014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
682 here-documents (bug#17262).
683
bf6b4923
EZ
6842014-04-16 Eli Zaretskii <eliz@gnu.org>
685
c76a7a5c
SM
686 * term/pc-win.el (x-list-fonts, x-get-selection-value):
687 Provide doc strings, as required by snarf-documentation.
bf6b4923 688
290d7ac2 6892014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
690
691 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
692 arg of overlays-at. Use `invisible-p'.
693
694 * obsolete/lucid.el (extent-at):
695 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
696 overlays-at.
697 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
698
290d7ac2 6992014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
700
701 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
702 links. (Bug#17217).
703
290d7ac2 7042014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
705
706 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
707 Use mapc to loop over a vector. (Bug#17257).
708
290d7ac2 7092014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
710
711 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
712 patch, there are new problems with file names containing spaces.
713 Get rid of backticks. (Bug#17238)
714
290d7ac2 7152014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
716
717 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
718 possible bug.
719
290d7ac2 7202014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
721
722 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
723 (blink-cursor-mode): Mention customization variables and the
724 effect of 'blink-cursor-blinks'.
725
290d7ac2 7262014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
727
728 * simple.el (undo): Prevent insertion of identity mapping into
729 undo-equiv-table so as undo-only does not inf loop in the presence
730 of consecutive nils in undo list.
731
290d7ac2 7322014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
733
734 * faces.el (make-face): Deprecate optional argument as it is no
735 longer needed/used since the conditional X resources handling
736 has been pushed down to make-face-x-resource-internal itself.
737 (make-empty-face): Don't pass optional argument to make-face.
738
5f6b4154
KF
7392014-04-16 Karl Fogel <kfogel@red-bean.com>
740
741 * savehist.el (savehist-save): Remove workaround for a read-passwd
742 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
743 noticing that the shim was still present.
744
005551fe
SM
7452014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
748
b92583c4
JB
7492014-04-14 Juanma Barranquero <lekktu@gmail.com>
750
751 * faces.el (face-set-after-frame-default): Remove unused local variable.
752
6c2453e0
SM
7532014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
754
f7993853
SM
755 * progmodes/grep.el: Use lexical-binding.
756 (grep-expand-template): Pass explicit lexical env to `eval'.
757 (zrgrep): Let-bind grep-find-template explicitly.
758
6c2453e0
SM
759 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
760 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
761
ac387dd1
EZ
7622014-04-12 Eli Zaretskii <eliz@gnu.org>
763
764 * international/characters.el <standard-case-table>: Add entries
765 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 766 Set category of Coptic characters be 'g' (Greek).
ac387dd1 767
2e611da6
LL
7682014-04-12 Leo Liu <sdl.web@gmail.com>
769
e0af4095
GM
770 * progmodes/octave.el (completion-table-with-cache):
771 Define if not available.
772 (octave-goto-function-definition, octave-sync-function-file-names)
773 (octave-find-definition-default-filename):
774 Backquote upattern for compatibility.
2e611da6 775
e0af4095 7762014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
777
778 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
779 name twice due to backticks. (Bug#17238)
780
e0af4095 7812014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
782
783 * term/w32-win.el (x-win-suspend-error):
784 * term/x-win.el (x-win-suspend-error): Sync docs.
785
7f0f4c25
MD
7862014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
787
f7993853
SM
788 * faces.el (make-face): Remove deprecated optional argument.
789 The conditional application of X resources is handled directly by
7f0f4c25
MD
790 make-face-x-resource-internal since Emacs 24.4.
791 (make-empty-face): Don't pass optional argument to make-face.
792
e088b01d
GM
7932014-04-11 Glenn Morris <rgm@gnu.org>
794
795 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
796
536aa466 7972014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
798
799 Ediff's overlay priorities cause more trouble than they solve.
800 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
801 (ediff-highest-priority): Remove function (bug#17234).
802 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
803 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
804 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
805 overlay priorities.
806
536aa466 8072014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
808
809 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
810 entry; use symbol boundaries to avoid mis-matches.
811
536aa466 8122014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
813
814 * net/tramp.el (tramp-file-name-handler)
815 (tramp-completion-file-name-handler): Avoid recursive loading.
816
817 * net/tramp-sh.el (tramp-make-copy-program-file-name):
818 Quote result also locally.
819
0d6a1375
SM
8202014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
821
c99ce7d8
SM
822 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
823 Remove left-over code.
824
0d6a1375
SM
825 * newcomment.el (comment-indent-new-line): Sink code where it's used.
826 Reuse the previous comment's indentation unconditionally if it's on its
827 own line.
828
3f63a9f7
DC
8292014-04-09 Daniel Colascione <dancol@dancol.org>
830
831 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
832 `no-syntax-crossing' arguments. Forward to `up-list'.
833 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
834 Implement logic for escaping from strings. Use narrowing to deal
835 with corner cases.
836
0b816f15
LL
8372014-04-09 Leo Liu <sdl.web@gmail.com>
838
839 * net/rcirc.el (rcirc-connection-info): New variable.
840 (rcirc-connect): Use it to store connection info.
841 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
842 for killed process.
843 (rcirc-cmd-reconnect): New command. (Bug#17045)
844 (rcirc-mode, set-rcirc-encode-coding-system)
845 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
846
22683580
DC
8472014-04-09 Daniel Colascione <dancol@dancol.org>
848
849 * emacs-lisp/cl-indent.el: Add comment claiming
850 facility is also good for elisp.
851 (lisp-indent-find-method): New function.
852 (common-lisp-indent-function): Recognize cl-loop.
853 (common-lisp-indent-function-1): Recognize cl constructs; use
854 `lisp-indent-find-method' instead of `get' directly.
855 (if): Use else-body style for elisp.
856
0122b24d
DG
8572014-04-09 Dmitry Gutov <dgutov@yandex.ru>
858
859 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
860 Module methods. (Bug#17216)
861
559836fb 8622014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
863
864 * help.el (describe-bindings): Fix buffer handling (bug#17210).
865 (describe-bindings-internal): Mark obsolete.
866
6bc76cee
SM
8672014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
868
869 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
870 buffer-file-name, and buffer-file-truename any more.
871
dc0b0454
LL
8722014-04-08 Leo Liu <sdl.web@gmail.com>
873
874 Use lexical-binding and require cl-lib.
875 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
876 (rcirc-handler-generic, rcirc-fill-paragraph)
877 (rcirc-format-response-string, rcirc-target-buffer)
878 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
879 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
880 (rcirc-ctcp-sender-PING, rcirc-browse-url)
881 (rcirc-markup-timestamp, rcirc-markup-attributes)
882 (rcirc-markup-my-nick, rcirc-markup-urls)
883 (rcirc-markup-bright-nicks, rcirc-markup-fill)
884 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
885 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
886 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
887 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
888 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
889 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
890 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
891 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
892 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
893 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
894 use cl-lib.
895
190f899a
JT
8962014-04-07 João Távora <joaotavora@gmail.com>
897
6f287c89
GM
898 * elec-pair.el (electric-pair--syntax-ppss):
899 When inside comments parse from comment beginning.
190f899a
JT
900 (electric-pair--balance-info): Fix typo in comment.
901 (electric-pair--in-unterminated-string-p): Delete.
902 (electric-pair--unbalanced-strings-p): New function.
903 (electric-pair-string-bound-function): New var.
904 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
905 according to `electric-pair--in-unterminated-string-p'
906
6f287c89
GM
907 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
908 Inhibit quote pairing if point-max is inside an unterminated string.
909 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
910 (electric-pair--in-unterminated-string-p): New function.
911
a9c921e6
GM
9122014-04-07 Glenn Morris <rgm@gnu.org>
913
914 * shell.el (shell-directory-tracker):
915 Go back to just ignoring failures. (Bug#17159)
916
6f287c89 9172014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
918
919 Fix `electric-pair-delete-adjacent-pairs' in modes binding
920 backspace. (bug#16981)
921 * elec-pair.el (electric-pair-backward-delete-char): Delete.
922 (electric-pair-backward-delete-char-untabify): Delete.
923 (electric-pair-mode-map): Bind backspace to a menu item filtering
924 a new `electric-pair-delete-pair' command.
925 (electric-pair-delete-pair): New command.
926
6f287c89
GM
927 * progmodes/python.el (python-electric-pair-string-delimiter):
928 Fix triple-quoting electricity. (Bug#17192)
89f20f76 929
6f287c89
GM
930 * elec-pair.el (electric-pair-post-self-insert-function):
931 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 932 `electric-pair-pairs' were used. syntax to
7aecc2f6 933 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 934
6f287c89 9352014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
936
937 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
938 "<F>". (Bug#17199)
939
6f287c89 9402014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
941
942 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
943 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
944
6f287c89 9452014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
946
947 * help.el (view-lossage): Doc tweak.
948
6f287c89 9492014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
950
951 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
952 only when inhibit-x-resources is nil, and do that earlier in the
953 function. Doc fix. (Bug#16694)
fdafd487
MD
954 (face-spec-choose): Accept additional optional argument, whose
955 value is returned if no matching attributes are found.
956 (face-spec-recalc): Use the new optional argument when calling
957 face-spec-choose. (Bug#16378)
f5e4494c
MD
958 (make-face-x-resource-internal): Do nothing when
959 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 960 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
961 (face-set-after-frame-default): Don't call
962 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 963
6f287c89 9642014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 965
0beb7fb7
SM
966 * doc-view.el (doc-view-bookmark-jump):
967 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
968 buffer is shown in a window. (bug#16090)
969
6f287c89 9702014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
971
972 * international/characters.el (mirroring): Fix last change:
973 instead of loading uni-mirrored.el explicitly, do that implicitly
974 by creating the 'mirroring' uniprop table. This avoids announcing
975 the loading of uni-mirrored.el.
976
6f287c89 9772014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
978
979 * files.el (buffer-stale--default-function)
980 (buffer-stale-function, revert-buffer--default):
981 * autorevert.el (auto-revert-buffers): Doc tweaks.
982
6f287c89 9832014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
984
985 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
986
6f287c89 9872014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
988
989 * files.el (make-backup-file-name-function)
990 (make-backup-file-name, make-backup-file-name--default-function)
991 (make-backup-file-name-1, find-backup-file-name)
992 (revert-buffer-function, revert-buffer-insert-file-contents-function)
993 (buffer-stale--default-function, buffer-stale-function)
994 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
995 (revert-buffer, revert-buffer--default)
996 (revert-buffer-insert-file-contents--default-function):
997 Doc fixes related to defaults no longer being nil.
998 (make-backup-file-name-function): Bump :version.
999 Restore nil as a valid but deprecated custom type.
1000
6f287c89 10012014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 1002
6f287c89
GM
1003 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1004 Handle $' used as a variable (bug#17174).
66f50b12
SM
1005
1006 * progmodes/perl-mode.el (perl-indent-new-calculate):
1007 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
1008 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1009 modifiers introducing expressions (bug#17116).
66f50b12 1010
7b656e4a
SM
10112014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1014
722237d5
LL
10152014-04-05 Leo Liu <sdl.web@gmail.com>
1016
7b656e4a
SM
1017 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1018 Add define-compilation-mode.
722237d5 1019
5cb0cc90
JT
10202014-04-04 João Távora <joaotavora@gmail.com>
1021
9b017563
JB
1022 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1023 parse from comment beginning.
5cb0cc90
JT
1024 (electric-pair--balance-info): Fix typo in comment.
1025 (electric-pair--in-unterminated-string-p): Delete.
1026 (electric-pair--unbalanced-strings-p): New function.
1027 (electric-pair-string-bound-function): New var.
1028 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 1029 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 1030
6b31e6b1
SM
10312014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1034 Move declaration before first use.
1035 (reftex-move-to-next-arg): Silence compiler warning.
1036
0de7d982
JK
10372014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1038
6b31e6b1
SM
1039 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1040 Use `window-total-width' instead of `window-width'.
0de7d982 1041
01ae0fbf
DC
10422014-04-03 Daniel Colascione <dancol@dancol.org>
1043
1044 * subr.el (set-transient-map): Remove rms's workaround entirely;
1045 use new `suspicious-object' subr to mark our lambda for closer
1046 scrutiny during gc.
1047
4fd68bf6
RS
10482014-04-02 Richard Stallman <rms@gnu.org>
1049
1050 * subr.el (set-transient-map): Comment out previous change.
1051
c7510f6e
GM
10522014-04-02 Glenn Morris <rgm@gnu.org>
1053
0b908bf2
GM
1054 * menu-bar.el (menu-bar-file-menu):
1055 * vc/ediff.el (ediff-current-file):
1056 Update for revert-buffer-function no longer being nil by default.
1057
c7510f6e
GM
1058 * simple.el (command-execute): Respect nil disabled-command-function.
1059
09aba815 10602014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
1061
1062 * simple.el (command-execute): Do not execute the command when it
1063 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1064
09aba815 10652014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
1066
1067 * dired-aux.el (dired-compress-file): Don't use string-match-p
1068 because its match data is used afterwards.
1069
09aba815 10702014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
1071
1072 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1073 0 like nil.
1074
200c532b
JT
10752014-04-02 João Távora <joaotavora@gmail.com>
1076
6b31e6b1
SM
1077 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1078 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
1079 (electric-pair--looking-at-unterminated-string-p):
1080 Delete.
1081 (electric-pair--in-unterminated-string-p): New function.
1082
2395f2b9
DC
10832014-04-01 Daniel Colascione <dancol@dancol.org>
1084
1085 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1086 when trying to complete the prompt.
1087
294b2b09
LL
10882014-03-31 Leo Liu <sdl.web@gmail.com>
1089
6b31e6b1
SM
1090 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1091 Refactor out eldoc-documentation-function-default.
294b2b09
LL
1092 (eldoc-documentation-function-default): New function.
1093 (eldoc-documentation-function): Change value.
1094
4f3a895b
GM
10952014-03-31 Glenn Morris <rgm@gnu.org>
1096
1097 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1098
1db854cc
GM
1099 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1100 (vhdl-compose-components-package, vhdl-compose-configuration):
1101 Abbreviate default-directory (missing from some previous upstream sync).
1102
3c2d4776
RZ
11032014-03-31 Reto Zimmermann <reto@gnu.org>
1104
1105 Sync with upstream vhdl mode v3.35.2.
1106 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1107 (top-level): No longer require assoc.
1108 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1109 New functions. Use throughout to replace aget etc.
1110 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1111 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1112 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1113 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1114 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1115 except `vhdl-compiler'.
1116 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1117 when appropriate.
1118
5c30ab7a
GM
11192014-03-31 Glenn Morris <rgm@gnu.org>
1120
1121 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1122 Revert 2014-03-26 merge goof; go back to using defalias.
1123
1861d5a7
DC
11242014-03-30 Daniel Colascione <dancol@dancol.org>
1125
6b31e6b1
SM
1126 * comint.el (comint-send-input):
1127 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
1128 (Bug#17139).
1129
1130 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1131 on keyboard-quit.
1132
41116c5a
GM
11332014-03-29 Glenn Morris <rgm@gnu.org>
1134
1135 * textmodes/reftex.el: Manage most autoloads automatically.
1136 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1137 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1138 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1139 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1140 * textmodes/reftex-toc.el: Set generated-autoload-file,
1141 and add autoload cookies for reftex.el.
1142 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1143
c3153003
GM
11442014-03-28 Glenn Morris <rgm@gnu.org>
1145
7b207d6d
GM
1146 * cus-start.el (report-emacs-bug-address): Set custom properties.
1147 * mail/emacsbug.el (report-emacs-bug-address):
1148 Variable is now defined in emacs.c.
1149
c3153003
GM
1150 * mail/emacsbug.el (report-emacs-bug):
1151 Include system-configuration-features.
1152
687e0e19
MN
11532014-03-28 Michal Nazarewicz <mina86@mina86.com>
1154
1155 * simple.el (cycle-spacing): Never delete spaces on first run by
1156 default, but do so in a new 'fast mode and if there are already
4f3a895b 1157 N spaces (the previous behavior).
687e0e19
MN
1158 Compare N with its value in previous invocation so that changing
1159 prefix argument restarts `cycle-spacing' sequence.
687e0e19 1160 The idea is that with this change, binding M-SPC to
4f3a895b 1161 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
1162 the binding so long as users do not type M-SPC twice in a raw with
1163 the same prefix argument or lack thereof.
1164
95de732d
GM
11652014-03-28 Glenn Morris <rgm@gnu.org>
1166
1167 * faces.el (term-file-aliases): New variable.
1168 (tty-run-terminal-initialization): Respect term-file-aliases.
1169 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1170 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1171 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1172
6730259f
GM
11732014-03-27 Glenn Morris <rgm@gnu.org>
1174
862a4e4a
GM
1175 * startup.el (inhibit-startup-hooks): Doc tweak.
1176 (normal-top-level): Simplify running of hooks.
1177 For window-setup-hook, respect inhibit-startup-hooks.
1178 (command-line-1): Don't set window-setup-hook to nil.
1179
6730259f
GM
1180 Allow selective autoloading from obsolete/ directory.
1181 * Makefile.in (obsolete-autoloads): New rule.
1182 (autoloads): Run obsolete-autoloads.
1183 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1184 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1185
42ebc34e
DG
11862014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1187
929c0500
SM
1188 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1189 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 1190
42ebc34e
DG
1191 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1192 Don't propertize `?' or `!' as symbol constituent when after
1193 colon. (Bug#17097)
1194
b1c870c9
JB
11952014-03-27 Juanma Barranquero <lekktu@gmail.com>
1196
857ba6ec
JB
1197 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1198 which is no longer needed and causes trouble in GTK builds (bug#17046).
1199
b1c870c9
JB
1200 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1201 Use url-insert-file-contents; package-handle-response no longer exists.
1202
8ab9876a
DC
12032014-03-26 Daniel Colascione <dancol@dancol.org>
1204
1205 * simple.el (process-menu-mode-map): New variable.
1206 (process-menu-delete-process): New command.
1207
196716cf
JB
12082014-03-26 Juanma Barranquero <lekktu@gmail.com>
1209
1210 * emacs-lisp/package.el: Fix bug#16733 (again).
1211 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1212 (url-http-target-url): Remove unused declarations.
1213 (package-handle-response): Remove.
1214 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1215 (package--download-one-archive): Use current-buffer instead of
1216 dynamic binding of `buffer'.
1217 (describe-package-1): Do not decode readme-string.
1218
16adf2e6 12192014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
1220
1221 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1222
1223 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1224 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1225 `remote-file-name-inhibit-cache' to nil in the second pass.
1226 (tramp-find-executable): Do not call "which" on SunOS.
1227 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
1228 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1229 check whether source directory has set the sticky bit.
1f73d6c6 1230
16adf2e6 12312014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
1232
1233 * simple.el (primitive-undo): Only process marker adjustments
1234 validated against their corresponding (TEXT . POS). Issue warning
1235 for lone marker adjustments in undo history. (Bug#16818)
1236 (undo-make-selective-list): Add marker adjustments to selective
1237 undo list based on whether their corresponding (TEXT . POS) is in
1238 the region. Remove variable adjusted-markers, which was unused
1239 and only non nil during undo-make-selective-list.
1240 (undo-elt-in-region): Return nil when passed a marker adjustment
1241 and explain in function doc.
1242
16adf2e6 12432014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
1244
1245 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1246
16adf2e6 12472014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
1248
1249 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1250 Match special global variables without curlies, too.
1251 (ruby-font-lock-keywords): Simplify the matcher for special global
1252 variables. Don't require a non-word character after the variable.
1253 (Bug#17057)
1254
16adf2e6 12552014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
1256
1257 * simple.el (redisplay-highlight-region-function): Increase priority of
1258 overlay to make sure boundaries are visible (bug#15899).
1259
16adf2e6 12602014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 1261
16adf2e6
JB
1262 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1263 (frameset-restore): Compare display strings with equal.
ee79b33f 1264
3ea2c781
JB
1265 * frame.el (make-frame): Don't quote display name in error message,
1266 it is already a string.
1267
16adf2e6 12682014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
1269
1270 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1271 the password.
1272
16adf2e6 12732014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 1274
16adf2e6
JB
1275 * emacs-lisp/package.el (package--add-to-archive-contents):
1276 Include already installed and built-in packages in
1277 `package-archive-contents'.
1278 (package-install): Don't include already installed packages in the
1279 options during interactive invocation. (Bug#16762)
1280 (package-show-package-list): If the buffer is already displayed in
1281 another window, switch to that window.
1282
fb3deac8
RZ
12832014-03-26 Reto Zimmermann <reto@gnu.org>
1284
1285 Sync with upstream vhdl mode v3.35.1.
1286 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1287 (vhdl-compiler-alist): Doc fix.
1288 (vhdl-goto-line): Remove.
1289 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1290 (vhdl-mode) <paragraph-start>: Fix value.
1291 (vhdl-fix-statement-region): Not `for' in wait-statement.
1292 (vhdl-beautify-region): Also (un)tabify.
1293 (vhdl-get-visible-signals):
1294 Scan declarative part of generate statements.
1295 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
1296 (vhdl-expand-abbrev, vhdl-expand-paren):
1297 Revert to using fset again rather than defalias.
fb3deac8
RZ
1298 (vhdl-scan-directory-contents): Tweak.
1299 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1300 (vhdl-compose-components-package):
1301 Replace vhdl-goto-line with forward-line.
1302 (top-level): Tweak speedbar frame selection.
1303 (vhdl-generate-makefile-1): Support for compilers with no
1304 unit-to-file name mapping (create directory with dummy files).
1305
511df08c
WS
13062014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1307
1308 Sync with upstream verilog-mode revision 702457d.
1309 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1310 (create-lockfiles): Declare.
1311 (verilog-read-decls): Fix module header imports, bug709.
1312 Reported by Victor Lau.
1313 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1314 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 1315 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 1316
11ee65af
GM
13172014-03-26 Glenn Morris <rgm@gnu.org>
1318
b4aca021
GM
1319 * obsolete/gulp.el: Move here from emacs-lisp/.
1320
11ee65af
GM
1321 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1322 Remove fallback aliases, since they are always defined now.
1323
1edb4a2e
DC
13242014-03-24 Daniel Colascione <dancol@dancol.org>
1325
1326 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1327 instead of cl-loop search function.
1328
7a31038f
G
13292014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1330
1331 * calendar/parse-time.el (parse-time-iso8601-regexp)
1332 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1333 it more generally.
1334
13352014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1336
1337 * net/dns.el (network-interface-list): Define for XEmacs.
1338
13392014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1340
1341 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1342 the network interfaces changed.
1343 (dns-query): Use it to flush the data.
1344
835af719
JB
13452014-03-23 Juanma Barranquero <lekktu@gmail.com>
1346
1347 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1348
6ddc4422
DC
13492014-03-23 Daniel Colascione <dancol@dancol.org>
1350
1351 Change subword-mode to use `find-word-boundary-function-table' and
1352 replace `capitalized-words-mode'. Also, convert to lexical
1353 binding.
1354
1355 * progmodes/cap-words.el: Delete now-obsolete file.
1356 * progmodes/subword.el: Reimplement using
1357 `find-word-boundary-function-table'.
1358 (subword-mode-map): Hollow out.
1359 (capitalized-words-mode): Define as obsolete alias for
1360 `subword-mode'.
9b017563 1361 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 1362 implementation; call `subword-setup-buffer'.
9b017563 1363 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
1364 unused variable.
1365 (subword-find-word-boundary-function-table): New constant.
1366 (subword-empty-char-table): New constant.
1367 (subword-setup-buffer): New function.
1368 (subword-find-word-boundary): New function.
1369
c6b0fbe7
DC
13702014-03-23 Daniel Colascione <dancol@dancol.org>
1371
1372 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1373 list to look for keyword arguments instead of `memq', fixing
1374 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1375 Please make bootstrap.
1376
5076d275
GM
13772014-03-22 Glenn Morris <rgm@gnu.org>
1378
5dbc3244
GM
1379 * dired.el (dired-read-regexp): Make obsolete.
1380 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1381 (dired-flag-files-regexp):
1382 * dired-aux.el (dired-mark-read-regexp):
1383 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1384
00156f95
GM
1385 * startup.el (fancy-startup-text):
1386 * help.el (describe-gnu-project): Visit online info about GNU project.
1387
f9c81e7b
GM
1388 * help-fns.el (help-fns--interactive-only): New function.
1389 (help-fns-describe-function-functions): Add the above function.
1390 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1391 (next-line, previous-line): Remove hand-written interactive-only
1392 information from doc strings, it is auto-generated now.
1393 * bookmark.el (bookmark-write):
1394 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1395 (epa-mail-import-keys): Mark interactive-only,
1396 and remove hand-written interactive-only information from doc strings.
1397 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1398 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1399 * files.el (not-modified):
1400 * simple.el (mark-whole-buffer): Mark interactive-only.
1401
5076d275
GM
1402 * emacs-lisp/byte-run.el (defun-declarations-alist):
1403 Add interactive-only. Doc tweak.
1404 (macro-declarations-alist): Doc tweak.
1405 * subr.el (declare): Doc tweak (add xref to manual).
1406 * comint.el (comint-run):
1407 * files.el (insert-file-literally, insert-file):
1408 * replace.el (replace-string, replace-regexp):
1409 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1410 (delete-forward-char, goto-line, insert-buffer, next-line)
1411 (previous-line): Set interactive-only via declare.
1412
1197f2e6
DG
14132014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1414
1415 * emacs-lisp/package.el (package-desc): Use the contents of the
1416 quoted form, not its cdr. (Bug#16873)
1417
aac06179
JB
14182014-03-22 Juanma Barranquero <lekktu@gmail.com>
1419
1420 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1421 benefit of doc.c; change parameter profile to match the X function.
1422
3e7bc044
LL
14232014-03-22 Leo Liu <sdl.web@gmail.com>
1424
1425 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1426 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1427
59271b3e
RS
14282014-03-21 Richard Stallman <rms@gnu.org>
1429
8266cd88
RS
1430 * battery.el (battery-linux-sysfs): Search for each field
1431 from the beginning of the buffer.
1432
16ec0742
RS
1433 * subr.el (set-transient-map): Clear out function and value
1434 of the temporary symbol when we're done with it.
1435
59271b3e
RS
1436 * mail/rmailsum.el (rmail-summary-delete-forward):
1437 Optimize case of reaching end and handling count.
1438 (rmail-summary-mark-deleted): Optimize when N is current msg.
1439 Don't create new summary line.
1440 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1441 (rmail-summary-undelete-many): Rewrite for speed.
1442 (rmail-summary-msg-number): New function.
1443
1444 * mail/rmail.el (rmail-delete-message): Update summary.
1445 (rmail-undelete-previous-message): Handle repeat count arg.
1446 (rmail-delete-backward, rmail-delete-forward): Likewise.
1447
0d8ac93e
DC
14482014-03-21 Daniel Colascione <dancol@dancol.org>
1449
1450 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1451 information in bug reports.
1452
1e92a8a3
MA
14532014-03-21 Michael Albinus <michael.albinus@gmx.de>
1454
1455 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1456 and `tramp-copy-env'.
1457
1458 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1459 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1460
78540c42
GM
14612014-03-21 Glenn Morris <rgm@gnu.org>
1462
1463 * electric.el (electric-indent-post-self-insert-function): Add doc.
1464
1fc8f655
DG
14652014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1466
dcf78667
DG
1467 * emacs-lisp/package.el (package-compute-transaction):
1468 Use `version-list-<=' to compare the requirement version against
1469 the version of package already to be installed. Update the error
1470 message. (Bug#16826)
1471
1fc8f655
DG
1472 * progmodes/ruby-mode.el (ruby-smie-rules):
1473 Add indentation rule for ` @ '. (Bug#17050)
1474
dada060d
JB
14752014-03-21 Juanma Barranquero <lekktu@gmail.com>
1476
1477 * align.el (align-regexp): Remove superfluous backslash.
1478
1479 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1480 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1481 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1482 Fix docstring typos.
1483 (ffap-next): Use C-u in docstring.
1484 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1485 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1486 Remove superfluous backslashes.
1487 (ffap-string-at-point): Reflow docstring.
1488
1489 * server.el (server-host): Reflow docstring.
1490 (server-unload-function): Fix docstring typo.
1491 (server-eval-at): Remove superfluous backslash.
1492
1493 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1494 (skeleton-insert): Doc fix.
1495 (skeleton-insert): Reflow docstring.
1496
1497 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1498 (tty-color-approximate, tty-color-by-index, tty-color-values)
1499 (tty-color-desc): Remove superfluous backslashes.
1500
f428101f
GM
15012014-03-21 Glenn Morris <rgm@gnu.org>
1502
26e91130
GM
1503 * cus-start.el (history-length): Bump :version.
1504
aa3a7b51
GM
1505 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1506 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1507 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1508 Don't set `make-backup-files'.
1509
f428101f
GM
1510 * info.el (info--prettify-description): New function,
1511 to give info-finder descriptions consistent case, punctuation.
1512 (Info-finder-find-node): Use it. Sort packages.
1513 Refer to "description" rather than "commentary".
1514
6ce1b56e
JB
15152014-03-21 Juanma Barranquero <lekktu@gmail.com>
1516
1517 * frameset.el (frameset--print-register): New function.
1518 (frameset-to-register): Use it.
1519
b730af26
JB
15202014-03-20 Juanma Barranquero <lekktu@gmail.com>
1521
45393801
JB
1522 * progmodes/hideif.el (hif-string-to-number): New function.
1523 (hif-tokenize): Use it to understand non-decimal floats.
1524
814e26fa
JB
1525 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1526
b730af26
JB
1527 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1528
6f287c89
GM
15292014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * electric.el (electric-newline-and-maybe-indent): New command.
1532 Bind it globally to C-j.
1533 (electric-indent-mode): Don't mess with the global map any more.
1534 Don't drop the post-self-insert-hook is some buffer is still using it
1535 (bug#16770).
1536
1537 * bindings.el (global-map): Remove C-j binding.
1538
1539 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1540 the docstring of functions advised before dumping (bug#16993).
1541
f15ec1ba 15422014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
1543
1544 * ps-print.el (ps-generate-postscript-with-faces):
1545 Explicitly deactivate the mark (bug#16866).
1546 * simple.el (deactivate-mark): Update region highlight.
1547
f88bdc45
JB
15482014-03-19 Juanma Barranquero <lekktu@gmail.com>
1549
1550 * emacs-lisp/package.el (describe-package-1):
1551 Decode commentary (bug#16733).
1552
6b88e570
JB
15532014-03-18 Juanma Barranquero <lekktu@gmail.com>
1554
1555 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1556 modification of the value argument of :set (bug#16755).
1557
ac9b4703
SM
15582014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * simple.el (newline-and-indent): Do autofill (bug#17031).
1561
2b7858ec
DG
15622014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1563
1564 * newcomment.el (comment-normalize-vars): Only add escaping check
1565 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1566 (comment-beginning): Use `narrow-to-region' instead of moving back
1567 one character.
1568 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1569 (comment-start-skip): Update the docstring.
1570
11eff3ae
RS
15712014-03-18 Richard Stallman <rms@gnu.org>
1572
1573 * dired.el (dired-display-file): Force use of other window.
1574
07f44fdb
JB
15752014-03-18 Daniel Colascione <dancol@dancol.org>
1576
1577 * startup.el (tty-handle-args): Remove debug message from 2007.
1578
15792014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
1580
1581 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1582 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1583 (advice--make-1, advice-add, advice-remove):
1584 Remove braindead :advice-pending hack.
1585
61debe4a
GM
15862014-03-17 Glenn Morris <rgm@gnu.org>
1587
1588 * calendar/calendar.el (calendar-generate-month): Apply weekend
1589 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1590
8273986b
MA
15912014-03-17 Michael Albinus <michael.albinus@gmx.de>
1592
1593 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1594 (tramp-call-process): Trace also DESTINATION.
1595
1596 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1597 Quote file names when they are local. Remove superfluous trace.
1598
4f8aeb84
DG
15992014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1600
218feefc
DG
1601 * newcomment.el (comment-beginning): If `comment-start-skip'
1602 doesn't match, move back one char and try again. (Bug#16971)
1603
6c187ef5
SM
1604 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1605 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1606 Set `comment-start-skip' to a simpler value that doesn't try to
1607 check if the semicolon is escaped (this is handled by
1608 `syntax-ppss' now). (Bug#16971)
1609
1610 * progmodes/scheme.el (scheme-mode-variables): Same.
1611
b92631bf
MR
16122014-03-16 Martin Rudalics <rudalics@gmx.at>
1613
1614 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1615 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1616 current (Bug#16816, Bug#17007).
1617 (with-current-buffer-window): New macro doing the same as
1618 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1619 * help.el (help-print-return-message): Warn in doc-string to not
1620 use this in `with-help-window'.
1621 (describe-bindings-internal): Call `describe-buffer-bindings'
1622 from within help buffer. See Juanma's scenario in (Bug#16816).
1623 (with-help-window): Update doc-string.
1624 * dired.el (dired-mark-pop-up):
1625 * files.el (save-buffers-kill-emacs):
1626 * register.el (register-preview): Use `with-current-buffer-window'
1627 instead of `with-temp-buffer-window'.
1628
57348c4d
JB
16292014-03-16 Juanma Barranquero <lekktu@gmail.com>
1630
1631 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1632 Implement inserting into current buffer, documented in their docstrings.
1633 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1634 (rst-section-tree-point, rst-forward-section, rst-indent)
1635 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1636 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1637 (rst-font-lock-handle-adornment-pre-match-form)
1638 (rst-repeat-last-character): Reflow docstrings.
1639 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1640 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1641 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1642 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1643 Fix docstring typos.
1644 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1645 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1646 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1647
fd16b061
JB
16482014-03-15 Juanma Barranquero <lekktu@gmail.com>
1649
a2403e3d
JB
1650 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1651 for compatibility with other ports.
1652 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1653 from the -xrm command line argument, but in the Nextstep port its value
1654 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1655
fd16b061
JB
1656 * progmodes/python.el (defconst, python-syntax-count-quotes)
1657 (python-indent-region, python-indent-shift-right)
1658 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1659 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1660 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1661 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1662 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1663 (python-shell-buffer-substring, python-shell-send-buffer)
1664 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1665 (python-completion-complete-at-point, python-fill-docstring-style)
1666 (python-eldoc-function, python-imenu-format-item-label)
1667 (python-imenu-format-parent-item-label)
1668 (python-imenu-format-parent-item-jump-label)
1669 (python-imenu--build-tree, python-imenu-create-index)
1670 (python-imenu-create-flat-index): Fix docstring typos.
1671 (python-indent-context, python-shell-prompt-regexp, run-python):
1672 Remove superfluous backslashes.
1673 (python-indent-line, python-nav-beginning-of-defun)
1674 (python-shell-get-buffer, python-shell-get-process)
1675 (python-info-current-defun, python-info-current-line-comment-p)
1676 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1677 (python-indent-post-self-insert-function, python-shell-send-file)
1678 (python-shell-completion-get-completions)
1679 (python-shell-completion-complete-or-indent)
1680 (python-eldoc--get-doc-at-point): Reflow docstrings.
1681
e94807f0
GM
16822014-03-14 Glenn Morris <rgm@gnu.org>
1683
88103345
GM
1684 * emacs-lisp/package.el (package-menu-mode-map):
1685 Replace use of obsolete function alias. Tweak menu item text.
1686
f2dd4ba8
GM
1687 * info.el (Info-finder-find-node):
1688 Ignore the `emacs' metapackage. (Bug#10813)
1689
ac0f82ef
GM
1690 * finder.el (finder-list-matches): Include unversioned packages
1691 in the result of a keyword search.
1692
e94807f0
GM
1693 * finder.el (finder--builtins-descriptions): New constant.
1694 (finder-compile-keywords): Use finder--builtins-descriptions.
1695
50d434d1
DG
16962014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1697
1698 * simple.el (blink-matching-paren): Describe the new value,
1699 `jump', enabling the old behavior.
1700 (blink-matching-open): Use that value. (Bug#17008)
1701
56759cf1
GM
17022014-03-14 Glenn Morris <rgm@gnu.org>
1703
459d74ef
GM
1704 * finder.el (finder-no-scan-regexp): Add leim-list.
1705 (finder-compile-keywords):
1706 Don't skip files with same basename. (Bug#14010)
1707 * Makefile.in (setwins_finder): New, excluding leim.
1708 (finder-data): Use setwins_finder.
1709
56759cf1
GM
1710 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1711 (help-function-arglist, help-make-usage): Move from here...
1712 * help.el (help-split-fundoc, help-add-fundoc-usage)
1713 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1714 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1715
7644aa97
JB
17162014-03-14 Juanma Barranquero <lekktu@gmail.com>
1717
1718 * net/socks.el (socks, socks-override-functions)
fd16b061 1719 (socks-find-services-entry):
7644aa97
JB
1720 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1721 (hif-find-ifdef-block):
1722 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1723
1724 * net/tls.el (tls-program): Reflow docstring.
1725
1726 * progmodes/pascal.el (pascal-mode-abbrev-table)
1727 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1728 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1729 (pascal-outline-mode): Fix docstring typos.
1730 (pascal-mode): Let define-derived-mode document mode hook.
1731 (pascal-uncomment-area): Reflow.
1732 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1733
1734 * progmodes/opascal.el (opascal-compound-block-indent)
1735 (opascal-case-label-indent): Fix docstring typos.
1736 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1737
1f44df94
DG
17382014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1739
07f44fdb
JB
1740 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1741 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 1742
0d71dfb3
TW
17432014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1744
1745 * emacs-lisp/package.el (package--prepare-dependencies):
1746 Accept requirements without explicit version (bug#14941).
1747
d27a1a7b
JB
17482014-03-12 Juanma Barranquero <lekktu@gmail.com>
1749
a5765a3d
JB
1750 * register.el (register-separator, copy-to-register): Doc fixes.
1751 (register-preview-default): Remove unnecessary call to concat.
1752
d27a1a7b
JB
1753 * frameset.el (frameset-restore): When checking for a visible frame,
1754 use the action map instead of calling visible-frame-list.
1755
08dfa0b7
JB
17562014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1757
1758 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1759
8960529e
MR
17602014-03-12 Martin Rudalics <rudalics@gmx.at>
1761
1762 * window.el (fit-frame-to-buffer): Get maximum width from
1763 display's width instead of height.
1764
8a51e8e4
GM
17652014-03-12 Glenn Morris <rgm@gnu.org>
1766
46456005
GM
1767 * desktop.el (desktop-restore-frames)
1768 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1769 (desktop-restore-reuses-frames): Doc tweaks.
1770
8a51e8e4
GM
1771 * electric.el (electric-indent-mode): Doc fix.
1772
5983b317
JB
17732014-03-12 Juanma Barranquero <lekktu@gmail.com>
1774
1775 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1776 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1777 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1778 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1779 (cvs-dired-use-hook): Fix docstring typos.
1780 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1781 Doc fixes.
1782
1783 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1784 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1785 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1786 (cvs-execute-single-dir): Fix docstring typos.
1787
1788 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1789 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1790
1791 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1792
1793 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1794 Fix docstring typos.
1795
13c00cf0
JB
17962014-03-12 Juanma Barranquero <lekktu@gmail.com>
1797
1798 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1799 called from jump-to-register after unloading the frameset package.
1800
536a17e3
SM
18012014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1804 (bug#16975). Deactivate the mark before setting it to nil.
1805 (activate-mark): Do nothing if region is already active.
1806
baf8d0ac
JB
18072014-03-11 Juanma Barranquero <lekktu@gmail.com>
1808
1809 * frameset.el (frameset--target-display): Remove definition; declare.
1810 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1811
1ea22560
SM
18122014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1815 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1816 when the advice is pending.
1817 (advice-remove): Remove this marker when not needed any more.
1818
4538c058
JB
18192014-03-11 Juanma Barranquero <lekktu@gmail.com>
1820
1821 * frameset.el: Separate options for reusing frames and cleaning up.
1822 (frameset--reuse-list): Remove definition; declare.
1823 (frameset--action-map): Declare.
1824 (frameset--find-frame-if): Doc fix.
1825 (frameset--restore-frame): Cache frame action.
1826 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1827 how to clean up the frame list after restoring. Remove cleaning
1828 options from REUSE-FRAMES. Change all keyword values to symbols.
1829 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1830
1831 * desktop.el (desktop-restore-forces-onscreen)
1832 (desktop-restore-reuses-frames): Use non-keyword values.
1833 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1834
ba1a5c78
GM
18352014-03-10 Glenn Morris <rgm@gnu.org>
1836
776aa432
GM
1837 * files.el (find-file): Doc fix: update info node name.
1838
ba1a5c78
GM
1839 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1840 Doc fix: remove references to deleted info nodes.
1841
183d706e
MA
18422014-03-10 Michael Albinus <michael.albinus@gmx.de>
1843
1844 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1845 Do not add `nil' to the environment, when there's no remote `locale'.
1846 (tramp-find-inline-encoding): Check, that the remote host has
1847 installed perl, before sending scripts.
1848
6f0f96e7
LL
18492014-03-10 Leo Liu <sdl.web@gmail.com>
1850
536a17e3
SM
1851 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1852 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 1853
ca70fe78
SM
18542014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1857 (bug#14430).
1858
eb67db41
JL
18592014-03-09 Juri Linkov <juri@jurta.org>
1860
1861 * ansi-color.el (ansi-color-names-vector): Copy default colors
1862 from `xterm-standard-colors' that look well on the default white
1863 background (and also on the black background) to avoid illegible
8cf07e5a 1864 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
1865 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1866
e7db5447
JB
18672014-03-08 Juanma Barranquero <lekktu@gmail.com>
1868
1869 * frameset.el (frameset-restore): When no frame is visible, do not
1870 generate a list of frames, just make visible the selected one.
1871
f0a4c8d7
DG
18722014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1873
1874 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1875 it only contains the repository root. (Bug#16897)
1876
e50772e3
MA
18772014-03-07 Michael Albinus <michael.albinus@gmx.de>
1878
1879 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1880 only when `remote-file-name-inhibit-cache' is nil.
1881 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1882
cac0a1d6
MR
18832014-03-06 Martin Rudalics <rudalics@gmx.at>
1884
1885 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1886 Fix doc-strings.
1887 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1888 fit-frame-to-buffer variable. Fix doc-string.
1889 (fit-window-to-buffer): Set ONLY argument in call of
1890 fit-frame-to-buffer. Fix doc-string.
1891
fa965cbf
MA
18922014-03-06 Michael Albinus <michael.albinus@gmx.de>
1893
1894 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1895 (tramp-action-password): Clear password cache if needed.
1896 (tramp-read-passwd): Do not clear password cache.
1897
1898 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1899 cache unless it is the first password request.
1900
c94e6ee4
GM
19012014-03-06 Glenn Morris <rgm@gnu.org>
1902
03bc753e
GM
1903 * simple.el (newline): Doc tweak.
1904
c94e6ee4
GM
1905 * emacs-lisp/shadow.el (load-path-shadows-find):
1906 Ignore dir-locals. (Bug#12357)
1907
bd2d43dc
GM
19082014-03-05 Glenn Morris <rgm@gnu.org>
1909
1910 * files.el (interpreter-mode-alist):
1911 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1912
9284000e
JB
19132014-03-05 Juanma Barranquero <lekktu@gmail.com>
1914
1915 * frameset.el (frameset--initial-params): Filter out null entries.
1916
e1a2cb1c
MR
19172014-03-05 Martin Rudalics <rudalics@gmx.at>
1918
27821a89
JB
1919 * window.el (window-min-height, window-min-width):
1920 Rewrite doc-strings.
e1a2cb1c
MR
1921 (window-body-size): Add PIXELWISE argument to make it consistent
1922 with its callees.
1923
6bf67038
JB
19242014-03-05 Juanma Barranquero <lekktu@gmail.com>
1925
1926 * finder.el (finder-mode-map, finder-mode-syntax-table):
1927 Revert part of 2014-02-28 change.
1928
90f04e4c
LI
19292014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1930
1931 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1932 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
1933 (eww-textarea-map): [tab] doesn't work on tty.
1934 Reported by Mario Lang.
6952100d
LI
1935
1936 * net/shr.el (shr-map): Ditto.
90f04e4c 1937
3106d59b
GM
19382014-03-04 Glenn Morris <rgm@gnu.org>
1939
1940 * minibuffer.el (completion-hilit-commonality):
1941 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1942
f604dfdc
JB
19432014-03-04 Juanma Barranquero <lekktu@gmail.com>
1944
1945 * hilit-chg.el (hilit-chg-unload-function): New function.
1946 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1947 (hilit-chg-map-changes): Prefer cardinal number to digit.
1948 (hilit-chg-display-changes): Reflow docstring.
1949 (highlight-changes-rotate-faces): Remove superfluous backslash.
1950
5dc65319
MA
19512014-03-04 Michael Albinus <michael.albinus@gmx.de>
1952
1953 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1954 `tramp-send-command-and-check'.
1955
4242d21d
JB
19562014-03-04 Juanma Barranquero <lekktu@gmail.com>
1957
b01fa838
JB
1958 * hexl.el (hexl-address-region, hexl-ascii-region)
1959 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1960 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1961 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1962 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1963 (hexl-mode): Doc fix.
1964 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1965 (hexl-mode-ruler): Fix typos in docstrings.
1966
4242d21d
JB
1967 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1968 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1969 Remove superfluous backslashes.
1970 (strokes-last-stroke, strokes-global-map, strokes-mode):
1971 Reflow docstrings.
1972 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1973 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1974 (strokes-distance-squared, strokes-global-set-stroke)
1975 (strokes-global-set-stroke-string): Doc fixes.
1976 (strokes-help): Fix typos; reflow docstring.
1977
87132570
MR
19782014-03-04 Martin Rudalics <rudalics@gmx.at>
1979
1980 * window.el (window-in-direction): Fix doc-string.
1981
d82e752c
GM
19822014-03-04 Glenn Morris <rgm@gnu.org>
1983
1984 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1985 Explicit error if no grammar.
1986 (smie-config-save): Doc fix. Fix quote typo.
1987
62528af0
SM
19882014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1989
8d4901dc
SM
1990 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1991 electric-indent-mode-hook if we obey electric-indent-mode.
1992 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1993 decide whether we obey electric-indent-mode.
1994 (c-change-set-fl-decl-start, c-extend-after-change-region):
1995 Silence warnings.
1996 (c-electric-indent-mode-hook): Assume we do want to obey
1997 electric-indent-mode.
1998
1999 * electric.el (electric-indent-mode-has-been-called): Remove.
2000 (electric-indent-mode): Fix accordingly.
2001
092c12b2
SM
2002 * files.el (hack-local-variables): Mention file name in warning.
2003
62528af0
SM
2004 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2005
5b87d0d9
MN
20062014-03-04 Michal Nazarewicz <mina86@mina86.com>
2007
20f39add 2008 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
2009 * simple.el (delete-forward-char): Mark as interactive-only.
2010
542a3840
JB
20112014-03-03 Juanma Barranquero <lekktu@gmail.com>
2012
f2d2402e
GM
2013 * icomplete.el (icomplete-completions):
2014 Follow-up to 2014-03-01 change.
d11320e5
JB
2015
2016 * icomplete.el: Miscellaneous doc fixes.
2017 Use Icomplete everywhere instead of icomplete for consistency.
2018 (icomplete-max-delay-chars): Fix typo.
2019 (icomplete-mode): Use \[].
2020 (icomplete-tidy, icomplete-exhibit): Reflow.
2021 (icomplete-minibuffer-setup-hook, icomplete-completions):
2022 Remove superfluous backlashes.
2023
2024 * ido.el: Miscellaneous doc fixes.
2025 Use Ido everywhere instead of ido or `ido' for consistency.
2026 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2027 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2028 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2029 (ido-separator): Extract obsolescence info from docstring and declare
2030 with make-obsolete-variable.
2031 (ido-minibuffer-setup-hook): Simplify example.
2032 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2033 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2034 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2035 (ido-everywhere): Reflow docstring.
2036 (ido-toggle-vc): Doc fix.
2037 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2038 of long list of keybindings.
2039
7ebd57e9
GM
20402014-03-03 Glenn Morris <rgm@gnu.org>
2041
2042 * frame.el (display-pixel-height, display-pixel-width)
2043 (display-mm-dimensions-alist, display-mm-height)
2044 (display-mm-width): Doc tweaks.
2045
35e951cd 20462014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
2047
2048 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2049 case of undo in region.
2050
b923819c
MR
20512014-03-02 Martin Rudalics <rudalics@gmx.at>
2052
2053 * window.el (fit-window-to-buffer): Fix argument in window-size
2054 call when window is horizontally combined.
2055
b6e443c5
JB
20562014-03-02 Juanma Barranquero <lekktu@gmail.com>
2057
2058 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 2059 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 2060
1850913d
DG
20612014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2062
35e951cd
JB
2063 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2064 Highlight regexp options. (Bug#16914)
1850913d 2065
04b577b6
MR
20662014-03-01 Martin Rudalics <rudalics@gmx.at>
2067
2068 * window.el (window--max-delta-1): Round down when calculating
2069 how many lines/columns we can get from a window.
2070
b829360f
GM
20712014-03-01 Glenn Morris <rgm@gnu.org>
2072
2501c912
GM
2073 * isearch.el (search-invisible): Doc fix.
2074
b829360f
GM
2075 * minibuffer.el (completion-hilit-commonality):
2076 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2077 * comint.el (comint-dynamic-list-completions): Doc fix.
2078 * comint.el (comint-dynamic-list-completions):
2079 * filecache.el (file-cache-minibuffer-complete):
2080 * tempo.el (tempo-display-completions):
2081 * eshell/em-hist.el (eshell-list-history):
2082 Replace use of obsolete argument of display-completion-list.
2083
9a155058
JB
20842014-03-01 Juanma Barranquero <lekktu@gmail.com>
2085
2086 * icomplete.el (icomplete-completions):
2087 Revert back to using "..." when ?… cannot be displayed.
2088
53f6cda8
JB
20892014-02-28 Juanma Barranquero <lekktu@gmail.com>
2090
2091 * finder.el (finder-unload-function): New function.
2092
43977c23
JB
20932014-02-28 Juanma Barranquero <lekktu@gmail.com>
2094
2095 * dframe.el (dframe-detach):
2096 * find-dired.el (find-dired, find-name-dired):
2097 * finder.el (finder-mode-map, finder-mode-syntax-table)
2098 (finder-headmark, finder-select, finder-mouse-select):
2099 Fix docstring typos.
2100
9dda75ad
MR
21012014-02-28 Martin Rudalics <rudalics@gmx.at>
2102
2103 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
2104 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2105 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2106 Fix doc-string based on a suggestion by Nicolas Richard
2107 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
2108 * help.el (with-help-window): Fix doc-string.
2109
8a73034e
IK
21102014-02-28 Ivan Kanis <ivan@kanis.fr>
2111
b70257b0
GM
2112 * net/shr.el (shr-image-animate): New option.
2113 (shr-put-image): Respect shr-image-animate.
8a73034e 2114
245aa73e
MA
21152014-02-28 Michael Albinus <michael.albinus@gmx.de>
2116
2117 * net/tramp-adb.el (tramp-adb-parse-device-names):
2118 Use `accept-process-output'.
2119 (tramp-adb-handle-file-truename): Cache the localname only.
2120 (tramp-adb-handle-make-directory)
2121 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2122 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2123 modes cannot be changed.
2124
2125 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2126 file properties of symlinks.
2127
48e15d64
PS
21282014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2129
2130 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2131 required/optional fields to match development biblatex. (Bug#16781)
2132
65b77347
AS
21332014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2134
2135 * saveplace.el (toggle-save-place):
2136 Fix argument handling. (Bug#16673)
2137
5e618aba
GM
21382014-02-28 Glenn Morris <rgm@gnu.org>
2139
2140 * minibuffer.el (completions-first-difference)
2141 (completions-common-part, completion-hilit-commonality): Doc fixes.
2142
6deb314e
KB
21432014-02-28 Karl Berry <karl@gnu.org>
2144
2145 * info.el (Info-mode-map): Add H for describe-mode,
2146 to synchronize with standalone Info.
2147
289996f5
EL
21482014-02-28 Emilio C. Lopes <eclig@gmx.net>
2149
2150 * progmodes/sql.el (sql-interactive-mode):
2151 Avoid setting global comint-input-ring-separator. (Bug#16814)
2152
79fc1191
MA
21532014-02-27 Michael Albinus <michael.albinus@gmx.de>
2154
2155 * net/dbus.el (dbus--init-bus): Declare function.
2156 (dbus-path-local, dbus-interface-local): New defconst.
2157 (dbus-init-bus): Use them.
2158 (dbus-return-values-table): Extend doc.
2159 (dbus-handle-bus-disconnect): Extend error message.
2160
298520df
JB
21612014-02-27 Juanma Barranquero <lekktu@gmail.com>
2162
2163 * subr.el (y-or-n-p): Fix double space issue in message.
2164
c22c1614
MA
21652014-02-27 Michael Albinus <michael.albinus@gmx.de>
2166
2167 * net/tramp.el (tramp-call-process): Improve trace message.
2168 (tramp-handle-insert-file-contents): Trace error case.
2169
2170 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2171 <insert-directory>: Use `tramp-handle-insert-directory'.
2172 (tramp-adb-handle-insert-directory): Remove function.
2173 (tramp-adb-send-command-and-check): New defun, replacing
2174 `tramp-adb-command-exit-status'. Change all callees.
2175 (tramp-adb-handle-file-attributes)
2176 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
2177 (tramp-adb-ls-output-name-less-p):
2178 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
2179 (tramp-adb-handle-delete-directory): Flush also file properties of
2180 the truename of directory.
2181 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2182 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2183 (tramp-adb-handle-write-region): Implement APPEND.
2184 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2185 properties correctly.
2186 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2187 variables. Check for connected devices only when needed.
2188
d9263618
GM
21892014-02-27 Glenn Morris <rgm@gnu.org>
2190
ea7826ba
GM
2191 * minibuffer.el (completion-table-dynamic)
2192 (completion-table-with-cache): Doc fixes.
2193
d9263618
GM
2194 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2195 (completing-read-multiple): Doc fixes.
2196
eff3168a
DC
21972014-02-27 Daniel Colascione <dancol@dancol.org>
2198
51f213c3
DC
2199 * minibuffer.el (completion--nth-completion): Fix indentation.
2200
eff3168a
DC
2201 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2202 explicit tramp path is empty.
2203
b77cfcd7
GM
22042014-02-27 Glenn Morris <rgm@gnu.org>
2205
2206 * emacs-lisp/crm.el (completing-read-multiple):
2207 Empower help-enable-auto-load.
2208
9577b569
GM
22092014-02-26 Glenn Morris <rgm@gnu.org>
2210
259887e8
GM
2211 * startup.el (command-line): Don't init the tty in daemon mode.
2212
1d491ef2
GM
2213 Avoid calling tty-setup-hook twice, eg if a term file
2214 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2215 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2216 (tty-create-frame-with-faces): Use it.
2217 * startup.el (command-line): Pass run-hook argument
2218 to tty-run-terminal-initialization.
2219
9577b569
GM
2220 * dired.el (dired-restore-desktop-buffer): Demote errors;
2221 eg in case a glob match fails. (Bug#16884)
2222
40ff7f86
DG
22232014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2224
b2388336
DG
2225 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2226 error from `read-from-string'. (Bug#16850)
2227
40ff7f86
DG
2228 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2229 result of `completing-read' in the interactive form. (Bug#16854)
2230
98bd6b32
GM
22312014-02-25 Glenn Morris <rgm@gnu.org>
2232
f086804c
GM
2233 * image.el (image-animate, image-animate-timeout):
2234 Stop animating images in dead buffers. (Bug#16878)
2235
c107155e
GM
2236 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2237
9577b569
GM
2238 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2239 Doc fixes.
98bd6b32
GM
2240 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2241 * term/sun.el (sun-raw-prefix-hooks):
2242 Use tty-setup-hook instead of term-setup-hook.
2243 (terminal-init-sun): Construct message from bytecomp plist.
2244 * term/wyse50.el (enable-arrow-keys): Doc fix.
2245
9c9e18e8
JB
22462014-02-24 Juanma Barranquero <lekktu@gmail.com>
2247
2248 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2249 Fix docstring typos.
2250
c848881f
MA
22512014-02-24 Michael Albinus <michael.albinus@gmx.de>
2252
2253 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2254
0e38ae05
NR
22552014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2256
2257 * minibuffer.el (completion--try-word-completion):
2258 Fix error when completing M-x commands (bug#16808).
2259
8ee4c296
LL
22602014-02-24 Leo Liu <sdl.web@gmail.com>
2261
2262 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2263
7d4bd627
JB
22642014-02-24 Juanma Barranquero <lekktu@gmail.com>
2265
2266 * apropos.el (apropos-print): Avoid formatting error when
2267 apropos-do-all and apropos-compact-layout are both t.
2268
e918e27f
JB
22692014-02-23 Juanma Barranquero <lekktu@gmail.com>
2270
2271 * apropos.el (apropos-property, apropos-all-words-regexp)
2272 (apropos-true-hit, apropos-variable, apropos-print):
2273 Fix docstring typos, and remove obsolete comment.
2274
85c01f80
MA
22752014-02-23 Michael Albinus <michael.albinus@gmx.de>
2276
2277 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2278 Preserve trailing "/". (Bug#16851)
2279
62f95022
DG
22802014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2281
2282 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2283 after `=>' (bug#16811).
dfdb365c
DG
2284 (ruby-smie-rules): Handle the inconsistent second element of the
2285 list returned by `smie-indent--parent'.
2286 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2287 method call.
62f95022 2288
025f2c81
JB
22892014-02-23 Juanma Barranquero <lekktu@gmail.com>
2290
2291 * elec-pair.el (electric-pair-text-syntax-table)
2292 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2293 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2294 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2295 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2296
123c84f9
GM
22972014-02-22 Glenn Morris <rgm@gnu.org>
2298
612c3e46
GM
2299 * imenu.el (imenu--generic-function): Doc fix.
2300
123c84f9
GM
2301 * register.el (frame-configuration-to-register): Make obsolete.
2302
e59fa9ad
JB
23032014-02-22 Juanma Barranquero <lekktu@gmail.com>
2304
2305 * desktop.el (desktop-save-buffer-p): Do not fail when
2306 desktop-files-not-to-save is nil. Return t for true result
2307 as the doc says.
2308
4e652634
DC
23092014-02-22 Daniel Colascione <dancol@dancol.org>
2310
27821a89 2311 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
2312 Check that attribute values are strings, avoiding the construction
2313 of invalid dbus messages.
4e652634 2314
f35affb6
JB
23152014-02-21 Juanma Barranquero <lekktu@gmail.com>
2316
2317 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2318 defun-declarations-alist.
2319
3d136b1b
SM
23202014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2323 (bug#16829).
2324
612ddfc0
JB
23252014-02-21 Juanma Barranquero <lekktu@gmail.com>
2326
2327 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2328 (whitespace-newline, whitespace-trailing, whitespace-line)
2329 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2330 (whitespace-space-after-tab): Fix typo in docstrings.
2331
c8481b1b
DG
23322014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2333
cb8f50a7
DG
2334 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2335
c8481b1b
DG
2336 * electric.el (electric-indent-functions-without-reindent):
2337 Add `yaml-indent-line'.
2338
bed5126f
JB
23392014-02-21 Juanma Barranquero <lekktu@gmail.com>
2340
34b71457
JB
2341 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2342 It has done nothing for years; should be removed after the release.
2343
bed5126f
JB
2344 * simple.el (choose-completion): Fix docstring typo.
2345 (read-quoted-char-radix): Remove unneeded * in docstring.
2346 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2347 Don't escape parentheses unnecessarily in docstrings.
2348
8dd3e94f
MR
23492014-02-21 Martin Rudalics <rudalics@gmx.at>
2350
2351 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
2352 * window.el (window--dump-window, window--dump-frame):
2353 New functions.
2354 (window--min-size-1): Account for window dividers.
2355 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2356 sum of the window components has been calculated.
2357 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2358 nil make sure at least one text line and two text columns remain
2359 fully visible.
2360 (window-resize): Signal an error when window-resize-apply fails.
2361 (window--resize-child-windows): Fix calculation of by how many
2362 pixels a window can still be shrunk via window-new-normal.
2363 (adjust-window-trailing-edge): Call window--resizable with
2364 correct TRAIL argument.
2365
2ed94e04
MR
2366 (with-temp-buffer-window): Don't evaluate BODY within
2367 with-current-buffer (Bug#16816).
2368
0e5324c4
MA
23692014-02-21 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * net/tramp.el (tramp-check-cached-permissions):
2372 Call `file-attributes' with `suffix' being a symbol but a string.
2373
48198420
DC
23742014-02-21 Daniel Colascione <dancol@dancol.org>
2375
2376 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2377 (dbus-init-bus): New function: call into dbus-init-bus-1
2378 and installs a handler for the disconnect signal.
2379 (dbus-call-method): Rewrite to look for result in cons.
2380 (dbus-call-method-handler): Store result in cons.
2381 (dbus-check-event): Recognize events with nil sender as valid.
2382 (dbus-handle-bus-disconnect): New function. React to bus
2383 disconnection signal by synthesizing dbus error for each
2384 pending synchronous or asynchronous call.
2385 (dbus-notice-synchronous-call-errors): New function.
2386 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2387 is true, not all the time.
2388
99e15133
JB
23892014-02-21 Juanma Barranquero <lekktu@gmail.com>
2390
e48983a6
JB
2391 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2392 Remove obsolescence declarations, these variables do not exist anymore.
2393
fdcfd745
JB
2394 * savehist.el (savehist-save-minibuffer-history)
2395 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2396 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2397 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2398 mostly, refer to "Savehist mode" when talking about the mode,
2399 and not the function.
2400
99e15133
JB
2401 * saveplace.el (save-place): Remove redundant info in docstring.
2402 (save-place-forget-unreadable-files, toggle-save-place)
2403 (save-place-forget-unreadable-files, save-place-dired-hook):
2404 Fix typos and remove unneeded backslashes.
2405
f5bee33b
MA
24062014-02-20 Michael Albinus <michael.albinus@gmx.de>
2407
2408 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2409 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2410
2411 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 2412 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
2413 (tramp-gvfs-handle-insert-directory): Remove function.
2414
2415 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2416 Call `tramp-handle-insert-directory'.
2417
ee0761ca
JB
24182014-02-20 Juanma Barranquero <lekktu@gmail.com>
2419
2420 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2421 before the start of buffer/region (bug#16799).
2422
4d49cc65
GM
24232014-02-20 Glenn Morris <rgm@gnu.org>
2424
2425 * isearch.el (search-invisible): Doc fix.
2426
eee0d650
TK
24272014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2428
2429 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2430 (bug#16657).
2431
94e5e202
JB
24322014-02-19 Juanma Barranquero <lekktu@gmail.com>
2433
2434 * frameset.el (frameset-restore): Delay removing an old frame's
2435 duplicate id until the new frame has been correctly created.
2436
50bfdd5d
MA
24372014-02-19 Michael Albinus <michael.albinus@gmx.de>
2438
2439 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2440 (tramp-check-cached-permissions): Call `file-attributes' if the
2441 cache is empty.
2442
2443 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 2444 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2445
2446 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 2447 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2448 (tramp-gvfs-maybe-open-connection): Set always connection
2449 properties, even if target is mounted already.
2450
2451 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2452 Set tramp-autoload cookie.
2453 (tramp-get-remote-touch): New defun.
2454 (tramp-sh-handle-set-file-times): Use it.
2455 (tramp-sh-handle-directory-files-and-attributes):
2456 Use `tramp-handle-directory-files-and-attributes' if neither stat
2457 nor perl are available on the remote host.
2458
2459 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2460 "/". Write long listing only when "l" belongs to the switches.
2461
2462 * net/trampver.el: Update release number.
2463
f097a3d2
JB
24642014-02-19 Juanma Barranquero <lekktu@gmail.com>
2465
2466 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2467
8e009b78
MR
24682014-02-19 Martin Rudalics <rudalics@gmx.at>
2469
2470 * window.el (window-state-put): Allow WINDOW to refer to an
2471 internal window (Bug#16793).
2472
95160c90
GM
24732014-02-19 Glenn Morris <rgm@gnu.org>
2474
2475 * textmodes/remember.el: Move provide statement to end.
2476 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2477 (remember-notes): Doc fixes.
2478
b28df58c
SM
24792014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * delsel.el (delete-char): Restore incorrectly erased property
2482 (bug#16795).
2483
7108e1c0
JB
24842014-02-18 Juanma Barranquero <lekktu@gmail.com>
2485
2486 * frameset.el (frameset--restore-frame): When a frame is being reused
2487 and its root window is not alive, delete all the frame's windows before
2488 restoring the window state. This works around the issue in bug#16793.
2489
c863b6ad
GM
24902014-02-18 Glenn Morris <rgm@gnu.org>
2491
a73fae1f
GM
2492 * textmodes/remember.el (remember-data-directory)
2493 (remember-directory-file-name-format, remember-store-in-files)
2494 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2495 (remember-notes-save-and-bury-buffer)
2496 (remember-notes--kill-buffer-query): Doc fixes.
2497
c863b6ad
GM
2498 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2499
29238d28
AM
25002014-02-17 Alan Mackenzie <acm@muc.de>
2501
2502 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 2503 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 2504 to electric-indent-{,local-}-mode.
b28df58c
SM
2505 (c-basic-common-init): Set electric-indent-inhibit.
2506 Initialise c-electric-flag from electric-indent-mode.
29238d28 2507 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 2508 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
2509
2510 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 2511 hit, toggle electric-indent-local-mode.
29238d28 2512
b28df58c
SM
2513 * electric.el (electric-indent-mode-has-been-called):
2514 New variable.
29238d28 2515
c6463340
JB
25162014-02-17 Juanma Barranquero <lekktu@gmail.com>
2517
2518 * frameset.el (frameset-cfg-id): New function.
2519 (frameset--reuse-frame, frameset-restore): Use it.
2520 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2521
94912b88
SM
25222014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * ido.el (ido-file-internal): Remove unused var `d'.
2525 Use \` for to match BoS. Fit within 80n columns.
2526
26ea164c
DC
25272014-02-17 Daniel Colascione <dancol@dancol.org>
2528
2529 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2530 dbus-call-method check for completion using a busy-wait loop with
2531 gradual backoff.
2532
589d1988 25332014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
2534
2535 Sync with Tramp 2.2.9.
2536
2537 * net/trampver.el: Update release number.
2538
17d1b51b
DG
25392014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2540
2541 * ido.el (ido-file-internal): Don't add the name of an existing
2542 directory twice. (Bug#16747)
2543
5bcad689
GM
25442014-02-16 Glenn Morris <rgm@gnu.org>
2545
2546 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2547 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2548
25492014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
2550
2551 * progmodes/sql.el: Version 3.4
2552 (sql-oracle-options): New default value ("-L").
94912b88 2553 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 2554 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 2555 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
2556 (sql-login-delay): New variable.
2557 (sql-product-interactive): Use it.
2558
285f1858
JB
25592014-02-15 Juanma Barranquero <lekktu@gmail.com>
2560
2561 * frameset.el (frameset--jump-to-register): Check that buffer is live
2562 (bug#16749).
2563
5d645ea4
GM
25642014-02-15 Glenn Morris <rgm@gnu.org>
2565
2566 * info.el (info-initialize): Revert 2014-01-10 change.
2567
48c4f9b1
GM
25682014-02-14 Glenn Morris <rgm@gnu.org>
2569
b8630261
GM
2570 * replace.el (map-query-replace-regexp)
2571 (read-regexp-defaults-function, read-regexp): Doc fixes.
2572
b2bf2a25
GM
2573 * dired.el (dired-read-regexp):
2574 * faces.el (list-faces-display):
2575 * misearch.el (multi-isearch-read-matching-buffers)
2576 (multi-isearch-read-matching-files):
2577 * play/cookie1.el (cookie-apropos):
2578 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2579
48c4f9b1
GM
2580 * textmodes/remember.el (remember): Use frameset-to-register
2581 rather than frame-configuration-to-register.
2582
2804e0bd
JB
25832014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2584
2585 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2586 incorrect keybinding.
2587
0b87142f
DC
25882014-02-13 Daniel Colascione <dancol@dancol.org>
2589
2590 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2591 when adding overlays so that line numbers from compiler match line
2592 numbers we use.
2593
47a73eb0
GM
25942014-02-13 Glenn Morris <rgm@gnu.org>
2595
8abcfd51
GM
2596 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2597
47a73eb0
GM
2598 * jit-lock.el (jit-lock-mode): Doc fix.
2599
c9b6b262
JB
26002014-02-13 Juanma Barranquero <lekktu@gmail.com>
2601
2602 * apropos.el (apropos-read-pattern): When the user passes an empty
2603 string, give a more helpful error message than "Wrong type
2604 argument: stringp, nil".
2605
eb4c6947
SM
26062014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2609
0dab5068
GM
26102014-02-13 Glenn Morris <rgm@gnu.org>
2611
2612 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2613
59075dcf
SM
26142014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2615
2616 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2617 shift-select commands.
2618
5af9fbad
DG
26192014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2620
2621 * progmodes/js.el (js-indent-line): Don't widen.
2622 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2623
a215930c
GM
26242014-02-12 Glenn Morris <rgm@gnu.org>
2625
a8cb4247
GM
2626 * icomplete.el (icomplete): Add info-link to defgroup.
2627 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2628 (icomplete-minibuffer-map, icomplete-mode)
2629 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2630
a215930c
GM
2631 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2632 (package-menu-filter): Rename from package-menu-filter-interactive.
2633 Doc fix.
2634
26c5ecd9
JB
26352014-02-11 Juanma Barranquero <lekktu@gmail.com>
2636
2637 * frameset.el (frameset--jump-to-register): Select the required
2638 window and buffer before restoring position (bug#16696).
2639
fcd58a02
LI
26402014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2641
2642 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2643
bacb3380
GM
26442014-02-10 Glenn Morris <rgm@gnu.org>
2645
2646 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2647
881329dc
EZ
26482014-02-10 Eli Zaretskii <eliz@gnu.org>
2649
02328db9
EZ
2650 * w32-common-fns.el (x-get-selection): Doc fix.
2651 * select.el (x-get-selection): Doc fix. (Bug#15109)
2652
881329dc
EZ
2653 * face-remap.el (face-remap-add-relative)
2654 (face-remap-remove-relative, face-remap-reset-base)
2655 (face-remap-set-base): Call force-mode-line-update to redisplay
2656 the current buffer due to potential change in faces. (Bug#16709)
2657
c7db4c06
MA
26582014-02-10 Michael Albinus <michael.albinus@gmx.de>
2659
2660 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2661 script more robustly.
2662
6abe4589
LI
26632014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2664
7602b5c3
LI
2665 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2666
e3692ee0
LI
2667 * simple.el (choose-completion): Doc fix (bug#14160).
2668
41015524
LI
2669 * subr.el (event-start): Say what a nil EVENT value means.
2670
87c79dcb
LI
2671 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2672 (bug#14197).
2673
3ab49e2c
LI
2674 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2675
f3c60241
LI
2676 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2677
3bd1d8a8
LI
2678 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2679
6abe4589
LI
2680 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2681 predicate function (bug#15455).
2682
a11463de
DG
26832014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2684
2685 * ielm.el (inferior-emacs-lisp-mode): Instead of
2686 `comment-use-global-state', set `comment-use-syntax'.
2687
2ab0ad85
GM
26882014-02-10 Glenn Morris <rgm@gnu.org>
2689
2690 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2691
411141fb
AM
26922014-02-09 Alan Mackenzie <acm@muc.de>
2693
2694 Fix c-invalidate-state-cache on narrowed buffers.
2695 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2696 Widen when setting and clearing the CPP delimiter properties.
2697
d6d5fdf8
LI
26982014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2699
92c70367
LI
2700 * help.el (describe-bindings): Doc fix (bug#9888).
2701
468ef484
LI
2702 * files.el (save-buffer): Use ARG as the parameter name for
2703 consistency (bug#10346).
7e34193f 2704 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 2705
fc2b1ffa 2706 * cus-edit.el (customize-apropos): Fix error string.
382fd368 2707 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 2708 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 2709
790aceec
LI
2710 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2711
a54a7552 2712 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 2713 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 2714
dd163123
LI
2715 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2716 meaning of the parameter (bug#12282).
2717
9e108fe6
LI
2718 * files.el (find-file-noselect): Clarify prompt when changing
2719 readedness (bug#13261).
5a836f58
LI
2720 (locate-file): Suffixes aren't returned, so don't say that they
2721 are (bug#12674).
2356b316 2722 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 2723
20dda930
LI
2724 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2725 before we actually start to delete things (bug#16331).
2726
d6d5fdf8
LI
2727 * subr.el (event-start): Doc fix (bug#14228).
2728 (event-end): Ditto.
2729
2abd71e5
GM
27302014-02-09 Glenn Morris <rgm@gnu.org>
2731
2732 * emacs-lisp/warnings.el (lwarn):
2733 Empower help-enable-auto-load. (Bug#15940)
2734
c1b5900b
AS
27352014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2736
2737 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2738 (Bug#16690)
2739
429b93bd
MA
27402014-02-08 Michael Albinus <michael.albinus@gmx.de>
2741
2742 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2743 Insert output at end of buffer. (Bug#16120)
2744
b772a699
LI
27452014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2746
18c6aa8c
LI
2747 * simple.el (choose-completion-string-functions): Document new
2748 calling convention (bug#14153).
54dd147a 2749 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 2750
dce8463b
LI
2751 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2752
b772a699 2753 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 2754 (find-grep-dired): Doc fix (bug#14288).
b772a699 2755
2423c8d5
JL
27562014-02-08 Juri Linkov <juri@jurta.org>
2757
2758 * isearch.el (isearch-quote-char): Check character validity
2759 like in `quoted-insert' (bug#16677).
2760
518f26c2
LI
27612014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2762
893cc908
LI
2763 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2764
9165ffc0
LI
2765 * isearch.el (isearch-hide-immediately): Doc clarification
2766 (bug#14723).
2767
6ef4f3ce
LI
2768 * simple.el (line-move): Document utility function used many
2769 places in the Emacs sources (bug#14843).
2770
be58a238 2771 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 2772 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 2773 (dired-up-directory): Doc fix (bug#14848).
be58a238 2774
dd7aafbb
LI
2775 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2776
15cb9968
LI
2777 * files.el (file-relative-name): Doc fix (bug#15159).
2778
9788effd
LI
2779 * fringe.el (fringe-styles): Doc fix (bug#15239).
2780
c96411bd
LI
2781 * isearch.el (isearch-filter-predicate): Documentation typo fix
2782 (bug#15474).
2783
ea838c36
LI
2784 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2785
0d8a4ae7
LI
2786 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2787
f7a17bb3
LI
2788 * replace.el (replace-match-maybe-edit): Doc clarification
2789 (bug#15632).
2790
1bde5c3b
LI
2791 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2792
518f26c2
LI
2793 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2794
dd8e49fd
GM
27952014-02-08 Glenn Morris <rgm@gnu.org>
2796
2797 * help-fns.el (describe-variable):
2798 Check {file,dir}-local-variables-alist, and buffer-file-name,
2799 in the correct buffer.
2800
7e088b29
IL
28012014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2802
2803 * help-fns.el (describe-variable): Fix the case where
2804 a value is directory-local with no dir-locals file. (Bug#16635)
2805
41a4a82f
GM
28062014-02-08 Glenn Morris <rgm@gnu.org>
2807
2808 * abbrev.el (edit-abbrevs-mode):
2809 Derive from fundamental-mode. (Bug#16682)
2810
e255a703
JB
28112014-02-07 Juanma Barranquero <lekktu@gmail.com>
2812
2813 * simple.el (quoted-insert): Check character validity (bug#16677).
2814
c99cf5ee
JL
28152014-02-07 Juri Linkov <juri@jurta.org>
2816
2817 * desktop.el (desktop-read): Claim the lock when the owner is not
2818 the current process. (Bug#16157)
2819
7d7a68d8
JL
28202014-02-07 Juri Linkov <juri@jurta.org>
2821
2822 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2823 to "\\` ". (Bug#16651)
2824
2b777cd9
JL
28252014-02-07 Juri Linkov <juri@jurta.org>
2826
2827 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2828 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2829 (desktop-auto-save-cancel-timer): New function with some code from
2830 `desktop-auto-save-set-timer'.
2831 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2832 Instead of setting `desktop-save-mode' to nil, call
2833 `desktop-save-mode' with arg 0. (Bug#16630)
2834
60eabbb9
GM
28352014-02-07 Glenn Morris <rgm@gnu.org>
2836
99cf3859
GM
2837 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2838 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2839 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2840
2b568bc9
GM
2841 * obsolete/iswitchb.el: Move to obsolete/.
2842 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2843 since obsolete/ is not scanned for autoloads.
2844 * emacs-lisp/authors.el (authors-valid-file-names):
2845 Add iswitchb.el.
2846
60eabbb9
GM
2847 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2848 Disable now non-functional find-file-hook.
2849
629de968
MA
28502014-02-06 Michael Albinus <michael.albinus@gmx.de>
2851
2852 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2853 instead of ";" in order to avoid additional prompts. Let heredoc
2854 scripts read from tty. (Bug#16582)
2855 (tramp-send-command): No special handling of heredocs, it isn't
2856 necessary anymore.
2857
29127376
SM
28582014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2859
2860 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2861 with a space (bug#16664). Limit the symbols considered to the ones
2862 that are bound or fbound (bug#16646).
2863
79b6e0a9
GM
28642014-02-06 Glenn Morris <rgm@gnu.org>
2865
2866 * epa.el (epa-mail-aliases): Doc fix.
2867
a333e4d2
DG
28682014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2869
29127376
SM
2870 * emacs-lisp/lisp.el (lisp-completion-at-point):
2871 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
2872 (bug#16604).
2873
2874 * minibuffer.el (completion-table-merge): New function.
2875
9a83b32b
MA
28762014-02-05 Michael Albinus <michael.albinus@gmx.de>
2877
2878 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2879 (tramp-sh-handle-set-file-acl)
2880 (tramp-sh-handle-start-file-process)
2881 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2882 (tramp-find-executable, tramp-send-command): Use it.
2883
451ea3e6
GM
28842014-02-05 Glenn Morris <rgm@gnu.org>
2885
9a83b32b 2886 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 2887
dd27d13b
FEG
28882014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2889
35e951cd 2890 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
2891 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2892
08e41897
AL
28932014-02-04 Anders Lindgren <andlind@gmail.com>
2894
2895 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2896 the names (bug#16620).
2897
764ec9e5
MR
28982014-02-03 Martin Rudalics <rudalics@gmx.at>
2899
08e41897
AL
2900 * faces.el (window-divider): New default value. Rewrite doc-string.
2901 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 2902
6da8227c
DG
29032014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2904
2905 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2906 `protected' and `public' can also be called without arguments.
2907
6a6b8e40
GM
29082014-02-03 Glenn Morris <rgm@gnu.org>
2909
7bcbca40
GM
2910 * register.el (window-configuration-to-register)
2911 (frame-configuration-to-register): Unadvertise unused argument.
2912 * frameset.el (frameset-to-register): Remove unused argument.
2913
719d965d 2914 * frameset.el (frameset-to-register):
6a6b8e40
GM
2915 * kmacro.el (kmacro-to-register):
2916 * register.el (increment-register):
2917 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2918 (calc-append-to-register, calc-prepend-to-register):
2919 * play/gametree.el (gametree-layout-to-register)
2920 (gametree-apply-register-layout):
2921 * textmodes/picture.el (picture-clear-rectangle-to-register)
2922 (picture-yank-rectangle-from-register):
2923 * vc/emerge.el (emerge-combine-versions-register):
2924 Use register-read-with-preview to read registers.
2925
5dca7759
JT
29262014-02-03 João Távora <joaotavora@gmail.com>
2927
2928 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2929 when at beginning of (possibly narrowed) buffer.
2930
709085b9
DC
29312014-02-02 Daniel Colascione <dancol@dancol.org>
2932
c295fc18 2933 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 2934 Also try to display local help from just before point.
709085b9 2935
99f7b0a6
AM
29362014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2937
2938 c-parse-state. Don't "append-lower-brace-pair" in certain
2939 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2940 recognised as a comment.
2941
2942 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2943 as well as normal comment starter.
2944 (c-parse-state-get-strategy): Extra return possibility
2945 'back-and-forward.
2946 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2947 return value list to indicate replacement of a brace-pair cons
2948 with its car.
2949 (c-parse-state-1): With 'back-and-forward, only call
2950 c-append-lower-brace-pair-to state-cache when cons-separated.
2951
f0a10576
JD
29522014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2953
2954 * term/ns-win.el (ns-suspend-error): New function.
2955 (ns-initialize-window-system): Add ns-suspend-error to
2956 suspend-hook (Bug#16612).
2957
b8d552c2
DC
29582014-02-02 Daniel Colascione <dancol@dancol.org>
2959
35e951cd
JB
2960 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2961 Make loading cc-mode silent.
b8d552c2 2962
f2b7d123
DC
29632014-02-02 Daniel Colascione <dancol@dancol.org>
2964
35e951cd
JB
2965 * comint.el (comint-prompt-read-only): Change doc to suggest
2966 remap keybinding.
f2b7d123 2967
4472a196
GM
29682014-02-02 Glenn Morris <rgm@gnu.org>
2969
2970 * register.el (register-read-with-preview, point-to-register)
2971 (window-configuration-to-register, frame-configuration-to-register)
2972 (jump-to-register, number-to-register, view-register, insert-register)
2973 (copy-to-register, append-to-register, prepend-to-register)
2974 (copy-rectangle-to-register): Doc fixes.
2975
70e5a261
SM
29762014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2979 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2980 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2981 * help-fns.el (describe-function-1): Use it.
2982
7c324762
GM
29832014-02-02 Glenn Morris <rgm@gnu.org>
2984
2985 * register.el (register-preview-default): New function,
2986 split from register-preview.
2987 (register-preview-function): Rename from register-preview-functions,
2988 make it not a hook.
2989 (register-preview): Use register-preview-function.
2990 (register-read-with-preview): Error on non-character event. (Bug#16595)
2991
a09beb3d
DG
29922014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2993
2994 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2995 `:' before binary operators (bug#16609). Don't check for `:'
2996 before `[' and `(', or their syntax status. A percent literal
2997 can't end with either.
68e004e0
DG
2998 (ruby-font-lock-keywords): For built-ins that require arguments,
2999 check that they're followed by something that looks like argument
3000 (bug#16610).
a09beb3d 3001
ed4d2875
LI
30022014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3003
3004 * subr.el (butlast): Document what an omitted N means (bug#13437).
3005 (nbutlast): Ditto.
3006
dba6e3ec
LI
30072014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3008
3009 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3010 depth shallower (bug#16587).
cc477daa
LI
3011 (shr-tag-svg): Respect `shr-inhibit-images'.
3012 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 3013
e2a67bd0
DG
30142014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3015
3016 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3017 (ruby-smie-grammar): Make "." right-associative. Make its priority
3018 lower than the ternary and all binary operators.
3019 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
3020 parent, or the first "." parent at indentation.
3021 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
3022 (Bug#16593)
3023
bd21bf41
JL
30242014-01-31 Juri Linkov <juri@jurta.org>
3025
3026 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3027 from `make-hash-table'.
3028
3029 * textmodes/ispell.el (ispell-init-process): Change message format
3030 to be consistent with other messages.
3031
b7e615b9
GM
30322014-01-31 Glenn Morris <rgm@gnu.org>
3033
a69ecd19
GM
3034 * delsel.el (delete-selection-mode): Doc fix.
3035
9997d7e3
GM
3036 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3037 (trace-function-background): Doc fixes.
3038
fbb764b8
GM
3039 * ido.el (ido-use-virtual-buffers): Doc fix.
3040 Reset :version, since the default value has not changed.
3041
da942af1
GM
3042 * register.el (register-preview-delay, register-read-with-preview):
3043 Doc fixes.
3044
b7e615b9
GM
3045 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3046 do not mess with mail-buffer position (fixes 2009-11-03 change).
3047 * progmodes/cc-mode.el (c-submit-bug-report):
3048 Check auto-fill-mode is bound. (Bug#16592)
3049
0a25002d
DH
30502014-01-31 Darren Hoo <darren.hoo@gmail.com>
3051
3052 * startup.el (fancy-splash-image-file): New function,
3053 split from fancy-splash-head.
3054 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3055 so that we are both using the same image. (Bug#16574)
3056
ad78f432
GM
30572014-01-30 Glenn Morris <rgm@gnu.org>
3058
6bbc0c84
GM
3059 * simple.el (eval-expression): Doc fix.
3060
ad78f432
GM
3061 * hexl.el (hexl-mode-hook):
3062 * ielm.el (ielm-mode-hook):
3063 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3064 (lisp-interaction-mode-hook):
20f39add 3065 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
3066 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3067
7b2f049c
SM
30682014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3071 is a symbol (bug#16584).
3072
0c633f13
GM
30732014-01-30 Glenn Morris <rgm@gnu.org>
3074
3075 * help.el (help-for-help-internal): Add "P" to text.
3076
5e61c1ef
GM
30772014-01-29 Glenn Morris <rgm@gnu.org>
3078
3079 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3080
1dcb169c
MR
30812014-01-28 Martin Rudalics <rudalics@gmx.at>
3082
3083 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3084 height constraints.
3085
a9128931
LL
30862014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3087
3088 * progmodes/hideif.el: Extend to full CPP expression syntax.
3089 (hif-token-alist): Add missing tokens.
3090 (hif-token-regexp): Add support for float/octal/hex immediates.
3091 (hif-string-literal-regexp): New const.
3092 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3093 (hif-exprlist): New function.
3094 (hif-parse-if-exp): Use it.
3095 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3096 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3097 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3098 (hif-logxor, hif-comma): New functions.
3099
a22359a7
GM
31002014-01-28 Glenn Morris <rgm@gnu.org>
3101
793ffe81
GM
3102 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3103
e3bd7eed
GM
3104 * indent.el (tab-stop-list): Doc fix. Add :version.
3105
a22359a7
GM
3106 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3107 (cvs-append-to-ignore): Add compatibility alias.
3108
52695556 31092014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 3110
bac524e0
GM
3111 * dired.el (dired-hide-details-mode): Don't autoload it,
3112 since it cannot be used outside Dired buffers anyway.
3113
52695556 3114 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 3115
52695556
GM
3116 * dired.el (dired-hide-details-hide-symlink-targets)
3117 (dired-hide-details-hide-information-lines)
3118 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
3119
3120 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3121 * strokes.el (strokes-file): Doc fix. Bump :version.
3122 (strokes-help): Doc fix.
3123 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3124 * emulation/viper.el (viper): Doc fix for custom group.
3125 (top-level): Remove oh-so-no-longer-relevant text about vip.
3126 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3127
3128 * ido.el (ido-save-directory-list-file):
3129 * saveplace.el (save-place-file):
3130 * calendar/timeclock.el (timeclock-file):
3131 * net/quickurl.el (quickurl-url-file):
3132 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3133 * progmodes/idlwave.el (idlwave-config-directory):
3134 * textmodes/remember.el (remember-data-file):
3135 Bump :version.
3136
169d6004
GM
31372014-01-26 Glenn Morris <rgm@gnu.org>
3138
de6a923b
GM
3139 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3140 Doc fix. Make obsolete.
3141 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3142
169d6004
GM
3143 * sort.el (delete-duplicate-lines): Doc fix.
3144
ed85dee6
RS
31452014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3146
3147 * progmodes/ada-mode.el (ada):
3148 * woman.el (woman): Link to info manual and Commentary section.
3149
3150 * progmodes/flymake.el (flymake):
3151 * nxml/nxml-mode.el (nxml):
3152 * net/eww.el (eww):
3153 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3154 * htmlfontify.el (htmlfontify):
3155 * ses.el (ses):
3156 * epa.el (epa):
3157 * ido.el (ido): Link to info manual.
3158
e0c67e1d
LL
31592014-01-25 Leo Liu <sdl.web@gmail.com>
3160
3161 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3162
35408b1a
AS
31632014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3164
3165 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3166 (bug#16537).
3167
76c3fa95
JB
31682014-01-24 Juanma Barranquero <lekktu@gmail.com>
3169
f77c7a99
JB
3170 * net/eww.el (eww-download-callback):
3171 Fix reference to eww-download-directory.
3172
76c3fa95
JB
3173 * emacs-lisp/bytecomp.el (byte-compile-file):
3174 Remove unused local variable `file-name'.
3175
1e548e40
GM
31762014-01-24 Glenn Morris <rgm@gnu.org>
3177
03f3b318
GM
3178 * woman.el (woman-default-faces, woman-monochrome-faces):
3179 Fix obsolescence specification.
3180
1e548e40
GM
3181 * subr.el (with-demoted-errors): Doc fix.
3182
d4f0427b
SM
31832014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3186 (cl--macroexp-fboundp): New function.
3187 (cl--make-type-test): Use it.
3188
1670e27f
GM
31892014-01-23 Glenn Morris <rgm@gnu.org>
3190
3191 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3192 * simple.el (eval-expression): Doc fixes.
3193
80efa207
GM
31942014-01-22 Glenn Morris <rgm@gnu.org>
3195
3196 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3197
29afcbab
SM
31982014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3199
3200 * emacs-lisp/package.el: Write files silently.
3201 (package-autoload-ensure-default-file, package--write-file-no-coding)
3202 (package-generate-description-file, package--download-one-archive)
3203 (package-install-from-archive): Tell `write-region' to stay quiet.
3204 (package-menu-mode, package-menu--print-info): Omit the Archive column
3205 if there's only one archive.
3206 (package-all-keywords, package--has-keyword-p): Remove dead code.
3207
2a5bce4f
GM
32082014-01-22 Glenn Morris <rgm@gnu.org>
3209
edace89f
GM
3210 * version.el (emacs-bzr-version-bzr): Fix typo.
3211
2a5bce4f
GM
3212 * version.el (emacs-repository-get-version):
3213 Check either .bzr or .git, but not both.
3214 Make the git case actually use the DIR argument, and return nil
3215 rather than the empty string.
983664c0 3216 Avoid error if .git exists but the git executable is not found.
2a5bce4f 3217
6cb4da45
MR
32182014-01-22 Martin Rudalics <rudalics@gmx.at>
3219
3220 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
3221 * window.el (window-total-size, window-size): New argument ROUND.
3222 (window--min-delta-1, window-min-delta, window--max-delta-1):
3223 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
3224 columns a window can shrink (Bug#16430).
3225 (fit-window-to-buffer): Simplify code.
3226 * term.el (term-window-width): Call window-body-width again.
3227
cc0f2ece
GM
32282014-01-22 Glenn Morris <rgm@gnu.org>
3229
7b997b14
GM
3230 * image.el (image-format-suffixes): Doc fix.
3231
44e76f9d
GM
3232 * international/quail.el (quail-define-package): Doc fix.
3233
35e951cd 3234 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 3235 (authors-renamed-files-alist): Additions.
7bfc1caa 3236
85a5f61f
GM
3237 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3238 reverts 2014-01-09 change. (Bug#16422)
3239
cc0f2ece
GM
3240 * calc/calc-embed.el (thing-at-point-looking-at):
3241 * emacs-lisp/map-ynp.el (x-popup-dialog):
3242 * obsolete/lmenu.el (x-popup-dialog):
3243 * emacs-lisp/package.el (url-recreate-url):
3244 * mail/mailclient.el (clipboard-kill-ring-save):
3245 * subr.el (x-popup-dialog): Update declaration.
3246 * mail/rmail.el (rmail-mime-message-p):
3247 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3248
00d2a6bb
DC
32492014-01-21 Daniel Colascione <dancol@dancol.org>
3250
3251 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3252 Correctly detect when we're inside an arithmetic expansion form
3253 containing nested parenthesis.
c295fc18 3254 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
3255 to detect cases where we shouldn't expand "<<" to a heredoc
3256 skeleton.
3257
dd9d2e9d
SM
32582014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3259
3260 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3261 (eldoc--message-command-p): New function.
3262 (eldoc-display-message-p): Use it.
3263 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3264 message is not automatically erased for us.
3265 (eldoc-print-current-symbol-info): Erase previous message, if any.
3266
e7d807ca
TH
32672014-01-21 Tassilo Horn <tsdh@gnu.org>
3268
4ff0a0e5
TH
3269 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3270 specify it's an interactive function.
3271
dd9d2e9d
SM
3272 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3273 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
3274 citations with optional arguments.
3275
87503791
LL
32762014-01-21 Leo Liu <sdl.web@gmail.com>
3277
3278 * simple.el (read--expression): Don't enable eldoc-mode.
3279
6cc750ee
SM
32802014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * simple.el (move-beginning-of-line): Make sure we don't move forward
3283 (bug#16497).
3284
71f16bda
JL
32852014-01-20 Juri Linkov <juri@jurta.org>
3286
3287 * saveplace.el (toggle-save-place, save-place-to-alist)
3288 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3289 'dired-mode) before checking for dired-directory. (Bug#16477)
3290
3c5a4839
JL
32912014-01-20 Juri Linkov <juri@jurta.org>
3292
3293 * indent.el (indent-line-to): Use backward-to-indentation
3294 instead of back-to-indentation. (Bug#16461)
3295
f952002e
PE
32962014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3297
3298 Revert some of the CANNOT_DUMP fix (Bug#16494).
3299 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3300 but fixing this can wait until after the next release.
3301 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3302
93675500
MA
33032014-01-19 Michael Albinus <michael.albinus@gmx.de>
3304
3305 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3306 Use `password-word-equivalents'.
3307 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3308 to t. (Bug#5664, Bug#13124)
3309
e3af763f
AM
33102014-01-19 Alan Mackenzie <acm@muc.de>
3311
3312 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3313 points.
3314 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 3315 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
3316 * progmodes/cc-mode.el (c-before-change, c-after-change)
3317 (c-font-lock-fontify-region): Bind it here.
3318
4ff6d92d
MR
33192014-01-19 Martin Rudalics <rudalics@gmx.at>
3320
3321 * term.el (term-window-width): Call window-text-width instead of
3322 window-width (Bug#16470).
3323
9a685cf6
PE
33242014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3325
3326 * simple.el (password-word-equivalents): Remove duplicates.
3327 Sort, to make this easier next time.
3328 Downcase. Omit ": " after "jelszó".
3329
5aa78c2d
JD
33302014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3331
3332 * term/common-win.el (saved-region-selection): Defvar it.
3333 (x-select-text): Set saved-region-selection (Bug#16382).
3334
cabb250c
GM
33352014-01-18 Glenn Morris <rgm@gnu.org>
3336
3337 * emacs-lisp/authors.el (authors-aliases)
3338 (authors-renamed-files-alist): Add some entries.
3339
a1340440
MA
33402014-01-17 Michael Albinus <michael.albinus@gmx.de>
3341
93675500
MA
3342 * net/tramp.el (tramp-password-prompt-regexp):
3343 Use `password-word-equivalents' if available.
a1340440
MA
3344 (tramp-action-password, tramp-process-one-action)
3345 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3346
681ce5d2
CY
33472014-01-17 Chong Yidong <cyd@gnu.org>
3348
3349 * simple.el (password-word-equivalents): New defcustom.
3350 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3351 to 24.4.
3352 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3353 to t. (Bug#13124)
3354
fb3d479c
DG
33552014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3356
3357 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3358 (ruby-align-to-stmt-keywords): Change the default value.
3359 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3360 choices.
3361 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3362 keywords, check against the value of `ruby-alignable-keywords'
3363 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3364
0d613483
GM
33652014-01-17 Glenn Morris <rgm@gnu.org>
3366
fc23fe2d
GM
3367 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3368
0d613483 3369 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3370 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3371 (authors-ignored-files): Add some entries, remove others.
3372 (authors-ambiguous-files, authors-valid-file-names):
3373 Add some entries.
3374 (authors-renamed-files-alist): Add, remove, and adjust entries.
3375 (authors-renamed-files-regexps): Add some entries.
3376 Remove some very broad ones. Make some entries `lax'.
3377 (authors-lax-changelogs): New constant.
3378 (authors-disambiguate-file-name): Treat top-level specially.
3379 (authors-lax-changelog-p): New function.
3380 (authors-canonical-file-name): Check file as written against
3381 authors-valid-file-names. Do not special-case etc/.
3382 Handle `lax' logs and authors-renamed-files-regexps elements.
3383
2dbf4ffd
DG
33842014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3385
3386 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3387 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3388 callers.
2dbf4ffd 3389
87b2a7f2
SM
33902014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3393 Assume we're already in the proper buffer.
3394 Inspired by Anders Lindgren <andlind@gmail.com>.
3395 (follow-post-command-hook): Call it from the right buffer.
3396 (follow-comint-scroll-to-bottom): Adjust call.
3397 (follow-all-followers): Use get-buffer-window-list.
3398
93acfb0e
DC
33992014-01-15 Daniel Colascione <dancol@dancol.org>
3400
3401 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3402 `buffer-file-name' in interactive-form so that we don't leave
3403 pathless file names in `file-name-history'.
3404
ccc6b208
JL
34052014-01-15 Juri Linkov <juri@jurta.org>
3406
3407 * indent.el (indent-rigidly): Set deactivate-mark to nil
3408 in transient indentation mode. (Bug#16438)
3409
5c92e00d
DG
34102014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3411
3412 * emacs-lisp/package.el (package-desc-keywords): New function
3413 (Bug#16222).
3414 (describe-package-1, package-all-keywords)
3415 (package--has-keyword-p): Use it.
3416
dac69660
NR
34172014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3418
3419 * simple.el (define-alternatives): When creating the
3420 COMMAND-alternatives variable, assign COMMAND as its definition
3421 name so that `describe-variable' can relocate it.
3422
8b63edf8
ML
34232014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3424
3425 * font-lock.el (font-lock-keywords): Fix typo in docstring
3426 (bug#16307).
3427
c6a0b8eb
AM
34282014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3429
3430 * ispell.el (ispell-region): Reset `in-comment' for new line
3431 instead of wrongly reset `add-coment' (bug#13577).
3432
02bf443d
DU
34332014-01-14 Daiki Ueno <ueno@gnu.org>
3434
3435 * epa-file.el (epa-file-write-region): Encode the region according
3436 to `buffer-file-format'. Problem reported at:
3437 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3438
fd7fde15
SM
34392014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3440
3441 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3442 so it applies in the right buffer (bug#16410).
3443
c176054f
DC
34442014-01-13 Daniel Colascione <dancol@dancol.org>
3445
3446 * textmodes/rst.el (rst-define-key): Provide deprecated
3447 keybindings through named functions instead of anonymous ones so
3448 that "??" doesn't appear in describe-mode output.
3449
e3f33e5d
BG
34502014-01-13 Bastien Guerry <bzg@gnu.org>
3451
3452 * simple.el (define-alternatives): Call the selected command
3453 interactively. When setting `COMMAND--implementation' for the
3454 first time, tell the user how to chose another implementation.
3455 Enhance the docstring.
3456
c055d654
SM
34572014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3458
3459 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3460 (log-edit--match-first-line): New function.
3461 (log-edit-font-lock-keywords): Use it.
3462 (log-edit-mode): Make jit-lock-defer-multiline work.
3463
d791cc3b
BG
34642014-01-13 Bastien Guerry <bzg@gnu.org>
3465
3466 * rect.el (rectangle-mark-mode): When the region is not active,
3467 display a message saying that the mark as been set and that
3468 rectangle mode is in use.
3469 (rectangle--highlight-for-redisplay): Only put an overlay with a
3470 visible vertical bar when (display-graphic-p) is non-nil.
3471 This partially fixes Bug#16403.
3472
3c0c4562
JL
34732014-01-13 Juri Linkov <juri@jurta.org>
3474
3475 * info.el (Info-find-file): Go to DIR before displaying the error
3476 about a nonexistent file if no previous Info file is visited.
3477 Use `user-error' instead of `error' for "Info file %s does not exist".
3478 (Info-find-node-2): In case of a nonexistent node in unwind forms
3479 go to the Top node if there is no previous node to revert to.
3480 (Bug#16405)
3481
25a700d0
MR
34822014-01-13 Martin Rudalics <rudalics@gmx.at>
3483
3484 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
3485 * window.el (fit-frame-to-buffer): Fix doc-string.
3486 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
3487 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3488 when avoiding that frame goes partially off-screen.
3489 (fit-window-to-buffer): Respect window-min-height/-width
3490 (Bug#14096).
3491
6ae948d8
SM
34922014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3493
3494 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3495 after an empty line.
3496
6137cb82
SM
34972014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3498
3499 * net/shr.el (shr-render-region): Autoload.
3500
e6344e17
XF
35012014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3502
3503 * net/eww.el (eww-download-directory): Rename from
3504 `eww-download-path' (Bug#16419).
3505
3b922c70
LL
35062014-01-12 Leo Liu <sdl.web@gmail.com>
3507
3508 * dired-x.el (dired-mode-map): Fix last change.
3509
3510 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3511
4fa51741
PE
35122014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3513
3514 Spelling fixes.
3515 * emacs-lisp/generic.el (generic--normalize-comments):
3516 Rename from generic--normalise-comments. All uses changed.
35e951cd 3517 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
3518 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3519 (bubbles--neighborhood-available)
3520 (bubbles--update-neighborhood-score):
3521 Rename from names with 'neighbourhood'. All uses changed.
3522
9b335362
LL
35232014-01-12 Leo Liu <sdl.web@gmail.com>
3524
3525 Re-implement the feature of showing eldoc info after editing.
3526 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3527 (eldoc-edit-message-commands): New function.
3528 (eldoc-print-after-edit): New variable.
3529 (eldoc-pre-command-refresh-echo-area): Emit message only by
3530 eldoc-message-commands.
3531 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3532 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 3533 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 3534 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 3535
e2a095b1
GM
35362014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3537 Eric S. Raymond <esr@thyrsus.com>
9685190b 3538
841a6d0c 3539 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 3540 function works correctly in either a Bazaar or Git repo.
0abf4134 3541
e2a095b1
GM
35422014-01-11 Eric S. Raymond <esr@thyrsus.com>
3543
6137cb82
SM
3544 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3545 Goes with removal of the joke manpages from /etc.
9685190b 3546
c295fc18 35472014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 3548
6137cb82
SM
3549 * mail/rmail.el (rmail-get-coding-system):
3550 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 3551
d2f16e93
GM
35522014-01-10 Glenn Morris <rgm@gnu.org>
3553
3554 * emacs-lisp/authors.el (authors-fixed-entries):
3555 Update for files that no longer exist.
3556
7e03bb32
ER
35572014-01-10 Eric S. Raymond <esr@thyrsus.com>
3558
3559 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 3560 24.3 (Tested).
7e03bb32 3561
dd806710
BB
35622014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3563
3564 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3565 and Podfile.
3566
ed6ec139
EZ
35672014-01-10 Eli Zaretskii <eliz@gnu.org>
3568
3569 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3570
cc33cac9
CY
35712014-01-10 Chong Yidong <cyd@gnu.org>
3572
6137cb82 3573 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 3574
d9d836b5
AL
35752014-01-10 Anders Lindgren <andlind@gmail.com>
3576
3577 * follow.el (follow-cache-command-list): Include right-char and
3578 left-char.
3579
06827ec8
PE
35802014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3581
3582 Spelling fixes.
3583 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3584 * woman.el (woman-mark-horizontal-position):
3585 Rename from woman-mark-horizonal-position. Use changed.
3586
458dbf5e
GM
35872014-01-10 Glenn Morris <rgm@gnu.org>
3588
dad6fae7
GM
3589 * info.el (info-initialize): If running uninstalled, ensure our
3590 own info files are always found first, even if INFOPATH is set.
3591
458dbf5e
GM
3592 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3593
05e0afce
DE
35942014-01-09 David Engster <deng@randomsample.de>
3595
3596 * emacs-lisp/eieio-custom.el:
3597 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3598 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3599 * emacs-lisp/eieio.el: Regenerate autoloads.
3600
f29778b3
ER
36012014-01-09 Eric S. Raymond <esr@thyrsus.com>
3602
3603 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3604 following renames. (Bug#8756)
f29778b3 3605
684d44ef
SM
36062014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3607
3608 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3609 (bug#16382).
3610 (activate-mark): Add `no-tmm' argument.
3611 (set-mark, push-mark-command): Use it instead of running
3612 activate-mark-hook by hand.
3613
9475054f
ER
36142014-01-08 Eric S. Raymond <esr@thyrsus.com>
3615
3616 In preparation for the move to git, sanitize out some
3617 Bazaar-specific names.
3618
38942b9c
GM
3619 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3620
9475054f 3621 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3622 emacs-repository-version. Obsolete-variable alias made.
9475054f 3623 * loadup.el: Follow through on this name change.
a12bf61e 3624 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3625 assumption about the version control system in use.
3626
0f918d96 36272014-01-08 David Engster <deng@randomsample.de>
abb82152 3628
684d44ef
SM
3629 * help-fns.el (help-fns-describe-function-functions):
3630 New variable to call functions for augmenting help buffers.
abb82152
DE
3631 (describe-function-1): Remove explicit calls to
3632 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
3633 `help-fns--obsolete'. Put them in above new variable instead, and
3634 call them through `run-hook-with-args'.
3635 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3636 `eieio-describe-class'. Not meant for interactive use anymore,
3637 but to augment existing help buffers. Remove optional second
684d44ef
SM
3638 argument. Create proper button for file location.
3639 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
3640 possible.
3641 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3642 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
3643 (describe-method, describe-generic, eieio-describe-method):
3644 Remove aliases.
0f918d96
DE
3645 (eieio-help-constructor, eieio-help-generic): Rename from
3646 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3647 Rewrite to use `insert' in the current buffer and use proper help
3648 buttons.
3649 (eieio-help-find-method-definition)
3650 (eieio-help-find-class-definition): Also accept symbols as
3651 arguments.
3652 (eieio-help-mode-augmentation-maybee): Remove.
3653 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
3654 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3655 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 3656
136b74c5
PE
36572014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3658
3659 Spelling fixes.
3660 * language/china-util.el (hz-ascii-designation):
3661 Rename from hz-ascii-designnation.
3662 (hz-ascii-designation): Rename from hz-ascii-designnation.
3663 All uses changed.
3664
ec6c7de2
SM
36652014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3666
3667 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3668 package-alist.
3669
d6262c7c
BG
36702014-01-08 Bastien Guerry <bzg@gnu.org>
3671
4b9e6087
GM
3672 * emacs-lisp/package.el (package-delete):
3673 Correctly delete the package from package-alist.
d6262c7c 3674
0a3eec32
DU
36752014-01-08 Daiki Ueno <ueno@gnu.org>
3676
3677 * emacs-lisp/package.el (url-recreate-url): Declare.
3678 (url-http-target-url): Declare.
4b9e6087 3679 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
3680 (package--check-signature): Don't re-signal errors from
3681 package--with-work-buffer. Suggested by Stefan Monnier.
3682
68f0bb97
BG
36832014-01-07 Bastien Guerry <bzg@gnu.org>
3684
3685 * minibuffer.el (completion--try-word-completion): When both a
3686 hyphen and a space are possible candidates for the character
3687 following a word, display both candidates. (Bug#15980)
3688
7e1899d7
MR
36892014-01-07 Martin Rudalics <rudalics@gmx.at>
3690
3691 * window.el (balance-windows-2): While rounding don't give a
c295fc18 3692 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 3693
0030ec15
GM
36942014-01-07 Glenn Morris <rgm@gnu.org>
3695
3696 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3697 (menu-bar-help-menu): Use view-external-packages instead.
3698
2b6b4f20
BG
36992014-01-07 Bastien Guerry <bzg@gnu.org>
3700
3701 * emacs-lisp/package.el (package-delete): Also delete the package
3702 name from `package-alist', not its description only.
3703
e9be0a13
GM
37042014-01-07 Glenn Morris <rgm@gnu.org>
3705
3706 * help.el (view-external-packages):
3707 * menu-bar.el (menu-bar-help-extra-packages):
3708 Visit efaq.info rather than etc/MORE.STUFF.
3709
e4f74da9
JL
37102014-01-07 Juri Linkov <juri@jurta.org>
3711
3712 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3713 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3714
3715 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3716 that shadows RET. (Bug#16342)
3717
de7ce2d1
CY
37182014-01-07 Chong Yidong <cyd@gnu.org>
3719
3720 * isearch.el (isearch-yank-char, isearch-yank-word)
3721 (isearch-yank-line): Doc fix.
3722
6bdd9204
SM
37232014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3724
3725 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3726 * emacs-lisp/elint.el (elint-find-builtins):
3727 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3728 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3729 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3730 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3731 * apropos.el (apropos-safe-documentation):
3732 * subr.el (symbol-file): Remove redundant fboundp.
3733 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3734
daccca97
BG
37352014-01-06 Bastien Guerry <bzg@gnu.org>
3736
3737 * hl-line.el (global-hl-line-overlay): Make a local variable.
3738 (global-hl-line-overlays): New variable to store all overlays.
3739 (global-hl-line-mode): Don't delete overlays from the current
3740 buffer when `global-hl-line-sticky-flag' is non-nil.
3741 (global-hl-line-highlight): Add new overlays to
3742 `global-hl-line-overlays'.
3743 (global-hl-line-unhighlight-all): New function to delete all
3744 overlays when turning off `global-hl-line-mode'.
3745 This fixes Bug#16183.
3746
ec00f20f
SM
37472014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * subr.el (set-transient-map): Fix nested case and docstring.
3750
a0031f97
TH
37512014-01-06 Tassilo Horn <tsdh@gnu.org>
3752
3753 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3754 `Texinfo' entry.
3755
bf6a77f3
DC
37562014-01-06 Daniel Colascione <dancol@dancol.org>
3757
3758 Fix defun navigation in vc log view.
3759
3760 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3761 like `beginning-of-defun'.
c295fc18 3762 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
3763 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3764 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 3765 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 3766 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 3767
d5081c1e
PE
37682014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3769
3770 Spelling fixes.
3771 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3772 * emacs-lisp/debug.el (cancel-debug-on-entry):
3773 * epg.el (epg-error-to-string):
3774 * files.el (recover-file):
3775 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3776 * mail/emacsbug.el (report-emacs-bug-hook):
3777 * mail/sendmail.el (mail-recover):
3778 * ses.el (ses-yank-resize):
3779 * term/ns-win.el (ns-print-buffer):
3780 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3781 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3782 All uses changed.
3783 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3784
53f6b148
LL
37852014-01-06 Leo Liu <sdl.web@gmail.com>
3786
3787 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 3788 to avoid shadowing global key. (Bug#16354)
53f6b148 3789
b82ace2f
DC
37902014-01-06 Daniel Colascione <dancol@dancol.org>
3791
3792 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3793 rst-mode.
3794
3669b636
MR
37952014-01-05 Martin Rudalics <rudalics@gmx.at>
3796
3797 * window.el (balance-windows): Add mising t to fix Bug#16351.
3798
1a29adc2
LMI
37992014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3800
3801 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3802 (bug#16285).
3d95a0f4
LMI
3803 (shr-insert): If we have a word that's longer than `shr-width',
3804 break after it anyway. Otherwise we'll do no breaking once we get
3805 such a long word.
1a29adc2 3806
f4018140
KN
38072014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3808
3fcfc4ee 3809 * net/eww.el (eww): Support single/double quote for search.
c295fc18 3810 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
3811 (eww-history-quit): Delete and use quit-window.
3812 (eww-history-kill): Delete, because it doesn't work well and
3813 not necessary.
3814 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 3815
4e619754
PE
38162014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3817
73dbf960
PE
3818 Fix misspelling of 'chinese' in rx (Bug#16237).
3819 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3820 chinese-two-byte.
3821
4e619754
PE
3822 Change subword regexps back to vars (Bug#16296).
3823 * progmodes/subword.el (subword-forward-regexp)
3824 (subword-backward-regexp): Change these back to variables.
3825
e18b70fc
SM
38262014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3829 syntax-begin-function (bug#16247).
3830
0d53f628
CY
38312014-01-03 Chong Yidong <cyd@gnu.org>
3832
3833 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3834 (advice--docstring): Delete variable.
3835 (advice--make-1): Leave the docstring empty.
3836 (advice-add): Use function-documentation for advised docstring.
3837
3838 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3839 Ignore function-documentation property when getting documentation.
3840 (ad-activate-advised-definition): Use function-documentation
3841 generate the docstring.
3842 (ad-make-advised-definition): Don't call
3843 ad-make-advised-definition-docstring.
3844 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3845 Delete functions.
3846
3847 * progmodes/sql.el (sql-help): Use function-documentation instead
3848 of dynamic-docstring-function property. No need to autoload now.
3849 (sql--help-docstring): New variable.
3850 (sql--make-help-docstring): Use it.
3851
6f547583
SM
38522014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3853
6ef9aed8
SM
3854 * ielm.el (ielm-tab): Retarget.
3855 (ielm-map): Use ielm-tab for tab.
3856 (ielm-complete-filename): Use comint-filename-completion.
3857 (ielm-complete-symbol): Remove.
3858 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3859 remove ielm-tab from completion-at-point-functions (bug#16224).
3860
6f547583
SM
3861 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3862 Beware signals raised by predicates (bug#16201).
3863
a574edbe
RS
38642014-01-02 Richard Stallman <rms@gnu.org>
3865
e831604d
RS
3866 * dired-aux.el (dired-do-print): Handle printer-name.
3867
6f547583
SM
3868 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3869 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
3870 (rmail-epa-decrypt): Turn off mime processing.
3871
3fcfc4ee 3872 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
3873 Add parens in message-id.
3874
3875 * mail/rmail.el (rmail-get-coding-function): Variable.
3876 (rmail-get-coding-system): Use it.
3877
04311a16
KH
38782013-12-31 Eli Zaretskii <eliz@gnu.org>
3879
3880 * international/mule-conf.el: Unify the charset indian-is13194.
3881 (indian-is13194): Specify unify-map.
3882
c8d89778
LL
38832013-12-31 Leo Liu <sdl.web@gmail.com>
3884
3885 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3886
e63ace37
DC
38872013-12-30 Daniel Colascione <dancol@dancol.org>
3888
9e0bf19a
DC
3889 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3890 of printing a useless when we resume from sleep.
3891
e63ace37 3892 * progmodes/sh-script.el
c295fc18 3893 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
3894 in indentation code. (Bug#16233)
3895
e9d6c46a
JT
38962013-12-28 João Távora <joaotavora@gmail.com>
3897
6f547583
SM
3898 * elec-pair.el (electric-pair-post-self-insert-function):
3899 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 3900
bf7bea5d
EZ
39012013-12-28 Eli Zaretskii <eliz@gnu.org>
3902
3903 * frame.el (window-system-for-display): Don't allow to create a
3904 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3905
8449dd1f
GM
39062013-12-28 Glenn Morris <rgm@gnu.org>
3907
9c5a5c77
GM
3908 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3909 Update callers.
3910
3911 * apropos.el (apropos-match-face):
3912 * calculator.el (calculator-displayer):
3913 * dabbrev.el (dabbrev-search-these-buffers-only):
3914 * face-remap.el (buffer-face-mode-face):
3915 * simple.el (yank-handled-properties):
3916 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3917 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3918 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3919 (hashcash-double-spend-database):
3920 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3921 (ruby-deep-indent-paren-style):
3922 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3923 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3924 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3925 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3926 Specify custom types.
3927
bb098075
GM
3928 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3929 * bookmark.el (bookmark-bmenu-use-header-line):
3930 * doc-view.el (doc-view-scale-internally):
3931 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3932 * register.el (register-preview-delay):
3933 * net/shr.el (shr-bullet):
3934 * progmodes/cfengine.el (cfengine-cf-promises)
3935 (cfengine-parameters-indent):
3936 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3937 * textmodes/reftex-vars.el (reftex-label-regexps):
3938 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3939
9c61f806
GM
3940 * net/tls.el (tls-certtool-program): Fix default value.
3941
3942 * desktop.el (desktop-restore-in-current-display):
3943 * newcomment.el (comment-empty-lines):
3944 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3945 (idlwave-pad-keyword):
3946 * progmodes/tcl.el (tcl-tab-always-indent):
3947 * textmodes/reftex-vars.el (reftex-index-default-tag):
3948 * elec-pair.el (electric-pair-skip-whitespace):
3949 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3950
8449dd1f
GM
3951 * emacs-lisp/authors.el (authors-ignored-files)
3952 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3953
fdadeb49
JC
39542013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3955
72140a0f
GM
3956 * shell.el (shell-dynamic-complete-command): Doc fix.
3957 (shell--command-completion-data): Shell completion now matches
3958 executable filenames from the current buffer's directory, on
da5ecfa9 3959 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 3960
e572a7d8
LI
39612013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3962
3963 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3964
7514d3f8
SM
39652013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3966
a4151f3b
SM
3967 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3968 (bug#16251).
3969
7514d3f8
SM
3970 * electric.el: Move all electric-pair-* to elec-pair.el.
3971 * elec-pair.el: New file, split from electric.el.
3972
ac5758d1
LI
39732013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3974
3975 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3976 indentation level is larger than the width, because that will
3977 infloop.
3978 (shr-insert): Fill repeatedly long texts, so that Japanese is
3979 formatted correctly (bug#16263).
24a6b65e
LI
3980 (shr-find-fill-point): Off by one error in comparison with the
3981 indentation.
ac5758d1 3982
7514d3f8 39832013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
3984
3985 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 3986 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
3987 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3988 if that keeps or improves their balance in buffers.
3989 (electric-pair-delete-adjacent-pairs): Delete the pair when
3990 backspacing over adjacent matched delimiters.
3991 (electric-pair-open-extra-newline): Open extra newline when
3992 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
3993 (electric--sort-post-self-insertion-hook):
3994 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
3995 minor-modes are activated.
3996 * simple.el (newline-and-indent): Call newline with interactive
3997 set to t.
3998 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
3999 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4000 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4001 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
4002 electric-pair-open-newline-between-pairs to nil.
4003
fbcc63a3
FEG
40042013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4005
4006 * progmodes/python.el: Use lexical-binding.
4007 (python-nav-beginning-of-defun): Stop searching ASAP.
4008
ed78d16c
XF
40092013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4010
4011 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4012 Fix interactive spec. Doc fix. (Bug#15754)
4013
38b2c142
KY
40142013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4015
4016 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 4017 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
4018 Fix edebug spec (bug#16184).
4019
3c856c14
LI
40202013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4021
83fa295c 4022 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
4023 (shr-insert): Don't infloop if we can't find a good place to break
4024 the line (bug#16256).
3c856c14 4025
01379221
FEG
40262013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4027
35e951cd 4028 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
4029 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4030 python-nav-lisp-forward-sexp-safe.
4031 (python-nav--forward-sexp): New argument SAFE allows switching
4032 forward sexp movement behavior for parens.
4033 (python-nav-forward-sexp): Throw errors on unterminated parens
4034 (Bug#16191).
4035 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4036 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
4037 (python-shell-buffer-substring):
4038 Use `python-nav-forward-sexp-safe'.
01379221 4039
99e4926f
LI
40402013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4041
4042 * net/shr.el (shr-find-fill-point): Don't break lines before a
4043 quotation mark.
c6c20584
LI
4044 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4045 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 4046 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 4047
fec0e828
KN
40482013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4049
4050 * net/eww.el (eww-form-textarea): Use a different face for
4051 textareas than text input since they have different keymaps
4052 (bug#16142).
4053
89c868ad
FEG
40542013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4055
7514d3f8
SM
4056 * progmodes/python.el (python-nav-beginning-of-statement):
4057 Speed up (Bug#15295).
89c868ad 4058
eeef121a
LI
40592013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4060
4061 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4062 the window configuration.
4063
121ea65f
EZ
40642013-12-24 Eli Zaretskii <eliz@gnu.org>
4065
4066 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4067 we run on MS-Windows or MS-DOS.
4068
18cee9ec
MR
40692013-12-24 Martin Rudalics <rudalics@gmx.at>
4070
4071 * window.el (balance-windows-area): Call window-size instead of
4072 window-height and window-width. Bug#16241.
4073
58f2b9a5
LI
40742013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4075
4076 * net/eww.el (eww-bookmark-quit): Remove.
4077 (eww-bookmark-browse): Restore the window configuration when you
4078 choose a bookmark (bug#16144).
4079
d64b6308
DC
40802013-12-24 Daniel Colascione <dancol@dancol.org>
4081
4082 * icomplete.el: Remove redundant :group arguments to `defcustom'
4083 throughout.
4084 (icomplete-show-matches-on-no-input): New customizable variable.
4085 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4086 we have something to show.
7514d3f8 4087 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 4088
0da54898
DC
40892013-12-23 Daniel Colascione <dancol@dancol.org>
4090
4091 * icomplete.el: Move `provide' to end of file.
4092
b90aa4f4
TZ
40932013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4094
4095 * net/gnutls.el (gnutls-verify-error): Add version tag.
4096
8cd22a08
CY
40972013-12-23 Chong Yidong <cyd@gnu.org>
4098
4099 * subr.el (set-transient-map): Rename from
4100 set-temporary-overlay-map. Doc fix.
4101
4102 * face-remap.el (text-scale-adjust):
4103 * indent.el (indent-rigidly):
4104 * kmacro.el (kmacro-call-macro):
4105 * minibuffer.el (minibuffer-force-complete):
4106 * repeat.el (repeat):
4107 * simple.el (universal-argument--mode):
4108 * calendar/todo-mode.el (todo-insert-item--next-param):
4109 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4110
7510b021
CY
4111 * indent.el (indent-rigidly): Use substitute-command-keys.
4112
72140a0f 41132013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
4114
4115 * net/eww.el (eww-tag-select): Add text-property to jump to next
4116 select field.
e9dc713d 4117 (eww): Add non-supported ftp error.
56890ecd 4118
1f87a56c
DG
41192013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4120
4121 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4122 comments. Handle electric indent after typing `?' and `!'.
4123
dca38cf9
CY
41242013-12-22 Chong Yidong <cyd@gnu.org>
4125
4126 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
4127 applicable to a frame, fall back on the defface spec.
4128 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 4129
f2351498
DG
41302013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4131
4132 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4133 after `{'. We need it after block openers, and it doesn't seem
4134 to hurt after hash openers.
4135
6cddebc1
DG
41362013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4137
4138 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4139 extracted from `ruby-smie-rules'.
4140 (ruby--electric-indent-chars): New variable.
4141 (ruby--electric-indent-p): New function.
4142 (ruby-mode): Use `electric-indent-functions' instead of
4143 `electric-indent-chars'.
4144
65a1da00
DG
41452013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4146
4147 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4148 docstring.
4149 (ruby-smie-rules): Indent plus one level after `=>'.
4150
b51ad4cf
RS
41512013-12-21 Richard Stallman <rms@gnu.org>
4152
4153 * simple.el (newline): Doc fix.
4154
72140a0f 41552013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 4156
e9dc713d 4157 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
4158 (eww-history-browse, eww-history-quit, eww-history-kill)
4159 (eww-history-mode-map, eww-history-mode): New command and
4160 functions to list browser histories.
e9dc713d
JB
4161 (eww-form-text): Support text form with disabled
4162 and readonly attributes.
4163 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 4164
5e1901c1
RS
41652013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4166
4167 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4168 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4169 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4170 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4171 Use `user-error'.
4172 (eww-bookmark-mode-map): Add menu.
4173 (eww-render, eww-mode): Use `setq-local'.
4174 (eww-tool-bar-map): New variable.
4175 (eww-mode): Set `tool-bar-map'.
4176 (eww-view-source): Check for `html-mode' with `fboundp'.
4177
073d5cfd
LMI
41782013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4179
4180 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4181 elements with text inside. Also remove debugging.
4182
41cf3d11
JD
41832013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4184
4185 * cus-start.el (all): Add ns-use-srgb-colorspace.
4186
aac2b673
CY
41872013-12-21 Chong Yidong <cyd@gnu.org>
4188
4189 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4190 undefined. Thus, theme settings for undefined faces do not take
4191 effect until the faces are defined with defface, the same as with
4192 theme variables.
4193
4194 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4195 (face-spec-reset-face): Don't assign extra properties in temacs.
4196 (face-spec-recalc): Apply X resources too.
4197
bacb0e77
CY
41982013-12-21 Chong Yidong <cyd@gnu.org>
4199
4200 * faces.el (face-spec-set):
4201 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4202 * custom.el (defface): Doc fixes (Bug#16203).
4203
77221051
CY
4204 * indent.el (indent-rigidly-map): Add docstring, and move commands
4205 into named functions.
4206 (indent-rigidly-left, indent-rigidly-right)
4207 (indent-rigidly-left-to-tab-stop)
4208 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4209 indentation direction based on bidi direction, and accumulate
4210 sequential commands in a single undo boundary.
4211 (indent-rigidly--pop-undo): New utility function.
4212
e0eb0550
JB
42132013-12-20 Juanma Barranquero <lekktu@gmail.com>
4214
4215 * faces.el (read-face-name): Require crm.el when using crm-separator.
4216
3282bd2e
DC
42172013-12-20 Daniel Colascione <dancol@dancol.org>
4218
4219 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4220 so that we don't reflow comments into the shebang line.
4221
1d42e5b6
JL
42222013-12-20 Juri Linkov <juri@jurta.org>
4223
4224 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4225 a position when `dired-directory' is non-nil. Check integer
4226 positions with `integerp'.
4227 (toggle-save-place, save-places-to-alist): Add check for
4228 `dired-directory'.
4229 (save-place-find-file-hook): Check integer positions with
4230 `integerp'.
4231 (save-place-dired-hook): Use `dired-goto-file' when
4232 `dired-filename' is found in the assoc list. Check integer
4233 positions with `integerp'.
4234 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4235
4236 * dired.el (dired-initial-position-hook): Rename back from
4237 `dired-initial-point-hook'.
4238 (dired-initial-position): Rename `dired-initial-point-hook' to
4239 `dired-initial-position-hook'.
4240 (dired-file-name-at-point): Doc fix. (Bug#15329)
4241
24da7273
JL
42422013-12-20 Juri Linkov <juri@jurta.org>
4243
4244 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4245 (read-regexp-suggestions): New function.
4246 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4247 Use `read-regexp-suggestions'. Add non-empty default to history
4248 for empty input.
4249 (occur-read-regexp-defaults-function): Remove function.
4250 (occur-read-primary-args): Use `regexp-history-last' instead of
4251 `occur-read-regexp-defaults-function'.
4252
4253 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4254 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4255 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4256 `hi-lock-read-regexp-defaults-function'. Doc fix.
4257 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4258 with `find-tag-default-as-symbol-regexp'. Doc fix.
4259 (hi-lock-read-regexp-defaults): Remove function.
4260 (hi-lock-regexp-okay): Add check for null.
4261
4262 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4263 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4264
4265 * subr.el (find-tag-default-as-symbol-regexp): New function.
4266 (find-tag-default-as-regexp): Move symbol regexp formatting to
4267 `find-tag-default-as-symbol-regexp'.
4268
137f57c8
S
42692013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4270
4271 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4272 (Bug#14179)
4273
f3a66082
SB
42742013-12-20 Stephen Berman <stephen.berman@gmx.net>
4275
4276 * calendar/todo-mode.el: New implementation of item insertion
4277 commands and key bindings.
4278 (todo-key-prompt): New face.
4279 (todo-insert-item): New command.
4280 (todo-insert-item--parameters): New defconst, replacing defvar
4281 todo-insertion-commands-args-genlist.
4282 (todo-insert-item--param-key-alist): New defconst, replacing
4283 defvar todo-insertion-commands-arg-key-list.
4284 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4285 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4286 (todo-insert-item--next-param): New functions.
4287 (todo-insert-item--args, todo-insert-item--argleft)
4288 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4289 New variables.
4290 (todo-key-bindings-t): Change binding of "i" from
4291 todo-insertion-map to todo-insert-item.
4292 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4293 (todo-insertion-command-name, todo-insertion-commands-names)
4294 (todo-define-insertion-command, todo-insertion-commands)
4295 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4296
2f99433b
SB
42972013-12-20 Stephen Berman <stephen.berman@gmx.net>
4298
4299 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4300 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4301 eval-when-compile.
4302 (todo-move-category): Allow choosing a non-existing todo file to
4303 move the category to, and create that file.
4304 (todo-default-priority): New user option.
4305 (todo-set-item-priority): Use it.
4306 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4307 (desktop-restore-file-buffer): Declare.
4308 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4309 (todo-modes-set-2): Locally set desktop-save-buffer to
4310 todo-desktop-save-buffer.
4311 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4312 (auto-mode-alist): Add autoload cookie.
4313
131e4695
BB
43142013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4315
4316 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4317 helpers.el was a poor choice of name.
3cbfb935
BB
4318 (string-remove-prefix): New function.
4319 (string-remove-suffix): New function.
131e4695 4320
c44de18d
MR
43212013-12-20 Martin Rudalics <rudalics@gmx.at>
4322
4323 Fix assignment for new window total sizes.
4324 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
4325 (window--pixel-to-total-1, window--pixel-to-total):
4326 Fix calculation of new total sizes.
c44de18d 4327
ca65efcc
VS
43282013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4329
4330 * comint.el (comint-output-filter): Fix rear-nonsticky property
4331 placement (Bug#16010).
4332
a9574eb7
CY
43332013-12-20 Chong Yidong <cyd@gnu.org>
4334
4335 * faces.el (read-color): Minor fix for completion function.
4336
b520f210
DG
43372013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4338
e0eb0550
JB
4339 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4340 New option. (Bug#16182)
b520f210
DG
4341 (ruby-smie--indent-to-stmt-p): Use it.
4342 (ruby-smie-rules): Revert the logic in the handling of `when'.
4343 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4344 (ruby-deep-arglist, ruby-deep-indent-paren)
4345 (ruby-deep-indent-paren-style): Update docstrings to note that the
4346 vars don't have any effect with SMIE.
4347
26b75b45
JB
43482013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4349
4350 * calc/calc.el (calc-enter, calc-pop): Use the variable
4351 `calc-context-sensitive-enter'.
4352
cf91cee7
LMI
43532013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4354
4355 * net/shr.el (shr-insert): Protect against infloops in degenerate
4356 tables.
4357
51d971b4
RS
43582013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4359
4360 * progmodes/octave.el (octave): Add link to manual and octave
4361 homepage.
4362 (octave-mode-menu): Link to octave-mode manual.
4363
8c2e462a
LL
43642013-12-20 Leo Liu <sdl.web@gmail.com>
4365
4366 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4367 insertion using skeleton-end-newline. (Bug#16138)
4368
501158bc
JL
43692013-12-20 Juri Linkov <juri@jurta.org>
4370
4371 * replace.el (occur-engine): Use `add-face-text-property'
4372 to add the face property to matches and titles. (Bug#14645)
4373
4374 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4375 the palette of other hi-lock colors.
4376 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4377
50ab1da6
JL
43782013-12-19 Juri Linkov <juri@jurta.org>
4379
4380 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4381 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4382 (minibuffer-history-symbol): Move variable declaration closer to
4383 its usage.
4384
4385 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4386 (Bug#14785)
4387
3d6e95e7
JL
43882013-12-19 Juri Linkov <juri@jurta.org>
4389
4390 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4391 New function.
4392 (log-edit-hook): Add it to :options. (Bug#16170)
4393
b41594fd
JL
43942013-12-19 Juri Linkov <juri@jurta.org>
4395
4396 * simple.el (eval-expression-print-format): Don't check for
4397 command names and the last command. Always display additional
4398 formats of the integer result in the echo area, and insert them
4399 to the current buffer only with a zero prefix arg.
4400 Display character when char-displayable-p is non-nil.
4401 (eval-expression): With a zero prefix arg, set `print-length' and
4402 `print-level' to nil, and insert the integer values from
4403 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4404
4405 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4406 `eval-last-sexp-arg-internal'. Doc fix.
4407 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4408 `eval-last-sexp-print-value'. Doc fix.
4409 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4410 Set `print-length' and `print-level' to nil when arg is zero.
4411 (eval-last-sexp): Doc fix.
4412 (eval-defun-2): Print the integer values from
4413 `eval-expression-print-format' at the end.
4414
4415 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4416 values from `eval-expression-print-format' at the end.
4417
4418 * ielm.el (ielm-eval-input): Print the integer
4419 values from `eval-expression-print-format' at the end.
4420
8f2be364
TZ
44212013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4422
4423 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4424 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4425
2230a6e3
SM
44262013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4429 (hl-line-highlight, global-hl-line-highlight): Use it.
4430 (hl-line-overlay): Use defvar-local.
4431
1269a680
JD
44322013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4433
4434 * term/ns-win.el: Require dnd.
4435 (global-map): Remove drag items.
4436 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
4437 (ns-set-background-at-mouse):
4438 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4439 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4440 New functions.
1269a680 4441
049638ad
GM
44422013-12-19 Glenn Morris <rgm@gnu.org>
4443
4444 * emacs-lisp/ert.el (ert-select-tests):
4445 Fix string/symbol mixup. (Bug#16121)
4446
ce41edb4
DG
44472013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4448
4449 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4450 keywords to their parent.
4451
7e1549c9
DG
44522013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4453
4454 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4455 first arg to be a string (fixed dead code), or an operator symbol.
4456 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4457 operator symbols.
4458 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4459 did nothing. Don't respond to `(:after ".")', it will be called
4460 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4461 change anything. Only return indentation for binary operators
4462 when they are hanging. De-dent opening paren when its parent is
4463 `.', otherwise it looks bad when the dot is not at bol or eol
4464 (bug#16182).
4465
3ee4cd64
JL
44662013-12-19 Juri Linkov <juri@jurta.org>
4467
4468 * replace.el (query-replace-read-args): Split a non-negative arg
4469 and a negative arg into separate elements.
4470 (query-replace, query-replace-regexp, replace-string)
4471 (replace-regexp): Add arg `backward'. Doc fix.
4472 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4473 move point to the beginning of the match.
4474 (replace-search, replace-highlight): Use new arg `backward'
4475 to set the value of `isearch-forward'.
4476 (perform-replace): Add arg `backward' and use it to perform
4477 replacement backward. (Bug#14979)
4478
4479 * isearch.el (isearch-query-replace): Use a negative prefix arg
4480 to call `perform-replace' with a non-nil arg `backward'.
4481
0cda6b7b
JL
44822013-12-18 Juri Linkov <juri@jurta.org>
4483
4484 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4485 to the default list. Move `log-edit-show-files' to the end.
4486 Add more available functions to options.
4487 (log-edit): Move default specific settings to
4488 `log-edit-insert-message-template'. Don't move point.
4489 (log-edit-insert-message-template): New function.
4490 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4491 (Bug#16170)
4492
b216f0a6
JL
44932013-12-18 Juri Linkov <juri@jurta.org>
4494
4495 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4496 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4497
1d1c55dc
LL
44982013-12-18 Leo Liu <sdl.web@gmail.com>
4499
e9dc713d
JB
4500 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4501 (Bug#16186)
1d1c55dc 4502
64e4c76e
EZ
45032013-12-18 Eli Zaretskii <eliz@gnu.org>
4504
4505 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4506 formats for displaying file sizes when the -s switch is given.
4507 Instead, compute a separate format for displaying the size in
4508 blocks, which is displayed in addition to the "regular" size.
4509 When -h is given in addition to -s, produce size in blocks in
4510 human-readable form as well. (Bug#16179)
4511
b2984e39
TH
45122013-12-18 Tassilo Horn <tsdh@gnu.org>
4513
2230a6e3
SM
4514 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4515 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 4516
50ff2e06
CY
45172013-12-18 Chong Yidong <cyd@gnu.org>
4518
0081bc84
CY
4519 * cus-edit.el (custom-magic-alist): Fix "themed" description
4520 (Bug#14348).
4521
a7ee9424
CY
4522 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4523 is non-nil, do not create a new entry in the symbol's theme-value
4524 or theme-face property; update theme-settings only (Bug#14664).
18874304 4525 (custom-available-themes): Doc fix.
a7ee9424 4526
8f942537
CY
4527 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4528 (Bug#15674).
4529
50ff2e06
CY
4530 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4531
83c60f60
KI
45322013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4533
4534 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4535 (Bug#13914).
4536
e0eb0550 45372013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
4538
4539 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4540
1f41ee56
GM
45412013-12-18 Glenn Morris <rgm@gnu.org>
4542
4543 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 4544 * cus-start.el (load-prefer-newer): New option.
1f41ee56 4545
e82134b1
LW
45462013-12-18 Le Wang <l26wang@gmail.com>
4547
2230a6e3
SM
4548 * comint.el (comint-previous-matching-input-from-input):
4549 Retain point (Bug#13404).
e82134b1 4550
33f5d4c1
CY
45512013-12-18 Chong Yidong <cyd@gnu.org>
4552
4553 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4554
ccc9f6dc
GM
45552013-12-18 Glenn Morris <rgm@gnu.org>
4556
4557 * mail/emacsbug.el (report-emacs-bug):
4558 Only mention enable-multibyte-characters if non-standard.
4559
33dd8e95
JL
45602013-12-17 Juri Linkov <juri@jurta.org>
4561
4562 * arc-mode.el (archive-extract-by-file): Check if directory exists
4563 before deletion to not show irrelevant errors if it doesn't exist.
4564
7a409b30
JL
45652013-12-17 Juri Linkov <juri@jurta.org>
4566
4567 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4568 (Bug#14751)
4569
4570 * net/eww.el (browse-web): Add alias to `eww'.
4571 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4572 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4573
4574 * net/browse-url.el (browse-url-browser-function): Move `eww'
4575 closer to similar functions.
4576
4577 * startup.el (fancy-startup-screen, fancy-about-screen):
4578 Set browse-url-browser-function to eww-browse-url locally.
4579 (Bug#14751)
4580
2d6b6005
SM
45812013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4582
4583 * window.el (window--pixel-to-total): Remove unused `mini' var.
4584 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4585 (split-window): Remove unused `new' var.
4586 (window--display-buffer): Remove unused `frame' and `delta' vars.
4587 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4588 and display-width'.
4589
cf2b7efc
MR
45902013-12-17 Martin Rudalics <rudalics@gmx.at>
4591
4592 * dired.el (dired-mark-pop-up):
4593 * register.el (register-preview): Don't bind
4594 split-height-threshold here since it's now done in
4595 display-buffer-below-selected.
4596
ed3af8a7 45972013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4598
4599 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4600 xterm-rgb-convert-to-16bit.
4601 (rxvt-register-default-colors): Standardize with
4602 xterm-register-default-colors (Bug#14078).
4603
76da3455
DK
46042013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4605
4606 * simple.el (kill-region): Pass mark first, then point, so that
4607 kill-append works right (Bug#12819).
4608 (copy-region-as-kill, kill-ring-save): Likewise.
4609
2b84d763
LL
46102013-12-17 Leo Liu <sdl.web@gmail.com>
4611
4612 * net/rcirc.el (rcirc-add-face):
4613 * eshell/em-prompt.el (eshell-emit-prompt):
4614 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4615 (Bug#16167)
4616
e2f6a0bc
CY
46172013-12-17 Chong Yidong <cyd@gnu.org>
4618
4619 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4620 Suggested by Xue Fuqiao.
4621
35b249a6
DG
46222013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4623
4624 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4625
e9145444
SM
46262013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * net/shr.el (shr-insert-document): Remove unused var
4629 `shr-preliminary-table-render'.
4630 (shr-rescale-image): Remove unused arg `force'.
4631 (shr-put-image): Update calls accordingly.
4632 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4633
5556c0ce
DG
46342013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4635
4636 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4637 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4638 :close-all, to see which indentation method to use (Bug#16116).
4639 (smie-rules-function): Document the method :close-all.
4640
11bade0a
LMI
46412013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4642
1c4b1e61
LMI
4643 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4644
11bade0a
LMI
4645 * net/eww.el (eww-display-html): If we can't find the anchor we're
4646 looking for, then go to point-min.
4647
8fb8c4f3
PE
46482013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4649
4650 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4651 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4652 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4653 Expand dir too, in case it's relative.
4654
6c8e0ae6
JL
46552013-12-16 Juri Linkov <juri@jurta.org>
4656
4657 * desktop.el (desktop-auto-save-timeout): Change default to
4658 `auto-save-timeout'. Doc fix.
4659 (desktop-save): Skip the timestamp in desktop-saved-frameset
4660 when checking for auto-save changes.
4661 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4662 `desktop-auto-save' is called repeatedly by the idle timer.
4663 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4664 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4665 (Bug#15331)
4666
2178e858
JL
46672013-12-16 Juri Linkov <juri@jurta.org>
4668
4669 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4670 (Bug#16035)
4671 (isearch-pre-command-hook): Check `this-command' for symbolp.
4672
39cb42c6
SM
46732013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4674
4675 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4676
5b9b750a
TZ
46772013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4678
4679 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4680 (cfengine3--current-function): Bring in the current-function
4681 functionality from `cfengine3--current-word'.
4682 (cfengine3-completion-function): Bring in the
4683 bounds-of-current-word functionality from
4684 `cfengine3--current-word'.
4685
d144ef06
MR
46862013-12-16 Martin Rudalics <rudalics@gmx.at>
4687
39cb42c6
SM
4688 * window.el (display-buffer-below-selected):
4689 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 4690
a8bbe298
LL
46912013-12-16 Leo Liu <sdl.web@gmail.com>
4692
4693 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4694 Remove NOMSG arg and all uses changed.
4695
2013a2f9
SM
46962013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4699 (cua--deactivate-rectangle): Don't deactivate the mark.
4700 (cua-set-rectangle-mark): Don't set mark-active since
4701 cua--activate-rectangle already does it for us.
4702 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4703 non-rectangular region.
4704
4705 * emulation/cua-base.el (cua-repeat-replace-region):
4706 Use with-current-buffer.
4707
4708 * net/gnutls.el: Use cl-lib.
4709 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4710
5ae811dd
TZ
47112013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4712
4713 * emacs-lisp/package.el (package-built-in-p): Support both
4714 built-in and the package.el converted package descriptions.
4715 (package-show-package-list): Allow keywords.
4716 (package-keyword-button-action): Use it instead of
4717 `finder-list-matches'.
4718 (package-menu-filter-interactive): Interactive filtering (by
4719 keyword) function.
4720 (package-menu--generate): Support keywords and change keymappings
4721 and headers when they are given.
4722 (package--has-keyword-p): Helper function.
4723 (package-menu--refresh): Use it.
4724 (package--mapc): Helper function.
4725 (package-all-keywords): Use it.
4726 (package-menu-mode-map): Set up menu items and keybindings to
4727 provide a filtering UI.
4728
31b4827e
TZ
47292013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4730
4731 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4732 the behavior when a certificate fails validation. Defaults to
4733 old behavior: never abort, just warn.
4734 (gnutls-negotiate): Use it.
4735
f93cc74f
MR
47362013-12-14 Martin Rudalics <rudalics@gmx.at>
4737
4738 * window.el (display-buffer-below-selected): Never split window
4739 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4740
f77d7d17
TW
47412013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4742
4743 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4744 (package-buffer-info): Use it (bug#15108).
aa2bddd7 4745
7514d3f8
SM
47462013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4747
aa2bddd7 4748 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 4749 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 4750
276bc333
DG
47512013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4752
4753 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4754 open-paren tokens when preceded by a open-paren, too.
4755 (ruby-smie-rules): Handle virtual indentation after open-paren
4756 tokens specially. If there is code between it and eol, return the
4757 column where is starts (Bug#16118).
4758
d43957f3
TZ
47592013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4760
a5c1ac0c 4761 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 4762 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
4763 (cfengine3--current-word): Fix parameters.
4764 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
4765 (cfengine3-completion-function, cfengine3--current-function):
4766 Use `assq' for symbols.
d43957f3
TZ
4767 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4768
06a4f110
GM
47692013-12-13 Glenn Morris <rgm@gnu.org>
4770
4771 * loadup.el (load-path): Warn if site-load or site-init changes it.
4772 No more need to reset it when bootstrapping.
4773
978a5fda
TZ
47742013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4775
4776 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4777 locations for cf-promises.
4778 (cfengine-mode-syntax-functions-regex): New caching variable.
4779 (cfengine3-fallback-syntax): Fallback syntax for cases where
4780 cf-promises doesn't run.
4781 (cfengine3--current-word): Reimplement using
4782 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
4783 (cfengine3-completion-function, cfengine3--current-function):
4784 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
4785 (cfengine3-clear-syntax-cache): New function.
4786 (cfengine3-make-syntax-cache): Simplify and create
4787 `cfengine-mode-syntax-functions-regex' on demand.
4788 (cfengine3-format-function-docstring): Don't call
4789 `cfengine3-make-syntax-cache' explicitly.
4790
71e6691e
MR
47912013-12-13 Martin Rudalics <rudalics@gmx.at>
4792
4793 Fix windmove-find-other-window broken after pixelwise resizing
4794 (Bug#16017).
4795 * windmove.el (windmove-other-window-loc): Revert change from
4796 2013-12-04.
4797 (windmove-find-other-window): Call window-in-direction.
4798 * window.el (window-in-direction): New arguments SIGN, WRAP and
4799 MINI to emulate original windmove-find-other-window behavior.
4800
84c73ba0
DG
48012013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4802
4803 * simple.el (blink-matching--overlay): New variable.
4804 (blink-matching-open): Instead of moving point, highlight the
4805 matching paren with an overlay
4806 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4807
4808 * faces.el (paren-showing-faces, show-paren-match)
4809 (show-paren-mismatch): Move from paren.el.
4810
b9e20952
LL
48112013-12-13 Leo Liu <sdl.web@gmail.com>
4812
4813 * indent.el (indent-region): Disable progress reporter in
4814 minibuffer. (Bug#16108)
4815
4816 * bindings.el (visual-order-cursor-movement): Fix version.
4817
ce030451
FEG
48182013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4819
4820 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4821 Also match after beginning of line.
4822 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 4823 files. Thanks to Russell Sim. (Bug#15378)
ce030451 4824
4a9c6865
JL
48252013-12-13 Juri Linkov <juri@jurta.org>
4826
4827 * simple.el <Keypad support>: Remove key bindings duplicated
4828 with bindings.el. (Bug#14397)
4829
2bc170c3
JL
48302013-12-13 Juri Linkov <juri@jurta.org>
4831
4832 * comint.el (comint-mode-map): Replace `delete-char' with
4833 `delete-forward-char'. (Bug#16109)
4834
bc9222c9
FEG
48352013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4836
aa2bddd7 4837 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 4838 Fix de-denters cornercase. (Bug#15731)
bc9222c9 4839
cb3a1380
SM
48402013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4843 (advice--make): Pay attention to `depth'.
4844 (advice--make-1): Don't autoload commands eagerly.
4845 * emacs-lisp/elp.el (elp-instrument-function):
4846 * emacs-lisp/trace.el (trace-function-internal):
4847 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4848
4849 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4850
01633a17
EZ
48512013-12-12 Eli Zaretskii <eliz@gnu.org>
4852
4853 * term/w32-win.el (w32-handle-dropped-file):
4854 * startup.el (normal-top-level):
4855 * net/browse-url.el (browse-url-file-url):
4856 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4857 decode file names using 'utf-8' rather than
4858 file-name-coding-system.
4859
09faee72
FEG
48602013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4861
4862 * progmodes/python.el (python-indent-context)
4863 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 4864 behavior for comment blocks. (Bug#15916)
09faee72 4865
f4f84024 48662013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 4867
cb3a1380
SM
4868 * progmodes/python.el (python-indent-calculate-indentation):
4869 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
4870 operators when they are just string constituents. (Bug#15812)
4871
d5ccb7be
JL
48722013-12-12 Juri Linkov <juri@jurta.org>
4873
4874 * uniquify.el (uniquify-buffer-name-style): Change default to
4875 `post-forward-angle-brackets'.
4876
4877 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4878 `uniquify'. Change default to `post-forward-angle-brackets'.
4879
7b3f5679
GM
48802013-12-11 Glenn Morris <rgm@gnu.org>
4881
4882 * emacs-lisp/package.el (finder-list-matches):
4883 Autoload rather than falsely declaring.
4884
f4fe8fdd
TZ
48852013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4886
4887 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4888 (eww-mode-map): Use them.
4889
3c29190f
MR
48902013-12-11 Martin Rudalics <rudalics@gmx.at>
4891
4892 * window.el (display-buffer-in-side-window): Fix doc-string
4893 (Bug#16115).
4894
0cd616a2
JB
48952013-12-11 Juanma Barranquero <lekktu@gmail.com>
4896
4897 * vc/vc-git.el: Silence byte-compiler warnings.
4898 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4899 (log-edit-set-header): Declare.
4900
3ef8e0d1
EZ
49012013-12-11 Eli Zaretskii <eliz@gnu.org>
4902
4903 * Makefile.in (custom-deps, finder-data): Run output file names
4904 through unmsys--file-name. (Bug#16099)
4905
afdadaf7
SM
49062013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4907
7ae3ae39 4908 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 4909 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 4910
5b4f37ab
SM
4911 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4912 instead of deleting the selection "by hand" (bug#16098).
4913 Rely on insert-for-yank to yank rectangles.
4914 (cua-highlight-region-shift-only): Mark obsolete.
4915 (cua-mode): Don't enable/disable transient-mark-mode,
4916 shift-select-mode (cua-mode works both with and without them), and
4917 pc-selection-mode (obsolete).
4918 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4919 (cua--deactivate-rectangle): Deactivate it.
4920
4b72c12b
SM
4921 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4922 (delete-selection-helper): Make sure yank starts at the top of the
4923 deleted region.
4924 (minibuffer-keyboard-quit): Use region-active-p.
4925
e82af72d
SM
4926 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4927
afdadaf7
SM
4928 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4929 to `delete' (bug#16109).
4930
ed4bc201
RS
49312013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4932
4933 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4934 info manual and show keybindings and set `:group' keyword.
4935
bb8097b9
JL
49362013-12-11 Juri Linkov <juri@jurta.org>
4937
4938 * delsel.el (delete-active-region): Let-bind `this-command'
4939 to prevent `kill-region' from changing its original value.
4940 (delete-selection-helper): Handle `overwrite-mode' for the type
4941 `kill' exactly the same way as for the type `t'.
4942 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4943 Support more commands. (Bug#13312)
4944
c1916ff5
JL
49452013-12-11 Juri Linkov <juri@jurta.org>
4946
4947 * bindings.el: Map kp keys to non-kp keys systematically
4948 with basic modifiers control, meta and shift. (Bug#14397)
4949
7514d3f8 49502013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
4951
4952 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4953 "Close browser" menu items. Fix wrong function of "List
4954 bookmarks".
4955
4cc51eaf
JL
49562013-12-11 Juri Linkov <juri@jurta.org>
4957
4958 * misearch.el (multi-isearch-buffers): Set the value of
4959 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4960 arg of isearch-forward to t.
4961 (multi-isearch-buffers-regexp): Set the value of
4962 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4963 arg of isearch-forward-regexp to t.
4964 (multi-isearch-files): Set the value of
4965 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4966 arg of isearch-forward to t.
4967 (multi-isearch-files-regexp): Set the value of
c295fc18 4968 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
4969 arg of isearch-forward-regexp to t. (Bug#16035)
4970
4971 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4972 arg of isearch-forward to t.
4973 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4974 arg of isearch-forward-regexp to t.
4975 (dired-isearch-filter-filenames): Remove unnecessary check for
4976 `dired-isearch-filenames'.
4977
4978 * comint.el (comint-history-isearch-backward):
4979 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4980 (comint-history-isearch-backward-regexp):
4981 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4982
ceac12b7
EZ
49832013-12-10 Eli Zaretskii <eliz@gnu.org>
4984
4985 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4986 unmsys--file-name. (Bug#16099)
4987
5a565782
TZ
49882013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4989
cb3a1380
SM
4990 * emacs-lisp/package.el (package-keyword-button-action):
4991 Remove finder.el require dependency.
5a565782 4992
a81fc7ba
TZ
49932013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4994
4995 * emacs-lisp/package.el: Require finder.el.
4996 (describe-package-1): Add keyword buttons.
4997 (package-make-button): New convenience function.
4998 (package-keyword-button-action): Keyword button action using
e0eb0550 4999 `finder-list-matches'.
a81fc7ba 5000
6aaca951
EZ
50012013-12-09 Eli Zaretskii <eliz@gnu.org>
5002
5003 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5004 last commit.
5005
a1099a91
MA
50062013-12-09 Michael Albinus <michael.albinus@gmx.de>
5007
5008 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5009 symlinked files.
5010
8212d9c0
DG
50112013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5012
5013 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5014 after the end of a percent literal.
5015
8f48d131
CD
50162013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5017
cb3a1380
SM
5018 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5019 Handle caret-delimited strings (Bug#16079).
8f48d131 5020
ff8c9764
DG
50212013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5022
cb3a1380
SM
5023 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5024 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
5025 `ruby-parse-partial' (Bug#16078).
5026
d64643b4
LL
50272013-12-09 Leo Liu <sdl.web@gmail.com>
5028
5029 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5030
47e59c66
DG
50312013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5032
5033 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5034 (js-switch-indent-offset): New option.
5035 (js--proper-indentation): Use it. And handle the case when
5036 "default" is actually a key in an object literal.
5037 (js--same-line): New function.
5038 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
5039 (js--indent-in-array-comp, js--array-comp-indentation):
5040 New functions.
47e59c66
DG
5041 (js--proper-indentation): Use them, to handle array comprehension
5042 continuations.
5043
974ebc9c
LL
50442013-12-08 Leo Liu <sdl.web@gmail.com>
5045
5046 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5047 (flymake-make-overlay): Remove arg MOUSE-FACE.
5048 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5049
27262e39
SM
50502013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5053 New function.
5054 (redisplay-highlight-region-function): Use it.
5055
5056 * emulation/cua-base.el (cua--explicit-region-start)
5057 (cua--last-region-shifted): Remove.
5058 (cua--deactivate): Use deactivate-mark.
5059 (cua--pre-command-handler-1): Don't handle shift-selection.
5060 (cua--post-command-handler-1): Don't change transient-mark-mode.
5061 (cua--select-keymaps): Use region-active-p rather than
5062 cua--explicit-region-start or cua--last-region-shifted.
5063 (cua-mode): Enable shift-select-mode.
5064
6407822c
LL
50652013-12-08 Leo Liu <sdl.web@gmail.com>
5066
27262e39
SM
5067 * progmodes/flymake.el (flymake-popup-current-error-menu):
5068 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
5069 (flymake-posn-at-point-as-event, flymake-popup-menu)
5070 (flymake-make-emacs-menu): Remove. (Bug#16077)
5071
00a2b823
SM
50722013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5073
02033d49
SM
5074 * rect.el (rectangle-mark-mode): Activate mark even if
5075 transient-mark-mode is off (bug#16066).
5076 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5077 is > mark and at bolp.
5078
6f8dfccf
SM
5079 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5080 (region-extract-function): Use it.
5081 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5082 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5083 Delete functions.
5084 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5085 kill-ring-save, kill-region, delete-char, delete-forward-char.
5086 Ignore self-insert-iso.
5087
5088 * emulation/cua-gmrk.el (cua--init-global-mark):
5089 Ignore `self-insert-iso'.
5090
5091 * emulation/cua-base.el (cua--prefix-copy-handler)
5092 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5093 checking cua--rectangle.
5094 (cua-delete-region): Use region-extract-function.
5095 (cua-replace-region): Delete function.
5096 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5097 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5098 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5099 (cua--init-keymaps): Don't remap delete-selection commands.
5100 (cua-mode): Use delete-selection-mode instead of rolling our own
5101 (bug#16085).
5102
5103 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5104 Obey region-extract-function.
5105
00a2b823
SM
5106 Make registers and delete-selection-mode work on rectangles.
5107 * register.el (describe-register-1): Don't modify the register's value.
5108 (copy-to-register): Obey region-extract-function.
5109 * delsel.el (delete-active-region): Obey region-extract-function.
5110
a92fa5f1
LL
51112013-12-08 Leo Liu <sdl.web@gmail.com>
5112
5113 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5114 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5115 (flymake-compilation-prevents-syntax-check)
5116 (flymake-start-syntax-check-on-newline)
5117 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5118 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5119 (flymake-xml-program, flymake-master-file-dirs)
5120 (flymake-master-file-count-limit)
5121 (flymake-allowed-file-name-masks): Relocate.
5122 (flymake-makehash, flymake-float-time)
5123 (flymake-replace-regexp-in-string, flymake-split-string)
5124 (flymake-get-temp-dir): Remove.
5125 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5126 (flymake-current-row, flymake-selected-frame)
5127 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5128 related functions. (Bug#16077)
5129
73c8ceea
BB
51302013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5131
5132 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5133
faec28d9
TH
51342013-12-07 Tassilo Horn <tsdh@gnu.org>
5135
5136 * help-fns.el (describe-function-1): Use new advice-* functions
5137 rather than old ad-* functions. Fix function type description and
5138 source links for advised functions and subrs.
5139
e330b646
LMI
51402013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5141
00a2b823 5142 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 5143
4803595d
MA
51442013-12-06 Michael Albinus <michael.albinus@gmx.de>
5145
5146 * progmodes/compile.el (compilation-start):
5147 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5148
5149 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5150 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5151
fa834a93
DG
51522013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5153
00a2b823
SM
5154 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5155 Touch up the last change.
fa834a93 5156
b2856a6f
LL
51572013-12-06 Leo Liu <sdl.web@gmail.com>
5158
5159 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5160 (inferior-octave-startup): Always use "octave> " for prompt.
5161 (octave-goto-function-definition)
5162 (octave-sync-function-file-names)
5163 (octave-find-definition-default-filename): Remove redundant backquotes.
5164
af67e79a
DG
51652013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5166
5167 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5168 syntax for `?'.
5169 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5170 where appropriate already.
5171 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5172 end of method names (Bug#15874).
5173
bf093209
JL
51742013-12-06 Juri Linkov <juri@jurta.org>
5175
5176 * isearch.el (isearch--saved-overriding-local-map):
5177 New internal variable.
5178 (isearch-mode): Set it to the initial value of
5179 `overriding-terminal-local-map'.
5180 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5181 with `isearch--saved-overriding-local-map'. (Bug#16035)
5182
16588fad
DG
51832013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5184
00a2b823
SM
5185 * progmodes/octave.el (inferior-octave-completion-table):
5186 Turn back into function, use `completion-table-with-cache'
16588fad
DG
5187 (Bug#11906). Update all references.
5188
5189 * minibuffer.el (completion-table-with-cache): New function.
5190
bf4906d7
CD
51912013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5192
5193 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5194
ff69c18f
TZ
51952013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5196
5197 * net/eww.el (eww-current-source): New variable to store page
5198 source.
5199 (eww-display-html, eww-mode, eww-save-history)
5200 (eww-restore-history): Use it.
5201 (eww-view-source): New command to view page source.
5202 Opportunistically uses `html-mode' to highlight the buffer.
5203 (eww-mode-map): Install it.
5204
b85eff45
MA
52052013-12-05 Michael Albinus <michael.albinus@gmx.de>
5206
5207 * net/dbus.el (dbus-unregister-service)
5208 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5209 Fix docstring.
5210 (dbus-unregister-service): Skip :serial entries in
5211 `dbus-registered-objects-table'.
5212 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5213
39eb0899
TZ
52142013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5215
5216 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5217 around keywords with extra `split-string' argument.
5218
456760a5
MR
52192013-12-04 Martin Rudalics <rudalics@gmx.at>
5220
5221 * windmove.el (windmove-other-window-loc): Handle navigation
5222 between windows (excluding the minibuffer window - Bug#16017).
5223
81961e4c
MA
52242013-12-04 Michael Albinus <michael.albinus@gmx.de>
5225
5226 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5227 in D-Bus type syntax.
5228 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5229 preserve unibyte strings. (Bug#16048)
5230
8497f938
SM
52312013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5234 Call force-mode-line-update is the proper buffer (bug#16042).
5235
dda61916
DG
52362013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5237
5238 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5239 `log-edit-remember-comment', make argument optional. Adjust all
5240 callers.
5241 (log-edit-mode): Add `log-edit-remember-comment' to
5242 `kill-buffer-hook' locally.
5243 (log-edit-kill-buffer): Don't remember comment explicitly since
5244 the buffer is killed anyway.
5245
c085e5b9
JL
52462013-12-04 Juri Linkov <juri@jurta.org>
5247
5248 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5249 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5250
e0eb0550 52512013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
5252
5253 * notifications.el (notifications-close-notification): Call the
81961e4c 5254 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 5255
39fa32d6
KY
52562013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5257
5258 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5259
9139632a
JL
52602013-12-03 Juri Linkov <juri@jurta.org>
5261
5262 * progmodes/compile.el (compilation-start): Rename window alist
5263 entry `no-display-ok' to `allow-no-window'.
5264
5265 * simple.el (shell-command): Add window alist entry
5266 `allow-no-window' to `display-buffer'.
5267 (async-shell-command): Doc fix.
5268
5269 * window.el (display-buffer-no-window): New action function.
5270 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5271
0f457a37
DG
52722013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5273
5274 * vc/log-edit.el (log-edit-set-header): Extract from
5275 `log-edit-toggle-header'.
5276 (log-edit-extract-headers): Separate the summary, when extracted
5277 from header, from the rest of the message with an empty line.
5278
5279 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5280 line, if present, to the Summary header.
5281
0962f376
SM
52822013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5285 in current-buffer (bug#16029).
5286
f345395c
HE
52872013-12-02 Helmut Eller <eller.helmut@gmail.com>
5288
5289 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5290 (debugger-mode-map): Bind it.
5291 (debugger--backtrace-base): New function.
5292 (debugger-eval-expression): Use it.
5293 (debugger-frame-number): Skip local vars when present.
5294 (debugger--locals-visible-p, debugger--insert-locals)
5295 (debugger--show-locals, debugger--hide-locals): New functions.
5296
a8a15d9d
MA
52972013-12-02 Michael Albinus <michael.albinus@gmx.de>
5298
5299 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5300 "LC_ALL".
5301 (tramp-get-remote-locale): New defun.
5302 (tramp-open-connection-setup-interactive-shell): Use it.
5303
0518b057
LL
53042013-12-02 Leo Liu <sdl.web@gmail.com>
5305
5306 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5307
5308 * progmodes/sh-script.el (sh-shell-process):
5309 * progmodes/octave.el (inferior-octave-process-live-p):
5310 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5311 (gdb-inferior-io-sentinel):
5312 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5313
3adc9c6d
DG
53142013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5315
5316 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5317 `save-selected-window' to `log-edit-hide-buf'. This makes
5318 `log-edit-show-files' idempotent.
5319 (log-edit-show-files): Mark the new window as dedicated.
5320
47e8b74e
DG
53212013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5322
5323 * vc/log-edit.el (log-edit-mode-map): Add binding for
5324 `log-edit-kill-biffer'.
5325 (log-edit-hide-buf): Add a FIXME comment.
5326 (log-edit-add-new-comment): New function, extracted from
5327 `log-edit-done'.
5328 (log-edit-done, log-edit-add-to-changelog): Use it.
5329 (log-edit-kill-buffer): New command.
5330
1f6e1bb0
LMI
53312013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5332
5333 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5334 instead of killing the buffer.
5335
fb651d15
SM
53362013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5339
8feacce0
RS
53402013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5341
fb651d15 5342 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 5343 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
5344 (eww-form-checkbox, eww-toggle-checkbox):
5345 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5346
e0eb0550 5347 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 5348 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 5349 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
5350 no :src tag was specified.
5351
fb651d15 5352 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
5353 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5354 Use \\` to match beginning of string instead of ^.
5355 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5356 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5357
177948a5
RS
5358 * net/shr.el (shr-tag-video): Display content for video if no
5359 poster is available.
eb2dd24d 5360 (shr-tag-audio): Add support for <audio> tag.
177948a5 5361
e0eb0550 5362 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5363 (eww-process-text-input): Treat input types in
5364 `eww-text-input-types' as text.
5365
8feacce0
RS
5366 * net/shr.el (shr-tag-table): Fix comment typo.
5367
513562a1
LMI
53682013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5369
5370 * net/eww.el (eww-follow-link): New command to avoid reloading
5371 pages when we follow #target links (bug#15243).
de8a5633 5372 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5373
9dd99753
KN
53742013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5375
5376 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5377 forms.
5378
3e9876de
LMI
53792013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5380
5381 * net/eww.el (eww-restore-history): Update the window title after
5382 moving in the history.
ab6dea82 5383 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5384
52789f7f
DG
53852013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5386
5387 * vc/log-edit.el (log-edit-mode-map): Add binding for
5388 `log-edit-beginning-of-line'.
5389 (log-edit-setup-add-author): New user option.
5390 (log-edit-beginning-of-line): New command.
5391 (log-edit): Move major mode call above the contents setup so that
5392 the local variable values are already applied.
5393 (log-edit): Only insert "Author: " when
5394 `log-edit-setup-add-author' is non-nil.
5395 (log-edit): When SETUP is non-nil, position point after ": "
5396 instead of point-min.
5397
2e6710c3
GM
53982013-12-01 Glenn Morris <rgm@gnu.org>
5399
5400 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5401
fadec31f
EZ
54022013-11-30 Eli Zaretskii <eliz@gnu.org>
5403
5404 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 5405 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
5406 visible. (Bug#16014)
5407
10634b40 54082013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
5409
5410 Support resizing frames and windows pixelwise.
5411 * cus-start.el (frame-resize-pixelwise)
5412 (window-resize-pixelwise): New entries.
5413 * emacs-lisp/debug.el (debug): Use window-total-height instead
5414 of window-total-size.
5415 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
5416 * help.el (describe-bindings-internal): Use help-buffer as
5417 argument for with-help-window.
880e6158
MR
5418 (temp-buffer-max-width): New option.
5419 (resize-temp-buffer-window, help-window-setup)
5420 (with-help-window): Rewrite.
5421 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5422 dragging dividers.
5423 * window.el (frame-char-size, window-min-pixel-height)
5424 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5425 (window-min-pixel-width, window-safe-min-pixel-size)
5426 (window-combination-p, window-safe-min-size)
5427 (window-resizable-p, window--size-to-pixel)
5428 (window--pixel-to-size, window--resize-apply-p): New functions.
5429 (window-safe-min-height): Fix doc-string.
5430 (window-size, window-min-size, window--min-size-1)
5431 (window-sizable, window-sizable-p, window--min-delta-1)
5432 (window-min-delta, window--max-delta-1, window-max-delta)
5433 (window--resizable, window--resizable-p, window-resizable)
5434 (window-full-height-p, window-full-width-p, window-at-side-p)
5435 (window--in-direction-2, window-in-direction)
5436 (window--resize-reset-1, window--resize-mini-window)
5437 (window-resize, window-resize-no-error)
5438 (window--resize-child-windows-normal)
5439 (window--resize-child-windows, window--resize-siblings)
5440 (window--resize-this-window, window--resize-root-window)
5441 (window--resize-root-window-vertically)
5442 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5443 (maximize-window, minimize-window, delete-window)
5444 (quit-restore-window, window-split-min-size, split-window)
5445 (balance-windows-2, balance-windows)
5446 (balance-windows-area-adjust, balance-windows-area)
5447 (window--state-get-1, window-state-get, window--state-put-1)
5448 (window--state-put-2, window-state-put)
fb651d15
SM
5449 (display-buffer-record-window, window--display-buffer):
5450 Make functions handle pixelwise sizing of windows.
880e6158 5451 (display-buffer--action-function-custom-type)
fb651d15
SM
5452 (display-buffer-fallback-action):
5453 Add display-buffer-in-previous-window.
880e6158
MR
5454 (display-buffer-use-some-window): Resize window to height it had
5455 before.
5456 (fit-window-to-buffer-horizontally): New option.
5457 (fit-frame-to-buffer): Describe new values.
5458 (fit-frame-to-buffer-bottom-margin): Replace with
5459 fit-frame-to-buffer-margins.
5460 (window--sanitize-margin): New function.
5461 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5462 using window-text-pixel-size.
5463
f9b697dd
GM
54642013-11-30 Glenn Morris <rgm@gnu.org>
5465
3e2fb4db
GM
5466 * emacs-lisp/bytecomp.el (byte-compile-form):
5467 Make the `interactive-only' warning like the `obsolete' one.
5468 * comint.el (comint-run):
5469 * files.el (insert-file-literally, insert-file):
5470 * replace.el (replace-string, replace-regexp):
5471 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5472 (goto-line, insert-buffer, next-line, previous-line):
5473 Tweak `interactive-only' spec.
5474
f9b697dd
GM
5475 Stop keeping (most) generated cedet grammar files in the repository.
5476 * Makefile.in (semantic): New.
5477 (compile-main): Depend on semantic.
5478
da048127
SM
54792013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5480
7784b779
SM
5481 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5482 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5483
4e36a6a6
SM
5484 * uniquify.el (uniquify-buffer-name-style): Change default.
5485
5486 * loadup.el: Preload "uniquify".
5487
e0ba1308
SM
5488 * time.el (display-time-update): Update all mode lines (bug#15999).
5489
da048127
SM
5490 * electric.el (electric-indent-mode): Enable by default.
5491 * loadup.el: Preload "electric".
5492
015b3b3e
BB
54932013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5494
5495 * emacs-lisp/helpers.el (string-empty-p): New function.
5496 (string-blank-p): New function.
5497
7efb806d
AP
54982013-11-29 Andreas Politz <politza@hochschule-trier.de>
5499
5500 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5501 (Bug#14029).
5502
c8f0efc2
AP
55032013-11-29 Andreas Politz <politza@fh-trier.de>
5504 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5505 allow non-lambda lists as functions.
5506 (imenu--in-alist): Don't recurse into non-subalists.
5507 (imenu): Don't pass function itself as an argument (Bug#14029).
5508
bd15d9d1
SM
55092013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 * progmodes/python.el (python-mode-map): Remove binding for ":".
5512 (python-indent-electric-colon): Remove command.
5513 (python-indent-post-self-insert-function): Integrate the previous code
5514 of python-indent-electric-colon. Make it conditional on
5515 electric-indent-mode.
5516 (python-mode): Add ?: to electric-indent-chars.
5517 Move python-indent-post-self-insert-function to the end of
5518 post-self-insert-hook.
5519
1b10adb6
SM
55202013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5521
655ab9a3
SM
5522 * doc-view.el (doc-view-goto-page): Update mode-line.
5523
1b10adb6
SM
5524 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5525
7e3bf78c
GM
55262013-11-27 Glenn Morris <rgm@gnu.org>
5527
5528 * international/charprop.el, international/uni-bidi.el:
5529 * international/uni-category.el, international/uni-combining.el:
5530 * international/uni-comment.el, international/uni-decimal.el:
5531 * international/uni-decomposition.el, international/uni-digit.el:
5532 * international/uni-lowercase.el, international/uni-mirrored.el:
5533 * international/uni-name.el, international/uni-numeric.el:
5534 * international/uni-old-name.el, international/uni-titlecase.el:
5535 * international/uni-uppercase.el:
5536 Remove generated files from VCS repository.
5537
fb6a5d68
EZ
55382013-11-27 Eli Zaretskii <eliz@gnu.org>
5539
5540 * filenotify.el (file-notify-add-watch): Don't special-case
5541 w32notify when computing the directory to watch.
5542
cb6c95a3
GM
55432013-11-27 Glenn Morris <rgm@gnu.org>
5544
20372d0c
GM
5545 Make bootstrap without generated uni-*.el files possible again.
5546 * loadup.el: Update command-line-args checking for unidata-gen.
5547 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5548 * composite.el, international/characters.el:
5549 Handle unicode tables being undefined.
5550
52d6635f 5551 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
5552 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5553 (compile-main): Depend on leim rule.
5554 (leim): New rule.
5555 * loadup.el: Move leim-list.el to leim/ subdirectory.
5556 * startup.el (normal-top-level): No more leim directory.
5557 * international/ja-dic-cnv.el (skkdic-convert):
5558 Disable version-control and autoloads in output files.
5559 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5560 Disable version-control and autoloads in output files.
5561 * leim/quail: Move here from ../leim.
5562 * leim/quail/hangul.el (hangul-input-method-activate):
5563 Add autoload cookie.
5564 (generated-autoload-load-name): Set file-local value.
5565 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5566 (generated-autoload-load-name): Set file-local value.
5567
7514d3f8 55682013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 5569
e0eb0550 5570 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 5571 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 5572 (eww-quit): Ask confirmation before quitting eww.
e47112ee 5573
0e2c793f
EZ
55742013-11-26 Eli Zaretskii <eliz@gnu.org>
5575
5576 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5577 reading output from Diff on MS-Windows and MS-DOS.
5578
447bdcb8
BB
55792013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5580
5581 * emacs-lisp/helpers.el (string-reverse): New function.
5582
5fbf6856
MA
55832013-11-26 Michael Albinus <michael.albinus@gmx.de>
5584
5585 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5586 names on MS Windows, like "/[::1]:".
5587
5588 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5589 SWITCHES.
5590
624780f0
GM
55912013-11-26 Glenn Morris <rgm@gnu.org>
5592
0bf3f0fa
GM
5593 * progmodes/python.el (python-indent-guess-indent-offset):
5594 Avoid corner-case error. (Bug#15975)
5595
624780f0
GM
5596 Preload leim-list.el. (Bug#4789)
5597 * loadup.el: Load leim-list.el when found.
5598 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5599
4301875e 56002013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5601
5602 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5603
4301875e
BB
5604 * emacs-lisp/helpers.el (string-join): New function.
5605
1633a815 56062013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5607
5608 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5609 Mark as obsolete and replace it with a symbol property.
5610 (byte-compile-form): Use new 'interactive-only property.
5611 * comint.el, files.el, replace.el, simple.el:
5612 Apply new 'interactive-only properly.
5613
00139435
MR
56142013-11-25 Martin Rudalics <rudalics@gmx.at>
5615
5616 * window.el (display-buffer-at-bottom): Make sure that
5617 split-window-sensibly creates the new window on bottom
5618 (Bug#15961).
5619
5f5b128d
DK
56202013-11-23 David Kastrup <dak@gnu.org>
5621
5622 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5623 on the conflict markers when available.
5624 (smerge--get-marker): New function.
5625 (smerge-end-re, smerge-base-re): Add subgroup.
5626
623891e5
SM
56272013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * frame.el (handle-focus-in, handle-focus-out): Add missing
5630 interactive spec.
5631
05ca27d8
MA
56322013-11-25 Michael Albinus <michael.albinus@gmx.de>
5633
5634 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5635 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5636
511fa0d3
SM
56372013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5638
e82ad66c
SM
5639 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5640 (gomoku--last-pos): New var.
5641 (gomoku--intangible-chars): New const.
5642 (gomoku--intangible): New function.
5643 (gomoku-mode): Use it. Derive from special-mode.
5644 (gomoku-move-up): Adjust line count.
5645 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5646 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5647 Simplify accordingly.
5648
511fa0d3
SM
5649 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5650 Remove blink-cursor code.
5651 (blink-cursor-timer-function, blink-cursor-suspend):
5652 Don't special-case GUIs.
5653 (blink-cursor-mode): Use focus-in/out-hook.
5654
6f20dd03
DG
56552013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5656
5657 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5658 work when annotation is invisible (Bug#13886).
5659
431dec31 56602013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
5661
5662 * json.el (json-alist-p): Only return non-nil if the alist has
5663 simple keys (Bug#13518).
5664
431dec31 56652013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
5666
5667 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5668 when control-statement is the first statement in a buffer (Bug#15956).
5669
ee4f0261
DG
56702013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5671
5672 * imenu.el (imenu-generic-skip-comments-and-strings):
5673 New option (Bug#15560).
5674 (imenu--generic-function): Use it.
5675
c484f866
JS
56762013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5677
e9dc713d
JB
5678 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5679 (Bug#13898)
c484f866 5680
41ce6f70
BB
56812013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5682
b55aea38
BB
5683 * emacs-lisp/helpers.el: Add some string helpers.
5684 (string-trim-left): Removes leading whitespace.
5685 (string-trim-right): Removes trailing whitespace.
5686 (string-trim): Removes leading and trailing whitespace.
5687
41ce6f70
BB
5688 * subr.el (string-suffix-p): New function.
5689
3cfb6af3
GM
56902013-11-23 Glenn Morris <rgm@gnu.org>
5691
5692 * progmodes/python.el (python-shell-send-file):
5693 Add option to delete file when done. (Bug#15647)
5694 (python-shell-send-string, python-shell-send-region): Use it.
5695
c27924b7
IS
56962013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5697
e1b01c7f
IS
5698 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5699 to set buffer-read-only to t, never to nil. (Bug#15938)
5700
c27924b7
IS
5701 * textmodes/tex-mode.el (latex-noindent-environments):
5702 Add safe-local-variable property. (Bug#15936)
5703
17e0445b
GM
57042013-11-23 Glenn Morris <rgm@gnu.org>
5705
92f78ea3
GM
5706 * textmodes/enriched.el (enriched-mode): Doc fix.
5707 * emacs-lisp/authors.el (authors-renamed-files-alist):
5708 Add enriched.doc -> enriched.txt.
5709
17e0445b
GM
5710 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5711
965bb23a
LL
57122013-11-22 Leo Liu <sdl.web@gmail.com>
5713
5714 * progmodes/octave.el (inferior-octave-startup): Spit out error
5715 message.
5716
d19ffd64
BB
57172013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5718
5719 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5720 Improve docstring.
15ba2182
BB
5721 Add :version.
5722 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 5723
7a7567d2
LL
57242013-11-22 Leo Liu <sdl.web@gmail.com>
5725
5726 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5727 (Bug#15076)
8c09f64b
LL
5728 (octave-help-mode): Adapt to change to help-mode-finish to use
5729 derived-mode-p on 2013-09-17.
5730 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 5731 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 5732
724bc265
LL
57332013-11-22 Leo Liu <sdl.web@gmail.com>
5734
5735 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5736 (inferior-octave-startup, inferior-octave-check-process)
5737 (inferior-octave-track-window-width-change)
5738 (octave-completion-at-point, octave-eldoc-function): Use it.
5739 (octave-kill-process): Provide confirmation. (Bug#10564)
5740
38637cca
LL
57412013-11-21 Leo Liu <sdl.web@gmail.com>
5742
511fa0d3
SM
5743 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5744 Fix obsolete variable comment-use-global-state.
38637cca 5745
06e752b4
RS
57462013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5747
511fa0d3
SM
5748 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5749 Add `octave-source-file'.
06e752b4
RS
5750 (octave-source-file): New function. (Bug#15935)
5751
7514d3f8 57522013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
5753
5754 * net/eww.el (eww-local-regex): New variable.
5755 (eww): Use it to detect localhost and similar.
5756
b6ffa04a
LL
57572013-11-21 Leo Liu <sdl.web@gmail.com>
5758
5759 Add completion for command `ag'.
2021a200
LL
5760 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5761 (pcomplete/ag): New function.
e9dc713d 5762 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 5763
d1a6bccc
SM
57642013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5767 (bug#14646).
5768 (make-obsolete): Remove interactive spec.
5769
2df10228
GM
57702013-11-21 Glenn Morris <rgm@gnu.org>
5771
5772 * startup.el (command-line-1): Use path-separator with -L.
5773
86fd16b6
TZ
57742013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5775
5776 * emacs-lisp/package.el (describe-package-1): Add package archive
5777 to shown fields.
5778
0449d6cd 57792013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
5780
5781 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5782 Change default to "# encoding: %s" to differentiate it from the
5783 default Ruby encoding comment template.
5784
dc7e8c17 57852013-11-20 era eriksson <era+emacsbugs@iki.fi>
5786
5787 * ses.el (ses-mode): Doc fix. (Bug#14748)
5788
f0cfa5fe
LL
57892013-11-20 Leo Liu <sdl.web@gmail.com>
5790
5791 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5792
826dc7b6
DN
57932013-11-19 Dan Nicolaescu <dann@gnu.org>
5794
5795 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5796 when rebase or bisect are in progress.
5797
a6e3a5d5
XF
57982013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5799
5800 * filenotify.el (file-notify-add-watch): Doc fix.
5801
f130cb76
LL
58022013-11-19 Leo Liu <sdl.web@gmail.com>
5803
e0855d7d
LL
5804 * obsolete/rcompile.el: Mark obsolete.
5805
f130cb76 5806 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
5807 (compilation-goto-locus, compilation-find-file):
5808 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
5809 (Bug#13594)
5810
5811 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
5812 new parameter no-display-ok. Return either a window or nil
5813 but never a non-window value.
f130cb76 5814
1f35d401
SM
58152013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5816
25158c76
SM
5817 * electric.el (electric-indent-mode-map): Remove.
5818 (electric-indent-mode): Change the global-map instead (bug#15915).
5819
5820 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5821 Use add-function.
1f35d401 5822
9bc67baa
SM
58232013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5824
986545b5
SM
5825 * emacs-lisp/nadvice.el (remove-function): Align with
5826 add-function's behavior.
5827
9bc67baa
SM
5828 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5829 (gdb--string-regexp): New constant.
5830 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5831 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5832 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5833 submatch 1.
5834 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5835 Adjust use accordingly.
5836 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5837
56cd894e
AS
58382013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5839
5840 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5841 interpolation curlies (Bug#15914).
5842
014690de
JB
58432013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5844
5845 * calc/calc.el (calc-context-sensitive-enter): New variable.
5846 (calc-enter): Use `calc-context-sensitive-enter'.
5847
7e26a6c3
TZ
58482013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5849
5850 * progmodes/cfengine.el: Version bump.
5851 (cfengine-cf-promises): New defcustom to locate cf-promises.
5852 (cfengine3-vartypes): Add new "data" type.
5853 (cfengine3--current-word): New function to get current name-like
5854 word or its bounds.
5855 (cfengine3--current-function): New function to look up a CFEngine
5856 function's definition.
5857 (cfengine3-format-function-docstring): New function.
5858 (cfengine3-make-syntax-cache): New function.
5859 (cfengine3-documentation-function): New function: ElDoc glue.
5860 (cfengine3-completion-function): New function: completion glue.
5861 (cfengine3-mode): Set `compile-command',
5862 `eldoc-documentation-function', and add to
5863 `completion-at-point-functions'.
5864
355204dd
MA
58652013-11-16 Michael Albinus <michael.albinus@gmx.de>
5866
5867 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5868 `tramp-current-connection'.
5869
43cebc23
DG
58702013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5871
5872 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5873 nil/self/true/false with "end of symbol".
5874
a3fed6ff
BB
58752013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5876
5877 * subr.el (version-regexp-alist): Fix a typo.
5878
e675b3e4
MA
58792013-11-15 Michael Albinus <michael.albinus@gmx.de>
5880
5881 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5882 "en_US.utf8" and "LC_CTYPE" to "".
5883 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5884 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5885
a1f03e89
LL
58862013-11-15 Leo Liu <sdl.web@gmail.com>
5887
5888 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5889
5d9d9451
SM
58902013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5891
58362662
CS
5892 * progmodes/gud.el (ctl-x-map):
5893 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
5894 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5895
6c1bf086
BB
58962013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5897
0d5363c4
BB
5898 * subr.el (version-regexp-alist):
5899 Recognize hg, svn and darcs versions as snapshot versions.
5900
4e9fc48c
BB
5901 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5902 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5903 (ruby--encoding-comment-required-p): Extract from
5904 `ruby-mode-set-encoding'.
5905 (ruby-mode-set-encoding): Add the ability to always insert an
5906 utf-8 encoding comment. Fix and simplify coding comment update
5907 logic.
6c1bf086 5908
2f7e72f8
MA
59092013-11-14 Michael Albinus <michael.albinus@gmx.de>
5910
5911 * net/tramp-gvfs.el (top): Run init code only when
5912 `tramp-gvfs-enabled' is not nil.
5913 (tramp-gvfs-enabled): Check also :system bus.
5914
0f137a73
SM
59152013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 Sync with upstream verilog-mode revision 78e66ba.
5918 * progmodes/verilog-mode.el (verilog-end-of-defun)
5919 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5920 (verilog-get-end-of-defun): Remove unused argument.
5921 (verilog-comment-depth): Remove unused local `e'.
5922 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5923 Don't pass arg to verilog-get-end-of-defun.
5924
1c276bdd
GM
59252013-11-14 Glenn Morris <rgm@gnu.org>
5926
5927 * obsolete/assoc.el (aget): Prefix dynamic variable.
5928
5929 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5930
ff6ec81d
SM
59312013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * widget.el, hfy-cmap.el: Remove bogus package version number.
5934
75f777b6
GM
59352013-11-13 Glenn Morris <rgm@gnu.org>
5936
1d43dba1
GM
5937 * replace.el (replace-eval-replacement):
5938 Try to give more helpful error message. (Bug#15836)
5939
ff4b7bd5
GM
5940 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5941 (archive-7z-update): Avoid custom type mismatches.
5942
75f777b6
GM
5943 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5944
11151a06
MA
59452013-11-13 Michael Albinus <michael.albinus@gmx.de>
5946
e675b3e4 5947 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
5948 address can be empty.
5949
5950 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5951 Accept nil SWITCHES.
5952 (tramp-gvfs-handle-write-region): Implement APPEND.
5953
7b08f97e
DG
59542013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5955
5956 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
5957 binary "|" operator and closing block args delimiter.
5958 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
5959 (ruby-smie--implicit-semi-p): Not after "|" operator.
5960 (ruby-smie--closing-pipe-p): New function.
5961 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5962 (ruby-smie-rules): Indent after "|".
5963
f201cf3a
GM
59642013-11-12 Glenn Morris <rgm@gnu.org>
5965
5966 * ps-print.el (ps-face-attribute-list):
5967 Handle anonymous faces. (Bug#15827)
5968
e6f759f9
MR
59692013-11-12 Martin Rudalics <rudalics@gmx.at>
5970
5971 * window.el (display-buffer-other-frame): Fix doc-string.
5972 (Bug#15868)
5973
ecda65d4
SM
59742013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5977
7ce8fcc3
MA
59782013-11-11 Michael Albinus <michael.albinus@gmx.de>
5979
5980 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5981 (tramp-sh-handle-file-local-copy): Don't write a message when
5982 saving temporary files.
5983
5984 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5985 both directories are remote.
5986 (tramp-smb-handle-directory-files): Do not return double entries.
5987 Do not expand full file names.
5988 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5989 (tramp-smb-handle-write-region): Implement APPEND.
5990 (tramp-smb-get-stat-capability): Fix a stupid bug.
5991
7818df11
SM
59922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5995
608c2085
NT
59962013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5997
5998 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5999 throwing error over malformed let/let* (bug#15814).
6000
122a7e46
SM
60012013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6002
6003 * iswitchb.el (iswitchb-mode): Mark obsolete.
6004
766284d9
GM
60052013-11-11 Glenn Morris <rgm@gnu.org>
6006
6007 * international/uni-bidi.el, international/uni-category.el:
6008 * international/uni-name.el, international/uni-numeric.el:
6009 Regenerate for Unicode 6.3.0.
6010
7072a4e9
MA
60112013-11-10 Michael Albinus <michael.albinus@gmx.de>
6012
6013 * net/tramp.el (tramp-methods):
6014 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6015 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6016
c9df215b
AS
60172013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6018
608c2085
NT
6019 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6020 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 6021
fa47d796
DG
60222013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6023
6024 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 6025 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
6026 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6027 (ispell-complete-word): Call `ispell-lookup-words' with the value
6028 independent of `ispell-look-p'.
6029
1629a329
DG
60302013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6031
6032 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6033 Not after "||".
6034 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6035 their parent.
6036
ad16897c
SM
60372013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6040 (ruby-font-lock-keywords): Use backquote.
6041
ffa2df72
DG
60422013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6043
6044 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6045 (ruby-smie--backward-token): Only consider full-string matches.
6046
5b97b4c0
JD
60472013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6048
6049 * faces.el (describe-face): Add distant-foreground.
6050
71731c03
BB
60512013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6052
4e9fc48c
BB
6053 * progmodes/ruby-mode.el: Improve encoding comment handling.
6054 (ruby-encoding-magic-comment-style): New option.
6055 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
6056 (ruby--insert-coding-comment, ruby--detect-encoding):
6057 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
6058 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6059 to control the style of the auto-inserted encoding comment.
71731c03 6060
da3b328d
DG
60612013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6062
ad16897c
SM
6063 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6064 Use `smie-backward-sexp' with token argument.
da3b328d 6065
1606c2d3
MA
60662013-11-08 Michael Albinus <michael.albinus@gmx.de>
6067
6068 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6069 Remove instrumentation code.
6070
b0f4c320
GM
60712013-11-08 Glenn Morris <rgm@gnu.org>
6072
6073 * progmodes/autoconf.el (autoconf-mode):
6074 Tweak comment-start-skip. (Bug#15822)
6075
43668fb1
SM
60762013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6079 at bobp (bug#15826).
6080 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6081
daddb3fd
DH
60822013-11-08 Darren Hoo <darren.hoo@gmail.com>
6083
6084 * man.el (Man-start-calling): New macro, extracted from
6085 Man-getpage-in-background.
6086 (Man-getpage-in-background): Use it.
6087 (Man-update-manpage): New command.
6088 (Man-mode-map): Bind it.
6089
1f923923
DG
60902013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6091
6092 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6093 of "and", "or", "&&" and "||".
6094 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6095 argument. Prohibit opening curly brace because it could only be a
6096 block opener in that position.
daddb3fd
DH
6097 (ruby-smie--forward-token, ruby-smie--backward-token):
6098 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
6099 arguments.
6100 (ruby-smie--indent-to-stmt): New function, seeks the end of
6101 previous statement or beginning of buffer.
6102 (ruby-smie-rules): Use it.
6103 (ruby-smie-rules): Check if there's a ":" before a curly block
6104 opener candidate; if there is, it's a hash.
6105
3220d527
SM
61062013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6109 (cl--block-wrapper): Fix last accidental change.
6110
1eb1f9e0
MA
61112013-11-07 Michael Albinus <michael.albinus@gmx.de>
6112
6113 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6114 Instrument, in order to hunt failure on hydra.
6115
e6e4db3c
NT
61162013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6117
6118 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6119 malformed bindings form (bug#15814).
6120
b420ccfc
DG
61212013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6122
6123 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
6124 "." compared to " @ ". This incidentally fixes some indentation
6125 examples with "do".
e6e4db3c 6126 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
6127 (ruby-smie-grammar): New tokens: "and" and "or".
6128 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6129 Exclude "and" and "or". Remove "do" in order to work around token
6130 priorities.
6131 (ruby-smie-rules): Add all infix tokens. Handle the case of
6132 beginning-of-buffer.
b420ccfc 6133
6b4ac03e
GM
61342013-11-06 Glenn Morris <rgm@gnu.org>
6135
6136 * Makefile.in (setwins_almost, setwins_for_subdirs):
6137 Avoid accidental matches.
6138
5ca114d1
SM
61392013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * menu-bar.el (popup-menu): Use key-binding.
6142
f72552bd
EZ
61432013-11-06 Eli Zaretskii <eliz@gnu.org>
6144
6145 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6146 menus, support also the menus produced by minor modes.
6147 (Bug#15817)
6148
5d5c701e
LL
61492013-11-06 Leo Liu <sdl.web@gmail.com>
6150
6151 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 6152 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 6153
0a8b75e2
GM
61542013-11-06 Glenn Morris <rgm@gnu.org>
6155
6156 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
6157 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6158 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 6159
a35287ea
SM
61602013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6161
feca4e2d
SM
6162 * electric.el (electric-indent-just-newline): New command.
6163 (electric-indent-mode-map): New keymap.
6164 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6165 Re-add :group which weren't redundant.
6166
a35287ea
SM
6167 * electric.el (electric-indent-local-mode): New minor mode.
6168 (electric-indent-functions-without-reindent): New var.
6169 (electric-indent-post-self-insert-function): Use it.
6170 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6171
375761b2
EZ
61722013-11-05 Eli Zaretskii <eliz@gnu.org>
6173
9a6ad735
EZ
6174 * international/quail.el (quail-help): Be more explicit about the
6175 meaning of the labels shown on the keys. (Bug#15800)
6176
375761b2
EZ
6177 * startup.el (normal-top-level): Load the subdirs.el files before
6178 setting the locale environment. (Bug#15805)
6179
520a6e4a
SM
61802013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6181
0acfafef
SM
6182 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6183 via arguments so as to get the right ones (bug#15418).
6184
520a6e4a
SM
6185 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6186
15826261
MA
61872013-11-05 Michael Albinus <michael.albinus@gmx.de>
6188
6189 Fix problems found while writing a test suite.
6190
6191 * net/tramp-compat.el (tramp-compat-load): New defun.
6192 * net/tramp.el (tramp-handle-load): Use it.
6193
6194 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6195 "(numberp ok-if-already-exists)" correctly.
6196
d35f31a4
XF
61972013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6198
6199 * international/characters.el (glyphless-char-display-control):
6200 Add usage note.
6201
ae93bc74
BB
62022013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6203
520a6e4a
SM
6204 * progmodes/python.el (python-mode):
6205 * progmodes/scheme.el (scheme-mode):
6206 * progmodes/prolog.el (prolog-mode):
6207 * progmodes/ruby-mode.el (ruby-mode):
6208 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6209 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 6210
0ade65b5
SM
62112013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6212
a0d5f7a4
SM
6213 * rect.el (rectangle--highlight-for-redisplay):
6214 * emacs-lisp/smie.el (smie--next-indent-change):
6215 Use buffer-chars-modified-tick.
6216
c93f3f5c
SM
6217 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6218
0ade65b5
SM
6219 * electric.el (electric-indent-post-self-insert-function):
6220 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6221
ef9dd188
HE
62222013-11-04 Helmut Eller <eller.helmut@gmail.com>
6223
6224 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6225
306e7308
NT
62262013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6227
6228 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6229 (bug#15786).
6230
e5afbcac
SM
62312013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6232
1d01ad41
SM
6233 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6234
e5afbcac
SM
6235 * progmodes/python.el: Fix up last change.
6236 (python-shell--save-temp-file): New function.
6237 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6238 `string' comes from the current buffer.
6239 (python-shell-send-string-no-output): Remove `msg' arg.
6240 (python--use-fake-loc): New var.
6241 (python-shell-buffer-substring): Obey it. Try to compensate for the
6242 extra coding line added by python-shell--save-temp-file.
6243 (python-shell-send-region): Use python-shell--save-temp-file and
6244 python-shell-send-file directly. Add `nomain' argument.
6245 (python-shell-send-buffer): Use python-shell-send-region.
6246 (python-electric-pair-string-delimiter): New function.
6247 (python-mode): Use it.
6248
d0065ff1
EZ
62492013-11-04 Eli Zaretskii <eliz@gnu.org>
6250
6251 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6252 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6253 environment and decoding all of the default-directory's to here
6254 from command-line.
6255 (command-line): Decode also argv[0].
6256
6257 * loadup.el: Error out if default-directory is a multibyte string
6258 when we are dumping.
6259
6260 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6261
7397c587
TZ
62622013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6263
6264 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
6265 (package-menu--print-info, package-menu--archive-predicate):
6266 Add Archive column to package list.
7397c587 6267
b27cc9fc
MA
62682013-11-04 Michael Albinus <michael.albinus@gmx.de>
6269
6270 Fix problems found while writing a test suite.
6271
6272 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6273 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6274 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6275 to nil when running original file name handler. Otherwise,
6276 there are problems with constructs like "$$FOO".
6277
6278 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6279 for `localname'.
6280
d8c4f18a
BB
62812013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6282
7b530552
BB
6283 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6284
6285 * subr.el (version<, version<=, version=):
6286 Update docstrings with information for snapshot versions.
6287
d8c4f18a
BB
6288 * helpers.el: New library for misc helper functions.
6289 (hash-table-keys): New function returning a list of hash keys.
6290 (hash-table-values): New function returning a list of hash values.
6291
dca01b09
DG
62922013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6293
6294 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6295 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6296
0a749fa0
MN
62972013-11-04 Michal Nazarewicz <mina86@mina86.com>
6298
6299 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6300 checking whether point is after a 1-letter word.
6301
63022013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
6303
6304 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6305 Don't infloop when expanding region over `multiline' syntax-type that
6306 begins a line (bug#15778).
6307
4aca7145
SM
63082013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6311 Make it into a proper minor mode.
9b017563 6312 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
6313 (rectangle-mark-mode-map): New keymap.
6314 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6315
a0833f62
GM
63162013-11-04 Glenn Morris <rgm@gnu.org>
6317
6318 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6319
e61845c1
SM
63202013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6323 (ruby-smie-rules): Use smie-rule-parent instead.
6324
6325 * emacs-lisp/smie.el (smie-rule-parent): Always call
6326 smie-indent-virtual rather than only for hanging tokens.
6327 (smie--next-indent-change): New helper command.
6328
62942f89
GM
63292013-11-03 Glenn Morris <rgm@gnu.org>
6330
6331 * Makefile.in (abs_srcdir): Remove.
6332 (emacs): Unset EMACSLOADPATH.
6333
b0b9e592
GM
63342013-11-02 Glenn Morris <rgm@gnu.org>
6335
18ba6a33 6336 * Makefile.in (EMACS): Use a relative filename.
8061810d 6337 (abs_top_builddir): Remove.
18ba6a33
GM
6338 (custom-deps, finder-data, autoloads): Use --chdir.
6339
6a8b929e
GM
6340 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6341
c617f3d0
GM
6342 Use relative filenames in TAGS files.
6343 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6344 (lisptagsfiles4, TAGS): Use relative file names.
6345 (TAGS-LISP): Remove.
6346 (maintainer-clean): No more TAGS-LISP file.
6347
b0b9e592
GM
6348 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6349 (lisptagsfiles4): Use absolute filenames again.
6350 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6351 Remove all *loaddefs files, not just the first. Remove esh-groups.
6352 (maintainer-clean): Delete TAGS, TAGS-LISP.
6353
d1c0ea6a
BB
63542013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6355
e61845c1
SM
6356 * emacs-lisp/package.el (package-version-join):
6357 Recognize snapshot versions.
d1c0ea6a 6358
684d71c6
BB
63592013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6360
6361 * subr.el (version-regexp-alist): Add support for snapshot versions.
6362
3d42b968
DG
63632013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6364
e61845c1
SM
6365 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6366 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6367 skip over our direct parent if it's an assignment token..
6368 (ruby-smie-rules): Use it.
6369
7ffd3721
DG
63702013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6371
8449dd1f 6372 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6373 unconditionally. Remove now unnecessary forward declarations.
6374 Remove XEmacs-specific setup.
6375 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6376 (ruby-font-lock-syntactic-keywords)
6377 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6378 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6379 (ruby-here-doc-end-syntax): Remove.
6380 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6381 defined as function.
6382
a3996a2e
BB
63832013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6384
6385 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6386
6f9260e8
BB
63872013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6388
6389 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6390 table and abbrev table, `define-derived-mode' does that for us
6391 anyway.
6392
6014de84
GM
63932013-11-01 Glenn Morris <rgm@gnu.org>
6394
6395 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6396 files is atomic for some time, so no parallel compilation issues).
6397
3c334c14
JD
63982013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6399
6400 * faces.el (face-x-resources): Add :distant-foreground.
6401 (region): Use :distant-foreground for gtk and ns.
6402
9bc236c8
TH
64032013-11-01 Tassilo Horn <tsdh@gnu.org>
6404
5246583b 6405 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
6406 BibTeX.
6407 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6408 (reftex-locate-bibliography-files): Us it.
6409
d14c81ee
CB
64102013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6411
0e7690de
CB
6412 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6413 allow comments in pbm files.
6414
d14c81ee
CB
6415 * term/w32-win.el (dynamic-library-alist): Support newer versions
6416 of libjpeg starting with v7: look only for the DLL from the
6417 version against which Emacs was built.
ac1bf374 6418 Support versions of libpng beyond 1.4.x.
019c8218 6419 Support libtiff v4.x.
d14c81ee 6420
983d0df5
BB
64212013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6422
6423 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6424 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6425 Add property :safe.
6426 (ruby-deep-arglist): Add property :type.
6427
47f58d85
GM
64282013-10-31 Glenn Morris <rgm@gnu.org>
6429
6430 * Makefile.in (custom-deps, finder-data): No need to setq the target
6431 variables, we are in the right directory and the defaults work fine.
6432
4f85b479
GM
64332013-10-30 Glenn Morris <rgm@gnu.org>
6434
ca7dd4cd
GM
6435 * Makefile.in (autoloads): Do not use abs_lisp.
6436
4f85b479
GM
6437 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6438 `newline' does not respect `standard-output', so use `princ'.
6439
cf59e41c
AA
64402013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6441
6442 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6443 * buff-menu.el (Buffer-menu--unmark): New function.
6444 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6445
74cf04fb
GM
64462013-10-30 Glenn Morris <rgm@gnu.org>
6447
b040b60e
GM
6448 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6449
f53d3815
GM
6450 * emacs-lisp/package.el (lm-homepage): Declare.
6451
5413d873
GM
6452 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6453 Fix doc typos.
6454
cecedb36
GM
6455 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6456
74cf04fb
GM
6457 * Makefile.in (finder-data, autoloads, update-subdirs)
6458 (compile-main, compile-clean, compile-always, bootstrap-clean):
6459 Check return value of cd.
6460 (compile-calc): Remove.
6461
195ee2f0
SM
64622013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6463
ae4002ce
SM
6464 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6465
6466 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6467 (byte-compile-and-folded): New function.
6468 (=, <, >, <=, >=): Use it.
6469
6470 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6471 (path-separator, null-device, buffer-file-coding-system)
6472 (lpr-headers-switches): Check system-type before modifying them.
6473 (find-buffer-file-type-coding-system): Mark obsolete.
6474 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6475 find-file-not-found-set-buffer-file-coding-system.
35e951cd 6476 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 6477 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 6478 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
6479 (w32-direct-print-region-helper, w32-direct-print-region-function)
6480 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6481 * startup.el (normal-top-level-add-subdirs-to-load-path):
6482 * ps-print.el (ps-print-region-function):
6483 * lpr.el (print-region-function): Use new name.
6484
53b39e89
SM
6485 * subr.el (custom-declare-variable-early): Remove function.
6486 (custom-declare-variable-list): Remove var.
6487 (error, user-error): Remove `while' loop.
6488 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6489 (user-emacs-directory-warning, locate-user-emacs-file):
6490 Move to files.el.
6491 * simple.el (read-quoted-char-radix, read-quoted-char):
6492 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6493 Move from subr.el.
6494 * custom.el (custom-declare-variable-list): Don't process
6495 custom-declare-variable-list.
6496
195ee2f0
SM
6497 * progmodes/python.el (python-shell-get-buffer): New function.
6498 (python-shell-get-process): Use it.
6499 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6500 Python which encoding was used. Don't split-string since we only care
6501 about the first line. Return the temp-file, if applicable.
6502 (python-shell-send-region): Tell compile.el how to turn locations in
6503 the temp-file into locations in the source buffer.
6504
7e3561ee
SM
65052013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6506
4c9797cb
SM
6507 * subr.el (undefined): Add missing behavior from the C code for
6508 unbound keys.
6509
3472b6c6
SM
6510 * rect.el: Use lexical-binding. Add new rectangular region support.
6511 (rectangle-mark): New command.
6512 (rectangle--region): New var.
6513 (deactivate-mark-hook): Reset rectangle--region.
6514 (rectangle--extract-region, rectangle--insert-for-yank)
6515 (rectangle--highlight-for-redisplay)
6516 (rectangle--unhighlight-for-redisplay): New functions.
6517 (region-extract-function, redisplay-unhighlight-region-function)
6518 (redisplay-highlight-region-function): Use them to handle
6519 rectangular region.
6520 * simple.el (region-extract-function): New var.
6521 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6522 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6523 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6524 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6525 (redisplay-unhighlight-region-function)
6526 (redisplay-highlight-region-function): New vars.
6527 (redisplay--update-region-highlight): New function.
6528 (pre-redisplay-function): Use it.
6529 (exchange-point-and-mark): Don't deactivate the mark before
6530 reactivate-it anyway.
6531 * comint.el (comint-kill-region): Remove yank-handler argument.
6532 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6533 (delete-char): Remove property, since it's now part of their
6534 default behavior.
6535 (self-insert-iso): Remove property since this command doesn't exist.
6536
7e3561ee
SM
6537 * emacs-lisp/package.el (package--download-one-archive)
6538 (describe-package-1): Don't query the user about final newline.
6539
b9bef71f
DC
65402013-10-29 Daniel Colascione <dancol@dancol.org>
6541
6542 * net/tramp.el (tramp-methods): Document new functionality.
6543 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6544 tramp-hostname-checker if method provides one instead of scanning
6545 argument list for "%h" to decide hostname acceptability.
6546
4efc33f0
MA
65472013-10-28 Michael Albinus <michael.albinus@gmx.de>
6548
6549 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6550 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6551 Handle COPY-CONTENTS. (Bug#15737)
6552
ed42a877
DU
65532013-10-28 Daiki Ueno <ueno@gnu.org>
6554
9b017563 6555 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 6556 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 6557
18c9f8a2
XF
65582013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6559
35e951cd 6560 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 6561
b1e8e010
AM
65622013-10-27 Alan Mackenzie <acm@muc.de>
6563
6564 Indent statements in macros following "##" correctly.
7e3561ee
SM
6565 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6566 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 6567
73d40d1e 65682013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
6569
6570 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6571
c8c605ac
DG
65722013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6573
6574 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6575 after `=' is probably a new expression.
6576
ca7e59d4
RS
65772013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6578
6579 * man.el (man-imenu-title): New option.
6580 (Man-mode-map): Add menu. (Bug#15722)
6581 (Man-mode): Add imenu to menu.
6582
bae91342
DG
65832013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6584
6585 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6586 specific in what the first arg can be: a non-keyword word,
6587 string/regexp/percent literal opener, opening paren, or unary
6588 operator followed directly by word.
6589
eb89dc14
SM
65902013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6593 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6594 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6595 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6596 Remove vars, they do not apply any more.
6597 (prolog-mode-abbrev-table): Remove redundant declaration.
6598 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6599 (prolog-use-smie): Remove.
6600 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6601 supported by prolog-electric-if-then-else-flag.
6602 (prolog-mode-variables, prolog-menu): Use setq-local.
6603 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6604 Remove binding to `Backspace' since this key doesn't exist anyway.
6605 Remove bindings for electric self-inserting keys.
6606 (prog-mode): Assume it's defined.
6607 (prolog-post-self-insert): New function.
6608 (prolog-mode): Use it.
6609 (prolog-indent-line, prolog-indent-level)
6610 (prolog-find-indent-of-matching-paren)
6611 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6612 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6613 (prolog-goto-next-paren, prolog-in-string-or-comment)
6614 (prolog-tokenize, prolog-inside-mline-comment)
6615 (prolog-find-start-of-mline-comment): Remove functions.
6616 (prolog-find-unmatched-paren, prolog-clause-end)
6617 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6618 (prolog-electric--if-then-else): Rename from
6619 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6620 (prolog-tokenize-searchkey): Remove const.
6621 (prolog-clause-info): Use forward-sexp.
6622 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6623 (prolog-electric-if-then-else): Remove commands.
6624 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6625 for use in post-self-insert-hook.
6626 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6627 for use in post-self-insert-hook.
6628 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6629 for use in post-self-insert-hook.
6630 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6631 adapt it for use in post-self-insert-hook.
6632
3dab0a83
MA
66332013-10-25 Michael Albinus <michael.albinus@gmx.de>
6634
6635 * emacs-lisp/ert.el (ert-run-tests-interactively):
6636 Use `completing-read'. (Bug#9756)
6637
fbfd0e1d
EZ
66382013-10-25 Eli Zaretskii <eliz@gnu.org>
6639
6640 * simple.el (line-move): Call line-move-1 instead of
6641 line-move-visual when the current window hscroll is zero, but
6642 temporary-goal-column indicates we will need to hscroll as result
6643 of the movement. (Bug#15712)
6644
963ce636
DG
66452013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6646
6647 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
6648 capitalization. Use :visible instead of :active.
6649 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
6650 commands that are used with SMIE.
6651 (ruby-do-end-to-brace): Insert space after `{'.
6652
a0be396a
JA
66532013-10-25 John Anthony <john@jo.hnanthony.com>
6654
f73754c9
JA
6655 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6656
6657 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 6658
f5bf77df
GM
66592013-10-25 Glenn Morris <rgm@gnu.org>
6660
6661 * vc/vc.el (vc-print-log): Don't use a working revision unless
6662 one was explicitly specified. (Bug#15322)
6663
37241f62
SM
66642013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 * subr.el (add-to-list): Preserve return value in compiler-macro
6667 (bug#15692).
6668
6408a65d
RS
66692013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6670
6671 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6672 result. Ask user to retry using '-all' flag. (Bug#15701)
6673
71e3276b
SM
66742013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 * emacs-lisp/smie.el: New smie-config system.
6677 (smie-config): New defcustom.
6678 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6679 (smie-config-guess, smie-config-save): New commands.
6680 (smie-config--mode-local, smie-config--buffer-local)
6681 (smie-config--trace, smie-config--modefuns): New vars.
6682 (smie-config--advice, smie-config--mode-hook)
6683 (smie-config--setter, smie-config-local, smie-config--get-trace)
6684 (smie-config--guess-value, smie-config--guess): New functions.
6685 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6686 text properties. Treat "string fence" syntax like string syntax.
6687
6688 * progmodes/sh-script.el (sh-use-smie): Change default.
6689 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6690 (sh-var-value): Simplify by CSE.
6691 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6692 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6693 is used.
6694 (sh-guess-basic-offset): Use cl-incf.
6695 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6696
60db713e
HE
66972013-10-24 Helmut Eller <eller.helmut@gmail.com>
6698
6699 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6700 (bug#15699).
6701
8b251df6
GM
67022013-10-24 Glenn Morris <rgm@gnu.org>
6703
6704 * Makefile.in (abs_top_srcdir): Remove.
6705 (update-subdirs): Use relative path to update-subdirs.
6706
6be0e22b
EZ
67072013-10-24 Eli Zaretskii <eliz@gnu.org>
6708
6709 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6710 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
6711 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6712 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 6713
50b5b857
MA
67142013-10-24 Michael Albinus <michael.albinus@gmx.de>
6715
6716 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6717 (ert-test-skipped): New error.
6718 (ert-skip, ert-stats-skipped): New defuns.
6719 (ert--skip-unless): New macro.
6720 (ert-test-skipped): New struct.
6721 (ert--run-test-debugger, ert-test-result-type-p)
6722 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6723 (ert--stats-set-test-and-result, ert-char-for-test-result)
6724 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 6725 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 6726 Handle skipped tests. (Bug#9803)
50b5b857 6727
6f317c2f
GM
67282013-10-24 Glenn Morris <rgm@gnu.org>
6729
e43817c1
GM
6730 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6731
6f317c2f
GM
6732 * Makefile.in (abs_top_srcdir): New, set by configure.
6733 (update-subdirs): Correct build-aux location.
6734
369bbf71
DG
67352013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6736
8297b2cf
DG
6737 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6738 value, whether we could auto-deduce `backend', or not.
6739
369bbf71
DG
6740 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6741 with parameters" example. Simplify the "is it block or is it
6742 hash" check, but also make it more thorough.
6743
d5f1282f
MF
67442013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6745
6746 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6747
bc4aaa31
SM
67482013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6749
03d44565
SM
6750 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6751 { if it is hanging.
6752
bc4aaa31
SM
6753 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6754 :before ";".
6755
f493ff19
JB
67562013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6757
6758 * progmodes/compile.el (compilation-directory-matcher)
6759 (compilation-page-delimiter):
6760 Support GNU Make-4.0 directory quoting. (Bug#15678)
6761
c744a3b9
LL
67622013-10-23 Leo Liu <sdl.web@gmail.com>
6763
6764 * ido.el (ido-tidy): Handle read-only text.
6765
b8e3b0a9
GM
67662013-10-23 Glenn Morris <rgm@gnu.org>
6767
6768 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6769 (emacs, compile, compile-always):
6770 Quote entities that might contain whitespace.
6771 (custom-deps, finder-data, autoloads): Use abs_lisp.
6772 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6773 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6774 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6775
ee4282cd
DG
67762013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6777
bc4aaa31
SM
6778 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6779 Use `following-char'.
7790a270 6780
ee4282cd 67812013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
6782
6783 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6784 * progmodes/ruby-mode.el (ruby-smie-rules):
6785 Remove corresponding workaround. Fix indentation rule of ";" so it
6786 also applies when ";" is the parent.
6787
d40a46d7
XF
67882013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6789
6790 * frame.el (display-screens, display-pixel-height)
6791 (display-pixel-width, display-mm-width, display-backing-store)
6792 (display-save-under, display-planes, display-color-cells)
7790a270
SM
6793 (display-visual-class, display-monitor-attributes-list):
6794 Mention the optional ‘display’ argument in doc strings.
d40a46d7 6795
a0f143c9
MG
67962013-10-22 Michael Gauland <mikelygee@amuri.net>
6797
6798 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6799 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6800
18cacc39
DG
68012013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6802
6803 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6804 TODO. Add "." after " @ ".
6805 (ruby-smie--at-dot-call): New function. Checks if point at method
6806 call with explicit target.
6807 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6808 to the method name tokens when it precedes them.
6809 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6810 (ruby-smie-rules): Add rule for indentation before and after "."
6811 token.
6812
df74c4be
SM
68132013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6814
c6dab55f
SM
6815 * textmodes/remember.el (remember-diary-extract-entries):
6816 Avoid add-to-list.
6817
df74c4be
SM
6818 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6819 an instruction.
6820
8c1ae481
DG
68212013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6822
e9dc713d
JB
6823 * progmodes/ruby-mode.el (ruby-smie-grammar):
6824 Add (almost) all infix operators.
cfef16c0
DG
6825 (ruby-smie--implicit-semi-p): Add new operator chars.
6826
8c1ae481
DG
6827 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6828 `smie-down-list'.
6829 (ruby-smie--args-separator-p): Check that there's no newline
6830 between method call and its arguments.
6831
87756ca9
AM
68322013-10-20 Alan Mackenzie <acm@muc.de>
6833
6834 Allow comma separated lists after Java "implements".
6835
df74c4be
SM
6836 * progmodes/cc-engine.el (c-backward-over-enum-header):
6837 Parse commas.
87756ca9
AM
6838 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6839 from a "disallowed" list in enum fontification.
6840
c25f8957
JB
68412013-10-20 Johan Bockgård <bojohan@gnu.org>
6842
df74c4be 6843 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 6844
c25f8957
JB
6845 * progmodes/verilog-mode.el (verilog-mode): Don't set
6846 comment-indent-function globally.
6847
aca5fcdc
JD
68482013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6849
5f161884
JD
6850 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6851 Move Info menu item creation to ns-win.el.
6852
6853 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6854 in menu bar.
6855
a6c4680a 6856 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
6857
6858 * term/ns-win.el (ns-initialize-window-system): ... to here.
6859
914b7f98
SM
68602013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6861
6862 * simple.el (newline): Only run post-self-insert-hook when
6863 called interactively.
6864
846ffe77
JB
68652013-10-19 Johan Bockgård <bojohan@gnu.org>
6866
6867 * icomplete.el (icomplete-with-completion-tables): Add :version.
6868
033f22dd
AM
68692013-10-19 Alan Mackenzie <acm@muc.de>
6870
6871 Fix fontification bugs with constructors and const.
6872
6873 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6874 CASE 2) Remove the check for the absence of a suffix construct
6875 after a function declaration with only types (no identifiers) in
6876 the parentheses. Also, accept a function declaration with just a
6877 type inside the parentheses, if this type can be positively
6878 recognised as such, or if a prefix keyword like "explicit" nails
6879 down the construct as a declaration.
6880
58ce0cfc
EZ
68812013-10-19 Eli Zaretskii <eliz@gnu.org>
6882
6883 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6884 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6885 the problem whereby selecting a menu item that leads to a
6886 minibuffer prompt moves the cursor out of the minibuffer window,
6887 making it hard to type at the prompt. Suggested by Stefan Monnier
6888 <monnier@iro.umontreal.ca>.
6889
50e28e7d
JD
68902013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6891
6892 * menu-bar.el: Don't make Services menu.
6893
7deed4bf
RS
68942013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6895
6896 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6897 (ffap-alist): Use ffap-c++-mode for c++-mode.
6898 (ffap-c++-path): New variable.
6899 (ffap-c++-mode): New function.
6900
7bcb455b
JVJ
69012013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6902
6903 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6904
f0ff1cd5
MA
69052013-10-18 Michael Albinus <michael.albinus@gmx.de>
6906
6907 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6908 introduced on 2013-09-08, which results in an infinite loop
6909 requesting a password.
6910
d64da4b7
GM
69112013-10-18 Glenn Morris <rgm@gnu.org>
6912
6913 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6914
ea89ff08
WS
69152013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6916
6917 Sync with upstream verilog-mode revision 1a6ecec7.
6918 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6919 (verilog-mode-release-date): Remove.
6920 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6921 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6922 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6923 (verilog-auto-tieoff-ignore-regexp)
6924 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6925 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6926 (verilog-signals-with, verilog-dir-cache-preserving)
6927 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6928 Doc fixes.
6929 (verilog-case-fold): New option, to control case folding in
6930 regexp searches, bug597.
6931 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6932 (verilog-string-match-fold, verilog-in-paren-count)
6933 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6934 (verilog-at-close-struct-p): New functions.
6935 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 6936 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
6937 (verilog-leap-to-case-head): Handle "unique0" case.
6938 (verilog-in-constraint-re): New constant.
6939 (verilog-keywords, verilog-type-font-keywords):
6940 Add some SystemVerilog 1800-2012 keywords.
6941 (verilog-label-be): Remove unimplemented argument, bug669.
6942 (verilog-batch-execute-func): When batch expanding clear
6943 create-lockfiles to prevent spurious user locks when a file ends
6944 up not changing.
6945 (verilog-calculate-indent, verilog-calc-1)
6946 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6947 (verilog-do-indent): Fix indentation of nested constraints
6948 and structures.
6949 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6950 (verilog-auto-inst-param): Use verilog-string-match-fold.
6951 (verilog-read-inst-module-matcher):
6952 Fix AUTOINST on gate primitives with #1.
6953 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6954 Reads all user-defined typed variables.
6955 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6956 (verilog-signals-matching-regexp)
6957 (verilog-signals-not-matching-regexp, verilog-auto):
6958 Respect verilog-case-fold.
6959 (verilog-diff-report): Fix line count.
6960 (verilog-auto-assign-modport): Remove unused local `modi'.
6961 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6962 better handle multidimensional arrays.
6963 Fix packed array ports misadding bit index in AUTOINST, bug637.
6964 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6965 to not double-declare existing outputs and inputs, respectively.
6966 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6967 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6968 (verilog-sk-uvm-component): New skeleton.
6969 (verilog-submit-bug-report): Add verilog-case-fold,
6970 remove verilog-mode-release-date.
6971
ef566920
BR
69722013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6973
a12bf61e 6974 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
6975 as before.
6976
29df8a0b
RT
69772013-10-18 Reuben Thomas <rrt@sc3d.org>
6978
e0eb0550 6979 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
6980 remember buffers (bug#13566).
6981
04a19a79
DC
69822013-10-18 Daniel Colascione <dancol@dancol.org>
6983
6984 When evaluating forms in ielm, direct standard output to ielm
6985 buffer. Add new ielm-return-for-effect command. Remove trailing
6986 whitespace throughout.
6987
6988 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6989 (ielm-return-for-effect): New command.
6990 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
6991 (ielm-eval-input): Accept optional `for-effect' parameter.
6992 Bind `standard-output' to stream we create using
04a19a79
DC
6993 `ielm-standard-output-impl'. Suppress printing result when
6994 `for-effect'.
6995 (ielm-standard-output-impl): New function.
6996 (inferior-emacs-lisp-mode): Explain new features in documentation.
6997
4c1f03ef
MA
69982013-10-17 Michael Albinus <michael.albinus@gmx.de>
6999
7000 Code cleanup.
7001
7002 * net/tramp.el (tramp-debug-message): Do not check for connection
7003 buffer.
7004 (tramp-message): Use "vector" connection property.
7005
7006 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7007 (tramp-equal-remote, tramp-eshell-directory-change)
7008 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7009 (tramp-adb-handle-rename-file)
7010 * net/tramp-cmds.el (tramp-list-remote-buffers)
7011 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7012 * net/tramp-compat.el (tramp-compat-process-running-p)
7013 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7014 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7015 (tramp-gvfs-handle-rename-file)
7016 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7017 (tramp-set-file-uid-gid)
7018 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7019 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7020 of `file-remote-p'.
7021
7022 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7023 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7024 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7025 (tramp-gw-open-network-stream): Suppress unrelated traces.
7026
7027 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7028 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7029 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7030 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7031 connection property.
7032
7033 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 7034 persistency file.
4c1f03ef
MA
7035
7036 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7037 Refactor common code. Improve debug message.
7038 (tramp-maybe-open-connection)
7039 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7040 connection buffer too early.
7041
7042 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7043 from `tramp-smb-actions-with-acl'.
7044 (tramp-smb-actions-set-acl): New defconst.
7045 (tramp-smb-handle-copy-directory)
7046 (tramp-smb-action-get-acl): New defun, renamed from
7047 `tramp-smb-action-with-acl'.
7048 (tramp-smb-action-set-acl): New defun.
7049 (tramp-smb-handle-set-file-acl): Rewrite.
7050
642eb8b6
GM
70512013-10-17 Glenn Morris <rgm@gnu.org>
7052
7053 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7054
85527ff3
SM
70552013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7056
921c1d62
SM
7057 * skeleton.el (skeleton-newline): Remove.
7058 (skeleton-internal-1): Use (insert "\n") instead.
7059
e333fb10
SM
7060 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7061 let-bindings.
7062
85527ff3
SM
7063 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7064 forward-sexp-function while we redo its job (bug#15613).
7065
c8722a97
JB
70662013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7067
7068 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7069 represented by lists.
7070
7a550bbb
GM
70712013-10-16 Glenn Morris <rgm@gnu.org>
7072
7073 * tmm.el (tmm--history): New dynamic variable.
7074 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7075
f19da8ad
MA
70762013-10-16 Michael Albinus <michael.albinus@gmx.de>
7077
7078 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7079 (tramp-smb-errors): Add error messages.
7080 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 7081 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
7082 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7083 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7084 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7085 (tramp-smb-get-stat-capability): Fix tests.
7086
a24b9961
DK
70872013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7088
7089 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7090 (bug#15580).
7091
62ad85e6
GM
70922013-10-16 Glenn Morris <rgm@gnu.org>
7093
0283d6b0
GM
7094 * ansi-color.el (ansi-color-drop-regexp):
7095 Add 1J, 1K, 2K. (Bug#15617)
7096
012e2f9f
GM
7097 * files.el (hack-local-variables--warned-lexical): New.
7098 (hack-local-variables):
7099 Warn about misplaced lexical-binding. (Bug#15616)
7100
62ad85e6
GM
7101 * net/eww.el (eww-render): Always set eww-current-url,
7102 and update header line. (Bug#15622)
7103 (eww-display-html): ... Rather than just doing it here.
7104
6456c0ea
EZ
71052013-10-15 Eli Zaretskii <eliz@gnu.org>
7106
7107 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7108 menu navigations commands.
7109
c2de5588
DK
71102013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7111
7112 * progmodes/subword.el (subword-capitalize): Be careful when
7113 the search for [[:alpha:]] fails (bug#15580).
7114
ccd4a783
EZ
71152013-10-14 Eli Zaretskii <eliz@gnu.org>
7116
7117 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7118 to commands that scroll the menu.
7119
1eda1d8d
DG
71202013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7121
c2de5588
DK
7122 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7123 Handle methods ending with `?' and `!'.
1eda1d8d 7124
e70181b8
AM
71252013-10-14 Akinori MUSHA <knu@iDaemons.org>
7126
7127 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7128 `japanese-cp932' to `cp932' to fix the problem where saving a
7129 source file written in Shift_JIS twice would end up having
7130 `coding: japanese-cp932' which Ruby could not recognize.
7131 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7132 in `ruby-encoding-map'.
7133 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7134 doesn't need to be explicitly declared in magic comment.
7135 (ruby-encoding-map): Add type declaration for better customize UI.
7136
9148ee92
GM
71372013-10-13 Glenn Morris <rgm@gnu.org>
7138
a5d38e34
GM
7139 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7140 Occur buffers are read-only. http://bugs.debian.org/720775
7141
9148ee92
GM
7142 * emacs-lisp/authors.el (authors-fixed-entries):
7143 Comment out old alpha stuff.
7144
a9ba094b
DG
71452013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7146
7147 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7148 to `after-save-hook' instead of `before-save-hook'.
7149 (ruby-mode-set-encoding): Use the value of coding system used to
7150 write the file. Call `basic-save-buffer-1' after modifying the
7151 buffer.
7152
7a068717
AM
71532013-10-13 Alan Mackenzie <acm@muc.de>
7154
7155 Fix indentation/fontification of Java enum with
7156 "implements"/generic.
7157
c2de5588
DK
7158 * progmodes/cc-engine.el (c-backward-over-enum-header):
7159 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
7160 (c-inside-bracelist-p): Uses new function above.
7161 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7162 function above.
7163 (c-font-lock-enum-tail): Uses new function above.
7164
85b64f02
KH
71652013-10-13 Kenichi Handa <handa@gnu.org>
7166
7167 * international/mule-cmds.el (select-safe-coding-system): Remove a
7168 superfluous condition in chekcing whether a coding system is safe
7169 or not.
7170
fc7f501b
OK
71712013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7172
7173 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7174
fdcb2049
AP
71752013-10-13 Andreas Politz <politza@hochschule-trier.de>
7176
7177 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7178
8c106d17
GM
71792013-10-13 Glenn Morris <rgm@gnu.org>
7180
feab892d
GM
7181 * menu-bar.el (menu-bar-update-buffers):
7182 Unify Buffers menu prompt string. (Bug#15576)
7183
b22d0686
GM
7184 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7185
8c106d17
GM
7186 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7187 Add some entries.
7188 (authors-fixed-entries): Use accented form of name.
7189
1b12c797
SM
71902013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7191
650fa7bf 7192 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 7193 method calls (bug#15594).
650fa7bf
SM
7194 (ruby-smie--args-separator-p): New function.
7195 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7196 recognize paren-free method calls.
7197
1b12c797
SM
7198 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7199 internals of universal-argument.
7200
029619c8
EZ
72012013-10-11 Eli Zaretskii <eliz@gnu.org>
7202
7203 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
7204 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7205 dropped menu on second mouse click on the menu bar.
029619c8 7206
dd070019
SM
72072013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7208
7209 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7210 (explicit-shell-file-name): Declare.
7211 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7212 (sh-completion-at-point-function): New function.
7213 (sh-mode): Use it.
7214 (sh-smie--keyword-p): Remove unused argument.
7215 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7216 vars.
7217 (sh-set-shell): Always setup SMIE, even if we use the
7218 old indentation code.
7219
0922b826
DG
72202013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7221
b68e2926
DG
7222 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7223 cases of ? and =.
7224 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7225 predicate would return nil are almost non-existent.
7226 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7227
0922b826
DG
7228 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7229 cache also after commands that modify the buffer but don't move
7230 point.
7231
ee041f2d
SM
72322013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7233
7234 * env.el (substitute-env-in-file-name): New function.
7235 (substitute-env-vars): Extend the meaning of the optional arg.
7236
a5dab159
EZ
72372013-10-10 Eli Zaretskii <eliz@gnu.org>
7238
7239 * term/w32-win.el (dynamic-library-alist): Define separate lists
7240 of GIF DLLs for versions before and after 5.0.0 of giflib.
7241 (Bug#15531)
7242
0449d6cd 72432013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
7244
7245 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7246 not locked, use last revision and current source as
7247 defaults. (Bug#15569)
7248
2f6e161e
MY
72492013-10-10 Masatake YAMATO <yamato@redhat.com>
7250
7251 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7252 menu-bar is hidden.
7253
6c8413fc
MR
72542013-10-10 Martin Rudalics <rudalics@gmx.at>
7255
7256 * window.el (pop-to-buffer-same-window): Fix doc-string.
7257 (Bug#15492)
7258
20832de0
SM
72592013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7262
c6e8ae77
AC
72632013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7264
7265 * calendar/icalendar.el (icalendar-import-file):
7266 Fix interactive spec. (Bug#15482)
7267
9db13baf
GM
72682013-10-10 Glenn Morris <rgm@gnu.org>
7269
9271e90e
GM
7270 * desktop.el (desktop-save): Default to saving in .emacs.d,
7271 since PWD is no longer in desktop-path by default. (Bug#15319)
7272
9db13baf
GM
7273 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7274 now that text mode has a menu with the same entry.
7275 (menu-bar-text-mode-auto-fill): Remove now unused func.
7276 * textmodes/text-mode.el (text-mode-map):
7277 Use auto-fill help text from menu-bar.el.
7278
a0be396a 72792013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
7280
7281 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7282
2edcd3c7
JL
72832013-10-09 Juri Linkov <juri@jurta.org>
7284
7285 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7286 instead of this-command-keys. Add universal-argument-more and
7287 universal-argument-minus to the list of prefix commands. (Bug#15568)
7288
574411d0
GM
72892013-10-09 Glenn Morris <rgm@gnu.org>
7290
14afa541
GM
7291 * vc/vc-svn.el (vc-svn-create-repo):
7292 Expand paths in file://... url. (Bug#15446)
7293
574411d0
GM
7294 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7295 Add some entries.
7296 (authors): Remove unused local variables.
7297
79804536
SM
72982013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * profiler.el: Create a more coherent calltree from partial backtraces.
7301 (profiler-format): Hide the tail with `invisible' so that C-s can still
7302 find the hidden elements.
7303 (profiler-calltree-depth): Don't recurse so enthusiastically.
7304 (profiler-function-equal): New hash-table-test.
7305 (profiler-calltree-build-unified): New function.
7306 (profiler-calltree-build): Use it.
7307 (profiler-report-make-name-part): Indent the calltree less.
7308 (profiler-report-mode): Add visibility specs for profiler-format.
7309 (profiler-report-expand-entry, profiler-report-toggle-entry):
7310 Expand the whole subtree when provided with a prefix arg.
7311
238150c8
DG
73122013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7313
7314 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7315 iuwu-mod token.
7316 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7317 hanging iuwu-mod token.
7318 (ruby-smie--forward-token): Do not include a dot after a token in
7319 that token.
7320 (ruby-smie--backward-token): Likewise.
7321
b0949cc4
JL
73222013-10-08 Juri Linkov <juri@jurta.org>
7323
7324 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7325 to isearch-other-control-char.
7326 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7327 and isearch-post-command-hook to post-command-hook.
7328 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7329 and isearch-post-command-hook from post-command-hook.
7330 (isearch-unread-key-sequence)
7331 (isearch-reread-key-sequence-naturally)
7332 (isearch-lookup-scroll-key, isearch-other-control-char)
7333 (isearch-other-meta-char): Remove functions.
7334 (isearch-pre-command-hook, isearch-post-command-hook):
7335 New functions based on isearch-other-meta-char rewritten
7336 relying on the new behavior of overriding-terminal-local-map
7337 that does not replace the local keymaps any more. (Bug#15200)
7338
4ed77415
EZ
73392013-10-08 Eli Zaretskii <eliz@gnu.org>
7340
7341 Support menus on text-mode terminals.
7342 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7343 functionality.
7344
7345 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7346
c2de5588
DK
7347 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7348 Move here from mouse.el.
4ed77415
EZ
7349 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7350 and arrow keys.
7351 (tty-menu-navigation-map): New map for TTY menu navigation.
7352
7353 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7354
7355 * frame.el (display-mouse-p): Report text-mode mouse as available
7356 on w32.
7357 (display-popup-menus-p): Report availability if mouse is
7358 available; don't condition on window-system.
7359
7360 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7361 (tty-menu-selected-face): New faces.
7362
b7d5bd82
TL
73632013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7364
06286513
SM
7365 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7366 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7367 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7368 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7369 New constants.
7370 (lisp-mode-variables): New `elisp' argument.
7371 (emacs-lisp-mode): Use it.
7372 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7373 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7374
b7d5bd82
TL
7375 * indent.el: Use lexical-binding.
7376 (indent-region): Add progress reporter.
7377 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7378 last step.
7379 (indent--next-tab-stop): New function to implement this behavior.
7380 (tab-to-tab-stop, move-to-tab-stop): Use it.
7381
73822013-10-08 Teemu Likonen <tlikonen@iki.fi>
7383
7384 * indent.el (indent-rigidly--current-indentation): New function.
7385 (indent-rigidly-map): New var.
7386 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7387
5ea75d23
BG
73882013-10-08 Bastien Guerry <bzg@gnu.org>
7389
f2726fa2 7390 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7391
cc5da1ec
SM
73922013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7393
8ffa1a0b
SM
7394 * progmodes/perl-mode.el: Use lexical-binding.
7395 Remove redundant :group args.
7396 (perl-nochange): Change default to be closer to other major modes's
7397 standard behavior.
7398 (perl-indent-line): Don't consider text on current line as a
7399 valid beginning of function from which to indent.
7400
f2223371
SM
7401 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7402 with more than one argument (bug#15538).
7403
44256060
SM
7404 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7405
cc5da1ec
SM
7406 * vc/pcvs.el: Use lexical-binding.
7407 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7408 environment of `eval'.
7409 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7410 than a list of expressions. Adjust callers.
7411 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7412
0ea1599d
DG
74132013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7414
7415 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 7416 case of the dot in a chained method call being on the following line.
0ea1599d 7417
da3e5ebb
SM
74182013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7419
2abb4e65
SM
7420 * electric.el (electric-indent-inhibit): New var.
7421 (electric-indent-post-self-insert-function): Use it.
7422 * progmodes/python.el (python-mode): Set it.
7423
d2e0e795
SM
7424 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7425 open braces.
7426
7427 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7428
bdc6b4c8
SM
7429 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7430 (css-mode): Use electric-indent-chars.
7431
da3e5ebb
SM
7432 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7433 (font-lock-beg, font-lock-end): Move before first use.
7434 (nxml-mode): Use syntax-propertize-function.
7435 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7436 (nxml-extend-after-change-region): Remove.
7437 * nxml/xmltok.el: Use lexical-binding.
7438 (xmltok-save): Use `declare'.
7439 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7440 * nxml/nxml-util.el: Use lexical-binding.
7441 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7442 Use `declare'.
7443 * nxml/nxml-ns.el: Use lexical-binding.
7444 (nxml-ns-save): Use `declare'.
7445 (nxml-ns-prefixes-for): Avoid add-to-list.
7446 * nxml/rng-match.el: Use lexical-binding.
7447 (rng--ipattern): Use cl-defstruct.
7448 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7449 (rng-cons-group-after, rng-subst-group-after)
7450 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7451 Use closures instead of `(lambda...).
7452
f8f91d5d
MA
74532013-10-07 Michael Albinus <michael.albinus@gmx.de>
7454
7455 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7456 of BEG and END.
7457
da3e5ebb
SM
7458 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7459 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
7460 (tramp-gvfs-handle-insert-file-contents): Remove function.
7461
da3e5ebb
SM
7462 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7463 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
7464
7465 * net/trampver.el: Update release number.
7466
7ccae3b1
SM
74672013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7468
55ca2c0d
SM
7469 * progmodes/compile.el (compilation-parse-errors):
7470 Use compilation--put-prop.
7471 (compilation--ensure-parse): Check compilation-multiline.
7472
731fc3ae
SM
7473 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7474
da3e5ebb
SM
7475 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7476 lexical-binding.
a5833280 7477
2e7ba2c2
SM
7478 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7479
7ccae3b1
SM
7480 * progmodes/ruby-mode.el: Fix recently added tests.
7481 (ruby-smie-grammar): Add - and +.
7482 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7483 (ruby-smie--backward-id): New functions.
7484 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7485 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7486 any more.
7487
85698d63
LL
74882013-10-07 Leo Liu <sdl.web@gmail.com>
7489
7490 * register.el (register-preview-delay)
7491 (register-preview-functions): New variables.
7492 (register-read-with-preview, register-preview)
7493 (register-describe-oneline): New functions.
7494 (point-to-register, window-configuration-to-register)
7495 (frame-configuration-to-register, jump-to-register)
7496 (number-to-register, view-register, insert-register)
7497 (copy-to-register, append-to-register, prepend-to-register)
7498 (copy-rectangle-to-register): Use register-read-with-preview to
7499 read register. (Bug#15525)
7500
3986af6c
DS
75012013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7502
7503 * net/network-stream.el (network-stream-open-starttls): Don't add
7504 --insecure if it's already present, because that gnutls-cli
7505 rejects getting that parameter twice.
7506
5cd9cda9
DG
75072013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7508
7509 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7510 keyword, too.
7511
da9ea6d9
DG
75122013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7513
7514 * newcomment.el (comment-use-global-state): Change default value
7515 to t, mark obsolete (Bug#15251).
7516 (comment-beginning): In addition to `comment-to-syntax', check the
7517 value of `comment-use-global-state'.
7518
34d1a133
SM
75192013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7522 (ruby-comment-column): Follow the global default, by default.
7523 (ruby-smie-grammar): Add assignment syntax.
7524 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7525 open-paren, a comma, or a \.
7526 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7527 and line continuations.
7528 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7529 followed by implicit semi-colons. Add rule for string concatenation
7530 and for indentation at BOB.
27821a89 7531 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
7532
7533 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7534 calling next-sexp, since next-token may have skipped chars which
7535 next-sexp doesn't know should be skipped!
7536
6f6ab820
LL
75372013-10-05 Leo Liu <sdl.web@gmail.com>
7538
34d1a133
SM
7539 * progmodes/octave.el (octave-send-region):
7540 Call compilation-forget-errors.
6f6ab820 7541
34ca0f4c
XF
75422013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7543
7544 * vc/vc-svn.el (vc-svn-find-admin-dir):
7545 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7546 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7547 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7548 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7549
a27c1b72
SM
75502013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7553
258ab3bc
SM
75542013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7555
7556 * subr.el (read-passwd): Hide chars even when called within a context
7557 where after-change-functions is disabled (bug#15501).
7558 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7559 until we removed ourself from overriding-terminal-local-map.
7560
939fb29c
LL
75612013-10-04 Leo Liu <sdl.web@gmail.com>
7562
258ab3bc
SM
7563 * progmodes/octave.el (inferior-octave-mode):
7564 Call compilation-forget-errors.
939fb29c 7565
63bd7f35
XF
75662013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7567
7568 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7569
9e6229fa
MA
75702013-10-04 Michael Albinus <michael.albinus@gmx.de>
7571
7572 * net/secrets.el (secrets-create-collection): Add optional
7573 argument ALIAS. Use proper Label keyword. Append ALIAS as
7574 dbus-call-method argument. (Bug#15516)
7575
1dab32a3
LL
75762013-10-04 Leo Liu <sdl.web@gmail.com>
7577
7578 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7579 (inferior-octave-compilation-font-lock-keywords): New variables.
7580 (compilation-error-regexp-alist)
7581 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7582 (inferior-octave-mode): Use compilation-shell-minor-mode.
7583
6cad7ba3
JS
75842013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7585
7586 * minibuffer.el (completion--replace): Be careful that `end' might be
7587 a marker.
7588
acbadd00
DU
75892013-10-03 Daiki Ueno <ueno@gnu.org>
7590
7591 Add support for package signature checking.
7592 * emacs-lisp/package.el (url-http-file-exists-p)
7593 (epg-make-context, epg-context-set-home-directory)
7594 (epg-verify-string, epg-context-result-for)
7595 (epg-signature-status, epg-signature-to-string)
7596 (epg-check-configuration, epg-configuration)
7597 (epg-import-keys-from-file): Declare.
7598 (package-check-signature): New user option.
7599 (package-unsigned-archives): New user option.
7600 (package-desc): Add `signed' field.
7601 (package-load-descriptor): Set `signed' field if .signed file exists.
7602 (package--archive-file-exists-p): New function.
7603 (package--check-signature): New function.
7604 (package-install-from-archive): Check package signature.
7605 (package--download-one-archive): Check archive signature.
7606 (package-delete): Remove .signed file.
7607 (package-import-keyring): New command.
7608 (package-refresh-contents): Import default keyring.
7609 (package-desc-status): Add "unsigned" status.
7610 (describe-package-1, package-menu--print-info)
7611 (package-menu-mark-delete, package-menu--find-upgrades)
7612 (package-menu--status-predicate): Support "unsigned" status.
7613
adf2aa61
SM
76142013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7617 the new compilation scheme using the new byte-codes.
7618
7619 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7620 (byte-pophandler): New byte codes.
7621 (byte-goto-ops): Adjust accordingly.
7622 (byte-compile--use-old-handlers): New var.
7623 (byte-compile-catch): Use new byte codes depending on
7624 byte-compile--use-old-handlers.
7625 (byte-compile-condition-case--old): Rename from
7626 byte-compile-condition-case.
7627 (byte-compile-condition-case--new): New function.
7628 (byte-compile-condition-case): New function that dispatches depending
7629 on byte-compile--use-old-handlers.
7630 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7631 when we can.
7632
7633 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7634 Optimize under `condition-case' and `catch' if
7635 byte-compile--use-old-handlers is nil.
7636 (disassemble-offset): Handle new bytecodes.
7637
328a8179
SM
76382013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * subr.el (error): Use `declare'.
7641 (decode-char, encode-char): Use advertised-calling-convention instead
7642 of the docstring to discourage use of the `restriction' arg.
7643
15a1e936
DU
76442013-10-03 Daiki Ueno <ueno@gnu.org>
7645
7646 * epg.el (epg-verify-file): Add a comment saying that it does not
7647 notify verification error as a return value nor a signal.
7648 (epg-verify-string): Ditto.
7649
376f862a
KR
76502013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7651
7652 * progmodes/compile.el (compilation-start): Try globbing the arg to
7653 `cd' (bug#15417).
7654
a2f93a5f
MA
76552013-10-02 Michael Albinus <michael.albinus@gmx.de>
7656
7657 Sync with Tramp 2.2.8.
7658
7659 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7660 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7661 * net/trampver.el: Update release number.
7662
0daa0804
JD
76632013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7664
7665 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7666 and default-process-coding-system for darwin only.
7667
abd1ae34
SM
76682013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7671
be4e325d
MH
76722013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7673
7674 * vc/vc-git.el (vc-git-grep): Disable pager.
7675
e9155c4a
DG
76762013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7677
494e898b
DG
7678 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7679 Use :url instead of :homepage, as per
7680 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7681
e9155c4a
DG
7682 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7683 non-nil, use `syntax-ppss' (Bug#15251).
7684
481a8e0f
RS
76852013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7686
be4e325d
MH
7687 * progmodes/octave.el (inferior-octave-startup-file):
7688 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 7689
056453c6
DG
76902013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7691
be4e325d
MH
7692 * emacs-lisp/package.el (package-desc-from-define):
7693 Accept additional arguments as plist, convert them to an alist and store
7694 them in the `extras' slot.
056453c6
DG
7695 (package-generate-description-file): Convert extras alist back to
7696 plist and append to the `define-package' form arguments.
7697 (package--alist-to-plist): New function.
7698 (package--ac-desc): Add `extras' slot.
7699 (package--add-to-archive-contents): Check if the archive-contents
7700 vector is long enough, and if it is, pass its `extras' slot value
7701 to `package-desc-create'.
7702 (package-buffer-info): Call `lm-homepage', pass the returned value
7703 to `package-desc-from-define'.
7704 (describe-package-1): Render the homepage button (Bug#13291).
7705
be4e325d
MH
7706 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7707 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 7708
832966e5
JD
77092013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7710
7711 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7712 and default-process-coding-system to utf-8-unix (Bug#15402).
7713
6cfe977d
XF
77142013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7715
7716 * subr.el (looking-back): Do not recommend using looking-back.
7717
38de11bd
AM
77182013-09-28 Alan Mackenzie <acm@muc.de>
7719
7720 Fix indentation/fontification of Java enum with "implements".
7721
7722 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7723 regexp which matches "implements", etc., in Java.
7724 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7725 specifier clauses coming after "enum".
7726 * progmodes/cc-fonts.el (c-font-lock-declarations)
7727 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7728 after "enum".
7729
1610938f
JD
77302013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7731
7732 * faces.el (region): Change ns_selection_color to
7733 ns_selection_fg_color, add ns_selection_bg_color.
7734
e090f499
LL
77352013-09-28 Leo Liu <sdl.web@gmail.com>
7736
4d2e94d1
LL
7737 * progmodes/octave.el (inferior-octave-completion-table)
7738 (inferior-octave-completion-at-point): Minor tweaks.
7739
e090f499
LL
7740 * textmodes/ispell.el (ispell-lookup-words): Rename from
7741 lookup-words. (Bug#15460)
7742 (lookup-words): Obsolete.
7743 (ispell-complete-word, ispell-command-loop): All uses changed.
7744
7e138a62
RS
77452013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7746
a12bf61e 7747 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
7748 (octave-mode-menu): Add octave-send-buffer.
7749 (octave-send-buffer): New function.
7750
5af5ed08
RS
77512013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7752
a12bf61e 7753 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
7754 octave-lookfor.
7755 (octave-mode-menu): Add octave-lookfor.
7756 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7757 octave-lookfor.
7758 (octave-lookfor): New function.
7759
3b7b2692
SM
77602013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7761
35e951cd 7762 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
7763 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7764 its convention.
7765 (cl--loop-set-iterator-function): New function.
7766 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7767 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7768 Bind `it' with `let' instead of substituting it with `cl-subst'.
7769 (cl--unused-var-p): New function.
7770 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7771 Eliminate some unused variable warnings (bug#15326).
7772
529fb53f
TH
77732013-09-27 Tassilo Horn <tsdh@gnu.org>
7774
7775 * doc-view.el (doc-view-scale-reset): Rename from
7776 `doc-view-reset-zoom-level'.
7777 (doc-view-scale-adjust): New command.
7778 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7779 `doc-view-scale-adjust'.
7780
0550c95a
TH
77812013-09-26 Tassilo Horn <tsdh@gnu.org>
7782
7783 * doc-view.el (doc-view-reset-zoom-level): New command.
7784 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7785 zoom commands (bug#15466).
7786
6950f152
KH
77872013-09-26 Kenichi Handa <handa@gnu.org>
7788
7789 * international/quail.el (quail-help): Make it not a command.
7790
39587580
LL
77912013-09-26 Leo Liu <sdl.web@gmail.com>
7792
7793 * minibuffer.el (completion-all-sorted-completions): Make args
7794 optional as they are.
7795
00578659
DC
77962013-09-25 Daniel Colascione <dancol@dancol.org>
7797
7798 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7799 specs are and that they're not evaluated.
7800
0c173878
SS
78012013-09-24 Sam Steingold <sds@gnu.org>
7802
7803 * midnight.el (clean-buffer-list-kill-regexps)
7804 (clean-buffer-list-kill-buffer-names): Update for the new Man
7805 buffer naming which includes the object name.
7806
84998447
SM
78072013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7808
7809 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7810 (eshell-parse-command, eshell-parse-pipeline): Use it since
7811 eshell-separate-commands requires a dynamic scoped var.
7812 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7813
33215353
LL
78142013-09-23 Leo Liu <sdl.web@gmail.com>
7815
7816 * autoinsert.el (auto-insert-alist): Make the value of
7817 lexical-binding match its file setting.
7818
57b16162
JB
78192013-09-23 Juanma Barranquero <lekktu@gmail.com>
7820
c8af4e67
JB
7821 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7822
57b16162
JB
7823 * autoarg.el (autoarg-kp-digit-argument):
7824 * electric.el (Electric-command-loop):
7825 * kmacro.el (kmacro-step-edit-insert):
7826 Do not set universal-argument-num-events.
7827
7186ba60
LL
78282013-09-22 Leo Liu <sdl.web@gmail.com>
7829
7830 * files.el (interpreter-mode-alist): Add octave.
7831
ece15004
AM
78322013-09-21 Alan Mackenzie <acm@muc.de>
7833
7834 C++: fontify identifier in declaration following "public:" correctly.
7835 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7836 to match "public", etc.
7837 (c-decl-prefix-re): Add ":" into the C++ value.
7838 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7839 bit. Add a check for a ":" preceded by "public", etc.
7840
75d83e22
EZ
78412013-09-21 Eli Zaretskii <eliz@gnu.org>
7842
7843 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7844 recognized by GDB 7.5 and later.
7845
d052d3bd
XF
78462013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7847
7848 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7849
31dca772
R
78502013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * subr.el (internal--call-interactively): New const.
7853 (called-interactively-p): Use it (bug#3984).
7854
98ccf24e
XF
78552013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7856
7857 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
7858 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7859 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 7860
c39cc7d1
SM
78612013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7864 (eshell-ls-orig-insert-directory): Remove.
7865 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7866 (eshell-ls-use-in-dired): Use advice-add/remove.
7867 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7868 Add `orig-fun' arg for use in :around advice.
7869 Make it check (redundantly) eshell-ls-use-in-dired.
7870
9a0289a2
GM
78712013-09-19 Glenn Morris <rgm@gnu.org>
7872
a2c501b8
GM
7873 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7874
c440407a
GM
7875 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7876
9a0289a2
GM
7877 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7878
85e05915
MA
78792013-09-19 Michael Albinus <michael.albinus@gmx.de>
7880
7881 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7882 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7883 (tramp-get-remote-python): New defuns.
7884 (tramp-get-remote-uid-with-perl)
7885 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7886 contributed by yary <not.com@gmail.com> (tiny change).
7887 (tramp-get-remote-uid-with-python)
7888 (tramp-get-remote-gid-with-python): New defuns. Python code
7889 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7890 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7891
ce503312
GM
78922013-09-19 Glenn Morris <rgm@gnu.org>
7893
f7544773
GM
7894 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7895
72fd2877
GM
7896 * eshell/em-unix.el (eshell-remove-entries):
7897 Rename argument to avoid name-clash with global `top-level'.
7898
336b5a56
GM
7899 * eshell/esh-proc.el (eshell-kill-process-function):
7900 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7901 (eshell-reset-after-proc): Remove unused arg `proc'.
7902
57a3a53d
GM
7903 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7904 (directory-files-and-attributes): Mark unused arg.
7905
3261d4af
GM
7906 * eshell/em-unix.el (eshell-remove-entries):
7907 Remove unused arg `path'. Update callers.
7908
8e51b5d0
GM
7909 * eshell/em-hist.el (eshell-hist-parse-arguments):
7910 Remove unused arg `silent'. Update callers.
7911
ce503312
GM
7912 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7913 Fix (f)boundp mix-up.
7914
7915 * eshell/em-smart.el (eshell-smart-scroll-window)
7916 (eshell-disable-after-change):
336b5a56 7917 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 7918
ee3ce8a7
AM
79192013-09-18 Alan Mackenzie <acm@muc.de>
7920
7921 Fix fontification of type when followed by "const".
7922 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7923 "known" types from fontification.
7924
ec9177ba
GM
79252013-09-18 Glenn Morris <rgm@gnu.org>
7926
7bb3e768
GM
7927 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7928 (chart-face-list): Drop Emacsen without display-color-p.
7929
5148da15
GM
7930 * net/eww.el (libxml-parse-html-region): Declare.
7931 (eww-display-html): Explicit error if no libxml2 support.
7932
2f68e157
GM
7933 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7934
9019d095
GM
7935 * image.el (image-type-from-buffer, image-multi-frame-p):
7936 Remove --without-x warning/error.
67645389 7937
5f30349b 7938 * mouse.el (mouse-yank-primary):
45069b2e 7939 * term.el (term-mouse-paste):
5f30349b
GM
7940 Reorder to silence --without-x compilation.
7941
cd8edbbe
GM
7942 * mpc.el (doc-view-mode): Silence --without-x compilation.
7943
8a78544e
GM
7944 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7945 Silence --without-x compilation.
7946
12679bfd
GM
7947 * progmodes/gud.el (gud-find-file, gud-mode):
7948 Silence --without-x compilation.
7949 (tooltip-mode): Declare.
30810a05 7950
f0047cb9
GM
7951 * wdired.el (dired-backup-overwrite): Remove declaration.
7952 (wdired-mode-map): Add doc string.
7953
e740f9d2
GM
7954 * custom.el (x-get-resource): Declare.
7955
92d77c89
GM
7956 * eshell/em-glob.el (ange-cache):
7957 * eshell/em-unix.el (ange-cache): Declare.
7958
76e69577
GM
7959 * faces.el (x-display-list, x-open-connection, x-get-resource):
7960 Declare.
7e58af4b
GM
7961
7962 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7963 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7964 Declare.
76e69577 7965
4bd4c0af 7966 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 7967
ffb82dbd
GM
7968 * net/gnutls.el (gnutls-log-level): Declare.
7969
986ed135
GM
7970 * net/shr.el (image-size, image-animate): Declare.
7971
e740f9d2
GM
7972 * simple.el (font-info): Declare.
7973
d2f3e9f8
GM
7974 * subr.el (x-popup-dialog): Declare.
7975
047a1a4c
GM
7976 * term/common-win.el (x-select-enable-primary)
7977 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7978 Declare.
7979
f4a1d572
GM
7980 * term/ns-win.el (x-handle-args): Declare.
7981
e843de77
GM
7982 * term/x-win.el (x-select-enable-clipboard): Declare.
7983
5fa89513
GM
7984 * term/w32-win.el (create-default-fontset): Declare.
7985
38702b5b
GM
7986 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7987 Declare.
7988
e740f9d2
GM
7989 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7990 (fit-frame-to-buffer): Explicit error if --without-x.
7991 (mouse-autoselect-window-select): Silence compiler.
7992
49a053fc
GM
7993 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7994
7995 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7996 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7997 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 7998 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
7999 Remove unused local variables.
8000
8001 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8002
ec9177ba
GM
8003 * textmodes/two-column.el: Make 2C-split work for --without-x.
8004 (scroll-bar-columns): Autoload.
8005 (top-level): Require fringe when compiling.
8006
9f25cb77
LL
80072013-09-18 Leo Liu <sdl.web@gmail.com>
8008
8009 * subr.el (add-hook): Robustify to handle closure as well.
8010
2b42da98
GM
80112013-09-17 Glenn Morris <rgm@gnu.org>
8012
8013 * simple.el (messages-buffer-mode-map): Unbind "g".
8014
e8b66a6a
SM
80152013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8016
9c0ad4f7
SM
8017 * help-mode.el (help-mode-finish): Use derived-mode-p.
8018 Remove obsolete highlighting.
8019
7a806dfb
SM
8020 * play/life.el (life-mode): Use define-derived-mode. Derive from
8021 special-mode.
8022 (life): Let-bind inhibit-read-only.
8023 (life-setup): Avoid `setq'. Use `life-mode'.
8024
96dbf5a8
SM
8025 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8026 which should not be needed any more.
8027 (package-menu-refresh, package-menu-describe-package): Use user-error.
8028
e8b66a6a
SM
8029 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8030 (eshell-post-rewrite-command-hook): Make obsolete.
8031 (eshell-parse-command): Simplify.
8032 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8033 (eshell--cmd): Declare.
8034 (eshell-parse-pipeline): Remove unused var `final-p'.
8035 Pass a dynvar to eshell-post-rewrite-command-hook.
8036 Implement the new eshell-post-rewrite-command-function.
8037 (eshell-invoke-directly): Remove unused arg `input'.
8038 * eshell/esh-io.el (eshell-io-initialize):
8039 Use eshell-post-rewrite-command-function (bug#15399).
8040 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8041 adjust to new calling convention.
8042 (eshell-create-handles): Rename args to avoid clashing with dynvar
8043 `standard-output'.
8044
90582f05
GM
80452013-09-17 Glenn Morris <rgm@gnu.org>
8046
8047 * simple.el (messages-buffer-mode): New major mode.
8048 (messages-buffer): New function.
8049 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8050 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 8051 (ert-run-test): Use `messages-buffer' function.
90582f05 8052 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
8053 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8054 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 8055
39eb0cb5 80562013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
8057
8058 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8059
1d42e5b6 8060 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 8061
70568a90
SM
80622013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8063
504a0381
SM
8064 * icomplete.el (icomplete-in-buffer): New var.
8065 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8066 vars and replace them with functions.
8067 (icomplete-minibuffer-setup): Adjust accordingly.
8068 (icomplete--completion-table, icomplete--completion-predicate)
8069 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8070 New functions.
8071 (icomplete-forward-completions, icomplete-backward-completions)
8072 (icomplete-simple-completing-p, icomplete-exhibit)
8073 (icomplete-completions): Use them.
8074 (icomplete--in-region-buffer): New var.
8075 (icomplete--in-region-setup): New function.
8076 (icomplete-mode): Use it.
8077
70568a90
SM
8078 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8079 (bug#15379).
8080 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8081 return args and options.
8082 (eshell-eval-using-options): Use the new return value of
8083 eshell--do-opts to set the options's vars in their scope.
8084 (eshell--set-option): Rename from eshell-set-option.
8085 Add arg `opt-vals'.
8086 (eshell--process-option): Rename from eshell-process-option.
8087 Add arg `opt-vals'.
8088 (eshell--process-args): Use an `opt-vals' alist to store the options's
8089 values during their processing and return them additionally to the
8090 remaining args.
8091
578c21bc
DG
80922013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8093
8094 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8095 continuation character an operator, as far as indentation is
8096 concerned (Bug#15369).
8097
c089653d
MR
80982013-09-15 Martin Rudalics <rudalics@gmx.at>
8099
8100 * window.el (window--state-put-2): Don't process buffer state
8101 when buffer doesn't exist any more (Bug#15382).
8102
1e53bb4b
GM
81032013-09-15 Glenn Morris <rgm@gnu.org>
8104
30753242
GM
8105 * eshell/em-unix.el (eshell/rm):
8106 Make -f ignore missing files. (Bug#15373)
8107
1e53bb4b
GM
8108 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8109 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8110 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8111
0d8863b3
GM
81122013-09-14 Glenn Morris <rgm@gnu.org>
8113
8114 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8115
d3fc6549
GM
81162013-09-13 Glenn Morris <rgm@gnu.org>
8117
8118 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8119 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8120
fcd42c11
DA
81212013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8122
8123 * frame.el (x-focus-frame): Mark as declared in frame.c.
8124
7830899f
SM
81252013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8126
8127 * ls-lisp.el: Use advice-add.
8128 (original-insert-directory): Remove.
8129 (ls-lisp--insert-directory): Rename from insert-directory; add
8130 `orig-fun' argument.
8131 (insert-directory): Advise.
8132
84387cd2
EZ
81332013-09-13 Eli Zaretskii <eliz@gnu.org>
8134
8135 * term.el (term-emulate-terminal): Decode the command string
8136 before passing it to term-command-hook. (Bug#15337)
8137
35ffc6ba
GM
81382013-09-13 Glenn Morris <rgm@gnu.org>
8139
5c3f9bcc
GM
8140 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8141
2ada368a
GM
8142 * eshell/esh-ext.el (eshell-search-path): Declare.
8143
fcef2e13
GM
8144 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8145 Otherwise an error occurs if eshell-dirs module not loaded.
8146
35ffc6ba
GM
8147 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8148
35c3d36e
MA
81492013-09-13 Michael Albinus <michael.albinus@gmx.de>
8150
8151 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8152 `tramp-check-proper-host'. Check for a valid method name.
8153
8154 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8155 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8156 * net/tramp-sh.el (tramp-maybe-open-connection):
8157 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8158
8159 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8160 also for hash values.
8161
ae5e4c48
SM
81622013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8163
379add74
SM
8164 * term/ns-win.el (parameters): Don't declare as dynamic.
8165 (before-make-frame-hook): Don't add ineffective function.
8166
ae5e4c48
SM
8167 * eshell/*.el: Use lexical-binding (bug#15231).
8168
b5623270
KH
81692013-09-12 Kenichi Handa <handa@gnu.org>
8170
ae5e4c48 8171 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 8172
30213927
GM
81732013-09-12 Glenn Morris <rgm@gnu.org>
8174
be94d713 8175 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 8176 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 8177
44915370
GM
8178 * subr.el (do-after-load-evaluation): Also give compiler warnings
8179 when obsolete files are used (except by obsolete files).
8180
a6ae021f
GM
8181 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8182 in the status output, assume `filename' is the first. (Bug#15322)
8183
40e64f0c
GM
8184 * vc/vc.el (vc-deduce-fileset): Doc fix.
8185
16d9f896
GM
8186 * calc/calc-help.el (Info-goto-node):
8187 * progmodes/cperl-mode.el (Info-find-node):
8188 * vc/ediff.el (Info-goto-node): Update declarations.
8189
dea01c6e
GM
8190 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8191
759880bf 8192 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
8193 (vc-bzr-pull): Require vc-dispatcher.
8194 * vc/vc-git.el (vc-compilation-mode): Declare.
8195 (vc-git-pull): Require vc-dispatcher.
8196
08d66420
GM
8197 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8198
30b626e9
GM
8199 * progmodes/octave.el (help-button-action): Declare.
8200
8c05cb10
GM
8201 * shell.el (shell-directory-tracker): Output error as a message
8202 rather than just returning it as a string.
8203 (shell-process-pushd): Remove useless use of message.
8204
30213927
GM
8205 * dframe.el (dframe-timer-fn):
8206 * files.el (dir-locals-read-from-file):
8207 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8208 (mpc-format):
8209 * reveal.el (reveal-post-command):
8210 * saveplace.el (load-save-place-alist-from-file):
8211 * shell.el (shell-resync-dirs):
8212 * w32-common-fns.el (x-get-selection-value):
8213 * emacs-lisp/copyright.el (copyright-find-copyright):
8214 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8215 * emulation/tpu-edt.el (tpu-copy-keyfile):
8216 * play/bubbles.el (bubbles--mark-neighbourhood):
8217 * progmodes/executable.el
8218 (executable-make-buffer-file-executable-if-script-p):
8219 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8220
d3b049e6
SM
82212013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8222
170266d0
SM
8223 Cleanup Eshell to rely less on dynamic scoping.
8224 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8225 last-value, and ext-command here. Bind `args' closer to `body'.
8226 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8227 (eshell--args): Declare new dynamic var.
8228 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8229 last-value, and ext-command. Pass `args' to `body'.
8230 (eshell-process-args): Bind eshell--args.
8231 (eshell-set-option): Use eshell--args.
8232 * eshell/eshell.el (eshell): Use derived-mode-p.
8233 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8234 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8235 (eshell-glob-function): Declare.
8236 * eshell/esh-util.el: Require cl-lib.
8237 (eshell-read-hosts-file): Avoid add-to-list.
8238 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8239 `err'.
8240 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8241 Declare.
8242 (eshell/diff): Remove unused var `err'.
8243 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8244 `killflag'.
8245 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8246 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8247 first use.
8248 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8249 Move declaration before first use.
8250 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
8251 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8252 rely on cl-return.
8253
56834f3b
GM
82542013-09-12 Glenn Morris <rgm@gnu.org>
8255
8256 * term/ns-win.el (global-map): Remove binding for ispell-next,
8257 deleted 1999-05-29. (Bug#15357)
8258
5c91a2b8
GM
82592013-09-11 Glenn Morris <rgm@gnu.org>
8260
da712f22
GM
8261 * echistory.el (electric-command-history): Remove call to deleted func.
8262
512e4cdc
GM
8263 * play/landmark.el (landmark-mode): Fix typos.
8264
d3506ca5
GM
8265 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8266 Check cvs-sort-ignore-file is bound.
8267
5c91a2b8
GM
8268 * savehist.el: No need for cl when compiling on Emacs.
8269
feeff482
SM
82702013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8271
656bd483
SM
8272 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8273 (bug#15338).
d3b049e6
SM
8274 (eshell-self-insert-command, eshell-send-invisible):
8275 Remove unused argument.
656bd483
SM
8276 (eshell-handle-control-codes): Remove unused var `orig'.
8277 Avoid delete-backward-char.
8278
feeff482
SM
8279 * files.el (set-auto-mode): Simplify a bit further.
8280
2a08047a
GM
82812013-09-11 Glenn Morris <rgm@gnu.org>
8282
8283 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8284 (set-auto-mode): Don't regexp-quote elements.
8285 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8286 * progmodes/cc-mode.el (interpreter-mode-alist):
8287 * progmodes/ruby-mode.el (interpreter-mode-alist):
8288 Revert previous change.
8289
34675540
SM
82902013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8291
1b3b87df
SM
8292 * play/snake.el (snake-mode):
8293 * play/mpuz.el (mpuz-mode):
8294 * play/landmark.el (lm-mode):
8295 * play/blackbox.el (blackbox-mode):
8296 * play/5x5.el (5x5-mode):
8297 * obsolete/options.el (Edit-options-mode):
8298 * net/quickurl.el (quickurl-list-mode):
8299 * net/newst-treeview.el (newsticker-treeview-mode):
8300 * mail/rmailsum.el (rmail-summary-mode):
8301 * mail/mspools.el (mspools-mode):
8302 * locate.el (locate-mode):
8303 * ibuffer.el (ibuffer-mode):
8304 * emulation/ws-mode.el (wordstar-mode):
8305 * emacs-lisp/debug.el (debugger-mode):
8306 * array.el (array-mode):
8307 * net/eudc.el (eudc-mode): Use define-derived-mode.
8308 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8309 Move initialization into declaration.
8310 (mairix-searches-mode): Use define-derived-mode.
8311 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8312 (eudc-edit-hotlist): Use dolist.
8313 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8314 (Man-mode): Use define-derived-mode.
8315 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8316 (Info-edit-mode): Use define-derived-mode.
8317 (Info-cease-edit): Use Info-mode.
8318 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8319 into declaration.
8320 (eshell-mode): Use define-derived-mode.
8321 * chistory.el (command-history-mode-map): Rename from
8322 command-history-map.
8323 (command-history-mode): Use define-derived-mode.
da712f22 8324 (Command-history-setup): Remove function.
1b3b87df
SM
8325 * calc/calc.el (calc-trail-mode-map): New var.
8326 (calc-trail-mode): Use define-derived-mode.
8327 (calc-trail-buffer): Set calc-main-buffer manually.
8328 * bookmark.el (bookmark-insert-annotation): New function.
8329 (bookmark-edit-annotation): Use it.
8330 (bookmark-edit-annotation-mode): Make it a proper major mode.
8331 (bookmark-send-edited-annotation): Use derived-mode-p.
8332 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8333 closer to its ideal place. Use \' to match EOS.
8334
34675540
SM
8335 * profiler.el (profiler-calltree-find): Use function-equal.
8336
6a5c15d9
GM
83372013-09-10 Glenn Morris <rgm@gnu.org>
8338
1af4c220
GM
8339 * files.el (interpreter-mode-alist): Convert to regexps.
8340 (set-auto-mode): Adapt for this. (Bug#15306)
8341 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8342 Comment out unused variable.
8343 * progmodes/cc-mode.el (interpreter-mode-alist):
8344 * progmodes/python.el (interpreter-mode-alist):
8345 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8346 * progmodes/sh-script.el (sh-set-shell):
8347 No longer use interpreter-mode-alist to get list of shells.
8348
6a5c15d9
GM
8349 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8350
8c27f5ff
SM
83512013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8352
02ef6c1a 8353 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 8354 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8355 Bind switch-frame explicitly. Replace universal-argument-minus with
8356 a conditional binding.
8357 (universal-argument-num-events, saved-overriding-map): Remove.
8358 (restore-overriding-map): Remove.
8359 (universal-argument--mode): Rename from save&set-overriding-map,
8360 and rewrite.
8361 (universal-argument, universal-argument-more, negative-argument)
8362 (digit-argument): Adjust accordingly.
8363 (universal-argument-minus): Remove.
8364 (universal-argument-other-key): Remove.
8365
8c27f5ff
SM
8366 * subr.el (with-demoted-errors): Add `format' argument.
8367
6480194c
MA
83682013-09-10 Michael Albinus <michael.albinus@gmx.de>
8369
8370 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8371 `tramp-cleanup-connection'.
8372
8373 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8374 parameters KEEP-DEBUG and KEEP-PASSWORD.
8375
8376 * net/tramp.el (tramp-file-name-handler):
8377 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8378 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8379 (tramp-maybe-open-connection):
8c27f5ff
SM
8380 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8381 Use `tramp-cleanup-connection'.
6480194c 8382
8c27f5ff
SM
8383 * net/tramp-sh.el (tramp-maybe-open-connection):
8384 Catch 'uname-changed inside the progress reporter.
6480194c 8385
e5e916d8
GM
83862013-09-10 Glenn Morris <rgm@gnu.org>
8387
9a2c9b47
GM
8388 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8389
e5e916d8
GM
8390 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8391 returns "alternate access method" in mode (eg "-rw-r--r--.").
8392
144e38fe
GM
83932013-09-08 Glenn Morris <rgm@gnu.org>
8394
8395 * saveplace.el (load-save-place-alist-from-file):
8396 Demote errors. (Bug#15305)
8397
af9ff9e8
MA
83982013-09-08 Michael Albinus <michael.albinus@gmx.de>
8399
8400 Improve compatibility with older Emacsen, and XEmacs.
8401
8402 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8403 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
8404 (with-tramp-progress-reporter): Do not let-bind `result'.
8405 This yields to scoping errors in XEmacs.
af9ff9e8
MA
8406 (tramp-handle-make-auto-save-file-name): New function, moved from
8407 tramp-sh.el.
8408
8409 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8410 for `make-auto-save-file-name'.
8c27f5ff
SM
8411 (tramp-adb--gnu-switches-to-ash):
8412 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8413
8414 * net/tramp-cache.el (tramp-cache-print): Call
8415 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8416
8417 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8418 bound. It isn't for XEmacs.
8419
8c27f5ff
SM
8420 * net/tramp-compat.el (tramp-compat-copy-file):
8421 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
8422 (tramp-compat-replace-regexp-in-string): New defun.
8423
8424 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8425 for `make-auto-save-file-name'.
8426 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8427 `copy-file'.
8428 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8429 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8430 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8431
8c27f5ff
SM
8432 * net/tramp-gw.el (tramp-gw-open-network-stream):
8433 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 8434
8c27f5ff
SM
8435 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8436 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
8437 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8438 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
8439 (tramp-sh-file-inotifywait-process-filter):
8440 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8441 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8442
8443 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8444 for `make-auto-save-file-name'.
8c27f5ff
SM
8445 (tramp-smb-handle-copy-directory):
8446 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8447 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8448 (tramp-smb-handle-copy-file): Improve error message.
8449 (tramp-smb-handle-rename-file): Rename directly only in case
8450 `newname' does not exist yet. This is a restriction of smbclient.
8451 (tramp-smb-maybe-open-connection): Rerun the function only when
8452 `auth-sources' is non-nil.
8453
0ca754d0
KH
84542013-09-08 Kenichi Handa <handa@gnu.org>
8455
e0eb0550 8456 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
8457 more characters.
8458
e8dd0787
AM
84592013-09-07 Alan Mackenzie <acm@muc.de>
8460
8461 Correctly fontify Java class constructors.
8462 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8463 in Java Mode.
8464 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
8465 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8466 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
8467 "typeless" declaration there.
8468
f2f248e7
RW
84692013-09-07 Roland Winkler <winkler@gnu.org>
8470
8471 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8472 field subtitle for entry type book.
8473
67982e2b
SM
84742013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * minibuffer.el: Make minibuffer-complete call completion-in-region
8477 rather than other way around.
8478 (completion--some, completion-pcm--find-all-completions):
8479 Don't delay signals when debugging.
8480 (minibuffer-completion-contents): Beware fields within the
8481 minibuffer contents.
8482 (completion-all-sorted-completions): Use defvar-local.
8483 (completion--do-completion, completion--cache-all-sorted-completions)
8484 (completion-all-sorted-completions, minibuffer-force-complete):
8485 Add args `beg' and `end'.
8486 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8487 (minibuffer-complete): Use completion-in-region.
8488 (completion-complete-and-exit): New fun, extracted from
8489 minibuffer-complete-and-exit.
8490 (minibuffer-complete-and-exit): Use it.
8491 (completion--complete-and-exit): Rename from
8492 minibuffer--complete-and-exit.
8493 (completion-in-region--single-word): New function, extracted from
8494 minibuffer-complete-word.
8495 (minibuffer-complete-word): Use it.
8496 (display-completion-list): Make `common-substring' argument obsolete.
8497 (completion--in-region): Call completion--in-region-1 instead of
8498 minibuffer-complete.
8499 (completion-help-at-point): Pass boundaries to
8500 minibuffer-completion-help as args rather than via an overlay.
8501 (completion-pcm--string->pattern): Use `any-delim'.
8502 (completion-pcm--optimize-pattern): New function.
8503 (completion-pcm--pattern->regex): Handle `any-delim'.
8504 * icomplete.el (icomplete-forward-completions)
8505 (icomplete-backward-completions, icomplete-completions):
8506 Adjust calls to completion-all-sorted-completions and
8507 completion--cache-all-sorted-completions.
8508 (icomplete-with-completion-tables): Default to t.
8509 * emacs-lisp/crm.el (crm--current-element): Rename from
8510 crm--select-current-element. Don't put an overlay but return the
8511 boundaries instead.
8512 (crm--completion-command): Take two new args to bind to the boundaries.
8513 (crm-completion-help): Adjust accordingly.
8514 (crm-complete): Use completion-in-region.
8515 (crm-complete-word): Use completion-in-region--single-word.
8516 (crm-complete-and-exit): Use completion-complete-and-exit.
8517
e17d94a5
SM
85182013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8521 than dynamically.
8522
96727100
JL
85232013-09-06 Juri Linkov <juri@jurta.org>
8524
8525 * info.el (Info-display-images-node): When image file doesn't exist
8526 display text version of the image if it's provided in the Info file.
8527 Otherwise, display the location of missing image from SRC attribute.
8528 Add help-echo text property from ALT attribute. (Bug#15279)
8529
86cf7329
SM
85302013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8533 (edit-abbrevs-mode): Use define-derived-mode.
8534
8535 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8536 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8537 that it's defined.
8538 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8539 Use define-derived-mode.
8540
8541 * epg.el (epg-start-encrypt): Minor CSE simplification.
8542
816244a2
WX
85432013-09-06 William Xu <william.xwl@gmail.com>
8544
8545 * arc-mode.el: Add support for 7za (bug#15264).
8546 (archive-7z-program): New var.
8547 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8548 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8549 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8550
1486fa31
MA
85512013-09-06 Michael Albinus <michael.albinus@gmx.de>
8552
8553 Remove URL syntax.
8554
8555 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8556 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8557 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8558 (tramp-postfix-host-format, tramp-file-name-regexp)
8559 (tramp-completion-file-name-regexp)
8560 (tramp-completion-dissect-file-name)
8561 (tramp-handle-substitute-in-file-name): Remove 'url case.
8562 (tramp-file-name-regexp-url)
8563 (tramp-completion-file-name-regexp-url): Remove constants.
8564
39785324
GM
85652013-09-06 Glenn Morris <rgm@gnu.org>
8566
8567 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8568
1f896cb7
DG
85692013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8570
8571 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8572 keywords" below "here-doc beginnings" (Bug#15270).
8573
c0458e0b
SM
85742013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 * subr.el (pop): Use `car-safe'.
8577 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8578 to detect unused `pop' return value.
8579
8580 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8581 var `block-regexp'.
8582 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8583 (python-fill-string): Remove unused var `marker'.
8584 (python-skeleton-add-menu-items): Remove unused var `items'.
8585
8586 * international/mule-cmds.el: Require CL.
8587 (find-coding-systems-for-charsets): Avoid add-to-list.
8588 (sanitize-coding-system-list): New function, extracted from
8589 select-safe-coding-system-interactively.
8590 (select-safe-coding-system-interactively): Use it.
8591 (read-input-method-name): Accept symbols for `default'.
8592
8593 * emacs-lisp/advice.el (defadvice): Add indent rule.
8594
6c42fc3e
DH
85952013-09-05 Daniel Hackney <dan@haxney.org>
8596
8597 * dired-x.el:
8598 * net/ange-ftp.el:
8599 * net/browse-url.el:
8600 * net/dbus.el:
8601 * net/eudc.el:
8602 * net/eudcb-ldap.el:
8603 * net/eww.el:
8604 * net/imap.el:
8605 * printing.el:
8606 * vc/ediff-diff.el:
8607 * vc/ediff-init.el:
8608 * vc/ediff-merg.el:
8609 * vc/ediff-mult.el:
8610 * vc/ediff-util.el:
8611 * vc/ediff-wind.el:
8612 * vc/ediff.el:
8613 * vc/emerge.el:
8614 * vc/pcvs.el:
8615 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8616 byte compiler. Remove some unused let-bound variables.
8617
4c528aab
SM
86182013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8621 a "ref-cell", since it gets better optimized (bug#14883).
8622
bd15c390
GM
86232013-09-05 Glenn Morris <rgm@gnu.org>
8624
8625 * progmodes/cc-awk.el (c-forward-sws): Declare.
8626
1c3ac2e5
GM
86272013-09-04 Glenn Morris <rgm@gnu.org>
8628
8629 * generic-x.el [rul-generic-mode]: Require cc-mode.
8630 (c++-mode-syntax-table): Declare.
8631 (rul-generic-mode-syntax-table): Init in the defvar.
8632
52b1cc79
SM
86332013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8634
c828af56
SM
8635 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8636 (vc-do-command, vc-set-async-update):
8637 * vc/vc-mtn.el (vc-mtn-dir-status):
8638 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8639 (vc-hg-pull, vc-hg-merge-branch):
8640 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8641 (vc-git-merge-branch):
8642 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8643 (vc-cvs-dir-status-files):
8644 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8645 (vc-bzr-dir-status-files):
8646 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8647 * vc/vc-annotate.el: Use lexical-binding.
8648 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8649 (vc-sentinel-movepoint): Declare.
8650 (vc-annotate): Don't use `goto-line'.
8651 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8652 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8653 (vc-sentinel-movepoint): Declare.
8654 * vc/vc-svn.el: Use lexical-binding.
8655 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8656 * vc/vc-sccs.el:
8657 * vc/vc-rcs.el: Use lexical-binding.
8658
abae272c
SM
8659 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8660 `deleted'. Don't drop errors silently.
8661
52b1cc79
SM
8662 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8663
63191d9f
XF
86642013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8665
8666 * vc/vc.el (vc-ignore): Rewrite.
8667 (vc-default-ignore): New function.
8668 (vc-default-ignore-completion-table): Use find-ignore-file.
8669
8670 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8671 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8672 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8673 Remove. Most code moved to vc.el.
8674
9d3f707c
SM
86752013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8676
abae272c 8677 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
8678 * net/tramp-smb.el (tramp-smb-get-file-entries):
8679 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8680 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8681
fde38d49
SM
8682 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8683 Update call to it.
8684 (eww-change-select): Remove unused var `properties'.
8685 (eww-make-unique-file-name): Remove unused var `base'.
8686
8687 * finder.el (finder-compile-keywords): Don't mess with windows.
8688
84032db7
SM
8689 * calculator.el (calculator-funcall): Fix typo in last change.
8690
724f5e41
SM
8691 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8692
14b511d4
SM
8693 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8694 <pkg>-autoloads.el file stop us.
8695
9d3f707c 8696 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 8697 warnings, and factor out common code.
9d3f707c 8698
88527bc0
DG
86992013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8700
8701 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8702 two-character operators and whether the character preceding them
8703 changes their meaning (Bug#15208).
8704
96edb677
FEG
87052013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8706
8707 Format code sent to Python shell for robustness.
9d3f707c
SM
8708 * progmodes/python.el (python-shell-buffer-substring):
8709 New function.
96edb677
FEG
8710 (python-shell-send-region, python-shell-send-buffer): Use it.
8711
95beaef3
MA
87122013-09-02 Michael Albinus <michael.albinus@gmx.de>
8713
8714 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8715 * net/tramp.el (tramp-user-error): ... here.
8716 (tramp-find-method, tramp-check-proper-host)
8717 (tramp-dissect-file-name, tramp-debug-message)
8718 (tramp-handle-shell-command):
8719 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8720 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8721
8722 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8723
f167c27b
MR
87242013-09-02 Martin Rudalics <rudalics@gmx.at>
8725
8726 * avoid.el (mouse-avoidance-point-position)
8727 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8728 returns nil.
8729
cd16c5f1
FEG
87302013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8731
8732 * progmodes/python.el (python-shell-completion-get-completions):
8733 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 8734 (python-nav-if-name-main): New command.
cd16c5f1 8735
e73c3a0d
GM
87362013-09-01 Glenn Morris <rgm@gnu.org>
8737
f8ccce03
GM
8738 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8739 Avoid leading space in $wins. Otherwise the sed command used by
8740 eg compile-main ends up containing "/*.el". (Bug#15170)
8741
e73c3a0d
GM
8742 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8743
415f808e
GM
87442013-08-30 Glenn Morris <rgm@gnu.org>
8745
8746 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8747 Fix is-this-a-directory logic. (Bug#15220)
8748
f069bba8
SM
87492013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8750
112798c1
SM
8751 * textmodes/css-mode.el: Use SMIE.
8752 (css-smie-grammar): New var.
8753 (css-smie--forward-token, css-smie--backward-token)
8754 (css-smie-rules): New functions.
8755 (css-mode): Use them.
8756 (css-navigation-syntax-table): Remove var.
8757 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8758 (css-indent-calculate, css-indent-line): Remove functions.
8759
8760 Misc changes to reduce use of `(lambda...); and other cleanups.
8761 * cus-edit.el: Use lexical-binding.
8762 (customize-push-and-save, customize-apropos)
8763 (custom-buffer-create-internal): Use closures.
8764 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8765 * progmodes/ada-xref.el: Use setq.
8766 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8767 * dframe.el: Use lexical-binding.
8768 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8769 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8770 * descr-text.el: Use lexical-binding.
8771 (describe-text-widget, describe-text-sexp, describe-property-list):
8772 Use closures.
8773 * comint.el (comint-history-isearch-push-state): Use a closure.
8774 * calculator.el: Use lexical-binding.
8775 (calculator-number-to-string): Make it work with lexical-binding.
8776 (calculator-funcall): Same and use cl-letf.
8777
2da4c3ab
SM
8778 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8779 (lisp--company-doc-string, lisp--company-location): New functions.
8780 (lisp-completion-at-point): Use them to improve Company support.
8781
f069bba8
SM
8782 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8783 params of lambda expressions.
8784 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8785 (ruby-smie--opening-pipe-p): New function.
8786 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8787 symbols and matched |...| for formal params.
8788 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8789 from being treated as hanging. Handle "rescue".
8790
6758b6a8
GM
87912013-08-29 Glenn Morris <rgm@gnu.org>
8792
8793 * progmodes/cc-engine.el (c-pull-open-brace):
8794 Move definition before use.
8795
e8dfd197
SM
87962013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8797
8798 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8799 are immutable. Don't use `unsafe' any more.
8800 (cl--defsubst-expand): Don't substitute at the same time as keeping
8801 a residual unused let-binding. Don't use `unsafe' any more.
8802
cc585c96
GM
88032013-08-29 Glenn Morris <rgm@gnu.org>
8804
ba579ea6
GM
8805 * calendar/cal-china.el (calendar-chinese-year-cache):
8806 Recenter on 2015.
8807
8201a87e
GM
8808 * nxml/nxml-util.el (nxml-debug-clear-inside):
8809 Use cl-loop rather than loop.
8810
6ee877c7
GM
8811 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8812
cc585c96
GM
8813 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8814
27be8d39
GM
88152013-08-28 Glenn Morris <rgm@gnu.org>
8816
397440a1
GM
8817 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8818
2bb762d4
GM
8819 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8820
27be8d39
GM
8821 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8822
2d69b99e
SM
88232013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8824
f663baa7
SM
8825 * simple.el (repeat-complex-command--called-interactively-skip):
8826 New function.
8827 (repeat-complex-command): Use it (bug#14136).
8828
dd4f8b74
SM
8829 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8830 (c-define-abbrev-table): Add `doc' argument.
8831 (c-mode-abbrev-table, c++-mode-abbrev-table)
8832 (objc-mode-abbrev-table, java-mode-abbrev-table)
8833 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8834 (awk-mode-abbrev-table): Use it.
8835 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8836 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8837 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8838 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8839 Move initialization into the declaration; and remove any
8840 autoload cookie.
8841
b58969f7
SM
8842 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8843 and dynamic let binding.
8844
4021d6a6
SM
8845 * vc/smerge-mode.el: Remove redundant :group args.
8846
2d69b99e
SM
8847 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8848 to load-path.
8849
274919fd
JL
88502013-08-28 Juri Linkov <juri@jurta.org>
8851
8852 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8853 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8854 (isearch-other-meta-char): Handle an undefined shifted printing
8855 character by downshifting it. (Bug#15200)
8856
121f8c95
JL
88572013-08-28 Juri Linkov <juri@jurta.org>
8858
8859 * isearch.el (isearch-search): Change regexp error message for
8860 non-regexp searches. (Bug#15166)
8861
50b13cde
PE
88622013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8863
8864 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8865 for portability to hosts where /bin/sh has problems.
8866
95888bca
SM
88672013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8868
8869 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8870
bbe558f1
JL
88712013-08-27 Juri Linkov <juri@jurta.org>
8872
8873 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8874 in the keyboard macro. (Bug#15126)
8875
26f98a7d
JL
88762013-08-27 Juri Linkov <juri@jurta.org>
8877
8878 * isearch.el (isearch-quote-char): Comment out converting unibyte
8879 to multibyte, thus syncing with its `quoted-insert' counterpart.
8880 (Bug#15166)
8881
7c97d35e
MR
88822013-08-27 Martin Rudalics <rudalics@gmx.at>
8883
8884 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
8885 argument in call of get-largest-window (Bug#15185).
8886 Reported by Stephen Leake.
7c97d35e 8887
a0b5606e 88882013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
8889
8890 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8891
9e89d835
SM
88922013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8893
8894 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8895 from a matcher-function unless there's no more matches (bug#15161).
8896
78fc2530
MA
88972013-08-26 Michael Albinus <michael.albinus@gmx.de>
8898
8899 * minibuffer.el: Revert change from 2013-08-20.
8900
8901 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8902 with text property `tramp-default', if appropriate.
8903 (tramp-check-proper-host): New defun.
8904 (tramp-dissect-file-name): Do not check hostname. Revert change
8905 of 2013-03-18.
8906 (tramp-backtrace): Make VEC-OR-PROC optional.
8907
8908 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8909 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8910 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
8911 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8912 Apply `tramp-check-proper-host'.
78fc2530 8913
edca97cd
TH
89142013-08-26 Tassilo Horn <tsdh@gnu.org>
8915
8916 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8917 lambda expression in order to have `describe-variable' display it.
8918
df54bcbd
MA
89192013-08-26 Michael Albinus <michael.albinus@gmx.de>
8920
8921 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8922 BUF can be optional. (Bug#15186)
8923
eed99101
XF
89242013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8925
8926 * progmodes/flymake.el (flymake-get-real-file-name-function):
8927 Fix broken customization. (Bug#15184)
8928
b5eb9035
AM
89292013-08-25 Alan Mackenzie <acm@muc.de>
8930
8a51e842
AM
8931 Improve indentation of bracelists defined by macros (without "=").
8932
8933 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8934 expansion begins with "{", regard it as bracelist when it doesn't
8935 contain a ";".
8936
869455d4
AM
8937 Parse C++ inher-intro when there's a template split over 2 lines.
8938
8939 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8940 rigorously the search for "class" etc. followed by ":".
8941
8942 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8943 random languages a regexp which never matches rather than nil.
8944
b5eb9035
AM
8945 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8946
8947 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8948 (c-awk-regexp-one-line-possibly-open-char-list-re)
8949 (c-awk-one-line-possibly-open-regexp-re)
8950 (c-awk-one-line-non-syn-ws*-re): Remove.
8951 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8952 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8953 (c-awk-space*-unclosed-regexp-/-re): New constants.
8954 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8955 aren't regexp delimiters.
8956
8957 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8958 handling for a rare situation in AWK Mode involving unterminated
8959 strings/regexps.
8960
61611d54
GM
89612013-08-23 Glenn Morris <rgm@gnu.org>
8962
2d85dc34
GM
8963 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8964
cb8d2612
GM
8965 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8966
bb35f42f
GM
8967 * files.el (create-file-buffer): If the result would begin with
8968 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 8969
b9808e77
SM
89702013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8971
e3a66363
SM
8972 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8973 text-properties (bug#15155).
8974
b9808e77
SM
8975 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8976 exist any more.
8977 (calc-keypad-redraw): Remove unused var `pad'.
8978 (calc-keypad-press): Remove unused var `menu'.
8979
7fd5f65e
MR
89802013-08-23 Martin Rudalics <rudalics@gmx.at>
8981
b9808e77
SM
8982 * window.el (display-buffer-pop-up-frame):
8983 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
8984 use it as the new frame's buffer (Bug#15133).
8985
8352b530
SM
89862013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * calendar/timeclock.el: Minor cleanups.
8989 (timeclock-ask-before-exiting, timeclock-use-display-time):
8990 Use `symbol'.
8991 (timeclock-modeline-display): Define as alias before the
8992 actual definition.
8993 (timeclock-mode-line-display): Use define-minor-mode.
8994 (timeclock-day-list-template): Make it a function, add an argument.
8995 (timeclock-day-list-required, timeclock-day-list-length)
8996 (timeclock-day-list-debt, timeclock-day-list-span)
8997 (timeclock-day-list-break): Adjust calls accordingly.
8998
9f7b1925
SM
89992013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9000
9001 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9002 Use read--expression so that completion works again.
9003
6e50e983
SS
90042013-08-21 Sam Steingold <sds@gnu.org>
9005
9006 Add rudimentary inferior shell interaction
9007 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9008 (sh-set-shell): Reset it.
9f7b1925
SM
9009 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9010 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 9011
dbb0d350
SM
90122013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * align.el: Use lexical-binding.
9015 (align-region): Simplify accordingly.
9016
c88586a9
MA
90172013-08-20 Michael Albinus <michael.albinus@gmx.de>
9018
9019 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9020
9021 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9022 `non-essential' up.
9023
f95527c8
MA
90242013-08-17 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * net/tramp.el:
9027 * net/tramp-adb.el:
9028 * net/tramp-cmds.el:
9029 * net/tramp-ftp.el:
9030 * net/tramp-gvfs.el:
9031 * net/tramp-gw.el:
9032 * net/tramp-sh.el: Don't wrap external variable declarations by
9033 `eval-when-compile'.
9034
4b5fe4ee
LMI
90352013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9036
9037 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9038 now that Emacs supports ImageMagick animations.
9039
13c366c9
MA
90402013-08-16 Michael Albinus <michael.albinus@gmx.de>
9041
9042 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9043 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9044
3dfc5cd6
MR
90452013-08-16 Martin Rudalics <rudalics@gmx.at>
9046
9047 * window.el (mouse-autoselect-window-select): Do autoselect when
9048 mouse pointer is on margin.
9049
4bbb4381
WP
90502013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9051
9052 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9053
3a2ddc2d
GM
90542013-08-16 Glenn Morris <rgm@gnu.org>
9055
e8bedf5a
GM
9056 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9057 Handle "Remote Directory" response of some clients. (Bug#15058)
9058
58c4682f
GM
9059 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9060 Tweak warning. (Bug#14926)
9061
57953f49
GM
9062 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9063 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9064
3a2ddc2d
GM
9065 * image-mode.el (image-mode-map): Add menu items to reverse,
9066 increase, decrease, reset animation speed.
9067 (image--set-speed, image-increase-speed, image-decrease-speed)
9068 (image-reverse-speed, image-reset-speed): New functions.
9069 (image-mode-map): Add bindings for speed commands.
9070
9071 * image.el (image-animate-get-speed, image-animate-set-speed):
9072 New functions.
9073 (image-animate-timeout): Respect image :speed property.
9074
10fa0ed3
SM
90752013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9078 previous line (bug#15101).
9079 (debugger-eval-expression, debugger-record-expression):
9080 Use read--expression (bug#15102).
9081
5d89d9d2
MA
90822013-08-15 Michael Albinus <michael.albinus@gmx.de>
9083
9084 Remove byte compiler warnings, visible when compiling with
9085 `byte-compile-force-lexical-warnings' set to t.
9086
9087 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9088 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9089 (tramp-handle-unhandled-file-name-directory)
9090 (tramp-handle-file-notify-add-watch, tramp-action-login)
9091 (tramp-action-succeed, tramp-action-permission-denied)
9092 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9093 arguments with "_".
9094
9095 * net/tramp-adb.el (tramp-adb-parse-device-names)
9096 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9097 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9098 (tramp-adb-handle-file-truename): Remove unused arguments.
9099
9100 * net/tramp-cache.el (tramp-flush-directory-property)
9101 (tramp-flush-connection-property, tramp-list-connections)
9102 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9103
10fa0ed3
SM
9104 * net/tramp-compat.el (tramp-compat-make-temp-file):
9105 Rename FILENAME to F.
5d89d9d2
MA
9106
9107 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9108 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9109 (tramp-zeroconf-parse-workstation-device-names)
9110 (tramp-zeroconf-parse-webdav-device-names)
9111 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9112
9113 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9114 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9115
9116 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9117 arguments.
9118 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9119 (tramp-sh-handle-insert-file-contents-literally)
9120 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9121 with "_".
9122 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9123 Remove unused variables.
9124
9125 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9126 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9127 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9128
9129 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9130 Make them a defconst.
9131 (tramp-uuencode-region): Remove unused variable.
9132
62f33bae
JB
91332013-08-14 Juanma Barranquero <lekktu@gmail.com>
9134
9135 * frameset.el (frameset--prop-setter): New function.
9136 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
9137 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9138 parameter was already set in FILTERED. Doc fix.
9139 (frameset--record-minibuffer-relationships): Allow saving a
9140 minibufferless frame without its corresponding minibuffer frame.
9141 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9142 frame, if the frame id matches.
9143 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9144 frames before orphaned ones.
9145 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 9146
c660a885
MR
91472013-08-14 Martin Rudalics <rudalics@gmx.at>
9148
9149 * window.el (window-make-atom): Don't overwrite parameter
9150 already present.
9151 (display-buffer-in-atom-window): Handle special case where we
9152 split an already atomic window.
9153 (window--major-non-side-window, display-buffer-in-side-window)
9154 (window--side-check): Ignore minibuffer window when walking
9155 window tree.
9156 (window-deletable-p): Return 'frame only if no other frame uses
9157 our minibuffer window.
9158 (record-window-buffer): Run buffer-list-update-hook.
9159 (split-window): Make sure window--check-frame won't destroy an
9160 existing atomic window in case the new window gets nested
9161 inside.
9162 (display-buffer-at-bottom): Ignore minibuffer window when
9163 walking window tree. Don't split a side window.
9164 (pop-to-buffer): Don't set-buffer here, the select-window call
9165 should do that.
9166 (mouse-autoselect-window-select): Autoselect only if we are in the
9167 text portion of the window.
9168
8259030d
LMI
91692013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9170
21c58ae2
LMI
9171 * net/shr.el (shr-parse-image-data): New function to grab both the
9172 data itself and the Content-Type.
9173 (shr-put-image): Use it.
9174
9175 * net/eww.el (eww-display-image): Ditto.
9176
8259030d
LMI
9177 * image.el (image-content-type-suffixes): New variable.
9178
ad756449
FEG
91792013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9180
9181 * progmodes/python.el (python-imenu--build-tree)
9182 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9183
f73f4ce6
XF
91842013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9185
9186 * simple.el (backward-word): Mention the optional argument.
9187
1f585e65
SM
91882013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * frameset.el (frameset--make): Rename constructor from make-frameset.
9191 (frameset-p, frameset-valid-p): Don't autoload.
9192 (frameset-valid-p): Use normal accessors.
9193
af1c6c84
GM
91942013-08-13 Glenn Morris <rgm@gnu.org>
9195
55e47f95
GM
9196 * progmodes/compile.el (compile-command): Tweak example in doc.
9197 * obsolete/scribe.el (scribe-mode):
9198 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9199
f0024d8c
GM
9200 * mail/feedmail.el (feedmail-confirm-outgoing)
9201 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9202
9203 * cus-start.el (truncate-partial-width-windows): Fix type.
9204
9205 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9206
af1c6c84
GM
9207 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9208
5514cc4c
SM
92092013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * emacs-lisp/timer.el (timer--time-setter): New function.
9212 (timer--time): Use it as gv-setter.
9213
9214 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9215 setter is not a symbol.
9216
7997a2f1
GJ
92172013-08-12 Grégoire Jadi <daimrod@gmail.com>
9218
9219 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9220 if sending fails. This makes debugging easier.
9221
01f1a9ab
JB
92222013-08-12 Juanma Barranquero <lekktu@gmail.com>
9223
9224 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9225 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9226 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9227
594a4307
EZ
92282013-08-12 Eli Zaretskii <eliz@gnu.org>
9229
9230 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9231
7a22490f 92322013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
9233
9234 * format.el (format-annotate-function):
9235 Handle read-only text properties in the source. (Bug#14887)
9236
3e41a054
LMI
92372013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9238
5514cc4c
SM
9239 * net/eww.el (eww-display-html): Ignore coding system errors.
9240 One web site uses "utf-8lias" as the coding system.
3e41a054 9241
7ec326db
JB
92422013-08-11 Juanma Barranquero <lekktu@gmail.com>
9243
9244 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9245
5660113b
JB
92462013-08-10 Juanma Barranquero <lekktu@gmail.com>
9247
9a4ebc74
JB
9248 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9249 (tutorial--detailed-help): Remove unused local variables.
9250 (tutorial--save-tutorial-to): Use ignore-errors.
9251 (help-with-tutorial): Use looking-at-p.
9252
9253 * view.el (view-buffer-other-window, view-buffer-other-frame):
9254 Mark unused arguments.
9255
9256 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9257 (woman-select-symbol-fonts, woman, woman-find-file)
9258 (woman-insert-file-contents, woman-non-underline-faces):
9259 Use string-match-p.
9260 (woman1-unquote): Move declaration.
9261
9262 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9263 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9264 argument. Remove unused local variable.
9265 (xml-parse-elem-type): Use string-match-p.
9266 (xml-substitute-numeric-entities): Use ignore-errors.
9267
45fdb482
JB
9268 * calculator.el (calculator): Mark unused argument.
9269 (calculator-paste, calculator-quit, calculator-integer-p):
9270 Use ignore-errors.
9271 (calculator-string-to-number, calculator-decimal, calculator-exp)
9272 (calculator-op-or-exp): Use string-match-p.
9273
9274 * dired.el (dired-buffer-more-recently-used-p): Declare.
9275 (dired-insert-set-properties, dired-insert-old-subdirs):
9276 Use ignore-errors.
9277
9278 * dired-aux.el (dired-compress): Use ignore-errors.
9279 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9280 (dired-do-async-shell-command, dired-do-shell-command)
9281 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9282 (dired-insert-subdir-validate): Use string-match-p.
9283 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9284 (dired-add-entry): Use string-match-p, looking-at-p.
9285 (dired-insert-subdir-newpos): Remove unused local variable.
9286
9287 * filenotify.el (file-notify-callback): Remove unused local variable.
9288
9289 * filesets.el (filesets-error): Mark unused argument.
9290 (filesets-which-command-p, filesets-filter-dir-names)
9291 (filesets-directory-files, filesets-get-external-viewer)
9292 (filesets-ingroup-get-data): Use string-match-p.
9293
9294 * find-file.el (ff-other-file-name, ff-other-file-name)
9295 (ff-find-the-other-file, ff-cc-hh-converter):
9296 Remove unused local variables.
9297 (ff-get-file-name): Use string-match-p.
9298 (ff-all-dirs-under): Use ignore-errors.
9299
9300 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9301 (follow-select-if-visible): Remove unused local variable.
9302
9303 * forms.el (read-file-filter): Move declaration.
9304 (forms--make-format, forms--make-parser, forms-insert-record):
9305 Quote function with #'.
9306 (forms--update): Use string-match-p. Quote function with #'.
9307
9308 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9309 (help-make-xrefs): Use looking-at-p.
9310 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9311
9312 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9313 (ibuffer-confirm-operation-on): Use string-match-p.
9314
9315 * msb.el (msb-item-handler, msb-dired-item-handler):
9316 Mark unused arguments.
9317
9318 * ses.el (ses-decode-cell-symbol)
9319 (ses-kill-override): Remove unused local variable.
9320 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9321 (ses-load): Use ignore-errors, looking-at-p.
9322 (ses-jump-safe): Use ignore-errors.
9323 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9324
9325 * tabify.el (untabify, tabify): Mark unused arguments.
9326
9327 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9328 Mark unused argument.
9329 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9330 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9331
c880af52
JB
9332 * emacs-lisp/timer.el (timer--time): Define setter with
9333 gv-define-setter to avoid deprecation warning.
9334
5660113b 9335 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 9336 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
9337 (cmpl-statistics-block): Remove (body was commented out).
9338 All callers changed.
9339 (add-completions-from-buffer, load-completions-from-file):
9340 Remove unused variables.
9341
156aab80
JB
93422013-08-09 Juanma Barranquero <lekktu@gmail.com>
9343
5c5dee78
JB
9344 * filecache.el (file-cache-delete-file-list):
9345 Print message only when told so.
9346 (file-cache-files-matching): Use #' in mapconcat argument.
9347
156aab80
JB
9348 * ffap.el (ffap-url-at-point): Fix reference to variable
9349 thing-at-point-default-mail-uri-scheme.
9350
ad9dcd70
SM
93512013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9352
54bd972f
SM
9353 * subr.el (define-error): New function.
9354 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9355 error-file-not-found and define with define-error.
9356 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9357 and define with define-error.
9358 * userlock.el (file-locked, file-supersession):
9359 * simple.el (mark-inactive):
9360 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9361 * progmodes/ada-mode.el (ada-mode-errors):
9362 * play/life.el (life-extinct):
9363 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9364 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9365 * nxml/rng-util.el (rng-error):
9366 * nxml/rng-uri.el (rng-uri-error):
9367 * nxml/rng-match.el (rng-compile-error):
9368 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9369 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9370 * nxml/nxml-rap.el (nxml-scan-error):
9371 * nxml/nxml-outln.el (nxml-outline-error):
9372 * net/soap-client.el (soap-error):
9373 * net/gnutls.el (gnutls-error):
9374 * net/ange-ftp.el (ftp-error):
9375 * mpc.el (mpc-proc-error):
9376 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9377 (json-number-format, json-string-escape, json-string-format)
9378 (json-key-format, json-object-format):
9379 * jka-compr.el (compression-error):
9380 * international/quail.el (quail-error):
9381 * international/kkc.el (kkc-error):
9382 * emacs-lisp/ert.el (ert-test-failed):
9383 * calc/calc.el (calc-error, inexact-result, math-overflow)
9384 (math-underflow):
9385 * bookmark.el (bookmark-error-no-filename):
9386 * epg.el (epg-error): Define with define-error.
9387
0ea9e53a
SM
9388 * time.el (display-time-event-handler)
9389 (display-time-next-load-average): Don't call sit-for since it seems
9390 unnecessary (bug#15045).
9391
b0429158
SM
9392 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9393 Use #' instead of ' to quote functions.
9394 (checkdoc-output-mode): Use setq-local.
9395 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9396 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9397 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9398 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9399 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9400 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9401 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9402 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9403
ad9dcd70
SM
9404 * ido.el (ido-completion-help): Fix up compiler warning.
9405
77187e6f
JB
94062013-08-09 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * frameset.el (frameset-p): Add autoload cookie.
9409 (frameset--jump-to-register): New function, based on code moved from
9410 register.el.
9411 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9412
9413 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9414 (frameset-restore, frameset-save, frameset-session-filter-alist):
9415 Remove declarations.
9416 (register-alist): Doc fix.
9417 (frameset-to-register): Move to frameset.el.
9418 (jump-to-register, describe-register-1): Remove frameset-specific code.
9419
9d3aa82c
JB
94202013-08-08 Juanma Barranquero <lekktu@gmail.com>
9421
9422 * allout-widgets.el (allout-widgets-pre-command-business)
9423 (allout-widgets-post-command-business)
9424 (allout-widgets-after-change-handler)
9425 (allout-decorate-item-and-context, allout-set-boundary-marker)
9426 (allout-body-modification-handler)
9427 (allout-graphics-modification-handler): Mark ignored arguments.
9428 (allout-widgets-post-command-business)
9429 (allout-widgets-exposure-change-processor)
9430 (allout-widgets-exposure-undo-processor)
9431 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9432 (allout-parse-item-at-point, allout-decorate-item-guides)
9433 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9434 * allout.el (epa-passphrase-callback-function): Declare.
9435 (allout-overlay-insert-in-front-handler)
9436 (allout-overlay-interior-modification-handler)
9437 (allout-isearch-end-handler, allout-chart-siblings)
9438 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9439 (allout-yank-processing, allout-process-exposed)
9440 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 9441 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
9442 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9443 (lisp-indent-defform): Mark ignored arguments.
9444 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9445 (calculate-lisp-indent): Remove unused variables.
9446 * international/characters.el (indian-2-column, arabic-2-column)
9447 (tibetan): Mark ignored arguments.
9448 (use-cjk-char-width-table): Mark ignored arguments.
9449 Remove unused variables.
9450 * international/fontset.el (build-default-fontset-data)
9451 (x-compose-font-name, create-fontset-from-fontset-spec):
9452 Mark ignored arguments.
9453 (fontset-plain-name): Remove unused variables.
9454 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9455 (keyboard-coding-system): Mark ignored arguments.
9456 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9457 * help.el (resize-temp-buffer-window):
9458 * window.el (display-buffer-in-major-side-window)
9459 (display-buffer-in-side-window, display-buffer-in-previous-window):
9460 Remove unused variables.
9461 * isearch.el (isearch-forward-symbol):
9462 * version.el (emacs-bzr-version-bzr):
9463 * international/mule-cmds.el (current-language-environment):
9464 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9465 (x-handle-display):
9466 * term/pc-win.el (x-list-fonts, x-display-planes)
9467 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9468 (x-server-version, x-display-screens, x-display-mm-height)
9469 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9470 (x-selection-owner-p, x-own-selection-internal)
9471 (x-disown-selection-internal, x-get-selection-internal)
9472 (msdos-initialize-window-system):
9473 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9474 * term/x-win.el (x-handle-no-bitmap-icon):
9475 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9476 (vc-default-find-file-hook, vc-default-extra-menu):
9477 Mark ignored arguments.
9478
0ca3f70e
SM
94792013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9482 break-condition in the context of the debugged code (bug#12685).
9483
74c5d24c
CS
94842013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9485
9486 * comint.el:
9487 Do not use an overlay to highlight the last prompt. (Bug#14744)
9488 (comint-mode): Make comint-last-prompt buffer local.
9489 (comint-last-prompt): New variable.
9490 (comint-last-prompt-overlay): Remove. Superseded by
9491 comint-last-prompt.
0ca3f70e
SM
9492 (comint-snapshot-last-prompt, comint-output-filter):
9493 Use comint-last-prompt.
74c5d24c 9494
c03c02ee
JB
94952013-08-08 Juanma Barranquero <lekktu@gmail.com>
9496
a3738d20 9497 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
9498 (frameset-save): Check validity of the resulting frameset.
9499
04263d23
XF
95002013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9501
9502 * ido.el (ido-record-command): Add doc string.
9503
76c5e5ab
JB
95042013-08-08 Juanma Barranquero <lekktu@gmail.com>
9505
9506 * frameset.el (frameset): Do not disable creation of the default
9507 frameset-p predicate. Doc fix.
9508 (frameset-valid-p): New function, copied from the old predicate-p.
9509 Add additional checks.
9510 (frameset-restore): Check with frameset-valid-p.
9511 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9512 (frameset-name, frameset-description, frameset-properties)
9513 (frameset-states): Add docstring.
f9dbf1cb
JB
9514 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9515 (frameset-filter-alist): Doc fixes.
76c5e5ab 9516
bd0c3c0b
JB
95172013-08-08 Juanma Barranquero <lekktu@gmail.com>
9518
9519 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9520
c735544c
SM
95212013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9524 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9525 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9526 (byte-compile-normal-call): Remove obsolescence check.
9527
2805a651
JB
95282013-08-08 Juanma Barranquero <lekktu@gmail.com>
9529
3677ffeb
JB
9530 * frameset.el (frameset-restore): Doc fix.
9531
2805a651
JB
9532 * register.el (frameset-frame-id, frameset-frame-with-id)
9533 (frameset-p, frameset-restore, frameset-save): Declare.
9534 (register-alist): Document framesets.
9535 (frameset-session-filter-alist): Declare.
9536 (frameset-to-register): New function.
9537 (jump-to-register): Implement jumping to framesets. Doc fix.
9538 (describe-register-1): Describe framesets.
9539
9540 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9541
a912c016
JB
95422013-08-07 Juanma Barranquero <lekktu@gmail.com>
9543
9544 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9545 Use lexical-binding.
9546
9547 * frameset.el (frameset): Use type vector, not list (incompatible
9548 change). Do not declare a new constructor, use the default one.
9549 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9550 `name' and `description', respectively, and add read-only slot
9551 `timestamp'. Doc fixes.
9552 (frameset-copy, frameset-persistent-filter-alist)
9553 (frameset-filter-alist, frameset-switch-to-gui-p)
9554 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9555 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9556 (frameset-filter-iconified, frameset-keep-original-display-p):
9557 Doc fixes.
9558 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9559 Rename from frameset-filter-(save|restore)-param. All callers changed.
9560 Doc fix.
9561 (frameset-p): Adapt to change to vector and be more thorough.
9562 Change arg name to OBJECT. Doc fix.
9563 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9564 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9565 All callers changed.
9566 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9567 All callers changed.
9568 (frameset--record-minibuffer-relationships): Rename from
9569 frameset--process-minibuffer-frames. All callers changed.
9570 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9571 Use new default constructor (again). Doc fix.
c295fc18 9572 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
9573 All callers changed.
9574 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9575 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9576 Doc fix.
9577 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9578 PARAMETERS and WINDOW-STATE, respectively.
9579 (frameset-restore): Add new keyword argument PREDICATE.
9580 Reset frameset--target-display to nil. Doc fix.
9581
bb41480a
SM
95822013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9583
f001e98e
SM
9584 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9585 (bat-mode): Use it.
9586 (bat-mode-syntax-table): Mark \n as end-of-comment.
9587 (bat-font-lock-keywords): Remove comment rule.
9588
7679edb1
SM
9589 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9590 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9591
bb41480a
SM
9592 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9593 (byte-compile-callargs-warn): Use `push'.
9594 (byte-compile-arglist-warn): Ignore higher-order "calls".
9595 (byte-compile-file-form-autoload): Use `pcase'.
9596 (byte-compile-function-form): If quoting a symbol, check that it exists.
9597
cdc1ebb9
EZ
95982013-08-07 Eli Zaretskii <eliz@gnu.org>
9599
9600 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9601 and add a few popular commands found in batch files.
9602 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9603 (dos-mode): Doc fixes.
9604
312b1740
SM
96052013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9606
9607 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9608 (dos-mode): Use setq-local. Add space after "rem".
9609 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9610 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9611
400a3178
AM
96122013-08-07 Arni Magnusson <arnima@hafro.is>
9613
9614 * progmodes/dos.el: New file.
9615 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9616 dos-mode.
9617
3b5c03d3
GM
96182013-08-06 Glenn Morris <rgm@gnu.org>
9619
9620 * calendar/calendar.el: Add new faces, and day-header-array.
9621 (calendar-weekday-header, calendar-weekend-header)
9622 (calendar-month-header): New faces.
9623 (calendar-day-header-construct): New function.
9624 (calendar-day-header-width): Also :set calendar-day-header-array.
9625 (calendar-american-month-header, calendar-european-month-header)
9626 (calendar-iso-month-header): Use calendar- faces.
9627 (calendar-generate-month):
9628 Use calendar-day-header-array for day headers; apply faces to them.
9629 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9630 (calendar-abbrev-construct): Add optional maxlen argument.
9631 (calendar-day-name-array): Doc fix.
9632 (calendar-day-name-array, calendar-abbrev-length)
9633 (calendar-day-abbrev-array):
9634 Also :set calendar-day-header-array, and maybe redraw.
9635 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 9636 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
9637 (calendar-day-name): Add option to use header array.
9638
ec6a2d7a
LMI
96392013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9640
9641 * net/shr.el (shr-render-td): Remove debugging.
9642 (shr-render-td): Make width computation consistent by defaulting
9643 all zero-width columns to 10 characters. This may not be optimal,
9644 but it's at least consistent.
2122cb6d
LMI
9645 (shr-make-table-1): Redo last change to fix the real problem in
9646 colspan handling.
ec6a2d7a 9647
ed4fd9c5
DA
96482013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9649
0ca3f70e
SM
9650 * files.el (cache-long-line-scans):
9651 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 9652
64e22afe
JB
96532013-08-06 Juanma Barranquero <lekktu@gmail.com>
9654
024b38fc
JB
9655 * frameset.el (frameset, frameset-filter-alist)
9656 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9657 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9658 (frameset-compute-pos): Rename from frameset--compute-pos,
9659 and add docstring.
9660 (frameset-move-onscreen): Use frameset-compute-pos.
9661 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9662
64e22afe
JB
9663 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9664 Fix typos in docstrings.
9665
c8c2aca8
DA
96662013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9667
9668 * frame.el (get-other-frame): Tiny cleanup.
9669
1d237bba
JB
96702013-08-06 Juanma Barranquero <lekktu@gmail.com>
9671
8951efef
JB
9672 * vc/vc.el (vc-default-ignore-completion-table):
9673 Silence byte-compiler warning.
9674
307764cc 9675 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 9676 slot, which can indeed be nil.
307764cc
JB
9677 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9678 Move entry for `left' from persistent to live filter alist.
9679 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9680 Doc fixes.
9681 (frameset-filter-params): When restoring a frame, copy items added to
9682 `filtered', to avoid unwittingly modifying the original parameters.
9683 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9684 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9685
1d237bba
JB
9686 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9687 to use looking-at-p instead of looking-at. (Bug#15028)
9688
dc6c0eda
SM
96892013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 Revert introduction of isearch-filter-predicates (bug#14714).
9692 Rely on add-function instead.
9693 * isearch.el (isearch-filter-predicates): Rename it back to
9694 isearch-filter-predicate.
9695 (isearch-message-prefix): Use advice-function-mapc and advice
9696 properties to get the isearch-message-prefix.
9697 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9698 instead of run-hook-with-args-until-failure.
9699 (isearch-filter-visible): Not obsolete any more.
9700 * loadup.el: Preload nadvice.
9701 * replace.el (perform-replace): Revert to funcall
9702 instead of run-hook-with-args-until-failure.
9703 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9704 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9705 dired-isearch-filenames-toggle; make it into a proper minor mode.
9706 Use add/remove-function.
9707 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9708 Call the minor-mode rather than add/remove-hook.
9709 (dired-isearch-filter-filenames):
9710 Remove isearch-message-prefix property.
9711 * info.el (Info--search-loop): New function, extracted from Info-search.
9712 Funcall isearch-filter-predicate instead of
9713 run-hook-with-args-until-failure isearch-filter-predicates.
9714 (Info-search): Use it.
9715 (Info-mode): Use isearch-filter-predicate instead of
9716 isearch-filter-predicates.
9717
290d5b58
DA
97182013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9719
9720 Do not call to `selected-window' where it is assumed by default.
9721 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9722 `window-hscroll', `window-width', `window-height', `window-buffer',
9723 `window-frame', `window-start', `window-point', `next-window'
9724 and `window-display-table'.
9725 * abbrev.el (abbrev--default-expand):
9726 * bs.el (bs--show-with-configuration):
9727 * buff-menu.el (Buffer-menu-mouse-select):
9728 * calc/calc.el (calc):
9729 * calendar/calendar.el (calendar-generate-window):
9730 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9731 (diary-make-entry):
9732 * comint.el (send-invisible, comint-dynamic-complete-filename)
9733 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9734 * completion.el (complete):
9735 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9736 * disp-table.el (describe-current-display-table):
9737 * doc-view.el (doc-view-insert-image):
9738 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9739 * ehelp.el (with-electric-help):
9740 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9741 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9742 * emacs-lisp/helper.el (Helper-help-scroller):
9743 * emulation/cua-base.el (cua--post-command-handler-1):
9744 * eshell/esh-mode.el (eshell-output-filter):
9745 * ffap.el (ffap-gnus-wrapper):
9746 * help-macro.el (make-help-screen):
9747 * hilit-chg.el (highlight-compare-buffers):
9748 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9749 * hl-line.el (global-hl-line-highlight):
9750 * icomplete.el (icomplete-simple-completing-p):
9751 * isearch.el (isearch-done):
9752 * jit-lock.el (jit-lock-stealth-fontify):
9753 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 9754 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
9755 * mpc.el (mpc-tagbrowser, mpc):
9756 * net/rcirc.el (rcirc-any-buffer):
9757 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9758 * play/landmark.el (landmark-max-width, landmark-max-height):
9759 * play/zone.el (zone):
9760 * progmodes/compile.el (compilation-goto-locus):
9761 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9762 * progmodes/etags.el (find-tag-other-window):
9763 * progmodes/fortran.el (fortran-column-ruler):
9764 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9765 * progmodes/verilog-mode.el (verilog-point-text):
9766 * reposition.el (reposition-window):
9767 * rot13.el (toggle-rot13-mode):
9768 * server.el (server-switch-buffer):
9769 * shell.el (shell-dynamic-complete-command)
9770 (shell-dynamic-complete-environment-variable):
9771 * simple.el (insert-buffer, set-selective-display)
9772 (delete-completion-window):
9773 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9774 (speedbar-recenter):
9775 * startup.el (fancy-splash-head):
9776 * textmodes/ispell.el (ispell-command-loop):
9777 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9778 * tutorial.el (help-with-tutorial):
9779 * vc/add-log.el (add-change-log-entry):
9780 * vc/compare-w.el (compare-windows):
9781 * vc/ediff-help.el (ediff-indent-help-message):
9782 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9783 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9784 (ediff-setup-control-frame):
9785 * vc/emerge.el (emerge-position-region):
9786 * vc/pcvs-util.el (cvs-bury-buffer):
9787 * window.el (walk-windows, mouse-autoselect-window-select):
9788 * winner.el (winner-set-conf, winner-undo): Related users changed.
9789
38276e01
JB
97902013-08-05 Juanma Barranquero <lekktu@gmail.com>
9791
9792 * frameset.el (frameset--set-id): Doc fix.
9793 (frameset-frame-id, frameset-frame-id-equal-p)
9794 (frameset-locate-frame-id): New functions.
9795 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9796 (frameset-restore): Use them.
9797
12b4c0ea
DA
97982013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9799
9800 Do not call to `selected-frame' where it is assumed by default.
9801 Affected functions are `raise-frame', `redraw-frame',
9802 `frame-first-window', `frame-terminal' and `delete-frame'.
9803 * calendar/appt.el (appt-disp-window):
9804 * epg.el (epg-wait-for-completion):
9805 * follow.el (follow-delete-other-windows-and-split)
9806 (follow-avoid-tail-recenter):
9807 * international/mule.el (set-terminal-coding-system):
9808 * mail/rmail.el (rmail-mail-return):
9809 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9810 * progmodes/f90.el (f90-add-imenu-menu):
9811 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9812 * server.el (server-switch-buffer):
9813 * simple.el (delete-completion-window):
9814 * talk.el (talk):
9815 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9816 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9817 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9818 * vc/ediff.el (ediff-documentation): Related users changed.
9819 * frame.el (selected-terminal): Remove the leftover.
9820
17f25e76
GM
98212013-08-05 Glenn Morris <rgm@gnu.org>
9822
9823 * calendar/calendar.el (calendar-generate-month):
9824 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
9825 (calendar-generate-month, calendar-font-lock-keywords):
9826 Fix for calendar-day-header-width > length of any day name.
17f25e76 9827
063233c3
JB
98282013-08-05 Juanma Barranquero <lekktu@gmail.com>
9829
9830 * desktop.el (desktop-clear): Use new name of sort predicate.
9831
9832 * frameset.el (frameset): Add docstring. Move :version property to its
9833 own `version' slot.
9834 (frameset-copy): Rename from copy-frameset.
9835 (frameset-p): Check more thoroughly.
9836 (frameset-prop): Do not check for :version, which is no longer a prop.
9837 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9838 Use new :never value instead of t.
9839 (frameset-filter-alist): Expand and clarify docstring.
9840 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9841 (frameset-filter-minibuffer, frameset-filter-save-param)
9842 (frameset-filter-restore-param, frameset-filter-iconified):
9843 Add pointer to docstring of frameset-filter-alist.
9844 (frameset-filter-params): Rename filter values to be more meaningful:
9845 :never instead of t, and reverse the meanings of :save and :restore.
9846 (frameset--process-minibuffer-frames): Clarify error message.
9847 (frameset-save): Avoid unnecessary and confusing call to framep.
9848 Use new BOA constructor for framesets.
9849 (frameset--reuse-list): Doc fix.
9850 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9851 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9852 (frameset-minibufferless-first-p): Doc fix.
9853 Rename from frameset-sort-frames-for-deletion.
9854 (frameset-restore): Doc fixes. Use new function names.
9855 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9856
d5671a82
JB
98572013-08-04 Juanma Barranquero <lekktu@gmail.com>
9858
9859 * desktop.el (desktop-restore-forces-onscreen)
9860 (desktop-restore-reuses-frames): Document :keyword constant values.
9861 (desktop-filter-parameters-alist): Remove, now identical to
9862 frameset-filter-alist.
9863 (desktop--filter-tty*): Remove, moved to frameset.el.
9864 (desktop-save-frameset, desktop-restore-frameset):
9865 Do not pass :filters argument.
9866
9867 * frameset.el (frameset-live-filter-alist)
9868 (frameset-persistent-filter-alist): New variables.
9869 (frameset-filter-alist): Use them. Add autoload cookie.
9870 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9871 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9872 `frameset--id' (it's supposed to be internal to frameset.el).
9873 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9874 (frameset--initial-params): New function.
9875 (frameset--get-frame): Use it. Doc fix.
9876 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9877 Accept :all, not 'all.
9878 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9879 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9880 with fbound symbols. Fix frame id matching, and remove matching ids if
9881 the frame being restored is deleted. Obey :delete.
9882
671d5c16
SM
98832013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9884
9885 * subr.el (macrop): New function.
9886 (text-clone--maintaining): New var.
9887 (text-clone--maintain): Rename from text-clone-maintain. Use it
9888 instead of inhibit-modification-hooks.
9889
9890 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9891 a proxy, so as handle autoloads and redefinitions of the target.
9892 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9893
9894 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9895 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9896 (pcase--mutually-exclusive-p): New function.
9897 (pcase--split-consp): Use it.
9898 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9899 mutually exclusive with the current predicate.
9900
9901 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9902 (edebug-macrop): Remove. Use `macrop' instead.
9903 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9904 (ad-macro-p):
9905 * eshell/esh-cmd.el (eshell-macrop):
9906 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9907
1d44e9dc
SM
99082013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9911 (advice-mapc): New function, using it.
9912 (advice-function-member-p): New function.
9913 (advice--normalize): Store the cdr in advice--saved-rewrite since
9914 that's the part that will be changed.
9915 (advice--symbol-function): New function.
9916 (advice-remove): Handle removal before the function is defined.
9917 Adjust to new advice--saved-rewrite.
9918 (advice-member-p): Use advice-function-member-p and
9919 advice--symbol-function.
9920
5414a283
JB
99212013-08-04 Juanma Barranquero <lekktu@gmail.com>
9922
51d30f2c
JB
9923 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9924 (frameset-filter-minibuffer): Doc fix.
9925 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
9926 (frameset--set-id, frameset--process-minibuffer-frames)
9927 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9928 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 9929
5414a283
JB
9930 * desktop.el (desktop-clear): Only delete frames when called
9931 interactively and desktop-restore-frames is non-nil. Doc fix.
9932 (desktop-read): Set desktop-saved-frameset to nil.
9933
ab419665
XF
99342013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9935
9936 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 9937 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
9938 (vc--add-line, vc--remove-regexp): New functions.
9939
9940 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9941 (vc-svn-ignore-completion-table): New function.
9942
9943 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 9944 (vc-hg-ignore-completion-table)
ab419665
XF
9945 (vc-hg-find-ignore-file): New functions.
9946
9947 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 9948 (vc-git-ignore-completion-table)
ab419665
XF
9949 (vc-git-find-ignore-file): New functions.
9950
9951 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9952
9953 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 9954 (vc-bzr-ignore-completion-table)
ab419665
XF
9955 (vc-bzr-find-ignore-file): New functions.
9956
2613dea2
JB
99572013-08-03 Juanma Barranquero <lekktu@gmail.com>
9958
9959 * frameset.el (frameset-prop): New function and setter.
9960 (frameset-save): Do not modify frame list passed by the caller.
9961
9c959872
SM
99622013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9963
9964 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9965
a104f656
SM
99662013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9967
70122acf
SM
9968 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9969 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9970
a104f656
SM
9971 * custom.el (custom-initialize-default, custom-initialize-set)
9972 (custom-initialize-reset, custom-initialize-changed): Affect the
9973 toplevel-default-value (bug#6275, bug#14586).
9974 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9975 for bug#6275.
9976
f078d570
JB
99772013-08-02 Juanma Barranquero <lekktu@gmail.com>
9978
185e3b5a
JB
9979 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9980 Add cl-def* expressions.
9981
f078d570
JB
9982 * frameset.el (frameset-filter-params): Fix order of arguments.
9983
9421876d
JB
99842013-08-02 Juanma Barranquero <lekktu@gmail.com>
9985
9986 Move code related to saving frames to frameset.el.
9987 * desktop.el: Require frameset.
9988 (desktop-restore-frames): Doc fix.
9989 (desktop-restore-reuses-frames): Rename from
9990 desktop-restoring-reuses-frames.
9991 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9992 (desktop-clear): Clear frames too.
9993 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9994 (desktop--filter-tty*, desktop-save, desktop-read):
9995 Use frameset functions.
9996 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9997 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9998 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9999 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10000 (desktop--process-minibuffer-frames, desktop-save-frames)
10001 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10002 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10003 (desktop--sort-states, desktop-restoring-frames-p)
10004 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10005 (desktop-restoring-frameset-p, desktop-restore-frameset)
10006 (desktop--check-dont-save, desktop-save-frameset): New functions.
10007 (desktop--app-id): New constant.
10008 (desktop-first-buffer, desktop-buffer-ok-count)
10009 (desktop-buffer-fail-count): Move before first use.
10010 * frameset.el: New file.
10011
76dc5996
SM
100122013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10013
10014 * files.el: Use lexical-binding.
10015 (dir-locals-read-from-file): Remove unused `err' variable.
10016 (hack-dir-local-variables--warned-coding): New var.
10017 (hack-dir-local-variables): Use it to avoid repeated warnings.
10018 (make-backup-file-name--default-function): New function.
10019 (make-backup-file-name-function): Use it as default.
10020 (buffer-stale--default-function): New function.
10021 (buffer-stale-function): Use it as default.
10022 (revert-buffer-insert-file-contents--default-function): New function.
10023 (revert-buffer-insert-file-contents-function): Use it as default.
10024 (insert-directory): Avoid add-to-list.
10025
10026 * autorevert.el (auto-revert-handler): Simplify.
10027 Use buffer-stale--default-function.
10028
06d36e2b
TH
100292013-08-01 Tassilo Horn <tsdh@gnu.org>
10030
5f648ab4
TH
10031 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10032
06d36e2b
TH
10033 * whitespace.el (whitespace-ensure-local-variables): New function.
10034 (whitespace-cleanup-region): Call it.
10035 (whitespace-turn-on): Call it.
10036
a43dc424
MA
100372013-08-01 Michael Albinus <michael.albinus@gmx.de>
10038
10039 Complete file name handlers.
10040
10041 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10042 (tramp-handle-verify-visited-file-modtime)
10043 (tramp-handle-file-notify-rm-watch): New functions.
10044 (tramp-call-process): Do not bind `default-directory'.
10045
44e18199
JB
10046 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10047 Order alphabetically.
afe1e4c8
GM
10048 <access-file, add-name-to-file, dired-call-process>:
10049 <dired-compress-file, file-acl, file-notify-rm-watch>:
10050 <file-ownership-preserved-p, file-selinux-context>:
10051 <make-directory-internal, make-symbolic-link, set-file-acl>:
10052 <set-file-selinux-context, set-visited-file-modtime>:
10053 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10054 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10055
10056 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
10057 <file-notify-add-watch, file-notify-rm-watch>:
10058 <set-file-times, set-visited-file-modtime>:
10059 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10060 (with-tramp-gvfs-error-message)
10061 (tramp-gvfs-handle-set-visited-file-modtime)
10062 (tramp-gvfs-fuse-file-name): Remove.
10063 (tramp-gvfs-handle-file-notify-add-watch)
10064 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10065 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10066
44e18199
JB
10067 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10068 Order alphabetically.
afe1e4c8
GM
10069 <file-notify-rm-watch>: Use default Tramp handler.
10070 <executable-find>: Remove private handler.
a43dc424
MA
10071 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10072 `default-directory'.
10073 (tramp-sh-handle-executable-find)
10074 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10075 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10076 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10077 Do not use `format' in `tramp-message'.
10078
10079 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
10080 <file-notify-rm-watch, set-visited-file-modtime>:
10081 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10082 (tramp-smb-call-winexe): Do not bind `default-directory'.
10083
7188b515
XF
100842013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10085
10086 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10087
2412ee1a
DG
100882013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10089
10090 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10091 use it.
10092 (log-view-diff-changeset): Same.
10093 (log-view-diff-common): Call backend command `previous-revision'
10094 to find out the previous revision, in both cases. Swap the
10095 variables `to' and `fr', so that `fr' usually refers to the
10096 earlier revision (Bug#14989).
10097
5002a754
KRC
100982013-07-31 Kan-Ru Chen <kanru@kanru.info>
10099
10100 * ibuf-ext.el (ibuffer-filter-by-filename):
10101 Make it work with dired buffers too.
10102
44e18199 101032013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
10104
10105 * emacs-lisp/re-builder.el (reb-color-display-p):
10106 * files.el (save-buffers-kill-terminal):
10107 * net/browse-url.el (browse-url):
10108 * server.el (server-save-buffers-kill-terminal):
10109 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10110 Prefer nil to selected-frame for the first arg of frame-parameter.
10111
aeca3fbb
XF
101122013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10113
10114 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10115
158bc55c
SB
101162013-07-30 Stephen Berman <stephen.berman@gmx.net>
10117
10118 * minibuffer.el (completion--twq-all): Try and preserve each
10119 completion's case choice (bug#14907).
10120
d50fceab
LMI
101212013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10122
ac38e731
LMI
10123 * net/network-stream.el (open-network-stream): Mention the new
10124 :nogreeting parameter.
10125 (network-stream-open-starttls): Use the :nogreeting parameter
10126 (bug#14938).
10127
1211de50
LMI
10128 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10129
997798bf
LMI
10130 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10131 more natural than popping.
10132
d50fceab 10133 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 10134 (shr-urlify): Highlight under mouse.
d50fceab 10135
5c09de04
XF
101362013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10137
207d1d04
XF
10138 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10139
10140 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10141
5c09de04
XF
10142 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10143 buffer for output.
10144
3cd51eaa
XF
10145 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10146 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 10147
44e18199 10148 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 10149 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
10150
10151 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10152
10153 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10154 buffer for output.
10155
35a89bdd
EZ
101562013-07-29 Eli Zaretskii <eliz@gnu.org>
10157
10158 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10159 initial frame is minibuffer-less. (Bug#14841)
10160
78822e94
MA
101612013-07-29 Michael Albinus <michael.albinus@gmx.de>
10162
10163 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10164 option.
10165
10166 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10167 (tramp-maybe-open-connection): Use it.
10168
9503c190
JB
101692013-07-28 Juanma Barranquero <lekktu@gmail.com>
10170
10171 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10172 minimal set of parameters passed when creating a frame, because
10173 the minibuffer status of a frame cannot be changed later.
10174
d5a845b4
SB
101752013-07-28 Stephen Berman <stephen.berman@gmx.net>
10176
10177 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10178 replace-regexp-in-string and inadvertent omissions in previous change.
10179 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 10180 name of filtered items buffer.
d5a845b4 10181
ddeffb17
JB
101822013-07-28 Juanma Barranquero <lekktu@gmail.com>
10183
10184 * desktop.el: Optionally force offscreen frames back onscreen.
10185 (desktop-restoring-reuses-frames): New option.
10186 (desktop--compute-pos, desktop--move-onscreen): New functions.
10187 (desktop--make-frame): Use desktop--move-onscreen.
10188
f5950f7a
AM
101892013-07-27 Alan Mackenzie <acm@muc.de>
10190
10191 Fontify a Java generic method as a function.
10192 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10193 value to t.
10194
ae43b66a
SB
101952013-07-27 Stephen Berman <stephen.berman@gmx.net>
10196
10197 * calendar/todo-mode.el: Add command to rename todo files.
10198 (todo-rename-file): New command.
10199 (todo-key-bindings-t): Add key binding for it. Change the
10200 bindings of todo-filter-regexp-items(-multifile) to use `x'
10201 instead of `r', since the latter is better suited to the new
10202 renaming command.
10203
5ab78d3d
AM
102042013-07-27 Alan Mackenzie <acm@muc.de>
10205
10206 Make Java try-with-resources statement parse properly.
10207 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10208 (c-block-stmt-1-2-key): New language constants/variables.
10209 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10210 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10211 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 10212 with c-block-stmt-1-2-key.
5ab78d3d 10213
d85c4d50
JB
102142013-07-27 Juanma Barranquero <lekktu@gmail.com>
10215
10216 * desktop.el (desktop--make-frame): Apply most frame parameters after
10217 creating the frame to force (partially or totally) offscreen frames to
10218 be restored as such.
10219
e4c467f9
XF
102202013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10221
10222 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 10223 (Bug#14948)
e4c467f9 10224
7ced0d04
SM
102252013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10228 `base' arg of backtrace-frame.
10229
fec92060
EZ
102302013-07-26 Eli Zaretskii <eliz@gnu.org>
10231
10232 * simple.el (list-processes): Doc fix.
10233
d58d31fb
JB
102342013-07-26 Juanma Barranquero <lekktu@gmail.com>
10235
10236 * desktop.el (desktop--select-frame):
d85c4d50 10237 Try harder to reuse existing frames.
d58d31fb 10238
53ff3e77
SM
102392013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10240
10241 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10242 (edebug-eval): Use backtrace-eval.
10243 (edebug--display, edebug--recursive-edit): Don't let-bind the
10244 edebug-outer-* vars that keep track of variables we locally let-bind.
10245 (edebug-outside-excursion): Don't restore outside values of locally
10246 let-bound vars.
10247 (edebug--display): Use user-error.
10248 (cl-lexical-debug, cl-debug-env): Remove.
10249
045f7a53
JB
102502013-07-26 Juanma Barranquero <lekktu@gmail.com>
10251
10252 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10253 are restored to be sure that they are visible before deleting any
10254 remaining ones.
10255
59070b32
MM
102562013-07-26 Matthias Meulien <orontee@gmail.com>
10257
742a3501
XF
10258 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10259 vc-print-root-log. (Bug#14948)
59070b32 10260
b1fb3596
RS
102612013-07-26 Richard Stallman <rms@gnu.org>
10262
10263 Add aliases for encrypting mail.
10264 * epa.el (epa-mail-aliases): New option.
10265 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10266 Bind inhibit-read-only so read-only text doesn't ruin everything.
10267 (epa-mail-default-recipients): New subroutine broken out.
10268 Handle epa-mail-aliases.
10269
56ea7291
SM
102702013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10271
10272 Add support for lexical variables to the debugger's `e' command.
10273 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10274 vars, except for debugger-outer-match-data.
10275 (debugger-frame-number): Move check for "on a function call" from
10276 callers into it. Add `skip-base' argument.
10277 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10278 (debugger-env-macro): Only reset the state stored in non-variables,
10279 i.e. current-buffer and match-data.
10280 (debugger-eval-expression): Rewrite using backtrace-eval.
10281 * subr.el (internal--called-interactively-p--get-frame): Remove.
10282 (called-interactively-p):
10283 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10284 `base' arg of backtrace-frame instead.
10285
15ac32d5
GM
102862013-07-26 Glenn Morris <rgm@gnu.org>
10287
8358a09d
GM
10288 * align.el (align-regexp): Doc fix. (Bug#14857)
10289 (align-region): Explicit error if subexpression missing/does not match.
10290
15ac32d5
GM
10291 * simple.el (global-visual-line-mode):
10292 Do not duplicate the mode lighter. (Bug#14858)
10293
f47ad11b
MR
102942013-07-25 Martin Rudalics <rudalics@gmx.at>
10295
10296 * window.el (display-buffer): In display-buffer bind
10297 split-window-keep-point to t, bug#14829.
10298
02530987
JB
102992013-07-25 Juanma Barranquero <lekktu@gmail.com>
10300
10301 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10302 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10303 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10304 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10305 Change accordingly.
f63ebeb5
JB
10306 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10307 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 10308
6ccb9cab 103092013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 10310
6ccb9cab 10311 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 10312
cb3a56d2
JB
103132013-07-25 Juanma Barranquero <lekktu@gmail.com>
10314
10315 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10316 parameter to modify-frame-parameters if the value has not changed;
10317 this is a workaround for bug#14949.
10318 (desktop--make-frame): On cl-delete-if call, check parameter name,
10319 not full parameter.
10320
7aa7fff0
XF
103212013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10322
10323 * vc/vc.el (vc-ignore): New function.
10324
10325 * vc/vc-svn.el (vc-svn-ignore): New function.
10326
10327 * vc/vc-hg.el (vc-hg-ignore): New function.
10328
10329 * vc/vc-git.el (vc-git-ignore): New function.
10330
10331 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10332 (vc-dir-ignore): New function.
10333
10334 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 10335 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
10336
10337 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10338
10339 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10340
889acc5c
JB
103412013-07-24 Juanma Barranquero <lekktu@gmail.com>
10342
10343 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10344 (desktop-restore-frames): Warn when deleting an existing frame failed.
10345
86c40970
GM
103462013-07-24 Glenn Morris <rgm@gnu.org>
10347
10348 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10349
d5d3c58a
MA
103502013-07-24 Michael Albinus <michael.albinus@gmx.de>
10351
10352 * filenotify.el (file-notify-supported-p):
10353 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10354 Remove functions.
10355
35e951cd 10356 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10357 (auto-revert-notify-add-watch):
10358 * net/tramp.el (tramp-file-name-for-operation):
10359 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10360 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10361 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10362 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10363 Remove `file-notify-supported-p' entry.
10364
d100084b
GM
103652013-07-24 Glenn Morris <rgm@gnu.org>
10366
10367 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10368 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10369
ac93e56b
SM
103702013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10371
249eea30
SM
10372 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10373 checked with memq (bug#14935).
10374
ac93e56b
SM
10375 * files.el (revert-buffer-function): Use a non-nil default.
10376 (revert-buffer-preserve-modes): Declare var to
10377 provide access to the `preserve-modes' argument.
10378 (revert-buffer): Let-bind it.
10379 (revert-buffer--default): New function, extracted from revert-buffer.
10380
2cdeb903
SM
103812013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10382
10383 * lpr.el: Signal print errors more prominently.
10384 (print-region-function): Don't default to nil.
10385 (lpr-print-region): New function, extracted from print-region-1.
10386 Check lpr's return value and signal an error in case of problem.
10387 (print-region-1): Use it.
10388 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10389 versions instead.
10390 (ps-printer-name): Default to nil.
10391 (ps-printer-name-option): Default to lpr-printer-switch.
10392 (ps-print-region-function): Don't default to nil.
10393 (ps-postscript-code-directory): Simplify default.
10394 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10395 (ps-string-list, ps-eval-switch, ps-flatten-list)
10396 (ps-flatten-list-1): Remove.
10397 (ps-multibyte-buffer): Avoid setq.
10398 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10399 (print-region-function, ps-print-region-function): Don't set them here.
10400
73600831
XF
104012013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10402
35e951cd
JB
10403 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10404 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10405 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
10406 (ido-decorations): Doc fix.
10407
73600831
XF
10408 * ansi-color.el: Fix old URL.
10409
3d012865
MM
104102013-07-23 Michael R. Mauger <michael@mauger.com>
10411
e903c210 10412 * progmodes/sql.el: Version 3.3
3d012865
MM
10413 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10414 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10415 (sql-interactive-remove-continuation-prompt): Rewrite, use
10416 functions above. Fix continuation prompt and complete output line
10417 handling.
10418 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10419 redirected output buffer.
10420 (sql-mode): Restore deleted code (Bug#13591).
10421
da77a2e2
JB
104222013-07-23 Juanma Barranquero <lekktu@gmail.com>
10423
10424 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10425
80ff0c71
MA
104262013-07-23 Michael Albinus <michael.albinus@gmx.de>
10427
10428 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10429
10430 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10431 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10432 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10433
b61d71e4
JB
104342013-07-23 Juanma Barranquero <lekktu@gmail.com>
10435
10436 * desktop.el (desktop-clear): Simplify; remove useless checks
10437 against invalid buffer names.
10438 (desktop-list*): Use cl-list*.
10439 (desktop-buffer-info, desktop-create-buffer): Simplify.
10440
c3512092
LL
104412013-07-23 Leo Liu <sdl.web@gmail.com>
10442
10443 * bookmark.el (bookmark-make-record): Restore NAME as a default
10444 value. (Bug#14933)
10445
0ac26976
SM
104462013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10447
7d22ce18
SM
10448 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10449 extracted from autoload--insert-text.
10450 (autoload--insert-text): Remove.
10451 (autoload--print-cookie-text): New function, extracted from
10452 autoload--insert-cookie-text.
10453 (autoload--insert-cookie-text): Remove.
10454 (autoload-generate-file-autoloads): Adjust calls accordingly.
10455
9b2607e8
SM
10456 * winner.el (winner-hook-installed-p): Remove.
10457 (winner-mode): Simplify accordingly.
10458
c43a8618
SM
10459 * subr.el (add-to-list): Fix compiler-macro when `append' is
10460 not constant. Don't use `cl-member' for the base case.
10461
0ac26976
SM
10462 * progmodes/subword.el: Fix boundary case (bug#13758).
10463 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10464 own group.
10465 (subword-backward-regexp): Make it a constant.
10466 (subword-forward-internal): Don't treat a trailing capital as the
10467 beginning of a word.
10468
6874724a
AR
104692013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10470
10471 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10472 global value of tabulated-list-revert-hook (bug#14930).
10473
70f1b5e8
JB
104742013-07-22 Juanma Barranquero <lekktu@gmail.com>
10475
a1c80d9d
JB
10476 * desktop.el: Require 'cl-lib.
10477 (desktop-before-saving-frames-functions): New hook.
10478 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10479 for frames being saved. Rename from desktop--save-minibuffer-frames.
10480 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
10481 Do not save frames with non-nil `desktop-dont-save' parameter.
10482 Filter out deleted frames.
a1c80d9d
JB
10483 (desktop--find-frame): Use cl-find-if.
10484 (desktop--select-frame): Use cl-(first|second|third) to access values
10485 of desktop-mini.
10486 (desktop--make-frame): Use cl-delete-if.
10487 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10488 (desktop-restore-frames): Use cl-(first|second|third) to access values
10489 of desktop-mini. Look for visible frame at the end, not while
10490 restoring frames.
10491
70f1b5e8
JB
10492 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10493 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10494 Use string-match-p, looking-at-p (bug#14927).
10495
728dc3cc
JB
104962013-07-21 Juanma Barranquero <lekktu@gmail.com>
10497
56bc453c
JB
10498 * desktop.el (desktop-saved-frame-states):
10499 Rename from desktop--saved-states; all users changed.
10500 (desktop-save-frames): Rename from desktop--save-frames.
10501 Do not save state to desktop file.
10502 (desktop-save): Save desktop-saved-frame-states to desktop file
10503 and reset to nil.
10504 (desktop-restoring-frames-p): New function.
10505 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10506 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10507 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10508
728dc3cc
JB
10509 * desktop.el: Correctly restore iconified frames.
10510 (desktop--filter-iconified-position): New function.
10511 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10512
862f1c9c
GM
105132013-07-20 Glenn Morris <rgm@gnu.org>
10514
c4074c9f
GM
10515 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10516 Let `message' do the formatting.
10517 (def-gdb-preempt-display-buffer): Add explicit format.
10518
d828e5f9
GM
10519 * image-dired.el (image-dired-track-original-file):
10520 Use with-current-buffer.
10521 (image-dired-track-thumbnail): Use with-current-buffer.
10522 Avoid changing point of wrong window.
10523
862f1c9c
GM
10524 * image-dired.el (image-dired-track-original-file):
10525 Avoid changing point of wrong window. (Bug#14909)
10526
f0398ec1 105272013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
10528
10529 * progmodes/gdb-mi.el (gdb-done-or-error):
10530 Guard against "%" in gdb output. (Bug#14127)
10531
1451928f
AS
105322013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10533
763a086d
JB
10534 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10535 (Bug#14826)
f7a03897 10536
1451928f
AS
10537 * international/mule.el (coding-system-iso-2022-flags): Fix last
10538 change.
10539
99107004
KH
105402013-07-20 Kenichi Handa <handa@gnu.org>
10541
763a086d
JB
10542 * international/mule.el (coding-system-iso-2022-flags):
10543 Add `8-bit-level-4'. (Bug#8522)
99107004 10544
48494e06
LMI
105452013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10546
8ba8eec5
LMI
10547 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10548 (bug#14815).
10549
dfbc66e3
LMI
10550 * net/eww.el (eww-process-text-input): Allow inputting when the
10551 point is at the start of the line, as the properties aren't
10552 front-sticky.
10553
48494e06
LMI
10554 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10555 degenerate widths.
10556
77c92cb9
RS
105572013-07-19 Richard Stallman <rms@gnu.org>
10558
aec7da77
RS
10559 * epa.el (epa-popup-info-window): Doc fix.
10560
77c92cb9
RS
10561 * subr.el (split-string): New arg TRIM.
10562
945c5bb1
JB
105632013-07-18 Juanma Barranquero <lekktu@gmail.com>
10564
10565 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10566 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10567
e06ec67f
MA
105682013-07-18 Michael Albinus <michael.albinus@gmx.de>
10569
c7064f05 10570 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
10571 `file-notify-support'. Do not autoload. Adapt all uses.
10572 (file-notify-supported-p): New defun.
10573
c7064f05
JB
10574 * autorevert.el (auto-revert-use-notify):
10575 Use `file-notify-supported-p' instead of `file-notify-support'.
10576 Adapt docstring.
e06ec67f
MA
10577 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10578
10579 * net/tramp.el (tramp-file-name-for-operation):
10580 Add `file-notify-supported-p'.
10581
10582 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10583 New defun.
10584 (tramp-sh-file-name-handler-alist): Add it as handler for
10585 `file-notify-supported-p '.
10586
10587 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10588 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10589 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10590 Add `ignore' as handler for `file-notify-*' functions.
10591
5dc8a629
EZ
105922013-07-17 Eli Zaretskii <eliz@gnu.org>
10593
10594 * simple.el (line-move-partial, line-move): Don't start vscroll or
10595 scroll-up if the current line is not taller than the window.
10596 (Bug#14881)
10597
77aea2fb
DG
105982013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10599
10600 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10601 highlight question marks in the method names as strings.
ac72c08d
DG
10602 (ruby-block-beg-keywords): Inline.
10603 (ruby-font-lock-keyword-beg-re): Extract from
10604 `ruby-font-lock-keywords'.
77aea2fb 10605
18c26d81
JD
106062013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10607
10608 * frame.el (blink-cursor-blinks): New defcustom.
10609 (blink-cursor-blinks-done): New defvar.
10610 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10611 (blink-cursor-timer-function): Check if number of blinks has been
10612 done on X and NS.
10613 (blink-cursor-suspend, blink-cursor-check): New defuns.
10614
da48522e
GM
106152013-07-15 Glenn Morris <rgm@gnu.org>
10616
10617 * edmacro.el (edmacro-format-keys): Fix previous change.
10618
0463c1ef
PE
106192013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10620
10621 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10622 The hack didn't work outside English locales anyway.
10623
b43f6451
JB
106242013-07-15 Juanma Barranquero <lekktu@gmail.com>
10625
10626 * simple.el (define-alternatives): Rename from alternatives-define,
10627 per RMS' suggestion.
10628
b958c0ad
JB
106292013-07-14 Juanma Barranquero <lekktu@gmail.com>
10630
10631 * desktop.el (desktop-restore-frames): Change default to t.
10632 (desktop-restore-in-current-display): Now offer more options.
10633 (desktop-restoring-reuses-frames): New customization option.
10634 (desktop--saved-states): Doc fix.
10635 (desktop-filter-parameters-alist): New variable, renamed and expanded
10636 from desktop--excluded-frame-parameters.
10637 (desktop--target-display): New variable.
10638 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10639 (desktop--filter-tty*, desktop--filter-*-color)
10640 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10641 (desktop--filter-save-desktop-parm)
10642 (desktop-restore-in-original-display-p): New functions.
10643 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10644 (desktop--save-minibuffer-frames): New function, inspired by a similar
10645 function from Martin Rudalics.
10646 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10647 (desktop--restore-in-this-display-p): Remove.
10648 (desktop--find-frame): Rename from desktop--find-frame-in-display
10649 and add predicate argument.
10650 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10651 (desktop--reuse-list): New variable.
10652 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10653 New functions.
10654 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10655
f6dd8b36
MA
106562013-07-14 Michael Albinus <michael.albinus@gmx.de>
10657
10658 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10659
2ce3c565
DG
106602013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10661
763a086d
JB
10662 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10663 Highlight conversion methods on Kernel.
2ce3c565 10664
2cdb7698
AM
106652013-07-13 Alan Mackenzie <acm@muc.de>
10666
10667 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10668 and comment it out. This out-commenting enables certain C++
10669 declarations to be parsed correctly.
10670
1a67b811
EZ
106712013-07-13 Eli Zaretskii <eliz@gnu.org>
10672
1b796d6b
EZ
10673 * international/mule.el (define-coding-system): Doc fix.
10674
1a67b811
EZ
10675 * simple.el (default-font-height): Don't call font-info if the
10676 frame's default font didn't change since the frame was created.
10677 (Bug#14838)
10678
58fbe886
LL
106792013-07-13 Leo Liu <sdl.web@gmail.com>
10680
10681 * ido.el (ido-read-file-name): Guard against non-symbol value.
10682
1f0480d4
FEG
106832013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10684
10685 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10686 in nested defuns.
10687
97ead0e5
LL
106882013-07-13 Leo Liu <sdl.web@gmail.com>
10689
10690 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10691 ido-set-matches call. (Bug#6852)
10692
0880a952
DG
106932013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10694
35e951cd 10695 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
10696 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10697 Ruby 2.0.
10698 (ruby-font-lock-keywords): Distinguish calls to functions with
10699 module-like names from module references. Highlight character
10700 literals.
10701
a7d8babb
SDJ
107022013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10703
10704 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 10705 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 10706
acfcc8c5
JB
107072013-07-12 Juanma Barranquero <lekktu@gmail.com>
10708
10709 * desktop.el (desktop--v2s): Remove unused local variable.
10710 (desktop-save-buffer): Make defvar-local; adjust docstring.
10711 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10712 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10713
051f2775
AS
107142013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10715
10716 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10717
f24e7572
GM
107182013-07-12 Eli Zaretskii <eliz@gnu.org>
10719
10720 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10721 (Bug#14842)
10722
539a920c
GM
107232013-07-12 Glenn Morris <rgm@gnu.org>
10724
10725 * doc-view.el: Require cl-lib at runtime too.
10726 (doc-view-remove-if): Remove.
10727 (doc-view-search-next-match, doc-view-search-previous-match):
10728 Use cl-remove-if.
10729
10730 * edmacro.el: Require cl-lib at runtime too.
10731 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10732 (edmacro-mismatch, edmacro-subseq): Remove.
10733
10734 * shadowfile.el: Require cl-lib.
10735 (shadow-remove-if): Remove.
10736 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10737 Use cl-remove-if.
10738
10739 * wid-edit.el: Require cl-lib.
10740 (widget-choose): Use cl-remove-if.
10741 (widget-remove-if): Remove.
10742
10743 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10744 (ebrowse-delete-if-not): Remove.
10745 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10746 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10747 Use cl-delete-if-not.
10748
1048af7c
JB
107492013-07-12 Juanma Barranquero <lekktu@gmail.com>
10750
10751 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10752 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10753
6c0674ee
LL
107542013-07-12 Leo Liu <sdl.web@gmail.com>
10755
10756 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10757
a19b3c2d
GM
107582013-07-11 Glenn Morris <rgm@gnu.org>
10759
4582a01c
GM
10760 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10761 (edebug-gensym-index, edebug-gensym):
10762 Remove reimplementation of cl-gensym.
10763 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10764
10765 * thumbs.el: Require cl-lib at run-time too.
10766 (thumbs-gensym-counter, thumbs-gensym):
10767 Remove reimplementation of cl-gensym.
10768 (thumbs-temp-file): Use cl-gensym.
10769
a19b3c2d
GM
10770 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10771 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10772 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10773 (ert--union, ert--gensym-counter, ert--gensym-counter)
10774 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10775 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10776 (ert-make-test-unbound, ert--expand-should-1)
10777 (ert--expand-should, ert--should-error-handle-error)
10778 (should-error, ert--explain-equal-rec)
10779 (ert--plist-difference-explanation, ert-select-tests)
10780 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10781 Use cl-lib functions rather than reimplementations.
10782
88f6a933
MA
107832013-07-11 Michael Albinus <michael.albinus@gmx.de>
10784
10785 * net/tramp.el (tramp-methods): Extend docstring.
10786 (tramp-connection-timeout): New defcustom.
10787 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10788 (with-tramp-progress-reporter): Simplify.
10789 (tramp-process-actions): Improve messages.
10790
10791 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10792 * net/tramp-sh.el (tramp-maybe-open-connection):
10793 Use `tramp-connection-timeout'.
afe1e4c8 10794 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
10795 (Bug#14808)
10796
a43d577e
LL
107972013-07-11 Leo Liu <sdl.web@gmail.com>
10798
10799 * ido.el (ido-read-file-name): Conform to the requirements of
10800 read-file-name. (Bug#11861)
10801 (ido-read-directory-name): Conform to the requirements of
10802 read-directory-name.
10803
d77974bf
JB
108042013-07-11 Juanma Barranquero <lekktu@gmail.com>
10805
10806 * subr.el (delay-warning): New function.
10807
35cb8a3e
EZ
108082013-07-10 Eli Zaretskii <eliz@gnu.org>
10809
10810 * simple.el (default-line-height): New function.
10811 (line-move-partial, line-move): Use it instead of computing the
10812 line height inline.
10813 (line-move-partial): Always compute ROWH. If the last line is
10814 partially-visible, but its text is completely visible, allow
10815 cursor to enter such a partially-visible line.
10816
525c5c77
MA
108172013-07-10 Michael Albinus <michael.albinus@gmx.de>
10818
10819 Improve error messages. (Bug#14808)
10820
10821 * net/tramp.el (tramp-current-connection): New defvar, moved from
10822 tramp-sh.el.
0ac26976 10823 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 10824 needed anymore.
0ac26976
SM
10825 (tramp-error-with-buffer): Show message in minibuffer.
10826 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
10827 (with-tramp-progress-reporter): Improve messages.
10828 (tramp-process-actions): Use progress reporter. Delete process in
10829 case of error. Improve messages.
10830
763a086d
JB
10831 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10832 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 10833 (tramp-current-connection): Remove.
525c5c77
MA
10834 (tramp-maybe-open-connection): The car of
10835 `tramp-current-connection' are the first 3 slots of the vector.
10836
c7a4d368
TZ
108372013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10838
10839 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10840 inside continued strings.
10841
954b166e
PE
108422013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10843
10844 Timestamp fixes for undo (Bug#14824).
10845 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10846
56973319
LL
108472013-07-10 Leo Liu <sdl.web@gmail.com>
10848
10849 * files.el (require-final-newline): Allow safe local value.
10850 (Bug#14834)
10851
5550a72c
LL
108522013-07-09 Leo Liu <sdl.web@gmail.com>
10853
10854 * ido.el (ido-read-directory-name): Handle fallback.
10855 (ido-read-file-name): Update DIR to ido-current-directory.
10856 (Bug#1516)
c28b9050 10857 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 10858
70c46b28
DG
108592013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10860
10861 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10862 "autoload". Remove "warn lower camel case" section, previously
10863 commented out. Highlight negation char. Do not highlight the
10864 target in singleton method definitions.
10865
0b64b838
SM
108662013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10867
7fd72e2c
SM
10868 * faces.el (tty-setup-hook): Declare the hook.
10869
0b64b838
SM
10870 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10871 and detect when a guard/pred depends on local vars (bug#14773).
10872 (pcase--u1): Adjust caller.
10873
ab49d60b
EZ
108742013-07-08 Eli Zaretskii <eliz@gnu.org>
10875
10876 * simple.el (line-move-partial, line-move): Account for
10877 line-spacing.
701d79aa
EZ
10878 (line-move-partial): Avoid setting vscroll when the last
10879 partially-visible line in window is of default height.
ab49d60b 10880
2d756ae0
LMI
108812013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10882
10883 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10884 been used a while.
10885
ed095bd7
JB
108862013-07-07 Juanma Barranquero <lekktu@gmail.com>
10887
10888 * subr.el (read-quoted-char): Remove unused local variable `char'.
10889
f1e6674b
MK
108902013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10891
584ee3fc
GM
10892 * ediff.el (ediff-version): Version update.
10893 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10894 (ediff-merge-with-ancestor-command, ediff-directories-command)
10895 (ediff-directories3-command, ediff-merge-directories-command)
10896 (ediff-merge-directories-with-ancestor-command): New functions.
10897 All are command-line interfaces to ediff: to facilitate calling
10898 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
10899
10900 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10901 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 10902
584ee3fc
GM
10903 * viper.el (viper-version): Version update.
10904 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 10905
584ee3fc
GM
109062013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10907
10908 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10909 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10910 (viper-intercept-ESC-key): Simplify.
10911 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10912 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10913 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10914 (viper-setup-ESC-to-escape): New functions.
10915 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10916 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 10917
9aff9b38
EZ
109182013-07-07 Eli Zaretskii <eliz@gnu.org>
10919
5165d44a
JB
10920 * simple.el (default-font-height, window-screen-lines):
10921 New functions.
9aff9b38
EZ
10922 (line-move, line-move-partial): Use them instead of
10923 frame-char-height and window-text-height. This makes scrolling
10924 text smoother when the buffer's default face uses a font that is
10925 different from the frame's default font.
10926
1afb1d07
JD
109272013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10928
10929 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 10930 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 10931
23de972a
EZ
109322013-07-06 Eli Zaretskii <eliz@gnu.org>
10933
10934 * simple.el (line-move-partial): Adjust the row returned by
10935 posn-at-point for the current window-vscroll. (Bug#14567)
10936
54a42486
MA
109372013-07-06 Michael Albinus <michael.albinus@gmx.de>
10938
35e951cd 10939 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
10940 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10941 spaces.
10942
34ada5f4
MR
109432013-07-06 Martin Rudalics <rudalics@gmx.at>
10944
10945 * window.el (window-state-put-stale-windows): New variable.
10946 (window--state-put-2): Save list of windows without matching buffer.
10947 (window-state-put): Remove "bufferless" windows if possible.
10948
11e03d89
JB
109492013-07-06 Juanma Barranquero <lekktu@gmail.com>
10950
10951 * simple.el (alternatives-define): Remove leftover :group keyword.
10952 Tweak docstring.
10953
3504a4be
LL
109542013-07-06 Leo Liu <sdl.web@gmail.com>
10955
10956 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10957 (ido-enable-virtual-buffers): New variable.
10958 (ido-buffer-internal, ido-toggle-virtual-buffers)
10959 (ido-make-buffer-list): Use it.
10960 (ido-exhibit): Support turning on and off virtual buffers
10961 automatically.
10962
61e56e2c
JB
109632013-07-06 Juanma Barranquero <lekktu@gmail.com>
10964
10965 * simple.el (alternatives-define): New macro.
10966
321e1a9c
SM
109672013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10968
10969 * subr.el (read-quoted-char): Use read-key.
10970 (sit-for): Let read-event decode tty input (bug#14782).
10971
d610f6dd
SB
109722013-07-05 Stephen Berman <stephen.berman@gmx.net>
10973
10974 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
10975 mode command and externally. Fix various related bugs.
10976 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
10977 (todo-delete-file): New command.
10978 (todo-check-file): New function.
10979 (todo-show): Handle external deletion of the file we're trying to
10980 show (bug#14688). Replace called-interactively-p by an optional
10981 prefix argument to avoid problematic interaction with catch form
10982 when byte compiled (bug#14702).
10983 (todo-quit): Handle external deletion of the archive's todo file.
10984 Make sure the buffer that was visiting the archive file is still
10985 live before trying to bury it.
10986 (todo-category-completions): Handle external deletion of any
10987 category completion files.
10988 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10989 of todo files, in case of external deletion.
10990 (todo-add-file): Replace unnecessary setq by let-binding.
10991 (todo-find-archive): Check whether there are any archives.
10992 Replace unnecessary setq by let-binding.
10993 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
10994 archive buffer whether or not the archive already exists.
10995 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
10996 check if the archive is new; if it is, update list of archives.
10997 (todo-default-todo-file): Allow nil to be a valid value for when
10998 there are no todo files.
10999 (todo-reevaluate-default-file-defcustom): Use corrected definition
11000 of todo-default-todo-file.
11001 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11002 (todo-delete-category, todo-show-categories-table)
11003 (todo-category-number): Clarify comment.
11004 (todo-filter-items): Clarify documentation string.
11005 (todo-show-current-file, todo-display-as-todo-file)
11006 (todo-reset-and-enable-done-separator): Tweak documentation string.
11007 (todo-done-separator): Make separator length window-width, since
11008 bug#2749 is now fixed.
11009
ddbdfd6f
MA
110102013-07-05 Michael Albinus <michael.albinus@gmx.de>
11011
321e1a9c
SM
11012 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11013 Support both "gvfs-monitor-dir" and "inotifywait".
11014 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
11015 `tramp-sh-file-notify-process-filter'.
11016 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11017 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11018
96eb829a
LL
110192013-07-05 Leo Liu <sdl.web@gmail.com>
11020
11021 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11022
cf13177e
YM
110232013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11024
11025 * frame.el (display-pixel-height, display-pixel-width)
11026 (display-mm-height, display-mm-width): Mention behavior on
11027 multi-monitor setups in docstrings.
11028 (w32-display-monitor-attributes-list): Declare function.
11029 (display-monitor-attributes-list): Use it.
11030
864c58ca
MA
110312013-07-04 Michael Albinus <michael.albinus@gmx.de>
11032
11033 * filenotify.el: New package.
11034
11035 * autorevert.el (top): Require filenotify.el.
11036 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11037 instead.
11038 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11039 (auto-revert-notify-handler): Use `file-notify-*' functions.
11040
11041 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11042
321e1a9c
SM
11043 * net/tramp.el (tramp-file-name-for-operation):
11044 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
11045
11046 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11047 for `file-notify-add-watch' and `file-notify-rm-watch'.
11048 (tramp-process-sentinel): Improve trace.
11049 (tramp-sh-handle-file-notify-add-watch)
11050 (tramp-sh-file-notify-process-filter)
11051 (tramp-sh-handle-file-notify-rm-watch)
11052 (tramp-get-remote-inotifywait): New defuns.
11053
96673afe
JL
110542013-07-03 Juri Linkov <juri@jurta.org>
11055
11056 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11057 call of `occur-read-primary-args' to interactive spec.
11058
11059 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11060 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11061
924494f4
MM
110622013-07-03 Matthias Meulien <orontee@gmail.com>
11063
11064 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11065 `Buffer-menu-multi-occur'. Add it to the menu.
11066 (Buffer-menu-mode): Document it in docstring.
11067 (Buffer-menu-multi-occur): New command. (Bug#14673)
11068
56f75efc
DG
110692013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11070
11071 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11072 keywords and built-ins.
11073
9b057d61
GM
110742013-07-03 Glenn Morris <rgm@gnu.org>
11075
208dee4d
GM
11076 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11077
9b057d61
GM
11078 Make info-xref checks case-sensitive by default
11079 * info.el (Info-find-node, Info-find-in-tag-table)
11080 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11081 Add option for exact case matching of nodes.
11082 * info-xref.el (info-xref): New custom group.
11083 (info-xref-case-fold): New option.
11084 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11085
e01aa29c
LL
110862013-07-03 Leo Liu <sdl.web@gmail.com>
11087
11088 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11089
3086ca2e
DG
110902013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11091
11092 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11093 middle of block statement initially, lower the depth. Remove
11094 FIXME comment, not longer valid. Remove middle of block statement
11095 detection, no need to do that anymore since we've been using
11096 `ruby-parse-region' here.
11097
a3b49114
JD
110982013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11099
11100 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11101
08e5c823 111022013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
11103
11104 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11105
2addf922
JB
111062013-07-01 Juanma Barranquero <lekktu@gmail.com>
11107
11108 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11109 (desktop-restore-in-current-display): New customization option.
11110 (desktop--excluded-frame-parameters): Add `font'.
11111 (desktop--save-frames): Rename from desktop--save-windows.
11112 (desktop--restore-in-this-display-p): New function.
11113 (desktop--make-full-frame): Remove unwanted width/height from
11114 full(width|height) frames.
11115 (desktop--restore-frames): Rename from desktop--restore-windows.
11116 Obey desktop-restore-current-display. Do not delete old frames or
11117 select a new frame unless we were able to restore at least one frame.
11118
ef099a94
MN
111192013-06-30 Michal Nazarewicz <mina86@mina86.com>
11120
11121 * files.el (find-file-noselect): Simplify conditional expression.
11122
a12bf61e 11123 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
11124 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11125
11126 Add `remember-notes' function to store random notes across Emacs
11127 restarts.
3fcfc4ee
JB
11128 * textmodes/remember.el (remember-data-file): Add :set callback to
11129 affect notes buffer (if any).
ef099a94
MN
11130 (remember-notes): New command.
11131 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11132 New defcustoms for the `remember-notes' function.
11133 (remember-notes-save-and-bury-buffer): New command.
11134 (remember-notes-mode-map): New variable.
11135 (remember-mode): New minor mode.
11136 (remember-notes--kill-buffer-query): New function.
11137 * startup.el (initial-buffer-choice): Add notes to custom type.
11138
0865d506
EZ
111392013-06-30 Eli Zaretskii <eliz@gnu.org>
11140
0ba54312
EZ
11141 * bindings.el (right-char, left-char): Don't call sit-for, this is
11142 no longer needed. Use arithmetic comparison only for numerical
11143 arguments.
11144
ef099a94
MN
11145 * international/mule-cmds.el (select-safe-coding-system):
11146 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 11147
2fae38e5
LMI
111482013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11149
11150 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11151 progression on degenerate tables.
ef099a94 11152 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 11153
a47cbd64
JB
111542013-06-30 Juanma Barranquero <lekktu@gmail.com>
11155
11156 Some fixes and improvements for desktop frame restoration.
11157 It is still experimental and disabled by default.
11158 * desktop.el (desktop--save-windows): Put the selected frame at
11159 the head of the list.
11160 (desktop--make-full-frame): New function.
11161 (desktop--restore-windows): Try to re-select the frame that was
11162 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
11163 just show an error message and continue. Set up maximized frames
11164 so they have default non-maximized dimensions.
a47cbd64 11165
6dbafa30
DG
111662013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11167
ef099a94
MN
11168 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11169 Don't start heredoc inside a string or comment.
6dbafa30 11170
4c672a0f
EZ
111712013-06-29 Eli Zaretskii <eliz@gnu.org>
11172
11173 * bindings.el (visual-order-cursor-movement): New defcustom.
11174 (right-char, left-char): Provide visual-order cursor motion by
11175 calling move-point-visually. Update the doc strings.
11176
50960f36
KH
111772013-06-28 Kenichi Handa <handa@gnu.org>
11178
11179 * international/mule.el (define-coding-system): New coding system
11180 properties :inhibit-null-byte-detection,
11181 :inhibit-iso-escape-detection, and :prefer-utf-8.
11182 (set-buffer-file-coding-system): If :charset-list property of
11183 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11184 appropriate for setting.
11185
c1ea3abf
JB
11186 * international/mule-cmds.el (select-safe-coding-system):
11187 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11188 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
11189
11190 * international/mule-conf.el (prefer-utf-8): New coding system.
11191 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11192 files.
11193
75dbaf9d
IK
111942013-06-28 Ivan Kanis <ivan@kanis.fr>
11195
eadb6068
IK
11196 * net/shr.el (shr-render-region): New function.
11197
75dbaf9d
IK
11198 * net/eww.el: Autoload `eww-browse-url'.
11199
9ea5cf9f
DG
112002013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11201
c1ea3abf
JB
11202 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11203 Adapt to `package-desc-version' being a list.
11204 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
11205 archive element.
11206
39c0e36f
JB
112072013-06-27 Juanma Barranquero <lekktu@gmail.com>
11208
11209 New experimental feature to save&restore window and frame setup.
11210 * desktop.el (desktop-save-windows): New defcustom.
11211 (desktop--saved-states): New var.
11212 (desktop--excluded-frame-parameters): New defconst.
11213 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11214 (desktop--restore-windows, desktop--save-windows): New functions.
11215 (desktop-save): Call `desktop--save-windows'.
11216 (desktop-read): Call `desktop--restore-windows'.
11217
7f13406b
LMI
112182013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11219
ef099a94 11220 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 11221
1e072639
SB
112222013-06-27 Stephen Berman <stephen.berman@gmx.net>
11223
11224 * info.el (Info-try-follow-nearest-node): Move search for footnote
11225 above search for node name to prevent missing a footnote (bug#14717).
11226
f3e2cbde
SB
112272013-06-27 Stephen Berman <stephen.berman@gmx.net>
11228
11229 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11230
99906aa0
LL
112312013-06-27 Leo Liu <sdl.web@gmail.com>
11232
11233 * net/eww.el (eww-read-bookmarks): Check file size.
11234
539f75f4
SM
112352013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11238 advice--pending if newdef is nil or an autoload (bug#13820).
11239 (advice-mapc): New function.
11240
843571cb
LMI
112412013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11242
11243 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11244 probably.
23a75d7f 11245 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
11246 (eww-add-bookmark): New command.
11247 (eww-bookmark-mode): New mode and commands.
a285ce99 11248 (eww-add-bookmark): Remove newlines from the title.
47fd571b 11249 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 11250
f2136e1e
GM
112512013-06-26 Glenn Morris <rgm@gnu.org>
11252
eab35f39
GM
11253 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11254 (hfy-size): Handle ttys. (Bug#14668)
11255
f2136e1e
GM
11256 * info-xref.el: Update for Texinfo 5 change in *note format.
11257 (info-xref-node-re, info-xref-note-re): New constants.
11258 (info-xref-check-buffer): Use info-xref-note-re.
11259
a49ff80c
SM
112602013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11261
a343d218
SM
11262 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11263
a49ff80c
SM
11264 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11265 nil terminate the loop (bug#14718).
11266
8308f184
LMI
112672013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11268
11269 * net/eww.el: Rework history traversal. When going forward/back,
11270 put these actions into the history, too, so that they can be
11271 replayed.
26bf2b82 11272 (eww-render): Move the history reset to the correct buffer.
8308f184 11273
ec64c273
JL
112742013-06-25 Juri Linkov <juri@jurta.org>
11275
11276 * files-x.el (modify-dir-local-variable): Change the header comment
11277 in the file with directory local variables. (Bug#14692)
11278
e080a9d7
JL
11279 * files-x.el (read-file-local-variable-value): Add `default'.
11280 (Bug#14710)
11281
bfbc93a1
IK
112822013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11283
11284 * net/eww.el (eww-make-unique-file-name): Create a unique file
11285 name before saving to entering `y' accidentally asynchronously.
11286
112872013-06-25 Ivan Kanis <ivan@kanis.fr>
11288
11289 * net/eww.el (eww-download): New command and keystroke.
11290
16f74f10
LMI
112912013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11292
a49ff80c 11293 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
11294
11295 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11296 be more consistent with Info and dired.
11297
11298 * net/eww.el (eww-mode-map): Ditto.
11299
12059709
SM
113002013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11303 packages from archives.
11304 (package-archive-contents): Change format; include obsolete packages.
11305 (package-desc): Use `dir' to mark builtin packages.
11306 (package--from-builtin): Set the `dir' field to `builtin'.
11307 (generated-autoload-file, version-control): Declare.
11308 (package-compute-transaction): Change first arg and return value to be
11309 lists of package-descs. Adjust to new package-archive-contents format.
11310 (package--add-to-archive-contents): Adjust to new
11311 package-archive-contents format.
11312 (package-download-transaction): Arg is now a list of package-descs.
11313 (package-install): If `pkg' is a package name, pass it as
11314 a requirement, so it is subject to the usual (e.g. disabled) checks.
11315 (describe-package): Accept package-desc as well.
11316 (describe-package-1): Describe a specific package-desc. Add links to
11317 other package-descs for the same package name.
11318 (package-menu-describe-package): Pass the actual package-desc.
11319 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11320 works correctly.
11321 (package-desc-status): New function.
11322 (package-menu--refresh): New function, extracted
11323 from package-menu--generate.
11324 (package-menu--generate): Use it.
11325 (package-delete): Update package-alist.
11326 (package-menu-execute): Don't call package-initialize.
11327
11328 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11329 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11330 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11331 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11332 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11333 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11334
8bbdea0f
MR
113352013-06-25 Martin Rudalics <rudalics@gmx.at>
11336
11337 * window.el (window--state-get-1): Workaround for bug#14527.
11338 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11339
e82b0991
LMI
113402013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11341
11342 * net/eww.el (eww-back-url): Implement the history by stashing all
11343 the data into a list.
d3f0f918 11344 (eww-forward-url): Allow going forward in the history, too.
e82b0991 11345
c763842b
SM
113462013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11347
11348 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11349 for values and use read--expression for expressions (bug#14710).
11350 (read-file-local-variable): Avoid setq.
11351 (read-file-local-variable-mode): Use minor-mode-list.
11352
bceff189
RW
113532013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11354
864c58ca 11355 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11356 for DOI URLs.
11357
45f431c6
RW
113582013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11359
864c58ca 11360 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11361 Update imenu-support when dialect changes.
11362
f42d8237
LL
113632013-06-25 Leo Liu <sdl.web@gmail.com>
11364
11365 * ido.el (ido-read-internal): Allow forward slash on windows.
11366
be549ce6
LMI
113672013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11368
11369 * net/eww.el (eww): Start of strings is \\`, not ^.
11370
71d4c19d
IK
113712013-06-24 Ivan Kanis <ivan@kanis.fr>
11372
5196f88a
IK
11373 * net/shr.el (shr-browse-url): Fix interactive spec.
11374
71d4c19d
IK
11375 * net/eww.el (eww): Add a trailing slash to domain names.
11376
ae36ca55
JB
113772013-06-24 Juanma Barranquero <lekktu@gmail.com>
11378
11379 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11380
0ebd92a3
LMI
113812013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11382
bdaa086b
LMI
11383 * net/shr.el (shr-browse-url): Use an external browser if given a
11384 prefix.
11385
c763842b 11386 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11387
b89fc156
IK
113882013-06-24 Ivan Kanis <ivan@kanis.fr>
11389
11390 * net/eww.el (eww): Work more correctly for file: URLs.
11391 (eww-detect-charset): Allow quoted charsets.
11392 (eww-yank-page-url): New command and keystroke.
11393
18eb4bca
DU
113942013-06-24 Daiki Ueno <ueno@gnu.org>
11395
11396 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11397 file name of gpg executable.
11398 (epg-context-program): New function.
11399 (epg-context-home-directory): New function.
11400 (epg-context-set-program): New function.
11401 (epg-context-set-home-directory): New function.
11402 (epg--start): Use `epg-context-program' instead of
11403 'epg-gpg-program'.
11404 (epg--list-keys-1): Likewise.
11405
6c6268c8
LL
114062013-06-24 Leo Liu <sdl.web@gmail.com>
11407
11408 * ido.el (ido-read-internal): Fix bug#14620.
11409
5e400cb3
JB
114102013-06-23 Juanma Barranquero <lekktu@gmail.com>
11411
11412 * faces.el (face-documentation): Simplify.
11413 (read-face-attribute, tty-find-type, x-resolve-font-name):
11414 Use `string-match-p'.
11415 (list-faces-display): Use `string-match-p'. Simplify.
11416 (face-spec-recalc): Check face to avoid face alias loops.
11417 (read-color): Use `string-match-p' and non-capturing parenthesis.
11418
f3f9606c
LMI
114192013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11420
11421 * net/shr.el (shr-rescale-image): Use the new
11422 :max-width/:max-height functionality.
11423
a3ca09b9
IK
114242013-06-23 Ivan Kanis <ivan@kanis.fr>
11425
11426 * net/eww.el (eww-search-prefix): New variable.
11427 (eww): Use it.
f865b474
IK
11428 (eww-external-browser): New variable.
11429 (eww-mode-map): New keystroke.
11430 (eww-browse-with-external-browser): New command.
a3ca09b9 11431
e854cfc7
IK
11432 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11433
18bb9e21
JB
114342013-06-23 Juanma Barranquero <lekktu@gmail.com>
11435
11436 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11437 Don't skip aligning the next header field when padding is 0;
11438 otherwise, field width is not respected unless the title is as
11439 wide as the field.
11440
5b165ade
SM
114412013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11442
11443 * emacs-lisp/package.el (package-el-version): Remove.
11444 (package-process-define-package): Fix inf-loop.
11445 (package-install): Allow symbols as arguments again.
11446
12adebe9
DG
114472013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11448
11449 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11450 add some more keyword-like methods.
11451 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11452
388573ee
JB
114532013-06-22 Juanma Barranquero <lekktu@gmail.com>
11454
11455 * bs.el (bs-buffer-show-mark): Make defvar-local.
11456 (bs-mode): Use setq-local.
11457
11458 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11459 (emacs-lock--try-unlocking): Make defvar-local.
11460
4582a01c 114612013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 11462
2663dd23
GM
11463 * play/cookie1.el (cookie-apropos): Minor simplification.
11464
3d94f3ad
GM
11465 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11466
f72e2fdb
DG
114672013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11468
11469 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11470 `regexp-opt', it breaks the build during dumping.
11471
73eab938
DG
114722013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11473
c763842b
SM
11474 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11475 Highlight keyword-like methods on Kernel and Module with
73eab938 11476 font-lock-builtin-face.
5cf8176d
DG
11477 (auto-mode-alist): Consolidate different entries into one regexp
11478 and add more *file-s.
73eab938 11479
d26255f6
SB
114802013-06-21 Stephen Berman <stephen.berman@gmx.net>
11481
11482 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11483
11484 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11485 (diary-entry): Use it in the action of this button type instead of
11486 diary-goto-entry.
11487
11488 * calendar/todo-mode.el: New version.
11489 (todo-add-category): Append new category to end of file and give
11490 it the highest number, instead of putting it at the beginning and
11491 giving it 0. Incorporate noninteractive functionality.
11492 (todo-forward-category): Adapt to 1-based category numbering.
11493 Allow skipping over archived categories.
11494 (todo-backward-category): Derive from todo-forward-category.
11495 (todo-backward-item, todo-forward-item): Make noninteractive and
11496 delegate interactive part to new commands. Make sensitive to done items.
11497 (todo-categories): Make value an alist of category names and
11498 vectors of item counts.
11499 (todo-category-beg): Make a defconst.
11500 (todo-category-number): Use 1 instead of 0 as initial value.
11501 (todo-category-select): Make sensitive to overlays, optional item
11502 highlighting and done items.
11503 (todo-delete-item): Make sensitive to overlays and marked and done items.
11504 (todo-edit-item): Make sensitive to overlays and editing of
11505 date/time header optional. Add format checks.
11506 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11507 no-op if point is not on an item. Advertise using todo-edit-quit.
11508 (todo-edit-mode): Make sensitive to new format, font-locking, and
11509 multiple todo files.
11510 (todo-insert-item, todo-insert-item-here): Derive from
11511 todo-basic-insert-item and extend functionality.
11512 (todo-item-end, todo-item-start): Make sensitive to done items.
11513 (todo-item-string): Don't return text properties. Restore point.
11514 (todo-jump-to-category): Make sensitive to multiple todo files and
11515 todo archives. Use extended category completion.
11516 (todo-lower-item, todo-raise-item): Rename to *-priority and
11517 derive from todo-set-item-priority.
11518 (todo-mode): Derive from special-mode. Make sensitive to new
11519 format, font-locking and multiple todo files. Make read-only.
11520 (todo-mode-map): Don't suppress digit keys, so they can supply
11521 prefix arguments. Add many new key bindings.
11522 (todo-prefix): Insert as an overlay instead of file text.
11523 Change semantics from diary date expression to purely visual mark.
11524 (todo-print): Rename to todo-print-buffer. Make buffer display
11525 features printable. Remove option to restrict number of items
11526 printed. Add option to print to file.
11527 (todo-print-function): Rename to todo-print-buffer-function.
11528 (todo-quit): Extend to handle exiting new todo modes.
11529 (todo-remove-item): Make sensitive to overlays.
11530 (todo-save): Extend to buffers of filtered items.
11531 (todo-show): Make sensitive to done items, multiple todo files and
11532 new todo modes. Offer to convert legacy todo file before creating
11533 first new todo file.
11534 (todo-show-priorities): Rename to todo-top-priorities.
11535 Change semantics of value 0.
11536 (todo-top-priorities): Rename to todo-filter-top-priorities,
11537 derive from todo-filter-items and extend functionality.
11538 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11539 and extend functionality to other types of filtered items.
11540 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11541 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11542 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11543 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11544 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11545 (todo-edit-mode-hook, todo-entry-prefix-function)
11546 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11547 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11548 (todo-initials, todo-insert-threshold, todo-item-string-start)
11549 (todo-line-string, todo-menu, todo-mode-hook)
11550 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11551 (todo-print-priorities, todo-remove-separator)
11552 (todo-save-top-priorities-too, todo-string-count-lines)
11553 (todo-string-multiline-p, todo-time-string-format)
11554 (todo-tmp-buffer-name): Remove.
11555 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11556 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11557 (todo-edit-category-diary-inclusion)
11558 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11559 (todo-edit-file, todo-edit-item-date-day)
11560 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11561 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11562 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11563 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11564 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11565 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11566 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11567 (todo-filter-top-priorities-multifile, todo-find-archive)
11568 (todo-find-filtered-items-file, todo-go-to-source-item)
11569 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11570 (todo-jump-to-archive-category, todo-lower-category)
11571 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11572 (todo-move-category, todo-move-item, todo-next-button)
11573 (todo-next-item, todo-padded-string, todo-powerset)
11574 (todo-previous-button, todo-previous-item)
11575 (todo-print-buffer-to-file, todo-raise-category)
11576 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11577 (todo-set-category-number, todo-set-item-priority)
11578 (todo-set-top-priorities-in-category)
11579 (todo-set-top-priorities-in-file, todo-show-categories-table)
11580 (todo-sort-categories-alphabetically-or-numerically)
11581 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11582 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11583 (todo-toggle-item-header, todo-toggle-item-highlighting)
11584 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11585 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11586 (todo-unarchive-items, todo-unmark-category): New commands.
11587 (todo-absolute-file-name, todo-add-to-buffer-list)
11588 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11589 (todo-basic-insert-item, todo-category-completions)
11590 (todo-category-number, todo-category-string-matcher-1)
11591 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11592 (todo-check-format, todo-clear-matches)
11593 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11594 (todo-current-category, todo-date-string-matcher)
11595 (todo-define-insertion-command, todo-diary-expired-matcher)
11596 (todo-diary-goto-entry, todo-diary-item-p)
11597 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11598 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11599 (todo-done-item-section-p, todo-done-separator)
11600 (todo-done-string-matcher, todo-files, todo-filter-items)
11601 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11602 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11603 (todo-insert-category-line, todo-insert-item-from-calendar)
11604 (todo-insert-sort-button, todo-insert-with-overlays)
11605 (todo-insertion-command-name, todo-insertion-key-bindings)
11606 (todo-label-to-key, todo-longest-category-name-length)
11607 (todo-make-categories-list, todo-mode-external-set)
11608 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11609 (todo-modes-set-3, todo-multiple-filter-files)
11610 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11611 (todo-read-category, todo-read-date, todo-read-dayname)
11612 (todo-read-file-name, todo-read-time)
11613 (todo-reevaluate-category-completions-files-defcustom)
11614 (todo-reevaluate-default-file-defcustom)
11615 (todo-reevaluate-filelist-defcustoms)
11616 (todo-reevaluate-filter-files-defcustom)
11617 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11618 (todo-reset-done-separator, todo-reset-done-separator-string)
11619 (todo-reset-done-string, todo-reset-global-current-todo-file)
11620 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11621 (todo-reset-prefix, todo-set-categories)
11622 (todo-set-date-from-calendar, todo-set-show-current-file)
11623 (todo-set-top-priorities, todo-short-file-name)
11624 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11625 (todo-total-item-counts, todo-update-buffer-list)
11626 (todo-update-categories-display, todo-update-categories-sexp)
11627 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11628 New functions.
11629 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11630 New major modes.
11631 (todo-categories, todo-display, todo-edit, todo-faces)
11632 (todo-filtered): New defgroups.
11633 (todo-archived-only, todo-button, todo-category-string, todo-date)
11634 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11635 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11636 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11637 (todo-add-item-if-new-category, todo-always-add-time-string)
11638 (todo-categories-align, todo-categories-archived-label)
11639 (todo-categories-category-label, todo-categories-diary-label)
11640 (todo-categories-done-label, todo-categories-number-separator)
11641 (todo-categories-todo-label, todo-categories-totals-label)
11642 (todo-category-completions-files, todo-completion-ignore-case)
11643 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11644 (todo-done-separator-string, todo-done-string)
11645 (todo-files-function, todo-filter-done-items, todo-filter-files)
11646 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11647 (todo-initial-category, todo-initial-file, todo-item-mark)
11648 (todo-legacy-date-time-regexp, todo-mode-line-function)
11649 (todo-nondiary-marker, todo-number-prefix)
11650 (todo-print-buffer-function, todo-show-current-file)
11651 (todo-show-done-only, todo-show-first, todo-show-with-done)
11652 (todo-skip-archived-categories, todo-top-priorities-overrides)
11653 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11654 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11655 New defcustoms.
11656 (todo-category-done, todo-date-pattern, todo-date-string-start)
11657 (todo-diary-items-buffer, todo-done-string-start)
11658 (todo-filtered-items-buffer, todo-item-start)
11659 (todo-month-abbrev-array, todo-month-name-array)
11660 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11661 (todo-top-priorities-buffer): New defconsts.
11662 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11663 (todo-categories-with-marks, todo-category-string-face)
11664 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11665 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11666 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11667 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11668 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11669 (todo-font-lock-keywords, todo-global-current-todo-file)
11670 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11671 (todo-insertion-commands-args)
11672 (todo-insertion-commands-args-genlist)
11673 (todo-insertion-commands-names, todo-insertion-map)
11674 (todo-key-bindings-t, todo-key-bindings-t+a)
11675 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11676 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11677 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11678 (todo-visited): New variables.
11679
cad5d1cb
GM
116802013-06-21 Glenn Morris <rgm@gnu.org>
11681
11682 * play/cookie1.el (cookie-apropos): Add optional display argument.
11683 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11684 (psychoanalyze-pinhead): Use cookie-doctor.
11685
9e277302
JB
116862013-06-21 Juanma Barranquero <lekktu@gmail.com>
11687
11688 * emacs-lisp/package.el (tar-get-file-descriptor)
11689 (tar--extract): Declare.
11690
c5b0993e
EW
116912013-06-21 Eduard Wiebe <usenet@pusto.de>
11692
11693 Extend flymake's warning predicate to be a function (bug#14217).
11694 * progmodes/flymake.el (flymake-warning-predicate): New.
11695 (flymake-parse-line): Use it.
11696 (flymake-warning-re): Make obsolete alias to
11697 `flymake-warning-predicate'.
11698
a7d2d465
SM
116992013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11700
11701 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11702 (package-obsolete-list): Remove.
11703 (package-activate): Remove min-version argument. Add `force' argument.
11704 Adjust to new package-alist format.
11705 (package-mark-obsolete): Remove.
11706 (package-unpack): Force reload of the package's autoloads.
11707 (package-installed-p): Check builtins if the installed package is not
11708 recent enough.
11709 (package-initialize): Don't reset package-obsolete-list.
11710 Don't specify which package version to activate.
11711 (package-process-define-package, describe-package-1)
11712 (package-menu--generate): Adjust to new package-alist format.
11713
cedf5c9d
JB
117142013-06-21 Juanma Barranquero <lekktu@gmail.com>
11715
11716 * allout-widgets.el (allout-widgets-mode-off)
11717 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11718 (allout-widgets-post-command-business)
11719 (allout-widgets-after-copy-or-kill-function)
11720 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11721 (allout-decorate-item-and-context)
11722 (allout-graphics-modification-handler): Fix typos in docstrings.
11723 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11724
11725 * cmuscheme.el (scheme-start-file): Doc fix.
11726 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11727 (scheme-input-filter): Use `string-match-p'.
11728
11729 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11730
11731 * dired-x.el: Use Dired consistently in docstrings.
11732
11733 * dired.el: Use Dired consistently in docstrings.
11734 (dired-readin, dired-mode): Use `setq-local'.
11735 (dired-switches-alist): Make defvar-local.
11736 (dired-buffers-for-dir): Use `zerop'.
11737 (dired-safe-switches-p, dired-switches-escape-p)
11738 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11739 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 11740 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
11741 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11742 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11743 (dired-toggle-marks, dired-mark-files-containing-regexp)
11744 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11745 (dired-flag-auto-save-files, dired-flag-backup-files):
11746 Use `looking-at-p'.
11747 (dired-mark-files-regexp, dired-build-subdir-alist):
11748 Use `string-match-p', `looking-at-p'.
11749
11750 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11751 (direct-print-region-helper): Use `string-match-p'.
11752
aed838b5
LL
117532013-06-21 Leo Liu <sdl.web@gmail.com>
11754
cedf5c9d
JB
11755 * comint.el (comint-redirect-results-list-from-process):
11756 Fix infinite loop.
aed838b5 11757
d80a808f
LMI
117582013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11759
11760 * net/eww.el (eww-update-header-line-format): Quote % characters.
11761
e7a526e3
GM
117622013-06-21 Glenn Morris <rgm@gnu.org>
11763
11764 * play/cookie1.el (cookie): New custom group.
11765 (cookie-file): New option.
11766 (cookie-check-file): New function.
11767 (cookie): Make it interactive. Make start and end messages optional.
11768 Interactively, display the result. Default to cookie-file.
11769 (cookie-insert): Default to cookie-file.
11770 (cookie-snarf): Make start and end messages optional.
11771 Default to cookie-file. Use with-temp-buffer.
11772 (cookie-read): Rename from read-cookie.
11773 Make start and end messages optional. Default to cookie-file.
11774 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 11775 Do not autoload it.
e7a526e3
GM
11776 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11777 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11778
62efb35e
LL
117792013-06-21 Leo Liu <sdl.web@gmail.com>
11780
11781 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11782
21e3f963
GM
117832013-06-21 Glenn Morris <rgm@gnu.org>
11784
11785 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11786
fd846ab4
SM
117872013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11788 Daniel Hackney <dan@haxney.org>
11789
11790 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11791 Consolidate the single-file vs tarball code.
11792 (package-desc-suffix): New function.
11793 (package-desc-full-name): Don't bother inlining it.
11794 (package-load-descriptor): Return the new package-desc.
11795 (package-mark-obsolete): Remove unused arg `package'.
11796 (package-unpack): Make it work for single files as well.
11797 Make it update package-alist.
11798 (package--make-autoloads-and-stuff): Rename from
11799 package--make-autoloads-and-compile. Don't compile any more.
11800 (package--compile): New function.
11801 (package-generate-description-file): New function, extracted from
11802 package-unpack-single.
11803 (package-unpack-single): Remove.
11804 (package--with-work-buffer): Add indentation and debugging info.
11805 (package-download-single): Remove.
11806 (package-install-from-archive): Rename from package-download-tar, make
11807 it take a pkg-desc, and make it work for single files as well.
11808 (package-download-transaction): Simplify.
11809 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11810 external tar program.
11811 (package-install-from-buffer): Remove `pkg-desc' argument.
11812 Use package-tar-file-info for tar-mode buffers.
11813 (package-install-file): Simplify accordingly.
11814 (package-archive-base): Change to take a pkg-desc.
11815 * tar-mode.el (tar--check-descriptor): New function, extracted from
11816 tar-get-descriptor.
11817 (tar-get-descriptor): Use it.
11818 (tar-get-file-descriptor): New function.
11819 (tar--extract): New function, extracted from tar-extract.
11820 (tar--extract): Use it.
11821 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11822 case the summary uses non-ascii. Adjust to new calling convention of
11823 package-tar-file-info.
11824
b7deae5e
LL
118252013-06-21 Leo Liu <sdl.web@gmail.com>
11826
fd846ab4
SM
11827 * comint.el (comint-redirect-results-list-from-process):
11828 Fix random delay. (Bug#14681)
b7deae5e 11829
7a65a0b2
JB
118302013-06-21 Juanma Barranquero <lekktu@gmail.com>
11831
11832 * profiler.el (profiler-format-number): Use log, not log10.
11833
1493c2af
JB
118342013-06-20 Juanma Barranquero <lekktu@gmail.com>
11835
11836 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11837
aff6371e
SM
118382013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11839
11840 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11841 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11842 yet available.
11843 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11844 (AUTOGENEL): ... here.
11845 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11846 (cl--defsubst-expand): Use it.
11847
89561f72
PE
118482013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11849
11850 * subr.el (log10): Move here from C code, and declare as obsolete.
11851 All uses of (log10 X) replaced with (log X 10).
11852
47199123
JB
118532013-06-20 Juanma Barranquero <lekktu@gmail.com>
11854
11855 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11856 Declare with `defvar-local'.
11857 (tabulated-list-use-header-line, tabulated-list-entries)
11858 (tabulated-list-padding, tabulated-list-printer)
11859 (tabulated-list-sort-key): Declare with `defvar-local'.
11860 (tabulated-list-init-header, tabulated-list-print-fake-header):
11861 Use `setq-local'.
11862
4a172eab
MA
118632013-06-20 Michael Albinus <michael.albinus@gmx.de>
11864
47199123
JB
11865 * arc-mode.el (archive-mode): Add `archive-write-file' to
11866 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 11867
5fc0acc0
JB
118682013-06-20 Juanma Barranquero <lekktu@gmail.com>
11869
d5b27848
JB
11870 * cus-edit.el (custom-commands): Fix typos.
11871 (custom-display): Fix tooltip text.
11872 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11873 Fix typos in docstrings.
11874 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11875 (custom-unlispify-menu-entry, custom-magic-value-create)
11876 (custom-add-see-also, custom-group-value-create): Use ?\s.
11877 (custom-guess-type, customize-apropos, editable-field)
11878 (custom-face-value-create): Use `string-match-p'.
11879 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11880
11881 * custom.el (custom-load-symbol): Use `string-match-p'.
11882
a5c581d8
JB
11883 * ansi-color.el: Convert to lexical binding.
11884 (ansi-colors): Fix URL.
11885 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11886 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11887 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11888
970ad972
G
118892013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11890
11891 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11892
11893 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11894
118952013-06-19 Tom Tromey <tromey@redhat.com>
11896
11897 * net/eww.el (eww-top-url): Remove.
11898 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11899 (eww-render): Set new variables. Don't set eww-top-url.
11900 (eww-handle-link): Handle "prev", "home", and "contents".
11901 Downcase the rel text.
11902 (eww-top-url): Choose best top URL.
11903
119042013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11905
11906 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11907 relying in widget.el. Using widget.el leads to too many
11908 user interface inconsistencies.
11909 (eww-self-insert): Implement entering commands in text fields.
11910 (eww-process-text-input): New function to make text input field editing
11911 work.
11912 (eww-submit): Rewrite to use the new-style form methods.
11913 (eww-select-display): Display the correct selected item.
11914 (eww-change-select): Implement changing the select value.
11915 (eww-toggle-checkbox): Implement radio/checkboxes.
11916 (eww-update-field): Fix compilation error.
11917 (eww-tag-textarea): Implement <textarea>.
11918
11919 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11920 we don't shadow mode-specific bindings.
11921
11922 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11923 nothing to push.
11924
11925 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11926
4582a01c 119272013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
11928
11929 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11930
15b263dc
MA
119312013-06-19 Michael Albinus <michael.albinus@gmx.de>
11932
11933 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11934 not needed.
11935
11936 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11937
8f5297f7
LMI
119382013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11939
11940 * net/browse-url.el (browse-url-browser-function):
11941 `eww-browse-url' has the right calling signature, `eww' does not.
11942
011c4552
GM
119432013-06-19 Glenn Morris <rgm@gnu.org>
11944
2285bd27
GM
11945 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11946 Only eval autoloaded macros.
11947 (byte-compile-autoload): Only give the macro warning for macros.
11948
1d653303
GM
11949 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11950 (ps-underlined-faces): Declare.
11951
bdd779ec
GM
11952 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11953 (speedbar-add-supported-extension): Declare.
11954
011c4552
GM
11955 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11956 Don't include a date stamp in the header of the generated file;
11957 it leads to needless differences between output files.
11958
e59dfb0e
MA
119592013-06-19 Michael Albinus <michael.albinus@gmx.de>
11960
c763842b
SM
11961 * net/secrets.el (secrets-struct-secret-content-type):
11962 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 11963 Some servers do not offer introspection.
e59dfb0e 11964
102626e2
SM
119652013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11966
11967 * electric.el (electric-pair-mode): Improve interaction with
11968 electric-layout-mode.
11969 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11970 (electric-pair-syntax): Use text-mode-syntax-table in comments
11971 and strings.
11972 (electric-pair--insert): New function.
11973 (electric-pair-post-self-insert-function): Use it and
11974 electric--after-char-pos.
11975
ad528125
LL
119762013-06-19 Leo Liu <sdl.web@gmail.com>
11977
11978 * progmodes/octave.el (octave-help): Fix regexp.
11979
924d6997
G
119802013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11981
11982 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11983 (shr-table-horizontal-line): Allow nil as a value, and change the
11984 default.
11985 (shr-insert-table-ruler): Respect the nil value.
11986
119872013-06-18 Tom Tromey <tromey@barimba>
11988
11989 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11990 New defvars.
11991 (eww-open-file): New defun.
11992 (eww-render): Initialize new variables.
11993 (eww-display-html): Handle "link" and "a".
11994 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11995 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11996 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
11997 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11998 New defuns.
924d6997 11999
d1bbba4f
DG
120002013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12001
12002 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12003 Distinguish ternary operator tokens from slash symbol and slash
12004 char literal.
12005
14dd22d2
JB
120062013-06-18 Juanma Barranquero <lekktu@gmail.com>
12007
12008 Convert symbol prettification into minor mode and global minor mode.
12009
12010 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12011 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12012 (prettify-symbols--keywords): Rename from
12013 `prog-prettify-symbols-alist' and make a local defvar.
12014 (prettify-symbols--compose-symbol): Rename from
12015 `prog--prettify-font-lock-compose-symbol'.
12016 (prettify-symbols--make-keywords): Rename from
12017 `prog-prettify-font-lock-symbols-keywords' and simplify.
12018 (prog-prettify-install): Remove.
12019 (prettify-symbols-mode): New minor mode, based on
12020 `prog-prettify-install'.
12021 (turn-on-prettify-symbols-mode): New function.
12022 (global-prettify-symbols-mode): New globalized minor mode.
12023
12024 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12025 * progmodes/cfengine.el (cfengine3-mode):
12026 * progmodes/perl-mode.el (perl-mode): Don't call
12027 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12028
292c880c
JL
120292013-06-18 Juri Linkov <juri@jurta.org>
12030
12031 * files-x.el (modify-file-local-variable-message): New function.
12032 (modify-file-local-variable)
12033 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12034 and call `modify-file-local-variable-message' when it's non-nil.
12035 (add-file-local-variable, delete-file-local-variable)
12036 (add-file-local-variable-prop-line)
12037 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12038 and use it. (Bug#9820)
12039
0950aa27
JL
120402013-06-18 Juri Linkov <juri@jurta.org>
12041
12042 * emulation/vi.el (vi-shell-op):
12043 * emulation/vip.el (vip-execute-com, ex-command):
12044 * emulation/viper-cmd.el (viper-exec-bang):
12045 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12046 the call of `shell-command-on-region'. (Bug#14637)
12047
12048 * simple.el (shell-command-on-region): Doc fix.
12049
8fbcca16
SM
120502013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12051
12052 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12053 (bug#14633).
12054
dd7426ea
GM
120552013-06-18 Glenn Morris <rgm@gnu.org>
12056
4ba54f7d
GM
12057 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12058
dd7426ea
GM
12059 * newcomment.el (comment-search-forward, comment-search-backward):
12060 Doc fix. (Bug#14376)
12061
58aa805b
JB
120622013-06-18 Juanma Barranquero <lekktu@gmail.com>
12063
12064 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12065 (buffer-face-mode-invoke): Doc fix.
12066
9a08a617
MM
120672013-06-18 Matthias Meulien <orontee@gmail.com>
12068
12069 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 12070 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 12071
f2f426ca
GM
120722013-06-18 Glenn Morris <rgm@gnu.org>
12073
9445f99b
GM
12074 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12075 Replace obsolete function generic-make-keywords with its expansion.
12076
e0df2d14
GM
12077 * progmodes/python.el (ffap-alist): Declare.
12078
f2f426ca
GM
12079 * textmodes/reftex.el (bibtex-mode-map): Declare.
12080
f7f9a720
SM
120812013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12082
12083 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12084 (package-unpack, package-unpack-single): Return the pkg-dir.
12085 (package-download-transaction): Use it to update package-alist.
12086
57ff04e0
LMI
120872013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12088
12089 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12090 possible choice.
12091
c048c022
JL
120922013-06-17 Juri Linkov <juri@jurta.org>
12093
12094 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12095
b5bcaee5
DG
120962013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12097
a020afb9
JB
12098 * emacs-lisp/package.el (package-load-descriptor):
12099 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
12100 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12101
551e07e5
JB
121022013-06-17 Juanma Barranquero <lekktu@gmail.com>
12103
12104 * startup.el (command-line): Expand package name returned by
12105 `package--description-file' (bug#14639).
12106
d363bffb
DG
121072013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12108
12109 * emacs-lisp/package.el (package-load-descriptor): Do not call
12110 `emacs-lisp-mode', just use its syntax table.
12111
f612933b
JB
121122013-06-17 Juanma Barranquero <lekktu@gmail.com>
12113
12114 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12115 `font-lock-extra-managed-props' if any prettifying keyword is added.
12116 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12117 (prog-mode): Use `setq-local'.
12118
db3b7db5
SM
121192013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * international/characters.el (standard-case-table): Set syntax of ?»
12122 and ?« to punctuation.
12123
f3d674df
JB
121242013-06-16 Juanma Barranquero <lekktu@gmail.com>
12125
12126 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12127 Save relevant match data before calling `syntax-ppss' (bug#14595).
12128
31489a32
JL
121292013-06-15 Juri Linkov <juri@jurta.org>
12130
12131 * files-x.el (modify-file-local-variable-prop-line): Add local
12132 variables to the end of the existing comment on the first line.
12133 Use `file-auto-mode-skip' to skip interpreter magic line,
12134 and also skip XML declaration.
12135
66bd25ab
SM
121362013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12137
12138 * startup.el (package--builtin-versions): New var.
12139 (package-subdirectory-regexp): Remove.
12140 (package--description-file): Hard code its value instead.
12141
12142 * emacs-lisp/package.el: Don't activate packages older than builtin.
12143 (package-obsolete-list): Rename from package-obsolete-alist, and make
12144 it into a simple list of package-desc.
12145 (package-strip-version): Remove.
12146 (package-built-in-p): Use package--builtin-versions.
12147 (package-mark-obsolete): Simplify.
12148 (package-process-define-package): Mark it obsolete if older than the
12149 builtin version.
12150 (package-handle-response): Use line-end-position.
12151 (package-read-archive-contents, package--download-one-archive):
12152 Simplify.
12153 (package--add-to-archive-contents): Skip if older than the builtin or
12154 installed version.
12155 (package-menu-describe-package): Fix last change.
12156 (package-list-unversioned): New var.
12157 (package-menu--generate): Use it.
12158
12159 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12160 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12161 (autoload-builtin-package-versions): New variable.
12162 (autoload-generate-file-autoloads): Use them.
12163 Remove the list of autoloaded functions/macros from the
12164 (autoload...) comments.
12165
12166 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12167
9583ec36
EZ
121682013-06-15 Eli Zaretskii <eliz@gnu.org>
12169
12170 * simple.el (line-move-partial): Don't jump to the next screen
12171 line as soon as it becomes visible. Instead, continue enlarging
12172 the vscroll until the portion of a tall screen line that's left on
12173 display is about the height of the frame's default font.
12174 (Bug#14567)
12175
f0100d8a
GM
121762013-06-15 Glenn Morris <rgm@gnu.org>
12177
b86a85ca
GM
12178 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12179 compilation-error-regexp-alist void, or local while let-bound.
12180
f0100d8a
GM
12181 * progmodes/make-mode.el (makefile-mode-syntax-table):
12182 Treat "=" as punctuation. (Bug#14614)
12183
05e7ce90
JB
121842013-06-15 Juanma Barranquero <lekktu@gmail.com>
12185
12186 * help-fns.el (describe-variable):
12187 Add extra line for permanent-local variables.
12188
12e5e86e
SH
121892013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12190
12191 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12192 Add export, import, library. (Bug#9164)
12193 (library): Set indent function.
12194
230dcbaf
GM
121952013-06-14 Glenn Morris <rgm@gnu.org>
12196
12197 * term/xterm.el (xterm--query):
12198 Stop after first matching handler. (Bug#14615)
12199
e36b2d20 122002013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
12201
12202 Add support for dired in saveplace.
12203 * dired.el (dired-initial-position-hook): New variable.
12204 (dired-initial-position): Call hook to place cursor position.
12205 * saveplace.el (save-place-to-alist): Add dired position.
12206 (save-place-dired-hook): New function.
12207
0b31660d
SM
122082013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12209
bf1e6ae8
SM
12210 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12211 through a symbol rather than letrec.
12212
1b8dff23
SM
12213 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12214 (package-desc): Add `dir' field.
12215 (package-desc-full-name): New function.
12216 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12217 (package-maybe-load-descriptor): Remove.
12218 (package-load-all-descriptors): Just call package-load-descriptor.
12219 (package--disabled-p): New function.
12220 (package-desc-vers, package-desc-doc): Remove aliases.
12221 (package--dir): Remove function.
12222 (package-activate): Check if a package is disabled.
12223 (package-process-define-package): New function, extracted from
12224 define-package.
12225 (define-package): Turn into a place holder.
12226 (package-unpack-single, package-tar-file-info):
12227 Use package--description-file.
12228 (package-compute-transaction): Use package--disabled-p.
12229 (package-download-transaction): Don't call
12230 package-maybe-load-descriptor since they're all loaded anyway.
12231 (package-install): Change argument to be a pkg-desc.
12232 (package-delete): Use a single pkg-desc argument.
12233 (describe-package-1): Use package-desc-dir instead of package--dir.
12234 Use package-desc property instead of package-symbol.
12235 (package-install-button-action): Adjust accordingly.
12236 (package--push): Rewrite.
12237 (package-menu--print-info): Adjust accordingly. Change the ID format
12238 to be a pkg-desc.
12239 (package-menu-describe-package, package-menu-get-status)
12240 (package-menu--find-upgrades, package-menu-mark-upgrades)
12241 (package-menu-execute, package-menu--name-predicate):
12242 Adjust accordingly.
12243 * startup.el (package--description-file): New function.
12244 (command-line): Use it.
12245 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12246 Use package-desc-version.
12247
0b31660d
SM
12248 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12249 (byte-compile-preprocess): Use it.
12250 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12251 can't quite recognize.
12252 (byte-compile-add-to-list): Remove.
12253 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12254 (cconv-closure-convert): Add assertion.
12255
12256 * emacs-lisp/map-ynp.el: Use lexical-binding.
12257 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12258 Factor out some repeated code.
12259
de0503df
SM
122602013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * subr.el (with-eval-after-load): New macro.
12263 (eval-after-load): Allow form to be a function.
12264 take advantage of lexical-binding.
12265 (do-after-load-evaluation): Use dolist and adjust to new format.
12266 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12267
bc5c8c5a
JL
122682013-06-13 Juri Linkov <juri@jurta.org>
12269
12270 * replace.el (perform-replace): Display "symbol " and other search
12271 modes from `isearch-message-prefix' in the *Help* buffer.
12272
12273 * isearch.el (isearch-query-replace): Add " symbol" and other
12274 possible search modes from `isearch-message-prefix' to the prompt.
12275 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12276 when reading a regexp to collect.
12277
a22289f7
JL
122782013-06-13 Juri Linkov <juri@jurta.org>
12279
12280 * isearch.el (word-search-regexp): Match whitespace if the search
12281 string begins or ends in whitespace. The LAX arg is applied to
12282 both ends of the search string. Use `regexp-quote' and explicit
12283 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12284 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12285 boundaries are replaced with symbol boundaries, and characters
12286 between symbols match non-word non-symbol syntax. (Bug#14602)
12287
cb89acab
JL
122882013-06-13 Juri Linkov <juri@jurta.org>
12289
12290 * isearch.el (isearch-del-char): Don't exceed the length of
12291 `isearch-string' by the prefix arg. (Bug#14563)
12292
6e8cfc81
JL
122932013-06-13 Juri Linkov <juri@jurta.org>
12294
12295 * isearch.el (isearch-yank-word, isearch-yank-line)
12296 (isearch-char-by-name, isearch-quote-char)
12297 (isearch-printing-char, isearch-process-search-char):
12298 Add optional count prefix arg. (Bug#14563)
12299
12300 * international/isearch-x.el
12301 (isearch-process-search-multibyte-characters):
12302 Add optional count prefix arg.
12303
c23d55f4
VS
123042013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12305
12306 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12307 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12308 lexical-binding.
12309
123102013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12311
12312 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12313
ba947bc4
GM
123142013-06-13 Glenn Morris <rgm@gnu.org>
12315
8baeb37a
GM
12316 * startup.el (tty-handle-args):
12317 Don't just discard "--" and anything after. (Bug#14608)
12318
ba947bc4
GM
12319 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12320
9abefce4
MA
123212013-06-13 Michael Albinus <michael.albinus@gmx.de>
12322
12323 Implement changes in Secret Service API. Make it backward compatible.
12324 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12325 (secrets-create-item): Use it. Prefix properties with interface.
12326
5755011f
MH
123272013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12328
12329 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12330 (term-emulate-terminal): Respect term-suppress-hard-newline.
12331
1261d2da
S
123322013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12333
12334 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12335 Only remove a `thumb-file' overlay. (Bug#14548)
12336
868490bb
GJ
123372013-06-12 Grégoire Jadi <daimrod@gmail.com>
12338
12339 * mail/reporter.el (reporter-submit-bug-report):
12340 Handle missing package-name. (Bug#14600)
12341
79d7167f
TH
123422013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12343
12344 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12345 (reftex-citation-prompt, reftex-default-bibliography)
12346 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12347 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12348 (reftex-bib-sort-author, reftex-bib-sort-year)
12349 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12350 (reftex-extract-bib-entries-from-thebibliography)
12351 (reftex-get-bibkey-default, reftex-get-bib-names)
12352 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12353 (reftex-format-bib-entry, reftex-parse-bibitem)
12354 (reftex-format-bibitem, reftex-do-citation)
12355 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12356 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12357 (reftex-insert-bib-matches, reftex-format-citation)
12358 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12359 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12360 existing comments into docstrings.
12361
5f9dbd7a
XF
123622013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12363
12364 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12365
94df41ab
AS
123662013-06-12 Andreas Schwab <schwab@suse.de>
12367
12368 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12369 for auto-save files.
12370
a7f3fecc
GM
123712013-06-12 Glenn Morris <rgm@gnu.org>
12372
001809f6
GM
12373 * ido.el (ido-delete-ignored-files): Remove.
12374 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12375 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12376
834b5ded
EL
123772013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12378
08c73ed2
EL
12379 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12380
834b5ded
EL
12381 * ido.el (ido-delete-ignored-files): New function,
12382 split from ido-make-file-list-1.
12383 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12384 (ido-make-file-list-1): Use ido-delete-ignored-files.
12385
daabf15a
LL
123862013-06-12 Leo Liu <sdl.web@gmail.com>
12387
12388 * progmodes/octave.el (inferior-octave-startup)
12389 (inferior-octave-completion-table)
12390 (inferior-octave-track-window-width-change)
12391 (octave-eldoc-function-signatures, octave-help)
12392 (octave-find-definition): Use single quoted strings.
12393 (inferior-octave-startup-args): Change default value.
12394 (inferior-octave-startup): Do not hard code "-i" and
12395 "--no-line-editing".
12396 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12397 (inferior-octave-directory-tracker): Use it.
12398 (octave-goto-function-definition): Robustify.
12399 (octave-help): Support highlighting operators in 'See also'.
12400 (octave-find-definition): Find subfunctions only in Octave mode.
12401
cf4e5178
SM
124022013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 * help-fns.el (help-fns--compiler-macro): If the handler function is
12405 named, then put a link to it.
12406 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12407 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12408 (cl-typep): Use it.
12409 (cl-eval-when): Simplify debug spec.
12410 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12411 compiler-macro function instead of setting `compiler-macro-file'.
12412
99c81280 124132013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
12414
12415 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12416 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12417
f56be016
SM
124182013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12419 Daniel Hackney <dan@haxney.org>
12420
12421 First part of Daniel Hackney's patch to package.el.
12422 * emacs-lisp/package.el: Use defstruct.
12423 (package-desc): New, main struct.
12424 (package--bi-desc, package--ac-desc): New structs, used to describe the
12425 format in external files.
12426 (package-desc-vers): Replace with package-desc-version accessor.
12427 (package-desc-doc): Replace with package-desc-summary accessor.
12428 (package-activate-1): Remove `package' arg since the pkg-vec now
12429 includes the name.
12430 (define-package): Use package-desc-from-define.
12431 (package-unpack-single): Change file-name arg to be a symbol.
12432 (package--add-to-archive-contents): Use package-desc-create and new
12433 accessor functions to package--ac-desc.
12434 (package-buffer-info, package-tar-file-info): Return a package-desc.
12435 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12436 arg to be a package-desc.
12437 (package-install-file): Adjust accordingly. Use \' to match EOS.
12438 (package--from-builtin): New function.
12439 (describe-package-1, package-menu--generate): Use it.
12440 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12441 (package-generate-autoloads): Idem and return the name of the file.
12442 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12443 Change pkg-info arg to be a package-desc.
12444 Use package-make-ac-desc.
12445 (package-upload-file): Use \' to match EOS.
12446 * finder.el (finder-compile-keywords): Use package-make-builtin.
12447
31119d63
SM
124482013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12449
931a2762
SM
12450 * vc/vc.el (vc-deduce-fileset): Change error message.
12451 (vc-read-backend): New function.
12452 (vc-next-action): Use it.
12453
5a3eb0c6
SM
12454 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12455
e3eb1bb7
SM
12456 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12457 (prolog-font-lock-keywords): Use regexp-opt instead.
12458 Don't manually highlight strings.
12459 (prolog-mode-variables): Simplify comment-start-skip.
12460 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12461
31119d63
SM
12462 * emacs-lisp/generic.el (generic--normalise-comments)
12463 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12464 (generic-mode-set-comments): Use them.
12465 (generic-bracket-support): Use setq-local.
12466 (generic-make-keywords-list): Declare obsolete.
12467
7de135d0
GM
124682013-06-11 Glenn Morris <rgm@gnu.org>
12469
12470 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12471 Prettify after setting font-lock-defaults. (Bug#14574)
12472
fa6bc6fd
JB
124732013-06-11 Juanma Barranquero <lekktu@gmail.com>
12474
12475 * replace.el (query-replace, occur-read-regexp-defaults-function)
12476 (replace-search):
12477 * subr.el (declare-function, number-sequence, local-set-key)
12478 (substitute-key-definition, locate-user-emacs-file)
12479 (with-silent-modifications, split-string, eval-after-load):
12480 Fix typos, remove unneeded backslashes and reflow some docstrings.
12481
cf1f9b9a
SM
124822013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12485 default for Elisp files.
12486
56602a4b
GM
124872013-06-11 Glenn Morris <rgm@gnu.org>
12488
12489 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12490 although define-derived-mode was doing this anyway. (Bug#14583)
12491
30ae0b2c
JB
124922013-06-10 Juanma Barranquero <lekktu@gmail.com>
12493
12494 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12495 Fix make-variable-buffer-local call to refer to the correct variable.
12496
fa472906
AG
124972013-06-10 Aidan Gauland <aidalgol@amuri.net>
12498
12499 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
12500 (eshell-visual-subcommands, eshell-visual-options):
12501 Add summary line to docstrings. Add cross-references.
fa472906 12502
ff4871b9
GM
125032013-06-10 Glenn Morris <rgm@gnu.org>
12504
12505 * epa.el (epa-read-file-name): New function. (Bug#14510)
12506 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12507
04fcf1b0
AG
125082013-06-09 Aidan Gauland <aidalgol@amuri.net>
12509
12510 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12511 output redirection to be ignored with visual commands.
12512
88b00caa
AG
125132013-06-09 Aidan Gauland <aidalgol@amuri.net>
12514
12515 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
12516 (eshell-term-initialize): Move long lambda to separate function
12517 eshell-visual-command-p.
27821a89 12518 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
12519 * eshell/em-script.el (eshell-script-initialize):
12520 Add missing #' to lambda.
88b00caa 12521
fda74125
LL
125222013-06-08 Leo Liu <sdl.web@gmail.com>
12523
12524 * progmodes/octave.el (octave-add-log-current-defun): New function.
12525 (octave-mode): Set add-log-current-defun-function.
12526 (octave-goto-function-definition): Do not move point if not found.
12527 (octave-find-definition): Enhance to try subfunctions first.
12528
467f3b33
GM
125292013-06-08 Glenn Morris <rgm@gnu.org>
12530
12531 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12532 (byte-compile-backward-char, byte-compile-backward-word):
12533 Improve previous change, to handle non-explicit nil.
12534
544badc3
SM
125352013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12536
12537 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12538 (smie--opener/closer-at-point): New function.
12539 (smie--matching-block-data): Use it. Don't match from right after an
12540 opener or right before a closer. Obey smie-blink-matching-inners.
12541 Don't signal a mismatch for repeated inners like "switch..case..case".
12542
a175bf33
LL
125432013-06-07 Leo Liu <sdl.web@gmail.com>
12544
12545 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12546 to t. (Bug#14303)
ce8209d4
LL
12547 (octave-function-header-regexp): Fix. (Bug#14570)
12548 (octave-help-mode-finish-hook, octave-help-mode-finish):
12549 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
12550
12551 * newcomment.el (comment-search-backward): Revert last change.
12552 (Bug#14434)
12553
12554 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12555
a822acff
EZ
125562013-06-07 Eli Zaretskii <eliz@gnu.org>
12557
12558 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12559 through xargs, to avoid failure due to MS-Windows limitations on
12560 command-line length.
12561
961166f5
GM
125622013-06-06 Glenn Morris <rgm@gnu.org>
12563
d0341459
GM
12564 * font-lock.el (lisp-font-lock-keywords-2):
12565 Treat user-error like error.
12566
961166f5
GM
12567 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12568 (byte-compile-backward-char, byte-compile-backward-word):
12569 Handle explicit nil arguments. (Bug#14565)
12570
80fa505f
AM
125712013-06-05 Alan Mackenzie <acm@muc.de>
12572
12573 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 12574 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 12575 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 12576 (Bug#9706)
80fa505f 12577
fccdc796
SM
125782013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12579
12580 * autorevert.el (auto-revert-notify-handler): Use memq.
12581 Hide assertion failure.
12582
12583 * skeleton.el: Use cl-lib.
12584 (skeleton-further-elements): Use defvar-local.
12585 (skeleton-insert): Use cl-progv.
12586
9bfff84b
TZ
125872013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12588
12589 * progmodes/prog-mode.el (prog-prettify-symbols)
12590 (prog-prettify-install): Update docstrings.
12591
55577e7c
SM
125922013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12593
12594 * simple.el: Move all the prog-mode code to prog-mode.el.
12595 * progmodes/prog-mode.el: New file.
12596 * loadup.el: Add prog-mode.el.
12597
8fc57765
TZ
125982013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12599
12600 * simple.el (prog-prettify-symbols): Add version.
12601 (prog-prettify-install): Add convenience function to prettify symbols.
12602
12603 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12604 (perl--augmented-font-lock-keywords-1)
12605 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12606 variables and use it.
12607
12608 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12609 (cfengine3-mode): Remove unneeded variable and use it.
12610
12611 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12612 (lisp--augmented-font-lock-keywords-1)
12613 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12614 Remove unneeded variables and use it.
12615
650645d5 126162013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12617
12618 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12619 to point when opening the connection. (Bug#14380)
28f5da6d 12620
781b4af6
SM
126212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12622
12623 * subr.el (load-history-regexp, load-history-filename-element)
12624 (eval-after-load, after-load-functions, do-after-load-evaluation)
12625 (eval-next-after-load, display-delayed-warnings)
12626 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12627 definition of save-match-data.
12628 (overriding-local-map): Remove accidental obsolescence declaration.
12629
12630 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12631
3ca0d0b4
TZ
126322013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12633
12634 Generalize symbol prettify support to prog-mode and implement it
12635 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12636 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12637 (prog--prettify-font-lock-compose-symbol)
12638 (prog-prettify-font-lock-symbols-keywords): New variables and
12639 functions to support symbol prettification.
12640 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12641 (lisp--augmented-font-lock-keywords-1)
12642 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12643 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12644 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
12645 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12646 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
12647 * progmodes/perl-mode.el (perl-prettify-symbols)
12648 (perl--font-lock-compose-symbol)
12649 (perl--font-lock-symbols-keywords): Move to prog-mode.
12650 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12651 (perl-font-lock-keywords-1)
12652 (perl-font-lock-keywords-2): Remove explicit prettify support.
12653 (perl--augmented-font-lock-keywords)
12654 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
12655 (perl--augmented-font-lock-keywords-2, perl-mode):
12656 Implement prettify support.
3ca0d0b4 12657
976cb066
LL
126582013-06-05 Leo Liu <sdl.web@gmail.com>
12659
27821a89 12660 Re-implement SMIE matching block highlight using
976cb066
LL
12661 show-paren-data-function. (Bug#14395)
12662 * emacs-lisp/smie.el (smie-matching-block-highlight)
12663 (smie--highlight-matching-block-overlay)
12664 (smie--highlight-matching-block-lastpos)
12665 (smie-highlight-matching-block)
12666 (smie-highlight-matching-block-mode): Remove.
12667 (smie--matching-block-data-cache): New variable.
12668 (smie--matching-block-data): New function.
12669 (smie-setup): Use smie--matching-block-data for
12670 show-paren-data-function.
12671
12672 * progmodes/octave.el (octave-mode-menu): Fix.
12673 (octave-find-definition): Skip garbage lines.
12674
208d0342
SM
126752013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12676
12677 Fix compilation error with simultaneous dynamic+lexical scoping.
12678 Add warning when a defvar appears after the first let-binding.
12679 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12680 (byte-compile-close-variables): Initialize it.
12681 (byte-compile--declare-var): New function.
12682 (byte-compile-file-form-defvar)
12683 (byte-compile-file-form-define-abbrev-table)
12684 (byte-compile-file-form-custom-declare-variable): Use it.
12685 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12686 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12687 (byte-compile-bind): Handle dynamic bindings that shadow
12688 lexical bindings.
12689 (byte-compile-unbind): Make arg non-optional.
12690 (byte-compile-let): Simplify.
12691 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12692 (cconv--analyse-function, cconv-analyse-form): Populate it.
12693 Protect byte-compile-bound-variables to limit the scope of defvars.
12694 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12695 Remove unneeded rule for `declare'.
12696
12697 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12698 so as to avoid depending on cl-adjoin at run-time.
12699 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12700
12701 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12702 (macroexp--warn-and-return): Use it.
12703
1ac2891e
GM
127042013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12705
a12bf61e 12706 * subr.el: Convert to lexical binding.
1ac2891e
GM
12707 (overriding-local-map): Make obsolete.
12708 (add-to-list): Doc fix. Add compiler macro.
12709 (read-key): Swap values of local maps.
12710
2587b005
LL
127112013-06-05 Leo Liu <sdl.web@gmail.com>
12712
12713 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12714
f1da3c88
LL
127152013-06-04 Leo Liu <sdl.web@gmail.com>
12716
12717 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12718 (compilation-auto-jump): Suppress the "Mark set" message to give
12719 way to exit message.
12720
3caa391f
AM
127212013-06-04 Alan Mackenzie <acm@muc.de>
12722
12723 Remove faulty optimisation from indentation calculation.
12724 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12725 search limit based on 2000 characters back from indent-point.
12726
068922a2
TH
127272013-06-03 Tassilo Horn <tsdh@gnu.org>
12728
12729 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12730
1f8fdd53
SM
127312013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12732
bbcc4d97
SM
12733 * emacs-lisp/lisp.el: Use lexical-binding.
12734 (lisp--local-variables-1, lisp--local-variables): New functions.
12735 (lisp--local-variables-completion-table): New var.
208d0342 12736 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 12737
1f8fdd53
SM
12738 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12739 eagerly (bug#14422).
12740
c9628c79
MA
127412013-06-03 Michael Albinus <michael.albinus@gmx.de>
12742
12743 * autorevert.el (auto-revert-notify-enabled)
12744 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12745 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12746 (auto-revert-notify-handler): Handle also gfilenotify.
12747
e7b41c4c 12748 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 12749 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 12750 Remove.
c9628c79 12751
e5e4a942
JL
127522013-06-03 Juri Linkov <juri@jurta.org>
12753
12754 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12755 `M-s h .'. (Bug#14427)
12756
12757 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12758 command `hi-lock-face-symbol-at-point'.
12759 (hi-lock-face-symbol-at-point): New command.
12760 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12761 (hi-lock-menu): Add `highlight-symbol-at-point'.
12762 (hi-lock-mode): Doc fix.
12763
12764 * isearch.el (isearch-forward-symbol-at-point): New command.
12765 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12766 (isearch-highlight-regexp): Add a regexp which matches
12767 words/symbols for word/symbol mode.
12768
12769 * subr.el (find-tag-default-bounds): New function with the body
12770 mostly moved from `find-tag-default'.
12771 (find-tag-default): Move most code to `find-tag-default-bounds',
12772 call it and apply `buffer-substring-no-properties' afterwards.
12773
26b3353a
TH
127742013-06-03 Tassilo Horn <tsdh@gnu.org>
12775
781b4af6
SM
12776 * eshell/em-term.el (eshell-term-initialize):
12777 Use `cl-intersection' rather than `intersection'.
26b3353a 12778
51b60f53
XF
127792013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12780
fe054b63 12781 * vc/log-view.el: Doc fix.
d3ffe17c 12782 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 12783
a0eb10b3 127842013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
12785
12786 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12787 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12788 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12789 (eieio-unbound, eieio-default-superclass)
12790 (eieio--define-field-accessors, method-static, method-before)
12791 (method-primary, method-after, method-num-lists)
12792 (method-generic-before, method-generic-primary)
12793 (method-generic-after, method-num-slots)
12794 (eieio-specialized-key-to-generic-key)
12795 (eieio--check-type, class-v, class-p)
12796 (eieio-class-name, define-obsolete-function-alias)
12797 (eieio-class-parents-fast, eieio-class-children-fast)
12798 (same-class-fast-p, class-constructor, generic-p)
12799 (generic-primary-only-p, generic-primary-only-one-p)
12800 (class-option-assoc, class-option, eieio-object-p)
12801 (class-abstract-p, class-method-invocation-order)
12802 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12803 (eieio-class-un-autoload, eieio-defclass)
12804 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12805 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12806 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12807 (eieio-defgeneric-reset-generic-form)
12808 (eieio-defgeneric-form-primary-only)
12809 (eieio-defgeneric-reset-generic-form-primary-only)
12810 (eieio-defgeneric-form-primary-only-one)
12811 (eieio-defgeneric-reset-generic-form-primary-only-one)
12812 (eieio-unbind-method-implementations)
12813 (eieio--defmethod, eieio--typep)
12814 (eieio-perform-slot-validation, eieio-validate-slot-value)
12815 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12816 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12817 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12818 (eieio-slot-name-index, eieio-class-slot-name-index)
12819 (eieio-set-defaults, eieio-initarg-to-attribute)
12820 (eieio-attribute-to-initarg, eieio-c3-candidate)
12821 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12822 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12823 (eieio-class-precedence-list, eieio-generic-call-methodname)
12824 (eieio-generic-call-arglst, eieio-generic-call-key)
12825 (eieio-generic-call-next-method-list)
12826 (eieio-pre-method-execution-functions, eieio-generic-call)
12827 (eieio-generic-call-primary-only, eieiomt-method-list)
12828 (eieiomt-optimizing-obarray, eieiomt-install)
12829 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12830 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 12831 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
12832 (defclass): Remove `eval-and-compile' from macro.
12833 (call-next-method, shared-initialize): Instead of using
12834 `scoped-class' variable, use new eieio--scoped-class, and
12835 eieio--with-scoped-class.
12836 (initialize-instance): Rename local variable 'scoped-class' to
12837 'this-class' to remove ambiguitity from old global.
12838
12839 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12840 eieio.el.
4f405069
JB
12841 (eieio--scoped-class-stack): New variable.
12842 (eieio--scoped-class): New fcn.
890f7890
DE
12843 (eieio--with-scoped-class): New scoping macro.
12844 (eieio-defclass): Use pushnew instead of add-to-list.
12845 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12846 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12847 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12848 `scoped-class' variable, use new eieio--scoped-class, and
12849 eieio--with-scoped-class.
12850
12851 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12852
d105b0e2
TH
128532013-06-02 Tassilo Horn <tsdh@gnu.org>
12854
12855 * eshell/esh-ext.el (eshell-external-command): Pass args to
12856 `eshell-find-interpreter'.
12857 (eshell-find-interpreter): Add new second parameter ARGS.
12858
12859 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 12860 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12861
12862 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 12863 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12864
12865 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12866 (eshell-visual-options): New defcustom.
12867 (eshell-escape-control-x): Adapt docstring.
12868 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12869 `eshell-visual-options' in addition to `eshell-visual-commands'.
12870 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12871
f46305c8 128722013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
12873
12874 * progmodes/python.el (python-indent-block-enders): Add break,
12875 continue and raise keywords.
12876
d870df21
GM
128772013-06-01 Glenn Morris <rgm@gnu.org>
12878
9133b82e
GM
12879 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12880
02c992ec 12881 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
12882 * progmodes/cc-cmds.el (delete-forward-p):
12883 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12884 * progmodes/cc-engine.el (buffer-syntactic-context):
12885 * progmodes/cc-fonts.el (face-property-instance):
12886 * progmodes/cc-mode.el (set-keymap-parents):
12887 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12888 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12889 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
12890 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12891 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 12892
31e7b090
GM
12893 * progmodes/cc-vars.el (other): Emacs has this widget since
12894 at least 21.1, so don't (re)define it.
12895
d870df21
GM
12896 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12897 Replace the obsolete alias pcomplete-arg-quote-list.
12898
c75c93c7
LL
128992013-06-01 Leo Liu <sdl.web@gmail.com>
12900
12901 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12902 punctuation syntax.
12903 (inferior-octave-minimal-columns)
12904 (inferior-octave-last-column-width): New variables.
12905 (inferior-octave-track-window-width-change): New function.
12906 (inferior-octave-mode): Adjust column width so that Octave output,
12907 for example from 'ls', can fit into the window nicely.
12908
973d1e12
DG
129092013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12910
12911 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12912 Highlight expansions inside regexp literals.
12913
0888c286
GM
129142013-05-31 Glenn Morris <rgm@gnu.org>
12915
e26aac1f
GM
12916 * obsolete/sym-comp.el (symbol-complete):
12917 Replace obsolete completion-annotate-function.
12918
0888c286
GM
12919 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12920
19bb8e62
DG
129212013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12922
781b4af6
SM
12923 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12924 New function, checks if point is inside a literal that allows
19bb8e62
DG
12925 expression expansion.
12926 (ruby-syntax-propertize-expansion): Use it.
12927 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12928 around the body.
12929
01dea85f
JL
129302013-05-30 Juri Linkov <juri@jurta.org>
12931
12932 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12933 to "\M-si".
12934 (isearch-invisible): New variable.
12935 (isearch-forward): Doc fix.
12936 (isearch-mode): Set `isearch-invisible'
12937 to the value of `search-invisible'.
12938 (isearch-toggle-case-fold): Doc fix.
12939 (isearch-toggle-invisible): New command.
12940 (isearch-query-replace): Let-bind `search-invisible'
12941 to the value of `isearch-invisible'.
12942 (isearch-search): Use `isearch-invisible' instead of
12943 `search-invisible'. Let-bind `search-invisible'
12944 to the value of `isearch-invisible'. (Bug#11378)
12945
ab1bdce5
JL
129462013-05-30 Juri Linkov <juri@jurta.org>
12947
12948 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12949 call when `query-flag' is nil and `search-invisible' is non-nil.
12950 (Bug#11746)
12951
d6d236e2
GM
129522013-05-30 Glenn Morris <rgm@gnu.org>
12953
8accd027
GM
12954 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12955
2a8bed1c
GM
12956 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12957 (cc-require): Suppress spurious "noruntime" warnings.
12958 (cc-require-when-compile): Use fboundp, for sake of compiler.
12959
d6d236e2
GM
12960 * progmodes/cc-mode.el: Move load of cc-vars before that of
12961 cc-langs (which in turn loads cc-vars), to quieten compiler.
12962
9190b35b
SM
129632013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12964
12965 * paren.el: Simplify the code.
12966 (show-paren-mode): Always start the timer.
12967 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12968 (show-paren--overlay, show-paren--overlay-1): Rename from
12969 show-paren-overlay and show-paren-overlay-1, and initialize to an
12970 overlay rather than to nil.
12971 (show-paren-function): Misc cleanup and simplifications.
12972
4f8d1cf6
SM
129732013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 * paren.el (show-paren-data-function): New hook.
12976 (show-paren--default): New function, extracted from show-paren-function.
12977 (show-paren-function): Use show-paren-data-function.
12978
02d844b5
GM
129792013-05-30 Glenn Morris <rgm@gnu.org>
12980
d209d4a9
GM
12981 * ielm.el (ielm-map, ielm-complete-symbol):
12982 Use completion-at-point rather than obsolete functions.
12983 (inferior-emacs-lisp-mode): Doc fix.
12984 Set completion-at-point-functions, rather than
12985 comint-dynamic-complete-functions.
12986
2082faa6
GM
12987 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12988 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12989 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12990
dd8620de
GM
12991 * image.el (image-animated-p): Tweak definition.
12992
ceca95b1
GM
12993 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12994 (rlogin-process-connection-type): Tweak default. Add set-after.
12995 (rlogin-host): Doc fix.
12996 (rlogin): Tweak prompt.
12997 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12998
ee9f1acc
GM
12999 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13000 * progmodes/tcl.el (inferior-tcl-mode-map):
13001 Use completion-at-point rather than obsolete alias.
13002
45ce222e
GM
13003 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13004
02d844b5
GM
13005 * minibuffer.el (read-file-name-completion-ignore-case):
13006 Move before completion--in-region, for eager macro expansion.
13007
ac44d6c1
JL
130082013-05-29 Juri Linkov <juri@jurta.org>
13009
13010 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13011 for total count of matching lines. Add `global-matches' for total
13012 count of matches. Rename `matches' to `lines' for count of
13013 matching lines. Add `matches' for count of matches.
13014 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13015 to `prev-line' for line number of prev match endpt.
13016 Increment `matches' for every match. Print the number of
13017 matching lines in the header.
13018 (occur-context-lines): Rename `lines' to `curr-line'.
13019 Rename `prev-lines' to `prev-line'. (Bug#14017)
13020
3c9c9d38
JL
130212013-05-29 Juri Linkov <juri@jurta.org>
13022
13023 * replace.el (perform-replace): Add `skip-read-only-count',
13024 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13025 Increment them for corresponding conditions and report the number
13026 of skipped occurrences in the final message. (Bug#11746)
13027 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13028 (replace-string, replace-regexp): Doc fix.
13029
33e249a2
SM
130302013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13031
8e399682
SM
13032 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13033
33e249a2 13034 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 13035 prog-mode-map (bug#14504).
33e249a2 13036
f236dd84
LL
130372013-05-29 Leo Liu <sdl.web@gmail.com>
13038
13039 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13040 (octave-help): Small simplification.
13041
13042 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13043 off the highlight first.
13044
3694d13f
GM
130452013-05-29 Glenn Morris <rgm@gnu.org>
13046
03983bdc
GM
13047 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13048 Handle idlwave-last-system-routine-info-cons-cell being nil.
13049
bc74a74a
GM
13050 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13051 (idlwave-write-paths): Simplify via with-temp-buffer.
13052
8b394200
GM
13053 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13054 * emulation/cua-rect.el: Also load cua-base at run time.
13055
3694d13f
GM
13056 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13057 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13058 (cperl-imenu-on-info): Require imenu.
13059
336d7284
AM
130602013-05-28 Alan Mackenzie <acm@muc.de>
13061
13062 Handle "capitalised keywords" correctly.
33e249a2 13063 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 13064
cb29c582
AG
130652013-05-28 Aidan Gauland <aidalgol@amuri.net>
13066
781b4af6 13067 * eshell/em-unix.el: Add -r option to cp.
cb29c582 13068
690e44b2
GM
130692013-05-28 Glenn Morris <rgm@gnu.org>
13070
e658d75c
GM
13071 * vc/vc-arch.el (vc-exec-after): Declare.
13072 (vc-switches): Autoload.
13073 * vc/vc-bzr.el: No need to require vc when compiling.
13074 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13075 (vc-resynch-buffer, vc-dir-refresh): Declare.
13076 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
13077 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13078 (vc-resynch-buffer): Declare.
13079 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 13080 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
13081 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13082 (grep-read-regexp, grep-read-files, grep-expand-template)
13083 (vc-dir-refresh): Declare.
13084 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13085 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13086 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
13087 * vc/vc-mtn.el (vc-exec-after): Declare.
13088 (vc-switches): Autoload.
13089 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13090 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13091 (vc-file-tree-walk): Declare.
712b9732
GM
13092 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13093 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13094 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
13095 * vc/vc-svn.el (vc-exec-after): Declare.
13096 (vc-switches, vc-setup-buffer): Autoload.
13097 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13098 Autoload.
13099 (vc-resynch-buffer): Declare.
13100
98e87fb3
GM
13101 * obsolete/fast-lock.el (byte-compile-warnings):
13102 Don't warn about obsolete features in this obsolete file.
13103
f5379553
GM
13104 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13105 Move definition before use.
13106
7a20ef83
GM
13107 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13108 (dun-unix-verbs): Remove dun-zippy.
13109 (dun-zippy): Remove function.
13110
690e44b2
GM
13111 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13112
3a52ccf7
JL
131132013-05-27 Juri Linkov <juri@jurta.org>
13114
13115 * replace.el (replace-search): New function with code moved out
13116 from `perform-replace'.
13117 (replace-highlight, replace-dehighlight): Move function definitions
13118 up closer to `replace-search'. (Bug#11746)
13119
d289938a
JL
131202013-05-27 Juri Linkov <juri@jurta.org>
13121
13122 * replace.el (perform-replace): Ignore invisible matches.
13123 In addition to checking `query-replace-skip-read-only', also
13124 filter out matches by calling `run-hook-with-args-until-failure'
13125 on `isearch-filter-predicates', and also check `search-invisible'
13126 for t or call `isearch-range-invisible'.
13127 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13128
66fc57e3
JL
131292013-05-27 Juri Linkov <juri@jurta.org>
13130
13131 * isearch.el (isearch-filter-predicates): Rename from
13132 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13133 (isearch-message-prefix): Display text from the property
13134 `isearch-message-prefix' of the currently active filters.
13135 (isearch-search): Don't compare `isearch-filter-predicate' with
13136 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13137 on `isearch-filter-predicates'. Also check `search-invisible' for t
13138 or call `isearch-range-invisible'.
13139 (isearch-filter-visible): Make obsolete.
13140 (isearch-lazy-highlight-search):
13141 Call `run-hook-with-args-until-failure' on
13142 `isearch-filter-predicates' and use `isearch-range-invisible'.
13143
13144 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13145 `isearch-filter-predicates' instead of `funcall'ing
13146 `isearch-filter-predicate'.
13147 (Info-mode): Set `Info-isearch-filter' to
13148 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13149
13150 * dired-aux.el (dired-isearch-filter-predicate-orig):
13151 Remove variable.
13152 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13153 (dired-isearch-filenames-end): Add and remove
13154 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13155 instead of changing the value of `isearch-filter-predicate'.
13156 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13157 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13158 Put property `isearch-message-prefix' to "filename " on
13159 `dired-isearch-filter-filenames'.
13160
13161 * wdired.el (wdired-change-to-wdired-mode):
13162 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13163 locally instead of changing `isearch-filter-predicate'.
13164 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13165
f1a60a0f
DG
131662013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13167
13168 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13169 return the commit hash (Bug#14459). Also set the
13170 `vc-git-detached' property.
13171 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13172 (vc-git-mode-line-string): Use the same help-echo format whether
13173 in detached mode or not, because we know the actual revision now.
13174 When in detached mode, shorten the revision to 7 chars.
13175
7f17cc40
SM
131762013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13177
13178 * emacs-lisp/easy-mmode.el (define-minor-mode):
13179 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13180 mode hook and provide a docstring.
13181
25c8401c
AM
131822013-05-27 Alan Mackenzie <acm@muc.de>
13183
13184 Remove spurious syntax-table text properties inserted by C-y.
13185 * progmodes/cc-mode.el (c-after-change): Also clear hard
13186 syntax-table property with value nil.
13187
dde84790
MA
131882013-05-27 Michael Albinus <michael.albinus@gmx.de>
13189
13190 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13191 when reading the events; the buffer layout shall not be changed.
13192
837fd9af
LL
131932013-05-27 Leo Liu <sdl.web@gmail.com>
13194
13195 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13196 New variable.
13197 (inferior-octave-directory-tracker): Automatically re-sync
13198 default-directory.
13199 (octave-help): Improve handling of 'See also'.
13200
4fd996b3
SM
132012013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13202
416f1802
SM
13203 * doc-view.el: Minor naming convention tweaks.
13204 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13205
4fd996b3
SM
13206 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13207 even if there's no `display' property yet (bug#14435).
13208
a052ef3b
EZ
132092013-05-25 Eli Zaretskii <eliz@gnu.org>
13210
4fd996b3 13211 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
13212
13213 * Makefile.in (custom-deps, finder-data, autoloads)
13214 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13215 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13216 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13217
c9023370
SM
132182013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13219
13220 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13221 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 13222 Don't burp at EOB.
c9023370 13223
24d699fa
LL
132242013-05-25 Leo Liu <sdl.web@gmail.com>
13225
13226 * comint.el (comint-previous-matching-input): Do not flood the
13227 *Messages* buffer with trivial messages.
13228
17e5c0cc
SM
132292013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13230
13231 * progmodes/flymake.el (flymake-nop): Don't return a string.
13232 (flymake-set-at): Fix typo.
13233
13234 * simple.el (read--expression): New function, extracted from
13235 eval-expression. Set completion-at-point-functions (bug#14465).
13236 (eval-expression, eval-minibuffer): Use it.
13237
5d028165
XF
132382013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13239
13240 * progmodes/flymake.el (flymake-save-buffer-in-file)
13241 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13242 (flymake-selected-frame, flymake-log, flymake-ins-after)
13243 (flymake-set-at, flymake-get-buildfile-from-cache)
13244 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13245 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13246 Refine the doc string.
13247 (flymake-get-file-name-mode-and-masks): Reformat.
13248 (flymake-get-real-file-name-function): Fix a minor bug.
13249
7a1d7ba7
JL
132502013-05-24 Juri Linkov <juri@jurta.org>
13251
13252 * progmodes/grep.el (grep-mode-font-lock-keywords):
13253 Support =linenumber= format used by git-grep for lines with
13254 function names. (Bug#13549)
13255
650cff3d
SM
132562013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13257
13258 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13259 0 after a semi-colon; it works better for smie-auto-fill.
13260 (octave--indent-new-comment-line): New function.
13261 (octave-indent-new-comment-line): Use it (indirectly).
13262 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13263 modify comment-line-break-function.
13264
13265 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13266 (smie-setup): Use add-function to set it.
13267
9631677d
SS
132682013-05-24 Sam Steingold <sds@gnu.org>
13269
13270 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13271 argument (before the `interactive' argument).
13272
50105835
SM
132732013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13274
13275 * image-mode.el (image-mode-winprops): Add winprops to
13276 image-mode-winprops-alist before running
13277 image-mode-new-window-functions.
13278 * doc-view.el (doc-view-new-window-function): Don't delay
13279 doc-view-goto-page via timers (bug#14435).
13280
57b9823e
TH
132812013-05-24 Tassilo Horn <tsdh@gnu.org>
13282
13283 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13284 (doc-view-desktop-save-buffer): New function.
13285 (doc-view-restore-desktop-buffer): New function.
50105835
SM
13286 (desktop-buffer-mode-handlers):
13287 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
13288 handler.
13289 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13290 `desktop-save-buffer' function.
13291
91aafa16
MA
132922013-05-24 Michael Albinus <michael.albinus@gmx.de>
13293
13294 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13295 (tramp-gvfs-file-name-handler): Raise a user error when
13296 `tramp-gvfs-enabled' is nil.
13297 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13298 Do not raise a user error when loading package. (Bug#14447)
13299
ec076379
MA
13300 * net/xesam.el: Move to obsolete/.
13301
db785726
GM
133022013-05-24 Glenn Morris <rgm@gnu.org>
13303
af5c7606
GM
13304 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13305
e5d1916a
GM
13306 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13307
ded62b08
GM
13308 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13309 (Info-find-node, Man-getpage-in-background): Declare.
13310
9e614a3f
GM
13311 * mail/unrmail.el (unrmail):
13312 Replace obsolete detect-coding-with-priority.
13313
892f8ca3
GM
13314 * net/socks.el (socks-split-string): Use this rather than split-string.
13315 (socks-nslookup-host): Update for above change.
13316 (dynamic-choice, s5-dynamic-choice-match)
13317 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13318 Comment out unused code.
13319
3c291973
GM
13320 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13321 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13322 (gud-tooltip-echo-area): Make obsolete.
13323 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13324
43cc956b
GM
13325 * progmodes/js.el (js--optimize-arglist): Declare.
13326
dab49a3b
GM
13327 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13328
36b9d085
GM
13329 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13330 (ediff-window-C): Declare.
13331
e354ae76
GM
13332 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13333 Tweak requires to silence compiler.
13334
b8e57bf4
GM
13335 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13336 (he-search-string, he-tried-table, he-expand-list)
13337 (he-init-string, he-string-member, he-substitute-string)
13338 (he-reset-string): Declare.
13339
db785726
GM
13340 * obsolete/options.el (list-options): Use custom-variable-p,
13341 rather than obsolete alias.
13342
b3531901
SS
133432013-05-23 Sam Steingold <sds@gnu.org>
13344
13345 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 13346 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
13347 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13348
bdda4c66
SM
133492013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13350
13351 * emacs-lisp/smie.el (smie-indent-forward-token)
13352 (smie-indent-backward-token): Handle string tokens (bug#14381).
13353
c43d45f9
TH
133542013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13355
fe1eb856
RS
13356 * ielm.el (ielm-menu): New menu.
13357 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13358
fe1eb856
RS
133592013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13360
a12bf61e 13361 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13362 Fix deactivate action.
13363
a12bf61e 13364 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13365 Add cleveref macros.
074dd971 13366
9b017563
JB
13367 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13368 Accept options for bibliography commands.
a12bf61e 13369 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13370 Add addbibresource. Basic Biblatex support.
13371
7764286e
MA
133722013-05-23 Michael Albinus <michael.albinus@gmx.de>
13373
13374 * net/tramp-gvfs.el (top):
13375 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13376 when loading package. (Bug#14447)
13377
d361bc10
GM
133782013-05-23 Glenn Morris <rgm@gnu.org>
13379
8fa23984
GM
13380 * progmodes/js.el: No need to load comint when compiling.
13381 (ring-insert, comint-send-string, comint-send-input)
13382 (comint-last-input-end, ido-chop): Declare.
13383
a5c7df1a
GM
13384 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13385 * vc/ediff-mult.el: Adjust requires.
13386 (ediff-directories-internal, ediff-directory-revisions-internal)
13387 (ediff-patch-file-internal): Declare.
13388 * vc/ediff-ptch.el: Adjust requires.
13389 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13390 (ediff-find-file): Autoload.
13391 * vc/ediff-util.el: No need to load ediff when compiling.
13392 (ediff-regions-internal): Declare.
13393 * vc/ediff-wind.el: Adjust requires.
13394 (ediff-compute-toolbar-width): Define when compiling.
13395 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13396 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13397 (dired-get-filename, dired-get-marked-files)
13398 (ediff-last-dir-patch, ediff-patch-default-directory)
13399 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13400 (ediff-patch-buffer-internal): Declare.
13401
e2aec513
GM
13402 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13403 (ispell-process, ispell-buffer-local-words, lm-summary)
13404 (lm-section-start, lm-section-end): Declare.
13405 (checkdoc-ispell-init): Simplify.
13406
e68bbd7c
GM
13407 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13408 (he-string-member, he-reset-string, he-substitute-string): Declare.
13409
7efe0991
GM
13410 * eshell/em-ls.el: Adjust requires.
13411 (eshell-glob-regexp): Declare.
f87b1284
GM
13412 * eshell/em-tramp.el: Adjust requires.
13413 (eshell-parse-command): Autoload.
13414 * eshell/em-xtra.el: Adjust requires.
13415 (eshell-parse-command): Autoload.
13416 * eshell/esh-ext.el: Adjust requires.
13417 (eshell-parse-command, eshell-close-handles): Autoload.
13418 * eshell/esh-io.el: Adjust requires.
13419 (eshell-output-filter): Autoload.
13420 * eshell/esh-util.el: No need to load tramp when compiling.
13421 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13422 Declare.
13423 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13424 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13425 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13426 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13427 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13428 * eshell/esh-opt.el, eshell/esh-proc.el:
13429 * eshell/esh-var.el: Adjust requires.
13430 * eshell/eshell.el: Do not require esh-util twice.
13431 (eshell-add-input-to-history): Declare.
13432 (eshell-command): Check history module is active before using it.
13433
d361bc10
GM
13434 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13435
85d090a9
LL
134362013-05-22 Leo Liu <sdl.web@gmail.com>
13437
13438 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13439
5d0acd9d
MA
134402013-05-22 Michael Albinus <michael.albinus@gmx.de>
13441
13442 * autorevert.el (auto-revert-notify-add-watch)
13443 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13444 it indicates changes in file modification time.
13445
0cdffd7d
GM
134462013-05-22 Glenn Morris <rgm@gnu.org>
13447
ca5995ec
GM
13448 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13449 Always delete the autoloaded function from the noruntime and
13450 unresolved functions lists.
13451
6450907e
GM
13452 * allout.el: No need to load epa, epg, overlay when compiling.
13453 (epg-context-set-passphrase-callback, epg-list-keys)
13454 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13455 (epg-key-user-id-list): Declare.
13456
9c6906f6
GM
13457 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13458 (viper-set-parsing-style-toggling-macro)
13459 (viper-set-emacs-state-searchstyle-macros):
13460 Use called-interactively-p on Emacs.
13461 (viper-looking-back): Make it an obsolete alias. Update callers.
13462 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13463 Use looking-back rather than viper-looking-back.
13464 (viper-tmp-insert-at-eob, viper-enlarge-region)
13465 (viper-read-string-with-history, viper-register-to-point)
13466 (viper-append-to-register, viper-change-state-to-vi)
13467 (viper-backward-char-carefully, viper-forward-char-carefully)
13468 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13469 (viper-change-state-to-emacs): Declare.
13470 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13471 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13472 * emulation/viper-mous.el: Do not load viper-cmd.
13473 (viper-backward-char-carefully, viper-forward-char-carefully)
13474 (viper-forward-word, viper-adjust-window): Declare.
13475
5f70c169
GM
13476 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13477
b1b7f300
GM
13478 * progmodes/idlw-help.el (idlwave-help-fontify):
13479 Use called-interactively-p.
13480
f6ebbb46
GM
13481 * term/w32console.el (w32-get-console-codepage)
13482 (w32-get-console-output-codepage): Declare.
13483
0cdffd7d
GM
13484 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13485 Remove unnecessary declarations.
13486 (dframe-message): Doc fix.
13487
13488 * info.el (dframe-select-attached-frame, dframe-current-frame):
13489 Declare.
13490
13491 * speedbar.el (speedbar-message): Make it an obsolete alias.
13492 Update all callers.
13493 (speedbar-with-attached-buffer)
13494 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13495 (speedbar-with-writable): Use backquote.
13496 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13497 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13498 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13499 rather than speedbar- aliases.
13500 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13501 (speedbar-make-specialized-keymap, speedbar-insert-button)
13502 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13503 (speedbar-do-function-pointer): Declare.
13504 (rmail-speedbar-button, rmail-speedbar-find-file)
13505 (rmail-speedbar-move-message):
13506 Use dframe-with-attached-buffer rather than speedbar- alias.
13507 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13508 (dframe-message, speedbar-make-specialized-keymap)
13509 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13510 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13511 (speedbar-insert-button, dframe-select-attached-frame)
13512 (dframe-maybee-jump-to-attached-frame)
13513 (speedbar-change-initial-expansion-list)
13514 (speedbar-previously-used-expansion-list-name): Declare.
13515 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13516 Use dframe-message, dframe-with-attached-buffer rather than
13517 speedbar- aliases.
13518 (gud-sentinel): Silence compiler.
13519 * progmodes/vhdl-mode.el (speedbar-refresh)
13520 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13521 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13522 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13523 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13524 (speedbar-file-lists, speedbar-make-tag-line)
13525 (speedbar-line-directory, speedbar-goto-this-file)
13526 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13527 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13528 (speedbar-make-button, speedbar-reset-scanners)
13529 (speedbar-files-item-info, speedbar-line-text)
13530 (speedbar-find-file-in-frame, speedbar-set-timer)
13531 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13532 (speedbar-with-writable): Do not (re)define it.
13533 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13534 rather than speedbar- alias.
13535
ee44b62a
LL
135362013-05-21 Leo Liu <sdl.web@gmail.com>
13537
13538 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13539 menu items.
13540 (octave-mode): Tweak fill-nobreak-predicate.
13541 (inferior-octave-startup): Check process to avoid infinite loop.
13542 (inferior-octave): Pop to buffer first to show abornmal process
13543 exit information.
13544
640f050f
GM
135452013-05-21 Glenn Morris <rgm@gnu.org>
13546
79458038
GM
13547 * printing.el (pr-menu-bar): Define when compiling.
13548
9cc3e83f
LL
135492013-05-21 Leo Liu <sdl.web@gmail.com>
13550
13551 * progmodes/octave.el (octave-auto-fill): Remove.
13552 (octave-indent-new-comment-line): Improve.
13553 (octave-mode): Use auto fill mode through
4f405069 13554 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 13555 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 13556 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
13557 (octave-help): Show parent directory.
13558
f440830d
GM
135592013-05-21 Glenn Morris <rgm@gnu.org>
13560
13561 * files.el (dired-unmark):
13562 * progmodes/gud.el (gdb-input): Update declarations.
13563
13564 * calculator.el (electric, ehelp): No need to load when compiling.
13565 (Electric-command-loop, electric-describe-mode): Declare.
13566
13567 * doc-view.el (doc-view-current-converter-processes): Move before use.
13568
13569 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13570 Move MODE-set-explicitly definition before use.
13571
13572 * international/mule-diag.el (mule-diag):
13573 Don't use obsolete window-system-version.
13574
13575 * mail/feedmail.el (smtpmail): No need to load when compiling.
13576 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13577
13578 * mail/mail-utils.el (rfc822): No need to load when compiling.
13579 (rfc822-addresses): Autoload it.
13580 (mail-strip-quoted-names): Trivial simplification.
13581
13582 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13583 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13584
13585 * net/snmp-mode.el (tempo): Don't duplicate requires.
13586
13587 * progmodes/prolog.el (info): No need to load when compiling.
13588 (comint): Require before shell requires it.
13589 (Info-goto-node): Autoload it.
13590 (Info-follow-nearest-node): Declare.
13591 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13592
13593 * textmodes/artist.el (picture-mode-exit): Declare.
13594
13595 * textmodes/reftex-parse.el (reftex-parse-from-file):
13596 Trivial rewrite so the compiler can parse it better.
13597
b4da2cbb
LL
135982013-05-20 Leo Liu <sdl.web@gmail.com>
13599
13600 * progmodes/octave.el (octave-help-mode-map)
13601 (octave-help-mode-finish-hook): New variables.
13602 (octave-help-mode, octave-help-mode-finish): New functions.
13603 (octave-help): Use octave-help-mode.
13604
33c0f65b
GM
136052013-05-20 Glenn Morris <rgm@gnu.org>
13606
13607 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13608
1a0a0a8a
DG
136092013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13610
13611 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13612 start at point, so that expansion starting right after opening
13613 slash in a regexp is recognized.
13614 (ruby-syntax-before-regexp-re): New defvar, extracted from
13615 ruby-syntax-propertize-function. Since the value of this regexp
13616 is looked up at runtime now, we should be able to turn
13617 `ruby-syntax-methods-before-regexp' into a defcustom later.
13618 (ruby-syntax-propertize-function): Split regexp matching into two
13619 parts, for opening and closing slashes. That allows us to skip
13620 over string interpolations and support multiline regexps.
13621 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13622 for them, which calls `ruby-syntax-propertize-expansion'.
13623 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13624 call to `ruby-syntax-propertize-function'.
13625 (ruby-syntax-propertize-expansion): Extracted from
13626 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
13627 (ruby-syntax-propertize-percent-literal): Leave point right after
13628 the percent symbol, so that the expression expansion rule can
13629 propertize the contents.
462388b6
DG
13630 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13631 heredoc openers.
13632 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 13633
c1a6c0a4
JL
136342013-05-18 Juri Linkov <juri@jurta.org>
13635
13636 * man.el (Man-default-man-entry): Remove `-' from the end
13637 of the default value. (Bug#14400)
13638
8051fccd
GM
136392013-05-18 Glenn Morris <rgm@gnu.org>
13640
13641 * comint.el (comint-password-prompt-regexp):
13642 Allow "password for XXX" where XXX contains colons (eg https://...).
13643
5e80b74f
LL
136442013-05-18 Leo Liu <sdl.web@gmail.com>
13645
13646 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 13647 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
13648 (octave-source-directories): Don't check process.
13649 (octave-source-directories, octave-find-definition): Doc fix.
13650
521a54c5
GM
136512013-05-18 Glenn Morris <rgm@gnu.org>
13652
86a94b05
GM
13653 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13654 Remove backspace/delete bindings. (Bug#14392)
13655
521a54c5
GM
13656 * cus-dep.el (custom-make-dependencies): Sort the output.
13657 (custom-versions-load-alist): Convert comment to doc.
13658
42caeb89
LL
136592013-05-17 Leo Liu <sdl.web@gmail.com>
13660
13661 * newcomment.el (comment-search-backward): Stricter in finding
13662 comment start. (Bug#14303)
13663
13664 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13665 (octave-comment-start-skip): Properly anchored.
13666
e219dd97
LL
136672013-05-17 Leo Liu <sdl.web@gmail.com>
13668
fe1eb856
RS
13669 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13670 Clean up when turned off. (Bug#14395)
e219dd97
LL
13671 (smie--highlight-matching-block-overlay): No longer buffer-local.
13672 (smie-highlight-matching-block): Adjust.
13673
dc5dcb4b
PE
136742013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13675
13676 Doc string fix for "nanoseconds" (Bug#14406).
13677 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13678 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13679
1db165f0
JB
136802013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13681
13682 * calc/calc-units.el (math-extract-units): Preserve powers
13683 of units.
13684
c7a8fcac
LL
136852013-05-17 Leo Liu <sdl.web@gmail.com>
13686
13687 * subr.el (delete-consecutive-dups): New function.
13688 * ido.el (ido-set-matches-1): Use it.
13689 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13690 * ido.el (ido-remove-consecutive-dups): Remove.
13691
f678b18a
SM
136922013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13693
13694 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13695 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13696 regexp-opt's `words'.
13697
ebfe68e8
LL
136982013-05-16 Leo Liu <sdl.web@gmail.com>
13699
13700 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13701 (smie--highlight-matching-block-overlay)
13702 (smie--highlight-matching-block-lastpos)
13703 (smie--highlight-matching-block-timer): New variables.
13704 (smie-highlight-matching-block): New function.
13705 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13706 (smie-setup): Conditionally enable smie-blink-matching-open.
13707
bc8bc17d
WS
137082013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13709
13710 Sync with upstream verilog-mode r840.
13711 * progmodes/verilog-mode.el (verilog-mode-version)
13712 (verilog-mode-release-date): Update.
13713 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13714 (verilog-sig-tieoff): Fix string error on
13715 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13716 (verilog-read-decls): Fix parameters confusing
13717 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13718
df065a0b
EZ
137192013-05-16 Eli Zaretskii <eliz@gnu.org>
13720
13721 * subr.el (reveal-filename): New function.
13722
13723 * loadup.el: Compute Emacs executable versions on MS-Windows,
13724 where executables have the .exe extension. Add a hard link
13725 emacs-XX.YY.ZZ.exe on MS-Windows.
13726
13727 * Makefile.in (XARGS_LIMIT): New variable.
13728 (custom-deps, finder-data, autoloads)
13729 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13730 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13731 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13732 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13733
2d4bf34b
LL
137342013-05-16 Leo Liu <sdl.web@gmail.com>
13735
13736 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13737 (octave-mode-menu, octave-mode-map): Remove its uses.
13738
6b9c2d85
RZ
137392013-05-16 Reto Zimmermann <reto@gnu.org>
13740
13741 Sync with upstream vhdl mode v3.34.2.
13742 * progmodes/vhdl-mode.el: Use `push' throughout.
13743 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13744 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13745 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13746 (vhdl-actual-generic-name): New option to derive actual generic name.
13747 (vhdl-port-paste-signals): Replace formal by actual generics.
13748 (vhdl-beautify): New name for old group vhdl-align. Update users.
13749 (vhdl-beautify-options): New option.
13750 (vhdl-last-input-event): New compat alias. Use throughout.
13751 (vhdl-goto-line): Replace user level function `goto-line'.
13752 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13753 vhdl-fix-statement-buffer.
13754 (vhdl-create-mode-menu): Add some entries.
13755 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13756 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13757 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13758 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13759 to force statements on one line.
13760 (vhdl-remove-trailing-spaces-region):
13761 New, split from vhdl-remove-trailing-spaces.
13762 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13763 Respect vhdl-beautify-options.
13764 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13765 (vhdl-update-sensitivity-list): Not add with index if exists without.
13766 Not include array index with signal. Ignore keywords in comments.
13767 (vhdl-get-visible-signals): Regexp tweaks.
13768 (vhdl-template-component-inst): Handle empty library.
13769 (vhdl-template-type): Add template for 'enum' type.
13770 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13771 Use vhdl-replace-string.
13772 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13773 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13774 (vhdl-speedbar-initialize): Update for above name change.
13775 (vhdl-compose-wire-components): Fix in handling of constants.
13776 (vhdl-error-regexp-emacs-alist): New variable.
13777 (vhdl-error-regexp-add-emacs): New function;
13778 adds support for new compile.el (Emacs 22+)
13779 (vhdl-generate-makefile-1): Change target order for single lib. units.
13780 Allow use of absolute file names.
13781
9df4ec5e
LL
137822013-05-16 Leo Liu <sdl.web@gmail.com>
13783
13784 * simple.el (prog-indent-sexp): Indent enclosing defun.
13785
f5ba00a6
GM
137862013-05-15 Glenn Morris <rgm@gnu.org>
13787
ed8be7ff
GM
13788 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13789 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13790 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13791 (whitespace-highlight): Move to whitespace group.
13792
13793 * comint.el (comint-source):
13794 * pcmpl-linux.el (pcmpl-linux):
13795 * shell.el (shell-faces):
13796 * eshell/esh-opt.el (eshell-opt):
13797 * international/ccl.el (ccl): Remove empty custom groups.
13798
13799 * completion.el (dynamic-completion-mode):
13800 * jit-lock.el (jit-lock-debug-mode):
13801 * minibuffer.el (completion-in-region-mode):
13802 * type-break.el (type-break-mode-line-message-mode)
13803 (type-break-query-mode):
13804 * emulation/tpu-edt.el (tpu-edt-mode):
13805 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13806 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13807 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13808
13809 * term/xterm.el (xterm): Change parent group to terminals.
13810
13811 * master.el (master): Remove empty custom group.
13812 (master-mode): Remove unused :group argument.
13813 * textmodes/refill.el (refill): Remove empty custom group.
13814 (refill-mode): Remove unused :group argument.
13815
13816 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13817
82a7c41b
GM
13818 * cus-dep.el: Provide a feature.
13819 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
13820 Don't mistakenly ignore files whose basenames match a basename
13821 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 13822 Add a fallback method for getting :group.
f5ba00a6 13823
6d65486d
JL
138242013-05-15 Juri Linkov <juri@jurta.org>
13825
da547b32
JL
13826 * isearch.el (isearch-char-by-name): Rename from
13827 `isearch-insert-char-by-name'. Doc fix.
13828 (isearch-forward): Mention `isearch-char-by-name' in
13829 the docstring. (Bug#13348)
13830
6d65486d
JL
13831 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13832 `exit-minibuffer' instead of
13833 `isearch-nonincremental-exit-minibuffer'.
13834 (isearch-edit-string): Remove mention of
13835 `isearch-nonincremental-exit-minibuffer' from docstring.
13836 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13837 (isearch-forward-exit-minibuffer)
13838 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13839
c9990474
SM
138402013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13841
6e911150
SM
13842 * loadup.el: Just use unversioned DOC.
13843
c9990474
SM
13844 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13845 literals as extending to EOB.
13846 (nxml-last-fontify-end): Remove unused variable.
13847 (nxml-after-change1): Use with-silent-modifications.
13848 (nxml-extend-after-change-region): Simplify.
13849 (nxml-extend-after-change-region1): Remove function.
13850 (nxml-after-change1): Don't adjust for dependent regions.
13851 (nxml-fontify-matcher): Simplify.
13852 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13853 (xmltok-add-dependent): Remove function.
13854 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13855 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13856 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13857 unclosed <[[, <?, comment, and other literals as extending to EOB.
13858 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13859 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13860 Remove functions.
13861 (rng-do-some-validation-1): Don't mark dependent regions.
13862 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13863 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13864 (nxml-clear-dependent-regions): Remove functions.
13865 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13866 (nxml-ensure-scan-up-to-date):
13867 Don't clear&mark dependent regions.
13868
e3772e98
LL
138692013-05-15 Leo Liu <sdl.web@gmail.com>
13870
c9990474
SM
13871 * progmodes/octave.el (octave-goto-function-definition):
13872 Improve and fix callers.
e3772e98 13873
5ac2eb34
SM
138742013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13875
c46c57b0
SM
13876 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13877 the setter (bug#14387).
13878
5ac2eb34
SM
13879 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13880 surrounding group (bug#14402).
13881
180ed218
JL
138822013-05-14 Juri Linkov <juri@jurta.org>
13883
13884 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13885 (Bug#14390)
13886
0ac0fecb
GM
138872013-05-14 Glenn Morris <rgm@gnu.org>
13888
13889 * progmodes/f90.el (f90-imenu-generic-expression):
13890 Fix typo in 2013-05-08 change. (Bug#14402)
13891
2e78e6a7
JPG
138922013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13893
5ac2eb34
SM
13894 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13895 Remove signals for which replies are never received.
2e78e6a7 13896
53267cca
JPG
138972013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13898
13899 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13900 (gdb-handler-alist, gdb-handler-number): Remove variables.
13901 (gdb-handler-list): New variable.
13902 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13903 (gdb-pending-handler-p, gdb-handle-reply)
13904 (gdb-remove-all-pending-triggers): New functions.
13905 (gdb-discard-unordered-replies): New defcustom.
13906 (gdb-handler): New defstruct.
13907 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13908 instead of gdb-pending-triggers. Update docstring.
13909 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13910 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13911 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13912 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13913 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13914 (gdb-frame-handler): Pending triggers are now automatically managed.
13915 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13916 Remove argument.
13917 (gdb-input): Automatically handles pending triggers. Update docstring.
13918 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13919 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13920 Update comments.
13921 (gdb-done-or-error): Now use gdb-handle-reply.
13922
d04ce803
JPG
139232013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13924
13925 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13926 gdb-debug-log.
13927
0114073a
GM
139282013-05-14 Glenn Morris <rgm@gnu.org>
13929
13930 * subr.el (user-emacs-directory-warning): New option.
13931 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13932
4d25fd7e
LL
139332013-05-14 Leo Liu <sdl.web@gmail.com>
13934
13935 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13936 during redisplay.
13937 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
13938 (octave-font-lock-texinfo-comment): Fix invalid search bound
13939 error: wrong side of point.
4d25fd7e 13940
27c8b6eb
GM
139412013-05-14 Glenn Morris <rgm@gnu.org>
13942
61aaeb01
GM
13943 * progmodes/flymake.el (flymake-xml-program): New option.
13944 (flymake-xml-init): Use it.
13945
5bf90bc5
GM
13946 * term/xterm.el: Provide a feature.
13947
13948 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 13949
f4c7dfd2
GM
139502013-05-13 Glenn Morris <rgm@gnu.org>
13951
13952 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13953 Add compat aliases as a hack workaround. (Bug#14384)
13954
2aeb3a1d
LL
139552013-05-13 Leo Liu <sdl.web@gmail.com>
13956
b0e069c2
LL
13957 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13958 ###, and %!.
f5a9432f
LL
13959 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13960 C-M-q.
b0e069c2
LL
13961 (octave-comment-start-skip): Include %!.
13962 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 13963
30ea8374
LL
139642013-05-12 Leo Liu <sdl.web@gmail.com>
13965
13966 * progmodes/octave.el (inferior-octave-startup): Store the value
13967 of __octave_srcdir__ for octave-source-directories.
13968 (inferior-octave-check-process): New function refactored out of
13969 inferior-octave-send-list-and-digest.
13970 (octave-source-directories)
13971 (octave-find-definition-filename-function): New variables.
13972 (octave-source-directories)
13973 (octave-find-definition-default-filename): New functions.
13974 (octave-find-definition): Improve to find functions implemented in C++.
13975
472a3834
GM
139762013-05-12 Glenn Morris <rgm@gnu.org>
13977
13978 * calendar/diary-lib.el (diary-outlook-format-1):
13979 Don't include dayname in the output. (Bug#14349)
13980
3191b52f
GM
139812013-05-11 Glenn Morris <rgm@gnu.org>
13982
0060ac73
GM
13983 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13984
3191b52f
GM
13985 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13986 Treat cc-provide like provide.
13987
e065ba74
KR
139882013-05-11 Kevin Ryde <user42@zip.com.au>
13989
13990 * cus-dep.el (custom-make-dependencies):
13991 Use generated-autoload-load-name for the sake of files such
13992 such cedet/semantic/bovine/c.el, where the base file name
13993 is not in load-path. (Bug#5277)
13994
36f84c37
GM
139952013-05-11 Glenn Morris <rgm@gnu.org>
13996
13997 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13998 Provide features.
13999
c8730c3a
LL
140002013-05-11 Leo Liu <sdl.web@gmail.com>
14001
14002 * progmodes/octave.el (octave-indent-comment): Improve.
14003 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
14004 (octave-eldoc-function-signatures, octave-eldoc-function):
14005 New functions.
c8730c3a
LL
14006 (octave-mode, inferior-octave-mode): Add eldoc support.
14007
212e29f2
RS
140082013-05-11 Richard Stallman <rms@gnu.org>
14009
14010 * epa.el (epa-decrypt-file): Take output file name as argument
14011 and read it using `interactive'.
14012
083fe0d7
LL
140132013-05-11 Leo Liu <sdl.web@gmail.com>
14014
14015 * progmodes/octave.el (octave-beginning-of-line)
14016 (octave-end-of-line): Check before using up-list because it jumps
14017 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
14018 (octave-indent-comment): New function.
14019 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
14020 (octave-begin-keywords, octave-end-keywords)
14021 (octave-reserved-words, octave-smie-bnf-table)
14022 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 14023
8582e4c4
GM
140242013-05-11 Glenn Morris <rgm@gnu.org>
14025
f20def1f
GM
14026 * faces.el (internal-face-x-get-resource):
14027 * frame.el (ns-display-monitor-attributes-list):
d78abe37 14028 * calc/calc-aent.el (math-to-radians-2):
f20def1f 14029 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 14030 Fix declarations.
f20def1f 14031
445f95e2
GM
14032 * calc/calc-menu.el: Make it loadable in isolation.
14033
14034 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14035 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14036 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14037 (eudc-bbdb-query-internal): Require 'bbdb.
14038
99fb2756
GM
14039 * lpr.el (lpr-headers-switches):
14040 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14041
14042 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14043
0da7ad96
GM
14044 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14045
8582e4c4
GM
14046 * term.el (term-set-escape-char): Make it idempotent.
14047
f71c50d0
LL
140482013-05-10 Leo Liu <sdl.web@gmail.com>
14049
5ac2eb34
SM
14050 * progmodes/octave.el (inferior-octave-completion-table):
14051 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
14052 completion due to bug#11906.
14053 (octave-beginning-of-defun): Re-write to be more general.
14054
d5837773
GM
140552013-05-10 Glenn Morris <rgm@gnu.org>
14056
14057 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14058
027c0f75
SM
140592013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14060
14061 * comint.el (comint-redirect-send-command-to-process): Use :around
14062 rather than :override for comint-redirect-filter.
14063 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14064 Call it instead of comint-redirect-original-filter-function (which
14065 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14066
4465bfb4
JD
140672013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14068
14069 * frame.el (display-monitor-attributes-list): Add NS case.
14070 (ns-display-monitor-attributes-list): Declare.
14071
2d809ffa 140722013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
14073
14074 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14075
e54eeb9b
GM
140762013-05-09 Glenn Morris <rgm@gnu.org>
14077
56cd351d
GM
14078 * international/fontset.el (vertical-centering-font-regexp):
14079 Set standard-value.
14080
d84b6108
GM
14081 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14082
a931698a
GM
14083 * bookmark.el (bookmark-search-delay):
14084 * cus-start.el (vertical-centering-font-regexp):
14085 * ps-mule.el (ps-mule-font-info-database-default):
14086 * ps-print.el (ps-default-fg, ps-default-bg):
14087 * type-break.el (type-break-good-break-interval):
14088 * whitespace.el (whitespace-indentation-regexp)
14089 (whitespace-space-after-tab-regexp):
14090 * emacs-lisp/testcover.el (testcover-1value-functions)
14091 (testcover-noreturn-functions, testcover-progn-functions)
14092 (testcover-prog1-functions):
14093 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14094 * eshell/em-glob.el (eshell-glob-translate-alist):
14095 * play/tetris.el (tetris-tty-colors):
14096 * progmodes/cpp.el (cpp-face-default-list):
14097 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14098 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14099 (idlwave-help-browser-generic-args):
14100 * progmodes/make-mode.el (makefile-special-targets-list):
14101 * progmodes/python.el (python-shell-virtualenv-path):
14102 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14103 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14104 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14105 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14106 * textmodes/reftex-vars.el (reftex-format-label-function):
14107 * textmodes/remember.el (remember-diary-file): Fix custom types.
14108
e54eeb9b
GM
14109 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14110 Add :version.
14111
455851dd
LL
141122013-05-09 Leo Liu <sdl.web@gmail.com>
14113
14114 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 14115 Restore file completion. (Bug#14300)
455851dd
LL
14116 (inferior-octave-startup): Fix incorrect highlighting for the
14117 first prompt.
14118
a9e4425b
SM
141192013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14120
14121 * progmodes/ruby-mode.el: First cut at SMIE support.
14122 (ruby-use-smie): New var.
14123 (ruby-smie-grammar): New constant.
14124 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14125 (ruby-smie--forward-token, ruby-smie--backward-token)
14126 (ruby-smie-rules): New functions.
14127 (ruby-mode-variables): Setup SMIE if applicable.
14128
060ca408
EZ
141292013-05-08 Eli Zaretskii <eliz@gnu.org>
14130
14131 * simple.el (line-move-visual): Signal beginning/end of buffer
14132 only if vertical-motion moved less than it was requested. Avoids
14133 silly incorrect error messages when there are display strings with
14134 multiple newlines at EOL.
14135
1d5963cc
SM
141362013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14137
14138 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14139 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14140 (prolog-char-quote-workaround):
14141 * progmodes/cperl-mode.el (cperl-under-as-char):
14142 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
14143 Mark as obsolete.
14144 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
14145 their declaration.
14146 (vhdl-mode-syntax-table-init): Remove.
14147
c9990474
SM
14148 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14149 last change.
1d5963cc
SM
14150
14151 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14152 syntax for "_".
14153 (ld-script-font-lock-keywords):
14154 Change regexps to use things like \_< and \_>.
14155
14156 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14157 Change all regexps to use things like \_< and \_>.
14158
14159 * progmodes/autoconf.el (autoconf-definition-regexp)
14160 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14161 Handle a _ with symbol syntax.
14162 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14163
c9990474
SM
14164 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14165 Consolidate declaration.
1d5963cc
SM
14166 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14167 the declaration.
14168 (ada-create-syntax-table): Remove.
14169 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14170 already has the right syntax nowadays.
14171 (ada-goto-next-word): Don't change the syntax of "_".
14172
14173 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14174 with-wrapper-hook.
14175
72d3cfca
SS
141762013-05-08 Sam Steingold <sds@gnu.org>
14177
14178 * thingatpt.el (thing-at-point): Accept optional second argument
14179 NO-PROPERTIES to strip the text properties from the return value.
14180 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14181 to `thing-at-point' instead of stripping the properties ourselves.
14182 Also, when `thing-at-point' fails to find a url, prepend "http://"
14183 to the filename at point on the assumption that the user is
14184 pointing at something like gnu.org/gnu.
14185
5cb15713
JB
141862013-05-08 Juanma Barranquero <lekktu@gmail.com>
14187
14188 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14189 * faces.el (crm-separator):
14190 Silence byte-compiler.
14191
14192 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14193 (tool-bar-map): Remove unneeded defvars.
14194
ea78b95b
LL
141952013-05-08 Leo Liu <sdl.web@gmail.com>
14196
14197 Re-work a fix for bug#10994 based on Le Wang's patch.
14198 * ido.el (ido-remove-consecutive-dups): New helper.
14199 (ido-completing-read): Use it.
14200 (ido-chop): Revert fix for bug#10994.
14201
dc7466df
AS
142022013-05-08 Adam Spiers <emacs@adamspiers.org>
14203
14204 * cus-edit.el (custom-save-variables):
14205 Pretty-print long values. (Bug#14187)
14206
9ecf672a
GM
142072013-05-08 Glenn Morris <rgm@gnu.org>
14208
14209 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14210 (m4-mode-syntax-table): Init in the defvar.
14211 (m4-mode-abbrev-table): Let define-derived-mode define it.
14212
3f555be8
TT
142132013-05-08 Tom Tromey <tromey@redhat.com>
14214
14215 * progmodes/m4-mode.el (m4-mode-syntax-table):
14216 Do not treat "_" as word constituent. (Bug#14167)
14217
7cc8ae06
GM
142182013-05-07 Glenn Morris <rgm@gnu.org>
14219
4f58bc06
GM
14220 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14221 Remove explicit eshell-isearch-cancel-map.
14222
7cc8ae06
GM
14223 * progmodes/f90.el (f90-smart-end-names): New option.
14224 (f90-smart-end): Doc fix.
14225 (f90-end-block-optional-name): New constant.
14226 (f90-block-match): Respect f90-smart-end-names.
14227
ceb57e59
SM
142282013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14229
14230 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14231 about implicit semi-colons (bug#14218).
14232
4e3f9230
YM
142332013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14234
14235 * frame.el (display-monitor-attributes-list)
14236 (frame-monitor-attributes): New functions.
14237
203a5572
LL
142382013-05-06 Leo Liu <sdl.web@gmail.com>
14239
14240 * progmodes/octave.el (octave-syntax-propertize-function): Change
14241 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14242 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 14243 (octave-completion-at-point): Rename from
203a5572
LL
14244 octave-completion-at-point-function.
14245 (inferior-octave-directory-tracker): Robustify.
14246 (octave-text-functions): Remove and fix its uses. No such things
14247 any more.
14248
ee6cff99
SM
142492013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14250
14251 * emacs-lisp/trace.el (trace--display-buffer): New function.
14252 (trace-make-advice): Use it.
14253
32985194
JL
142542013-05-06 Juri Linkov <juri@jurta.org>
14255
14256 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14257 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14258 Doc fix.
14259 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14260 in the help string. (Bug#12985)
14261
a1c700de
KD
142622013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14263
14264 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14265
c67c0839
SM
142662013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14267
323885fd
SM
14268 * progmodes/perl-mode.el: Add support for here documents.
14269 (perl-syntax-propertize-function): Match here-doc markers.
14270 (perl-syntax-propertize-special-constructs): Find their end.
14271 (perl-imenu-generic-expression): Use [:alnum:].
14272
c67c0839
SM
14273 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14274 (advice--add-function): Refresh the advice if already present
14275 (bug#14317).
14276
d491e7a8
IA
142772013-05-06 Ivan Andrus <darthandrus@gmail.com>
14278
14279 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14280
ddf9925e
GM
142812013-05-06 Glenn Morris <rgm@gnu.org>
14282
7cc3af27
GM
14283 * w32-fns.el (w32-charset-info-alist): Declare.
14284
16e343d6
GM
14285 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14286 of its defcustom properties.
14287 (eshell-cmpl-initialize): No need to load pcomplete.
14288
7d889a47
GM
14289 * generic-x.el: No need to require comint when compiling.
14290
ddf9925e
GM
14291 * net/eudc-export.el: Make it loadable without bbdb.
14292 (top-level): Use require rather than load-library.
14293 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14294 (eudc-batch-export-records-to-bbdb)
14295 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14296 Require bbdb.
14297
1e2c18df
SM
142982013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14299
14300 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14301 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14302 some tweaks, instead.
14303
02502a5f
LL
143042013-05-05 Leo Liu <sdl.web@gmail.com>
14305
14306 * progmodes/octave.el (octave-font-lock-keywords)
14307 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14308 (inferior-octave-send-list-and-digest): Improve error message.
14309 (octave-mode, inferior-octave-mode): Use setq-local.
14310 (octave-help): Set info-lookup-mode.
14311
0dc04f42
RS
143122013-05-05 Richard Stallman <rms@gnu.org>
14313
6c54491c
RS
14314 * vc/compare-w.el (compare-windows-whitespace):
14315 Treat no-break space as whitespace.
14316
0dc04f42
RS
14317 * mail/rmailsum.el (rmail-summary-rmail-update):
14318 Detect empty summary and don't change selected message.
14319 (rmail-summary-goto-msg): Likewise.
14320
df8f35df
RS
14321 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14322 Doc fixes, rename args.
14323
5356e1a3
AM
143242013-05-05 Alan Mackenzie <acm@muc.de>
14325
14326 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14327
d44014cb
JL
143282013-05-05 Juri Linkov <juri@jurta.org>
14329
14330 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14331 to not add the length of the summary segment to the return value.
14332 (Bug#14125)
14333
c129b51f
LL
143342013-05-05 Leo Liu <sdl.web@gmail.com>
14335
14336 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14337 (inferior-octave-output-filter): Remove.
14338 (octave-send-region, inferior-octave-startup): Fix callers.
14339 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14340 (octave-binary-file-extensions): New user variable.
14341 (octave-find-definition): Confirm if opening binary files.
14342 (octave-help-file): Use octave-find-definition to get the binary
14343 confirmation.
14344 (octave-help): Adjust for octave-help-file change.
14345
aa7dab97
SM
143462013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14347
14348 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14349 Merge the two entries that handle function definitions.
14350 (pascal--syntax-propertize): New const.
14351 (pascal-mode): Use it. Use setq-local.
14352
fd3a9a6b
GM
143532013-05-04 Glenn Morris <rgm@gnu.org>
14354
14355 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14356 (diary-from-outlook): Respect diary-from-outlook-function.
14357
30c7e542
SM
143582013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14359
14360 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14361 Move the declaration from C.
14362 (read-minibuffer, eval-minibuffer): Move from C.
14363 (completion-setup-function): Avoid minibuffer-completion-contents.
14364
b54f978b
LL
143652013-05-03 Leo Liu <sdl.web@gmail.com>
14366
14367 * progmodes/octave.el (octave-font-lock-keywords): Do not
14368 dehighlight 'end' in comments or strings.
30c7e542
SM
14369 (octave-completing-read, octave-goto-function-definition):
14370 New helpers.
d4d0f9b3
LL
14371 (octave-help-buffer): New user variable.
14372 (octave-help-file, octave-help-function): New button types.
14373 (octave-help): New command and bind it to C-h ;.
14374 (octave-find-definition): New command and bind it to M-.
d74a1581 14375 (user-error): Alias to error if not defined.
b54f978b 14376
27135018
LL
143772013-05-02 Leo Liu <sdl.web@gmail.com>
14378
14379 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14380 for \. (bug#14332)
14381 (octave-font-lock-keywords): Include [ and {.
14382
0d634d3a
LL
143832013-05-02 Leo Liu <sdl.web@gmail.com>
14384
14385 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14386 (inferior-octave): Remove calling comint-mode and return the buffer.
14387 (inferior-octave-startup): Cosmetic changes.
14388
b4c8295e
LL
143892013-05-02 Leo Liu <sdl.web@gmail.com>
14390
30c7e542
SM
14391 * progmodes/octave.el (octave-syntax-propertize-function):
14392 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14393
f12ad6ec
GM
143942013-05-02 Glenn Morris <rgm@gnu.org>
14395
14396 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14397 * desktop.el (vc-dir-mode): Just autoload it here.
14398
30cac1e0
AM
143992013-05-02 Alan Mackenzie <acm@muc.de>
14400
14401 Eliminate variable c-standard-font-lock-fontify-region-function.
14402 * progmodes/cc-mode.el
14403 (c-standard-font-lock-fontify-region-function): Remove.
14404 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14405
d8ef28b1
LL
144062013-05-01 Leo Liu <sdl.web@gmail.com>
14407
2640d52e 14408 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 14409 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 14410 variables were removed from Octave in 2007.
d8ef28b1
LL
14411 (inferior-octave-startup): Fix uses.
14412 (comint-line-beginning-position): Remove compatibility code for
14413 emacs 21.
14414
ac63ec89
JL
144152013-05-01 Juri Linkov <juri@jurta.org>
14416
14417 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14418
9e9be37c
JL
144192013-05-01 Juri Linkov <juri@jurta.org>
14420
14421 * comint.el (comint-previous-matching-input): Don't print message
14422 "History item: %d" when `isearch-mode' is active.
14423 (comint-history-isearch-message): Print message "History item: %d"
14424 when `comint-input-ring-index' is not empty and this function is
14425 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14426
9b92c13b
LL
144272013-05-01 Leo Liu <sdl.web@gmail.com>
14428
14429 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14430 definitions. Use completion-at-point to insert keywords.
14431 (octave-abbrev-start): Remove.
14432 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14433
b12d33d7
LL
144342013-04-30 Leo Liu <sdl.web@gmail.com>
14435
14436 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14437 change.
14438
3d1c39fa
AM
144392013-04-30 Alan Mackenzie <acm@muc.de>
14440
14441 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
14442 * progmodes/cc-engine.el (c-back-over-member-initializers):
14443 new function.
3d1c39fa
AM
14444 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14445 (most) member init lists.
14446
5147fc17
RS
144472013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14448
14449 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14450 variable.
14451
5b78d7fc
LL
144522013-04-30 Leo Liu <sdl.web@gmail.com>
14453
14454 * progmodes/octave.el (octave-variables): Remove. No builtin
14455 variables any more. All converted to functions.
14456 (octave-font-lock-keywords, octave-completion-at-point-function):
14457 Fix uses.
14458 (octave-font-lock-texinfo-comment): New user variable.
14459 (octave-texinfo-font-lock-keywords): New variable for texinfo
14460 comment block.
14461 (octave-function-comment-block): New face.
14462 (octave-font-lock-texinfo-comment): New function.
14463 (octave-mode): Font lock texinfo comment block.
14464
38d8527b
LL
144652013-04-29 Leo Liu <sdl.web@gmail.com>
14466
14467 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14468 indexing expression.
14469 (octave-continuation-string): Do not use \.
14470 (inferior-octave-complete-impossible): Remove.
14471 (inferior-octave-completion-table)
14472 (inferior-octave-completion-at-point): Remove its uses.
14473 (inferior-octave-startup): completion_matches was introduced to
14474 Octave in 1996 so safe to assume it.
14475 (octave-function-file-comment): Improve to follow how Octave does it.
14476 (octave-update-function-file-comment): Tweak.
14477
2ec12cb0
LL
144782013-04-29 Leo Liu <sdl.web@gmail.com>
14479
14480 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14481 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14482 (octave-function-file-comment): Fix typo.
14483 (octave-sync-function-file-names): Use read-char-choice.
14484
6eaed048
JB
144852013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14486
14487 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14488 to t for the less important warnings.
14489
3ffa2d4f
DH
144902013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14491
14492 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14493
685c9501
GM
144942013-04-27 Glenn Morris <rgm@gnu.org>
14495
14496 * vc/log-view.el (log-view-current-entry):
14497 Treat "---" separator lines as part of the following rev. (Bug#14169)
14498
0208ede7
JL
144992013-04-27 Juri Linkov <juri@jurta.org>
14500
14501 * subr.el (read-number): Doc fix about using it by interactive
14502 code letter `n'. (Bug#14254)
14503
5db9dace
JL
145042013-04-27 Juri Linkov <juri@jurta.org>
14505
14506 * desktop.el (desktop-auto-save-timeout): New option.
14507 (desktop-file-checksum): New variable.
14508 (desktop-save): Add optional arg `auto-save' and don't auto-save
14509 if nothing changed.
14510 (desktop-auto-save-timer): New variable.
14511 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14512 (after-init-hook): Call `desktop-auto-save-set-timer'.
14513 Suggested by Reuben Thomas <rrt@sc3d.org> in
14514 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14515
b7260dd4
LL
145162013-04-27 Leo Liu <sdl.web@gmail.com>
14517
14518 * progmodes/octave.el (octave-function-file-p)
14519 (octave-skip-comment-forward, octave-function-file-comment)
14520 (octave-update-function-file-comment): New functions.
14521 (octave-mode-map): Bind C-c ; to
14522 octave-update-function-file-comment.
14523 (octave-mode-menu): Add octave-update-function-file-comment.
14524 (octave-mode, inferior-octave-mode): Fix doc-string.
14525 (octave-insert-defun): Conform to Octave's coding convention.
14526 (Bug#14285)
14527
14528 * files.el (basic-save-buffer): Don't let errors in
14529 before-save-hook prevent saving buffer.
14530
c46da669
RW
145312013-04-20 Roland Winkler <winkler@gnu.org>
14532
14533 * faces.el (read-face-name): Use completing-read if arg multiple
14534 is nil.
14535
a81ee1eb
IL
145362013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14537
14538 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
14539 displayed, move point to after the totals line.
14540 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
14541 for the details.
14542
4fac34ce
SM
145432013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14544
14545 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14546 Add current dir to the load-path.
14547 (package-generate-autoloads): Don't rely on
14548 autoload-ensure-default-file.
14549
f6bfc063
RT
145502013-04-26 Reuben Thomas <rrt@sc3d.org>
14551
d40ab5cf
BG
14552 * textmodes/remember.el (remember-store-in-files): Document that
14553 the file name format is passed to `format-time-string'.
f6bfc063 14554
e55d3b04
LL
145552013-04-26 Leo Liu <sdl.web@gmail.com>
14556
14557 * progmodes/octave.el (octave-sync-function-file-names): New function.
14558 (octave-mode): Use it in before-save-hook.
14559
e53052d3
SM
145602013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14561
140ef50c
SM
14562 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14563 (bug#14274).
14564
e53052d3
SM
14565 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14566 \n and comment, even if it's not an implicit ; (bug#14218).
14567
af80458d 145682013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
14569
14570 * subr.el (read-number): Once more use `read' rather than
14571 `string-to-number', to trap non-numeric input. (Bug#14254)
14572
af80458d 145732013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
14574
14575 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14576 Use `syntax-multiline' text property consistently instead of
8a621d53 14577 `font-lock-multiline'. (Bug#14237)
70203c2e 14578
e6ea1f6c
GM
145792013-04-26 Glenn Morris <rgm@gnu.org>
14580
14581 * emacs-lisp/shadow.el (list-load-path-shadows):
14582 No longer necessary to check for duplicate simple.el, since
14583 2012-07-07 change to init_lread to not include installation lisp
14584 directories in load-path when running uninstalled. (Bug#14270)
14585
070ccca4
LL
145862013-04-26 Leo Liu <sdl.web@gmail.com>
14587
14588 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14589 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 14590 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14591 octave-in-string-or-comment-p.
14592 (octave-in-comment-p, octave-in-string-p)
14593 (octave-in-string-or-comment-p): Replace defsubst with defun.
14594
9d1c5fb6
PE
145952013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14596
14597 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14598
c034abda
BG
145992013-04-25 Bastien Guerry <bzg@gnu.org>
14600
14601 * textmodes/remember.el (remember-data-directory)
14602 (remember-directory-file-name-format): Fix custom types.
14603
584ea277
LL
146042013-04-25 Leo Liu <sdl.web@gmail.com>
14605
e53052d3
SM
14606 * progmodes/octave.el (octave-completion-at-point-function):
14607 Make use of inferior octave process.
584ea277
LL
14608 (octave-initialize-completions): Remove.
14609 (inferior-octave-completion-table): New function.
14610 (inferior-octave-completion-at-point): Use it.
14611 (octave-completion-alist): Remove.
14612
1693b06a
SM
146132013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14614
14615 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14616 (opascal-mode-syntax-table): New var.
14617 (opascal-literal-kind, opascal-is-literal-end)
14618 (opascal-literal-token-at): Rewrite.
14619 (opascal--literal-start-re, opascal-font-lock-keywords)
14620 (opascal--syntax-propertize): New constants.
14621 (opascal-font-lock-defaults): Adjust.
14622 (opascal-mode): Use them. Set comment-<foo> variables as well.
14623 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14624 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14625 (delphi-other-face, opascal-other-face): Remove face variables.
14626 (opascal-save-state): Remove macro.
14627 (opascal-fontifying-progress-step): Remove constant.
14628 (opascal--ignore-changes): Remove var.
14629 (opascal-set-token-property, opascal-parse-next-literal)
14630 (opascal-is-stable-literal, opascal-complete-literal)
14631 (opascal-is-literal-start, opascal-face-of)
14632 (opascal-parse-region, opascal-parse-region-until-stable)
14633 (opascal-fontify-region, opascal-after-change)
14634 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14635 (opascal-debug-parse-region, opascal-debug-parse-window)
14636 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14637 (opascal-debug-fontify-buffer): Remove.
14638 (opascal-debug-mode-map): Adjust accordingly.
14639
be64c05d
LL
146402013-04-25 Leo Liu <sdl.web@gmail.com>
14641
14642 Merge octave-mod.el and octave-inf.el into octave.el with some
14643 cleanups.
14644 * progmodes/octave.el: New file renamed from octave-mod.el.
14645 * progmodes/octave-inf.el: Merged into octave.el.
14646 * progmodes/octave-mod.el: Renamed to octave.el.
14647
d79d37bd
TH
146482013-04-25 Tassilo Horn <tsdh@gnu.org>
14649
14650 * textmodes/reftex-vars.el
14651 (reftex-label-ignored-macros-and-environments): New defcustom.
14652
14653 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14654
ced3fc5d
SM
146552013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14656
14657 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14658 (smie-indent-keyword): Improve the check to ensure that the next
14659 comment is really on the same line.
14660 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14661
14662 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14663 semi-colons if the line is not otherwise empty (bug#14218).
14664
1c141dad
GM
146652013-04-25 Glenn Morris <rgm@gnu.org>
14666
14667 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14668
5058062a
SM
146692013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * progmodes/opascal.el (opascal-set-token-property): Rename from
14672 opascal-set-text-properties and only set `token' (bug#14134).
14673 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14674 (opascal-literal-text-properties): Remove.
14675 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14676 Adjust callers.
14677
5db9dace 146782013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
14679
14680 * textmodes/remember.el (remember-handler-functions): Add an
14681 option for a new handler `remember-store-in-files'.
14682 (remember-data-directory, remember-directory-file-name-format):
14683 New options.
14684 (remember-store-in-files): New function to store remember notes
14685 as separate files within a directory.
14686
4391916c
MH
146872013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14688
14689 * progmodes/compile.el (compilation-next-error-function):
14690 Pass "formats" to compilation-find-file (bug#11777).
14691
bb7cdf58
GM
146922013-04-24 Glenn Morris <rgm@gnu.org>
14693
3b8fe752 14694 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
14695 * vc/vc-hg.el (vc-hg-print-log):
14696 * vc/vc-svn.el (vc-svn-print-log):
14697 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14698
bb7cdf58
GM
14699 * vc/vc-bzr.el (vc-bzr-print-log):
14700 * vc/vc-cvs.el (vc-cvs-print-log):
14701 * vc/vc-git.el (vc-git-print-log):
14702 * vc/vc-hg.el (vc-hg-print-log):
14703 * vc/vc-mtn.el (vc-mtn-print-log):
14704 * vc/vc-rcs.el (vc-rcs-print-log):
14705 * vc/vc-sccs.el (vc-sccs-print-log):
14706 * vc/vc-svn.el (vc-svn-print-log):
14707 * vc/vc.el (vc-print-log-internal): Doc fixes.
14708
b46a056e
GM
147092013-04-23 Glenn Morris <rgm@gnu.org>
14710
14711 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14712 Remove venerable code attempting to avoid substitute-command-keys.
14713
0aecf718
TH
147142013-04-23 Tassilo Horn <tsdh@gnu.org>
14715
4391916c
MH
14716 * textmodes/reftex-vars.el (reftex-label-regexps):
14717 Call `reftex-compile-variables' after changes to this variable.
0aecf718 14718
117f94cf
SM
147192013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14720
4391916c 14721 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
14722 Use lexical-binding.
14723 (jit-lock-force-redisplay): Use markers, check buffer's continued
14724 existence and beware narrowed buffers.
14725 (jit-lock-fontify-now): Adjust call accordingly.
14726
1d829c64
SM
147272013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14728
14729 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14730 to avoid misleading the user.
14731
72d548a9
LL
147322013-04-22 Leo Liu <sdl.web@gmail.com>
14733
14734 * info-look.el: Prefer latex2e.info. (Bug#14240)
14735
d0853629
MA
147362013-04-22 Michael Albinus <michael.albinus@gmx.de>
14737
14738 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14739
14740 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 14741 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
14742 (tramp-set-completion-function, tramp-parse-putty):
14743 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14744 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14745 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14746 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14747 (tramp-call-local-coding-command): Use `tramp-call-process'
14748 instead of `tramp-compat-call-process'.
14749
14750 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14751 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 14752 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 14753 (tramp-find-inline-compress): Improve traces.
d0853629
MA
14754 (tramp-maybe-send-script): Check for Perl binary.
14755 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14756
38cc0210
DU
147572013-04-22 Daiki Ueno <ueno@gnu.org>
14758
14759 * epg.el (epg-context-pinentry-mode): New function.
14760 (epg-context-set-pinentry-mode): New function.
14761 (epg--start): Pass --pinentry-mode option to gpg command.
14762
cc641ee1
XF
147632013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14764
02d844b5 14765 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 14766 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 14767 `completion-at-point'. (Bug#13774)
5d4e5c31 14768
cc641ee1
XF
14769 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14770 default key binding for `describe-distribution' has been moved to
14771 `C-h C-o'. (Bug#13970)
14772
1b42ee43
GM
147732013-04-21 Glenn Morris <rgm@gnu.org>
14774
14775 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14776 Add doc strings.
14777 (vc-print-log): Clarify interactive prompt.
14778
a6d63d97
GM
147792013-04-20 Glenn Morris <rgm@gnu.org>
14780
14781 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14782 No longer include timestamp etc information.
14783
d7f5c16f
RW
147842013-04-20 Roland Winkler <winkler@gnu.org>
14785
14786 * faces.el (read-face-name): Bug fix, return just one face if arg
14787 multiple is nil. (Bug#14209)
14788
bcd7a0a4
SM
147892013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14790
14791 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14792 (remove-function): Autoload.
14793
14794 * comint.el (comint-redirect-original-filter-function): Remove.
14795 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
14796 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14797 (vc-cvs-annotate-command):
bcd7a0a4
SM
14798 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14799 * progmodes/prolog.el (prolog-consult-compile):
14800 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14801 Use add/remove-function instead.
14802 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14803 (gud-tooltip-process-output, gud-tooltip-tips):
14804 Use add/remove-function instead.
14805 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14806 (scheme-interaction-mode, exit-scheme-interaction-mode):
14807 Use add/remove-function instead.
14808
14809 * vc/vc-dispatcher.el: Use lexical-binding.
14810 (vc--process-sentinel): Rename from vc-process-sentinel.
14811 Change last arg to be the code to run. Don't use vc-previous-sentinel
14812 and vc-sentinel-commands any more.
14813 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14814 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14815
e36b2d20 148162013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 14817
bcd7a0a4 14818 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 14819 Handle function names with a single character. (Bug#14111)
4d3268ba 14820
27821a89 148212013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
14822
14823 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14824 for subroutines defined in an eval (bug#14182).
14825
7d688336
TV
148262013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14827
14828 * bookmark.el (bookmark-completing-read): Improve handling of empty
14829 string (bug#14176).
14830
31dcede0
SM
148312013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14832
14833 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14834
adc31213
FEG
148352013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14836
14837 New faster Imenu implementation (bug#14058).
9b017563 14838 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
14839 (python-imenu-format-item-label-function)
14840 (python-imenu-format-parent-item-label-function)
14841 (python-imenu-format-parent-item-jump-label-function):
14842 New vars.
14843 (python-imenu-format-item-label)
14844 (python-imenu-format-parent-item-label)
14845 (python-imenu-format-parent-item-jump-label)
14846 (python-imenu--put-parent, python-imenu--build-tree)
14847 (python-imenu-create-index, python-imenu-create-flat-index)
14848 (python-util-popn): New functions.
14849 (python-mode): Set imenu-create-index-function to
14850 python-imenu-create-index.
14851
cdca8255
SM
148522013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14853
14854 * winner.el (winner-active-region): Use region-active-p, activate-mark
14855 and deactivate-mark (bug#14225).
14856
14857 * simple.el (deactivate-mark): Don't inline it.
14858
beb42340
MA
148592013-04-18 Michael Albinus <michael.albinus@gmx.de>
14860
14861 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14862
fc7f4d7e
TH
148632013-04-18 Tassilo Horn <tsdh@gnu.org>
14864
14865 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14866 file extensions from the archive-mode entry in order to prefer
14867 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14868
29f47822
LL
148692013-04-18 Leo Liu <sdl.web@gmail.com>
14870
14871 * bindings.el (help-event-list): Add ?\?.
14872
d36ed1c8
SM
148732013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14874
14875 * subr.el (with-wrapper-hook): Declare obsolete.
14876 * simple.el (filter-buffer-substring-function): New hook.
14877 (filter-buffer-substring): Use it.
14878 (filter-buffer-substring-functions): Mark obsolete.
14879 * minibuffer.el (completion-in-region-function): New hook.
14880 (completion-in-region): Use it.
14881 (completion-in-region-functions): Mark obsolete.
14882 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14883 * abbrev.el (abbrev-expand-function): New hook.
14884 (expand-abbrev): Use it.
14885 (abbrev-expand-functions): Mark obsolete.
14886 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14887 and :filter-return.
14888
04754d36
FEG
148892013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14890
14891 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14892 and do not care about match data.
14893
dd8791e9
SM
148942013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14895
14896 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14897 completion tables when completing error conditions and
14898 `declare' arguments.
14899 (lisp-complete-symbol, field-complete): Mark as obsolete.
14900 (check-parens): Unmatched parens are user errors.
14901 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14902
ffe54a13
AM
149032013-04-17 Michal Nazarewicz <mina86@mina86.com>
14904
dd8791e9
SM
14905 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14906 command changed buffer (ie. `flyspell-pre-buffer' is not current
14907 buffer), which prevents making decisions based on invalid value of
14908 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14909 cause an error when `flyspell-pre-point' was nil after switching
14910 buffers.
14911 (flyspell-post-command-hook): No longer needs to change buffers when
14912 checking pre-word. While at it remove unnecessary progn.
ffe54a13 14913
ec7e39f2
AM
149142013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14915
14916 * textmodes/ispell.el (ispell-add-per-file-word-list):
14917 Fix `flyspell-correct-word-before-point' error when accepting
14918 words and `coment-padding' is an integer by using
14919 `comment-normalize-vars' (Bug #14214).
14920
083850a6
FEG
149212013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14922
14923 New defun movement commands.
14924 * progmodes/python.el (python-nav--syntactically)
14925 (python-nav--forward-defun, python-nav-backward-defun)
14926 (python-nav-forward-defun): New functions.
14927
619ed6e1
FEG
149282013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14929
14930 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14931 (python-syntax-context): Use named compiler-macro for backwards
14932 compatibility with Emacs 24.x.
14933
7a1beb6c
LL
149342013-04-17 Leo Liu <sdl.web@gmail.com>
14935
14936 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14937 octave-hide-process-buffer.
14938
2d3fa3e5
SM
149392013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14940
14941 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14942 (bug#14216).
14943
7ce5be54
JPG
149442013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14945
14946 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14947 Fix adjustment of offset when receiving incomplete responses from GDB
14948 (bug#14129).
14949
351edece
SM
149502013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14951
14952 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14953 python-mode-abbrev-table.
14954 (python-skeleton-define): Adjust accordingly.
14955 (python-mode-abbrev-table): New table that inherits from it so that
14956 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14957
14958 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14959 (abbrev-symbol): Use it.
14960 (abbrev--before-point): Use it since we already handle inheritance.
14961
613f9481
LL
149622013-04-16 Leo Liu <sdl.web@gmail.com>
14963
14964 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14965 binding to info-lookup-symbol.
14966
51646b62
JB
149672013-04-16 Juanma Barranquero <lekktu@gmail.com>
14968
14969 * minibuffer.el (completion--twq-all):
14970 * term/ns-win.el (ns-initialize-window-system):
14971 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14972
efb3f01d
SM
149732013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14974
36c0a301
SM
14975 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14976 global bindings.
14977
efb3f01d
SM
14978 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14979
fb549d64
DG
149802013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14981
14982 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14983 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14984 to nil.
14985 (ruby-end-of-defun): Remove the unused arg, change the docstring
14986 to reflect that this function is only used as the value of
14987 `end-of-defun-function'.
14988 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14989 to reflect an earlier change that beginning/end-of-defun functions
14990 jump between methods in a class definition, as well as top-level
14991 functions.
14992
21e8fe2f
SM
149932013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14994
14995 * minibuffer.el (minibuffer-complete): Don't just scroll
14996 a *Completions* that's been iconified.
14997 (minibuffer-force-complete): Make sure repetitions do cycle when going
14998 through completion-in-region -> minibuffer-complete.
14999
20e527d0
AM
150002013-04-15 Alan Mackenzie <acm@muc.de>
15001
15002 Correct the placement of c-cpp-delimiters when there're #s not at
15003 col 0.
15004
15005 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15006 place a submatch around the #.
21e8fe2f
SM
15007 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15008 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
15009 on the #, not BOL.
15010
dabefae5
SM
150112013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15012
15013 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15014 (advice--member-p): New arg `name'.
15015 (advice--add-function, advice-member-p): Use it (bug#14202).
15016
85c9ab64
AM
150172013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15018
15019 Reformulate java imenu-generic-expression.
15020 The old expression contained ill formed regexps.
15021
15022 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15023 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15024 (cc-imenu-java-method-arg-regexp): New defconsts.
15025 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 15026 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
15027 handling of spaces in the regexp.
15028
0f821d99
AM
150292013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15030
15031 * textmodes/ispell.el (ispell-command-loop): Remove
15032 flyspell highlight of a word when ispell accepts it (bug #14178).
15033
eb922adf
MA
150342013-04-15 Michael Albinus <michael.albinus@gmx.de>
15035
15036 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15037 uses code from the previous `ange-ftp-run-real-handler'.
15038 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15039 only in case that function exist. This is needed for proper
15040 unloading of Tramp.
15041
4d9a0979
TH
150422013-04-15 Tassilo Horn <tsdh@gnu.org>
15043
15044 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15045
15046 * textmodes/reftex.el (reftex-compile-variables): Use it.
15047
a829b0dc
SM
150482013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15049
91e8293c
SM
15050 * files.el (normal-mode): Only use default major-mode if no other mode
15051 was specified.
15052
830aed4d
SM
15053 * emacs-lisp/trace.el (trace-values): New function.
15054
a829b0dc
SM
15055 * files.el: Allow : in local variables (bug#14089).
15056 (hack-local-variable-regexp): New var.
15057 (hack-local-variables-prop-line, hack-local-variables): Use it.
15058
7ae9f0fb
RW
150592013-04-13 Roland Winkler <winkler@gnu.org>
15060
15061 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15062 data before it gets modified by bibtex-beginning-of-entry.
15063
6646e848
RW
150642013-04-13 Roland Winkler <winkler@gnu.org>
15065
15066 * textmodes/bibtex.el (bibtex-url): Doc fix.
15067
150682013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
15069
15070 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15071 does not visit a BibTeX file, exclude it from the list of buffers
15072 returned by bibtex-initialize.
15073
0aa3616e
SB
150742013-04-13 Stephen Berman <stephen.berman@gmx.net>
15075
15076 * window.el (split-window): Remove interactive form, since as a
15077 command this function is a special case of split-window-below.
15078 Correct doc string.
15079
011cddd6
RW
150802013-04-12 Roland Winkler <winkler@gnu.org>
15081
15082 * faces.el (read-face-name): Do not override value of arg default.
15083 Allow single faces and strings as default values. Remove those
15084 elements from return value that are not faces.
15085 (describe-face): Simplify.
15086 (face-at-point): New optional args thing and multiple so that this
15087 function can provide the same functionality previously provided by
15088 read-face-name.
15089 (make-face-bold, make-face-unbold, make-face-italic)
15090 (make-face-unitalic, make-face-bold-italic, invert-face)
15091 (modify-face, read-face-and-attribute): Use face-at-point.
15092
15093 * cus-edit.el (customize-face, customize-face-other-window)
15094 * cus-theme.el (custom-theme-add-face)
15095 * face-remap.el (buffer-face-set)
15096 * facemenu.el (facemenu-set-face): Use face-at-point.
15097
f24e0036
MA
150982013-04-12 Michael Albinus <michael.albinus@gmx.de>
15099
15100 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15101
da3cda2d
TH
151022013-04-10 Tassilo Horn <tsdh@gnu.org>
15103
15104 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15105 off leading { and trailing } from field values.
15106
15e54145
SM
151072013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15108
78ce603d
SM
15109 * emacs-lisp/timer.el (timer--check): New function.
15110 (timer--time, timer-set-function, timer-event-handler): Use it.
15111 (timer-set-idle-time): Simplify.
15112 (timer--activate): CSE.
15113 (timer-event-handler): Give more info in error message.
15114 (internal-timer-start-idle): New function, moved from C.
15115
15e54145
SM
15116 * mpc.el (mpc-proc): Add `restart' argument.
15117 (mpc-proc-cmd): Use it.
15118 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15119 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15120 less often.
15121
7144c627
MY
151222013-04-10 Masatake YAMATO <yamato@redhat.com>
15123
15124 * progmodes/sh-script.el: Implement `sh-mode' own
15125 `add-log-current-defun-function' (bug#14112).
15126 (sh-current-defun-name): New function.
15127 (sh-mode): Use the function.
15128
b39792eb
BG
151292013-04-09 Bastien Guerry <bzg@gnu.org>
15130
15131 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15132
8acdeb71
SM
151332013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15134
6fcdab68
SM
15135 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15136
8acdeb71
SM
15137 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15138 timer (bug#14156).
15139
e3e7b504
NF
151402013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15141
15142 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15143 declaration.
15144
201bb296
LL
151452013-04-07 Leo Liu <sdl.web@gmail.com>
15146
15147 * pcmpl-x.el: New file.
15148
ebb19708
DA
151492013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15150
15151 Do not set x-display-name until X connection is established.
15152 This is needed to prevent from weird situation described at
15153 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15154 * frame.el (make-frame): Set x-display-name after call to
15155 window system initialization function, not before.
15156 * term/x-win.el (x-initialize-window-system): Add optional
15157 display argument and use it.
15158 * term/w32-win.el (w32-initialize-window-system):
15159 * term/ns-win.el (ns-initialize-window-system):
15160 * term/pc-win.el (msdos-initialize-window-system):
15161 Add compatible optional display argument.
15162
33bb237a
EZ
151632013-04-06 Eli Zaretskii <eliz@gnu.org>
15164
15165 * files.el (normal-backup-enable-predicate): On MS-Windows and
15166 MS-DOS compare truenames of temporary-file-directory and of the
15167 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15168 don't fail comparison by compare-strings. Also, compare file
15169 names case-insensitively on MS-Windows and MS-DOS.
15170
134abf1f
SM
151712013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15172
15173 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15174 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15175
d695cb94
DG
151762013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15177
e3e7b504
NF
15178 * whitespace.el (whitespace-color-on, whitespace-color-off):
15179 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 15180
f4ad7ea1 151812013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
15182
15183 * ispell.el (ispell-set-spellchecker-params):
15184 Really set `ispell-args' for all equivs.
15185
632556e4
SM
151862013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * ido.el (ido-completions): Use extra elements of ido-decorations
15189 (bug#14143).
15190 (ido-decorations): Update docstring.
15191
2a417372
MA
151922013-04-05 Michael Albinus <michael.albinus@gmx.de>
15193
15194 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15195 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15196 nil during initialization, in order not to miss changes since the
15197 file was opened. (Bug#14140)
15198
fc164b0c
LL
151992013-04-05 Leo Liu <sdl.web@gmail.com>
15200
15201 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15202
0ccecc08
JB
152032013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15204
15205 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15206
51af1aa2
GM
152072013-04-04 Glenn Morris <rgm@gnu.org>
15208
15209 * electric.el (electric-pair-inhibit-predicate): Add :version.
15210
b208ebc6
SM
152112013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15212
15213 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15214 when a package is required several times (bug#14082).
15215
f3d3eaf0
RW
152162013-04-04 Roland Winkler <winkler@gnu.org>
15217
15218 * faces.el (read-face-name): Behave as promised by the docstring.
15219 Assume that arg default is a list of faces.
15220 (describe-face): Call read-face-name with list of default faces.
15221
2575da50
TV
152222013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15223
15224 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15225 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15226 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15227 the header.
15228 (bookmark-exit-hook-internal): Save even if list is empty.
15229
397703b4
YH
152302013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15231
15232 * emacs-lisp/package.el (package-pinned-packages): New var.
15233 (package--add-to-archive-contents): Obey it (bug#14118).
15234
691e26ae
AM
152352013-04-03 Alan Mackenzie <acm@muc.de>
15236
8a621d53
JB
15237 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15238 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
15239
15240 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15241 parameter `not-in-delimiter'. Handle being inside comment opener.
15242 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15243 character in case we're typing a '*' after a '/'.
15244 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15245 instead by passing the parameter to c-state-pp-to-literal.
15246
15247 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15248 for elt. 7 of a parse state.
15249
4b725a70
PE
152502013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15251
15252 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15253 * international/latin1-disp.el, international/mule-util.el:
15254 * language/cyril-util.el, language/european.el, language/ind-util.el:
15255 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15256 * language/tibetan.el, language/viet-util.el:
15257 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15258
15c579f0
SM
152592013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15260
15261 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15262 (electric-pair-post-self-insert-function): Use it.
15263 (electric-pair-default-inhibit): New function, extracted from
15264 electric-pair-post-self-insert-function.
15265
a77e2924
RW
152662013-03-31 Roland Winkler <winkler@gnu.org>
15267
15268 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15269
2bd8a4a8
SM
152702013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15271
15272 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15273
8d3655be 152742013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
15275
15276 Un-indent after "pass" and "return" statements (Bug#13888)
15277 * progmodes/python.el (python-indent-block-enders): New var.
15278 (python-indent-calculate-indentation): Use it.
15279
8d3655be 152802013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
15281
15282 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15283 defun. Defining it as defalias could introduce too eager
15284 byte-compiler optimization. (Bug#14030)
15285
8d3655be 152862013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
15287
15288 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15289
0b1619da
LL
152902013-03-30 Leo Liu <sdl.web@gmail.com>
15291
15292 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15293 (kmacro-execute-from-register): Pass the keyboard macro to
15294 kmacro-call-macro or repeating won't work correctly.
15295
0b938190
TZ
152962013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15297
15298 * progmodes/subword.el: Back to using `forward-symbol'.
15299
15300 * subr.el (forward-whitespace, forward-symbol)
15301 (forward-same-syntax): Move from thingatpt.el.
15302
35710234
LL
153032013-03-29 Leo Liu <sdl.web@gmail.com>
15304
15305 * kmacro.el (kmacro-to-register): New command.
15306 (kmacro-execute-from-register): New function.
15307 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15308
efc0bb73
SM
153092013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15310
15311 * mpc.el: Use defvar-local and setq-local.
15312 (mpc--proc-connect): Connection failures are not bugs.
15313 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15314 (mpc-volume-map): Bind to the up-events.
15315
75a2f981
TZ
153162013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15317
15318 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15319 instead of `forward-symbol'.
15320
17c781d1
SM
153212013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15322
15323 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15324 (edebug--recursive-edit): Use it.
15325 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15326 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15327
f67bfbcf
LL
153282013-03-28 Leo Liu <sdl.web@gmail.com>
15329
15330 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15331
b59f639d
EZ
153322013-03-27 Eli Zaretskii <eliz@gnu.org>
15333
15334 * facemenu.el (list-colors-callback): New defvar.
15335 (list-colors-redisplay): New function.
15336 (list-colors-display): Install list-colors-redisplay as the
15337 revert-buffer-function. (Bug#14063)
15338
f557c1b1
SM
153392013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15340
b1da2957
SM
15341 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15342 and suffixes don't overlap (bug#14061).
15343
f557c1b1
SM
15344 * case-table.el: Use lexical-binding.
15345 (case-table-get-table): New function.
15346 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15347
002668e1
TZ
153482013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15349
15350 * progmodes/subword.el: Add `superword-mode' to do word motion
15351 over symbol_words (parallels and leverages `subword-mode' which
15352 does word motion inside MixedCaseWords).
15353
73572c72
AG
153542013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15355
78b8f320 15356 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15357 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15358
69b2c07e
SM
153592013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15360
15361 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15362 Change return value to be a sexp. Delay `get-buffer' to after
15363 restoring the desktop (bug#13951).
15364
08bb5ee2
LL
153652013-03-26 Leo Liu <sdl.web@gmail.com>
15366
15367 * register.el: Move semantic tag handling back to
15368 cedet/semantic/senator.el. (Bug#14052)
15369
8d4c974e
SM
153702013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15371
15372 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15373 into the prompt either (bug#13963).
15374
b234d92c
SM
153752013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15376
15377 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15378 part of "(error-foo)".
15379
ddfa3cb4
JL
153802013-03-24 Juri Linkov <juri@jurta.org>
15381
15382 * replace.el (list-matching-lines-prefix-face): New defcustom.
15383 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15384 `occur-engine' if `face-differs-from-default-p' returns t.
15385 (occur-engine): Add `,' inside backquote construct to evaluate
15386 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15387 Pass `prefix-face' to the functions `occur-context-lines' and
15388 `occur-engine-add-prefix'.
15389 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15390 `prefix-face' and propertize the prefix with `prefix-face'.
15391 (Bug#14017)
15392
7b0e2f85
LL
153932013-03-24 Leo Liu <sdl.web@gmail.com>
15394
15395 * nxml/rng-valid.el (rng-validate-while-idle)
15396 (rng-validate-quick-while-idle): Guard against deleted buffer.
15397 (Bug#13999)
15398
15399 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15400 is the last entry in kill-buffer-hook.
15401
15402 * files.el (kill-buffer-hook): Doc fix.
15403
b3082f49
DG
154042013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15405
b234d92c
SM
15406 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15407 Make it safe-local.
bde73d27 15408
b3082f49
DG
15409 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15410
a320a2db
LL
154112013-03-23 Leo Liu <sdl.web@gmail.com>
15412
7e74b0fb
LL
15413 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15414 Remove.
15415
15416 * nxml/rng-valid.el (rng-validate-mode)
15417 (rng-after-change-function, rng-do-some-validation):
15418 * nxml/rng-maint.el (rng-validate-buffer):
15419 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15420 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15421 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15422 (nxml-extend-after-change-region): Use with-silent-modifications.
15423
a320a2db
LL
15424 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15425 timer-idle-list.
15426
15427 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15428 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15429 timer-idle-list. (Bug#13999)
15430
e38e6780
JL
154312013-03-23 Juri Linkov <juri@jurta.org>
15432
15433 * info.el (info-index-match): New face.
15434 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15435 main pattern and add text properties with the new face to matches
15436 in index entries relative to the beginning of the index entry.
15437 (Bug#14015)
15438
e8cc7880
DE
154392013-03-21 Eric Ludlam <zappo@gnu.org>
15440
39c87140 15441 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
15442 Inhibit read only while inserting objects.
15443
9bb0d822
TZ
154442013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15445
15446 * progmodes/cfengine.el: Update docs to mention
15447 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15448 symbol motion. Remove "_" from the word syntax.
15449
aa703640
TZ
154502013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15451
15452 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15453 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15454
afff09d0
JL
154552013-03-20 Juri Linkov <juri@jurta.org>
15456
15457 * info.el (Info-next-reference-or-link)
15458 (Info-prev-reference-or-link): New functions.
15459 (Info-next-reference, Info-prev-reference): Use them.
15460 (Info-try-follow-nearest-node): Handle footnote navigation.
15461 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15462
9a1ff164
SM
154632013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15464
15465 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15466 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15467
2667d15d
PE
154682013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15469
15470 Suppress unnecessary non-ASCII chatter during build process.
15471 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15472 (batch-skkdic-convert): Suppress most of the chatter.
15473 It's not needed so much now that machines are faster,
15474 and its non-ASCII component was confusing; see Dmitry Gutov in
15475 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15476
438b0579
LL
154772013-03-20 Leo Liu <sdl.web@gmail.com>
15478
15479 * ido.el (ido-chop): Fix bug#10994.
15480
c128ab07
DG
154812013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15482
15483 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15484 Remove vars.
9a1ff164
SM
15485 (whitespace-color-on, whitespace-color-off):
15486 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 15487
0e6008c5
SM
154882013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15489
15490 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15491 remapping in mode-line.
15492 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15493
627b52b0
DG
154942013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15495
15496 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15497 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
15498 (whitespace-font-lock-keywords): Change description.
15499 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15500 the constructed keywords instead.
15501 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 15502
50c3a20b
LL
155032013-03-19 Leo Liu <sdl.web@gmail.com>
15504
15505 * progmodes/compile.el (compilation-display-error): New command.
15506 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15507 C-o. (Bug#13992)
15508
2aa2157b
PE
155092013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15510
15511 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15512
e477dbfa
JD
155132013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15514
15515 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15516
64ab82d1
MA
155172013-03-18 Michael Albinus <michael.albinus@gmx.de>
15518
15519 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15520
15521 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15522 * net/tramp-gvfs.el (top):
15523 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15524 (tramp-handle-shell-command): Use it.
15525 (tramp-dissect-file-name): Raise an error when hostname is a
15526 method name, and neither method nor user is specified.
15527
15528 * net/trampver.el: Update release number.
15529
33cef733
LL
155302013-03-18 Leo Liu <sdl.web@gmail.com>
15531
15532 Make sure eldoc can be turned off properly.
15533 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15534 eldoc-mode.
15535 (eldoc-display-message-p): Revert last change.
15536 (eldoc-display-message-no-interference-p)
15537 (eldoc-print-current-symbol-info): Tweak.
15538
2167b7b2
TH
155392013-03-18 Tassilo Horn <tsdh@gnu.org>
15540
15541 * doc-view.el (doc-view-new-window-function): Check the new window
15542 overlay's display property instead the char property of the
15543 buffer's first char. Use `with-selected-window' instead of
15544 `save-window-excursion' with `select-window'.
15545 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 15546 display property instead the char property of the buffer's first char.
2167b7b2 15547
982efbcd
PE
155482013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15549
15550 Automate the build of ja-dic.el (Bug#13984).
15551 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15552 from the input, rather than assume that it's been done for us by the
15553 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15554 the current date into a ja-dic.el comment, as that complicates
15555 regression testing.
15556
2fcc7665
SM
155572013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15558
15559 * whitespace.el: Fix double evaluation.
15560 (whitespace-space, whitespace-hspace, whitespace-tab)
15561 (whitespace-newline, whitespace-trailing, whitespace-line)
15562 (whitespace-space-before-tab, whitespace-indentation)
15563 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15564 obsolete defvars.
15565 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15566 (whitespace-color-on): Use a single font-lock-add-keywords call.
15567 Fix double-evaluation of face variables.
15568
67c0a6e6
MA
155692013-03-17 Michael Albinus <michael.albinus@gmx.de>
15570
2fcc7665
SM
15571 * net/tramp-adb.el (tramp-adb-parse-device-names):
15572 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 15573 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 15574
69489f1d
LL
155752013-03-17 Leo Liu <sdl.web@gmail.com>
15576
15577 Extend eldoc to display info in the mode-line. (Bug#13978)
15578 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15579 (eldoc-mode-line-string): New variable.
15580 (eldoc-minibuffer-message): New function.
15581 (eldoc-message-function): New variable.
15582 (eldoc-message): Use it.
15583 (eldoc-display-message-p)
2fcc7665
SM
15584 (eldoc-display-message-no-interference-p):
15585 Support eldoc-post-insert-mode.
69489f1d
LL
15586
15587 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15588 (eval-expression): Run it.
15589
9c44569e
RW
155902013-03-17 Roland Winkler <winkler@gnu.org>
15591
15592 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15593 strings in the list of return values.
15594
327f1f6f
JB
155952013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15596
15597 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15598 radix before checking for HMS forms.
15599
67ed8fcd
LL
156002013-03-16 Leo Liu <sdl.web@gmail.com>
15601
15602 * progmodes/scheme.el: Add indentation and font-locking for λ.
15603 (Bug#13975)
15604
78be8b64 156052013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15606
15607 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15608 token before point (bug#13942).
15609
78be8b64 156102013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15611
95b43468 15612 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15613
98e775e6
EZ
156142013-03-16 Eli Zaretskii <eliz@gnu.org>
15615
15616 * startup.el (command-line-normalize-file-name): Fix handling of
15617 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15618 <xfq.free@gmail.com> in
15619 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15620
2edd6029
MA
156212013-03-15 Michael Albinus <michael.albinus@gmx.de>
15622
15623 Sync with Tramp 2.2.7.
15624
15625 * net/trampver.el: Update release number.
15626
d35f5864
TH
156272013-03-14 Tassilo Horn <tsdh@gnu.org>
15628
e903c210 15629 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
15630 (doc-view-insert-image): Don't modify overlay associated to
15631 non-live windows, and implement horizontal centering of image in
15632 case it's smaller than the window.
15633 (doc-view-new-window-function): Force redisplay of new windows on
15634 doc-view buffers.
d35f5864 15635
1c4a85ed
KF
156362013-03-13 Karl Fogel <kfogel@red-bean.com>
15637
15638 * saveplace.el (save-place-alist-to-file): Don't sort
15639 `save-place-alist', just pretty-print it (bug#13882).
15640
85b66a21
MA
156412013-03-13 Michael Albinus <michael.albinus@gmx.de>
15642
a020afb9
JB
15643 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15644 Check whether `default-file-name-coding-system' is bound.
15645 It isn't in XEmacs.
85b66a21 15646
175600da
SM
156472013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15648
e7f7cb1a
SM
15649 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15650 backquotes for `obsolete' (bug#13929).
15651
175600da
SM
15652 * international/mule.el (find-auto-coding): Include file name in
15653 obsolescence warning (bug#13922).
15654
ca68a22e
TZ
156552013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15656
15657 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15658 for CFEngine 3-specific indentation.
15659 (cfengine3-indent-line): Use it. Fix up category regex.
15660 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15661
940e5099
SM
156622013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15663
15664 * type-break.el (type-break-file-name):
15665 * textmodes/remember.el (remember-data-file):
15666 * strokes.el (strokes-file):
15667 * shadowfile.el (shadow-initialize):
15668 * saveplace.el (save-place-file):
15669 * ps-bdf.el (bdf-cache-file):
15670 * progmodes/idlwave.el (idlwave-config-directory):
15671 * net/quickurl.el (quickurl-url-file):
15672 * international/kkc.el (kkc-init-file-name):
15673 * ido.el (ido-save-directory-list-file):
15674 * emulation/viper.el (viper-custom-file-name):
15675 * emulation/vip.el (vip-startup-file):
15676 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15677 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15678
cc725808
PE
156792013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15680
15681 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15682 * language/thai-word.el: Switch to UTF-8.
15683
a020afb9 15684See ChangeLog.16 for earlier changes.
e3d51b27
MR
15685
15686;; Local Variables:
15687;; coding: utf-8
e3d51b27
MR
15688;; End:
15689
ba318903 15690 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
15691
15692 This file is part of GNU Emacs.
15693
15694 GNU Emacs is free software: you can redistribute it and/or modify
15695 it under the terms of the GNU General Public License as published by
15696 the Free Software Foundation, either version 3 of the License, or
15697 (at your option) any later version.
15698
15699 GNU Emacs is distributed in the hope that it will be useful,
15700 but WITHOUT ANY WARRANTY; without even the implied warranty of
15701 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15702 GNU General Public License for more details.
15703
15704 You should have received a copy of the GNU General Public License
15705 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.