Add new hook to augment help buffers.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
abb82152
DE
12014-01-07 David Engster <deng@randomsample.de>
2
3 * help-fns.el (help-fns-describe-function-functions): New
4 variable to call functions for augmenting help buffers.
5 (describe-function-1): Remove explicit calls to
6 `help-fns--compiler-macro', `help-fns--parent-mode' and
7 `help-fns--obsolete'. Put them in above new variable instead.
8 Call all of them through `run-hook-with-args'.
9
7e1899d7
MR
102014-01-07 Martin Rudalics <rudalics@gmx.at>
11
12 * window.el (balance-windows-2): While rounding don't give a
13 window more than the remainder. Bug#16351, Bug#16383.
14
0030ec15
GM
152014-01-07 Glenn Morris <rgm@gnu.org>
16
17 * menu-bar.el (menu-bar-help-extra-packages): Remove.
18 (menu-bar-help-menu): Use view-external-packages instead.
19
2b6b4f20
BG
202014-01-07 Bastien Guerry <bzg@gnu.org>
21
22 * emacs-lisp/package.el (package-delete): Also delete the package
23 name from `package-alist', not its description only.
24
e9be0a13
GM
252014-01-07 Glenn Morris <rgm@gnu.org>
26
27 * help.el (view-external-packages):
28 * menu-bar.el (menu-bar-help-extra-packages):
29 Visit efaq.info rather than etc/MORE.STUFF.
30
e4f74da9
JL
312014-01-07 Juri Linkov <juri@jurta.org>
32
33 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
34 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
35
36 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
37 that shadows RET. (Bug#16342)
38
de7ce2d1
CY
392014-01-07 Chong Yidong <cyd@gnu.org>
40
41 * isearch.el (isearch-yank-char, isearch-yank-word)
42 (isearch-yank-line): Doc fix.
43
6bdd9204
SM
442014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
47 * emacs-lisp/elint.el (elint-find-builtins):
48 * emacs-lisp/eldoc.el (eldoc-symbol-function):
49 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
50 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
51 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
52 * apropos.el (apropos-safe-documentation):
53 * subr.el (symbol-file): Remove redundant fboundp.
54 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
55
daccca97
BG
562014-01-06 Bastien Guerry <bzg@gnu.org>
57
58 * hl-line.el (global-hl-line-overlay): Make a local variable.
59 (global-hl-line-overlays): New variable to store all overlays.
60 (global-hl-line-mode): Don't delete overlays from the current
61 buffer when `global-hl-line-sticky-flag' is non-nil.
62 (global-hl-line-highlight): Add new overlays to
63 `global-hl-line-overlays'.
64 (global-hl-line-unhighlight-all): New function to delete all
65 overlays when turning off `global-hl-line-mode'.
66 This fixes Bug#16183.
67
ec00f20f
SM
682014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * subr.el (set-transient-map): Fix nested case and docstring.
71
a0031f97
TH
722014-01-06 Tassilo Horn <tsdh@gnu.org>
73
74 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
75 `Texinfo' entry.
76
bf6a77f3
DC
772014-01-06 Daniel Colascione <dancol@dancol.org>
78
79 Fix defun navigation in vc log view.
80
81 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
82 like `beginning-of-defun'.
83 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
84 log-view-end-of-defun to log-view-end-of-defun-1. Replace
85 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 86 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 87 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 88
d5081c1e
PE
892014-01-06 Paul Eggert <eggert@cs.ucla.edu>
90
91 Spelling fixes.
92 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
93 * emacs-lisp/debug.el (cancel-debug-on-entry):
94 * epg.el (epg-error-to-string):
95 * files.el (recover-file):
96 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
97 * mail/emacsbug.el (report-emacs-bug-hook):
98 * mail/sendmail.el (mail-recover):
99 * ses.el (ses-yank-resize):
100 * term/ns-win.el (ns-print-buffer):
101 Spelling fixes in diagnostics, mostly for "canceled" with one L.
102 * epg.el (epg-key-capability-alist): Rename from misspelled version.
103 All uses changed.
104 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
105
53f6b148
LL
1062014-01-06 Leo Liu <sdl.web@gmail.com>
107
108 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
109 to avoid shadowning global key. (Bug#16354)
110
b82ace2f
DC
1112014-01-06 Daniel Colascione <dancol@dancol.org>
112
113 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
114 rst-mode.
115
3669b636
MR
1162014-01-05 Martin Rudalics <rudalics@gmx.at>
117
118 * window.el (balance-windows): Add mising t to fix Bug#16351.
119
1a29adc2
LMI
1202014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
121
122 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
123 (bug#16285).
3d95a0f4
LMI
124 (shr-insert): If we have a word that's longer than `shr-width',
125 break after it anyway. Otherwise we'll do no breaking once we get
126 such a long word.
1a29adc2 127
f4018140
KN
1282014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
129
189340f5
KN
130 * net/eww.el (eww): Support single/double quote for search.
131 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
132 (eww-history-quit): Delete and use quit-window.
133 (eww-history-kill): Delete, because it doesn't work well and
134 not necessary.
135 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 136
4e619754
PE
1372014-01-05 Paul Eggert <eggert@cs.ucla.edu>
138
73dbf960
PE
139 Fix misspelling of 'chinese' in rx (Bug#16237).
140 * emacs-lisp/rx.el (rx-categories): Correct spelling of
141 chinese-two-byte.
142
4e619754
PE
143 Change subword regexps back to vars (Bug#16296).
144 * progmodes/subword.el (subword-forward-regexp)
145 (subword-backward-regexp): Change these back to variables.
146
e18b70fc
SM
1472014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
150 syntax-begin-function (bug#16247).
151
0d53f628
CY
1522014-01-03 Chong Yidong <cyd@gnu.org>
153
154 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
155 (advice--docstring): Delete variable.
156 (advice--make-1): Leave the docstring empty.
157 (advice-add): Use function-documentation for advised docstring.
158
159 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
160 Ignore function-documentation property when getting documentation.
161 (ad-activate-advised-definition): Use function-documentation
162 generate the docstring.
163 (ad-make-advised-definition): Don't call
164 ad-make-advised-definition-docstring.
165 (ad-make-advised-definition-docstring, ad-advised-definition-p):
166 Delete functions.
167
168 * progmodes/sql.el (sql-help): Use function-documentation instead
169 of dynamic-docstring-function property. No need to autoload now.
170 (sql--help-docstring): New variable.
171 (sql--make-help-docstring): Use it.
172
6f547583
SM
1732014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
174
6ef9aed8
SM
175 * ielm.el (ielm-tab): Retarget.
176 (ielm-map): Use ielm-tab for tab.
177 (ielm-complete-filename): Use comint-filename-completion.
178 (ielm-complete-symbol): Remove.
179 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
180 remove ielm-tab from completion-at-point-functions (bug#16224).
181
6f547583
SM
182 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
183 Beware signals raised by predicates (bug#16201).
184
a574edbe
RS
1852014-01-02 Richard Stallman <rms@gnu.org>
186
e831604d
RS
187 * dired-aux.el (dired-do-print): Handle printer-name.
188
6f547583
SM
189 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
190 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
191 (rmail-epa-decrypt): Turn off mime processing.
192
193 * mail/rmail.el (rmail-make-in-reply-to-field):
194 Add parens in message-id.
195
196 * mail/rmail.el (rmail-get-coding-function): Variable.
197 (rmail-get-coding-system): Use it.
198
04311a16
KH
1992013-12-31 Eli Zaretskii <eliz@gnu.org>
200
201 * international/mule-conf.el: Unify the charset indian-is13194.
202 (indian-is13194): Specify unify-map.
203
c8d89778
LL
2042013-12-31 Leo Liu <sdl.web@gmail.com>
205
206 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
207
e63ace37
DC
2082013-12-30 Daniel Colascione <dancol@dancol.org>
209
9e0bf19a
DC
210 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
211 of printing a useless when we resume from sleep.
212
e63ace37
DC
213 * progmodes/sh-script.el
214 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
215 in indentation code. (Bug#16233)
216
e9d6c46a
JT
2172013-12-28 João Távora <joaotavora@gmail.com>
218
6f547583
SM
219 * elec-pair.el (electric-pair-post-self-insert-function):
220 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 221
bf7bea5d
EZ
2222013-12-28 Eli Zaretskii <eliz@gnu.org>
223
224 * frame.el (window-system-for-display): Don't allow to create a
225 GUI frame from a -nw session on MS-Windows. (Bug#14739)
226
8449dd1f
GM
2272013-12-28 Glenn Morris <rgm@gnu.org>
228
9c5a5c77
GM
229 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
230 Update callers.
231
232 * apropos.el (apropos-match-face):
233 * calculator.el (calculator-displayer):
234 * dabbrev.el (dabbrev-search-these-buffers-only):
235 * face-remap.el (buffer-face-mode-face):
236 * simple.el (yank-handled-properties):
237 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
238 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
239 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
240 (hashcash-double-spend-database):
241 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
242 (ruby-deep-indent-paren-style):
243 * textmodes/flyspell.el (flyspell-auto-correct-binding):
244 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
245 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
246 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
247 Specify custom types.
248
bb098075
GM
249 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
250 * bookmark.el (bookmark-bmenu-use-header-line):
251 * doc-view.el (doc-view-scale-internally):
252 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
253 * register.el (register-preview-delay):
254 * net/shr.el (shr-bullet):
255 * progmodes/cfengine.el (cfengine-cf-promises)
256 (cfengine-parameters-indent):
257 * progmodes/octave.el (inferior-octave-error-regexp-alist):
258 * textmodes/reftex-vars.el (reftex-label-regexps):
259 * vc/log-edit.el (log-edit-setup-add-author): Add version.
260
9c61f806
GM
261 * net/tls.el (tls-certtool-program): Fix default value.
262
263 * desktop.el (desktop-restore-in-current-display):
264 * newcomment.el (comment-empty-lines):
265 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
266 (idlwave-pad-keyword):
267 * progmodes/tcl.el (tcl-tab-always-indent):
268 * textmodes/reftex-vars.el (reftex-index-default-tag):
269 * elec-pair.el (electric-pair-skip-whitespace):
270 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
271
8449dd1f
GM
272 * emacs-lisp/authors.el (authors-ignored-files)
273 (authors-valid-file-names, authors-renamed-files-alist): Additions.
274
fdadeb49
JC
2752013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
276
72140a0f
GM
277 * shell.el (shell-dynamic-complete-command): Doc fix.
278 (shell--command-completion-data): Shell completion now matches
279 executable filenames from the current buffer's directory, on
da5ecfa9 280 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 281
e572a7d8
LI
2822013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
283
284 * net/shr.el (shr-insert): Don't infloop if the width is zero.
285
7514d3f8
SM
2862013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
287
a4151f3b
SM
288 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
289 (bug#16251).
290
7514d3f8
SM
291 * electric.el: Move all electric-pair-* to elec-pair.el.
292 * elec-pair.el: New file, split from electric.el.
293
ac5758d1
LI
2942013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
295
296 * net/shr.el (shr-find-fill-point): Don't try to fill if the
297 indentation level is larger than the width, because that will
298 infloop.
299 (shr-insert): Fill repeatedly long texts, so that Japanese is
300 formatted correctly (bug#16263).
24a6b65e
LI
301 (shr-find-fill-point): Off by one error in comparison with the
302 indentation.
ac5758d1 303
7514d3f8 3042013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
305
306 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 307 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
308 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
309 if that keeps or improves their balance in buffers.
310 (electric-pair-delete-adjacent-pairs): Delete the pair when
311 backspacing over adjacent matched delimiters.
312 (electric-pair-open-extra-newline): Open extra newline when
313 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
314 (electric--sort-post-self-insertion-hook):
315 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
316 minor-modes are activated.
317 * simple.el (newline-and-indent): Call newline with interactive
318 set to t.
319 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
320 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
321 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
322 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
323 electric-pair-open-newline-between-pairs to nil.
324
fbcc63a3
FEG
3252013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
326
327 * progmodes/python.el: Use lexical-binding.
328 (python-nav-beginning-of-defun): Stop searching ASAP.
329
ed78d16c
XF
3302013-12-25 Xue Fuqiao <xfq.free@gmail.com>
331
332 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
333 Fix interactive spec. Doc fix. (Bug#15754)
334
38b2c142
KY
3352013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
336
337 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 338 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
339 Fix edebug spec (bug#16184).
340
3c856c14
LI
3412013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
342
83fa295c 343 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
344 (shr-insert): Don't infloop if we can't find a good place to break
345 the line (bug#16256).
3c856c14 346
01379221
FEG
3472013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
348
349 * progmodes/python.el:
350 (python-nav--lisp-forward-sexp): New function.
351 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
352 python-nav-lisp-forward-sexp-safe.
353 (python-nav--forward-sexp): New argument SAFE allows switching
354 forward sexp movement behavior for parens.
355 (python-nav-forward-sexp): Throw errors on unterminated parens
356 (Bug#16191).
357 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
358 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
359 (python-shell-buffer-substring):
360 Use `python-nav-forward-sexp-safe'.
01379221 361
99e4926f
LI
3622013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
363
364 * net/shr.el (shr-find-fill-point): Don't break lines before a
365 quotation mark.
c6c20584
LI
366 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
367 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 368 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 369
fec0e828
KN
3702013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
371
372 * net/eww.el (eww-form-textarea): Use a different face for
373 textareas than text input since they have different keymaps
374 (bug#16142).
375
89c868ad
FEG
3762013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
377
7514d3f8
SM
378 * progmodes/python.el (python-nav-beginning-of-statement):
379 Speed up (Bug#15295).
89c868ad 380
eeef121a
LI
3812013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
382
383 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
384 the window configuration.
385
121ea65f
EZ
3862013-12-24 Eli Zaretskii <eliz@gnu.org>
387
388 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
389 we run on MS-Windows or MS-DOS.
390
18cee9ec
MR
3912013-12-24 Martin Rudalics <rudalics@gmx.at>
392
393 * window.el (balance-windows-area): Call window-size instead of
394 window-height and window-width. Bug#16241.
395
58f2b9a5
LI
3962013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
397
398 * net/eww.el (eww-bookmark-quit): Remove.
399 (eww-bookmark-browse): Restore the window configuration when you
400 choose a bookmark (bug#16144).
401
d64b6308
DC
4022013-12-24 Daniel Colascione <dancol@dancol.org>
403
404 * icomplete.el: Remove redundant :group arguments to `defcustom'
405 throughout.
406 (icomplete-show-matches-on-no-input): New customizable variable.
407 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
408 we have something to show.
7514d3f8 409 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 410
0da54898
DC
4112013-12-23 Daniel Colascione <dancol@dancol.org>
412
413 * icomplete.el: Move `provide' to end of file.
414
b90aa4f4
TZ
4152013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
416
417 * net/gnutls.el (gnutls-verify-error): Add version tag.
418
8cd22a08
CY
4192013-12-23 Chong Yidong <cyd@gnu.org>
420
421 * subr.el (set-transient-map): Rename from
422 set-temporary-overlay-map. Doc fix.
423
424 * face-remap.el (text-scale-adjust):
425 * indent.el (indent-rigidly):
426 * kmacro.el (kmacro-call-macro):
427 * minibuffer.el (minibuffer-force-complete):
428 * repeat.el (repeat):
429 * simple.el (universal-argument--mode):
430 * calendar/todo-mode.el (todo-insert-item--next-param):
431 * progmodes/f90.el (f90-abbrev-start): Callers changed.
432
7510b021
CY
433 * indent.el (indent-rigidly): Use substitute-command-keys.
434
72140a0f 4352013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
436
437 * net/eww.el (eww-tag-select): Add text-property to jump to next
438 select field.
e9dc713d 439 (eww): Add non-supported ftp error.
56890ecd 440
1f87a56c
DG
4412013-12-22 Dmitry Gutov <dgutov@yandex.ru>
442
443 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
444 comments. Handle electric indent after typing `?' and `!'.
445
dca38cf9
CY
4462013-12-22 Chong Yidong <cyd@gnu.org>
447
448 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
449 applicable to a frame, fall back on the defface spec.
450 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 451
f2351498
DG
4522013-12-22 Dmitry Gutov <dgutov@yandex.ru>
453
454 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
455 after `{'. We need it after block openers, and it doesn't seem
456 to hurt after hash openers.
457
6cddebc1
DG
4582013-12-22 Dmitry Gutov <dgutov@yandex.ru>
459
460 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
461 extracted from `ruby-smie-rules'.
462 (ruby--electric-indent-chars): New variable.
463 (ruby--electric-indent-p): New function.
464 (ruby-mode): Use `electric-indent-functions' instead of
465 `electric-indent-chars'.
466
65a1da00
DG
4672013-12-22 Dmitry Gutov <dgutov@yandex.ru>
468
469 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
470 docstring.
471 (ruby-smie-rules): Indent plus one level after `=>'.
472
b51ad4cf
RS
4732013-12-21 Richard Stallman <rms@gnu.org>
474
475 * simple.el (newline): Doc fix.
476
72140a0f 4772013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 478
e9dc713d 479 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
480 (eww-history-browse, eww-history-quit, eww-history-kill)
481 (eww-history-mode-map, eww-history-mode): New command and
482 functions to list browser histories.
e9dc713d
JB
483 (eww-form-text): Support text form with disabled
484 and readonly attributes.
485 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 486
5e1901c1
RS
4872013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
488
489 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
490 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
491 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
492 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
493 Use `user-error'.
494 (eww-bookmark-mode-map): Add menu.
495 (eww-render, eww-mode): Use `setq-local'.
496 (eww-tool-bar-map): New variable.
497 (eww-mode): Set `tool-bar-map'.
498 (eww-view-source): Check for `html-mode' with `fboundp'.
499
073d5cfd
LMI
5002013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
501
502 * net/shr.el (shr--extract-best-source): Don't bug out on audio
503 elements with text inside. Also remove debugging.
504
41cf3d11
JD
5052013-12-21 Jan Djärv <jan.h.d@swipnet.se>
506
507 * cus-start.el (all): Add ns-use-srgb-colorspace.
508
aac2b673
CY
5092013-12-21 Chong Yidong <cyd@gnu.org>
510
511 * custom.el (custom-theme-recalc-face): Do nothing if the face is
512 undefined. Thus, theme settings for undefined faces do not take
513 effect until the faces are defined with defface, the same as with
514 theme variables.
515
516 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
517 (face-spec-reset-face): Don't assign extra properties in temacs.
518 (face-spec-recalc): Apply X resources too.
519
bacb0e77
CY
5202013-12-21 Chong Yidong <cyd@gnu.org>
521
522 * faces.el (face-spec-set):
523 * cus-face.el (custom-theme-set-faces, custom-set-faces):
524 * custom.el (defface): Doc fixes (Bug#16203).
525
77221051
CY
526 * indent.el (indent-rigidly-map): Add docstring, and move commands
527 into named functions.
528 (indent-rigidly-left, indent-rigidly-right)
529 (indent-rigidly-left-to-tab-stop)
530 (indent-rigidly-right-to-tab-stop): New functions. Decide on
531 indentation direction based on bidi direction, and accumulate
532 sequential commands in a single undo boundary.
533 (indent-rigidly--pop-undo): New utility function.
534
e0eb0550
JB
5352013-12-20 Juanma Barranquero <lekktu@gmail.com>
536
537 * faces.el (read-face-name): Require crm.el when using crm-separator.
538
3282bd2e
DC
5392013-12-20 Daniel Colascione <dancol@dancol.org>
540
541 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
542 so that we don't reflow comments into the shebang line.
543
1d42e5b6
JL
5442013-12-20 Juri Linkov <juri@jurta.org>
545
546 * saveplace.el (save-place-to-alist): Add `dired-filename' as
547 a position when `dired-directory' is non-nil. Check integer
548 positions with `integerp'.
549 (toggle-save-place, save-places-to-alist): Add check for
550 `dired-directory'.
551 (save-place-find-file-hook): Check integer positions with
552 `integerp'.
553 (save-place-dired-hook): Use `dired-goto-file' when
554 `dired-filename' is found in the assoc list. Check integer
555 positions with `integerp'.
556 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
557
558 * dired.el (dired-initial-position-hook): Rename back from
559 `dired-initial-point-hook'.
560 (dired-initial-position): Rename `dired-initial-point-hook' to
561 `dired-initial-position-hook'.
562 (dired-file-name-at-point): Doc fix. (Bug#15329)
563
24da7273
JL
5642013-12-20 Juri Linkov <juri@jurta.org>
565
566 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
567 (read-regexp-suggestions): New function.
568 (read-regexp): Use `read-regexp-defaults-function' to get default values.
569 Use `read-regexp-suggestions'. Add non-empty default to history
570 for empty input.
571 (occur-read-regexp-defaults-function): Remove function.
572 (occur-read-primary-args): Use `regexp-history-last' instead of
573 `occur-read-regexp-defaults-function'.
574
575 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
576 (hi-lock-line-face-buffer, hi-lock-face-buffer)
577 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
578 `hi-lock-read-regexp-defaults-function'. Doc fix.
579 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
580 with `find-tag-default-as-symbol-regexp'. Doc fix.
581 (hi-lock-read-regexp-defaults): Remove function.
582 (hi-lock-regexp-okay): Add check for null.
583
584 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
585 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
586
587 * subr.el (find-tag-default-as-symbol-regexp): New function.
588 (find-tag-default-as-regexp): Move symbol regexp formatting to
589 `find-tag-default-as-symbol-regexp'.
590
137f57c8
S
5912013-12-20 E Sabof <esabof@gmail.com> (tiny change)
592
593 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
594 (Bug#14179)
595
f3a66082
SB
5962013-12-20 Stephen Berman <stephen.berman@gmx.net>
597
598 * calendar/todo-mode.el: New implementation of item insertion
599 commands and key bindings.
600 (todo-key-prompt): New face.
601 (todo-insert-item): New command.
602 (todo-insert-item--parameters): New defconst, replacing defvar
603 todo-insertion-commands-args-genlist.
604 (todo-insert-item--param-key-alist): New defconst, replacing
605 defvar todo-insertion-commands-arg-key-list.
606 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
607 (todo-insert-item--argsleft, todo-insert-item--apply-args)
608 (todo-insert-item--next-param): New functions.
609 (todo-insert-item--args, todo-insert-item--argleft)
610 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
611 New variables.
612 (todo-key-bindings-t): Change binding of "i" from
613 todo-insertion-map to todo-insert-item.
614 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
615 (todo-insertion-command-name, todo-insertion-commands-names)
616 (todo-define-insertion-command, todo-insertion-commands)
617 (todo-insertion-key-bindings, todo-insertion-map): Remove.
618
2f99433b
SB
6192013-12-20 Stephen Berman <stephen.berman@gmx.net>
620
621 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
622 (todo-toggle-item-highlighting): Use eval-and-compile instead of
623 eval-when-compile.
624 (todo-move-category): Allow choosing a non-existing todo file to
625 move the category to, and create that file.
626 (todo-default-priority): New user option.
627 (todo-set-item-priority): Use it.
628 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
629 (desktop-restore-file-buffer): Declare.
630 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
631 (todo-modes-set-2): Locally set desktop-save-buffer to
632 todo-desktop-save-buffer.
633 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
634 (auto-mode-alist): Add autoload cookie.
635
131e4695
BB
6362013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
637
638 * emacs-lisp/subr-x.el: Renamed from helpers.el.
639 helpers.el was a poor choice of name.
3cbfb935
BB
640 (string-remove-prefix): New function.
641 (string-remove-suffix): New function.
131e4695 642
c44de18d
MR
6432013-12-20 Martin Rudalics <rudalics@gmx.at>
644
645 Fix assignment for new window total sizes.
646 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
647 (window--pixel-to-total-1, window--pixel-to-total):
648 Fix calculation of new total sizes.
c44de18d 649
ca65efcc
VS
6502013-12-20 Vitalie Spinu <spinuvit@gmail.com>
651
652 * comint.el (comint-output-filter): Fix rear-nonsticky property
653 placement (Bug#16010).
654
a9574eb7
CY
6552013-12-20 Chong Yidong <cyd@gnu.org>
656
657 * faces.el (read-color): Minor fix for completion function.
658
b520f210
DG
6592013-12-20 Dmitry Gutov <dgutov@yandex.ru>
660
e0eb0550
JB
661 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
662 New option. (Bug#16182)
b520f210
DG
663 (ruby-smie--indent-to-stmt-p): Use it.
664 (ruby-smie-rules): Revert the logic in the handling of `when'.
665 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
666 (ruby-deep-arglist, ruby-deep-indent-paren)
667 (ruby-deep-indent-paren-style): Update docstrings to note that the
668 vars don't have any effect with SMIE.
669
26b75b45
JB
6702013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
671
672 * calc/calc.el (calc-enter, calc-pop): Use the variable
673 `calc-context-sensitive-enter'.
674
cf91cee7
LMI
6752013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
676
677 * net/shr.el (shr-insert): Protect against infloops in degenerate
678 tables.
679
51d971b4
RS
6802013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
681
682 * progmodes/octave.el (octave): Add link to manual and octave
683 homepage.
684 (octave-mode-menu): Link to octave-mode manual.
685
8c2e462a
LL
6862013-12-20 Leo Liu <sdl.web@gmail.com>
687
688 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
689 insertion using skeleton-end-newline. (Bug#16138)
690
501158bc
JL
6912013-12-20 Juri Linkov <juri@jurta.org>
692
693 * replace.el (occur-engine): Use `add-face-text-property'
694 to add the face property to matches and titles. (Bug#14645)
695
696 * hi-lock.el (hi-green): Use lighter color "light green" closer to
697 the palette of other hi-lock colors.
698 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
699
50ab1da6
JL
7002013-12-19 Juri Linkov <juri@jurta.org>
701
702 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
703 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
704 (minibuffer-history-symbol): Move variable declaration closer to
705 its usage.
706
707 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
708 (Bug#14785)
709
3d6e95e7
JL
7102013-12-19 Juri Linkov <juri@jurta.org>
711
712 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
713 New function.
714 (log-edit-hook): Add it to :options. (Bug#16170)
715
b41594fd
JL
7162013-12-19 Juri Linkov <juri@jurta.org>
717
718 * simple.el (eval-expression-print-format): Don't check for
719 command names and the last command. Always display additional
720 formats of the integer result in the echo area, and insert them
721 to the current buffer only with a zero prefix arg.
722 Display character when char-displayable-p is non-nil.
723 (eval-expression): With a zero prefix arg, set `print-length' and
724 `print-level' to nil, and insert the integer values from
725 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
726
727 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
728 `eval-last-sexp-arg-internal'. Doc fix.
729 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
730 `eval-last-sexp-print-value'. Doc fix.
731 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
732 Set `print-length' and `print-level' to nil when arg is zero.
733 (eval-last-sexp): Doc fix.
734 (eval-defun-2): Print the integer values from
735 `eval-expression-print-format' at the end.
736
737 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
738 values from `eval-expression-print-format' at the end.
739
740 * ielm.el (ielm-eval-input): Print the integer
741 values from `eval-expression-print-format' at the end.
742
8f2be364
TZ
7432013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
744
745 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
746 2013-12-11T19:01:44Z!tzz@lifelogs.com.
747
2230a6e3
SM
7482013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
751 (hl-line-highlight, global-hl-line-highlight): Use it.
752 (hl-line-overlay): Use defvar-local.
753
1269a680
JD
7542013-12-19 Jan Djärv <jan.h.d@swipnet.se>
755
756 * term/ns-win.el: Require dnd.
757 (global-map): Remove drag items.
758 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
759 (ns-set-background-at-mouse):
760 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
761 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
762 New functions.
1269a680 763
049638ad
GM
7642013-12-19 Glenn Morris <rgm@gnu.org>
765
766 * emacs-lisp/ert.el (ert-select-tests):
767 Fix string/symbol mixup. (Bug#16121)
768
ce41edb4
DG
7692013-12-19 Dmitry Gutov <dgutov@yandex.ru>
770
771 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
772 keywords to their parent.
773
7e1549c9
DG
7742013-12-19 Dmitry Gutov <dgutov@yandex.ru>
775
776 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
777 first arg to be a string (fixed dead code), or an operator symbol.
778 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
779 operator symbols.
780 (ruby-smie-rules): Remove parent token check in the `.' clause, it
781 did nothing. Don't respond to `(:after ".")', it will be called
782 with :before anyway. Remove the ` @ ' rule, it didn't seem to
783 change anything. Only return indentation for binary operators
784 when they are hanging. De-dent opening paren when its parent is
785 `.', otherwise it looks bad when the dot is not at bol or eol
786 (bug#16182).
787
3ee4cd64
JL
7882013-12-19 Juri Linkov <juri@jurta.org>
789
790 * replace.el (query-replace-read-args): Split a non-negative arg
791 and a negative arg into separate elements.
792 (query-replace, query-replace-regexp, replace-string)
793 (replace-regexp): Add arg `backward'. Doc fix.
794 (replace-match-maybe-edit): When new arg `backward' is non-nil,
795 move point to the beginning of the match.
796 (replace-search, replace-highlight): Use new arg `backward'
797 to set the value of `isearch-forward'.
798 (perform-replace): Add arg `backward' and use it to perform
799 replacement backward. (Bug#14979)
800
801 * isearch.el (isearch-query-replace): Use a negative prefix arg
802 to call `perform-replace' with a non-nil arg `backward'.
803
0cda6b7b
JL
8042013-12-18 Juri Linkov <juri@jurta.org>
805
806 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
807 to the default list. Move `log-edit-show-files' to the end.
808 Add more available functions to options.
809 (log-edit): Move default specific settings to
810 `log-edit-insert-message-template'. Don't move point.
811 (log-edit-insert-message-template): New function.
812 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
813 (Bug#16170)
814
b216f0a6
JL
8152013-12-18 Juri Linkov <juri@jurta.org>
816
817 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
818 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
819
1d1c55dc
LL
8202013-12-18 Leo Liu <sdl.web@gmail.com>
821
e9dc713d
JB
822 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
823 (Bug#16186)
1d1c55dc 824
64e4c76e
EZ
8252013-12-18 Eli Zaretskii <eliz@gnu.org>
826
827 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
828 formats for displaying file sizes when the -s switch is given.
829 Instead, compute a separate format for displaying the size in
830 blocks, which is displayed in addition to the "regular" size.
831 When -h is given in addition to -s, produce size in blocks in
832 human-readable form as well. (Bug#16179)
833
b2984e39
TH
8342013-12-18 Tassilo Horn <tsdh@gnu.org>
835
2230a6e3
SM
836 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
837 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 838
50ff2e06
CY
8392013-12-18 Chong Yidong <cyd@gnu.org>
840
0081bc84
CY
841 * cus-edit.el (custom-magic-alist): Fix "themed" description
842 (Bug#14348).
843
a7ee9424
CY
844 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
845 is non-nil, do not create a new entry in the symbol's theme-value
846 or theme-face property; update theme-settings only (Bug#14664).
18874304 847 (custom-available-themes): Doc fix.
a7ee9424 848
8f942537
CY
849 * cus-theme.el (custom-new-theme-mode-map): Add bindings
850 (Bug#15674).
851
50ff2e06
CY
852 * replace.el (occur-engine): Avoid infloop (Bug#7593).
853
83c60f60
KI
8542013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
855
856 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
857 (Bug#13914).
858
e0eb0550 8592013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
860
861 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
862
1f41ee56
GM
8632013-12-18 Glenn Morris <rgm@gnu.org>
864
865 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 866 * cus-start.el (load-prefer-newer): New option.
1f41ee56 867
e82134b1
LW
8682013-12-18 Le Wang <l26wang@gmail.com>
869
2230a6e3
SM
870 * comint.el (comint-previous-matching-input-from-input):
871 Retain point (Bug#13404).
e82134b1 872
33f5d4c1
CY
8732013-12-18 Chong Yidong <cyd@gnu.org>
874
875 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
876
ccc9f6dc
GM
8772013-12-18 Glenn Morris <rgm@gnu.org>
878
879 * mail/emacsbug.el (report-emacs-bug):
880 Only mention enable-multibyte-characters if non-standard.
881
33dd8e95
JL
8822013-12-17 Juri Linkov <juri@jurta.org>
883
884 * arc-mode.el (archive-extract-by-file): Check if directory exists
885 before deletion to not show irrelevant errors if it doesn't exist.
886
7a409b30
JL
8872013-12-17 Juri Linkov <juri@jurta.org>
888
889 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
890 (Bug#14751)
891
892 * net/eww.el (browse-web): Add alias to `eww'.
893 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
894 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
895
896 * net/browse-url.el (browse-url-browser-function): Move `eww'
897 closer to similar functions.
898
899 * startup.el (fancy-startup-screen, fancy-about-screen):
900 Set browse-url-browser-function to eww-browse-url locally.
901 (Bug#14751)
902
2d6b6005
SM
9032013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * window.el (window--pixel-to-total): Remove unused `mini' var.
906 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
907 (split-window): Remove unused `new' var.
908 (window--display-buffer): Remove unused `frame' and `delta' vars.
909 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
910 and display-width'.
911
cf2b7efc
MR
9122013-12-17 Martin Rudalics <rudalics@gmx.at>
913
914 * dired.el (dired-mark-pop-up):
915 * register.el (register-preview): Don't bind
916 split-height-threshold here since it's now done in
917 display-buffer-below-selected.
918
ed3af8a7 9192013-12-17 oblique <psyberbits@gmail.com> (tiny change)
920
921 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
922 xterm-rgb-convert-to-16bit.
923 (rxvt-register-default-colors): Standardize with
924 xterm-register-default-colors (Bug#14078).
925
76da3455
DK
9262013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
927
928 * simple.el (kill-region): Pass mark first, then point, so that
929 kill-append works right (Bug#12819).
930 (copy-region-as-kill, kill-ring-save): Likewise.
931
2b84d763
LL
9322013-12-17 Leo Liu <sdl.web@gmail.com>
933
934 * net/rcirc.el (rcirc-add-face):
935 * eshell/em-prompt.el (eshell-emit-prompt):
936 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
937 (Bug#16167)
938
e2f6a0bc
CY
9392013-12-17 Chong Yidong <cyd@gnu.org>
940
941 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
942 Suggested by Xue Fuqiao.
943
35b249a6
DG
9442013-12-17 Dmitry Gutov <dgutov@yandex.ru>
945
946 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
947
e9145444
SM
9482013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * net/shr.el (shr-insert-document): Remove unused var
951 `shr-preliminary-table-render'.
952 (shr-rescale-image): Remove unused arg `force'.
953 (shr-put-image): Update calls accordingly.
954 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
955
5556c0ce
DG
9562013-12-17 Dmitry Gutov <dgutov@yandex.ru>
957
958 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
959 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
960 :close-all, to see which indentation method to use (Bug#16116).
961 (smie-rules-function): Document the method :close-all.
962
11bade0a
LMI
9632013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
964
1c4b1e61
LMI
965 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
966
11bade0a
LMI
967 * net/eww.el (eww-display-html): If we can't find the anchor we're
968 looking for, then go to point-min.
969
8fb8c4f3
PE
9702013-12-16 Paul Eggert <eggert@cs.ucla.edu>
971
972 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
973 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
974 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
975 Expand dir too, in case it's relative.
976
6c8e0ae6
JL
9772013-12-16 Juri Linkov <juri@jurta.org>
978
979 * desktop.el (desktop-auto-save-timeout): Change default to
980 `auto-save-timeout'. Doc fix.
981 (desktop-save): Skip the timestamp in desktop-saved-frameset
982 when checking for auto-save changes.
983 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
984 `desktop-auto-save' is called repeatedly by the idle timer.
985 (desktop-auto-save-set-timer): Replace `run-with-timer' with
986 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
987 (Bug#15331)
988
2178e858
JL
9892013-12-16 Juri Linkov <juri@jurta.org>
990
991 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
992 (Bug#16035)
993 (isearch-pre-command-hook): Check `this-command' for symbolp.
994
39cb42c6
SM
9952013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
998
5b9b750a
TZ
9992013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1000
1001 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1002 (cfengine3--current-function): Bring in the current-function
1003 functionality from `cfengine3--current-word'.
1004 (cfengine3-completion-function): Bring in the
1005 bounds-of-current-word functionality from
1006 `cfengine3--current-word'.
1007
d144ef06
MR
10082013-12-16 Martin Rudalics <rudalics@gmx.at>
1009
39cb42c6
SM
1010 * window.el (display-buffer-below-selected):
1011 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1012
a8bbe298
LL
10132013-12-16 Leo Liu <sdl.web@gmail.com>
1014
1015 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1016 Remove NOMSG arg and all uses changed.
1017
2013a2f9
SM
10182013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1021 (cua--deactivate-rectangle): Don't deactivate the mark.
1022 (cua-set-rectangle-mark): Don't set mark-active since
1023 cua--activate-rectangle already does it for us.
1024 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1025 non-rectangular region.
1026
1027 * emulation/cua-base.el (cua-repeat-replace-region):
1028 Use with-current-buffer.
1029
1030 * net/gnutls.el: Use cl-lib.
1031 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1032
5ae811dd
TZ
10332013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1034
1035 * emacs-lisp/package.el (package-built-in-p): Support both
1036 built-in and the package.el converted package descriptions.
1037 (package-show-package-list): Allow keywords.
1038 (package-keyword-button-action): Use it instead of
1039 `finder-list-matches'.
1040 (package-menu-filter-interactive): Interactive filtering (by
1041 keyword) function.
1042 (package-menu--generate): Support keywords and change keymappings
1043 and headers when they are given.
1044 (package--has-keyword-p): Helper function.
1045 (package-menu--refresh): Use it.
1046 (package--mapc): Helper function.
1047 (package-all-keywords): Use it.
1048 (package-menu-mode-map): Set up menu items and keybindings to
1049 provide a filtering UI.
1050
31b4827e
TZ
10512013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1052
1053 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1054 the behavior when a certificate fails validation. Defaults to
1055 old behavior: never abort, just warn.
1056 (gnutls-negotiate): Use it.
1057
f93cc74f
MR
10582013-12-14 Martin Rudalics <rudalics@gmx.at>
1059
1060 * window.el (display-buffer-below-selected): Never split window
1061 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1062
f77d7d17
TW
10632013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1064
1065 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1066 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1067
7514d3f8
SM
10682013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1069
aa2bddd7 1070 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1071 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1072
276bc333
DG
10732013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1074
1075 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1076 open-paren tokens when preceded by a open-paren, too.
1077 (ruby-smie-rules): Handle virtual indentation after open-paren
1078 tokens specially. If there is code between it and eol, return the
1079 column where is starts (Bug#16118).
1080
d43957f3
TZ
10812013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1082
a5c1ac0c 1083 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1084 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1085 (cfengine3--current-word): Fix parameters.
1086 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1087 (cfengine3-completion-function, cfengine3--current-function):
1088 Use `assq' for symbols.
d43957f3
TZ
1089 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1090
06a4f110
GM
10912013-12-13 Glenn Morris <rgm@gnu.org>
1092
1093 * loadup.el (load-path): Warn if site-load or site-init changes it.
1094 No more need to reset it when bootstrapping.
1095
978a5fda
TZ
10962013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1097
1098 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1099 locations for cf-promises.
1100 (cfengine-mode-syntax-functions-regex): New caching variable.
1101 (cfengine3-fallback-syntax): Fallback syntax for cases where
1102 cf-promises doesn't run.
1103 (cfengine3--current-word): Reimplement using
1104 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1105 (cfengine3-completion-function, cfengine3--current-function):
1106 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1107 (cfengine3-clear-syntax-cache): New function.
1108 (cfengine3-make-syntax-cache): Simplify and create
1109 `cfengine-mode-syntax-functions-regex' on demand.
1110 (cfengine3-format-function-docstring): Don't call
1111 `cfengine3-make-syntax-cache' explicitly.
1112
71e6691e
MR
11132013-12-13 Martin Rudalics <rudalics@gmx.at>
1114
1115 Fix windmove-find-other-window broken after pixelwise resizing
1116 (Bug#16017).
1117 * windmove.el (windmove-other-window-loc): Revert change from
1118 2013-12-04.
1119 (windmove-find-other-window): Call window-in-direction.
1120 * window.el (window-in-direction): New arguments SIGN, WRAP and
1121 MINI to emulate original windmove-find-other-window behavior.
1122
84c73ba0
DG
11232013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1124
1125 * simple.el (blink-matching--overlay): New variable.
1126 (blink-matching-open): Instead of moving point, highlight the
1127 matching paren with an overlay
1128 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1129
1130 * faces.el (paren-showing-faces, show-paren-match)
1131 (show-paren-mismatch): Move from paren.el.
1132
b9e20952
LL
11332013-12-13 Leo Liu <sdl.web@gmail.com>
1134
1135 * indent.el (indent-region): Disable progress reporter in
1136 minibuffer. (Bug#16108)
1137
1138 * bindings.el (visual-order-cursor-movement): Fix version.
1139
ce030451
FEG
11402013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1141
1142 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1143 Also match after beginning of line.
1144 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1145 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1146
4a9c6865
JL
11472013-12-13 Juri Linkov <juri@jurta.org>
1148
1149 * simple.el <Keypad support>: Remove key bindings duplicated
1150 with bindings.el. (Bug#14397)
1151
2bc170c3
JL
11522013-12-13 Juri Linkov <juri@jurta.org>
1153
1154 * comint.el (comint-mode-map): Replace `delete-char' with
1155 `delete-forward-char'. (Bug#16109)
1156
bc9222c9
FEG
11572013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1158
aa2bddd7 1159 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1160 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1161
cb3a1380
SM
11622013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1165 (advice--make): Pay attention to `depth'.
1166 (advice--make-1): Don't autoload commands eagerly.
1167 * emacs-lisp/elp.el (elp-instrument-function):
1168 * emacs-lisp/trace.el (trace-function-internal):
1169 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1170
1171 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1172
01633a17
EZ
11732013-12-12 Eli Zaretskii <eliz@gnu.org>
1174
1175 * term/w32-win.el (w32-handle-dropped-file):
1176 * startup.el (normal-top-level):
1177 * net/browse-url.el (browse-url-file-url):
1178 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1179 decode file names using 'utf-8' rather than
1180 file-name-coding-system.
1181
09faee72
FEG
11822013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1183
1184 * progmodes/python.el (python-indent-context)
1185 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1186 behavior for comment blocks. (Bug#15916)
09faee72 1187
f4f84024 11882013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1189
cb3a1380
SM
1190 * progmodes/python.el (python-indent-calculate-indentation):
1191 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1192 operators when they are just string constituents. (Bug#15812)
1193
d5ccb7be
JL
11942013-12-12 Juri Linkov <juri@jurta.org>
1195
1196 * uniquify.el (uniquify-buffer-name-style): Change default to
1197 `post-forward-angle-brackets'.
1198
1199 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1200 `uniquify'. Change default to `post-forward-angle-brackets'.
1201
7b3f5679
GM
12022013-12-11 Glenn Morris <rgm@gnu.org>
1203
1204 * emacs-lisp/package.el (finder-list-matches):
1205 Autoload rather than falsely declaring.
1206
f4fe8fdd
TZ
12072013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1208
1209 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1210 (eww-mode-map): Use them.
1211
3c29190f
MR
12122013-12-11 Martin Rudalics <rudalics@gmx.at>
1213
1214 * window.el (display-buffer-in-side-window): Fix doc-string
1215 (Bug#16115).
1216
0cd616a2
JB
12172013-12-11 Juanma Barranquero <lekktu@gmail.com>
1218
1219 * vc/vc-git.el: Silence byte-compiler warnings.
1220 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1221 (log-edit-set-header): Declare.
1222
3ef8e0d1
EZ
12232013-12-11 Eli Zaretskii <eliz@gnu.org>
1224
1225 * Makefile.in (custom-deps, finder-data): Run output file names
1226 through unmsys--file-name. (Bug#16099)
1227
afdadaf7
SM
12282013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1229
7ae3ae39 1230 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1231 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1232
5b4f37ab
SM
1233 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1234 instead of deleting the selection "by hand" (bug#16098).
1235 Rely on insert-for-yank to yank rectangles.
1236 (cua-highlight-region-shift-only): Mark obsolete.
1237 (cua-mode): Don't enable/disable transient-mark-mode,
1238 shift-select-mode (cua-mode works both with and without them), and
1239 pc-selection-mode (obsolete).
1240 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1241 (cua--deactivate-rectangle): Deactivate it.
1242
4b72c12b
SM
1243 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1244 (delete-selection-helper): Make sure yank starts at the top of the
1245 deleted region.
1246 (minibuffer-keyboard-quit): Use region-active-p.
1247
e82af72d
SM
1248 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1249
afdadaf7
SM
1250 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1251 to `delete' (bug#16109).
1252
ed4bc201
RS
12532013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1254
1255 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1256 info manual and show keybindings and set `:group' keyword.
1257
bb8097b9
JL
12582013-12-11 Juri Linkov <juri@jurta.org>
1259
1260 * delsel.el (delete-active-region): Let-bind `this-command'
1261 to prevent `kill-region' from changing its original value.
1262 (delete-selection-helper): Handle `overwrite-mode' for the type
1263 `kill' exactly the same way as for the type `t'.
1264 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1265 Support more commands. (Bug#13312)
1266
c1916ff5
JL
12672013-12-11 Juri Linkov <juri@jurta.org>
1268
1269 * bindings.el: Map kp keys to non-kp keys systematically
1270 with basic modifiers control, meta and shift. (Bug#14397)
1271
7514d3f8 12722013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1273
1274 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1275 "Close browser" menu items. Fix wrong function of "List
1276 bookmarks".
1277
4cc51eaf
JL
12782013-12-11 Juri Linkov <juri@jurta.org>
1279
1280 * misearch.el (multi-isearch-buffers): Set the value of
1281 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1282 arg of isearch-forward to t.
1283 (multi-isearch-buffers-regexp): Set the value of
1284 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1285 arg of isearch-forward-regexp to t.
1286 (multi-isearch-files): Set the value of
1287 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1288 arg of isearch-forward to t.
1289 (multi-isearch-files-regexp): Set the value of
1290 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1291 arg of isearch-forward-regexp to t. (Bug#16035)
1292
1293 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1294 arg of isearch-forward to t.
1295 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1296 arg of isearch-forward-regexp to t.
1297 (dired-isearch-filter-filenames): Remove unnecessary check for
1298 `dired-isearch-filenames'.
1299
1300 * comint.el (comint-history-isearch-backward):
1301 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1302 (comint-history-isearch-backward-regexp):
1303 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1304
ceac12b7
EZ
13052013-12-10 Eli Zaretskii <eliz@gnu.org>
1306
1307 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1308 unmsys--file-name. (Bug#16099)
1309
5a565782
TZ
13102013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1311
cb3a1380
SM
1312 * emacs-lisp/package.el (package-keyword-button-action):
1313 Remove finder.el require dependency.
5a565782 1314
a81fc7ba
TZ
13152013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1316
1317 * emacs-lisp/package.el: Require finder.el.
1318 (describe-package-1): Add keyword buttons.
1319 (package-make-button): New convenience function.
1320 (package-keyword-button-action): Keyword button action using
e0eb0550 1321 `finder-list-matches'.
a81fc7ba 1322
6aaca951
EZ
13232013-12-09 Eli Zaretskii <eliz@gnu.org>
1324
1325 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1326 last commit.
1327
a1099a91
MA
13282013-12-09 Michael Albinus <michael.albinus@gmx.de>
1329
1330 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1331 symlinked files.
1332
8212d9c0
DG
13332013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1334
1335 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1336 after the end of a percent literal.
1337
8f48d131
CD
13382013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1339
cb3a1380
SM
1340 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1341 Handle caret-delimited strings (Bug#16079).
8f48d131 1342
ff8c9764
DG
13432013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1344
cb3a1380
SM
1345 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1346 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1347 `ruby-parse-partial' (Bug#16078).
1348
d64643b4
LL
13492013-12-09 Leo Liu <sdl.web@gmail.com>
1350
1351 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1352
47e59c66
DG
13532013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1354
1355 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1356 (js-switch-indent-offset): New option.
1357 (js--proper-indentation): Use it. And handle the case when
1358 "default" is actually a key in an object literal.
1359 (js--same-line): New function.
1360 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1361 (js--indent-in-array-comp, js--array-comp-indentation):
1362 New functions.
47e59c66
DG
1363 (js--proper-indentation): Use them, to handle array comprehension
1364 continuations.
1365
974ebc9c
LL
13662013-12-08 Leo Liu <sdl.web@gmail.com>
1367
1368 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1369 (flymake-make-overlay): Remove arg MOUSE-FACE.
1370 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1371
27262e39
SM
13722013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1375 New function.
1376 (redisplay-highlight-region-function): Use it.
1377
1378 * emulation/cua-base.el (cua--explicit-region-start)
1379 (cua--last-region-shifted): Remove.
1380 (cua--deactivate): Use deactivate-mark.
1381 (cua--pre-command-handler-1): Don't handle shift-selection.
1382 (cua--post-command-handler-1): Don't change transient-mark-mode.
1383 (cua--select-keymaps): Use region-active-p rather than
1384 cua--explicit-region-start or cua--last-region-shifted.
1385 (cua-mode): Enable shift-select-mode.
1386
6407822c
LL
13872013-12-08 Leo Liu <sdl.web@gmail.com>
1388
27262e39
SM
1389 * progmodes/flymake.el (flymake-popup-current-error-menu):
1390 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1391 (flymake-posn-at-point-as-event, flymake-popup-menu)
1392 (flymake-make-emacs-menu): Remove. (Bug#16077)
1393
00a2b823
SM
13942013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1395
02033d49
SM
1396 * rect.el (rectangle-mark-mode): Activate mark even if
1397 transient-mark-mode is off (bug#16066).
1398 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1399 is > mark and at bolp.
1400
6f8dfccf
SM
1401 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1402 (region-extract-function): Use it.
1403 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1404 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1405 Delete functions.
1406 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1407 kill-ring-save, kill-region, delete-char, delete-forward-char.
1408 Ignore self-insert-iso.
1409
1410 * emulation/cua-gmrk.el (cua--init-global-mark):
1411 Ignore `self-insert-iso'.
1412
1413 * emulation/cua-base.el (cua--prefix-copy-handler)
1414 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1415 checking cua--rectangle.
1416 (cua-delete-region): Use region-extract-function.
1417 (cua-replace-region): Delete function.
1418 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1419 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1420 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1421 (cua--init-keymaps): Don't remap delete-selection commands.
1422 (cua-mode): Use delete-selection-mode instead of rolling our own
1423 (bug#16085).
1424
1425 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1426 Obey region-extract-function.
1427
00a2b823
SM
1428 Make registers and delete-selection-mode work on rectangles.
1429 * register.el (describe-register-1): Don't modify the register's value.
1430 (copy-to-register): Obey region-extract-function.
1431 * delsel.el (delete-active-region): Obey region-extract-function.
1432
a92fa5f1
LL
14332013-12-08 Leo Liu <sdl.web@gmail.com>
1434
1435 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1436 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1437 (flymake-compilation-prevents-syntax-check)
1438 (flymake-start-syntax-check-on-newline)
1439 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1440 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1441 (flymake-xml-program, flymake-master-file-dirs)
1442 (flymake-master-file-count-limit)
1443 (flymake-allowed-file-name-masks): Relocate.
1444 (flymake-makehash, flymake-float-time)
1445 (flymake-replace-regexp-in-string, flymake-split-string)
1446 (flymake-get-temp-dir): Remove.
1447 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1448 (flymake-current-row, flymake-selected-frame)
1449 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1450 related functions. (Bug#16077)
1451
73c8ceea
BB
14522013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1453
1454 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1455
faec28d9
TH
14562013-12-07 Tassilo Horn <tsdh@gnu.org>
1457
1458 * help-fns.el (describe-function-1): Use new advice-* functions
1459 rather than old ad-* functions. Fix function type description and
1460 source links for advised functions and subrs.
1461
e330b646
LMI
14622013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1463
00a2b823 1464 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1465
4803595d
MA
14662013-12-06 Michael Albinus <michael.albinus@gmx.de>
1467
1468 * progmodes/compile.el (compilation-start):
1469 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1470
1471 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1472 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1473
fa834a93
DG
14742013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1475
00a2b823
SM
1476 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1477 Touch up the last change.
fa834a93 1478
b2856a6f
LL
14792013-12-06 Leo Liu <sdl.web@gmail.com>
1480
1481 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1482 (inferior-octave-startup): Always use "octave> " for prompt.
1483 (octave-goto-function-definition)
1484 (octave-sync-function-file-names)
1485 (octave-find-definition-default-filename): Remove redundant backquotes.
1486
af67e79a
DG
14872013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1488
1489 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1490 syntax for `?'.
1491 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1492 where appropriate already.
1493 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1494 end of method names (Bug#15874).
1495
bf093209
JL
14962013-12-06 Juri Linkov <juri@jurta.org>
1497
1498 * isearch.el (isearch--saved-overriding-local-map):
1499 New internal variable.
1500 (isearch-mode): Set it to the initial value of
1501 `overriding-terminal-local-map'.
1502 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1503 with `isearch--saved-overriding-local-map'. (Bug#16035)
1504
16588fad
DG
15052013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1506
00a2b823
SM
1507 * progmodes/octave.el (inferior-octave-completion-table):
1508 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1509 (Bug#11906). Update all references.
1510
1511 * minibuffer.el (completion-table-with-cache): New function.
1512
bf4906d7
CD
15132013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1514
1515 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1516
ff69c18f
TZ
15172013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1518
1519 * net/eww.el (eww-current-source): New variable to store page
1520 source.
1521 (eww-display-html, eww-mode, eww-save-history)
1522 (eww-restore-history): Use it.
1523 (eww-view-source): New command to view page source.
1524 Opportunistically uses `html-mode' to highlight the buffer.
1525 (eww-mode-map): Install it.
1526
b85eff45
MA
15272013-12-05 Michael Albinus <michael.albinus@gmx.de>
1528
1529 * net/dbus.el (dbus-unregister-service)
1530 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1531 Fix docstring.
1532 (dbus-unregister-service): Skip :serial entries in
1533 `dbus-registered-objects-table'.
1534 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1535
39eb0899
TZ
15362013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1537
1538 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1539 around keywords with extra `split-string' argument.
1540
456760a5
MR
15412013-12-04 Martin Rudalics <rudalics@gmx.at>
1542
1543 * windmove.el (windmove-other-window-loc): Handle navigation
1544 between windows (excluding the minibuffer window - Bug#16017).
1545
81961e4c
MA
15462013-12-04 Michael Albinus <michael.albinus@gmx.de>
1547
1548 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1549 in D-Bus type syntax.
1550 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1551 preserve unibyte strings. (Bug#16048)
1552
8497f938
SM
15532013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1556 Call force-mode-line-update is the proper buffer (bug#16042).
1557
dda61916
DG
15582013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1559
1560 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1561 `log-edit-remember-comment', make argument optional. Adjust all
1562 callers.
1563 (log-edit-mode): Add `log-edit-remember-comment' to
1564 `kill-buffer-hook' locally.
1565 (log-edit-kill-buffer): Don't remember comment explicitly since
1566 the buffer is killed anyway.
1567
c085e5b9
JL
15682013-12-04 Juri Linkov <juri@jurta.org>
1569
1570 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1571 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1572
e0eb0550 15732013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1574
1575 * notifications.el (notifications-close-notification): Call the
81961e4c 1576 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1577
39fa32d6
KY
15782013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1579
1580 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1581
9139632a
JL
15822013-12-03 Juri Linkov <juri@jurta.org>
1583
1584 * progmodes/compile.el (compilation-start): Rename window alist
1585 entry `no-display-ok' to `allow-no-window'.
1586
1587 * simple.el (shell-command): Add window alist entry
1588 `allow-no-window' to `display-buffer'.
1589 (async-shell-command): Doc fix.
1590
1591 * window.el (display-buffer-no-window): New action function.
1592 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1593
0f457a37
DG
15942013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1595
1596 * vc/log-edit.el (log-edit-set-header): Extract from
1597 `log-edit-toggle-header'.
1598 (log-edit-extract-headers): Separate the summary, when extracted
1599 from header, from the rest of the message with an empty line.
1600
1601 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1602 line, if present, to the Summary header.
1603
0962f376
SM
16042013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1605
1606 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1607 in current-buffer (bug#16029).
1608
f345395c
HE
16092013-12-02 Helmut Eller <eller.helmut@gmail.com>
1610
1611 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1612 (debugger-mode-map): Bind it.
1613 (debugger--backtrace-base): New function.
1614 (debugger-eval-expression): Use it.
1615 (debugger-frame-number): Skip local vars when present.
1616 (debugger--locals-visible-p, debugger--insert-locals)
1617 (debugger--show-locals, debugger--hide-locals): New functions.
1618
a8a15d9d
MA
16192013-12-02 Michael Albinus <michael.albinus@gmx.de>
1620
1621 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1622 "LC_ALL".
1623 (tramp-get-remote-locale): New defun.
1624 (tramp-open-connection-setup-interactive-shell): Use it.
1625
0518b057
LL
16262013-12-02 Leo Liu <sdl.web@gmail.com>
1627
1628 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1629
1630 * progmodes/sh-script.el (sh-shell-process):
1631 * progmodes/octave.el (inferior-octave-process-live-p):
1632 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1633 (gdb-inferior-io-sentinel):
1634 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1635
3adc9c6d
DG
16362013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1637
1638 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1639 `save-selected-window' to `log-edit-hide-buf'. This makes
1640 `log-edit-show-files' idempotent.
1641 (log-edit-show-files): Mark the new window as dedicated.
1642
47e8b74e
DG
16432013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1644
1645 * vc/log-edit.el (log-edit-mode-map): Add binding for
1646 `log-edit-kill-biffer'.
1647 (log-edit-hide-buf): Add a FIXME comment.
1648 (log-edit-add-new-comment): New function, extracted from
1649 `log-edit-done'.
1650 (log-edit-done, log-edit-add-to-changelog): Use it.
1651 (log-edit-kill-buffer): New command.
1652
1f6e1bb0
LMI
16532013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1654
1655 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1656 instead of killing the buffer.
1657
fb651d15
SM
16582013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1661
8feacce0
RS
16622013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1663
fb651d15 1664 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1665 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1666 (eww-form-checkbox, eww-toggle-checkbox):
1667 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1668
e0eb0550 1669 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1670 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1671 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1672 no :src tag was specified.
1673
fb651d15 1674 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1675 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1676 Use \\` to match beginning of string instead of ^.
1677 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1678 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1679
177948a5
RS
1680 * net/shr.el (shr-tag-video): Display content for video if no
1681 poster is available.
eb2dd24d 1682 (shr-tag-audio): Add support for <audio> tag.
177948a5 1683
e0eb0550 1684 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1685 (eww-process-text-input): Treat input types in
1686 `eww-text-input-types' as text.
1687
8feacce0
RS
1688 * net/shr.el (shr-tag-table): Fix comment typo.
1689
513562a1
LMI
16902013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1691
1692 * net/eww.el (eww-follow-link): New command to avoid reloading
1693 pages when we follow #target links (bug#15243).
de8a5633 1694 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1695
9dd99753
KN
16962013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1697
1698 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1699 forms.
1700
3e9876de
LMI
17012013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1702
1703 * net/eww.el (eww-restore-history): Update the window title after
1704 moving in the history.
ab6dea82 1705 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1706
52789f7f
DG
17072013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1708
1709 * vc/log-edit.el (log-edit-mode-map): Add binding for
1710 `log-edit-beginning-of-line'.
1711 (log-edit-setup-add-author): New user option.
1712 (log-edit-beginning-of-line): New command.
1713 (log-edit): Move major mode call above the contents setup so that
1714 the local variable values are already applied.
1715 (log-edit): Only insert "Author: " when
1716 `log-edit-setup-add-author' is non-nil.
1717 (log-edit): When SETUP is non-nil, position point after ": "
1718 instead of point-min.
1719
2e6710c3
GM
17202013-12-01 Glenn Morris <rgm@gnu.org>
1721
1722 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1723
fadec31f
EZ
17242013-11-30 Eli Zaretskii <eliz@gnu.org>
1725
1726 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1727 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1728 visible. (Bug#16014)
1729
10634b40 17302013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1731
1732 Support resizing frames and windows pixelwise.
1733 * cus-start.el (frame-resize-pixelwise)
1734 (window-resize-pixelwise): New entries.
1735 * emacs-lisp/debug.el (debug): Use window-total-height instead
1736 of window-total-size.
1737 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1738 * help.el (describe-bindings-internal): Call help-buffer
1739 (temp-buffer-max-width): New option.
1740 (resize-temp-buffer-window, help-window-setup)
1741 (with-help-window): Rewrite.
1742 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1743 dragging dividers.
1744 * window.el (frame-char-size, window-min-pixel-height)
1745 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1746 (window-min-pixel-width, window-safe-min-pixel-size)
1747 (window-combination-p, window-safe-min-size)
1748 (window-resizable-p, window--size-to-pixel)
1749 (window--pixel-to-size, window--resize-apply-p): New functions.
1750 (window-safe-min-height): Fix doc-string.
1751 (window-size, window-min-size, window--min-size-1)
1752 (window-sizable, window-sizable-p, window--min-delta-1)
1753 (window-min-delta, window--max-delta-1, window-max-delta)
1754 (window--resizable, window--resizable-p, window-resizable)
1755 (window-full-height-p, window-full-width-p, window-at-side-p)
1756 (window--in-direction-2, window-in-direction)
1757 (window--resize-reset-1, window--resize-mini-window)
1758 (window-resize, window-resize-no-error)
1759 (window--resize-child-windows-normal)
1760 (window--resize-child-windows, window--resize-siblings)
1761 (window--resize-this-window, window--resize-root-window)
1762 (window--resize-root-window-vertically)
1763 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1764 (maximize-window, minimize-window, delete-window)
1765 (quit-restore-window, window-split-min-size, split-window)
1766 (balance-windows-2, balance-windows)
1767 (balance-windows-area-adjust, balance-windows-area)
1768 (window--state-get-1, window-state-get, window--state-put-1)
1769 (window--state-put-2, window-state-put)
fb651d15
SM
1770 (display-buffer-record-window, window--display-buffer):
1771 Make functions handle pixelwise sizing of windows.
880e6158 1772 (display-buffer--action-function-custom-type)
fb651d15
SM
1773 (display-buffer-fallback-action):
1774 Add display-buffer-in-previous-window.
880e6158
MR
1775 (display-buffer-use-some-window): Resize window to height it had
1776 before.
1777 (fit-window-to-buffer-horizontally): New option.
1778 (fit-frame-to-buffer): Describe new values.
1779 (fit-frame-to-buffer-bottom-margin): Replace with
1780 fit-frame-to-buffer-margins.
1781 (window--sanitize-margin): New function.
1782 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1783 using window-text-pixel-size.
1784
f9b697dd
GM
17852013-11-30 Glenn Morris <rgm@gnu.org>
1786
3e2fb4db
GM
1787 * emacs-lisp/bytecomp.el (byte-compile-form):
1788 Make the `interactive-only' warning like the `obsolete' one.
1789 * comint.el (comint-run):
1790 * files.el (insert-file-literally, insert-file):
1791 * replace.el (replace-string, replace-regexp):
1792 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1793 (goto-line, insert-buffer, next-line, previous-line):
1794 Tweak `interactive-only' spec.
1795
f9b697dd
GM
1796 Stop keeping (most) generated cedet grammar files in the repository.
1797 * Makefile.in (semantic): New.
1798 (compile-main): Depend on semantic.
1799
da048127
SM
18002013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1801
7784b779
SM
1802 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1803 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1804
4e36a6a6
SM
1805 * uniquify.el (uniquify-buffer-name-style): Change default.
1806
1807 * loadup.el: Preload "uniquify".
1808
e0ba1308
SM
1809 * time.el (display-time-update): Update all mode lines (bug#15999).
1810
da048127
SM
1811 * electric.el (electric-indent-mode): Enable by default.
1812 * loadup.el: Preload "electric".
1813
015b3b3e
BB
18142013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1815
1816 * emacs-lisp/helpers.el (string-empty-p): New function.
1817 (string-blank-p): New function.
1818
7efb806d
AP
18192013-11-29 Andreas Politz <politza@hochschule-trier.de>
1820
1821 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1822 (Bug#14029).
1823
c8f0efc2
AP
18242013-11-29 Andreas Politz <politza@fh-trier.de>
1825 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1826 allow non-lambda lists as functions.
1827 (imenu--in-alist): Don't recurse into non-subalists.
1828 (imenu): Don't pass function itself as an argument (Bug#14029).
1829
bd15d9d1
SM
18302013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1831
1832 * progmodes/python.el (python-mode-map): Remove binding for ":".
1833 (python-indent-electric-colon): Remove command.
1834 (python-indent-post-self-insert-function): Integrate the previous code
1835 of python-indent-electric-colon. Make it conditional on
1836 electric-indent-mode.
1837 (python-mode): Add ?: to electric-indent-chars.
1838 Move python-indent-post-self-insert-function to the end of
1839 post-self-insert-hook.
1840
1b10adb6
SM
18412013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1842
655ab9a3
SM
1843 * doc-view.el (doc-view-goto-page): Update mode-line.
1844
1b10adb6
SM
1845 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1846
7e3bf78c
GM
18472013-11-27 Glenn Morris <rgm@gnu.org>
1848
1849 * international/charprop.el, international/uni-bidi.el:
1850 * international/uni-category.el, international/uni-combining.el:
1851 * international/uni-comment.el, international/uni-decimal.el:
1852 * international/uni-decomposition.el, international/uni-digit.el:
1853 * international/uni-lowercase.el, international/uni-mirrored.el:
1854 * international/uni-name.el, international/uni-numeric.el:
1855 * international/uni-old-name.el, international/uni-titlecase.el:
1856 * international/uni-uppercase.el:
1857 Remove generated files from VCS repository.
1858
fb6a5d68
EZ
18592013-11-27 Eli Zaretskii <eliz@gnu.org>
1860
1861 * filenotify.el (file-notify-add-watch): Don't special-case
1862 w32notify when computing the directory to watch.
1863
cb6c95a3
GM
18642013-11-27 Glenn Morris <rgm@gnu.org>
1865
20372d0c
GM
1866 Make bootstrap without generated uni-*.el files possible again.
1867 * loadup.el: Update command-line-args checking for unidata-gen.
1868 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1869 * composite.el, international/characters.el:
1870 Handle unicode tables being undefined.
1871
52d6635f 1872 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1873 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1874 (compile-main): Depend on leim rule.
1875 (leim): New rule.
1876 * loadup.el: Move leim-list.el to leim/ subdirectory.
1877 * startup.el (normal-top-level): No more leim directory.
1878 * international/ja-dic-cnv.el (skkdic-convert):
1879 Disable version-control and autoloads in output files.
1880 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1881 Disable version-control and autoloads in output files.
1882 * leim/quail: Move here from ../leim.
1883 * leim/quail/hangul.el (hangul-input-method-activate):
1884 Add autoload cookie.
1885 (generated-autoload-load-name): Set file-local value.
1886 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1887 (generated-autoload-load-name): Set file-local value.
1888
7514d3f8 18892013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 1890
e0eb0550 1891 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 1892 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 1893 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1894
0e2c793f
EZ
18952013-11-26 Eli Zaretskii <eliz@gnu.org>
1896
1897 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1898 reading output from Diff on MS-Windows and MS-DOS.
1899
447bdcb8
BB
19002013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1901
1902 * emacs-lisp/helpers.el (string-reverse): New function.
1903
5fbf6856
MA
19042013-11-26 Michael Albinus <michael.albinus@gmx.de>
1905
1906 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1907 names on MS Windows, like "/[::1]:".
1908
1909 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1910 SWITCHES.
1911
624780f0
GM
19122013-11-26 Glenn Morris <rgm@gnu.org>
1913
0bf3f0fa
GM
1914 * progmodes/python.el (python-indent-guess-indent-offset):
1915 Avoid corner-case error. (Bug#15975)
1916
624780f0
GM
1917 Preload leim-list.el. (Bug#4789)
1918 * loadup.el: Load leim-list.el when found.
1919 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1920
4301875e 19212013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1922
1923 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1924
4301875e
BB
1925 * emacs-lisp/helpers.el (string-join): New function.
1926
1633a815 19272013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1928
1929 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1930 Mark as obsolete and replace it with a symbol property.
1931 (byte-compile-form): Use new 'interactive-only property.
1932 * comint.el, files.el, replace.el, simple.el:
1933 Apply new 'interactive-only properly.
1934
00139435
MR
19352013-11-25 Martin Rudalics <rudalics@gmx.at>
1936
1937 * window.el (display-buffer-at-bottom): Make sure that
1938 split-window-sensibly creates the new window on bottom
1939 (Bug#15961).
1940
5f5b128d
DK
19412013-11-23 David Kastrup <dak@gnu.org>
1942
1943 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1944 on the conflict markers when available.
1945 (smerge--get-marker): New function.
1946 (smerge-end-re, smerge-base-re): Add subgroup.
1947
623891e5
SM
19482013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * frame.el (handle-focus-in, handle-focus-out): Add missing
1951 interactive spec.
1952
05ca27d8
MA
19532013-11-25 Michael Albinus <michael.albinus@gmx.de>
1954
1955 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1956 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1957
511fa0d3
SM
19582013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1959
e82ad66c
SM
1960 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1961 (gomoku--last-pos): New var.
1962 (gomoku--intangible-chars): New const.
1963 (gomoku--intangible): New function.
1964 (gomoku-mode): Use it. Derive from special-mode.
1965 (gomoku-move-up): Adjust line count.
1966 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1967 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1968 Simplify accordingly.
1969
511fa0d3
SM
1970 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1971 Remove blink-cursor code.
1972 (blink-cursor-timer-function, blink-cursor-suspend):
1973 Don't special-case GUIs.
1974 (blink-cursor-mode): Use focus-in/out-hook.
1975
6f20dd03
DG
19762013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1977
1978 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1979 work when annotation is invisible (Bug#13886).
1980
431dec31 19812013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1982
1983 * json.el (json-alist-p): Only return non-nil if the alist has
1984 simple keys (Bug#13518).
1985
431dec31 19862013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1987
1988 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1989 when control-statement is the first statement in a buffer (Bug#15956).
1990
ee4f0261
DG
19912013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1992
1993 * imenu.el (imenu-generic-skip-comments-and-strings):
1994 New option (Bug#15560).
1995 (imenu--generic-function): Use it.
1996
c484f866
JS
19972013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1998
e9dc713d
JB
1999 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2000 (Bug#13898)
c484f866 2001
41ce6f70
BB
20022013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2003
b55aea38
BB
2004 * emacs-lisp/helpers.el: Add some string helpers.
2005 (string-trim-left): Removes leading whitespace.
2006 (string-trim-right): Removes trailing whitespace.
2007 (string-trim): Removes leading and trailing whitespace.
2008
41ce6f70
BB
2009 * subr.el (string-suffix-p): New function.
2010
3cfb6af3
GM
20112013-11-23 Glenn Morris <rgm@gnu.org>
2012
2013 * progmodes/python.el (python-shell-send-file):
2014 Add option to delete file when done. (Bug#15647)
2015 (python-shell-send-string, python-shell-send-region): Use it.
2016
c27924b7
IS
20172013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2018
e1b01c7f
IS
2019 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2020 to set buffer-read-only to t, never to nil. (Bug#15938)
2021
c27924b7
IS
2022 * textmodes/tex-mode.el (latex-noindent-environments):
2023 Add safe-local-variable property. (Bug#15936)
2024
17e0445b
GM
20252013-11-23 Glenn Morris <rgm@gnu.org>
2026
92f78ea3
GM
2027 * textmodes/enriched.el (enriched-mode): Doc fix.
2028 * emacs-lisp/authors.el (authors-renamed-files-alist):
2029 Add enriched.doc -> enriched.txt.
2030
17e0445b
GM
2031 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2032
965bb23a
LL
20332013-11-22 Leo Liu <sdl.web@gmail.com>
2034
2035 * progmodes/octave.el (inferior-octave-startup): Spit out error
2036 message.
2037
d19ffd64
BB
20382013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2039
2040 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2041 Improve docstring.
15ba2182
BB
2042 Add :version.
2043 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2044
7a7567d2
LL
20452013-11-22 Leo Liu <sdl.web@gmail.com>
2046
2047 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2048 (Bug#15076)
8c09f64b
LL
2049 (octave-help-mode): Adapt to change to help-mode-finish to use
2050 derived-mode-p on 2013-09-17.
2051 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2052 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2053
724bc265
LL
20542013-11-22 Leo Liu <sdl.web@gmail.com>
2055
2056 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2057 (inferior-octave-startup, inferior-octave-check-process)
2058 (inferior-octave-track-window-width-change)
2059 (octave-completion-at-point, octave-eldoc-function): Use it.
2060 (octave-kill-process): Provide confirmation. (Bug#10564)
2061
38637cca
LL
20622013-11-21 Leo Liu <sdl.web@gmail.com>
2063
511fa0d3
SM
2064 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2065 Fix obsolete variable comment-use-global-state.
38637cca 2066
06e752b4
RS
20672013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2068
511fa0d3
SM
2069 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2070 Add `octave-source-file'.
06e752b4
RS
2071 (octave-source-file): New function. (Bug#15935)
2072
7514d3f8 20732013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2074
2075 * net/eww.el (eww-local-regex): New variable.
2076 (eww): Use it to detect localhost and similar.
2077
b6ffa04a
LL
20782013-11-21 Leo Liu <sdl.web@gmail.com>
2079
2080 Add completion for command `ag'.
2021a200
LL
2081 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2082 (pcomplete/ag): New function.
e9dc713d 2083 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2084
d1a6bccc
SM
20852013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2088 (bug#14646).
2089 (make-obsolete): Remove interactive spec.
2090
2df10228
GM
20912013-11-21 Glenn Morris <rgm@gnu.org>
2092
2093 * startup.el (command-line-1): Use path-separator with -L.
2094
86fd16b6
TZ
20952013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2096
2097 * emacs-lisp/package.el (describe-package-1): Add package archive
2098 to shown fields.
2099
0449d6cd 21002013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2101
2102 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2103 Change default to "# encoding: %s" to differentiate it from the
2104 default Ruby encoding comment template.
2105
dc7e8c17 21062013-11-20 era eriksson <era+emacsbugs@iki.fi>
2107
2108 * ses.el (ses-mode): Doc fix. (Bug#14748)
2109
f0cfa5fe
LL
21102013-11-20 Leo Liu <sdl.web@gmail.com>
2111
2112 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2113
826dc7b6
DN
21142013-11-19 Dan Nicolaescu <dann@gnu.org>
2115
2116 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2117 when rebase or bisect are in progress.
2118
a6e3a5d5
XF
21192013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2120
2121 * filenotify.el (file-notify-add-watch): Doc fix.
2122
f130cb76
LL
21232013-11-19 Leo Liu <sdl.web@gmail.com>
2124
e0855d7d
LL
2125 * obsolete/rcompile.el: Mark obsolete.
2126
f130cb76 2127 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2128 (compilation-goto-locus, compilation-find-file):
2129 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2130 (Bug#13594)
2131
2132 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2133 new parameter no-display-ok. Return either a window or nil
2134 but never a non-window value.
f130cb76 2135
1f35d401
SM
21362013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2137
25158c76
SM
2138 * electric.el (electric-indent-mode-map): Remove.
2139 (electric-indent-mode): Change the global-map instead (bug#15915).
2140
2141 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2142 Use add-function.
1f35d401 2143
9bc67baa
SM
21442013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2145
986545b5
SM
2146 * emacs-lisp/nadvice.el (remove-function): Align with
2147 add-function's behavior.
2148
9bc67baa
SM
2149 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2150 (gdb--string-regexp): New constant.
2151 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2152 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2153 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2154 submatch 1.
2155 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2156 Adjust use accordingly.
2157 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2158
56cd894e
AS
21592013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2160
2161 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2162 interpolation curlies (Bug#15914).
2163
014690de
JB
21642013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2165
2166 * calc/calc.el (calc-context-sensitive-enter): New variable.
2167 (calc-enter): Use `calc-context-sensitive-enter'.
2168
7e26a6c3
TZ
21692013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2170
2171 * progmodes/cfengine.el: Version bump.
2172 (cfengine-cf-promises): New defcustom to locate cf-promises.
2173 (cfengine3-vartypes): Add new "data" type.
2174 (cfengine3--current-word): New function to get current name-like
2175 word or its bounds.
2176 (cfengine3--current-function): New function to look up a CFEngine
2177 function's definition.
2178 (cfengine3-format-function-docstring): New function.
2179 (cfengine3-make-syntax-cache): New function.
2180 (cfengine3-documentation-function): New function: ElDoc glue.
2181 (cfengine3-completion-function): New function: completion glue.
2182 (cfengine3-mode): Set `compile-command',
2183 `eldoc-documentation-function', and add to
2184 `completion-at-point-functions'.
2185
355204dd
MA
21862013-11-16 Michael Albinus <michael.albinus@gmx.de>
2187
2188 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2189 `tramp-current-connection'.
2190
43cebc23
DG
21912013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2192
2193 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2194 nil/self/true/false with "end of symbol".
2195
a3fed6ff
BB
21962013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2197
2198 * subr.el (version-regexp-alist): Fix a typo.
2199
e675b3e4
MA
22002013-11-15 Michael Albinus <michael.albinus@gmx.de>
2201
2202 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2203 "en_US.utf8" and "LC_CTYPE" to "".
2204 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2205 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2206
a1f03e89
LL
22072013-11-15 Leo Liu <sdl.web@gmail.com>
2208
2209 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2210
5d9d9451
SM
22112013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2212
58362662
CS
2213 * progmodes/gud.el (ctl-x-map):
2214 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2215 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2216
6c1bf086
BB
22172013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2218
0d5363c4
BB
2219 * subr.el (version-regexp-alist):
2220 Recognize hg, svn and darcs versions as snapshot versions.
2221
4e9fc48c
BB
2222 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2223 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2224 (ruby--encoding-comment-required-p): Extract from
2225 `ruby-mode-set-encoding'.
2226 (ruby-mode-set-encoding): Add the ability to always insert an
2227 utf-8 encoding comment. Fix and simplify coding comment update
2228 logic.
6c1bf086 2229
2f7e72f8
MA
22302013-11-14 Michael Albinus <michael.albinus@gmx.de>
2231
2232 * net/tramp-gvfs.el (top): Run init code only when
2233 `tramp-gvfs-enabled' is not nil.
2234 (tramp-gvfs-enabled): Check also :system bus.
2235
0f137a73
SM
22362013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 Sync with upstream verilog-mode revision 78e66ba.
2239 * progmodes/verilog-mode.el (verilog-end-of-defun)
2240 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2241 (verilog-get-end-of-defun): Remove unused argument.
2242 (verilog-comment-depth): Remove unused local `e'.
2243 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2244 Don't pass arg to verilog-get-end-of-defun.
2245
1c276bdd
GM
22462013-11-14 Glenn Morris <rgm@gnu.org>
2247
2248 * obsolete/assoc.el (aget): Prefix dynamic variable.
2249
2250 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2251
ff6ec81d
SM
22522013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * widget.el, hfy-cmap.el: Remove bogus package version number.
2255
75f777b6
GM
22562013-11-13 Glenn Morris <rgm@gnu.org>
2257
1d43dba1
GM
2258 * replace.el (replace-eval-replacement):
2259 Try to give more helpful error message. (Bug#15836)
2260
ff4b7bd5
GM
2261 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2262 (archive-7z-update): Avoid custom type mismatches.
2263
75f777b6
GM
2264 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2265
11151a06
MA
22662013-11-13 Michael Albinus <michael.albinus@gmx.de>
2267
e675b3e4 2268 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2269 address can be empty.
2270
2271 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2272 Accept nil SWITCHES.
2273 (tramp-gvfs-handle-write-region): Implement APPEND.
2274
7b08f97e
DG
22752013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2276
2277 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2278 binary "|" operator and closing block args delimiter.
2279 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2280 (ruby-smie--implicit-semi-p): Not after "|" operator.
2281 (ruby-smie--closing-pipe-p): New function.
2282 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2283 (ruby-smie-rules): Indent after "|".
2284
f201cf3a
GM
22852013-11-12 Glenn Morris <rgm@gnu.org>
2286
2287 * ps-print.el (ps-face-attribute-list):
2288 Handle anonymous faces. (Bug#15827)
2289
e6f759f9
MR
22902013-11-12 Martin Rudalics <rudalics@gmx.at>
2291
2292 * window.el (display-buffer-other-frame): Fix doc-string.
2293 (Bug#15868)
2294
ecda65d4
SM
22952013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2298
7ce8fcc3
MA
22992013-11-11 Michael Albinus <michael.albinus@gmx.de>
2300
2301 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2302 (tramp-sh-handle-file-local-copy): Don't write a message when
2303 saving temporary files.
2304
2305 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2306 both directories are remote.
2307 (tramp-smb-handle-directory-files): Do not return double entries.
2308 Do not expand full file names.
2309 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2310 (tramp-smb-handle-write-region): Implement APPEND.
2311 (tramp-smb-get-stat-capability): Fix a stupid bug.
2312
7818df11
SM
23132013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2316
608c2085
NT
23172013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2318
2319 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2320 throwing error over malformed let/let* (bug#15814).
2321
122a7e46
SM
23222013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2323
2324 * iswitchb.el (iswitchb-mode): Mark obsolete.
2325
766284d9
GM
23262013-11-11 Glenn Morris <rgm@gnu.org>
2327
2328 * international/uni-bidi.el, international/uni-category.el:
2329 * international/uni-name.el, international/uni-numeric.el:
2330 Regenerate for Unicode 6.3.0.
2331
7072a4e9
MA
23322013-11-10 Michael Albinus <michael.albinus@gmx.de>
2333
2334 * net/tramp.el (tramp-methods):
2335 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2336 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2337
c9df215b
AS
23382013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2339
608c2085
NT
2340 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2341 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2342
fa47d796
DG
23432013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2344
2345 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2346 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2347 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2348 (ispell-complete-word): Call `ispell-lookup-words' with the value
2349 independent of `ispell-look-p'.
2350
1629a329
DG
23512013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2352
2353 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2354 Not after "||".
2355 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2356 their parent.
2357
ad16897c
SM
23582013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2359
2360 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2361 (ruby-font-lock-keywords): Use backquote.
2362
ffa2df72
DG
23632013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2364
2365 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2366 (ruby-smie--backward-token): Only consider full-string matches.
2367
5b97b4c0
JD
23682013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2369
2370 * faces.el (describe-face): Add distant-foreground.
2371
71731c03
BB
23722013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2373
4e9fc48c
BB
2374 * progmodes/ruby-mode.el: Improve encoding comment handling.
2375 (ruby-encoding-magic-comment-style): New option.
2376 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2377 (ruby--insert-coding-comment, ruby--detect-encoding):
2378 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2379 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2380 to control the style of the auto-inserted encoding comment.
71731c03 2381
da3b328d
DG
23822013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2383
ad16897c
SM
2384 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2385 Use `smie-backward-sexp' with token argument.
da3b328d 2386
1606c2d3
MA
23872013-11-08 Michael Albinus <michael.albinus@gmx.de>
2388
2389 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2390 Remove instrumentation code.
2391
b0f4c320
GM
23922013-11-08 Glenn Morris <rgm@gnu.org>
2393
2394 * progmodes/autoconf.el (autoconf-mode):
2395 Tweak comment-start-skip. (Bug#15822)
2396
43668fb1
SM
23972013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2400 at bobp (bug#15826).
2401 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2402
daddb3fd
DH
24032013-11-08 Darren Hoo <darren.hoo@gmail.com>
2404
2405 * man.el (Man-start-calling): New macro, extracted from
2406 Man-getpage-in-background.
2407 (Man-getpage-in-background): Use it.
2408 (Man-update-manpage): New command.
2409 (Man-mode-map): Bind it.
2410
1f923923
DG
24112013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2412
2413 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2414 of "and", "or", "&&" and "||".
2415 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2416 argument. Prohibit opening curly brace because it could only be a
2417 block opener in that position.
daddb3fd
DH
2418 (ruby-smie--forward-token, ruby-smie--backward-token):
2419 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2420 arguments.
2421 (ruby-smie--indent-to-stmt): New function, seeks the end of
2422 previous statement or beginning of buffer.
2423 (ruby-smie-rules): Use it.
2424 (ruby-smie-rules): Check if there's a ":" before a curly block
2425 opener candidate; if there is, it's a hash.
2426
3220d527
SM
24272013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2430 (cl--block-wrapper): Fix last accidental change.
2431
1eb1f9e0
MA
24322013-11-07 Michael Albinus <michael.albinus@gmx.de>
2433
2434 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2435 Instrument, in order to hunt failure on hydra.
2436
e6e4db3c
NT
24372013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2438
2439 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2440 malformed bindings form (bug#15814).
2441
b420ccfc
DG
24422013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2443
2444 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2445 "." compared to " @ ". This incidentally fixes some indentation
2446 examples with "do".
e6e4db3c 2447 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2448 (ruby-smie-grammar): New tokens: "and" and "or".
2449 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2450 Exclude "and" and "or". Remove "do" in order to work around token
2451 priorities.
2452 (ruby-smie-rules): Add all infix tokens. Handle the case of
2453 beginning-of-buffer.
b420ccfc 2454
6b4ac03e
GM
24552013-11-06 Glenn Morris <rgm@gnu.org>
2456
2457 * Makefile.in (setwins_almost, setwins_for_subdirs):
2458 Avoid accidental matches.
2459
5ca114d1
SM
24602013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2461
2462 * menu-bar.el (popup-menu): Use key-binding.
2463
f72552bd
EZ
24642013-11-06 Eli Zaretskii <eliz@gnu.org>
2465
2466 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2467 menus, support also the menus produced by minor modes.
2468 (Bug#15817)
2469
5d5c701e
LL
24702013-11-06 Leo Liu <sdl.web@gmail.com>
2471
2472 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2473 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2474
0a8b75e2
GM
24752013-11-06 Glenn Morris <rgm@gnu.org>
2476
2477 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2478 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2479 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2480
a35287ea
SM
24812013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2482
feca4e2d
SM
2483 * electric.el (electric-indent-just-newline): New command.
2484 (electric-indent-mode-map): New keymap.
2485 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2486 Re-add :group which weren't redundant.
2487
a35287ea
SM
2488 * electric.el (electric-indent-local-mode): New minor mode.
2489 (electric-indent-functions-without-reindent): New var.
2490 (electric-indent-post-self-insert-function): Use it.
2491 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2492
375761b2
EZ
24932013-11-05 Eli Zaretskii <eliz@gnu.org>
2494
9a6ad735
EZ
2495 * international/quail.el (quail-help): Be more explicit about the
2496 meaning of the labels shown on the keys. (Bug#15800)
2497
375761b2
EZ
2498 * startup.el (normal-top-level): Load the subdirs.el files before
2499 setting the locale environment. (Bug#15805)
2500
520a6e4a
SM
25012013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2502
0acfafef
SM
2503 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2504 via arguments so as to get the right ones (bug#15418).
2505
520a6e4a
SM
2506 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2507
15826261
MA
25082013-11-05 Michael Albinus <michael.albinus@gmx.de>
2509
2510 Fix problems found while writing a test suite.
2511
2512 * net/tramp-compat.el (tramp-compat-load): New defun.
2513 * net/tramp.el (tramp-handle-load): Use it.
2514
2515 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2516 "(numberp ok-if-already-exists)" correctly.
2517
d35f31a4
XF
25182013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2519
2520 * international/characters.el (glyphless-char-display-control):
2521 Add usage note.
2522
ae93bc74
BB
25232013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2524
520a6e4a
SM
2525 * progmodes/python.el (python-mode):
2526 * progmodes/scheme.el (scheme-mode):
2527 * progmodes/prolog.el (prolog-mode):
2528 * progmodes/ruby-mode.el (ruby-mode):
2529 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2530 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2531
0ade65b5
SM
25322013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2533
a0d5f7a4
SM
2534 * rect.el (rectangle--highlight-for-redisplay):
2535 * emacs-lisp/smie.el (smie--next-indent-change):
2536 Use buffer-chars-modified-tick.
2537
c93f3f5c
SM
2538 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2539
0ade65b5
SM
2540 * electric.el (electric-indent-post-self-insert-function):
2541 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2542
ef9dd188
HE
25432013-11-04 Helmut Eller <eller.helmut@gmail.com>
2544
2545 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2546
306e7308
NT
25472013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2548
2549 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2550 (bug#15786).
2551
e5afbcac
SM
25522013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2553
1d01ad41
SM
2554 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2555
e5afbcac
SM
2556 * progmodes/python.el: Fix up last change.
2557 (python-shell--save-temp-file): New function.
2558 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2559 `string' comes from the current buffer.
2560 (python-shell-send-string-no-output): Remove `msg' arg.
2561 (python--use-fake-loc): New var.
2562 (python-shell-buffer-substring): Obey it. Try to compensate for the
2563 extra coding line added by python-shell--save-temp-file.
2564 (python-shell-send-region): Use python-shell--save-temp-file and
2565 python-shell-send-file directly. Add `nomain' argument.
2566 (python-shell-send-buffer): Use python-shell-send-region.
2567 (python-electric-pair-string-delimiter): New function.
2568 (python-mode): Use it.
2569
d0065ff1
EZ
25702013-11-04 Eli Zaretskii <eliz@gnu.org>
2571
2572 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2573 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2574 environment and decoding all of the default-directory's to here
2575 from command-line.
2576 (command-line): Decode also argv[0].
2577
2578 * loadup.el: Error out if default-directory is a multibyte string
2579 when we are dumping.
2580
2581 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2582
7397c587
TZ
25832013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2584
2585 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2586 (package-menu--print-info, package-menu--archive-predicate):
2587 Add Archive column to package list.
7397c587 2588
b27cc9fc
MA
25892013-11-04 Michael Albinus <michael.albinus@gmx.de>
2590
2591 Fix problems found while writing a test suite.
2592
2593 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2594 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2595 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2596 to nil when running original file name handler. Otherwise,
2597 there are problems with constructs like "$$FOO".
2598
2599 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2600 for `localname'.
2601
d8c4f18a
BB
26022013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2603
7b530552
BB
2604 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2605
2606 * subr.el (version<, version<=, version=):
2607 Update docstrings with information for snapshot versions.
2608
d8c4f18a
BB
2609 * helpers.el: New library for misc helper functions.
2610 (hash-table-keys): New function returning a list of hash keys.
2611 (hash-table-values): New function returning a list of hash values.
2612
dca01b09
DG
26132013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2614
2615 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2616 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2617
0a749fa0
MN
26182013-11-04 Michal Nazarewicz <mina86@mina86.com>
2619
2620 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2621 checking whether point is after a 1-letter word.
2622
26232013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2624
2625 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2626 Don't infloop when expanding region over `multiline' syntax-type that
2627 begins a line (bug#15778).
2628
4aca7145
SM
26292013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2632 Make it into a proper minor mode.
2633 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2634 (rectangle-mark-mode-map): New keymap.
2635 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2636
a0833f62
GM
26372013-11-04 Glenn Morris <rgm@gnu.org>
2638
2639 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2640
e61845c1
SM
26412013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2642
2643 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2644 (ruby-smie-rules): Use smie-rule-parent instead.
2645
2646 * emacs-lisp/smie.el (smie-rule-parent): Always call
2647 smie-indent-virtual rather than only for hanging tokens.
2648 (smie--next-indent-change): New helper command.
2649
62942f89
GM
26502013-11-03 Glenn Morris <rgm@gnu.org>
2651
2652 * Makefile.in (abs_srcdir): Remove.
2653 (emacs): Unset EMACSLOADPATH.
2654
b0b9e592
GM
26552013-11-02 Glenn Morris <rgm@gnu.org>
2656
18ba6a33 2657 * Makefile.in (EMACS): Use a relative filename.
8061810d 2658 (abs_top_builddir): Remove.
18ba6a33
GM
2659 (custom-deps, finder-data, autoloads): Use --chdir.
2660
6a8b929e
GM
2661 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2662
c617f3d0
GM
2663 Use relative filenames in TAGS files.
2664 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2665 (lisptagsfiles4, TAGS): Use relative file names.
2666 (TAGS-LISP): Remove.
2667 (maintainer-clean): No more TAGS-LISP file.
2668
b0b9e592
GM
2669 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2670 (lisptagsfiles4): Use absolute filenames again.
2671 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2672 Remove all *loaddefs files, not just the first. Remove esh-groups.
2673 (maintainer-clean): Delete TAGS, TAGS-LISP.
2674
d1c0ea6a
BB
26752013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2676
e61845c1
SM
2677 * emacs-lisp/package.el (package-version-join):
2678 Recognize snapshot versions.
d1c0ea6a 2679
684d71c6
BB
26802013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2681
2682 * subr.el (version-regexp-alist): Add support for snapshot versions.
2683
3d42b968
DG
26842013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2685
e61845c1
SM
2686 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2687 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2688 skip over our direct parent if it's an assignment token..
2689 (ruby-smie-rules): Use it.
2690
7ffd3721
DG
26912013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2692
8449dd1f 2693 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2694 unconditionally. Remove now unnecessary forward declarations.
2695 Remove XEmacs-specific setup.
2696 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2697 (ruby-font-lock-syntactic-keywords)
2698 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2699 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2700 (ruby-here-doc-end-syntax): Remove.
2701 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2702 defined as function.
2703
a3996a2e
BB
27042013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2705
2706 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2707
6f9260e8
BB
27082013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2709
2710 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2711 table and abbrev table, `define-derived-mode' does that for us
2712 anyway.
2713
6014de84
GM
27142013-11-01 Glenn Morris <rgm@gnu.org>
2715
2716 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2717 files is atomic for some time, so no parallel compilation issues).
2718
3c334c14
JD
27192013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2720
2721 * faces.el (face-x-resources): Add :distant-foreground.
2722 (region): Use :distant-foreground for gtk and ns.
2723
9bc236c8
TH
27242013-11-01 Tassilo Horn <tsdh@gnu.org>
2725
5246583b 2726 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2727 BibTeX.
2728 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2729 (reftex-locate-bibliography-files): Us it.
2730
d14c81ee
CB
27312013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2732
0e7690de
CB
2733 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2734 allow comments in pbm files.
2735
d14c81ee
CB
2736 * term/w32-win.el (dynamic-library-alist): Support newer versions
2737 of libjpeg starting with v7: look only for the DLL from the
2738 version against which Emacs was built.
ac1bf374 2739 Support versions of libpng beyond 1.4.x.
019c8218 2740 Support libtiff v4.x.
d14c81ee 2741
983d0df5
BB
27422013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2743
2744 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2745 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2746 Add property :safe.
2747 (ruby-deep-arglist): Add property :type.
2748
47f58d85
GM
27492013-10-31 Glenn Morris <rgm@gnu.org>
2750
2751 * Makefile.in (custom-deps, finder-data): No need to setq the target
2752 variables, we are in the right directory and the defaults work fine.
2753
4f85b479
GM
27542013-10-30 Glenn Morris <rgm@gnu.org>
2755
ca7dd4cd
GM
2756 * Makefile.in (autoloads): Do not use abs_lisp.
2757
4f85b479
GM
2758 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2759 `newline' does not respect `standard-output', so use `princ'.
2760
cf59e41c
AA
27612013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2762
2763 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2764 * buff-menu.el (Buffer-menu--unmark): New function.
2765 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2766
74cf04fb
GM
27672013-10-30 Glenn Morris <rgm@gnu.org>
2768
b040b60e
GM
2769 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2770
f53d3815
GM
2771 * emacs-lisp/package.el (lm-homepage): Declare.
2772
5413d873
GM
2773 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2774 Fix doc typos.
2775
cecedb36
GM
2776 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2777
74cf04fb
GM
2778 * Makefile.in (finder-data, autoloads, update-subdirs)
2779 (compile-main, compile-clean, compile-always, bootstrap-clean):
2780 Check return value of cd.
2781 (compile-calc): Remove.
2782
195ee2f0
SM
27832013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2784
ae4002ce
SM
2785 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2786
2787 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2788 (byte-compile-and-folded): New function.
2789 (=, <, >, <=, >=): Use it.
2790
2791 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2792 (path-separator, null-device, buffer-file-coding-system)
2793 (lpr-headers-switches): Check system-type before modifying them.
2794 (find-buffer-file-type-coding-system): Mark obsolete.
2795 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2796 find-file-not-found-set-buffer-file-coding-system.
2797 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2798 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2799 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2800 (w32-direct-print-region-helper, w32-direct-print-region-function)
2801 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2802 * startup.el (normal-top-level-add-subdirs-to-load-path):
2803 * ps-print.el (ps-print-region-function):
2804 * lpr.el (print-region-function): Use new name.
2805
53b39e89
SM
2806 * subr.el (custom-declare-variable-early): Remove function.
2807 (custom-declare-variable-list): Remove var.
2808 (error, user-error): Remove `while' loop.
2809 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2810 (user-emacs-directory-warning, locate-user-emacs-file):
2811 Move to files.el.
2812 * simple.el (read-quoted-char-radix, read-quoted-char):
2813 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2814 Move from subr.el.
2815 * custom.el (custom-declare-variable-list): Don't process
2816 custom-declare-variable-list.
2817
195ee2f0
SM
2818 * progmodes/python.el (python-shell-get-buffer): New function.
2819 (python-shell-get-process): Use it.
2820 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2821 Python which encoding was used. Don't split-string since we only care
2822 about the first line. Return the temp-file, if applicable.
2823 (python-shell-send-region): Tell compile.el how to turn locations in
2824 the temp-file into locations in the source buffer.
2825
7e3561ee
SM
28262013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2827
4c9797cb
SM
2828 * subr.el (undefined): Add missing behavior from the C code for
2829 unbound keys.
2830
3472b6c6
SM
2831 * rect.el: Use lexical-binding. Add new rectangular region support.
2832 (rectangle-mark): New command.
2833 (rectangle--region): New var.
2834 (deactivate-mark-hook): Reset rectangle--region.
2835 (rectangle--extract-region, rectangle--insert-for-yank)
2836 (rectangle--highlight-for-redisplay)
2837 (rectangle--unhighlight-for-redisplay): New functions.
2838 (region-extract-function, redisplay-unhighlight-region-function)
2839 (redisplay-highlight-region-function): Use them to handle
2840 rectangular region.
2841 * simple.el (region-extract-function): New var.
2842 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2843 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2844 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2845 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2846 (redisplay-unhighlight-region-function)
2847 (redisplay-highlight-region-function): New vars.
2848 (redisplay--update-region-highlight): New function.
2849 (pre-redisplay-function): Use it.
2850 (exchange-point-and-mark): Don't deactivate the mark before
2851 reactivate-it anyway.
2852 * comint.el (comint-kill-region): Remove yank-handler argument.
2853 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2854 (delete-char): Remove property, since it's now part of their
2855 default behavior.
2856 (self-insert-iso): Remove property since this command doesn't exist.
2857
7e3561ee
SM
2858 * emacs-lisp/package.el (package--download-one-archive)
2859 (describe-package-1): Don't query the user about final newline.
2860
b9bef71f
DC
28612013-10-29 Daniel Colascione <dancol@dancol.org>
2862
2863 * net/tramp.el (tramp-methods): Document new functionality.
2864 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2865 tramp-hostname-checker if method provides one instead of scanning
2866 argument list for "%h" to decide hostname acceptability.
2867
4efc33f0
MA
28682013-10-28 Michael Albinus <michael.albinus@gmx.de>
2869
2870 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2871 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2872 Handle COPY-CONTENTS. (Bug#15737)
2873
ed42a877
DU
28742013-10-28 Daiki Ueno <ueno@gnu.org>
2875
2876 * epa-file.el
7e3561ee
SM
2877 (epa-file-cache-passphrase-for-symmetric-encryption):
2878 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2879
18c9f8a2
XF
28802013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2881
7a4bc7be
XF
2882 * image.el (defimage):
2883 (image-load-path): Doc fixes.
18c9f8a2 2884
b1e8e010
AM
28852013-10-27 Alan Mackenzie <acm@muc.de>
2886
2887 Indent statements in macros following "##" correctly.
7e3561ee
SM
2888 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2889 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2890
73d40d1e 28912013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2892
2893 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2894
c8c605ac
DG
28952013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2896
2897 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2898 after `=' is probably a new expression.
2899
ca7e59d4
RS
29002013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2901
2902 * man.el (man-imenu-title): New option.
2903 (Man-mode-map): Add menu. (Bug#15722)
2904 (Man-mode): Add imenu to menu.
2905
bae91342
DG
29062013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2907
2908 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2909 specific in what the first arg can be: a non-keyword word,
2910 string/regexp/percent literal opener, opening paren, or unary
2911 operator followed directly by word.
2912
eb89dc14
SM
29132013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2914
2915 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2916 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2917 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2918 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2919 Remove vars, they do not apply any more.
2920 (prolog-mode-abbrev-table): Remove redundant declaration.
2921 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2922 (prolog-use-smie): Remove.
2923 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2924 supported by prolog-electric-if-then-else-flag.
2925 (prolog-mode-variables, prolog-menu): Use setq-local.
2926 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2927 Remove binding to `Backspace' since this key doesn't exist anyway.
2928 Remove bindings for electric self-inserting keys.
2929 (prog-mode): Assume it's defined.
2930 (prolog-post-self-insert): New function.
2931 (prolog-mode): Use it.
2932 (prolog-indent-line, prolog-indent-level)
2933 (prolog-find-indent-of-matching-paren)
2934 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2935 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2936 (prolog-goto-next-paren, prolog-in-string-or-comment)
2937 (prolog-tokenize, prolog-inside-mline-comment)
2938 (prolog-find-start-of-mline-comment): Remove functions.
2939 (prolog-find-unmatched-paren, prolog-clause-end)
2940 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2941 (prolog-electric--if-then-else): Rename from
2942 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2943 (prolog-tokenize-searchkey): Remove const.
2944 (prolog-clause-info): Use forward-sexp.
2945 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2946 (prolog-electric-if-then-else): Remove commands.
2947 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2948 for use in post-self-insert-hook.
2949 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2950 for use in post-self-insert-hook.
2951 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2952 for use in post-self-insert-hook.
2953 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2954 adapt it for use in post-self-insert-hook.
2955
3dab0a83
MA
29562013-10-25 Michael Albinus <michael.albinus@gmx.de>
2957
2958 * emacs-lisp/ert.el (ert-run-tests-interactively):
2959 Use `completing-read'. (Bug#9756)
2960
fbfd0e1d
EZ
29612013-10-25 Eli Zaretskii <eliz@gnu.org>
2962
2963 * simple.el (line-move): Call line-move-1 instead of
2964 line-move-visual when the current window hscroll is zero, but
2965 temporary-goal-column indicates we will need to hscroll as result
2966 of the movement. (Bug#15712)
2967
963ce636
DG
29682013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2969
2970 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2971 capitalization. Use :visible instead of :active.
2972 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2973 commands that are used with SMIE.
2974 (ruby-do-end-to-brace): Insert space after `{'.
2975
a0be396a
JA
29762013-10-25 John Anthony <john@jo.hnanthony.com>
2977
f73754c9
JA
2978 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2979
2980 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2981
f5bf77df
GM
29822013-10-25 Glenn Morris <rgm@gnu.org>
2983
2984 * vc/vc.el (vc-print-log): Don't use a working revision unless
2985 one was explicitly specified. (Bug#15322)
2986
37241f62
SM
29872013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * subr.el (add-to-list): Preserve return value in compiler-macro
2990 (bug#15692).
2991
6408a65d
RS
29922013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2993
2994 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2995 result. Ask user to retry using '-all' flag. (Bug#15701)
2996
71e3276b
SM
29972013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2998
2999 * emacs-lisp/smie.el: New smie-config system.
3000 (smie-config): New defcustom.
3001 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3002 (smie-config-guess, smie-config-save): New commands.
3003 (smie-config--mode-local, smie-config--buffer-local)
3004 (smie-config--trace, smie-config--modefuns): New vars.
3005 (smie-config--advice, smie-config--mode-hook)
3006 (smie-config--setter, smie-config-local, smie-config--get-trace)
3007 (smie-config--guess-value, smie-config--guess): New functions.
3008 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3009 text properties. Treat "string fence" syntax like string syntax.
3010
3011 * progmodes/sh-script.el (sh-use-smie): Change default.
3012 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3013 (sh-var-value): Simplify by CSE.
3014 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3015 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3016 is used.
3017 (sh-guess-basic-offset): Use cl-incf.
3018 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3019
60db713e
HE
30202013-10-24 Helmut Eller <eller.helmut@gmail.com>
3021
3022 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3023 (bug#15699).
3024
8b251df6
GM
30252013-10-24 Glenn Morris <rgm@gnu.org>
3026
3027 * Makefile.in (abs_top_srcdir): Remove.
3028 (update-subdirs): Use relative path to update-subdirs.
3029
6be0e22b
EZ
30302013-10-24 Eli Zaretskii <eliz@gnu.org>
3031
3032 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3033 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3034 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3035 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3036
50b5b857
MA
30372013-10-24 Michael Albinus <michael.albinus@gmx.de>
3038
3039 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3040 (ert-test-skipped): New error.
3041 (ert-skip, ert-stats-skipped): New defuns.
3042 (ert--skip-unless): New macro.
3043 (ert-test-skipped): New struct.
3044 (ert--run-test-debugger, ert-test-result-type-p)
3045 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3046 (ert--stats-set-test-and-result, ert-char-for-test-result)
3047 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3048 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3049 Handle skipped tests. (Bug#9803)
50b5b857 3050
6f317c2f
GM
30512013-10-24 Glenn Morris <rgm@gnu.org>
3052
e43817c1
GM
3053 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3054
6f317c2f
GM
3055 * Makefile.in (abs_top_srcdir): New, set by configure.
3056 (update-subdirs): Correct build-aux location.
3057
369bbf71
DG
30582013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3059
8297b2cf
DG
3060 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3061 value, whether we could auto-deduce `backend', or not.
3062
369bbf71
DG
3063 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3064 with parameters" example. Simplify the "is it block or is it
3065 hash" check, but also make it more thorough.
3066
d5f1282f
MF
30672013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3068
3069 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3070
bc4aaa31
SM
30712013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3072
03d44565
SM
3073 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3074 { if it is hanging.
3075
bc4aaa31
SM
3076 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3077 :before ";".
3078
f493ff19
JB
30792013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3080
3081 * progmodes/compile.el (compilation-directory-matcher)
3082 (compilation-page-delimiter):
3083 Support GNU Make-4.0 directory quoting. (Bug#15678)
3084
c744a3b9
LL
30852013-10-23 Leo Liu <sdl.web@gmail.com>
3086
3087 * ido.el (ido-tidy): Handle read-only text.
3088
b8e3b0a9
GM
30892013-10-23 Glenn Morris <rgm@gnu.org>
3090
3091 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3092 (emacs, compile, compile-always):
3093 Quote entities that might contain whitespace.
3094 (custom-deps, finder-data, autoloads): Use abs_lisp.
3095 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3096 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3097 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3098
ee4282cd
DG
30992013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3100
bc4aaa31
SM
3101 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3102 Use `following-char'.
7790a270 3103
ee4282cd 31042013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3105
3106 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3107 * progmodes/ruby-mode.el (ruby-smie-rules):
3108 Remove corresponding workaround. Fix indentation rule of ";" so it
3109 also applies when ";" is the parent.
3110
d40a46d7
XF
31112013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3112
3113 * frame.el (display-screens, display-pixel-height)
3114 (display-pixel-width, display-mm-width, display-backing-store)
3115 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3116 (display-visual-class, display-monitor-attributes-list):
3117 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3118
a0f143c9
MG
31192013-10-22 Michael Gauland <mikelygee@amuri.net>
3120
3121 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3122 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3123
18cacc39
DG
31242013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3125
3126 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3127 TODO. Add "." after " @ ".
3128 (ruby-smie--at-dot-call): New function. Checks if point at method
3129 call with explicit target.
3130 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3131 to the method name tokens when it precedes them.
3132 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3133 (ruby-smie-rules): Add rule for indentation before and after "."
3134 token.
3135
df74c4be
SM
31362013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3137
c6dab55f
SM
3138 * textmodes/remember.el (remember-diary-extract-entries):
3139 Avoid add-to-list.
3140
df74c4be
SM
3141 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3142 an instruction.
3143
8c1ae481
DG
31442013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3145
e9dc713d
JB
3146 * progmodes/ruby-mode.el (ruby-smie-grammar):
3147 Add (almost) all infix operators.
cfef16c0
DG
3148 (ruby-smie--implicit-semi-p): Add new operator chars.
3149
8c1ae481
DG
3150 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3151 `smie-down-list'.
3152 (ruby-smie--args-separator-p): Check that there's no newline
3153 between method call and its arguments.
3154
87756ca9
AM
31552013-10-20 Alan Mackenzie <acm@muc.de>
3156
3157 Allow comma separated lists after Java "implements".
3158
df74c4be
SM
3159 * progmodes/cc-engine.el (c-backward-over-enum-header):
3160 Parse commas.
87756ca9
AM
3161 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3162 from a "disallowed" list in enum fontification.
3163
c25f8957
JB
31642013-10-20 Johan Bockgård <bojohan@gnu.org>
3165
df74c4be 3166 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3167
c25f8957
JB
3168 * progmodes/verilog-mode.el (verilog-mode): Don't set
3169 comment-indent-function globally.
3170
aca5fcdc
JD
31712013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3172
5f161884
JD
3173 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3174 Move Info menu item creation to ns-win.el.
3175
3176 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3177 in menu bar.
3178
aca5fcdc
JD
3179 * menu-bar.el: Move GNUStep specific menus...
3180
3181 * term/ns-win.el (ns-initialize-window-system): ... to here.
3182
914b7f98
SM
31832013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * simple.el (newline): Only run post-self-insert-hook when
3186 called interactively.
3187
846ffe77
JB
31882013-10-19 Johan Bockgård <bojohan@gnu.org>
3189
3190 * icomplete.el (icomplete-with-completion-tables): Add :version.
3191
033f22dd
AM
31922013-10-19 Alan Mackenzie <acm@muc.de>
3193
3194 Fix fontification bugs with constructors and const.
3195
3196 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3197 CASE 2) Remove the check for the absence of a suffix construct
3198 after a function declaration with only types (no identifiers) in
3199 the parentheses. Also, accept a function declaration with just a
3200 type inside the parentheses, if this type can be positively
3201 recognised as such, or if a prefix keyword like "explicit" nails
3202 down the construct as a declaration.
3203
58ce0cfc
EZ
32042013-10-19 Eli Zaretskii <eliz@gnu.org>
3205
3206 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3207 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3208 the problem whereby selecting a menu item that leads to a
3209 minibuffer prompt moves the cursor out of the minibuffer window,
3210 making it hard to type at the prompt. Suggested by Stefan Monnier
3211 <monnier@iro.umontreal.ca>.
3212
50e28e7d
JD
32132013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3214
3215 * menu-bar.el: Don't make Services menu.
3216
7deed4bf
RS
32172013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3218
3219 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3220 (ffap-alist): Use ffap-c++-mode for c++-mode.
3221 (ffap-c++-path): New variable.
3222 (ffap-c++-mode): New function.
3223
7bcb455b
JVJ
32242013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3225
3226 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3227
f0ff1cd5
MA
32282013-10-18 Michael Albinus <michael.albinus@gmx.de>
3229
3230 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3231 introduced on 2013-09-08, which results in an infinite loop
3232 requesting a password.
3233
d64da4b7
GM
32342013-10-18 Glenn Morris <rgm@gnu.org>
3235
3236 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3237
ea89ff08
WS
32382013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3239
3240 Sync with upstream verilog-mode revision 1a6ecec7.
3241 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3242 (verilog-mode-release-date): Remove.
3243 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3244 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3245 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3246 (verilog-auto-tieoff-ignore-regexp)
3247 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3248 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3249 (verilog-signals-with, verilog-dir-cache-preserving)
3250 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3251 Doc fixes.
3252 (verilog-case-fold): New option, to control case folding in
3253 regexp searches, bug597.
3254 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3255 (verilog-string-match-fold, verilog-in-paren-count)
3256 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3257 (verilog-at-close-struct-p): New functions.
3258 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3259 (verilog-forward-sexp, verilog-set-auto-endcomments):
3260 (verilog-leap-to-case-head): Handle "unique0" case.
3261 (verilog-in-constraint-re): New constant.
3262 (verilog-keywords, verilog-type-font-keywords):
3263 Add some SystemVerilog 1800-2012 keywords.
3264 (verilog-label-be): Remove unimplemented argument, bug669.
3265 (verilog-batch-execute-func): When batch expanding clear
3266 create-lockfiles to prevent spurious user locks when a file ends
3267 up not changing.
3268 (verilog-calculate-indent, verilog-calc-1)
3269 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3270 (verilog-do-indent): Fix indentation of nested constraints
3271 and structures.
3272 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3273 (verilog-auto-inst-param): Use verilog-string-match-fold.
3274 (verilog-read-inst-module-matcher):
3275 Fix AUTOINST on gate primitives with #1.
3276 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3277 Reads all user-defined typed variables.
3278 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3279 (verilog-signals-matching-regexp)
3280 (verilog-signals-not-matching-regexp, verilog-auto):
3281 Respect verilog-case-fold.
3282 (verilog-diff-report): Fix line count.
3283 (verilog-auto-assign-modport): Remove unused local `modi'.
3284 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3285 better handle multidimensional arrays.
3286 Fix packed array ports misadding bit index in AUTOINST, bug637.
3287 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3288 to not double-declare existing outputs and inputs, respectively.
3289 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3290 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3291 (verilog-sk-uvm-component): New skeleton.
3292 (verilog-submit-bug-report): Add verilog-case-fold,
3293 remove verilog-mode-release-date.
3294
ef566920
BR
32952013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3296
3297 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3298 as before.
3299
29df8a0b
RT
33002013-10-18 Reuben Thomas <rrt@sc3d.org>
3301
e0eb0550 3302 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3303 remember buffers (bug#13566).
3304
04a19a79
DC
33052013-10-18 Daniel Colascione <dancol@dancol.org>
3306
3307 When evaluating forms in ielm, direct standard output to ielm
3308 buffer. Add new ielm-return-for-effect command. Remove trailing
3309 whitespace throughout.
3310
3311 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3312 (ielm-return-for-effect): New command.
3313 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3314 (ielm-eval-input): Accept optional `for-effect' parameter.
3315 Bind `standard-output' to stream we create using
04a19a79
DC
3316 `ielm-standard-output-impl'. Suppress printing result when
3317 `for-effect'.
3318 (ielm-standard-output-impl): New function.
3319 (inferior-emacs-lisp-mode): Explain new features in documentation.
3320
4c1f03ef
MA
33212013-10-17 Michael Albinus <michael.albinus@gmx.de>
3322
3323 Code cleanup.
3324
3325 * net/tramp.el (tramp-debug-message): Do not check for connection
3326 buffer.
3327 (tramp-message): Use "vector" connection property.
3328
3329 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3330 (tramp-equal-remote, tramp-eshell-directory-change)
3331 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3332 (tramp-adb-handle-rename-file)
3333 * net/tramp-cmds.el (tramp-list-remote-buffers)
3334 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3335 * net/tramp-compat.el (tramp-compat-process-running-p)
3336 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3337 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3338 (tramp-gvfs-handle-rename-file)
3339 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3340 (tramp-set-file-uid-gid)
3341 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3342 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3343 of `file-remote-p'.
3344
3345 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3346 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3347 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3348 (tramp-gw-open-network-stream): Suppress unrelated traces.
3349
3350 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3351 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3352 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3353 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3354 connection property.
3355
3356 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3357 persistency file.
4c1f03ef
MA
3358
3359 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3360 Refactor common code. Improve debug message.
3361 (tramp-maybe-open-connection)
3362 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3363 connection buffer too early.
3364
3365 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3366 from `tramp-smb-actions-with-acl'.
3367 (tramp-smb-actions-set-acl): New defconst.
3368 (tramp-smb-handle-copy-directory)
3369 (tramp-smb-action-get-acl): New defun, renamed from
3370 `tramp-smb-action-with-acl'.
3371 (tramp-smb-action-set-acl): New defun.
3372 (tramp-smb-handle-set-file-acl): Rewrite.
3373
642eb8b6
GM
33742013-10-17 Glenn Morris <rgm@gnu.org>
3375
3376 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3377
85527ff3
SM
33782013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3379
921c1d62
SM
3380 * skeleton.el (skeleton-newline): Remove.
3381 (skeleton-internal-1): Use (insert "\n") instead.
3382
e333fb10
SM
3383 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3384 let-bindings.
3385
85527ff3
SM
3386 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3387 forward-sexp-function while we redo its job (bug#15613).
3388
c8722a97
JB
33892013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3390
3391 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3392 represented by lists.
3393
7a550bbb
GM
33942013-10-16 Glenn Morris <rgm@gnu.org>
3395
3396 * tmm.el (tmm--history): New dynamic variable.
3397 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3398
f19da8ad
MA
33992013-10-16 Michael Albinus <michael.albinus@gmx.de>
3400
3401 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3402 (tramp-smb-errors): Add error messages.
3403 (tramp-smb-actions-with-acl): New defconst.
3404 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3405 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3406 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3407 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3408 (tramp-smb-get-stat-capability): Fix tests.
3409
a24b9961
DK
34102013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3411
3412 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3413 (bug#15580).
3414
62ad85e6
GM
34152013-10-16 Glenn Morris <rgm@gnu.org>
3416
0283d6b0
GM
3417 * ansi-color.el (ansi-color-drop-regexp):
3418 Add 1J, 1K, 2K. (Bug#15617)
3419
012e2f9f
GM
3420 * files.el (hack-local-variables--warned-lexical): New.
3421 (hack-local-variables):
3422 Warn about misplaced lexical-binding. (Bug#15616)
3423
62ad85e6
GM
3424 * net/eww.el (eww-render): Always set eww-current-url,
3425 and update header line. (Bug#15622)
3426 (eww-display-html): ... Rather than just doing it here.
3427
6456c0ea
EZ
34282013-10-15 Eli Zaretskii <eliz@gnu.org>
3429
3430 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3431 menu navigations commands.
3432
c2de5588
DK
34332013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3434
3435 * progmodes/subword.el (subword-capitalize): Be careful when
3436 the search for [[:alpha:]] fails (bug#15580).
3437
ccd4a783
EZ
34382013-10-14 Eli Zaretskii <eliz@gnu.org>
3439
3440 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3441 to commands that scroll the menu.
3442
1eda1d8d
DG
34432013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3444
c2de5588
DK
3445 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3446 Handle methods ending with `?' and `!'.
1eda1d8d 3447
e70181b8
AM
34482013-10-14 Akinori MUSHA <knu@iDaemons.org>
3449
3450 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3451 `japanese-cp932' to `cp932' to fix the problem where saving a
3452 source file written in Shift_JIS twice would end up having
3453 `coding: japanese-cp932' which Ruby could not recognize.
3454 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3455 in `ruby-encoding-map'.
3456 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3457 doesn't need to be explicitly declared in magic comment.
3458 (ruby-encoding-map): Add type declaration for better customize UI.
3459
9148ee92
GM
34602013-10-13 Glenn Morris <rgm@gnu.org>
3461
a5d38e34
GM
3462 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3463 Occur buffers are read-only. http://bugs.debian.org/720775
3464
9148ee92
GM
3465 * emacs-lisp/authors.el (authors-fixed-entries):
3466 Comment out old alpha stuff.
3467
a9ba094b
DG
34682013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3469
3470 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3471 to `after-save-hook' instead of `before-save-hook'.
3472 (ruby-mode-set-encoding): Use the value of coding system used to
3473 write the file. Call `basic-save-buffer-1' after modifying the
3474 buffer.
3475
7a068717
AM
34762013-10-13 Alan Mackenzie <acm@muc.de>
3477
3478 Fix indentation/fontification of Java enum with
3479 "implements"/generic.
3480
c2de5588
DK
3481 * progmodes/cc-engine.el (c-backward-over-enum-header):
3482 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3483 (c-inside-bracelist-p): Uses new function above.
3484 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3485 function above.
3486 (c-font-lock-enum-tail): Uses new function above.
3487
85b64f02
KH
34882013-10-13 Kenichi Handa <handa@gnu.org>
3489
3490 * international/mule-cmds.el (select-safe-coding-system): Remove a
3491 superfluous condition in chekcing whether a coding system is safe
3492 or not.
3493
fc7f501b
OK
34942013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3495
3496 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3497
fdcb2049
AP
34982013-10-13 Andreas Politz <politza@hochschule-trier.de>
3499
3500 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3501
8c106d17
GM
35022013-10-13 Glenn Morris <rgm@gnu.org>
3503
feab892d
GM
3504 * menu-bar.el (menu-bar-update-buffers):
3505 Unify Buffers menu prompt string. (Bug#15576)
3506
b22d0686
GM
3507 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3508
8c106d17
GM
3509 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3510 Add some entries.
3511 (authors-fixed-entries): Use accented form of name.
3512
1b12c797
SM
35132013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3514
650fa7bf 3515 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3516 method calls (bug#15594).
650fa7bf
SM
3517 (ruby-smie--args-separator-p): New function.
3518 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3519 recognize paren-free method calls.
3520
1b12c797
SM
3521 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3522 internals of universal-argument.
3523
029619c8
EZ
35242013-10-11 Eli Zaretskii <eliz@gnu.org>
3525
3526 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3527 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3528 dropped menu on second mouse click on the menu bar.
029619c8 3529
dd070019
SM
35302013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3533 (explicit-shell-file-name): Declare.
3534 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3535 (sh-completion-at-point-function): New function.
3536 (sh-mode): Use it.
3537 (sh-smie--keyword-p): Remove unused argument.
3538 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3539 vars.
3540 (sh-set-shell): Always setup SMIE, even if we use the
3541 old indentation code.
3542
0922b826
DG
35432013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3544
b68e2926
DG
3545 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3546 cases of ? and =.
3547 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3548 predicate would return nil are almost non-existent.
3549 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3550
0922b826
DG
3551 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3552 cache also after commands that modify the buffer but don't move
3553 point.
3554
ee041f2d
SM
35552013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3556
3557 * env.el (substitute-env-in-file-name): New function.
3558 (substitute-env-vars): Extend the meaning of the optional arg.
3559
a5dab159
EZ
35602013-10-10 Eli Zaretskii <eliz@gnu.org>
3561
3562 * term/w32-win.el (dynamic-library-alist): Define separate lists
3563 of GIF DLLs for versions before and after 5.0.0 of giflib.
3564 (Bug#15531)
3565
0449d6cd 35662013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3567
3568 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3569 not locked, use last revision and current source as
3570 defaults. (Bug#15569)
3571
2f6e161e
MY
35722013-10-10 Masatake YAMATO <yamato@redhat.com>
3573
3574 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3575 menu-bar is hidden.
3576
6c8413fc
MR
35772013-10-10 Martin Rudalics <rudalics@gmx.at>
3578
3579 * window.el (pop-to-buffer-same-window): Fix doc-string.
3580 (Bug#15492)
3581
20832de0
SM
35822013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3585
c6e8ae77
AC
35862013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3587
3588 * calendar/icalendar.el (icalendar-import-file):
3589 Fix interactive spec. (Bug#15482)
3590
9db13baf
GM
35912013-10-10 Glenn Morris <rgm@gnu.org>
3592
9271e90e
GM
3593 * desktop.el (desktop-save): Default to saving in .emacs.d,
3594 since PWD is no longer in desktop-path by default. (Bug#15319)
3595
9db13baf
GM
3596 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3597 now that text mode has a menu with the same entry.
3598 (menu-bar-text-mode-auto-fill): Remove now unused func.
3599 * textmodes/text-mode.el (text-mode-map):
3600 Use auto-fill help text from menu-bar.el.
3601
a0be396a 36022013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3603
3604 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3605
2edcd3c7
JL
36062013-10-09 Juri Linkov <juri@jurta.org>
3607
3608 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3609 instead of this-command-keys. Add universal-argument-more and
3610 universal-argument-minus to the list of prefix commands. (Bug#15568)
3611
574411d0
GM
36122013-10-09 Glenn Morris <rgm@gnu.org>
3613
14afa541
GM
3614 * vc/vc-svn.el (vc-svn-create-repo):
3615 Expand paths in file://... url. (Bug#15446)
3616
574411d0
GM
3617 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3618 Add some entries.
3619 (authors): Remove unused local variables.
3620
79804536
SM
36212013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3622
3623 * profiler.el: Create a more coherent calltree from partial backtraces.
3624 (profiler-format): Hide the tail with `invisible' so that C-s can still
3625 find the hidden elements.
3626 (profiler-calltree-depth): Don't recurse so enthusiastically.
3627 (profiler-function-equal): New hash-table-test.
3628 (profiler-calltree-build-unified): New function.
3629 (profiler-calltree-build): Use it.
3630 (profiler-report-make-name-part): Indent the calltree less.
3631 (profiler-report-mode): Add visibility specs for profiler-format.
3632 (profiler-report-expand-entry, profiler-report-toggle-entry):
3633 Expand the whole subtree when provided with a prefix arg.
3634
238150c8
DG
36352013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3636
3637 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3638 iuwu-mod token.
3639 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3640 hanging iuwu-mod token.
3641 (ruby-smie--forward-token): Do not include a dot after a token in
3642 that token.
3643 (ruby-smie--backward-token): Likewise.
3644
b0949cc4
JL
36452013-10-08 Juri Linkov <juri@jurta.org>
3646
3647 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3648 to isearch-other-control-char.
3649 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3650 and isearch-post-command-hook to post-command-hook.
3651 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3652 and isearch-post-command-hook from post-command-hook.
3653 (isearch-unread-key-sequence)
3654 (isearch-reread-key-sequence-naturally)
3655 (isearch-lookup-scroll-key, isearch-other-control-char)
3656 (isearch-other-meta-char): Remove functions.
3657 (isearch-pre-command-hook, isearch-post-command-hook):
3658 New functions based on isearch-other-meta-char rewritten
3659 relying on the new behavior of overriding-terminal-local-map
3660 that does not replace the local keymaps any more. (Bug#15200)
3661
4ed77415
EZ
36622013-10-08 Eli Zaretskii <eliz@gnu.org>
3663
3664 Support menus on text-mode terminals.
3665 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3666 functionality.
3667
3668 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3669
c2de5588
DK
3670 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3671 Move here from mouse.el.
4ed77415
EZ
3672 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3673 and arrow keys.
3674 (tty-menu-navigation-map): New map for TTY menu navigation.
3675
3676 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3677
3678 * frame.el (display-mouse-p): Report text-mode mouse as available
3679 on w32.
3680 (display-popup-menus-p): Report availability if mouse is
3681 available; don't condition on window-system.
3682
3683 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3684 (tty-menu-selected-face): New faces.
3685
b7d5bd82
TL
36862013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3687
06286513
SM
3688 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3689 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3690 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3691 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3692 New constants.
3693 (lisp-mode-variables): New `elisp' argument.
3694 (emacs-lisp-mode): Use it.
3695 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3696 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3697
b7d5bd82
TL
3698 * indent.el: Use lexical-binding.
3699 (indent-region): Add progress reporter.
3700 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3701 last step.
3702 (indent--next-tab-stop): New function to implement this behavior.
3703 (tab-to-tab-stop, move-to-tab-stop): Use it.
3704
37052013-10-08 Teemu Likonen <tlikonen@iki.fi>
3706
3707 * indent.el (indent-rigidly--current-indentation): New function.
3708 (indent-rigidly-map): New var.
3709 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3710
5ea75d23
BG
37112013-10-08 Bastien Guerry <bzg@gnu.org>
3712
3713 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3714
cc5da1ec
SM
37152013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3716
8ffa1a0b
SM
3717 * progmodes/perl-mode.el: Use lexical-binding.
3718 Remove redundant :group args.
3719 (perl-nochange): Change default to be closer to other major modes's
3720 standard behavior.
3721 (perl-indent-line): Don't consider text on current line as a
3722 valid beginning of function from which to indent.
3723
f2223371
SM
3724 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3725 with more than one argument (bug#15538).
3726
44256060
SM
3727 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3728
cc5da1ec
SM
3729 * vc/pcvs.el: Use lexical-binding.
3730 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3731 environment of `eval'.
3732 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3733 than a list of expressions. Adjust callers.
3734 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3735
0ea1599d
DG
37362013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3737
3738 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3739 case of the dot in a chained method call being on the following line.
0ea1599d 3740
da3e5ebb
SM
37412013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3742
2abb4e65
SM
3743 * electric.el (electric-indent-inhibit): New var.
3744 (electric-indent-post-self-insert-function): Use it.
3745 * progmodes/python.el (python-mode): Set it.
3746
d2e0e795
SM
3747 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3748 open braces.
3749
3750 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3751
bdc6b4c8
SM
3752 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3753 (css-mode): Use electric-indent-chars.
3754
da3e5ebb
SM
3755 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3756 (font-lock-beg, font-lock-end): Move before first use.
3757 (nxml-mode): Use syntax-propertize-function.
3758 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3759 (nxml-extend-after-change-region): Remove.
3760 * nxml/xmltok.el: Use lexical-binding.
3761 (xmltok-save): Use `declare'.
3762 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3763 * nxml/nxml-util.el: Use lexical-binding.
3764 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3765 Use `declare'.
3766 * nxml/nxml-ns.el: Use lexical-binding.
3767 (nxml-ns-save): Use `declare'.
3768 (nxml-ns-prefixes-for): Avoid add-to-list.
3769 * nxml/rng-match.el: Use lexical-binding.
3770 (rng--ipattern): Use cl-defstruct.
3771 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3772 (rng-cons-group-after, rng-subst-group-after)
3773 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3774 Use closures instead of `(lambda...).
3775
f8f91d5d
MA
37762013-10-07 Michael Albinus <michael.albinus@gmx.de>
3777
3778 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3779 of BEG and END.
3780
da3e5ebb
SM
3781 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3782 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3783 (tramp-gvfs-handle-insert-file-contents): Remove function.
3784
da3e5ebb
SM
3785 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3786 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3787
3788 * net/trampver.el: Update release number.
3789
7ccae3b1
SM
37902013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3791
55ca2c0d
SM
3792 * progmodes/compile.el (compilation-parse-errors):
3793 Use compilation--put-prop.
3794 (compilation--ensure-parse): Check compilation-multiline.
3795
731fc3ae
SM
3796 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3797
da3e5ebb
SM
3798 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3799 lexical-binding.
a5833280 3800
2e7ba2c2
SM
3801 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3802
7ccae3b1
SM
3803 * progmodes/ruby-mode.el: Fix recently added tests.
3804 (ruby-smie-grammar): Add - and +.
3805 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3806 (ruby-smie--backward-id): New functions.
3807 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3808 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3809 any more.
3810
85698d63
LL
38112013-10-07 Leo Liu <sdl.web@gmail.com>
3812
3813 * register.el (register-preview-delay)
3814 (register-preview-functions): New variables.
3815 (register-read-with-preview, register-preview)
3816 (register-describe-oneline): New functions.
3817 (point-to-register, window-configuration-to-register)
3818 (frame-configuration-to-register, jump-to-register)
3819 (number-to-register, view-register, insert-register)
3820 (copy-to-register, append-to-register, prepend-to-register)
3821 (copy-rectangle-to-register): Use register-read-with-preview to
3822 read register. (Bug#15525)
3823
3986af6c
DS
38242013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3825
3826 * net/network-stream.el (network-stream-open-starttls): Don't add
3827 --insecure if it's already present, because that gnutls-cli
3828 rejects getting that parameter twice.
3829
5cd9cda9
DG
38302013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3831
3832 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3833 keyword, too.
3834
da9ea6d9
DG
38352013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3836
3837 * newcomment.el (comment-use-global-state): Change default value
3838 to t, mark obsolete (Bug#15251).
3839 (comment-beginning): In addition to `comment-to-syntax', check the
3840 value of `comment-use-global-state'.
3841
34d1a133
SM
38422013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3845 (ruby-comment-column): Follow the global default, by default.
3846 (ruby-smie-grammar): Add assignment syntax.
3847 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3848 open-paren, a comma, or a \.
3849 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3850 and line continuations.
3851 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3852 followed by implicit semi-colons. Add rule for string concatenation
3853 and for indentation at BOB.
3854 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3855
3856 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3857 calling next-sexp, since next-token may have skipped chars which
3858 next-sexp doesn't know should be skipped!
3859
6f6ab820
LL
38602013-10-05 Leo Liu <sdl.web@gmail.com>
3861
34d1a133
SM
3862 * progmodes/octave.el (octave-send-region):
3863 Call compilation-forget-errors.
6f6ab820 3864
34ca0f4c
XF
38652013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3866
3867 * vc/vc-svn.el (vc-svn-find-admin-dir):
3868 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3869 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3870 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3871 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3872
a27c1b72
SM
38732013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3876
258ab3bc
SM
38772013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3878
3879 * subr.el (read-passwd): Hide chars even when called within a context
3880 where after-change-functions is disabled (bug#15501).
3881 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3882 until we removed ourself from overriding-terminal-local-map.
3883
939fb29c
LL
38842013-10-04 Leo Liu <sdl.web@gmail.com>
3885
258ab3bc
SM
3886 * progmodes/octave.el (inferior-octave-mode):
3887 Call compilation-forget-errors.
939fb29c 3888
63bd7f35
XF
38892013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3890
3891 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3892
9e6229fa
MA
38932013-10-04 Michael Albinus <michael.albinus@gmx.de>
3894
3895 * net/secrets.el (secrets-create-collection): Add optional
3896 argument ALIAS. Use proper Label keyword. Append ALIAS as
3897 dbus-call-method argument. (Bug#15516)
3898
1dab32a3
LL
38992013-10-04 Leo Liu <sdl.web@gmail.com>
3900
3901 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3902 (inferior-octave-compilation-font-lock-keywords): New variables.
3903 (compilation-error-regexp-alist)
3904 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3905 (inferior-octave-mode): Use compilation-shell-minor-mode.
3906
6cad7ba3
JS
39072013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3908
3909 * minibuffer.el (completion--replace): Be careful that `end' might be
3910 a marker.
3911
acbadd00
DU
39122013-10-03 Daiki Ueno <ueno@gnu.org>
3913
3914 Add support for package signature checking.
3915 * emacs-lisp/package.el (url-http-file-exists-p)
3916 (epg-make-context, epg-context-set-home-directory)
3917 (epg-verify-string, epg-context-result-for)
3918 (epg-signature-status, epg-signature-to-string)
3919 (epg-check-configuration, epg-configuration)
3920 (epg-import-keys-from-file): Declare.
3921 (package-check-signature): New user option.
3922 (package-unsigned-archives): New user option.
3923 (package-desc): Add `signed' field.
3924 (package-load-descriptor): Set `signed' field if .signed file exists.
3925 (package--archive-file-exists-p): New function.
3926 (package--check-signature): New function.
3927 (package-install-from-archive): Check package signature.
3928 (package--download-one-archive): Check archive signature.
3929 (package-delete): Remove .signed file.
3930 (package-import-keyring): New command.
3931 (package-refresh-contents): Import default keyring.
3932 (package-desc-status): Add "unsigned" status.
3933 (describe-package-1, package-menu--print-info)
3934 (package-menu-mark-delete, package-menu--find-upgrades)
3935 (package-menu--status-predicate): Support "unsigned" status.
3936
adf2aa61
SM
39372013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3940 the new compilation scheme using the new byte-codes.
3941
3942 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3943 (byte-pophandler): New byte codes.
3944 (byte-goto-ops): Adjust accordingly.
3945 (byte-compile--use-old-handlers): New var.
3946 (byte-compile-catch): Use new byte codes depending on
3947 byte-compile--use-old-handlers.
3948 (byte-compile-condition-case--old): Rename from
3949 byte-compile-condition-case.
3950 (byte-compile-condition-case--new): New function.
3951 (byte-compile-condition-case): New function that dispatches depending
3952 on byte-compile--use-old-handlers.
3953 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3954 when we can.
3955
3956 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3957 Optimize under `condition-case' and `catch' if
3958 byte-compile--use-old-handlers is nil.
3959 (disassemble-offset): Handle new bytecodes.
3960
328a8179
SM
39612013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * subr.el (error): Use `declare'.
3964 (decode-char, encode-char): Use advertised-calling-convention instead
3965 of the docstring to discourage use of the `restriction' arg.
3966
15a1e936
DU
39672013-10-03 Daiki Ueno <ueno@gnu.org>
3968
3969 * epg.el (epg-verify-file): Add a comment saying that it does not
3970 notify verification error as a return value nor a signal.
3971 (epg-verify-string): Ditto.
3972
376f862a
KR
39732013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3974
3975 * progmodes/compile.el (compilation-start): Try globbing the arg to
3976 `cd' (bug#15417).
3977
a2f93a5f
MA
39782013-10-02 Michael Albinus <michael.albinus@gmx.de>
3979
3980 Sync with Tramp 2.2.8.
3981
3982 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3983 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3984 * net/trampver.el: Update release number.
3985
0daa0804
JD
39862013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3987
3988 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3989 and default-process-coding-system for darwin only.
3990
abd1ae34
SM
39912013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3992
3993 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3994
be4e325d
MH
39952013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3996
3997 * vc/vc-git.el (vc-git-grep): Disable pager.
3998
e9155c4a
DG
39992013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4000
494e898b
DG
4001 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4002 Use :url instead of :homepage, as per
4003 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4004
e9155c4a
DG
4005 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4006 non-nil, use `syntax-ppss' (Bug#15251).
4007
481a8e0f
RS
40082013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4009
be4e325d
MH
4010 * progmodes/octave.el (inferior-octave-startup-file):
4011 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4012
056453c6
DG
40132013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4014
be4e325d
MH
4015 * emacs-lisp/package.el (package-desc-from-define):
4016 Accept additional arguments as plist, convert them to an alist and store
4017 them in the `extras' slot.
056453c6
DG
4018 (package-generate-description-file): Convert extras alist back to
4019 plist and append to the `define-package' form arguments.
4020 (package--alist-to-plist): New function.
4021 (package--ac-desc): Add `extras' slot.
4022 (package--add-to-archive-contents): Check if the archive-contents
4023 vector is long enough, and if it is, pass its `extras' slot value
4024 to `package-desc-create'.
4025 (package-buffer-info): Call `lm-homepage', pass the returned value
4026 to `package-desc-from-define'.
4027 (describe-package-1): Render the homepage button (Bug#13291).
4028
be4e325d
MH
4029 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4030 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4031
832966e5
JD
40322013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4033
4034 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4035 and default-process-coding-system to utf-8-unix (Bug#15402).
4036
6cfe977d
XF
40372013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4038
4039 * subr.el (looking-back): Do not recommend using looking-back.
4040
38de11bd
AM
40412013-09-28 Alan Mackenzie <acm@muc.de>
4042
4043 Fix indentation/fontification of Java enum with "implements".
4044
4045 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4046 regexp which matches "implements", etc., in Java.
4047 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4048 specifier clauses coming after "enum".
4049 * progmodes/cc-fonts.el (c-font-lock-declarations)
4050 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4051 after "enum".
4052
1610938f
JD
40532013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4054
4055 * faces.el (region): Change ns_selection_color to
4056 ns_selection_fg_color, add ns_selection_bg_color.
4057
e090f499
LL
40582013-09-28 Leo Liu <sdl.web@gmail.com>
4059
4d2e94d1
LL
4060 * progmodes/octave.el (inferior-octave-completion-table)
4061 (inferior-octave-completion-at-point): Minor tweaks.
4062
e090f499
LL
4063 * textmodes/ispell.el (ispell-lookup-words): Rename from
4064 lookup-words. (Bug#15460)
4065 (lookup-words): Obsolete.
4066 (ispell-complete-word, ispell-command-loop): All uses changed.
4067
7e138a62
RS
40682013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4069
4070 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4071 (octave-mode-menu): Add octave-send-buffer.
4072 (octave-send-buffer): New function.
4073
5af5ed08
RS
40742013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4075
4076 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
4077 octave-lookfor.
4078 (octave-mode-menu): Add octave-lookfor.
4079 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4080 octave-lookfor.
4081 (octave-lookfor): New function.
4082
3b7b2692
SM
40832013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4084
4085 * emacs-lisp/cl-macs.el:
4086 (cl--loop-destr-temps): Remove.
4087 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4088 its convention.
4089 (cl--loop-set-iterator-function): New function.
4090 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4091 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4092 Bind `it' with `let' instead of substituting it with `cl-subst'.
4093 (cl--unused-var-p): New function.
4094 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4095 Eliminate some unused variable warnings (bug#15326).
4096
529fb53f
TH
40972013-09-27 Tassilo Horn <tsdh@gnu.org>
4098
4099 * doc-view.el (doc-view-scale-reset): Rename from
4100 `doc-view-reset-zoom-level'.
4101 (doc-view-scale-adjust): New command.
4102 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4103 `doc-view-scale-adjust'.
4104
0550c95a
TH
41052013-09-26 Tassilo Horn <tsdh@gnu.org>
4106
4107 * doc-view.el (doc-view-reset-zoom-level): New command.
4108 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4109 zoom commands (bug#15466).
4110
6950f152
KH
41112013-09-26 Kenichi Handa <handa@gnu.org>
4112
4113 * international/quail.el (quail-help): Make it not a command.
4114
39587580
LL
41152013-09-26 Leo Liu <sdl.web@gmail.com>
4116
4117 * minibuffer.el (completion-all-sorted-completions): Make args
4118 optional as they are.
4119
00578659
DC
41202013-09-25 Daniel Colascione <dancol@dancol.org>
4121
4122 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4123 specs are and that they're not evaluated.
4124
0c173878
SS
41252013-09-24 Sam Steingold <sds@gnu.org>
4126
4127 * midnight.el (clean-buffer-list-kill-regexps)
4128 (clean-buffer-list-kill-buffer-names): Update for the new Man
4129 buffer naming which includes the object name.
4130
84998447
SM
41312013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4134 (eshell-parse-command, eshell-parse-pipeline): Use it since
4135 eshell-separate-commands requires a dynamic scoped var.
4136 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4137
33215353
LL
41382013-09-23 Leo Liu <sdl.web@gmail.com>
4139
4140 * autoinsert.el (auto-insert-alist): Make the value of
4141 lexical-binding match its file setting.
4142
57b16162
JB
41432013-09-23 Juanma Barranquero <lekktu@gmail.com>
4144
c8af4e67
JB
4145 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4146
57b16162
JB
4147 * autoarg.el (autoarg-kp-digit-argument):
4148 * electric.el (Electric-command-loop):
4149 * kmacro.el (kmacro-step-edit-insert):
4150 Do not set universal-argument-num-events.
4151
7186ba60
LL
41522013-09-22 Leo Liu <sdl.web@gmail.com>
4153
4154 * files.el (interpreter-mode-alist): Add octave.
4155
ece15004
AM
41562013-09-21 Alan Mackenzie <acm@muc.de>
4157
4158 C++: fontify identifier in declaration following "public:" correctly.
4159 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4160 to match "public", etc.
4161 (c-decl-prefix-re): Add ":" into the C++ value.
4162 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4163 bit. Add a check for a ":" preceded by "public", etc.
4164
75d83e22
EZ
41652013-09-21 Eli Zaretskii <eliz@gnu.org>
4166
4167 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4168 recognized by GDB 7.5 and later.
4169
d052d3bd
XF
41702013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4171
4172 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4173
31dca772
R
41742013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4175
4176 * subr.el (internal--call-interactively): New const.
4177 (called-interactively-p): Use it (bug#3984).
4178
98ccf24e
XF
41792013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4180
4181 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4182 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4183 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4184
c39cc7d1
SM
41852013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4186
4187 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4188 (eshell-ls-orig-insert-directory): Remove.
4189 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4190 (eshell-ls-use-in-dired): Use advice-add/remove.
4191 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4192 Add `orig-fun' arg for use in :around advice.
4193 Make it check (redundantly) eshell-ls-use-in-dired.
4194
9a0289a2
GM
41952013-09-19 Glenn Morris <rgm@gnu.org>
4196
a2c501b8
GM
4197 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4198
c440407a
GM
4199 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4200
9a0289a2
GM
4201 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4202
85e05915
MA
42032013-09-19 Michael Albinus <michael.albinus@gmx.de>
4204
4205 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4206 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4207 (tramp-get-remote-python): New defuns.
4208 (tramp-get-remote-uid-with-perl)
4209 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4210 contributed by yary <not.com@gmail.com> (tiny change).
4211 (tramp-get-remote-uid-with-python)
4212 (tramp-get-remote-gid-with-python): New defuns. Python code
4213 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4214 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4215
ce503312
GM
42162013-09-19 Glenn Morris <rgm@gnu.org>
4217
f7544773
GM
4218 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4219
72fd2877
GM
4220 * eshell/em-unix.el (eshell-remove-entries):
4221 Rename argument to avoid name-clash with global `top-level'.
4222
336b5a56
GM
4223 * eshell/esh-proc.el (eshell-kill-process-function):
4224 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4225 (eshell-reset-after-proc): Remove unused arg `proc'.
4226
57a3a53d
GM
4227 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4228 (directory-files-and-attributes): Mark unused arg.
4229
3261d4af
GM
4230 * eshell/em-unix.el (eshell-remove-entries):
4231 Remove unused arg `path'. Update callers.
4232
8e51b5d0
GM
4233 * eshell/em-hist.el (eshell-hist-parse-arguments):
4234 Remove unused arg `silent'. Update callers.
4235
ce503312
GM
4236 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4237 Fix (f)boundp mix-up.
4238
4239 * eshell/em-smart.el (eshell-smart-scroll-window)
4240 (eshell-disable-after-change):
336b5a56 4241 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4242
ee3ce8a7
AM
42432013-09-18 Alan Mackenzie <acm@muc.de>
4244
4245 Fix fontification of type when followed by "const".
4246 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4247 "known" types from fontification.
4248
ec9177ba
GM
42492013-09-18 Glenn Morris <rgm@gnu.org>
4250
7bb3e768
GM
4251 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4252 (chart-face-list): Drop Emacsen without display-color-p.
4253
5148da15
GM
4254 * net/eww.el (libxml-parse-html-region): Declare.
4255 (eww-display-html): Explicit error if no libxml2 support.
4256
2f68e157
GM
4257 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4258
9019d095
GM
4259 * image.el (image-type-from-buffer, image-multi-frame-p):
4260 Remove --without-x warning/error.
67645389 4261
5f30349b 4262 * mouse.el (mouse-yank-primary):
45069b2e 4263 * term.el (term-mouse-paste):
5f30349b
GM
4264 Reorder to silence --without-x compilation.
4265
cd8edbbe
GM
4266 * mpc.el (doc-view-mode): Silence --without-x compilation.
4267
8a78544e
GM
4268 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4269 Silence --without-x compilation.
4270
12679bfd
GM
4271 * progmodes/gud.el (gud-find-file, gud-mode):
4272 Silence --without-x compilation.
4273 (tooltip-mode): Declare.
30810a05 4274
f0047cb9
GM
4275 * wdired.el (dired-backup-overwrite): Remove declaration.
4276 (wdired-mode-map): Add doc string.
4277
e740f9d2
GM
4278 * custom.el (x-get-resource): Declare.
4279
92d77c89
GM
4280 * eshell/em-glob.el (ange-cache):
4281 * eshell/em-unix.el (ange-cache): Declare.
4282
76e69577
GM
4283 * faces.el (x-display-list, x-open-connection, x-get-resource):
4284 Declare.
7e58af4b
GM
4285
4286 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4287 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4288 Declare.
76e69577 4289
4bd4c0af 4290 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4291
ffb82dbd
GM
4292 * net/gnutls.el (gnutls-log-level): Declare.
4293
986ed135
GM
4294 * net/shr.el (image-size, image-animate): Declare.
4295
e740f9d2
GM
4296 * simple.el (font-info): Declare.
4297
d2f3e9f8
GM
4298 * subr.el (x-popup-dialog): Declare.
4299
047a1a4c
GM
4300 * term/common-win.el (x-select-enable-primary)
4301 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4302 Declare.
4303
f4a1d572
GM
4304 * term/ns-win.el (x-handle-args): Declare.
4305
e843de77
GM
4306 * term/x-win.el (x-select-enable-clipboard): Declare.
4307
5fa89513
GM
4308 * term/w32-win.el (create-default-fontset): Declare.
4309
38702b5b
GM
4310 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4311 Declare.
4312
e740f9d2
GM
4313 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4314 (fit-frame-to-buffer): Explicit error if --without-x.
4315 (mouse-autoselect-window-select): Silence compiler.
4316
49a053fc
GM
4317 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4318
4319 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4320 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4321 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4322 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4323 Remove unused local variables.
4324
4325 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4326
ec9177ba
GM
4327 * textmodes/two-column.el: Make 2C-split work for --without-x.
4328 (scroll-bar-columns): Autoload.
4329 (top-level): Require fringe when compiling.
4330
9f25cb77
LL
43312013-09-18 Leo Liu <sdl.web@gmail.com>
4332
4333 * subr.el (add-hook): Robustify to handle closure as well.
4334
2b42da98
GM
43352013-09-17 Glenn Morris <rgm@gnu.org>
4336
4337 * simple.el (messages-buffer-mode-map): Unbind "g".
4338
e8b66a6a
SM
43392013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4340
9c0ad4f7
SM
4341 * help-mode.el (help-mode-finish): Use derived-mode-p.
4342 Remove obsolete highlighting.
4343
7a806dfb
SM
4344 * play/life.el (life-mode): Use define-derived-mode. Derive from
4345 special-mode.
4346 (life): Let-bind inhibit-read-only.
4347 (life-setup): Avoid `setq'. Use `life-mode'.
4348
96dbf5a8
SM
4349 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4350 which should not be needed any more.
4351 (package-menu-refresh, package-menu-describe-package): Use user-error.
4352
e8b66a6a
SM
4353 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4354 (eshell-post-rewrite-command-hook): Make obsolete.
4355 (eshell-parse-command): Simplify.
4356 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4357 (eshell--cmd): Declare.
4358 (eshell-parse-pipeline): Remove unused var `final-p'.
4359 Pass a dynvar to eshell-post-rewrite-command-hook.
4360 Implement the new eshell-post-rewrite-command-function.
4361 (eshell-invoke-directly): Remove unused arg `input'.
4362 * eshell/esh-io.el (eshell-io-initialize):
4363 Use eshell-post-rewrite-command-function (bug#15399).
4364 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4365 adjust to new calling convention.
4366 (eshell-create-handles): Rename args to avoid clashing with dynvar
4367 `standard-output'.
4368
90582f05
GM
43692013-09-17 Glenn Morris <rgm@gnu.org>
4370
4371 * simple.el (messages-buffer-mode): New major mode.
4372 (messages-buffer): New function.
4373 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4374 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4375 (ert-run-test): Use `messages-buffer' function.
90582f05 4376 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4377 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4378 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4379
39eb0cb5 43802013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4381
4382 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4383
1d42e5b6 4384 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4385
70568a90
SM
43862013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4387
504a0381
SM
4388 * icomplete.el (icomplete-in-buffer): New var.
4389 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4390 vars and replace them with functions.
4391 (icomplete-minibuffer-setup): Adjust accordingly.
4392 (icomplete--completion-table, icomplete--completion-predicate)
4393 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4394 New functions.
4395 (icomplete-forward-completions, icomplete-backward-completions)
4396 (icomplete-simple-completing-p, icomplete-exhibit)
4397 (icomplete-completions): Use them.
4398 (icomplete--in-region-buffer): New var.
4399 (icomplete--in-region-setup): New function.
4400 (icomplete-mode): Use it.
4401
70568a90
SM
4402 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4403 (bug#15379).
4404 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4405 return args and options.
4406 (eshell-eval-using-options): Use the new return value of
4407 eshell--do-opts to set the options's vars in their scope.
4408 (eshell--set-option): Rename from eshell-set-option.
4409 Add arg `opt-vals'.
4410 (eshell--process-option): Rename from eshell-process-option.
4411 Add arg `opt-vals'.
4412 (eshell--process-args): Use an `opt-vals' alist to store the options's
4413 values during their processing and return them additionally to the
4414 remaining args.
4415
578c21bc
DG
44162013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4417
4418 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4419 continuation character an operator, as far as indentation is
4420 concerned (Bug#15369).
4421
c089653d
MR
44222013-09-15 Martin Rudalics <rudalics@gmx.at>
4423
4424 * window.el (window--state-put-2): Don't process buffer state
4425 when buffer doesn't exist any more (Bug#15382).
4426
1e53bb4b
GM
44272013-09-15 Glenn Morris <rgm@gnu.org>
4428
30753242
GM
4429 * eshell/em-unix.el (eshell/rm):
4430 Make -f ignore missing files. (Bug#15373)
4431
1e53bb4b
GM
4432 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4433 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4434 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4435
0d8863b3
GM
44362013-09-14 Glenn Morris <rgm@gnu.org>
4437
4438 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4439
d3fc6549
GM
44402013-09-13 Glenn Morris <rgm@gnu.org>
4441
4442 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4443 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4444
fcd42c11
DA
44452013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4446
4447 * frame.el (x-focus-frame): Mark as declared in frame.c.
4448
7830899f
SM
44492013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 * ls-lisp.el: Use advice-add.
4452 (original-insert-directory): Remove.
4453 (ls-lisp--insert-directory): Rename from insert-directory; add
4454 `orig-fun' argument.
4455 (insert-directory): Advise.
4456
84387cd2
EZ
44572013-09-13 Eli Zaretskii <eliz@gnu.org>
4458
4459 * term.el (term-emulate-terminal): Decode the command string
4460 before passing it to term-command-hook. (Bug#15337)
4461
35ffc6ba
GM
44622013-09-13 Glenn Morris <rgm@gnu.org>
4463
5c3f9bcc
GM
4464 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4465
2ada368a
GM
4466 * eshell/esh-ext.el (eshell-search-path): Declare.
4467
fcef2e13
GM
4468 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4469 Otherwise an error occurs if eshell-dirs module not loaded.
4470
35ffc6ba
GM
4471 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4472
35c3d36e
MA
44732013-09-13 Michael Albinus <michael.albinus@gmx.de>
4474
4475 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4476 `tramp-check-proper-host'. Check for a valid method name.
4477
4478 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4479 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4480 * net/tramp-sh.el (tramp-maybe-open-connection):
4481 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4482
4483 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4484 also for hash values.
4485
ae5e4c48
SM
44862013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4487
379add74
SM
4488 * term/ns-win.el (parameters): Don't declare as dynamic.
4489 (before-make-frame-hook): Don't add ineffective function.
4490
ae5e4c48
SM
4491 * eshell/*.el: Use lexical-binding (bug#15231).
4492
b5623270
KH
44932013-09-12 Kenichi Handa <handa@gnu.org>
4494
ae5e4c48 4495 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4496
30213927
GM
44972013-09-12 Glenn Morris <rgm@gnu.org>
4498
be94d713 4499 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4500 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4501
44915370
GM
4502 * subr.el (do-after-load-evaluation): Also give compiler warnings
4503 when obsolete files are used (except by obsolete files).
4504
a6ae021f
GM
4505 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4506 in the status output, assume `filename' is the first. (Bug#15322)
4507
40e64f0c
GM
4508 * vc/vc.el (vc-deduce-fileset): Doc fix.
4509
16d9f896
GM
4510 * calc/calc-help.el (Info-goto-node):
4511 * progmodes/cperl-mode.el (Info-find-node):
4512 * vc/ediff.el (Info-goto-node): Update declarations.
4513
dea01c6e
GM
4514 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4515
759880bf 4516 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4517 (vc-bzr-pull): Require vc-dispatcher.
4518 * vc/vc-git.el (vc-compilation-mode): Declare.
4519 (vc-git-pull): Require vc-dispatcher.
4520
08d66420
GM
4521 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4522
30b626e9
GM
4523 * progmodes/octave.el (help-button-action): Declare.
4524
8c05cb10
GM
4525 * shell.el (shell-directory-tracker): Output error as a message
4526 rather than just returning it as a string.
4527 (shell-process-pushd): Remove useless use of message.
4528
30213927
GM
4529 * dframe.el (dframe-timer-fn):
4530 * files.el (dir-locals-read-from-file):
4531 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4532 (mpc-format):
4533 * reveal.el (reveal-post-command):
4534 * saveplace.el (load-save-place-alist-from-file):
4535 * shell.el (shell-resync-dirs):
4536 * w32-common-fns.el (x-get-selection-value):
4537 * emacs-lisp/copyright.el (copyright-find-copyright):
4538 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4539 * emulation/tpu-edt.el (tpu-copy-keyfile):
4540 * play/bubbles.el (bubbles--mark-neighbourhood):
4541 * progmodes/executable.el
4542 (executable-make-buffer-file-executable-if-script-p):
4543 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4544
d3b049e6
SM
45452013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4546
170266d0
SM
4547 Cleanup Eshell to rely less on dynamic scoping.
4548 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4549 last-value, and ext-command here. Bind `args' closer to `body'.
4550 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4551 (eshell--args): Declare new dynamic var.
4552 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4553 last-value, and ext-command. Pass `args' to `body'.
4554 (eshell-process-args): Bind eshell--args.
4555 (eshell-set-option): Use eshell--args.
4556 * eshell/eshell.el (eshell): Use derived-mode-p.
4557 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4558 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4559 (eshell-glob-function): Declare.
4560 * eshell/esh-util.el: Require cl-lib.
4561 (eshell-read-hosts-file): Avoid add-to-list.
4562 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4563 `err'.
4564 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4565 Declare.
4566 (eshell/diff): Remove unused var `err'.
4567 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4568 `killflag'.
4569 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4570 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4571 first use.
4572 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4573 Move declaration before first use.
4574 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4575 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4576 rely on cl-return.
4577
56834f3b
GM
45782013-09-12 Glenn Morris <rgm@gnu.org>
4579
4580 * term/ns-win.el (global-map): Remove binding for ispell-next,
4581 deleted 1999-05-29. (Bug#15357)
4582
5c91a2b8
GM
45832013-09-11 Glenn Morris <rgm@gnu.org>
4584
da712f22
GM
4585 * echistory.el (electric-command-history): Remove call to deleted func.
4586
512e4cdc
GM
4587 * play/landmark.el (landmark-mode): Fix typos.
4588
d3506ca5
GM
4589 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4590 Check cvs-sort-ignore-file is bound.
4591
5c91a2b8
GM
4592 * savehist.el: No need for cl when compiling on Emacs.
4593
feeff482
SM
45942013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4595
656bd483
SM
4596 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4597 (bug#15338).
d3b049e6
SM
4598 (eshell-self-insert-command, eshell-send-invisible):
4599 Remove unused argument.
656bd483
SM
4600 (eshell-handle-control-codes): Remove unused var `orig'.
4601 Avoid delete-backward-char.
4602
feeff482
SM
4603 * files.el (set-auto-mode): Simplify a bit further.
4604
2a08047a
GM
46052013-09-11 Glenn Morris <rgm@gnu.org>
4606
4607 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4608 (set-auto-mode): Don't regexp-quote elements.
4609 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4610 * progmodes/cc-mode.el (interpreter-mode-alist):
4611 * progmodes/ruby-mode.el (interpreter-mode-alist):
4612 Revert previous change.
4613
34675540
SM
46142013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4615
1b3b87df
SM
4616 * play/snake.el (snake-mode):
4617 * play/mpuz.el (mpuz-mode):
4618 * play/landmark.el (lm-mode):
4619 * play/blackbox.el (blackbox-mode):
4620 * play/5x5.el (5x5-mode):
4621 * obsolete/options.el (Edit-options-mode):
4622 * net/quickurl.el (quickurl-list-mode):
4623 * net/newst-treeview.el (newsticker-treeview-mode):
4624 * mail/rmailsum.el (rmail-summary-mode):
4625 * mail/mspools.el (mspools-mode):
4626 * locate.el (locate-mode):
4627 * ibuffer.el (ibuffer-mode):
4628 * emulation/ws-mode.el (wordstar-mode):
4629 * emacs-lisp/debug.el (debugger-mode):
4630 * array.el (array-mode):
4631 * net/eudc.el (eudc-mode): Use define-derived-mode.
4632 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4633 Move initialization into declaration.
4634 (mairix-searches-mode): Use define-derived-mode.
4635 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4636 (eudc-edit-hotlist): Use dolist.
4637 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4638 (Man-mode): Use define-derived-mode.
4639 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4640 (Info-edit-mode): Use define-derived-mode.
4641 (Info-cease-edit): Use Info-mode.
4642 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4643 into declaration.
4644 (eshell-mode): Use define-derived-mode.
4645 * chistory.el (command-history-mode-map): Rename from
4646 command-history-map.
4647 (command-history-mode): Use define-derived-mode.
da712f22 4648 (Command-history-setup): Remove function.
1b3b87df
SM
4649 * calc/calc.el (calc-trail-mode-map): New var.
4650 (calc-trail-mode): Use define-derived-mode.
4651 (calc-trail-buffer): Set calc-main-buffer manually.
4652 * bookmark.el (bookmark-insert-annotation): New function.
4653 (bookmark-edit-annotation): Use it.
4654 (bookmark-edit-annotation-mode): Make it a proper major mode.
4655 (bookmark-send-edited-annotation): Use derived-mode-p.
4656 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4657 closer to its ideal place. Use \' to match EOS.
4658
34675540
SM
4659 * profiler.el (profiler-calltree-find): Use function-equal.
4660
6a5c15d9
GM
46612013-09-10 Glenn Morris <rgm@gnu.org>
4662
1af4c220
GM
4663 * files.el (interpreter-mode-alist): Convert to regexps.
4664 (set-auto-mode): Adapt for this. (Bug#15306)
4665 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4666 Comment out unused variable.
4667 * progmodes/cc-mode.el (interpreter-mode-alist):
4668 * progmodes/python.el (interpreter-mode-alist):
4669 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4670 * progmodes/sh-script.el (sh-set-shell):
4671 No longer use interpreter-mode-alist to get list of shells.
4672
6a5c15d9
GM
4673 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4674
8c27f5ff
SM
46752013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4676
02ef6c1a 4677 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4678 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4679 Bind switch-frame explicitly. Replace universal-argument-minus with
4680 a conditional binding.
4681 (universal-argument-num-events, saved-overriding-map): Remove.
4682 (restore-overriding-map): Remove.
4683 (universal-argument--mode): Rename from save&set-overriding-map,
4684 and rewrite.
4685 (universal-argument, universal-argument-more, negative-argument)
4686 (digit-argument): Adjust accordingly.
4687 (universal-argument-minus): Remove.
4688 (universal-argument-other-key): Remove.
4689
8c27f5ff
SM
4690 * subr.el (with-demoted-errors): Add `format' argument.
4691
6480194c
MA
46922013-09-10 Michael Albinus <michael.albinus@gmx.de>
4693
4694 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4695 `tramp-cleanup-connection'.
4696
4697 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4698 parameters KEEP-DEBUG and KEEP-PASSWORD.
4699
4700 * net/tramp.el (tramp-file-name-handler):
4701 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4702 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4703 (tramp-maybe-open-connection):
8c27f5ff
SM
4704 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4705 Use `tramp-cleanup-connection'.
6480194c 4706
8c27f5ff
SM
4707 * net/tramp-sh.el (tramp-maybe-open-connection):
4708 Catch 'uname-changed inside the progress reporter.
6480194c 4709
e5e916d8
GM
47102013-09-10 Glenn Morris <rgm@gnu.org>
4711
9a2c9b47
GM
4712 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4713
e5e916d8
GM
4714 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4715 returns "alternate access method" in mode (eg "-rw-r--r--.").
4716
144e38fe
GM
47172013-09-08 Glenn Morris <rgm@gnu.org>
4718
4719 * saveplace.el (load-save-place-alist-from-file):
4720 Demote errors. (Bug#15305)
4721
af9ff9e8
MA
47222013-09-08 Michael Albinus <michael.albinus@gmx.de>
4723
4724 Improve compatibility with older Emacsen, and XEmacs.
4725
4726 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4727 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4728 (with-tramp-progress-reporter): Do not let-bind `result'.
4729 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4730 (tramp-handle-make-auto-save-file-name): New function, moved from
4731 tramp-sh.el.
4732
4733 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4734 for `make-auto-save-file-name'.
8c27f5ff
SM
4735 (tramp-adb--gnu-switches-to-ash):
4736 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4737
4738 * net/tramp-cache.el (tramp-cache-print): Call
4739 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4740
4741 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4742 bound. It isn't for XEmacs.
4743
8c27f5ff
SM
4744 * net/tramp-compat.el (tramp-compat-copy-file):
4745 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4746 (tramp-compat-replace-regexp-in-string): New defun.
4747
4748 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4749 for `make-auto-save-file-name'.
4750 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4751 `copy-file'.
4752 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4753 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4754 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4755
8c27f5ff
SM
4756 * net/tramp-gw.el (tramp-gw-open-network-stream):
4757 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4758
8c27f5ff
SM
4759 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4760 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4761 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4762 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4763 (tramp-sh-file-inotifywait-process-filter):
4764 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4765 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4766
4767 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4768 for `make-auto-save-file-name'.
8c27f5ff
SM
4769 (tramp-smb-handle-copy-directory):
4770 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4771 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4772 (tramp-smb-handle-copy-file): Improve error message.
4773 (tramp-smb-handle-rename-file): Rename directly only in case
4774 `newname' does not exist yet. This is a restriction of smbclient.
4775 (tramp-smb-maybe-open-connection): Rerun the function only when
4776 `auth-sources' is non-nil.
4777
0ca754d0
KH
47782013-09-08 Kenichi Handa <handa@gnu.org>
4779
e0eb0550 4780 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4781 more characters.
4782
e8dd0787
AM
47832013-09-07 Alan Mackenzie <acm@muc.de>
4784
4785 Correctly fontify Java class constructors.
4786 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4787 in Java Mode.
4788 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4789 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4790 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4791 "typeless" declaration there.
4792
f2f248e7
RW
47932013-09-07 Roland Winkler <winkler@gnu.org>
4794
4795 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4796 field subtitle for entry type book.
4797
67982e2b
SM
47982013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4799
4800 * minibuffer.el: Make minibuffer-complete call completion-in-region
4801 rather than other way around.
4802 (completion--some, completion-pcm--find-all-completions):
4803 Don't delay signals when debugging.
4804 (minibuffer-completion-contents): Beware fields within the
4805 minibuffer contents.
4806 (completion-all-sorted-completions): Use defvar-local.
4807 (completion--do-completion, completion--cache-all-sorted-completions)
4808 (completion-all-sorted-completions, minibuffer-force-complete):
4809 Add args `beg' and `end'.
4810 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4811 (minibuffer-complete): Use completion-in-region.
4812 (completion-complete-and-exit): New fun, extracted from
4813 minibuffer-complete-and-exit.
4814 (minibuffer-complete-and-exit): Use it.
4815 (completion--complete-and-exit): Rename from
4816 minibuffer--complete-and-exit.
4817 (completion-in-region--single-word): New function, extracted from
4818 minibuffer-complete-word.
4819 (minibuffer-complete-word): Use it.
4820 (display-completion-list): Make `common-substring' argument obsolete.
4821 (completion--in-region): Call completion--in-region-1 instead of
4822 minibuffer-complete.
4823 (completion-help-at-point): Pass boundaries to
4824 minibuffer-completion-help as args rather than via an overlay.
4825 (completion-pcm--string->pattern): Use `any-delim'.
4826 (completion-pcm--optimize-pattern): New function.
4827 (completion-pcm--pattern->regex): Handle `any-delim'.
4828 * icomplete.el (icomplete-forward-completions)
4829 (icomplete-backward-completions, icomplete-completions):
4830 Adjust calls to completion-all-sorted-completions and
4831 completion--cache-all-sorted-completions.
4832 (icomplete-with-completion-tables): Default to t.
4833 * emacs-lisp/crm.el (crm--current-element): Rename from
4834 crm--select-current-element. Don't put an overlay but return the
4835 boundaries instead.
4836 (crm--completion-command): Take two new args to bind to the boundaries.
4837 (crm-completion-help): Adjust accordingly.
4838 (crm-complete): Use completion-in-region.
4839 (crm-complete-word): Use completion-in-region--single-word.
4840 (crm-complete-and-exit): Use completion-complete-and-exit.
4841
e17d94a5
SM
48422013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4845 than dynamically.
4846
96727100
JL
48472013-09-06 Juri Linkov <juri@jurta.org>
4848
4849 * info.el (Info-display-images-node): When image file doesn't exist
4850 display text version of the image if it's provided in the Info file.
4851 Otherwise, display the location of missing image from SRC attribute.
4852 Add help-echo text property from ALT attribute. (Bug#15279)
4853
86cf7329
SM
48542013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4857 (edit-abbrevs-mode): Use define-derived-mode.
4858
4859 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4860 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4861 that it's defined.
4862 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4863 Use define-derived-mode.
4864
4865 * epg.el (epg-start-encrypt): Minor CSE simplification.
4866
816244a2
WX
48672013-09-06 William Xu <william.xwl@gmail.com>
4868
4869 * arc-mode.el: Add support for 7za (bug#15264).
4870 (archive-7z-program): New var.
4871 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4872 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4873 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4874
1486fa31
MA
48752013-09-06 Michael Albinus <michael.albinus@gmx.de>
4876
4877 Remove URL syntax.
4878
4879 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4880 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4881 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4882 (tramp-postfix-host-format, tramp-file-name-regexp)
4883 (tramp-completion-file-name-regexp)
4884 (tramp-completion-dissect-file-name)
4885 (tramp-handle-substitute-in-file-name): Remove 'url case.
4886 (tramp-file-name-regexp-url)
4887 (tramp-completion-file-name-regexp-url): Remove constants.
4888
39785324
GM
48892013-09-06 Glenn Morris <rgm@gnu.org>
4890
4891 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4892
1f896cb7
DG
48932013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4894
4895 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4896 keywords" below "here-doc beginnings" (Bug#15270).
4897
c0458e0b
SM
48982013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 * subr.el (pop): Use `car-safe'.
4901 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4902 to detect unused `pop' return value.
4903
4904 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4905 var `block-regexp'.
4906 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4907 (python-fill-string): Remove unused var `marker'.
4908 (python-skeleton-add-menu-items): Remove unused var `items'.
4909
4910 * international/mule-cmds.el: Require CL.
4911 (find-coding-systems-for-charsets): Avoid add-to-list.
4912 (sanitize-coding-system-list): New function, extracted from
4913 select-safe-coding-system-interactively.
4914 (select-safe-coding-system-interactively): Use it.
4915 (read-input-method-name): Accept symbols for `default'.
4916
4917 * emacs-lisp/advice.el (defadvice): Add indent rule.
4918
6c42fc3e
DH
49192013-09-05 Daniel Hackney <dan@haxney.org>
4920
4921 * dired-x.el:
4922 * net/ange-ftp.el:
4923 * net/browse-url.el:
4924 * net/dbus.el:
4925 * net/eudc.el:
4926 * net/eudcb-ldap.el:
4927 * net/eww.el:
4928 * net/imap.el:
4929 * printing.el:
4930 * vc/ediff-diff.el:
4931 * vc/ediff-init.el:
4932 * vc/ediff-merg.el:
4933 * vc/ediff-mult.el:
4934 * vc/ediff-util.el:
4935 * vc/ediff-wind.el:
4936 * vc/ediff.el:
4937 * vc/emerge.el:
4938 * vc/pcvs.el:
4939 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4940 byte compiler. Remove some unused let-bound variables.
4941
4c528aab
SM
49422013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4943
4944 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4945 a "ref-cell", since it gets better optimized (bug#14883).
4946
bd15c390
GM
49472013-09-05 Glenn Morris <rgm@gnu.org>
4948
4949 * progmodes/cc-awk.el (c-forward-sws): Declare.
4950
1c3ac2e5
GM
49512013-09-04 Glenn Morris <rgm@gnu.org>
4952
4953 * generic-x.el [rul-generic-mode]: Require cc-mode.
4954 (c++-mode-syntax-table): Declare.
4955 (rul-generic-mode-syntax-table): Init in the defvar.
4956
52b1cc79
SM
49572013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4958
c828af56
SM
4959 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4960 (vc-do-command, vc-set-async-update):
4961 * vc/vc-mtn.el (vc-mtn-dir-status):
4962 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4963 (vc-hg-pull, vc-hg-merge-branch):
4964 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4965 (vc-git-merge-branch):
4966 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4967 (vc-cvs-dir-status-files):
4968 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4969 (vc-bzr-dir-status-files):
4970 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4971 * vc/vc-annotate.el: Use lexical-binding.
4972 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4973 (vc-sentinel-movepoint): Declare.
4974 (vc-annotate): Don't use `goto-line'.
4975 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4976 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4977 (vc-sentinel-movepoint): Declare.
4978 * vc/vc-svn.el: Use lexical-binding.
4979 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4980 * vc/vc-sccs.el:
4981 * vc/vc-rcs.el: Use lexical-binding.
4982
abae272c
SM
4983 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4984 `deleted'. Don't drop errors silently.
4985
52b1cc79
SM
4986 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4987
63191d9f
XF
49882013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4989
4990 * vc/vc.el (vc-ignore): Rewrite.
4991 (vc-default-ignore): New function.
4992 (vc-default-ignore-completion-table): Use find-ignore-file.
4993
4994 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4995 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4996 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4997 Remove. Most code moved to vc.el.
4998
9d3f707c
SM
49992013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5000
abae272c 5001 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5002 * net/tramp-smb.el (tramp-smb-get-file-entries):
5003 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5004 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5005
fde38d49
SM
5006 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5007 Update call to it.
5008 (eww-change-select): Remove unused var `properties'.
5009 (eww-make-unique-file-name): Remove unused var `base'.
5010
5011 * finder.el (finder-compile-keywords): Don't mess with windows.
5012
84032db7
SM
5013 * calculator.el (calculator-funcall): Fix typo in last change.
5014
724f5e41
SM
5015 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5016
14b511d4
SM
5017 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5018 <pkg>-autoloads.el file stop us.
5019
9d3f707c 5020 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5021 warnings, and factor out common code.
9d3f707c 5022
88527bc0
DG
50232013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5024
5025 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5026 two-character operators and whether the character preceding them
5027 changes their meaning (Bug#15208).
5028
96edb677
FEG
50292013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5030
5031 Format code sent to Python shell for robustness.
9d3f707c
SM
5032 * progmodes/python.el (python-shell-buffer-substring):
5033 New function.
96edb677
FEG
5034 (python-shell-send-region, python-shell-send-buffer): Use it.
5035
95beaef3
MA
50362013-09-02 Michael Albinus <michael.albinus@gmx.de>
5037
5038 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5039 * net/tramp.el (tramp-user-error): ... here.
5040 (tramp-find-method, tramp-check-proper-host)
5041 (tramp-dissect-file-name, tramp-debug-message)
5042 (tramp-handle-shell-command):
5043 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5044 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5045
5046 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5047
f167c27b
MR
50482013-09-02 Martin Rudalics <rudalics@gmx.at>
5049
5050 * avoid.el (mouse-avoidance-point-position)
5051 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5052 returns nil.
5053
cd16c5f1
FEG
50542013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5055
5056 * progmodes/python.el (python-shell-completion-get-completions):
5057 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5058 (python-nav-if-name-main): New command.
cd16c5f1 5059
e73c3a0d
GM
50602013-09-01 Glenn Morris <rgm@gnu.org>
5061
f8ccce03
GM
5062 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5063 Avoid leading space in $wins. Otherwise the sed command used by
5064 eg compile-main ends up containing "/*.el". (Bug#15170)
5065
e73c3a0d
GM
5066 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5067
415f808e
GM
50682013-08-30 Glenn Morris <rgm@gnu.org>
5069
5070 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5071 Fix is-this-a-directory logic. (Bug#15220)
5072
f069bba8
SM
50732013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5074
112798c1
SM
5075 * textmodes/css-mode.el: Use SMIE.
5076 (css-smie-grammar): New var.
5077 (css-smie--forward-token, css-smie--backward-token)
5078 (css-smie-rules): New functions.
5079 (css-mode): Use them.
5080 (css-navigation-syntax-table): Remove var.
5081 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5082 (css-indent-calculate, css-indent-line): Remove functions.
5083
5084 Misc changes to reduce use of `(lambda...); and other cleanups.
5085 * cus-edit.el: Use lexical-binding.
5086 (customize-push-and-save, customize-apropos)
5087 (custom-buffer-create-internal): Use closures.
5088 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5089 * progmodes/ada-xref.el: Use setq.
5090 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5091 * dframe.el: Use lexical-binding.
5092 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5093 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5094 * descr-text.el: Use lexical-binding.
5095 (describe-text-widget, describe-text-sexp, describe-property-list):
5096 Use closures.
5097 * comint.el (comint-history-isearch-push-state): Use a closure.
5098 * calculator.el: Use lexical-binding.
5099 (calculator-number-to-string): Make it work with lexical-binding.
5100 (calculator-funcall): Same and use cl-letf.
5101
2da4c3ab
SM
5102 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5103 (lisp--company-doc-string, lisp--company-location): New functions.
5104 (lisp-completion-at-point): Use them to improve Company support.
5105
f069bba8
SM
5106 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5107 params of lambda expressions.
5108 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5109 (ruby-smie--opening-pipe-p): New function.
5110 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5111 symbols and matched |...| for formal params.
5112 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5113 from being treated as hanging. Handle "rescue".
5114
6758b6a8
GM
51152013-08-29 Glenn Morris <rgm@gnu.org>
5116
5117 * progmodes/cc-engine.el (c-pull-open-brace):
5118 Move definition before use.
5119
e8dfd197
SM
51202013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5123 are immutable. Don't use `unsafe' any more.
5124 (cl--defsubst-expand): Don't substitute at the same time as keeping
5125 a residual unused let-binding. Don't use `unsafe' any more.
5126
cc585c96
GM
51272013-08-29 Glenn Morris <rgm@gnu.org>
5128
ba579ea6
GM
5129 * calendar/cal-china.el (calendar-chinese-year-cache):
5130 Recenter on 2015.
5131
8201a87e
GM
5132 * nxml/nxml-util.el (nxml-debug-clear-inside):
5133 Use cl-loop rather than loop.
5134
6ee877c7
GM
5135 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5136
cc585c96
GM
5137 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5138
27be8d39
GM
51392013-08-28 Glenn Morris <rgm@gnu.org>
5140
397440a1
GM
5141 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5142
2bb762d4
GM
5143 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5144
27be8d39
GM
5145 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5146
2d69b99e
SM
51472013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5148
f663baa7
SM
5149 * simple.el (repeat-complex-command--called-interactively-skip):
5150 New function.
5151 (repeat-complex-command): Use it (bug#14136).
5152
dd4f8b74
SM
5153 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5154 (c-define-abbrev-table): Add `doc' argument.
5155 (c-mode-abbrev-table, c++-mode-abbrev-table)
5156 (objc-mode-abbrev-table, java-mode-abbrev-table)
5157 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5158 (awk-mode-abbrev-table): Use it.
5159 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5160 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5161 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5162 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5163 Move initialization into the declaration; and remove any
5164 autoload cookie.
5165
b58969f7
SM
5166 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5167 and dynamic let binding.
5168
4021d6a6
SM
5169 * vc/smerge-mode.el: Remove redundant :group args.
5170
2d69b99e
SM
5171 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5172 to load-path.
5173
274919fd
JL
51742013-08-28 Juri Linkov <juri@jurta.org>
5175
5176 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5177 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5178 (isearch-other-meta-char): Handle an undefined shifted printing
5179 character by downshifting it. (Bug#15200)
5180
121f8c95
JL
51812013-08-28 Juri Linkov <juri@jurta.org>
5182
5183 * isearch.el (isearch-search): Change regexp error message for
5184 non-regexp searches. (Bug#15166)
5185
50b13cde
PE
51862013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5187
5188 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5189 for portability to hosts where /bin/sh has problems.
5190
95888bca
SM
51912013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5192
5193 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5194
bbe558f1
JL
51952013-08-27 Juri Linkov <juri@jurta.org>
5196
5197 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5198 in the keyboard macro. (Bug#15126)
5199
26f98a7d
JL
52002013-08-27 Juri Linkov <juri@jurta.org>
5201
5202 * isearch.el (isearch-quote-char): Comment out converting unibyte
5203 to multibyte, thus syncing with its `quoted-insert' counterpart.
5204 (Bug#15166)
5205
7c97d35e
MR
52062013-08-27 Martin Rudalics <rudalics@gmx.at>
5207
5208 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5209 argument in call of get-largest-window (Bug#15185).
5210 Reported by Stephen Leake.
7c97d35e 5211
a0b5606e 52122013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5213
5214 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5215
9e89d835
SM
52162013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5217
5218 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5219 from a matcher-function unless there's no more matches (bug#15161).
5220
78fc2530
MA
52212013-08-26 Michael Albinus <michael.albinus@gmx.de>
5222
5223 * minibuffer.el: Revert change from 2013-08-20.
5224
5225 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5226 with text property `tramp-default', if appropriate.
5227 (tramp-check-proper-host): New defun.
5228 (tramp-dissect-file-name): Do not check hostname. Revert change
5229 of 2013-03-18.
5230 (tramp-backtrace): Make VEC-OR-PROC optional.
5231
5232 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5233 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5234 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5235 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5236 Apply `tramp-check-proper-host'.
78fc2530 5237
edca97cd
TH
52382013-08-26 Tassilo Horn <tsdh@gnu.org>
5239
5240 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5241 lambda expression in order to have `describe-variable' display it.
5242
df54bcbd
MA
52432013-08-26 Michael Albinus <michael.albinus@gmx.de>
5244
5245 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5246 BUF can be optional. (Bug#15186)
5247
eed99101
XF
52482013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5249
5250 * progmodes/flymake.el (flymake-get-real-file-name-function):
5251 Fix broken customization. (Bug#15184)
5252
b5eb9035
AM
52532013-08-25 Alan Mackenzie <acm@muc.de>
5254
8a51e842
AM
5255 Improve indentation of bracelists defined by macros (without "=").
5256
5257 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5258 expansion begins with "{", regard it as bracelist when it doesn't
5259 contain a ";".
5260
869455d4
AM
5261 Parse C++ inher-intro when there's a template split over 2 lines.
5262
5263 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5264 rigorously the search for "class" etc. followed by ":".
5265
5266 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5267 random languages a regexp which never matches rather than nil.
5268
b5eb9035
AM
5269 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5270
5271 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5272 (c-awk-regexp-one-line-possibly-open-char-list-re)
5273 (c-awk-one-line-possibly-open-regexp-re)
5274 (c-awk-one-line-non-syn-ws*-re): Remove.
5275 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5276 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5277 (c-awk-space*-unclosed-regexp-/-re): New constants.
5278 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5279 aren't regexp delimiters.
5280
5281 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5282 handling for a rare situation in AWK Mode involving unterminated
5283 strings/regexps.
5284
61611d54
GM
52852013-08-23 Glenn Morris <rgm@gnu.org>
5286
2d85dc34
GM
5287 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5288
cb8d2612
GM
5289 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5290
bb35f42f
GM
5291 * files.el (create-file-buffer): If the result would begin with
5292 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5293
b9808e77
SM
52942013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5295
e3a66363
SM
5296 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5297 text-properties (bug#15155).
5298
b9808e77
SM
5299 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5300 exist any more.
5301 (calc-keypad-redraw): Remove unused var `pad'.
5302 (calc-keypad-press): Remove unused var `menu'.
5303
7fd5f65e
MR
53042013-08-23 Martin Rudalics <rudalics@gmx.at>
5305
b9808e77
SM
5306 * window.el (display-buffer-pop-up-frame):
5307 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5308 use it as the new frame's buffer (Bug#15133).
5309
8352b530
SM
53102013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * calendar/timeclock.el: Minor cleanups.
5313 (timeclock-ask-before-exiting, timeclock-use-display-time):
5314 Use `symbol'.
5315 (timeclock-modeline-display): Define as alias before the
5316 actual definition.
5317 (timeclock-mode-line-display): Use define-minor-mode.
5318 (timeclock-day-list-template): Make it a function, add an argument.
5319 (timeclock-day-list-required, timeclock-day-list-length)
5320 (timeclock-day-list-debt, timeclock-day-list-span)
5321 (timeclock-day-list-break): Adjust calls accordingly.
5322
9f7b1925
SM
53232013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5326 Use read--expression so that completion works again.
5327
6e50e983
SS
53282013-08-21 Sam Steingold <sds@gnu.org>
5329
5330 Add rudimentary inferior shell interaction
5331 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5332 (sh-set-shell): Reset it.
9f7b1925
SM
5333 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5334 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5335
dbb0d350
SM
53362013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * align.el: Use lexical-binding.
5339 (align-region): Simplify accordingly.
5340
c88586a9
MA
53412013-08-20 Michael Albinus <michael.albinus@gmx.de>
5342
5343 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5344
5345 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5346 `non-essential' up.
5347
f95527c8
MA
53482013-08-17 Michael Albinus <michael.albinus@gmx.de>
5349
5350 * net/tramp.el:
5351 * net/tramp-adb.el:
5352 * net/tramp-cmds.el:
5353 * net/tramp-ftp.el:
5354 * net/tramp-gvfs.el:
5355 * net/tramp-gw.el:
5356 * net/tramp-sh.el: Don't wrap external variable declarations by
5357 `eval-when-compile'.
5358
4b5fe4ee
LMI
53592013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5360
5361 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5362 now that Emacs supports ImageMagick animations.
5363
13c366c9
MA
53642013-08-16 Michael Albinus <michael.albinus@gmx.de>
5365
5366 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5367 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5368
3dfc5cd6
MR
53692013-08-16 Martin Rudalics <rudalics@gmx.at>
5370
5371 * window.el (mouse-autoselect-window-select): Do autoselect when
5372 mouse pointer is on margin.
5373
4bbb4381
WP
53742013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5375
5376 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5377
3a2ddc2d
GM
53782013-08-16 Glenn Morris <rgm@gnu.org>
5379
e8bedf5a
GM
5380 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5381 Handle "Remote Directory" response of some clients. (Bug#15058)
5382
58c4682f
GM
5383 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5384 Tweak warning. (Bug#14926)
5385
57953f49
GM
5386 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5387 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5388
3a2ddc2d
GM
5389 * image-mode.el (image-mode-map): Add menu items to reverse,
5390 increase, decrease, reset animation speed.
5391 (image--set-speed, image-increase-speed, image-decrease-speed)
5392 (image-reverse-speed, image-reset-speed): New functions.
5393 (image-mode-map): Add bindings for speed commands.
5394
5395 * image.el (image-animate-get-speed, image-animate-set-speed):
5396 New functions.
5397 (image-animate-timeout): Respect image :speed property.
5398
10fa0ed3
SM
53992013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5402 previous line (bug#15101).
5403 (debugger-eval-expression, debugger-record-expression):
5404 Use read--expression (bug#15102).
5405
5d89d9d2
MA
54062013-08-15 Michael Albinus <michael.albinus@gmx.de>
5407
5408 Remove byte compiler warnings, visible when compiling with
5409 `byte-compile-force-lexical-warnings' set to t.
5410
5411 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5412 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5413 (tramp-handle-unhandled-file-name-directory)
5414 (tramp-handle-file-notify-add-watch, tramp-action-login)
5415 (tramp-action-succeed, tramp-action-permission-denied)
5416 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5417 arguments with "_".
5418
5419 * net/tramp-adb.el (tramp-adb-parse-device-names)
5420 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5421 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5422 (tramp-adb-handle-file-truename): Remove unused arguments.
5423
5424 * net/tramp-cache.el (tramp-flush-directory-property)
5425 (tramp-flush-connection-property, tramp-list-connections)
5426 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5427
10fa0ed3
SM
5428 * net/tramp-compat.el (tramp-compat-make-temp-file):
5429 Rename FILENAME to F.
5d89d9d2
MA
5430
5431 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5432 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5433 (tramp-zeroconf-parse-workstation-device-names)
5434 (tramp-zeroconf-parse-webdav-device-names)
5435 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5436
5437 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5438 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5439
5440 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5441 arguments.
5442 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5443 (tramp-sh-handle-insert-file-contents-literally)
5444 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5445 with "_".
5446 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5447 Remove unused variables.
5448
5449 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5450 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5451 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5452
5453 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5454 Make them a defconst.
5455 (tramp-uuencode-region): Remove unused variable.
5456
62f33bae
JB
54572013-08-14 Juanma Barranquero <lekktu@gmail.com>
5458
5459 * frameset.el (frameset--prop-setter): New function.
5460 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5461 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5462 parameter was already set in FILTERED. Doc fix.
5463 (frameset--record-minibuffer-relationships): Allow saving a
5464 minibufferless frame without its corresponding minibuffer frame.
5465 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5466 frame, if the frame id matches.
5467 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5468 frames before orphaned ones.
5469 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5470
c660a885
MR
54712013-08-14 Martin Rudalics <rudalics@gmx.at>
5472
5473 * window.el (window-make-atom): Don't overwrite parameter
5474 already present.
5475 (display-buffer-in-atom-window): Handle special case where we
5476 split an already atomic window.
5477 (window--major-non-side-window, display-buffer-in-side-window)
5478 (window--side-check): Ignore minibuffer window when walking
5479 window tree.
5480 (window-deletable-p): Return 'frame only if no other frame uses
5481 our minibuffer window.
5482 (record-window-buffer): Run buffer-list-update-hook.
5483 (split-window): Make sure window--check-frame won't destroy an
5484 existing atomic window in case the new window gets nested
5485 inside.
5486 (display-buffer-at-bottom): Ignore minibuffer window when
5487 walking window tree. Don't split a side window.
5488 (pop-to-buffer): Don't set-buffer here, the select-window call
5489 should do that.
5490 (mouse-autoselect-window-select): Autoselect only if we are in the
5491 text portion of the window.
5492
8259030d
LMI
54932013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5494
21c58ae2
LMI
5495 * net/shr.el (shr-parse-image-data): New function to grab both the
5496 data itself and the Content-Type.
5497 (shr-put-image): Use it.
5498
5499 * net/eww.el (eww-display-image): Ditto.
5500
8259030d
LMI
5501 * image.el (image-content-type-suffixes): New variable.
5502
ad756449
FEG
55032013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5504
5505 * progmodes/python.el (python-imenu--build-tree)
5506 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5507
f73f4ce6
XF
55082013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5509
5510 * simple.el (backward-word): Mention the optional argument.
5511
1f585e65
SM
55122013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * frameset.el (frameset--make): Rename constructor from make-frameset.
5515 (frameset-p, frameset-valid-p): Don't autoload.
5516 (frameset-valid-p): Use normal accessors.
5517
af1c6c84
GM
55182013-08-13 Glenn Morris <rgm@gnu.org>
5519
55e47f95
GM
5520 * progmodes/compile.el (compile-command): Tweak example in doc.
5521 * obsolete/scribe.el (scribe-mode):
5522 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5523
f0024d8c
GM
5524 * mail/feedmail.el (feedmail-confirm-outgoing)
5525 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5526
5527 * cus-start.el (truncate-partial-width-windows): Fix type.
5528
5529 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5530
af1c6c84
GM
5531 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5532
5514cc4c
SM
55332013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * emacs-lisp/timer.el (timer--time-setter): New function.
5536 (timer--time): Use it as gv-setter.
5537
5538 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5539 setter is not a symbol.
5540
7997a2f1
GJ
55412013-08-12 Grégoire Jadi <daimrod@gmail.com>
5542
5543 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5544 if sending fails. This makes debugging easier.
5545
01f1a9ab
JB
55462013-08-12 Juanma Barranquero <lekktu@gmail.com>
5547
5548 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5549 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5550 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5551
594a4307
EZ
55522013-08-12 Eli Zaretskii <eliz@gnu.org>
5553
5554 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5555
7a22490f 55562013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5557
5558 * format.el (format-annotate-function):
5559 Handle read-only text properties in the source. (Bug#14887)
5560
3e41a054
LMI
55612013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5562
5514cc4c
SM
5563 * net/eww.el (eww-display-html): Ignore coding system errors.
5564 One web site uses "utf-8lias" as the coding system.
3e41a054 5565
7ec326db
JB
55662013-08-11 Juanma Barranquero <lekktu@gmail.com>
5567
5568 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5569
5660113b
JB
55702013-08-10 Juanma Barranquero <lekktu@gmail.com>
5571
9a4ebc74
JB
5572 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5573 (tutorial--detailed-help): Remove unused local variables.
5574 (tutorial--save-tutorial-to): Use ignore-errors.
5575 (help-with-tutorial): Use looking-at-p.
5576
5577 * view.el (view-buffer-other-window, view-buffer-other-frame):
5578 Mark unused arguments.
5579
5580 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5581 (woman-select-symbol-fonts, woman, woman-find-file)
5582 (woman-insert-file-contents, woman-non-underline-faces):
5583 Use string-match-p.
5584 (woman1-unquote): Move declaration.
5585
5586 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5587 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5588 argument. Remove unused local variable.
5589 (xml-parse-elem-type): Use string-match-p.
5590 (xml-substitute-numeric-entities): Use ignore-errors.
5591
45fdb482
JB
5592 * calculator.el (calculator): Mark unused argument.
5593 (calculator-paste, calculator-quit, calculator-integer-p):
5594 Use ignore-errors.
5595 (calculator-string-to-number, calculator-decimal, calculator-exp)
5596 (calculator-op-or-exp): Use string-match-p.
5597
5598 * dired.el (dired-buffer-more-recently-used-p): Declare.
5599 (dired-insert-set-properties, dired-insert-old-subdirs):
5600 Use ignore-errors.
5601
5602 * dired-aux.el (dired-compress): Use ignore-errors.
5603 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5604 (dired-do-async-shell-command, dired-do-shell-command)
5605 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5606 (dired-insert-subdir-validate): Use string-match-p.
5607 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5608 (dired-add-entry): Use string-match-p, looking-at-p.
5609 (dired-insert-subdir-newpos): Remove unused local variable.
5610
5611 * filenotify.el (file-notify-callback): Remove unused local variable.
5612
5613 * filesets.el (filesets-error): Mark unused argument.
5614 (filesets-which-command-p, filesets-filter-dir-names)
5615 (filesets-directory-files, filesets-get-external-viewer)
5616 (filesets-ingroup-get-data): Use string-match-p.
5617
5618 * find-file.el (ff-other-file-name, ff-other-file-name)
5619 (ff-find-the-other-file, ff-cc-hh-converter):
5620 Remove unused local variables.
5621 (ff-get-file-name): Use string-match-p.
5622 (ff-all-dirs-under): Use ignore-errors.
5623
5624 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5625 (follow-select-if-visible): Remove unused local variable.
5626
5627 * forms.el (read-file-filter): Move declaration.
5628 (forms--make-format, forms--make-parser, forms-insert-record):
5629 Quote function with #'.
5630 (forms--update): Use string-match-p. Quote function with #'.
5631
5632 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5633 (help-make-xrefs): Use looking-at-p.
5634 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5635
5636 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5637 (ibuffer-confirm-operation-on): Use string-match-p.
5638
5639 * msb.el (msb-item-handler, msb-dired-item-handler):
5640 Mark unused arguments.
5641
5642 * ses.el (ses-decode-cell-symbol)
5643 (ses-kill-override): Remove unused local variable.
5644 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5645 (ses-load): Use ignore-errors, looking-at-p.
5646 (ses-jump-safe): Use ignore-errors.
5647 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5648
5649 * tabify.el (untabify, tabify): Mark unused arguments.
5650
5651 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5652 Mark unused argument.
5653 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5654 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5655
c880af52
JB
5656 * emacs-lisp/timer.el (timer--time): Define setter with
5657 gv-define-setter to avoid deprecation warning.
5658
5660113b 5659 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5660 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5661 (cmpl-statistics-block): Remove (body was commented out).
5662 All callers changed.
5663 (add-completions-from-buffer, load-completions-from-file):
5664 Remove unused variables.
5665
156aab80
JB
56662013-08-09 Juanma Barranquero <lekktu@gmail.com>
5667
5c5dee78
JB
5668 * filecache.el (file-cache-delete-file-list):
5669 Print message only when told so.
5670 (file-cache-files-matching): Use #' in mapconcat argument.
5671
156aab80
JB
5672 * ffap.el (ffap-url-at-point): Fix reference to variable
5673 thing-at-point-default-mail-uri-scheme.
5674
ad9dcd70
SM
56752013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5676
54bd972f
SM
5677 * subr.el (define-error): New function.
5678 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5679 error-file-not-found and define with define-error.
5680 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5681 and define with define-error.
5682 * userlock.el (file-locked, file-supersession):
5683 * simple.el (mark-inactive):
5684 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5685 * progmodes/ada-mode.el (ada-mode-errors):
5686 * play/life.el (life-extinct):
5687 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5688 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5689 * nxml/rng-util.el (rng-error):
5690 * nxml/rng-uri.el (rng-uri-error):
5691 * nxml/rng-match.el (rng-compile-error):
5692 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5693 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5694 * nxml/nxml-rap.el (nxml-scan-error):
5695 * nxml/nxml-outln.el (nxml-outline-error):
5696 * net/soap-client.el (soap-error):
5697 * net/gnutls.el (gnutls-error):
5698 * net/ange-ftp.el (ftp-error):
5699 * mpc.el (mpc-proc-error):
5700 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5701 (json-number-format, json-string-escape, json-string-format)
5702 (json-key-format, json-object-format):
5703 * jka-compr.el (compression-error):
5704 * international/quail.el (quail-error):
5705 * international/kkc.el (kkc-error):
5706 * emacs-lisp/ert.el (ert-test-failed):
5707 * calc/calc.el (calc-error, inexact-result, math-overflow)
5708 (math-underflow):
5709 * bookmark.el (bookmark-error-no-filename):
5710 * epg.el (epg-error): Define with define-error.
5711
0ea9e53a
SM
5712 * time.el (display-time-event-handler)
5713 (display-time-next-load-average): Don't call sit-for since it seems
5714 unnecessary (bug#15045).
5715
b0429158
SM
5716 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5717 Use #' instead of ' to quote functions.
5718 (checkdoc-output-mode): Use setq-local.
5719 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5720 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5721 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5722 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5723 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5724 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5725 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5726 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5727
ad9dcd70
SM
5728 * ido.el (ido-completion-help): Fix up compiler warning.
5729
77187e6f
JB
57302013-08-09 Juanma Barranquero <lekktu@gmail.com>
5731
5732 * frameset.el (frameset-p): Add autoload cookie.
5733 (frameset--jump-to-register): New function, based on code moved from
5734 register.el.
5735 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5736
5737 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5738 (frameset-restore, frameset-save, frameset-session-filter-alist):
5739 Remove declarations.
5740 (register-alist): Doc fix.
5741 (frameset-to-register): Move to frameset.el.
5742 (jump-to-register, describe-register-1): Remove frameset-specific code.
5743
9d3aa82c
JB
57442013-08-08 Juanma Barranquero <lekktu@gmail.com>
5745
5746 * allout-widgets.el (allout-widgets-pre-command-business)
5747 (allout-widgets-post-command-business)
5748 (allout-widgets-after-change-handler)
5749 (allout-decorate-item-and-context, allout-set-boundary-marker)
5750 (allout-body-modification-handler)
5751 (allout-graphics-modification-handler): Mark ignored arguments.
5752 (allout-widgets-post-command-business)
5753 (allout-widgets-exposure-change-processor)
5754 (allout-widgets-exposure-undo-processor)
5755 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5756 (allout-parse-item-at-point, allout-decorate-item-guides)
5757 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5758 * allout.el (epa-passphrase-callback-function): Declare.
5759 (allout-overlay-insert-in-front-handler)
5760 (allout-overlay-interior-modification-handler)
5761 (allout-isearch-end-handler, allout-chart-siblings)
5762 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5763 (allout-yank-processing, allout-process-exposed)
5764 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5765 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5766 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5767 (lisp-indent-defform): Mark ignored arguments.
5768 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5769 (calculate-lisp-indent): Remove unused variables.
5770 * international/characters.el (indian-2-column, arabic-2-column)
5771 (tibetan): Mark ignored arguments.
5772 (use-cjk-char-width-table): Mark ignored arguments.
5773 Remove unused variables.
5774 * international/fontset.el (build-default-fontset-data)
5775 (x-compose-font-name, create-fontset-from-fontset-spec):
5776 Mark ignored arguments.
5777 (fontset-plain-name): Remove unused variables.
5778 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5779 (keyboard-coding-system): Mark ignored arguments.
5780 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5781 * help.el (resize-temp-buffer-window):
5782 * window.el (display-buffer-in-major-side-window)
5783 (display-buffer-in-side-window, display-buffer-in-previous-window):
5784 Remove unused variables.
5785 * isearch.el (isearch-forward-symbol):
5786 * version.el (emacs-bzr-version-bzr):
5787 * international/mule-cmds.el (current-language-environment):
5788 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5789 (x-handle-display):
5790 * term/pc-win.el (x-list-fonts, x-display-planes)
5791 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5792 (x-server-version, x-display-screens, x-display-mm-height)
5793 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5794 (x-selection-owner-p, x-own-selection-internal)
5795 (x-disown-selection-internal, x-get-selection-internal)
5796 (msdos-initialize-window-system):
5797 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5798 * term/x-win.el (x-handle-no-bitmap-icon):
5799 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5800 (vc-default-find-file-hook, vc-default-extra-menu):
5801 Mark ignored arguments.
5802
0ca3f70e
SM
58032013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5806 break-condition in the context of the debugged code (bug#12685).
5807
74c5d24c
CS
58082013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5809
5810 * comint.el:
5811 Do not use an overlay to highlight the last prompt. (Bug#14744)
5812 (comint-mode): Make comint-last-prompt buffer local.
5813 (comint-last-prompt): New variable.
5814 (comint-last-prompt-overlay): Remove. Superseded by
5815 comint-last-prompt.
0ca3f70e
SM
5816 (comint-snapshot-last-prompt, comint-output-filter):
5817 Use comint-last-prompt.
74c5d24c 5818
c03c02ee
JB
58192013-08-08 Juanma Barranquero <lekktu@gmail.com>
5820
a3738d20 5821 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5822 (frameset-save): Check validity of the resulting frameset.
5823
04263d23
XF
58242013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5825
5826 * ido.el (ido-record-command): Add doc string.
5827
76c5e5ab
JB
58282013-08-08 Juanma Barranquero <lekktu@gmail.com>
5829
5830 * frameset.el (frameset): Do not disable creation of the default
5831 frameset-p predicate. Doc fix.
5832 (frameset-valid-p): New function, copied from the old predicate-p.
5833 Add additional checks.
5834 (frameset-restore): Check with frameset-valid-p.
5835 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5836 (frameset-name, frameset-description, frameset-properties)
5837 (frameset-states): Add docstring.
f9dbf1cb
JB
5838 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5839 (frameset-filter-alist): Doc fixes.
76c5e5ab 5840
bd0c3c0b
JB
58412013-08-08 Juanma Barranquero <lekktu@gmail.com>
5842
5843 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5844
c735544c
SM
58452013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5848 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5849 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5850 (byte-compile-normal-call): Remove obsolescence check.
5851
2805a651
JB
58522013-08-08 Juanma Barranquero <lekktu@gmail.com>
5853
3677ffeb
JB
5854 * frameset.el (frameset-restore): Doc fix.
5855
2805a651
JB
5856 * register.el (frameset-frame-id, frameset-frame-with-id)
5857 (frameset-p, frameset-restore, frameset-save): Declare.
5858 (register-alist): Document framesets.
5859 (frameset-session-filter-alist): Declare.
5860 (frameset-to-register): New function.
5861 (jump-to-register): Implement jumping to framesets. Doc fix.
5862 (describe-register-1): Describe framesets.
5863
5864 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5865
a912c016
JB
58662013-08-07 Juanma Barranquero <lekktu@gmail.com>
5867
5868 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5869 Use lexical-binding.
5870
5871 * frameset.el (frameset): Use type vector, not list (incompatible
5872 change). Do not declare a new constructor, use the default one.
5873 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5874 `name' and `description', respectively, and add read-only slot
5875 `timestamp'. Doc fixes.
5876 (frameset-copy, frameset-persistent-filter-alist)
5877 (frameset-filter-alist, frameset-switch-to-gui-p)
5878 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5879 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5880 (frameset-filter-iconified, frameset-keep-original-display-p):
5881 Doc fixes.
5882 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5883 Rename from frameset-filter-(save|restore)-param. All callers changed.
5884 Doc fix.
5885 (frameset-p): Adapt to change to vector and be more thorough.
5886 Change arg name to OBJECT. Doc fix.
5887 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5888 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5889 All callers changed.
5890 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5891 All callers changed.
5892 (frameset--record-minibuffer-relationships): Rename from
5893 frameset--process-minibuffer-frames. All callers changed.
5894 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5895 Use new default constructor (again). Doc fix.
5896 (frameset--find-frame-if): Rename from `frameset--find-frame.
5897 All callers changed.
5898 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5899 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5900 Doc fix.
5901 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5902 PARAMETERS and WINDOW-STATE, respectively.
5903 (frameset-restore): Add new keyword argument PREDICATE.
5904 Reset frameset--target-display to nil. Doc fix.
5905
bb41480a
SM
59062013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5907
f001e98e
SM
5908 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5909 (bat-mode): Use it.
5910 (bat-mode-syntax-table): Mark \n as end-of-comment.
5911 (bat-font-lock-keywords): Remove comment rule.
5912
7679edb1
SM
5913 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5914 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5915
bb41480a
SM
5916 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5917 (byte-compile-callargs-warn): Use `push'.
5918 (byte-compile-arglist-warn): Ignore higher-order "calls".
5919 (byte-compile-file-form-autoload): Use `pcase'.
5920 (byte-compile-function-form): If quoting a symbol, check that it exists.
5921
cdc1ebb9
EZ
59222013-08-07 Eli Zaretskii <eliz@gnu.org>
5923
5924 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5925 and add a few popular commands found in batch files.
5926 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5927 (dos-mode): Doc fixes.
5928
312b1740
SM
59292013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5932 (dos-mode): Use setq-local. Add space after "rem".
5933 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5934 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5935
400a3178
AM
59362013-08-07 Arni Magnusson <arnima@hafro.is>
5937
5938 * progmodes/dos.el: New file.
5939 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5940 dos-mode.
5941
3b5c03d3
GM
59422013-08-06 Glenn Morris <rgm@gnu.org>
5943
5944 * calendar/calendar.el: Add new faces, and day-header-array.
5945 (calendar-weekday-header, calendar-weekend-header)
5946 (calendar-month-header): New faces.
5947 (calendar-day-header-construct): New function.
5948 (calendar-day-header-width): Also :set calendar-day-header-array.
5949 (calendar-american-month-header, calendar-european-month-header)
5950 (calendar-iso-month-header): Use calendar- faces.
5951 (calendar-generate-month):
5952 Use calendar-day-header-array for day headers; apply faces to them.
5953 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5954 (calendar-abbrev-construct): Add optional maxlen argument.
5955 (calendar-day-name-array): Doc fix.
5956 (calendar-day-name-array, calendar-abbrev-length)
5957 (calendar-day-abbrev-array):
5958 Also :set calendar-day-header-array, and maybe redraw.
5959 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5960 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5961 (calendar-day-name): Add option to use header array.
5962
ec6a2d7a
LMI
59632013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5964
5965 * net/shr.el (shr-render-td): Remove debugging.
5966 (shr-render-td): Make width computation consistent by defaulting
5967 all zero-width columns to 10 characters. This may not be optimal,
5968 but it's at least consistent.
2122cb6d
LMI
5969 (shr-make-table-1): Redo last change to fix the real problem in
5970 colspan handling.
ec6a2d7a 5971
ed4fd9c5
DA
59722013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5973
0ca3f70e
SM
5974 * files.el (cache-long-line-scans):
5975 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5976
64e22afe
JB
59772013-08-06 Juanma Barranquero <lekktu@gmail.com>
5978
024b38fc
JB
5979 * frameset.el (frameset, frameset-filter-alist)
5980 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5981 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5982 (frameset-compute-pos): Rename from frameset--compute-pos,
5983 and add docstring.
5984 (frameset-move-onscreen): Use frameset-compute-pos.
5985 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5986
64e22afe
JB
5987 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5988 Fix typos in docstrings.
5989
c8c2aca8
DA
59902013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5991
5992 * frame.el (get-other-frame): Tiny cleanup.
5993
1d237bba
JB
59942013-08-06 Juanma Barranquero <lekktu@gmail.com>
5995
8951efef
JB
5996 * vc/vc.el (vc-default-ignore-completion-table):
5997 Silence byte-compiler warning.
5998
307764cc
JB
5999 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6000 slot , which can indeed be nil.
6001 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6002 Move entry for `left' from persistent to live filter alist.
6003 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6004 Doc fixes.
6005 (frameset-filter-params): When restoring a frame, copy items added to
6006 `filtered', to avoid unwittingly modifying the original parameters.
6007 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6008 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6009
1d237bba
JB
6010 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6011 to use looking-at-p instead of looking-at. (Bug#15028)
6012
dc6c0eda
SM
60132013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 Revert introduction of isearch-filter-predicates (bug#14714).
6016 Rely on add-function instead.
6017 * isearch.el (isearch-filter-predicates): Rename it back to
6018 isearch-filter-predicate.
6019 (isearch-message-prefix): Use advice-function-mapc and advice
6020 properties to get the isearch-message-prefix.
6021 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6022 instead of run-hook-with-args-until-failure.
6023 (isearch-filter-visible): Not obsolete any more.
6024 * loadup.el: Preload nadvice.
6025 * replace.el (perform-replace): Revert to funcall
6026 instead of run-hook-with-args-until-failure.
6027 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6028 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6029 dired-isearch-filenames-toggle; make it into a proper minor mode.
6030 Use add/remove-function.
6031 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6032 Call the minor-mode rather than add/remove-hook.
6033 (dired-isearch-filter-filenames):
6034 Remove isearch-message-prefix property.
6035 * info.el (Info--search-loop): New function, extracted from Info-search.
6036 Funcall isearch-filter-predicate instead of
6037 run-hook-with-args-until-failure isearch-filter-predicates.
6038 (Info-search): Use it.
6039 (Info-mode): Use isearch-filter-predicate instead of
6040 isearch-filter-predicates.
6041
290d5b58
DA
60422013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6043
6044 Do not call to `selected-window' where it is assumed by default.
6045 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6046 `window-hscroll', `window-width', `window-height', `window-buffer',
6047 `window-frame', `window-start', `window-point', `next-window'
6048 and `window-display-table'.
6049 * abbrev.el (abbrev--default-expand):
6050 * bs.el (bs--show-with-configuration):
6051 * buff-menu.el (Buffer-menu-mouse-select):
6052 * calc/calc.el (calc):
6053 * calendar/calendar.el (calendar-generate-window):
6054 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6055 (diary-make-entry):
6056 * comint.el (send-invisible, comint-dynamic-complete-filename)
6057 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6058 * completion.el (complete):
6059 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6060 * disp-table.el (describe-current-display-table):
6061 * doc-view.el (doc-view-insert-image):
6062 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6063 * ehelp.el (with-electric-help):
6064 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6065 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6066 * emacs-lisp/helper.el (Helper-help-scroller):
6067 * emulation/cua-base.el (cua--post-command-handler-1):
6068 * eshell/esh-mode.el (eshell-output-filter):
6069 * ffap.el (ffap-gnus-wrapper):
6070 * help-macro.el (make-help-screen):
6071 * hilit-chg.el (highlight-compare-buffers):
6072 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6073 * hl-line.el (global-hl-line-highlight):
6074 * icomplete.el (icomplete-simple-completing-p):
6075 * isearch.el (isearch-done):
6076 * jit-lock.el (jit-lock-stealth-fontify):
6077 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6078 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
6079 * mpc.el (mpc-tagbrowser, mpc):
6080 * net/rcirc.el (rcirc-any-buffer):
6081 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6082 * play/landmark.el (landmark-max-width, landmark-max-height):
6083 * play/zone.el (zone):
6084 * progmodes/compile.el (compilation-goto-locus):
6085 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6086 * progmodes/etags.el (find-tag-other-window):
6087 * progmodes/fortran.el (fortran-column-ruler):
6088 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6089 * progmodes/verilog-mode.el (verilog-point-text):
6090 * reposition.el (reposition-window):
6091 * rot13.el (toggle-rot13-mode):
6092 * server.el (server-switch-buffer):
6093 * shell.el (shell-dynamic-complete-command)
6094 (shell-dynamic-complete-environment-variable):
6095 * simple.el (insert-buffer, set-selective-display)
6096 (delete-completion-window):
6097 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6098 (speedbar-recenter):
6099 * startup.el (fancy-splash-head):
6100 * textmodes/ispell.el (ispell-command-loop):
6101 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6102 * tutorial.el (help-with-tutorial):
6103 * vc/add-log.el (add-change-log-entry):
6104 * vc/compare-w.el (compare-windows):
6105 * vc/ediff-help.el (ediff-indent-help-message):
6106 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6107 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6108 (ediff-setup-control-frame):
6109 * vc/emerge.el (emerge-position-region):
6110 * vc/pcvs-util.el (cvs-bury-buffer):
6111 * window.el (walk-windows, mouse-autoselect-window-select):
6112 * winner.el (winner-set-conf, winner-undo): Related users changed.
6113
38276e01
JB
61142013-08-05 Juanma Barranquero <lekktu@gmail.com>
6115
6116 * frameset.el (frameset--set-id): Doc fix.
6117 (frameset-frame-id, frameset-frame-id-equal-p)
6118 (frameset-locate-frame-id): New functions.
6119 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6120 (frameset-restore): Use them.
6121
12b4c0ea
DA
61222013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6123
6124 Do not call to `selected-frame' where it is assumed by default.
6125 Affected functions are `raise-frame', `redraw-frame',
6126 `frame-first-window', `frame-terminal' and `delete-frame'.
6127 * calendar/appt.el (appt-disp-window):
6128 * epg.el (epg-wait-for-completion):
6129 * follow.el (follow-delete-other-windows-and-split)
6130 (follow-avoid-tail-recenter):
6131 * international/mule.el (set-terminal-coding-system):
6132 * mail/rmail.el (rmail-mail-return):
6133 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6134 * progmodes/f90.el (f90-add-imenu-menu):
6135 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6136 * server.el (server-switch-buffer):
6137 * simple.el (delete-completion-window):
6138 * talk.el (talk):
6139 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6140 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6141 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6142 * vc/ediff.el (ediff-documentation): Related users changed.
6143 * frame.el (selected-terminal): Remove the leftover.
6144
17f25e76
GM
61452013-08-05 Glenn Morris <rgm@gnu.org>
6146
6147 * calendar/calendar.el (calendar-generate-month):
6148 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6149 (calendar-generate-month, calendar-font-lock-keywords):
6150 Fix for calendar-day-header-width > length of any day name.
17f25e76 6151
063233c3
JB
61522013-08-05 Juanma Barranquero <lekktu@gmail.com>
6153
6154 * desktop.el (desktop-clear): Use new name of sort predicate.
6155
6156 * frameset.el (frameset): Add docstring. Move :version property to its
6157 own `version' slot.
6158 (frameset-copy): Rename from copy-frameset.
6159 (frameset-p): Check more thoroughly.
6160 (frameset-prop): Do not check for :version, which is no longer a prop.
6161 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6162 Use new :never value instead of t.
6163 (frameset-filter-alist): Expand and clarify docstring.
6164 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6165 (frameset-filter-minibuffer, frameset-filter-save-param)
6166 (frameset-filter-restore-param, frameset-filter-iconified):
6167 Add pointer to docstring of frameset-filter-alist.
6168 (frameset-filter-params): Rename filter values to be more meaningful:
6169 :never instead of t, and reverse the meanings of :save and :restore.
6170 (frameset--process-minibuffer-frames): Clarify error message.
6171 (frameset-save): Avoid unnecessary and confusing call to framep.
6172 Use new BOA constructor for framesets.
6173 (frameset--reuse-list): Doc fix.
6174 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6175 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6176 (frameset-minibufferless-first-p): Doc fix.
6177 Rename from frameset-sort-frames-for-deletion.
6178 (frameset-restore): Doc fixes. Use new function names.
6179 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6180
d5671a82
JB
61812013-08-04 Juanma Barranquero <lekktu@gmail.com>
6182
6183 * desktop.el (desktop-restore-forces-onscreen)
6184 (desktop-restore-reuses-frames): Document :keyword constant values.
6185 (desktop-filter-parameters-alist): Remove, now identical to
6186 frameset-filter-alist.
6187 (desktop--filter-tty*): Remove, moved to frameset.el.
6188 (desktop-save-frameset, desktop-restore-frameset):
6189 Do not pass :filters argument.
6190
6191 * frameset.el (frameset-live-filter-alist)
6192 (frameset-persistent-filter-alist): New variables.
6193 (frameset-filter-alist): Use them. Add autoload cookie.
6194 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6195 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6196 `frameset--id' (it's supposed to be internal to frameset.el).
6197 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6198 (frameset--initial-params): New function.
6199 (frameset--get-frame): Use it. Doc fix.
6200 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6201 Accept :all, not 'all.
6202 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6203 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6204 with fbound symbols. Fix frame id matching, and remove matching ids if
6205 the frame being restored is deleted. Obey :delete.
6206
671d5c16
SM
62072013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * subr.el (macrop): New function.
6210 (text-clone--maintaining): New var.
6211 (text-clone--maintain): Rename from text-clone-maintain. Use it
6212 instead of inhibit-modification-hooks.
6213
6214 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6215 a proxy, so as handle autoloads and redefinitions of the target.
6216 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6217
6218 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6219 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6220 (pcase--mutually-exclusive-p): New function.
6221 (pcase--split-consp): Use it.
6222 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6223 mutually exclusive with the current predicate.
6224
6225 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6226 (edebug-macrop): Remove. Use `macrop' instead.
6227 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6228 (ad-macro-p):
6229 * eshell/esh-cmd.el (eshell-macrop):
6230 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6231
1d44e9dc
SM
62322013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6235 (advice-mapc): New function, using it.
6236 (advice-function-member-p): New function.
6237 (advice--normalize): Store the cdr in advice--saved-rewrite since
6238 that's the part that will be changed.
6239 (advice--symbol-function): New function.
6240 (advice-remove): Handle removal before the function is defined.
6241 Adjust to new advice--saved-rewrite.
6242 (advice-member-p): Use advice-function-member-p and
6243 advice--symbol-function.
6244
5414a283
JB
62452013-08-04 Juanma Barranquero <lekktu@gmail.com>
6246
51d30f2c
JB
6247 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6248 (frameset-filter-minibuffer): Doc fix.
6249 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6250 (frameset--set-id, frameset--process-minibuffer-frames)
6251 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6252 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6253
5414a283
JB
6254 * desktop.el (desktop-clear): Only delete frames when called
6255 interactively and desktop-restore-frames is non-nil. Doc fix.
6256 (desktop-read): Set desktop-saved-frameset to nil.
6257
ab419665
XF
62582013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6259
6260 * vc/vc.el (vc-ignore): Rewrite.
6261 (vc-default-ignore-completion-table):
6262 (vc--read-lines):
6263 (vc--add-line, vc--remove-regexp): New functions.
6264
6265 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6266 (vc-svn-ignore-completion-table): New function.
6267
6268 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6269 (vc-hg-ignore-completion-table):
6270 (vc-hg-find-ignore-file): New functions.
6271
6272 * vc/vc-git.el (vc-git-ignore): Rewrite.
6273 (vc-git-ignore-completion-table):
6274 (vc-git-find-ignore-file): New functions.
6275
6276 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6277
6278 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6279 (vc-bzr-ignore-completion-table):
6280 (vc-bzr-find-ignore-file): New functions.
6281
2613dea2
JB
62822013-08-03 Juanma Barranquero <lekktu@gmail.com>
6283
6284 * frameset.el (frameset-prop): New function and setter.
6285 (frameset-save): Do not modify frame list passed by the caller.
6286
9c959872
SM
62872013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6288
6289 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6290
a104f656
SM
62912013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6292
70122acf
SM
6293 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6294 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6295
a104f656
SM
6296 * custom.el (custom-initialize-default, custom-initialize-set)
6297 (custom-initialize-reset, custom-initialize-changed): Affect the
6298 toplevel-default-value (bug#6275, bug#14586).
6299 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6300 for bug#6275.
6301
f078d570
JB
63022013-08-02 Juanma Barranquero <lekktu@gmail.com>
6303
185e3b5a
JB
6304 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6305 Add cl-def* expressions.
6306
f078d570
JB
6307 * frameset.el (frameset-filter-params): Fix order of arguments.
6308
9421876d
JB
63092013-08-02 Juanma Barranquero <lekktu@gmail.com>
6310
6311 Move code related to saving frames to frameset.el.
6312 * desktop.el: Require frameset.
6313 (desktop-restore-frames): Doc fix.
6314 (desktop-restore-reuses-frames): Rename from
6315 desktop-restoring-reuses-frames.
6316 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6317 (desktop-clear): Clear frames too.
6318 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6319 (desktop--filter-tty*, desktop-save, desktop-read):
6320 Use frameset functions.
6321 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6322 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6323 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6324 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6325 (desktop--process-minibuffer-frames, desktop-save-frames)
6326 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6327 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6328 (desktop--sort-states, desktop-restoring-frames-p)
6329 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6330 (desktop-restoring-frameset-p, desktop-restore-frameset)
6331 (desktop--check-dont-save, desktop-save-frameset): New functions.
6332 (desktop--app-id): New constant.
6333 (desktop-first-buffer, desktop-buffer-ok-count)
6334 (desktop-buffer-fail-count): Move before first use.
6335 * frameset.el: New file.
6336
76dc5996
SM
63372013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 * files.el: Use lexical-binding.
6340 (dir-locals-read-from-file): Remove unused `err' variable.
6341 (hack-dir-local-variables--warned-coding): New var.
6342 (hack-dir-local-variables): Use it to avoid repeated warnings.
6343 (make-backup-file-name--default-function): New function.
6344 (make-backup-file-name-function): Use it as default.
6345 (buffer-stale--default-function): New function.
6346 (buffer-stale-function): Use it as default.
6347 (revert-buffer-insert-file-contents--default-function): New function.
6348 (revert-buffer-insert-file-contents-function): Use it as default.
6349 (insert-directory): Avoid add-to-list.
6350
6351 * autorevert.el (auto-revert-handler): Simplify.
6352 Use buffer-stale--default-function.
6353
06d36e2b
TH
63542013-08-01 Tassilo Horn <tsdh@gnu.org>
6355
5f648ab4
TH
6356 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6357
06d36e2b
TH
6358 * whitespace.el (whitespace-ensure-local-variables): New function.
6359 (whitespace-cleanup-region): Call it.
6360 (whitespace-turn-on): Call it.
6361
a43dc424
MA
63622013-08-01 Michael Albinus <michael.albinus@gmx.de>
6363
6364 Complete file name handlers.
6365
6366 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6367 (tramp-handle-verify-visited-file-modtime)
6368 (tramp-handle-file-notify-rm-watch): New functions.
6369 (tramp-call-process): Do not bind `default-directory'.
6370
44e18199
JB
6371 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6372 Order alphabetically.
a43dc424
MA
6373 [access-file, add-name-to-file, dired-call-process]:
6374 [dired-compress-file, file-acl, file-notify-rm-watch]:
6375 [file-ownership-preserved-p, file-selinux-context]:
6376 [make-directory-internal, make-symbolic-link, set-file-acl]:
6377 [set-file-selinux-context, set-visited-file-modtime]:
6378 [verify-visited-file-modtime]: Add handler.
6379 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6380
6381 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6382 [file-notify-add-watch, file-notify-rm-watch]:
6383 [set-file-times, set-visited-file-modtime]:
6384 [verify-visited-file-modtime]: Add handler.
6385 (with-tramp-gvfs-error-message)
6386 (tramp-gvfs-handle-set-visited-file-modtime)
6387 (tramp-gvfs-fuse-file-name): Remove.
6388 (tramp-gvfs-handle-file-notify-add-watch)
6389 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6390 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6391
44e18199
JB
6392 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6393 Order alphabetically.
a43dc424
MA
6394 [file-notify-rm-watch ]: Use default Tramp handler.
6395 [executable-find]: Remove private handler.
6396 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6397 `default-directory'.
6398 (tramp-sh-handle-executable-find)
6399 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6400 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6401 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6402 Do not use `format' in `tramp-message'.
6403
6404 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6405 [file-notify-rm-watch, set-visited-file-modtime]:
6406 [verify-visited-file-modtime]: Add handler.
6407 (tramp-smb-call-winexe): Do not bind `default-directory'.
6408
7188b515
XF
64092013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6410
6411 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6412
2412ee1a
DG
64132013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6414
6415 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6416 use it.
6417 (log-view-diff-changeset): Same.
6418 (log-view-diff-common): Call backend command `previous-revision'
6419 to find out the previous revision, in both cases. Swap the
6420 variables `to' and `fr', so that `fr' usually refers to the
6421 earlier revision (Bug#14989).
6422
5002a754
KRC
64232013-07-31 Kan-Ru Chen <kanru@kanru.info>
6424
6425 * ibuf-ext.el (ibuffer-filter-by-filename):
6426 Make it work with dired buffers too.
6427
44e18199 64282013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6429
6430 * emacs-lisp/re-builder.el (reb-color-display-p):
6431 * files.el (save-buffers-kill-terminal):
6432 * net/browse-url.el (browse-url):
6433 * server.el (server-save-buffers-kill-terminal):
6434 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6435 Prefer nil to selected-frame for the first arg of frame-parameter.
6436
aeca3fbb
XF
64372013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6438
6439 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6440
158bc55c
SB
64412013-07-30 Stephen Berman <stephen.berman@gmx.net>
6442
6443 * minibuffer.el (completion--twq-all): Try and preserve each
6444 completion's case choice (bug#14907).
6445
d50fceab
LMI
64462013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6447
ac38e731
LMI
6448 * net/network-stream.el (open-network-stream): Mention the new
6449 :nogreeting parameter.
6450 (network-stream-open-starttls): Use the :nogreeting parameter
6451 (bug#14938).
6452
1211de50
LMI
6453 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6454
997798bf
LMI
6455 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6456 more natural than popping.
6457
d50fceab 6458 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6459 (shr-urlify): Highlight under mouse.
d50fceab 6460
5c09de04
XF
64612013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6462
207d1d04
XF
6463 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6464
6465 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6466
5c09de04
XF
6467 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6468 buffer for output.
6469
3cd51eaa
XF
6470 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6471 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6472
44e18199 6473 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6474 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6475
6476 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6477
6478 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6479 buffer for output.
6480
35a89bdd
EZ
64812013-07-29 Eli Zaretskii <eliz@gnu.org>
6482
6483 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6484 initial frame is minibuffer-less. (Bug#14841)
6485
78822e94
MA
64862013-07-29 Michael Albinus <michael.albinus@gmx.de>
6487
6488 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6489 option.
6490
6491 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6492 (tramp-maybe-open-connection): Use it.
6493
9503c190
JB
64942013-07-28 Juanma Barranquero <lekktu@gmail.com>
6495
6496 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6497 minimal set of parameters passed when creating a frame, because
6498 the minibuffer status of a frame cannot be changed later.
6499
d5a845b4
SB
65002013-07-28 Stephen Berman <stephen.berman@gmx.net>
6501
6502 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6503 replace-regexp-in-string and inadvertent omissions in previous change.
6504 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6505 name of filtered items buffer.
d5a845b4 6506
ddeffb17
JB
65072013-07-28 Juanma Barranquero <lekktu@gmail.com>
6508
6509 * desktop.el: Optionally force offscreen frames back onscreen.
6510 (desktop-restoring-reuses-frames): New option.
6511 (desktop--compute-pos, desktop--move-onscreen): New functions.
6512 (desktop--make-frame): Use desktop--move-onscreen.
6513
f5950f7a
AM
65142013-07-27 Alan Mackenzie <acm@muc.de>
6515
6516 Fontify a Java generic method as a function.
6517 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6518 value to t.
6519
ae43b66a
SB
65202013-07-27 Stephen Berman <stephen.berman@gmx.net>
6521
6522 * calendar/todo-mode.el: Add command to rename todo files.
6523 (todo-rename-file): New command.
6524 (todo-key-bindings-t): Add key binding for it. Change the
6525 bindings of todo-filter-regexp-items(-multifile) to use `x'
6526 instead of `r', since the latter is better suited to the new
6527 renaming command.
6528
5ab78d3d
AM
65292013-07-27 Alan Mackenzie <acm@muc.de>
6530
6531 Make Java try-with-resources statement parse properly.
6532 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6533 (c-block-stmt-1-2-key): New language constants/variables.
6534 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6535 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6536 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6537 with c-block-stmt-1-2-key.
5ab78d3d 6538
d85c4d50
JB
65392013-07-27 Juanma Barranquero <lekktu@gmail.com>
6540
6541 * desktop.el (desktop--make-frame): Apply most frame parameters after
6542 creating the frame to force (partially or totally) offscreen frames to
6543 be restored as such.
6544
e4c467f9
XF
65452013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6546
6547 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6548 (Bug#14948)
e4c467f9 6549
7ced0d04
SM
65502013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6553 `base' arg of backtrace-frame.
6554
fec92060
EZ
65552013-07-26 Eli Zaretskii <eliz@gnu.org>
6556
6557 * simple.el (list-processes): Doc fix.
6558
d58d31fb
JB
65592013-07-26 Juanma Barranquero <lekktu@gmail.com>
6560
6561 * desktop.el (desktop--select-frame):
d85c4d50 6562 Try harder to reuse existing frames.
d58d31fb 6563
53ff3e77
SM
65642013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6567 (edebug-eval): Use backtrace-eval.
6568 (edebug--display, edebug--recursive-edit): Don't let-bind the
6569 edebug-outer-* vars that keep track of variables we locally let-bind.
6570 (edebug-outside-excursion): Don't restore outside values of locally
6571 let-bound vars.
6572 (edebug--display): Use user-error.
6573 (cl-lexical-debug, cl-debug-env): Remove.
6574
045f7a53
JB
65752013-07-26 Juanma Barranquero <lekktu@gmail.com>
6576
6577 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6578 are restored to be sure that they are visible before deleting any
6579 remaining ones.
6580
59070b32
MM
65812013-07-26 Matthias Meulien <orontee@gmail.com>
6582
742a3501
XF
6583 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6584 vc-print-root-log. (Bug#14948)
59070b32 6585
b1fb3596
RS
65862013-07-26 Richard Stallman <rms@gnu.org>
6587
6588 Add aliases for encrypting mail.
6589 * epa.el (epa-mail-aliases): New option.
6590 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6591 Bind inhibit-read-only so read-only text doesn't ruin everything.
6592 (epa-mail-default-recipients): New subroutine broken out.
6593 Handle epa-mail-aliases.
6594
56ea7291
SM
65952013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 Add support for lexical variables to the debugger's `e' command.
6598 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6599 vars, except for debugger-outer-match-data.
6600 (debugger-frame-number): Move check for "on a function call" from
6601 callers into it. Add `skip-base' argument.
6602 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6603 (debugger-env-macro): Only reset the state stored in non-variables,
6604 i.e. current-buffer and match-data.
6605 (debugger-eval-expression): Rewrite using backtrace-eval.
6606 * subr.el (internal--called-interactively-p--get-frame): Remove.
6607 (called-interactively-p):
6608 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6609 `base' arg of backtrace-frame instead.
6610
15ac32d5
GM
66112013-07-26 Glenn Morris <rgm@gnu.org>
6612
8358a09d
GM
6613 * align.el (align-regexp): Doc fix. (Bug#14857)
6614 (align-region): Explicit error if subexpression missing/does not match.
6615
15ac32d5
GM
6616 * simple.el (global-visual-line-mode):
6617 Do not duplicate the mode lighter. (Bug#14858)
6618
f47ad11b
MR
66192013-07-25 Martin Rudalics <rudalics@gmx.at>
6620
6621 * window.el (display-buffer): In display-buffer bind
6622 split-window-keep-point to t, bug#14829.
6623
02530987
JB
66242013-07-25 Juanma Barranquero <lekktu@gmail.com>
6625
6626 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6627 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6628 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6629 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6630 Change accordingly.
f63ebeb5
JB
6631 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6632 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6633
6ccb9cab 66342013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6635
6ccb9cab 6636 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6637
cb3a56d2
JB
66382013-07-25 Juanma Barranquero <lekktu@gmail.com>
6639
6640 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6641 parameter to modify-frame-parameters if the value has not changed;
6642 this is a workaround for bug#14949.
6643 (desktop--make-frame): On cl-delete-if call, check parameter name,
6644 not full parameter.
6645
7aa7fff0
XF
66462013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6647
6648 * vc/vc.el (vc-ignore): New function.
6649
6650 * vc/vc-svn.el (vc-svn-ignore): New function.
6651
6652 * vc/vc-hg.el (vc-hg-ignore): New function.
6653
6654 * vc/vc-git.el (vc-git-ignore): New function.
6655
6656 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6657 (vc-dir-ignore): New function.
6658
6659 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6660 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6661
6662 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6663
6664 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6665
889acc5c
JB
66662013-07-24 Juanma Barranquero <lekktu@gmail.com>
6667
6668 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6669 (desktop-restore-frames): Warn when deleting an existing frame failed.
6670
86c40970
GM
66712013-07-24 Glenn Morris <rgm@gnu.org>
6672
6673 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6674
d5d3c58a
MA
66752013-07-24 Michael Albinus <michael.albinus@gmx.de>
6676
6677 * filenotify.el (file-notify-supported-p):
6678 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6679 Remove functions.
6680
6681 * autorevert.el (auto-revert-use-notify):
6682 (auto-revert-notify-add-watch):
6683 * net/tramp.el (tramp-file-name-for-operation):
6684 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6685 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6686 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6687 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6688 Remove `file-notify-supported-p' entry.
6689
d100084b
GM
66902013-07-24 Glenn Morris <rgm@gnu.org>
6691
6692 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6693 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6694
ac93e56b
SM
66952013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6696
249eea30
SM
6697 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6698 checked with memq (bug#14935).
6699
ac93e56b
SM
6700 * files.el (revert-buffer-function): Use a non-nil default.
6701 (revert-buffer-preserve-modes): Declare var to
6702 provide access to the `preserve-modes' argument.
6703 (revert-buffer): Let-bind it.
6704 (revert-buffer--default): New function, extracted from revert-buffer.
6705
2cdeb903
SM
67062013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * lpr.el: Signal print errors more prominently.
6709 (print-region-function): Don't default to nil.
6710 (lpr-print-region): New function, extracted from print-region-1.
6711 Check lpr's return value and signal an error in case of problem.
6712 (print-region-1): Use it.
6713 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6714 versions instead.
6715 (ps-printer-name): Default to nil.
6716 (ps-printer-name-option): Default to lpr-printer-switch.
6717 (ps-print-region-function): Don't default to nil.
6718 (ps-postscript-code-directory): Simplify default.
6719 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6720 (ps-string-list, ps-eval-switch, ps-flatten-list)
6721 (ps-flatten-list-1): Remove.
6722 (ps-multibyte-buffer): Avoid setq.
6723 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6724 (print-region-function, ps-print-region-function): Don't set them here.
6725
73600831
XF
67262013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6727
0e55c076
XF
6728 * ido.el (ido-fractionp):
6729 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6730 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6731 (ido-max-directory-size, ido-max-dir-file-cache)
6732 (ido-decorations): Doc fix.
6733
73600831
XF
6734 * ansi-color.el: Fix old URL.
6735
3d012865
MM
67362013-07-23 Michael R. Mauger <michael@mauger.com>
6737
e903c210 6738 * progmodes/sql.el: Version 3.3
3d012865
MM
6739 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6740 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6741 (sql-interactive-remove-continuation-prompt): Rewrite, use
6742 functions above. Fix continuation prompt and complete output line
6743 handling.
6744 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6745 redirected output buffer.
6746 (sql-mode): Restore deleted code (Bug#13591).
6747
da77a2e2
JB
67482013-07-23 Juanma Barranquero <lekktu@gmail.com>
6749
6750 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6751
80ff0c71
MA
67522013-07-23 Michael Albinus <michael.albinus@gmx.de>
6753
6754 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6755
6756 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6757 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6758 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6759
b61d71e4
JB
67602013-07-23 Juanma Barranquero <lekktu@gmail.com>
6761
6762 * desktop.el (desktop-clear): Simplify; remove useless checks
6763 against invalid buffer names.
6764 (desktop-list*): Use cl-list*.
6765 (desktop-buffer-info, desktop-create-buffer): Simplify.
6766
c3512092
LL
67672013-07-23 Leo Liu <sdl.web@gmail.com>
6768
6769 * bookmark.el (bookmark-make-record): Restore NAME as a default
6770 value. (Bug#14933)
6771
0ac26976
SM
67722013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6773
7d22ce18
SM
6774 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6775 extracted from autoload--insert-text.
6776 (autoload--insert-text): Remove.
6777 (autoload--print-cookie-text): New function, extracted from
6778 autoload--insert-cookie-text.
6779 (autoload--insert-cookie-text): Remove.
6780 (autoload-generate-file-autoloads): Adjust calls accordingly.
6781
9b2607e8
SM
6782 * winner.el (winner-hook-installed-p): Remove.
6783 (winner-mode): Simplify accordingly.
6784
c43a8618
SM
6785 * subr.el (add-to-list): Fix compiler-macro when `append' is
6786 not constant. Don't use `cl-member' for the base case.
6787
0ac26976
SM
6788 * progmodes/subword.el: Fix boundary case (bug#13758).
6789 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6790 own group.
6791 (subword-backward-regexp): Make it a constant.
6792 (subword-forward-internal): Don't treat a trailing capital as the
6793 beginning of a word.
6794
6874724a
AR
67952013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6796
6797 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6798 global value of tabulated-list-revert-hook (bug#14930).
6799
70f1b5e8
JB
68002013-07-22 Juanma Barranquero <lekktu@gmail.com>
6801
a1c80d9d
JB
6802 * desktop.el: Require 'cl-lib.
6803 (desktop-before-saving-frames-functions): New hook.
6804 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6805 for frames being saved. Rename from desktop--save-minibuffer-frames.
6806 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6807 Do not save frames with non-nil `desktop-dont-save' parameter.
6808 Filter out deleted frames.
a1c80d9d
JB
6809 (desktop--find-frame): Use cl-find-if.
6810 (desktop--select-frame): Use cl-(first|second|third) to access values
6811 of desktop-mini.
6812 (desktop--make-frame): Use cl-delete-if.
6813 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6814 (desktop-restore-frames): Use cl-(first|second|third) to access values
6815 of desktop-mini. Look for visible frame at the end, not while
6816 restoring frames.
6817
70f1b5e8
JB
6818 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6819 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6820 Use string-match-p, looking-at-p (bug#14927).
6821
728dc3cc
JB
68222013-07-21 Juanma Barranquero <lekktu@gmail.com>
6823
56bc453c
JB
6824 * desktop.el (desktop-saved-frame-states):
6825 Rename from desktop--saved-states; all users changed.
6826 (desktop-save-frames): Rename from desktop--save-frames.
6827 Do not save state to desktop file.
6828 (desktop-save): Save desktop-saved-frame-states to desktop file
6829 and reset to nil.
6830 (desktop-restoring-frames-p): New function.
6831 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6832 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6833 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6834
728dc3cc
JB
6835 * desktop.el: Correctly restore iconified frames.
6836 (desktop--filter-iconified-position): New function.
6837 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6838
862f1c9c
GM
68392013-07-20 Glenn Morris <rgm@gnu.org>
6840
c4074c9f
GM
6841 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6842 Let `message' do the formatting.
6843 (def-gdb-preempt-display-buffer): Add explicit format.
6844
d828e5f9
GM
6845 * image-dired.el (image-dired-track-original-file):
6846 Use with-current-buffer.
6847 (image-dired-track-thumbnail): Use with-current-buffer.
6848 Avoid changing point of wrong window.
6849
862f1c9c
GM
6850 * image-dired.el (image-dired-track-original-file):
6851 Avoid changing point of wrong window. (Bug#14909)
6852
f0398ec1 68532013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6854
6855 * progmodes/gdb-mi.el (gdb-done-or-error):
6856 Guard against "%" in gdb output. (Bug#14127)
6857
1451928f
AS
68582013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6859
763a086d
JB
6860 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6861 (Bug#14826)
f7a03897 6862
1451928f
AS
6863 * international/mule.el (coding-system-iso-2022-flags): Fix last
6864 change.
6865
99107004
KH
68662013-07-20 Kenichi Handa <handa@gnu.org>
6867
763a086d
JB
6868 * international/mule.el (coding-system-iso-2022-flags):
6869 Add `8-bit-level-4'. (Bug#8522)
99107004 6870
48494e06
LMI
68712013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6872
8ba8eec5
LMI
6873 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6874 (bug#14815).
6875
dfbc66e3
LMI
6876 * net/eww.el (eww-process-text-input): Allow inputting when the
6877 point is at the start of the line, as the properties aren't
6878 front-sticky.
6879
48494e06
LMI
6880 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6881 degenerate widths.
6882
77c92cb9
RS
68832013-07-19 Richard Stallman <rms@gnu.org>
6884
aec7da77
RS
6885 * epa.el (epa-popup-info-window): Doc fix.
6886
77c92cb9
RS
6887 * subr.el (split-string): New arg TRIM.
6888
945c5bb1
JB
68892013-07-18 Juanma Barranquero <lekktu@gmail.com>
6890
6891 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6892 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6893
e06ec67f
MA
68942013-07-18 Michael Albinus <michael.albinus@gmx.de>
6895
c7064f05 6896 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6897 `file-notify-support'. Do not autoload. Adapt all uses.
6898 (file-notify-supported-p): New defun.
6899
c7064f05
JB
6900 * autorevert.el (auto-revert-use-notify):
6901 Use `file-notify-supported-p' instead of `file-notify-support'.
6902 Adapt docstring.
e06ec67f
MA
6903 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6904
6905 * net/tramp.el (tramp-file-name-for-operation):
6906 Add `file-notify-supported-p'.
6907
6908 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6909 New defun.
6910 (tramp-sh-file-name-handler-alist): Add it as handler for
6911 `file-notify-supported-p '.
6912
6913 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6914 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6915 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6916 Add `ignore' as handler for `file-notify-*' functions.
6917
5dc8a629
EZ
69182013-07-17 Eli Zaretskii <eliz@gnu.org>
6919
6920 * simple.el (line-move-partial, line-move): Don't start vscroll or
6921 scroll-up if the current line is not taller than the window.
6922 (Bug#14881)
6923
77aea2fb
DG
69242013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6925
6926 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6927 highlight question marks in the method names as strings.
ac72c08d
DG
6928 (ruby-block-beg-keywords): Inline.
6929 (ruby-font-lock-keyword-beg-re): Extract from
6930 `ruby-font-lock-keywords'.
77aea2fb 6931
18c26d81
JD
69322013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6933
6934 * frame.el (blink-cursor-blinks): New defcustom.
6935 (blink-cursor-blinks-done): New defvar.
6936 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6937 (blink-cursor-timer-function): Check if number of blinks has been
6938 done on X and NS.
6939 (blink-cursor-suspend, blink-cursor-check): New defuns.
6940
da48522e
GM
69412013-07-15 Glenn Morris <rgm@gnu.org>
6942
6943 * edmacro.el (edmacro-format-keys): Fix previous change.
6944
0463c1ef
PE
69452013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6946
6947 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6948 The hack didn't work outside English locales anyway.
6949
b43f6451
JB
69502013-07-15 Juanma Barranquero <lekktu@gmail.com>
6951
6952 * simple.el (define-alternatives): Rename from alternatives-define,
6953 per RMS' suggestion.
6954
b958c0ad
JB
69552013-07-14 Juanma Barranquero <lekktu@gmail.com>
6956
6957 * desktop.el (desktop-restore-frames): Change default to t.
6958 (desktop-restore-in-current-display): Now offer more options.
6959 (desktop-restoring-reuses-frames): New customization option.
6960 (desktop--saved-states): Doc fix.
6961 (desktop-filter-parameters-alist): New variable, renamed and expanded
6962 from desktop--excluded-frame-parameters.
6963 (desktop--target-display): New variable.
6964 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6965 (desktop--filter-tty*, desktop--filter-*-color)
6966 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6967 (desktop--filter-save-desktop-parm)
6968 (desktop-restore-in-original-display-p): New functions.
6969 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6970 (desktop--save-minibuffer-frames): New function, inspired by a similar
6971 function from Martin Rudalics.
6972 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6973 (desktop--restore-in-this-display-p): Remove.
6974 (desktop--find-frame): Rename from desktop--find-frame-in-display
6975 and add predicate argument.
6976 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6977 (desktop--reuse-list): New variable.
6978 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6979 New functions.
6980 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6981
f6dd8b36
MA
69822013-07-14 Michael Albinus <michael.albinus@gmx.de>
6983
6984 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6985
2ce3c565
DG
69862013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6987
763a086d
JB
6988 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6989 Highlight conversion methods on Kernel.
2ce3c565 6990
2cdb7698
AM
69912013-07-13 Alan Mackenzie <acm@muc.de>
6992
6993 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6994 and comment it out. This out-commenting enables certain C++
6995 declarations to be parsed correctly.
6996
1a67b811
EZ
69972013-07-13 Eli Zaretskii <eliz@gnu.org>
6998
1b796d6b
EZ
6999 * international/mule.el (define-coding-system): Doc fix.
7000
1a67b811
EZ
7001 * simple.el (default-font-height): Don't call font-info if the
7002 frame's default font didn't change since the frame was created.
7003 (Bug#14838)
7004
58fbe886
LL
70052013-07-13 Leo Liu <sdl.web@gmail.com>
7006
7007 * ido.el (ido-read-file-name): Guard against non-symbol value.
7008
1f0480d4
FEG
70092013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7010
7011 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7012 in nested defuns.
7013
97ead0e5
LL
70142013-07-13 Leo Liu <sdl.web@gmail.com>
7015
7016 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7017 ido-set-matches call. (Bug#6852)
7018
0880a952
DG
70192013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7020
7021 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7022 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7023 Ruby 2.0.
7024 (ruby-font-lock-keywords): Distinguish calls to functions with
7025 module-like names from module references. Highlight character
7026 literals.
7027
a7d8babb
SDJ
70282013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7029
7030 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7031 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7032
acfcc8c5
JB
70332013-07-12 Juanma Barranquero <lekktu@gmail.com>
7034
7035 * desktop.el (desktop--v2s): Remove unused local variable.
7036 (desktop-save-buffer): Make defvar-local; adjust docstring.
7037 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7038 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7039
051f2775
AS
70402013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7041
7042 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7043
f24e7572
GM
70442013-07-12 Eli Zaretskii <eliz@gnu.org>
7045
7046 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7047 (Bug#14842)
7048
539a920c
GM
70492013-07-12 Glenn Morris <rgm@gnu.org>
7050
7051 * doc-view.el: Require cl-lib at runtime too.
7052 (doc-view-remove-if): Remove.
7053 (doc-view-search-next-match, doc-view-search-previous-match):
7054 Use cl-remove-if.
7055
7056 * edmacro.el: Require cl-lib at runtime too.
7057 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7058 (edmacro-mismatch, edmacro-subseq): Remove.
7059
7060 * shadowfile.el: Require cl-lib.
7061 (shadow-remove-if): Remove.
7062 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7063 Use cl-remove-if.
7064
7065 * wid-edit.el: Require cl-lib.
7066 (widget-choose): Use cl-remove-if.
7067 (widget-remove-if): Remove.
7068
7069 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7070 (ebrowse-delete-if-not): Remove.
7071 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7072 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7073 Use cl-delete-if-not.
7074
1048af7c
JB
70752013-07-12 Juanma Barranquero <lekktu@gmail.com>
7076
7077 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7078 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7079
6c0674ee
LL
70802013-07-12 Leo Liu <sdl.web@gmail.com>
7081
7082 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7083
a19b3c2d
GM
70842013-07-11 Glenn Morris <rgm@gnu.org>
7085
4582a01c
GM
7086 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7087 (edebug-gensym-index, edebug-gensym):
7088 Remove reimplementation of cl-gensym.
7089 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7090
7091 * thumbs.el: Require cl-lib at run-time too.
7092 (thumbs-gensym-counter, thumbs-gensym):
7093 Remove reimplementation of cl-gensym.
7094 (thumbs-temp-file): Use cl-gensym.
7095
a19b3c2d
GM
7096 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7097 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7098 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7099 (ert--union, ert--gensym-counter, ert--gensym-counter)
7100 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7101 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7102 (ert-make-test-unbound, ert--expand-should-1)
7103 (ert--expand-should, ert--should-error-handle-error)
7104 (should-error, ert--explain-equal-rec)
7105 (ert--plist-difference-explanation, ert-select-tests)
7106 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7107 Use cl-lib functions rather than reimplementations.
7108
88f6a933
MA
71092013-07-11 Michael Albinus <michael.albinus@gmx.de>
7110
7111 * net/tramp.el (tramp-methods): Extend docstring.
7112 (tramp-connection-timeout): New defcustom.
7113 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7114 (with-tramp-progress-reporter): Simplify.
7115 (tramp-process-actions): Improve messages.
7116
7117 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7118 * net/tramp-sh.el (tramp-maybe-open-connection):
7119 Use `tramp-connection-timeout'.
7120 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7121 (Bug#14808)
7122
a43d577e
LL
71232013-07-11 Leo Liu <sdl.web@gmail.com>
7124
7125 * ido.el (ido-read-file-name): Conform to the requirements of
7126 read-file-name. (Bug#11861)
7127 (ido-read-directory-name): Conform to the requirements of
7128 read-directory-name.
7129
d77974bf
JB
71302013-07-11 Juanma Barranquero <lekktu@gmail.com>
7131
7132 * subr.el (delay-warning): New function.
7133
35cb8a3e
EZ
71342013-07-10 Eli Zaretskii <eliz@gnu.org>
7135
7136 * simple.el (default-line-height): New function.
7137 (line-move-partial, line-move): Use it instead of computing the
7138 line height inline.
7139 (line-move-partial): Always compute ROWH. If the last line is
7140 partially-visible, but its text is completely visible, allow
7141 cursor to enter such a partially-visible line.
7142
525c5c77
MA
71432013-07-10 Michael Albinus <michael.albinus@gmx.de>
7144
7145 Improve error messages. (Bug#14808)
7146
7147 * net/tramp.el (tramp-current-connection): New defvar, moved from
7148 tramp-sh.el.
0ac26976 7149 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7150 needed anymore.
0ac26976
SM
7151 (tramp-error-with-buffer): Show message in minibuffer.
7152 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7153 (with-tramp-progress-reporter): Improve messages.
7154 (tramp-process-actions): Use progress reporter. Delete process in
7155 case of error. Improve messages.
7156
763a086d
JB
7157 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7158 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7159 (tramp-current-connection): Remove.
525c5c77
MA
7160 (tramp-maybe-open-connection): The car of
7161 `tramp-current-connection' are the first 3 slots of the vector.
7162
c7a4d368
TZ
71632013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7164
7165 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7166 inside continued strings.
7167
954b166e
PE
71682013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7169
7170 Timestamp fixes for undo (Bug#14824).
7171 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7172
56973319
LL
71732013-07-10 Leo Liu <sdl.web@gmail.com>
7174
7175 * files.el (require-final-newline): Allow safe local value.
7176 (Bug#14834)
7177
5550a72c
LL
71782013-07-09 Leo Liu <sdl.web@gmail.com>
7179
7180 * ido.el (ido-read-directory-name): Handle fallback.
7181 (ido-read-file-name): Update DIR to ido-current-directory.
7182 (Bug#1516)
c28b9050 7183 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7184
70c46b28
DG
71852013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7186
7187 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7188 "autoload". Remove "warn lower camel case" section, previously
7189 commented out. Highlight negation char. Do not highlight the
7190 target in singleton method definitions.
7191
0b64b838
SM
71922013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7fd72e2c
SM
7194 * faces.el (tty-setup-hook): Declare the hook.
7195
0b64b838
SM
7196 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7197 and detect when a guard/pred depends on local vars (bug#14773).
7198 (pcase--u1): Adjust caller.
7199
ab49d60b
EZ
72002013-07-08 Eli Zaretskii <eliz@gnu.org>
7201
7202 * simple.el (line-move-partial, line-move): Account for
7203 line-spacing.
701d79aa
EZ
7204 (line-move-partial): Avoid setting vscroll when the last
7205 partially-visible line in window is of default height.
ab49d60b 7206
2d756ae0
LMI
72072013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7208
7209 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7210 been used a while.
7211
ed095bd7
JB
72122013-07-07 Juanma Barranquero <lekktu@gmail.com>
7213
7214 * subr.el (read-quoted-char): Remove unused local variable `char'.
7215
f1e6674b
MK
72162013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7217
584ee3fc
GM
7218 * ediff.el (ediff-version): Version update.
7219 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7220 (ediff-merge-with-ancestor-command, ediff-directories-command)
7221 (ediff-directories3-command, ediff-merge-directories-command)
7222 (ediff-merge-directories-with-ancestor-command): New functions.
7223 All are command-line interfaces to ediff: to facilitate calling
7224 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7225
7226 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7227 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7228
584ee3fc
GM
7229 * viper.el (viper-version): Version update.
7230 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7231
584ee3fc
GM
72322013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7233
7234 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7235 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7236 (viper-intercept-ESC-key): Simplify.
7237 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7238 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7239 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7240 (viper-setup-ESC-to-escape): New functions.
7241 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7242 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7243
9aff9b38
EZ
72442013-07-07 Eli Zaretskii <eliz@gnu.org>
7245
5165d44a
JB
7246 * simple.el (default-font-height, window-screen-lines):
7247 New functions.
9aff9b38
EZ
7248 (line-move, line-move-partial): Use them instead of
7249 frame-char-height and window-text-height. This makes scrolling
7250 text smoother when the buffer's default face uses a font that is
7251 different from the frame's default font.
7252
1afb1d07
JD
72532013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7254
7255 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7256 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7257
23de972a
EZ
72582013-07-06 Eli Zaretskii <eliz@gnu.org>
7259
7260 * simple.el (line-move-partial): Adjust the row returned by
7261 posn-at-point for the current window-vscroll. (Bug#14567)
7262
54a42486
MA
72632013-07-06 Michael Albinus <michael.albinus@gmx.de>
7264
7265 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7266 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7267 spaces.
7268
34ada5f4
MR
72692013-07-06 Martin Rudalics <rudalics@gmx.at>
7270
7271 * window.el (window-state-put-stale-windows): New variable.
7272 (window--state-put-2): Save list of windows without matching buffer.
7273 (window-state-put): Remove "bufferless" windows if possible.
7274
11e03d89
JB
72752013-07-06 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * simple.el (alternatives-define): Remove leftover :group keyword.
7278 Tweak docstring.
7279
3504a4be
LL
72802013-07-06 Leo Liu <sdl.web@gmail.com>
7281
7282 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7283 (ido-enable-virtual-buffers): New variable.
7284 (ido-buffer-internal, ido-toggle-virtual-buffers)
7285 (ido-make-buffer-list): Use it.
7286 (ido-exhibit): Support turning on and off virtual buffers
7287 automatically.
7288
61e56e2c
JB
72892013-07-06 Juanma Barranquero <lekktu@gmail.com>
7290
7291 * simple.el (alternatives-define): New macro.
7292
321e1a9c
SM
72932013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * subr.el (read-quoted-char): Use read-key.
7296 (sit-for): Let read-event decode tty input (bug#14782).
7297
d610f6dd
SB
72982013-07-05 Stephen Berman <stephen.berman@gmx.net>
7299
7300 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7301 mode command and externally. Fix various related bugs.
7302 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7303 (todo-delete-file): New command.
7304 (todo-check-file): New function.
7305 (todo-show): Handle external deletion of the file we're trying to
7306 show (bug#14688). Replace called-interactively-p by an optional
7307 prefix argument to avoid problematic interaction with catch form
7308 when byte compiled (bug#14702).
7309 (todo-quit): Handle external deletion of the archive's todo file.
7310 Make sure the buffer that was visiting the archive file is still
7311 live before trying to bury it.
7312 (todo-category-completions): Handle external deletion of any
7313 category completion files.
7314 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7315 of todo files, in case of external deletion.
7316 (todo-add-file): Replace unnecessary setq by let-binding.
7317 (todo-find-archive): Check whether there are any archives.
7318 Replace unnecessary setq by let-binding.
7319 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7320 archive buffer whether or not the archive already exists.
7321 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7322 check if the archive is new; if it is, update list of archives.
7323 (todo-default-todo-file): Allow nil to be a valid value for when
7324 there are no todo files.
7325 (todo-reevaluate-default-file-defcustom): Use corrected definition
7326 of todo-default-todo-file.
7327 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7328 (todo-delete-category, todo-show-categories-table)
7329 (todo-category-number): Clarify comment.
7330 (todo-filter-items): Clarify documentation string.
7331 (todo-show-current-file, todo-display-as-todo-file)
7332 (todo-reset-and-enable-done-separator): Tweak documentation string.
7333 (todo-done-separator): Make separator length window-width, since
7334 bug#2749 is now fixed.
7335
ddbdfd6f
MA
73362013-07-05 Michael Albinus <michael.albinus@gmx.de>
7337
321e1a9c
SM
7338 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7339 Support both "gvfs-monitor-dir" and "inotifywait".
7340 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7341 `tramp-sh-file-notify-process-filter'.
7342 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7343 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7344
96eb829a
LL
73452013-07-05 Leo Liu <sdl.web@gmail.com>
7346
7347 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7348
cf13177e
YM
73492013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7350
7351 * frame.el (display-pixel-height, display-pixel-width)
7352 (display-mm-height, display-mm-width): Mention behavior on
7353 multi-monitor setups in docstrings.
7354 (w32-display-monitor-attributes-list): Declare function.
7355 (display-monitor-attributes-list): Use it.
7356
864c58ca
MA
73572013-07-04 Michael Albinus <michael.albinus@gmx.de>
7358
7359 * filenotify.el: New package.
7360
7361 * autorevert.el (top): Require filenotify.el.
7362 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7363 instead.
7364 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7365 (auto-revert-notify-handler): Use `file-notify-*' functions.
7366
7367 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7368
321e1a9c
SM
7369 * net/tramp.el (tramp-file-name-for-operation):
7370 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7371
7372 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7373 for `file-notify-add-watch' and `file-notify-rm-watch'.
7374 (tramp-process-sentinel): Improve trace.
7375 (tramp-sh-handle-file-notify-add-watch)
7376 (tramp-sh-file-notify-process-filter)
7377 (tramp-sh-handle-file-notify-rm-watch)
7378 (tramp-get-remote-inotifywait): New defuns.
7379
96673afe
JL
73802013-07-03 Juri Linkov <juri@jurta.org>
7381
7382 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7383 call of `occur-read-primary-args' to interactive spec.
7384
7385 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7386 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7387
924494f4
MM
73882013-07-03 Matthias Meulien <orontee@gmail.com>
7389
7390 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7391 `Buffer-menu-multi-occur'. Add it to the menu.
7392 (Buffer-menu-mode): Document it in docstring.
7393 (Buffer-menu-multi-occur): New command. (Bug#14673)
7394
56f75efc
DG
73952013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7396
7397 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7398 keywords and built-ins.
7399
9b057d61
GM
74002013-07-03 Glenn Morris <rgm@gnu.org>
7401
208dee4d
GM
7402 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7403
9b057d61
GM
7404 Make info-xref checks case-sensitive by default
7405 * info.el (Info-find-node, Info-find-in-tag-table)
7406 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7407 Add option for exact case matching of nodes.
7408 * info-xref.el (info-xref): New custom group.
7409 (info-xref-case-fold): New option.
7410 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7411
e01aa29c
LL
74122013-07-03 Leo Liu <sdl.web@gmail.com>
7413
7414 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7415
3086ca2e
DG
74162013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7417
7418 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7419 middle of block statement initially, lower the depth. Remove
7420 FIXME comment, not longer valid. Remove middle of block statement
7421 detection, no need to do that anymore since we've been using
7422 `ruby-parse-region' here.
7423
a3b49114
JD
74242013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7425
7426 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7427
08e5c823 74282013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7429
7430 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7431
2addf922
JB
74322013-07-01 Juanma Barranquero <lekktu@gmail.com>
7433
7434 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7435 (desktop-restore-in-current-display): New customization option.
7436 (desktop--excluded-frame-parameters): Add `font'.
7437 (desktop--save-frames): Rename from desktop--save-windows.
7438 (desktop--restore-in-this-display-p): New function.
7439 (desktop--make-full-frame): Remove unwanted width/height from
7440 full(width|height) frames.
7441 (desktop--restore-frames): Rename from desktop--restore-windows.
7442 Obey desktop-restore-current-display. Do not delete old frames or
7443 select a new frame unless we were able to restore at least one frame.
7444
ef099a94
MN
74452013-06-30 Michal Nazarewicz <mina86@mina86.com>
7446
7447 * files.el (find-file-noselect): Simplify conditional expression.
7448
7449 * remember.el (remember-append-to-file):
7450 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7451
7452 Add `remember-notes' function to store random notes across Emacs
7453 restarts.
7454 * remember.el (remember-data-file): Add :set callback to affect
7455 notes buffer (if any).
7456 (remember-notes): New command.
7457 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7458 New defcustoms for the `remember-notes' function.
7459 (remember-notes-save-and-bury-buffer): New command.
7460 (remember-notes-mode-map): New variable.
7461 (remember-mode): New minor mode.
7462 (remember-notes--kill-buffer-query): New function.
7463 * startup.el (initial-buffer-choice): Add notes to custom type.
7464
0865d506
EZ
74652013-06-30 Eli Zaretskii <eliz@gnu.org>
7466
0ba54312
EZ
7467 * bindings.el (right-char, left-char): Don't call sit-for, this is
7468 no longer needed. Use arithmetic comparison only for numerical
7469 arguments.
7470
ef099a94
MN
7471 * international/mule-cmds.el (select-safe-coding-system):
7472 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7473
2fae38e5
LMI
74742013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7475
7476 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7477 progression on degenerate tables.
ef099a94 7478 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7479
a47cbd64
JB
74802013-06-30 Juanma Barranquero <lekktu@gmail.com>
7481
7482 Some fixes and improvements for desktop frame restoration.
7483 It is still experimental and disabled by default.
7484 * desktop.el (desktop--save-windows): Put the selected frame at
7485 the head of the list.
7486 (desktop--make-full-frame): New function.
7487 (desktop--restore-windows): Try to re-select the frame that was
7488 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7489 just show an error message and continue. Set up maximized frames
7490 so they have default non-maximized dimensions.
a47cbd64 7491
6dbafa30
DG
74922013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7493
ef099a94
MN
7494 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7495 Don't start heredoc inside a string or comment.
6dbafa30 7496
4c672a0f
EZ
74972013-06-29 Eli Zaretskii <eliz@gnu.org>
7498
7499 * bindings.el (visual-order-cursor-movement): New defcustom.
7500 (right-char, left-char): Provide visual-order cursor motion by
7501 calling move-point-visually. Update the doc strings.
7502
50960f36
KH
75032013-06-28 Kenichi Handa <handa@gnu.org>
7504
7505 * international/mule.el (define-coding-system): New coding system
7506 properties :inhibit-null-byte-detection,
7507 :inhibit-iso-escape-detection, and :prefer-utf-8.
7508 (set-buffer-file-coding-system): If :charset-list property of
7509 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7510 appropriate for setting.
7511
c1ea3abf
JB
7512 * international/mule-cmds.el (select-safe-coding-system):
7513 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7514 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7515
7516 * international/mule-conf.el (prefer-utf-8): New coding system.
7517 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7518 files.
7519
75dbaf9d
IK
75202013-06-28 Ivan Kanis <ivan@kanis.fr>
7521
eadb6068
IK
7522 * net/shr.el (shr-render-region): New function.
7523
75dbaf9d
IK
7524 * net/eww.el: Autoload `eww-browse-url'.
7525
9ea5cf9f
DG
75262013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7527
c1ea3abf
JB
7528 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7529 Adapt to `package-desc-version' being a list.
7530 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7531 archive element.
7532
39c0e36f
JB
75332013-06-27 Juanma Barranquero <lekktu@gmail.com>
7534
7535 New experimental feature to save&restore window and frame setup.
7536 * desktop.el (desktop-save-windows): New defcustom.
7537 (desktop--saved-states): New var.
7538 (desktop--excluded-frame-parameters): New defconst.
7539 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7540 (desktop--restore-windows, desktop--save-windows): New functions.
7541 (desktop-save): Call `desktop--save-windows'.
7542 (desktop-read): Call `desktop--restore-windows'.
7543
7f13406b
LMI
75442013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7545
ef099a94 7546 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7547
1e072639
SB
75482013-06-27 Stephen Berman <stephen.berman@gmx.net>
7549
7550 * info.el (Info-try-follow-nearest-node): Move search for footnote
7551 above search for node name to prevent missing a footnote (bug#14717).
7552
f3e2cbde
SB
75532013-06-27 Stephen Berman <stephen.berman@gmx.net>
7554
7555 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7556
99906aa0
LL
75572013-06-27 Leo Liu <sdl.web@gmail.com>
7558
7559 * net/eww.el (eww-read-bookmarks): Check file size.
7560
539f75f4
SM
75612013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7564 advice--pending if newdef is nil or an autoload (bug#13820).
7565 (advice-mapc): New function.
7566
843571cb
LMI
75672013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7568
7569 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7570 probably.
23a75d7f 7571 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7572 (eww-add-bookmark): New command.
7573 (eww-bookmark-mode): New mode and commands.
a285ce99 7574 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7575 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7576
f2136e1e
GM
75772013-06-26 Glenn Morris <rgm@gnu.org>
7578
eab35f39
GM
7579 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7580 (hfy-size): Handle ttys. (Bug#14668)
7581
f2136e1e
GM
7582 * info-xref.el: Update for Texinfo 5 change in *note format.
7583 (info-xref-node-re, info-xref-note-re): New constants.
7584 (info-xref-check-buffer): Use info-xref-note-re.
7585
a49ff80c
SM
75862013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7587
a343d218
SM
7588 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7589
a49ff80c
SM
7590 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7591 nil terminate the loop (bug#14718).
7592
8308f184
LMI
75932013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7594
7595 * net/eww.el: Rework history traversal. When going forward/back,
7596 put these actions into the history, too, so that they can be
7597 replayed.
26bf2b82 7598 (eww-render): Move the history reset to the correct buffer.
8308f184 7599
ec64c273
JL
76002013-06-25 Juri Linkov <juri@jurta.org>
7601
7602 * files-x.el (modify-dir-local-variable): Change the header comment
7603 in the file with directory local variables. (Bug#14692)
7604
e080a9d7
JL
7605 * files-x.el (read-file-local-variable-value): Add `default'.
7606 (Bug#14710)
7607
bfbc93a1
IK
76082013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7609
7610 * net/eww.el (eww-make-unique-file-name): Create a unique file
7611 name before saving to entering `y' accidentally asynchronously.
7612
76132013-06-25 Ivan Kanis <ivan@kanis.fr>
7614
7615 * net/eww.el (eww-download): New command and keystroke.
7616
16f74f10
LMI
76172013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7618
a49ff80c 7619 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7620
7621 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7622 be more consistent with Info and dired.
7623
7624 * net/eww.el (eww-mode-map): Ditto.
7625
12059709
SM
76262013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7627
7628 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7629 packages from archives.
7630 (package-archive-contents): Change format; include obsolete packages.
7631 (package-desc): Use `dir' to mark builtin packages.
7632 (package--from-builtin): Set the `dir' field to `builtin'.
7633 (generated-autoload-file, version-control): Declare.
7634 (package-compute-transaction): Change first arg and return value to be
7635 lists of package-descs. Adjust to new package-archive-contents format.
7636 (package--add-to-archive-contents): Adjust to new
7637 package-archive-contents format.
7638 (package-download-transaction): Arg is now a list of package-descs.
7639 (package-install): If `pkg' is a package name, pass it as
7640 a requirement, so it is subject to the usual (e.g. disabled) checks.
7641 (describe-package): Accept package-desc as well.
7642 (describe-package-1): Describe a specific package-desc. Add links to
7643 other package-descs for the same package name.
7644 (package-menu-describe-package): Pass the actual package-desc.
7645 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7646 works correctly.
7647 (package-desc-status): New function.
7648 (package-menu--refresh): New function, extracted
7649 from package-menu--generate.
7650 (package-menu--generate): Use it.
7651 (package-delete): Update package-alist.
7652 (package-menu-execute): Don't call package-initialize.
7653
7654 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7655 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7656 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7657 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7658 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7659 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7660
8bbdea0f
MR
76612013-06-25 Martin Rudalics <rudalics@gmx.at>
7662
7663 * window.el (window--state-get-1): Workaround for bug#14527.
7664 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7665
e82b0991
LMI
76662013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7667
7668 * net/eww.el (eww-back-url): Implement the history by stashing all
7669 the data into a list.
d3f0f918 7670 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7671
c763842b
SM
76722013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7675 for values and use read--expression for expressions (bug#14710).
7676 (read-file-local-variable): Avoid setq.
7677 (read-file-local-variable-mode): Use minor-mode-list.
7678
bceff189
RW
76792013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7680
864c58ca 7681 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7682 for DOI URLs.
7683
45f431c6
RW
76842013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7685
864c58ca 7686 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7687 Update imenu-support when dialect changes.
7688
f42d8237
LL
76892013-06-25 Leo Liu <sdl.web@gmail.com>
7690
7691 * ido.el (ido-read-internal): Allow forward slash on windows.
7692
be549ce6
LMI
76932013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7694
7695 * net/eww.el (eww): Start of strings is \\`, not ^.
7696
71d4c19d
IK
76972013-06-24 Ivan Kanis <ivan@kanis.fr>
7698
5196f88a
IK
7699 * net/shr.el (shr-browse-url): Fix interactive spec.
7700
71d4c19d
IK
7701 * net/eww.el (eww): Add a trailing slash to domain names.
7702
ae36ca55
JB
77032013-06-24 Juanma Barranquero <lekktu@gmail.com>
7704
7705 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7706
0ebd92a3
LMI
77072013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7708
bdaa086b
LMI
7709 * net/shr.el (shr-browse-url): Use an external browser if given a
7710 prefix.
7711
c763842b 7712 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7713
b89fc156
IK
77142013-06-24 Ivan Kanis <ivan@kanis.fr>
7715
7716 * net/eww.el (eww): Work more correctly for file: URLs.
7717 (eww-detect-charset): Allow quoted charsets.
7718 (eww-yank-page-url): New command and keystroke.
7719
18eb4bca
DU
77202013-06-24 Daiki Ueno <ueno@gnu.org>
7721
7722 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7723 file name of gpg executable.
7724 (epg-context-program): New function.
7725 (epg-context-home-directory): New function.
7726 (epg-context-set-program): New function.
7727 (epg-context-set-home-directory): New function.
7728 (epg--start): Use `epg-context-program' instead of
7729 'epg-gpg-program'.
7730 (epg--list-keys-1): Likewise.
7731
6c6268c8
LL
77322013-06-24 Leo Liu <sdl.web@gmail.com>
7733
7734 * ido.el (ido-read-internal): Fix bug#14620.
7735
5e400cb3
JB
77362013-06-23 Juanma Barranquero <lekktu@gmail.com>
7737
7738 * faces.el (face-documentation): Simplify.
7739 (read-face-attribute, tty-find-type, x-resolve-font-name):
7740 Use `string-match-p'.
7741 (list-faces-display): Use `string-match-p'. Simplify.
7742 (face-spec-recalc): Check face to avoid face alias loops.
7743 (read-color): Use `string-match-p' and non-capturing parenthesis.
7744
f3f9606c
LMI
77452013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7746
7747 * net/shr.el (shr-rescale-image): Use the new
7748 :max-width/:max-height functionality.
7749
a3ca09b9
IK
77502013-06-23 Ivan Kanis <ivan@kanis.fr>
7751
7752 * net/eww.el (eww-search-prefix): New variable.
7753 (eww): Use it.
f865b474
IK
7754 (eww-external-browser): New variable.
7755 (eww-mode-map): New keystroke.
7756 (eww-browse-with-external-browser): New command.
a3ca09b9 7757
e854cfc7
IK
7758 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7759
18bb9e21
JB
77602013-06-23 Juanma Barranquero <lekktu@gmail.com>
7761
7762 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7763 Don't skip aligning the next header field when padding is 0;
7764 otherwise, field width is not respected unless the title is as
7765 wide as the field.
7766
5b165ade
SM
77672013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * emacs-lisp/package.el (package-el-version): Remove.
7770 (package-process-define-package): Fix inf-loop.
7771 (package-install): Allow symbols as arguments again.
7772
12adebe9
DG
77732013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7774
7775 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7776 add some more keyword-like methods.
7777 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7778
388573ee
JB
77792013-06-22 Juanma Barranquero <lekktu@gmail.com>
7780
7781 * bs.el (bs-buffer-show-mark): Make defvar-local.
7782 (bs-mode): Use setq-local.
7783
7784 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7785 (emacs-lock--try-unlocking): Make defvar-local.
7786
4582a01c 77872013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7788
2663dd23
GM
7789 * play/cookie1.el (cookie-apropos): Minor simplification.
7790
3d94f3ad
GM
7791 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7792
f72e2fdb
DG
77932013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7794
7795 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7796 `regexp-opt', it breaks the build during dumping.
7797
73eab938
DG
77982013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7799
c763842b
SM
7800 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7801 Highlight keyword-like methods on Kernel and Module with
73eab938 7802 font-lock-builtin-face.
5cf8176d
DG
7803 (auto-mode-alist): Consolidate different entries into one regexp
7804 and add more *file-s.
73eab938 7805
d26255f6
SB
78062013-06-21 Stephen Berman <stephen.berman@gmx.net>
7807
7808 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7809
7810 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7811 (diary-entry): Use it in the action of this button type instead of
7812 diary-goto-entry.
7813
7814 * calendar/todo-mode.el: New version.
7815 (todo-add-category): Append new category to end of file and give
7816 it the highest number, instead of putting it at the beginning and
7817 giving it 0. Incorporate noninteractive functionality.
7818 (todo-forward-category): Adapt to 1-based category numbering.
7819 Allow skipping over archived categories.
7820 (todo-backward-category): Derive from todo-forward-category.
7821 (todo-backward-item, todo-forward-item): Make noninteractive and
7822 delegate interactive part to new commands. Make sensitive to done items.
7823 (todo-categories): Make value an alist of category names and
7824 vectors of item counts.
7825 (todo-category-beg): Make a defconst.
7826 (todo-category-number): Use 1 instead of 0 as initial value.
7827 (todo-category-select): Make sensitive to overlays, optional item
7828 highlighting and done items.
7829 (todo-delete-item): Make sensitive to overlays and marked and done items.
7830 (todo-edit-item): Make sensitive to overlays and editing of
7831 date/time header optional. Add format checks.
7832 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7833 no-op if point is not on an item. Advertise using todo-edit-quit.
7834 (todo-edit-mode): Make sensitive to new format, font-locking, and
7835 multiple todo files.
7836 (todo-insert-item, todo-insert-item-here): Derive from
7837 todo-basic-insert-item and extend functionality.
7838 (todo-item-end, todo-item-start): Make sensitive to done items.
7839 (todo-item-string): Don't return text properties. Restore point.
7840 (todo-jump-to-category): Make sensitive to multiple todo files and
7841 todo archives. Use extended category completion.
7842 (todo-lower-item, todo-raise-item): Rename to *-priority and
7843 derive from todo-set-item-priority.
7844 (todo-mode): Derive from special-mode. Make sensitive to new
7845 format, font-locking and multiple todo files. Make read-only.
7846 (todo-mode-map): Don't suppress digit keys, so they can supply
7847 prefix arguments. Add many new key bindings.
7848 (todo-prefix): Insert as an overlay instead of file text.
7849 Change semantics from diary date expression to purely visual mark.
7850 (todo-print): Rename to todo-print-buffer. Make buffer display
7851 features printable. Remove option to restrict number of items
7852 printed. Add option to print to file.
7853 (todo-print-function): Rename to todo-print-buffer-function.
7854 (todo-quit): Extend to handle exiting new todo modes.
7855 (todo-remove-item): Make sensitive to overlays.
7856 (todo-save): Extend to buffers of filtered items.
7857 (todo-show): Make sensitive to done items, multiple todo files and
7858 new todo modes. Offer to convert legacy todo file before creating
7859 first new todo file.
7860 (todo-show-priorities): Rename to todo-top-priorities.
7861 Change semantics of value 0.
7862 (todo-top-priorities): Rename to todo-filter-top-priorities,
7863 derive from todo-filter-items and extend functionality.
7864 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7865 and extend functionality to other types of filtered items.
7866 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7867 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7868 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7869 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7870 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7871 (todo-edit-mode-hook, todo-entry-prefix-function)
7872 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7873 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7874 (todo-initials, todo-insert-threshold, todo-item-string-start)
7875 (todo-line-string, todo-menu, todo-mode-hook)
7876 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7877 (todo-print-priorities, todo-remove-separator)
7878 (todo-save-top-priorities-too, todo-string-count-lines)
7879 (todo-string-multiline-p, todo-time-string-format)
7880 (todo-tmp-buffer-name): Remove.
7881 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7882 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7883 (todo-edit-category-diary-inclusion)
7884 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7885 (todo-edit-file, todo-edit-item-date-day)
7886 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7887 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7888 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7889 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7890 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7891 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7892 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7893 (todo-filter-top-priorities-multifile, todo-find-archive)
7894 (todo-find-filtered-items-file, todo-go-to-source-item)
7895 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7896 (todo-jump-to-archive-category, todo-lower-category)
7897 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7898 (todo-move-category, todo-move-item, todo-next-button)
7899 (todo-next-item, todo-padded-string, todo-powerset)
7900 (todo-previous-button, todo-previous-item)
7901 (todo-print-buffer-to-file, todo-raise-category)
7902 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7903 (todo-set-category-number, todo-set-item-priority)
7904 (todo-set-top-priorities-in-category)
7905 (todo-set-top-priorities-in-file, todo-show-categories-table)
7906 (todo-sort-categories-alphabetically-or-numerically)
7907 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7908 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7909 (todo-toggle-item-header, todo-toggle-item-highlighting)
7910 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7911 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7912 (todo-unarchive-items, todo-unmark-category): New commands.
7913 (todo-absolute-file-name, todo-add-to-buffer-list)
7914 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7915 (todo-basic-insert-item, todo-category-completions)
7916 (todo-category-number, todo-category-string-matcher-1)
7917 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7918 (todo-check-format, todo-clear-matches)
7919 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7920 (todo-current-category, todo-date-string-matcher)
7921 (todo-define-insertion-command, todo-diary-expired-matcher)
7922 (todo-diary-goto-entry, todo-diary-item-p)
7923 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7924 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7925 (todo-done-item-section-p, todo-done-separator)
7926 (todo-done-string-matcher, todo-files, todo-filter-items)
7927 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7928 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7929 (todo-insert-category-line, todo-insert-item-from-calendar)
7930 (todo-insert-sort-button, todo-insert-with-overlays)
7931 (todo-insertion-command-name, todo-insertion-key-bindings)
7932 (todo-label-to-key, todo-longest-category-name-length)
7933 (todo-make-categories-list, todo-mode-external-set)
7934 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7935 (todo-modes-set-3, todo-multiple-filter-files)
7936 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7937 (todo-read-category, todo-read-date, todo-read-dayname)
7938 (todo-read-file-name, todo-read-time)
7939 (todo-reevaluate-category-completions-files-defcustom)
7940 (todo-reevaluate-default-file-defcustom)
7941 (todo-reevaluate-filelist-defcustoms)
7942 (todo-reevaluate-filter-files-defcustom)
7943 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7944 (todo-reset-done-separator, todo-reset-done-separator-string)
7945 (todo-reset-done-string, todo-reset-global-current-todo-file)
7946 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7947 (todo-reset-prefix, todo-set-categories)
7948 (todo-set-date-from-calendar, todo-set-show-current-file)
7949 (todo-set-top-priorities, todo-short-file-name)
7950 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7951 (todo-total-item-counts, todo-update-buffer-list)
7952 (todo-update-categories-display, todo-update-categories-sexp)
7953 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7954 New functions.
7955 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7956 New major modes.
7957 (todo-categories, todo-display, todo-edit, todo-faces)
7958 (todo-filtered): New defgroups.
7959 (todo-archived-only, todo-button, todo-category-string, todo-date)
7960 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7961 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7962 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7963 (todo-add-item-if-new-category, todo-always-add-time-string)
7964 (todo-categories-align, todo-categories-archived-label)
7965 (todo-categories-category-label, todo-categories-diary-label)
7966 (todo-categories-done-label, todo-categories-number-separator)
7967 (todo-categories-todo-label, todo-categories-totals-label)
7968 (todo-category-completions-files, todo-completion-ignore-case)
7969 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7970 (todo-done-separator-string, todo-done-string)
7971 (todo-files-function, todo-filter-done-items, todo-filter-files)
7972 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7973 (todo-initial-category, todo-initial-file, todo-item-mark)
7974 (todo-legacy-date-time-regexp, todo-mode-line-function)
7975 (todo-nondiary-marker, todo-number-prefix)
7976 (todo-print-buffer-function, todo-show-current-file)
7977 (todo-show-done-only, todo-show-first, todo-show-with-done)
7978 (todo-skip-archived-categories, todo-top-priorities-overrides)
7979 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7980 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7981 New defcustoms.
7982 (todo-category-done, todo-date-pattern, todo-date-string-start)
7983 (todo-diary-items-buffer, todo-done-string-start)
7984 (todo-filtered-items-buffer, todo-item-start)
7985 (todo-month-abbrev-array, todo-month-name-array)
7986 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7987 (todo-top-priorities-buffer): New defconsts.
7988 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7989 (todo-categories-with-marks, todo-category-string-face)
7990 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7991 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7992 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7993 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7994 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7995 (todo-font-lock-keywords, todo-global-current-todo-file)
7996 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7997 (todo-insertion-commands-args)
7998 (todo-insertion-commands-args-genlist)
7999 (todo-insertion-commands-names, todo-insertion-map)
8000 (todo-key-bindings-t, todo-key-bindings-t+a)
8001 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8002 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8003 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8004 (todo-visited): New variables.
8005
cad5d1cb
GM
80062013-06-21 Glenn Morris <rgm@gnu.org>
8007
8008 * play/cookie1.el (cookie-apropos): Add optional display argument.
8009 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8010 (psychoanalyze-pinhead): Use cookie-doctor.
8011
9e277302
JB
80122013-06-21 Juanma Barranquero <lekktu@gmail.com>
8013
8014 * emacs-lisp/package.el (tar-get-file-descriptor)
8015 (tar--extract): Declare.
8016
c5b0993e
EW
80172013-06-21 Eduard Wiebe <usenet@pusto.de>
8018
8019 Extend flymake's warning predicate to be a function (bug#14217).
8020 * progmodes/flymake.el (flymake-warning-predicate): New.
8021 (flymake-parse-line): Use it.
8022 (flymake-warning-re): Make obsolete alias to
8023 `flymake-warning-predicate'.
8024
a7d2d465
SM
80252013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8026
8027 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8028 (package-obsolete-list): Remove.
8029 (package-activate): Remove min-version argument. Add `force' argument.
8030 Adjust to new package-alist format.
8031 (package-mark-obsolete): Remove.
8032 (package-unpack): Force reload of the package's autoloads.
8033 (package-installed-p): Check builtins if the installed package is not
8034 recent enough.
8035 (package-initialize): Don't reset package-obsolete-list.
8036 Don't specify which package version to activate.
8037 (package-process-define-package, describe-package-1)
8038 (package-menu--generate): Adjust to new package-alist format.
8039
cedf5c9d
JB
80402013-06-21 Juanma Barranquero <lekktu@gmail.com>
8041
8042 * allout-widgets.el (allout-widgets-mode-off)
8043 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8044 (allout-widgets-post-command-business)
8045 (allout-widgets-after-copy-or-kill-function)
8046 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8047 (allout-decorate-item-and-context)
8048 (allout-graphics-modification-handler): Fix typos in docstrings.
8049 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8050
8051 * cmuscheme.el (scheme-start-file): Doc fix.
8052 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8053 (scheme-input-filter): Use `string-match-p'.
8054
8055 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8056
8057 * dired-x.el: Use Dired consistently in docstrings.
8058
8059 * dired.el: Use Dired consistently in docstrings.
8060 (dired-readin, dired-mode): Use `setq-local'.
8061 (dired-switches-alist): Make defvar-local.
8062 (dired-buffers-for-dir): Use `zerop'.
8063 (dired-safe-switches-p, dired-switches-escape-p)
8064 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8065 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8066 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8067 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8068 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8069 (dired-toggle-marks, dired-mark-files-containing-regexp)
8070 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8071 (dired-flag-auto-save-files, dired-flag-backup-files):
8072 Use `looking-at-p'.
8073 (dired-mark-files-regexp, dired-build-subdir-alist):
8074 Use `string-match-p', `looking-at-p'.
8075
8076 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8077 (direct-print-region-helper): Use `string-match-p'.
8078
aed838b5
LL
80792013-06-21 Leo Liu <sdl.web@gmail.com>
8080
cedf5c9d
JB
8081 * comint.el (comint-redirect-results-list-from-process):
8082 Fix infinite loop.
aed838b5 8083
d80a808f
LMI
80842013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8085
8086 * net/eww.el (eww-update-header-line-format): Quote % characters.
8087
e7a526e3
GM
80882013-06-21 Glenn Morris <rgm@gnu.org>
8089
8090 * play/cookie1.el (cookie): New custom group.
8091 (cookie-file): New option.
8092 (cookie-check-file): New function.
8093 (cookie): Make it interactive. Make start and end messages optional.
8094 Interactively, display the result. Default to cookie-file.
8095 (cookie-insert): Default to cookie-file.
8096 (cookie-snarf): Make start and end messages optional.
8097 Default to cookie-file. Use with-temp-buffer.
8098 (cookie-read): Rename from read-cookie.
8099 Make start and end messages optional. Default to cookie-file.
8100 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8101 Do not autoload it.
e7a526e3
GM
8102 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8103 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8104
62efb35e
LL
81052013-06-21 Leo Liu <sdl.web@gmail.com>
8106
8107 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8108
21e3f963
GM
81092013-06-21 Glenn Morris <rgm@gnu.org>
8110
8111 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8112
fd846ab4
SM
81132013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8114 Daniel Hackney <dan@haxney.org>
8115
8116 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8117 Consolidate the single-file vs tarball code.
8118 (package-desc-suffix): New function.
8119 (package-desc-full-name): Don't bother inlining it.
8120 (package-load-descriptor): Return the new package-desc.
8121 (package-mark-obsolete): Remove unused arg `package'.
8122 (package-unpack): Make it work for single files as well.
8123 Make it update package-alist.
8124 (package--make-autoloads-and-stuff): Rename from
8125 package--make-autoloads-and-compile. Don't compile any more.
8126 (package--compile): New function.
8127 (package-generate-description-file): New function, extracted from
8128 package-unpack-single.
8129 (package-unpack-single): Remove.
8130 (package--with-work-buffer): Add indentation and debugging info.
8131 (package-download-single): Remove.
8132 (package-install-from-archive): Rename from package-download-tar, make
8133 it take a pkg-desc, and make it work for single files as well.
8134 (package-download-transaction): Simplify.
8135 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8136 external tar program.
8137 (package-install-from-buffer): Remove `pkg-desc' argument.
8138 Use package-tar-file-info for tar-mode buffers.
8139 (package-install-file): Simplify accordingly.
8140 (package-archive-base): Change to take a pkg-desc.
8141 * tar-mode.el (tar--check-descriptor): New function, extracted from
8142 tar-get-descriptor.
8143 (tar-get-descriptor): Use it.
8144 (tar-get-file-descriptor): New function.
8145 (tar--extract): New function, extracted from tar-extract.
8146 (tar--extract): Use it.
8147 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8148 case the summary uses non-ascii. Adjust to new calling convention of
8149 package-tar-file-info.
8150
b7deae5e
LL
81512013-06-21 Leo Liu <sdl.web@gmail.com>
8152
fd846ab4
SM
8153 * comint.el (comint-redirect-results-list-from-process):
8154 Fix random delay. (Bug#14681)
b7deae5e 8155
7a65a0b2
JB
81562013-06-21 Juanma Barranquero <lekktu@gmail.com>
8157
8158 * profiler.el (profiler-format-number): Use log, not log10.
8159
1493c2af
JB
81602013-06-20 Juanma Barranquero <lekktu@gmail.com>
8161
8162 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8163
aff6371e
SM
81642013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8167 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8168 yet available.
8169 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8170 (AUTOGENEL): ... here.
8171 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8172 (cl--defsubst-expand): Use it.
8173
89561f72
PE
81742013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8175
8176 * subr.el (log10): Move here from C code, and declare as obsolete.
8177 All uses of (log10 X) replaced with (log X 10).
8178
47199123
JB
81792013-06-20 Juanma Barranquero <lekktu@gmail.com>
8180
8181 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8182 Declare with `defvar-local'.
8183 (tabulated-list-use-header-line, tabulated-list-entries)
8184 (tabulated-list-padding, tabulated-list-printer)
8185 (tabulated-list-sort-key): Declare with `defvar-local'.
8186 (tabulated-list-init-header, tabulated-list-print-fake-header):
8187 Use `setq-local'.
8188
4a172eab
MA
81892013-06-20 Michael Albinus <michael.albinus@gmx.de>
8190
47199123
JB
8191 * arc-mode.el (archive-mode): Add `archive-write-file' to
8192 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8193
5fc0acc0
JB
81942013-06-20 Juanma Barranquero <lekktu@gmail.com>
8195
d5b27848
JB
8196 * cus-edit.el (custom-commands): Fix typos.
8197 (custom-display): Fix tooltip text.
8198 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8199 Fix typos in docstrings.
8200 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8201 (custom-unlispify-menu-entry, custom-magic-value-create)
8202 (custom-add-see-also, custom-group-value-create): Use ?\s.
8203 (custom-guess-type, customize-apropos, editable-field)
8204 (custom-face-value-create): Use `string-match-p'.
8205 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8206
8207 * custom.el (custom-load-symbol): Use `string-match-p'.
8208
a5c581d8
JB
8209 * ansi-color.el: Convert to lexical binding.
8210 (ansi-colors): Fix URL.
8211 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8212 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8213 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8214
970ad972
G
82152013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8216
8217 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8218
8219 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8220
82212013-06-19 Tom Tromey <tromey@redhat.com>
8222
8223 * net/eww.el (eww-top-url): Remove.
8224 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8225 (eww-render): Set new variables. Don't set eww-top-url.
8226 (eww-handle-link): Handle "prev", "home", and "contents".
8227 Downcase the rel text.
8228 (eww-top-url): Choose best top URL.
8229
82302013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8231
8232 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8233 relying in widget.el. Using widget.el leads to too many
8234 user interface inconsistencies.
8235 (eww-self-insert): Implement entering commands in text fields.
8236 (eww-process-text-input): New function to make text input field editing
8237 work.
8238 (eww-submit): Rewrite to use the new-style form methods.
8239 (eww-select-display): Display the correct selected item.
8240 (eww-change-select): Implement changing the select value.
8241 (eww-toggle-checkbox): Implement radio/checkboxes.
8242 (eww-update-field): Fix compilation error.
8243 (eww-tag-textarea): Implement <textarea>.
8244
8245 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8246 we don't shadow mode-specific bindings.
8247
8248 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8249 nothing to push.
8250
8251 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8252
4582a01c 82532013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8254
8255 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8256
15b263dc
MA
82572013-06-19 Michael Albinus <michael.albinus@gmx.de>
8258
8259 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8260 not needed.
8261
8262 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8263
8f5297f7
LMI
82642013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8265
8266 * net/browse-url.el (browse-url-browser-function):
8267 `eww-browse-url' has the right calling signature, `eww' does not.
8268
011c4552
GM
82692013-06-19 Glenn Morris <rgm@gnu.org>
8270
2285bd27
GM
8271 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8272 Only eval autoloaded macros.
8273 (byte-compile-autoload): Only give the macro warning for macros.
8274
1d653303
GM
8275 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8276 (ps-underlined-faces): Declare.
8277
bdd779ec
GM
8278 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8279 (speedbar-add-supported-extension): Declare.
8280
011c4552
GM
8281 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8282 Don't include a date stamp in the header of the generated file;
8283 it leads to needless differences between output files.
8284
e59dfb0e
MA
82852013-06-19 Michael Albinus <michael.albinus@gmx.de>
8286
c763842b
SM
8287 * net/secrets.el (secrets-struct-secret-content-type):
8288 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8289 Some servers do not offer introspection.
e59dfb0e 8290
102626e2
SM
82912013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * electric.el (electric-pair-mode): Improve interaction with
8294 electric-layout-mode.
8295 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8296 (electric-pair-syntax): Use text-mode-syntax-table in comments
8297 and strings.
8298 (electric-pair--insert): New function.
8299 (electric-pair-post-self-insert-function): Use it and
8300 electric--after-char-pos.
8301
ad528125
LL
83022013-06-19 Leo Liu <sdl.web@gmail.com>
8303
8304 * progmodes/octave.el (octave-help): Fix regexp.
8305
924d6997
G
83062013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8307
8308 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8309 (shr-table-horizontal-line): Allow nil as a value, and change the
8310 default.
8311 (shr-insert-table-ruler): Respect the nil value.
8312
83132013-06-18 Tom Tromey <tromey@barimba>
8314
8315 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8316 New defvars.
8317 (eww-open-file): New defun.
8318 (eww-render): Initialize new variables.
8319 (eww-display-html): Handle "link" and "a".
8320 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8321 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8322 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8323 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8324 New defuns.
924d6997 8325
d1bbba4f
DG
83262013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8327
8328 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8329 Distinguish ternary operator tokens from slash symbol and slash
8330 char literal.
8331
14dd22d2
JB
83322013-06-18 Juanma Barranquero <lekktu@gmail.com>
8333
8334 Convert symbol prettification into minor mode and global minor mode.
8335
8336 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8337 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8338 (prettify-symbols--keywords): Rename from
8339 `prog-prettify-symbols-alist' and make a local defvar.
8340 (prettify-symbols--compose-symbol): Rename from
8341 `prog--prettify-font-lock-compose-symbol'.
8342 (prettify-symbols--make-keywords): Rename from
8343 `prog-prettify-font-lock-symbols-keywords' and simplify.
8344 (prog-prettify-install): Remove.
8345 (prettify-symbols-mode): New minor mode, based on
8346 `prog-prettify-install'.
8347 (turn-on-prettify-symbols-mode): New function.
8348 (global-prettify-symbols-mode): New globalized minor mode.
8349
8350 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8351 * progmodes/cfengine.el (cfengine3-mode):
8352 * progmodes/perl-mode.el (perl-mode): Don't call
8353 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8354
292c880c
JL
83552013-06-18 Juri Linkov <juri@jurta.org>
8356
8357 * files-x.el (modify-file-local-variable-message): New function.
8358 (modify-file-local-variable)
8359 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8360 and call `modify-file-local-variable-message' when it's non-nil.
8361 (add-file-local-variable, delete-file-local-variable)
8362 (add-file-local-variable-prop-line)
8363 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8364 and use it. (Bug#9820)
8365
0950aa27
JL
83662013-06-18 Juri Linkov <juri@jurta.org>
8367
8368 * emulation/vi.el (vi-shell-op):
8369 * emulation/vip.el (vip-execute-com, ex-command):
8370 * emulation/viper-cmd.el (viper-exec-bang):
8371 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8372 the call of `shell-command-on-region'. (Bug#14637)
8373
8374 * simple.el (shell-command-on-region): Doc fix.
8375
8fbcca16
SM
83762013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8379 (bug#14633).
8380
dd7426ea
GM
83812013-06-18 Glenn Morris <rgm@gnu.org>
8382
4ba54f7d
GM
8383 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8384
dd7426ea
GM
8385 * newcomment.el (comment-search-forward, comment-search-backward):
8386 Doc fix. (Bug#14376)
8387
58aa805b
JB
83882013-06-18 Juanma Barranquero <lekktu@gmail.com>
8389
8390 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8391 (buffer-face-mode-invoke): Doc fix.
8392
9a08a617
MM
83932013-06-18 Matthias Meulien <orontee@gmail.com>
8394
8395 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8396 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8397
f2f426ca
GM
83982013-06-18 Glenn Morris <rgm@gnu.org>
8399
9445f99b
GM
8400 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8401 Replace obsolete function generic-make-keywords with its expansion.
8402
e0df2d14
GM
8403 * progmodes/python.el (ffap-alist): Declare.
8404
f2f426ca
GM
8405 * textmodes/reftex.el (bibtex-mode-map): Declare.
8406
f7f9a720
SM
84072013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8408
8409 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8410 (package-unpack, package-unpack-single): Return the pkg-dir.
8411 (package-download-transaction): Use it to update package-alist.
8412
57ff04e0
LMI
84132013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8414
8415 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8416 possible choice.
8417
c048c022
JL
84182013-06-17 Juri Linkov <juri@jurta.org>
8419
8420 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8421
b5bcaee5
DG
84222013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8423
a020afb9
JB
8424 * emacs-lisp/package.el (package-load-descriptor):
8425 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8426 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8427
551e07e5
JB
84282013-06-17 Juanma Barranquero <lekktu@gmail.com>
8429
8430 * startup.el (command-line): Expand package name returned by
8431 `package--description-file' (bug#14639).
8432
d363bffb
DG
84332013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8434
8435 * emacs-lisp/package.el (package-load-descriptor): Do not call
8436 `emacs-lisp-mode', just use its syntax table.
8437
f612933b
JB
84382013-06-17 Juanma Barranquero <lekktu@gmail.com>
8439
8440 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8441 `font-lock-extra-managed-props' if any prettifying keyword is added.
8442 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8443 (prog-mode): Use `setq-local'.
8444
db3b7db5
SM
84452013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * international/characters.el (standard-case-table): Set syntax of ?»
8448 and ?« to punctuation.
8449
f3d674df
JB
84502013-06-16 Juanma Barranquero <lekktu@gmail.com>
8451
8452 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8453 Save relevant match data before calling `syntax-ppss' (bug#14595).
8454
31489a32
JL
84552013-06-15 Juri Linkov <juri@jurta.org>
8456
8457 * files-x.el (modify-file-local-variable-prop-line): Add local
8458 variables to the end of the existing comment on the first line.
8459 Use `file-auto-mode-skip' to skip interpreter magic line,
8460 and also skip XML declaration.
8461
66bd25ab
SM
84622013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8463
8464 * startup.el (package--builtin-versions): New var.
8465 (package-subdirectory-regexp): Remove.
8466 (package--description-file): Hard code its value instead.
8467
8468 * emacs-lisp/package.el: Don't activate packages older than builtin.
8469 (package-obsolete-list): Rename from package-obsolete-alist, and make
8470 it into a simple list of package-desc.
8471 (package-strip-version): Remove.
8472 (package-built-in-p): Use package--builtin-versions.
8473 (package-mark-obsolete): Simplify.
8474 (package-process-define-package): Mark it obsolete if older than the
8475 builtin version.
8476 (package-handle-response): Use line-end-position.
8477 (package-read-archive-contents, package--download-one-archive):
8478 Simplify.
8479 (package--add-to-archive-contents): Skip if older than the builtin or
8480 installed version.
8481 (package-menu-describe-package): Fix last change.
8482 (package-list-unversioned): New var.
8483 (package-menu--generate): Use it.
8484
8485 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8486 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8487 (autoload-builtin-package-versions): New variable.
8488 (autoload-generate-file-autoloads): Use them.
8489 Remove the list of autoloaded functions/macros from the
8490 (autoload...) comments.
8491
8492 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8493
9583ec36
EZ
84942013-06-15 Eli Zaretskii <eliz@gnu.org>
8495
8496 * simple.el (line-move-partial): Don't jump to the next screen
8497 line as soon as it becomes visible. Instead, continue enlarging
8498 the vscroll until the portion of a tall screen line that's left on
8499 display is about the height of the frame's default font.
8500 (Bug#14567)
8501
f0100d8a
GM
85022013-06-15 Glenn Morris <rgm@gnu.org>
8503
b86a85ca
GM
8504 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8505 compilation-error-regexp-alist void, or local while let-bound.
8506
f0100d8a
GM
8507 * progmodes/make-mode.el (makefile-mode-syntax-table):
8508 Treat "=" as punctuation. (Bug#14614)
8509
05e7ce90
JB
85102013-06-15 Juanma Barranquero <lekktu@gmail.com>
8511
8512 * help-fns.el (describe-variable):
8513 Add extra line for permanent-local variables.
8514
12e5e86e
SH
85152013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8516
8517 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8518 Add export, import, library. (Bug#9164)
8519 (library): Set indent function.
8520
230dcbaf
GM
85212013-06-14 Glenn Morris <rgm@gnu.org>
8522
8523 * term/xterm.el (xterm--query):
8524 Stop after first matching handler. (Bug#14615)
8525
e36b2d20 85262013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8527
8528 Add support for dired in saveplace.
8529 * dired.el (dired-initial-position-hook): New variable.
8530 (dired-initial-position): Call hook to place cursor position.
8531 * saveplace.el (save-place-to-alist): Add dired position.
8532 (save-place-dired-hook): New function.
8533
0b31660d
SM
85342013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8535
bf1e6ae8
SM
8536 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8537 through a symbol rather than letrec.
8538
1b8dff23
SM
8539 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8540 (package-desc): Add `dir' field.
8541 (package-desc-full-name): New function.
8542 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8543 (package-maybe-load-descriptor): Remove.
8544 (package-load-all-descriptors): Just call package-load-descriptor.
8545 (package--disabled-p): New function.
8546 (package-desc-vers, package-desc-doc): Remove aliases.
8547 (package--dir): Remove function.
8548 (package-activate): Check if a package is disabled.
8549 (package-process-define-package): New function, extracted from
8550 define-package.
8551 (define-package): Turn into a place holder.
8552 (package-unpack-single, package-tar-file-info):
8553 Use package--description-file.
8554 (package-compute-transaction): Use package--disabled-p.
8555 (package-download-transaction): Don't call
8556 package-maybe-load-descriptor since they're all loaded anyway.
8557 (package-install): Change argument to be a pkg-desc.
8558 (package-delete): Use a single pkg-desc argument.
8559 (describe-package-1): Use package-desc-dir instead of package--dir.
8560 Use package-desc property instead of package-symbol.
8561 (package-install-button-action): Adjust accordingly.
8562 (package--push): Rewrite.
8563 (package-menu--print-info): Adjust accordingly. Change the ID format
8564 to be a pkg-desc.
8565 (package-menu-describe-package, package-menu-get-status)
8566 (package-menu--find-upgrades, package-menu-mark-upgrades)
8567 (package-menu-execute, package-menu--name-predicate):
8568 Adjust accordingly.
8569 * startup.el (package--description-file): New function.
8570 (command-line): Use it.
8571 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8572 Use package-desc-version.
8573
0b31660d
SM
8574 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8575 (byte-compile-preprocess): Use it.
8576 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8577 can't quite recognize.
8578 (byte-compile-add-to-list): Remove.
8579 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8580 (cconv-closure-convert): Add assertion.
8581
8582 * emacs-lisp/map-ynp.el: Use lexical-binding.
8583 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8584 Factor out some repeated code.
8585
de0503df
SM
85862013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * subr.el (with-eval-after-load): New macro.
8589 (eval-after-load): Allow form to be a function.
8590 take advantage of lexical-binding.
8591 (do-after-load-evaluation): Use dolist and adjust to new format.
8592 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8593
bc5c8c5a
JL
85942013-06-13 Juri Linkov <juri@jurta.org>
8595
8596 * replace.el (perform-replace): Display "symbol " and other search
8597 modes from `isearch-message-prefix' in the *Help* buffer.
8598
8599 * isearch.el (isearch-query-replace): Add " symbol" and other
8600 possible search modes from `isearch-message-prefix' to the prompt.
8601 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8602 when reading a regexp to collect.
8603
a22289f7
JL
86042013-06-13 Juri Linkov <juri@jurta.org>
8605
8606 * isearch.el (word-search-regexp): Match whitespace if the search
8607 string begins or ends in whitespace. The LAX arg is applied to
8608 both ends of the search string. Use `regexp-quote' and explicit
8609 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8610 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8611 boundaries are replaced with symbol boundaries, and characters
8612 between symbols match non-word non-symbol syntax. (Bug#14602)
8613
cb89acab
JL
86142013-06-13 Juri Linkov <juri@jurta.org>
8615
8616 * isearch.el (isearch-del-char): Don't exceed the length of
8617 `isearch-string' by the prefix arg. (Bug#14563)
8618
6e8cfc81
JL
86192013-06-13 Juri Linkov <juri@jurta.org>
8620
8621 * isearch.el (isearch-yank-word, isearch-yank-line)
8622 (isearch-char-by-name, isearch-quote-char)
8623 (isearch-printing-char, isearch-process-search-char):
8624 Add optional count prefix arg. (Bug#14563)
8625
8626 * international/isearch-x.el
8627 (isearch-process-search-multibyte-characters):
8628 Add optional count prefix arg.
8629
c23d55f4
VS
86302013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8631
8632 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8633 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8634 lexical-binding.
8635
86362013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8637
8638 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8639
ba947bc4
GM
86402013-06-13 Glenn Morris <rgm@gnu.org>
8641
8baeb37a
GM
8642 * startup.el (tty-handle-args):
8643 Don't just discard "--" and anything after. (Bug#14608)
8644
ba947bc4
GM
8645 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8646
9abefce4
MA
86472013-06-13 Michael Albinus <michael.albinus@gmx.de>
8648
8649 Implement changes in Secret Service API. Make it backward compatible.
8650 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8651 (secrets-create-item): Use it. Prefix properties with interface.
8652
5755011f
MH
86532013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8654
8655 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8656 (term-emulate-terminal): Respect term-suppress-hard-newline.
8657
1261d2da
S
86582013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8659
8660 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8661 Only remove a `thumb-file' overlay. (Bug#14548)
8662
868490bb
GJ
86632013-06-12 Grégoire Jadi <daimrod@gmail.com>
8664
8665 * mail/reporter.el (reporter-submit-bug-report):
8666 Handle missing package-name. (Bug#14600)
8667
79d7167f
TH
86682013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8669
8670 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8671 (reftex-citation-prompt, reftex-default-bibliography)
8672 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8673 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8674 (reftex-bib-sort-author, reftex-bib-sort-year)
8675 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8676 (reftex-extract-bib-entries-from-thebibliography)
8677 (reftex-get-bibkey-default, reftex-get-bib-names)
8678 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8679 (reftex-format-bib-entry, reftex-parse-bibitem)
8680 (reftex-format-bibitem, reftex-do-citation)
8681 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8682 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8683 (reftex-insert-bib-matches, reftex-format-citation)
8684 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8685 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8686 existing comments into docstrings.
8687
5f9dbd7a
XF
86882013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8689
8690 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8691
94df41ab
AS
86922013-06-12 Andreas Schwab <schwab@suse.de>
8693
8694 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8695 for auto-save files.
8696
a7f3fecc
GM
86972013-06-12 Glenn Morris <rgm@gnu.org>
8698
001809f6
GM
8699 * ido.el (ido-delete-ignored-files): Remove.
8700 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8701 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8702
834b5ded
EL
87032013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8704
08c73ed2
EL
8705 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8706
834b5ded
EL
8707 * ido.el (ido-delete-ignored-files): New function,
8708 split from ido-make-file-list-1.
8709 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8710 (ido-make-file-list-1): Use ido-delete-ignored-files.
8711
daabf15a
LL
87122013-06-12 Leo Liu <sdl.web@gmail.com>
8713
8714 * progmodes/octave.el (inferior-octave-startup)
8715 (inferior-octave-completion-table)
8716 (inferior-octave-track-window-width-change)
8717 (octave-eldoc-function-signatures, octave-help)
8718 (octave-find-definition): Use single quoted strings.
8719 (inferior-octave-startup-args): Change default value.
8720 (inferior-octave-startup): Do not hard code "-i" and
8721 "--no-line-editing".
8722 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8723 (inferior-octave-directory-tracker): Use it.
8724 (octave-goto-function-definition): Robustify.
8725 (octave-help): Support highlighting operators in 'See also'.
8726 (octave-find-definition): Find subfunctions only in Octave mode.
8727
cf4e5178
SM
87282013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8729
8730 * help-fns.el (help-fns--compiler-macro): If the handler function is
8731 named, then put a link to it.
8732 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8733 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8734 (cl-typep): Use it.
8735 (cl-eval-when): Simplify debug spec.
8736 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8737 compiler-macro function instead of setting `compiler-macro-file'.
8738
99c81280 87392013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8740
8741 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8742 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8743
f56be016
SM
87442013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8745 Daniel Hackney <dan@haxney.org>
8746
8747 First part of Daniel Hackney's patch to package.el.
8748 * emacs-lisp/package.el: Use defstruct.
8749 (package-desc): New, main struct.
8750 (package--bi-desc, package--ac-desc): New structs, used to describe the
8751 format in external files.
8752 (package-desc-vers): Replace with package-desc-version accessor.
8753 (package-desc-doc): Replace with package-desc-summary accessor.
8754 (package-activate-1): Remove `package' arg since the pkg-vec now
8755 includes the name.
8756 (define-package): Use package-desc-from-define.
8757 (package-unpack-single): Change file-name arg to be a symbol.
8758 (package--add-to-archive-contents): Use package-desc-create and new
8759 accessor functions to package--ac-desc.
8760 (package-buffer-info, package-tar-file-info): Return a package-desc.
8761 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8762 arg to be a package-desc.
8763 (package-install-file): Adjust accordingly. Use \' to match EOS.
8764 (package--from-builtin): New function.
8765 (describe-package-1, package-menu--generate): Use it.
8766 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8767 (package-generate-autoloads): Idem and return the name of the file.
8768 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8769 Change pkg-info arg to be a package-desc.
8770 Use package-make-ac-desc.
8771 (package-upload-file): Use \' to match EOS.
8772 * finder.el (finder-compile-keywords): Use package-make-builtin.
8773
31119d63
SM
87742013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8775
931a2762
SM
8776 * vc/vc.el (vc-deduce-fileset): Change error message.
8777 (vc-read-backend): New function.
8778 (vc-next-action): Use it.
8779
5a3eb0c6
SM
8780 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8781
e3eb1bb7
SM
8782 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8783 (prolog-font-lock-keywords): Use regexp-opt instead.
8784 Don't manually highlight strings.
8785 (prolog-mode-variables): Simplify comment-start-skip.
8786 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8787
31119d63
SM
8788 * emacs-lisp/generic.el (generic--normalise-comments)
8789 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8790 (generic-mode-set-comments): Use them.
8791 (generic-bracket-support): Use setq-local.
8792 (generic-make-keywords-list): Declare obsolete.
8793
7de135d0
GM
87942013-06-11 Glenn Morris <rgm@gnu.org>
8795
8796 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8797 Prettify after setting font-lock-defaults. (Bug#14574)
8798
fa6bc6fd
JB
87992013-06-11 Juanma Barranquero <lekktu@gmail.com>
8800
8801 * replace.el (query-replace, occur-read-regexp-defaults-function)
8802 (replace-search):
8803 * subr.el (declare-function, number-sequence, local-set-key)
8804 (substitute-key-definition, locate-user-emacs-file)
8805 (with-silent-modifications, split-string, eval-after-load):
8806 Fix typos, remove unneeded backslashes and reflow some docstrings.
8807
cf1f9b9a
SM
88082013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8811 default for Elisp files.
8812
56602a4b
GM
88132013-06-11 Glenn Morris <rgm@gnu.org>
8814
8815 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8816 although define-derived-mode was doing this anyway. (Bug#14583)
8817
30ae0b2c
JB
88182013-06-10 Juanma Barranquero <lekktu@gmail.com>
8819
8820 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8821 Fix make-variable-buffer-local call to refer to the correct variable.
8822
fa472906
AG
88232013-06-10 Aidan Gauland <aidalgol@amuri.net>
8824
8825 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8826 (eshell-visual-subcommands, eshell-visual-options):
8827 Add summary line to docstrings. Add cross-references.
fa472906 8828
ff4871b9
GM
88292013-06-10 Glenn Morris <rgm@gnu.org>
8830
8831 * epa.el (epa-read-file-name): New function. (Bug#14510)
8832 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8833
04fcf1b0
AG
88342013-06-09 Aidan Gauland <aidalgol@amuri.net>
8835
8836 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8837 output redirection to be ignored with visual commands.
8838
88b00caa
AG
88392013-06-09 Aidan Gauland <aidalgol@amuri.net>
8840
8841 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8842 (eshell-term-initialize): Move long lambda to separate function
8843 eshell-visual-command-p.
e7b41c4c
JB
8844 * eshell/em-dirs.el (eshell-dirs-initialise):
8845 * eshell/em-script.el (eshell-script-initialize):
8846 Add missing #' to lambda.
88b00caa 8847
fda74125
LL
88482013-06-08 Leo Liu <sdl.web@gmail.com>
8849
8850 * progmodes/octave.el (octave-add-log-current-defun): New function.
8851 (octave-mode): Set add-log-current-defun-function.
8852 (octave-goto-function-definition): Do not move point if not found.
8853 (octave-find-definition): Enhance to try subfunctions first.
8854
467f3b33
GM
88552013-06-08 Glenn Morris <rgm@gnu.org>
8856
8857 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8858 (byte-compile-backward-char, byte-compile-backward-word):
8859 Improve previous change, to handle non-explicit nil.
8860
544badc3
SM
88612013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8864 (smie--opener/closer-at-point): New function.
8865 (smie--matching-block-data): Use it. Don't match from right after an
8866 opener or right before a closer. Obey smie-blink-matching-inners.
8867 Don't signal a mismatch for repeated inners like "switch..case..case".
8868
a175bf33
LL
88692013-06-07 Leo Liu <sdl.web@gmail.com>
8870
8871 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8872 to t. (Bug#14303)
ce8209d4
LL
8873 (octave-function-header-regexp): Fix. (Bug#14570)
8874 (octave-help-mode-finish-hook, octave-help-mode-finish):
8875 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8876
8877 * newcomment.el (comment-search-backward): Revert last change.
8878 (Bug#14434)
8879
8880 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8881
a822acff
EZ
88822013-06-07 Eli Zaretskii <eliz@gnu.org>
8883
8884 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8885 through xargs, to avoid failure due to MS-Windows limitations on
8886 command-line length.
8887
961166f5
GM
88882013-06-06 Glenn Morris <rgm@gnu.org>
8889
d0341459
GM
8890 * font-lock.el (lisp-font-lock-keywords-2):
8891 Treat user-error like error.
8892
961166f5
GM
8893 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8894 (byte-compile-backward-char, byte-compile-backward-word):
8895 Handle explicit nil arguments. (Bug#14565)
8896
80fa505f
AM
88972013-06-05 Alan Mackenzie <acm@muc.de>
8898
8899 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8900 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8901 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8902 (Bug#9706)
80fa505f 8903
fccdc796
SM
89042013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8905
8906 * autorevert.el (auto-revert-notify-handler): Use memq.
8907 Hide assertion failure.
8908
8909 * skeleton.el: Use cl-lib.
8910 (skeleton-further-elements): Use defvar-local.
8911 (skeleton-insert): Use cl-progv.
8912
9bfff84b
TZ
89132013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8914
8915 * progmodes/prog-mode.el (prog-prettify-symbols)
8916 (prog-prettify-install): Update docstrings.
8917
55577e7c
SM
89182013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8919
8920 * simple.el: Move all the prog-mode code to prog-mode.el.
8921 * progmodes/prog-mode.el: New file.
8922 * loadup.el: Add prog-mode.el.
8923
8fc57765
TZ
89242013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8925
8926 * simple.el (prog-prettify-symbols): Add version.
8927 (prog-prettify-install): Add convenience function to prettify symbols.
8928
8929 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8930 (perl--augmented-font-lock-keywords-1)
8931 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8932 variables and use it.
8933
8934 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8935 (cfengine3-mode): Remove unneeded variable and use it.
8936
8937 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8938 (lisp--augmented-font-lock-keywords-1)
8939 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8940 Remove unneeded variables and use it.
8941
650645d5 89422013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8943
8944 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8945 to point when opening the connection. (Bug#14380)
28f5da6d 8946
781b4af6
SM
89472013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * subr.el (load-history-regexp, load-history-filename-element)
8950 (eval-after-load, after-load-functions, do-after-load-evaluation)
8951 (eval-next-after-load, display-delayed-warnings)
8952 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8953 definition of save-match-data.
8954 (overriding-local-map): Remove accidental obsolescence declaration.
8955
8956 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8957
3ca0d0b4
TZ
89582013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8959
8960 Generalize symbol prettify support to prog-mode and implement it
8961 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8962 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8963 (prog--prettify-font-lock-compose-symbol)
8964 (prog-prettify-font-lock-symbols-keywords): New variables and
8965 functions to support symbol prettification.
8966 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8967 (lisp--augmented-font-lock-keywords-1)
8968 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8969 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8970 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8971 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8972 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8973 * progmodes/perl-mode.el (perl-prettify-symbols)
8974 (perl--font-lock-compose-symbol)
8975 (perl--font-lock-symbols-keywords): Move to prog-mode.
8976 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8977 (perl-font-lock-keywords-1)
8978 (perl-font-lock-keywords-2): Remove explicit prettify support.
8979 (perl--augmented-font-lock-keywords)
8980 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8981 (perl--augmented-font-lock-keywords-2, perl-mode):
8982 Implement prettify support.
3ca0d0b4 8983
976cb066
LL
89842013-06-05 Leo Liu <sdl.web@gmail.com>
8985
8986 Re-implement smie matching block highlight using
8987 show-paren-data-function. (Bug#14395)
8988 * emacs-lisp/smie.el (smie-matching-block-highlight)
8989 (smie--highlight-matching-block-overlay)
8990 (smie--highlight-matching-block-lastpos)
8991 (smie-highlight-matching-block)
8992 (smie-highlight-matching-block-mode): Remove.
8993 (smie--matching-block-data-cache): New variable.
8994 (smie--matching-block-data): New function.
8995 (smie-setup): Use smie--matching-block-data for
8996 show-paren-data-function.
8997
8998 * progmodes/octave.el (octave-mode-menu): Fix.
8999 (octave-find-definition): Skip garbage lines.
9000
208d0342
SM
90012013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9002
9003 Fix compilation error with simultaneous dynamic+lexical scoping.
9004 Add warning when a defvar appears after the first let-binding.
9005 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9006 (byte-compile-close-variables): Initialize it.
9007 (byte-compile--declare-var): New function.
9008 (byte-compile-file-form-defvar)
9009 (byte-compile-file-form-define-abbrev-table)
9010 (byte-compile-file-form-custom-declare-variable): Use it.
9011 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9012 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9013 (byte-compile-bind): Handle dynamic bindings that shadow
9014 lexical bindings.
9015 (byte-compile-unbind): Make arg non-optional.
9016 (byte-compile-let): Simplify.
9017 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9018 (cconv--analyse-function, cconv-analyse-form): Populate it.
9019 Protect byte-compile-bound-variables to limit the scope of defvars.
9020 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9021 Remove unneeded rule for `declare'.
9022
9023 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9024 so as to avoid depending on cl-adjoin at run-time.
9025 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9026
9027 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9028 (macroexp--warn-and-return): Use it.
9029
1ac2891e
GM
90302013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * lisp/subr.el: Convert to lexical binding.
9033 (overriding-local-map): Make obsolete.
9034 (add-to-list): Doc fix. Add compiler macro.
9035 (read-key): Swap values of local maps.
9036
2587b005
LL
90372013-06-05 Leo Liu <sdl.web@gmail.com>
9038
9039 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9040
f1da3c88
LL
90412013-06-04 Leo Liu <sdl.web@gmail.com>
9042
9043 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9044 (compilation-auto-jump): Suppress the "Mark set" message to give
9045 way to exit message.
9046
3caa391f
AM
90472013-06-04 Alan Mackenzie <acm@muc.de>
9048
9049 Remove faulty optimisation from indentation calculation.
9050 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9051 search limit based on 2000 characters back from indent-point.
9052
068922a2
TH
90532013-06-03 Tassilo Horn <tsdh@gnu.org>
9054
9055 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9056
1f8fdd53
SM
90572013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9058
bbcc4d97
SM
9059 * emacs-lisp/lisp.el: Use lexical-binding.
9060 (lisp--local-variables-1, lisp--local-variables): New functions.
9061 (lisp--local-variables-completion-table): New var.
208d0342 9062 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9063
1f8fdd53
SM
9064 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9065 eagerly (bug#14422).
9066
c9628c79
MA
90672013-06-03 Michael Albinus <michael.albinus@gmx.de>
9068
9069 * autorevert.el (auto-revert-notify-enabled)
9070 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9071 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9072 (auto-revert-notify-handler): Handle also gfilenotify.
9073
e7b41c4c 9074 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9075 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9076 Remove.
c9628c79 9077
e5e4a942
JL
90782013-06-03 Juri Linkov <juri@jurta.org>
9079
9080 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9081 `M-s h .'. (Bug#14427)
9082
9083 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9084 command `hi-lock-face-symbol-at-point'.
9085 (hi-lock-face-symbol-at-point): New command.
9086 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9087 (hi-lock-menu): Add `highlight-symbol-at-point'.
9088 (hi-lock-mode): Doc fix.
9089
9090 * isearch.el (isearch-forward-symbol-at-point): New command.
9091 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9092 (isearch-highlight-regexp): Add a regexp which matches
9093 words/symbols for word/symbol mode.
9094
9095 * subr.el (find-tag-default-bounds): New function with the body
9096 mostly moved from `find-tag-default'.
9097 (find-tag-default): Move most code to `find-tag-default-bounds',
9098 call it and apply `buffer-substring-no-properties' afterwards.
9099
26b3353a
TH
91002013-06-03 Tassilo Horn <tsdh@gnu.org>
9101
781b4af6
SM
9102 * eshell/em-term.el (eshell-term-initialize):
9103 Use `cl-intersection' rather than `intersection'.
26b3353a 9104
51b60f53
XF
91052013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9106
fe054b63 9107 * vc/log-view.el: Doc fix.
d3ffe17c 9108 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9109
a0eb10b3 91102013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9111
9112 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9113 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9114 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9115 (eieio-unbound, eieio-default-superclass)
9116 (eieio--define-field-accessors, method-static, method-before)
9117 (method-primary, method-after, method-num-lists)
9118 (method-generic-before, method-generic-primary)
9119 (method-generic-after, method-num-slots)
9120 (eieio-specialized-key-to-generic-key)
9121 (eieio--check-type, class-v, class-p)
9122 (eieio-class-name, define-obsolete-function-alias)
9123 (eieio-class-parents-fast, eieio-class-children-fast)
9124 (same-class-fast-p, class-constructor, generic-p)
9125 (generic-primary-only-p, generic-primary-only-one-p)
9126 (class-option-assoc, class-option, eieio-object-p)
9127 (class-abstract-p, class-method-invocation-order)
9128 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9129 (eieio-class-un-autoload, eieio-defclass)
9130 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9131 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9132 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9133 (eieio-defgeneric-reset-generic-form)
9134 (eieio-defgeneric-form-primary-only)
9135 (eieio-defgeneric-reset-generic-form-primary-only)
9136 (eieio-defgeneric-form-primary-only-one)
9137 (eieio-defgeneric-reset-generic-form-primary-only-one)
9138 (eieio-unbind-method-implementations)
9139 (eieio--defmethod, eieio--typep)
9140 (eieio-perform-slot-validation, eieio-validate-slot-value)
9141 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9142 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9143 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9144 (eieio-slot-name-index, eieio-class-slot-name-index)
9145 (eieio-set-defaults, eieio-initarg-to-attribute)
9146 (eieio-attribute-to-initarg, eieio-c3-candidate)
9147 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9148 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9149 (eieio-class-precedence-list, eieio-generic-call-methodname)
9150 (eieio-generic-call-arglst, eieio-generic-call-key)
9151 (eieio-generic-call-next-method-list)
9152 (eieio-pre-method-execution-functions, eieio-generic-call)
9153 (eieio-generic-call-primary-only, eieiomt-method-list)
9154 (eieiomt-optimizing-obarray, eieiomt-install)
9155 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9156 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9157 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9158 (defclass): Remove `eval-and-compile' from macro.
9159 (call-next-method, shared-initialize): Instead of using
9160 `scoped-class' variable, use new eieio--scoped-class, and
9161 eieio--with-scoped-class.
9162 (initialize-instance): Rename local variable 'scoped-class' to
9163 'this-class' to remove ambiguitity from old global.
9164
9165 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9166 eieio.el.
4f405069
JB
9167 (eieio--scoped-class-stack): New variable.
9168 (eieio--scoped-class): New fcn.
890f7890
DE
9169 (eieio--with-scoped-class): New scoping macro.
9170 (eieio-defclass): Use pushnew instead of add-to-list.
9171 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9172 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9173 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9174 `scoped-class' variable, use new eieio--scoped-class, and
9175 eieio--with-scoped-class.
9176
9177 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9178
d105b0e2
TH
91792013-06-02 Tassilo Horn <tsdh@gnu.org>
9180
9181 * eshell/esh-ext.el (eshell-external-command): Pass args to
9182 `eshell-find-interpreter'.
9183 (eshell-find-interpreter): Add new second parameter ARGS.
9184
9185 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9186 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9187
9188 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9189 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9190
9191 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9192 (eshell-visual-options): New defcustom.
9193 (eshell-escape-control-x): Adapt docstring.
9194 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9195 `eshell-visual-options' in addition to `eshell-visual-commands'.
9196 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9197
f46305c8 91982013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9199
9200 * progmodes/python.el (python-indent-block-enders): Add break,
9201 continue and raise keywords.
9202
d870df21
GM
92032013-06-01 Glenn Morris <rgm@gnu.org>
9204
9133b82e
GM
9205 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9206
02c992ec 9207 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9208 * progmodes/cc-cmds.el (delete-forward-p):
9209 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9210 * progmodes/cc-engine.el (buffer-syntactic-context):
9211 * progmodes/cc-fonts.el (face-property-instance):
9212 * progmodes/cc-mode.el (set-keymap-parents):
9213 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9214 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9215 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9216 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9217 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9218
31e7b090
GM
9219 * progmodes/cc-vars.el (other): Emacs has this widget since
9220 at least 21.1, so don't (re)define it.
9221
d870df21
GM
9222 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9223 Replace the obsolete alias pcomplete-arg-quote-list.
9224
c75c93c7
LL
92252013-06-01 Leo Liu <sdl.web@gmail.com>
9226
9227 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9228 punctuation syntax.
9229 (inferior-octave-minimal-columns)
9230 (inferior-octave-last-column-width): New variables.
9231 (inferior-octave-track-window-width-change): New function.
9232 (inferior-octave-mode): Adjust column width so that Octave output,
9233 for example from 'ls', can fit into the window nicely.
9234
973d1e12
DG
92352013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9236
9237 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9238 Highlight expansions inside regexp literals.
9239
0888c286
GM
92402013-05-31 Glenn Morris <rgm@gnu.org>
9241
e26aac1f
GM
9242 * obsolete/sym-comp.el (symbol-complete):
9243 Replace obsolete completion-annotate-function.
9244
0888c286
GM
9245 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9246
19bb8e62
DG
92472013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9248
781b4af6
SM
9249 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9250 New function, checks if point is inside a literal that allows
19bb8e62
DG
9251 expression expansion.
9252 (ruby-syntax-propertize-expansion): Use it.
9253 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9254 around the body.
9255
01dea85f
JL
92562013-05-30 Juri Linkov <juri@jurta.org>
9257
9258 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9259 to "\M-si".
9260 (isearch-invisible): New variable.
9261 (isearch-forward): Doc fix.
9262 (isearch-mode): Set `isearch-invisible'
9263 to the value of `search-invisible'.
9264 (isearch-toggle-case-fold): Doc fix.
9265 (isearch-toggle-invisible): New command.
9266 (isearch-query-replace): Let-bind `search-invisible'
9267 to the value of `isearch-invisible'.
9268 (isearch-search): Use `isearch-invisible' instead of
9269 `search-invisible'. Let-bind `search-invisible'
9270 to the value of `isearch-invisible'. (Bug#11378)
9271
ab1bdce5
JL
92722013-05-30 Juri Linkov <juri@jurta.org>
9273
9274 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9275 call when `query-flag' is nil and `search-invisible' is non-nil.
9276 (Bug#11746)
9277
d6d236e2
GM
92782013-05-30 Glenn Morris <rgm@gnu.org>
9279
8accd027
GM
9280 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9281
2a8bed1c
GM
9282 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9283 (cc-require): Suppress spurious "noruntime" warnings.
9284 (cc-require-when-compile): Use fboundp, for sake of compiler.
9285
d6d236e2
GM
9286 * progmodes/cc-mode.el: Move load of cc-vars before that of
9287 cc-langs (which in turn loads cc-vars), to quieten compiler.
9288
9190b35b
SM
92892013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * paren.el: Simplify the code.
9292 (show-paren-mode): Always start the timer.
9293 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9294 (show-paren--overlay, show-paren--overlay-1): Rename from
9295 show-paren-overlay and show-paren-overlay-1, and initialize to an
9296 overlay rather than to nil.
9297 (show-paren-function): Misc cleanup and simplifications.
9298
4f8d1cf6
SM
92992013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * paren.el (show-paren-data-function): New hook.
9302 (show-paren--default): New function, extracted from show-paren-function.
9303 (show-paren-function): Use show-paren-data-function.
9304
02d844b5
GM
93052013-05-30 Glenn Morris <rgm@gnu.org>
9306
d209d4a9
GM
9307 * ielm.el (ielm-map, ielm-complete-symbol):
9308 Use completion-at-point rather than obsolete functions.
9309 (inferior-emacs-lisp-mode): Doc fix.
9310 Set completion-at-point-functions, rather than
9311 comint-dynamic-complete-functions.
9312
2082faa6
GM
9313 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9314 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9315 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9316
dd8620de
GM
9317 * image.el (image-animated-p): Tweak definition.
9318
ceca95b1
GM
9319 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9320 (rlogin-process-connection-type): Tweak default. Add set-after.
9321 (rlogin-host): Doc fix.
9322 (rlogin): Tweak prompt.
9323 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9324
ee9f1acc
GM
9325 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9326 * progmodes/tcl.el (inferior-tcl-mode-map):
9327 Use completion-at-point rather than obsolete alias.
9328
45ce222e
GM
9329 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9330
02d844b5
GM
9331 * minibuffer.el (read-file-name-completion-ignore-case):
9332 Move before completion--in-region, for eager macro expansion.
9333
ac44d6c1
JL
93342013-05-29 Juri Linkov <juri@jurta.org>
9335
9336 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9337 for total count of matching lines. Add `global-matches' for total
9338 count of matches. Rename `matches' to `lines' for count of
9339 matching lines. Add `matches' for count of matches.
9340 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9341 to `prev-line' for line number of prev match endpt.
9342 Increment `matches' for every match. Print the number of
9343 matching lines in the header.
9344 (occur-context-lines): Rename `lines' to `curr-line'.
9345 Rename `prev-lines' to `prev-line'. (Bug#14017)
9346
3c9c9d38
JL
93472013-05-29 Juri Linkov <juri@jurta.org>
9348
9349 * replace.el (perform-replace): Add `skip-read-only-count',
9350 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9351 Increment them for corresponding conditions and report the number
9352 of skipped occurrences in the final message. (Bug#11746)
9353 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9354 (replace-string, replace-regexp): Doc fix.
9355
33e249a2
SM
93562013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9357
8e399682
SM
9358 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9359
33e249a2 9360 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9361 prog-mode-map (bug#14504).
33e249a2 9362
f236dd84
LL
93632013-05-29 Leo Liu <sdl.web@gmail.com>
9364
9365 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9366 (octave-help): Small simplification.
9367
9368 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9369 off the highlight first.
9370
3694d13f
GM
93712013-05-29 Glenn Morris <rgm@gnu.org>
9372
03983bdc
GM
9373 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9374 Handle idlwave-last-system-routine-info-cons-cell being nil.
9375
bc74a74a
GM
9376 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9377 (idlwave-write-paths): Simplify via with-temp-buffer.
9378
8b394200
GM
9379 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9380 * emulation/cua-rect.el: Also load cua-base at run time.
9381
3694d13f
GM
9382 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9383 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9384 (cperl-imenu-on-info): Require imenu.
9385
336d7284
AM
93862013-05-28 Alan Mackenzie <acm@muc.de>
9387
9388 Handle "capitalised keywords" correctly.
33e249a2 9389 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9390
cb29c582
AG
93912013-05-28 Aidan Gauland <aidalgol@amuri.net>
9392
781b4af6 9393 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9394
690e44b2
GM
93952013-05-28 Glenn Morris <rgm@gnu.org>
9396
e658d75c
GM
9397 * vc/vc-arch.el (vc-exec-after): Declare.
9398 (vc-switches): Autoload.
9399 * vc/vc-bzr.el: No need to require vc when compiling.
9400 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9401 (vc-resynch-buffer, vc-dir-refresh): Declare.
9402 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9403 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9404 (vc-resynch-buffer): Declare.
9405 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9406 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9407 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9408 (grep-read-regexp, grep-read-files, grep-expand-template)
9409 (vc-dir-refresh): Declare.
9410 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9411 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9412 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9413 * vc/vc-mtn.el (vc-exec-after): Declare.
9414 (vc-switches): Autoload.
9415 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9416 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9417 (vc-file-tree-walk): Declare.
712b9732
GM
9418 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9419 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9420 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9421 * vc/vc-svn.el (vc-exec-after): Declare.
9422 (vc-switches, vc-setup-buffer): Autoload.
9423 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9424 Autoload.
9425 (vc-resynch-buffer): Declare.
9426
98e87fb3
GM
9427 * obsolete/fast-lock.el (byte-compile-warnings):
9428 Don't warn about obsolete features in this obsolete file.
9429
f5379553
GM
9430 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9431 Move definition before use.
9432
7a20ef83
GM
9433 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9434 (dun-unix-verbs): Remove dun-zippy.
9435 (dun-zippy): Remove function.
9436
690e44b2
GM
9437 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9438
3a52ccf7
JL
94392013-05-27 Juri Linkov <juri@jurta.org>
9440
9441 * replace.el (replace-search): New function with code moved out
9442 from `perform-replace'.
9443 (replace-highlight, replace-dehighlight): Move function definitions
9444 up closer to `replace-search'. (Bug#11746)
9445
d289938a
JL
94462013-05-27 Juri Linkov <juri@jurta.org>
9447
9448 * replace.el (perform-replace): Ignore invisible matches.
9449 In addition to checking `query-replace-skip-read-only', also
9450 filter out matches by calling `run-hook-with-args-until-failure'
9451 on `isearch-filter-predicates', and also check `search-invisible'
9452 for t or call `isearch-range-invisible'.
9453 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9454
66fc57e3
JL
94552013-05-27 Juri Linkov <juri@jurta.org>
9456
9457 * isearch.el (isearch-filter-predicates): Rename from
9458 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9459 (isearch-message-prefix): Display text from the property
9460 `isearch-message-prefix' of the currently active filters.
9461 (isearch-search): Don't compare `isearch-filter-predicate' with
9462 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9463 on `isearch-filter-predicates'. Also check `search-invisible' for t
9464 or call `isearch-range-invisible'.
9465 (isearch-filter-visible): Make obsolete.
9466 (isearch-lazy-highlight-search):
9467 Call `run-hook-with-args-until-failure' on
9468 `isearch-filter-predicates' and use `isearch-range-invisible'.
9469
9470 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9471 `isearch-filter-predicates' instead of `funcall'ing
9472 `isearch-filter-predicate'.
9473 (Info-mode): Set `Info-isearch-filter' to
9474 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9475
9476 * dired-aux.el (dired-isearch-filter-predicate-orig):
9477 Remove variable.
9478 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9479 (dired-isearch-filenames-end): Add and remove
9480 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9481 instead of changing the value of `isearch-filter-predicate'.
9482 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9483 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9484 Put property `isearch-message-prefix' to "filename " on
9485 `dired-isearch-filter-filenames'.
9486
9487 * wdired.el (wdired-change-to-wdired-mode):
9488 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9489 locally instead of changing `isearch-filter-predicate'.
9490 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9491
f1a60a0f
DG
94922013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9493
9494 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9495 return the commit hash (Bug#14459). Also set the
9496 `vc-git-detached' property.
9497 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9498 (vc-git-mode-line-string): Use the same help-echo format whether
9499 in detached mode or not, because we know the actual revision now.
9500 When in detached mode, shorten the revision to 7 chars.
9501
7f17cc40
SM
95022013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * emacs-lisp/easy-mmode.el (define-minor-mode):
9505 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9506 mode hook and provide a docstring.
9507
25c8401c
AM
95082013-05-27 Alan Mackenzie <acm@muc.de>
9509
9510 Remove spurious syntax-table text properties inserted by C-y.
9511 * progmodes/cc-mode.el (c-after-change): Also clear hard
9512 syntax-table property with value nil.
9513
dde84790
MA
95142013-05-27 Michael Albinus <michael.albinus@gmx.de>
9515
9516 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9517 when reading the events; the buffer layout shall not be changed.
9518
837fd9af
LL
95192013-05-27 Leo Liu <sdl.web@gmail.com>
9520
9521 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9522 New variable.
9523 (inferior-octave-directory-tracker): Automatically re-sync
9524 default-directory.
9525 (octave-help): Improve handling of 'See also'.
9526
4fd996b3
SM
95272013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9528
416f1802
SM
9529 * doc-view.el: Minor naming convention tweaks.
9530 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9531
4fd996b3
SM
9532 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9533 even if there's no `display' property yet (bug#14435).
9534
a052ef3b
EZ
95352013-05-25 Eli Zaretskii <eliz@gnu.org>
9536
4fd996b3 9537 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9538
9539 * Makefile.in (custom-deps, finder-data, autoloads)
9540 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9541 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9542 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9543
c9023370
SM
95442013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9547 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9548 Don't burp at EOB.
c9023370 9549
24d699fa
LL
95502013-05-25 Leo Liu <sdl.web@gmail.com>
9551
9552 * comint.el (comint-previous-matching-input): Do not flood the
9553 *Messages* buffer with trivial messages.
9554
17e5c0cc
SM
95552013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * progmodes/flymake.el (flymake-nop): Don't return a string.
9558 (flymake-set-at): Fix typo.
9559
9560 * simple.el (read--expression): New function, extracted from
9561 eval-expression. Set completion-at-point-functions (bug#14465).
9562 (eval-expression, eval-minibuffer): Use it.
9563
5d028165
XF
95642013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9565
9566 * progmodes/flymake.el (flymake-save-buffer-in-file)
9567 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9568 (flymake-selected-frame, flymake-log, flymake-ins-after)
9569 (flymake-set-at, flymake-get-buildfile-from-cache)
9570 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9571 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9572 Refine the doc string.
9573 (flymake-get-file-name-mode-and-masks): Reformat.
9574 (flymake-get-real-file-name-function): Fix a minor bug.
9575
7a1d7ba7
JL
95762013-05-24 Juri Linkov <juri@jurta.org>
9577
9578 * progmodes/grep.el (grep-mode-font-lock-keywords):
9579 Support =linenumber= format used by git-grep for lines with
9580 function names. (Bug#13549)
9581
650cff3d
SM
95822013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9585 0 after a semi-colon; it works better for smie-auto-fill.
9586 (octave--indent-new-comment-line): New function.
9587 (octave-indent-new-comment-line): Use it (indirectly).
9588 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9589 modify comment-line-break-function.
9590
9591 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9592 (smie-setup): Use add-function to set it.
9593
9631677d
SS
95942013-05-24 Sam Steingold <sds@gnu.org>
9595
9596 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9597 argument (before the `interactive' argument).
9598
50105835
SM
95992013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9600
9601 * image-mode.el (image-mode-winprops): Add winprops to
9602 image-mode-winprops-alist before running
9603 image-mode-new-window-functions.
9604 * doc-view.el (doc-view-new-window-function): Don't delay
9605 doc-view-goto-page via timers (bug#14435).
9606
57b9823e
TH
96072013-05-24 Tassilo Horn <tsdh@gnu.org>
9608
9609 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9610 (doc-view-desktop-save-buffer): New function.
9611 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9612 (desktop-buffer-mode-handlers):
9613 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9614 handler.
9615 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9616 `desktop-save-buffer' function.
9617
91aafa16
MA
96182013-05-24 Michael Albinus <michael.albinus@gmx.de>
9619
9620 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9621 (tramp-gvfs-file-name-handler): Raise a user error when
9622 `tramp-gvfs-enabled' is nil.
9623 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9624 Do not raise a user error when loading package. (Bug#14447)
9625
ec076379
MA
9626 * net/xesam.el: Move to obsolete/.
9627
db785726
GM
96282013-05-24 Glenn Morris <rgm@gnu.org>
9629
af5c7606
GM
9630 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9631
e5d1916a
GM
9632 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9633
ded62b08
GM
9634 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9635 (Info-find-node, Man-getpage-in-background): Declare.
9636
9e614a3f
GM
9637 * mail/unrmail.el (unrmail):
9638 Replace obsolete detect-coding-with-priority.
9639
892f8ca3
GM
9640 * net/socks.el (socks-split-string): Use this rather than split-string.
9641 (socks-nslookup-host): Update for above change.
9642 (dynamic-choice, s5-dynamic-choice-match)
9643 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9644 Comment out unused code.
9645
3c291973
GM
9646 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9647 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9648 (gud-tooltip-echo-area): Make obsolete.
9649 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9650
43cc956b
GM
9651 * progmodes/js.el (js--optimize-arglist): Declare.
9652
dab49a3b
GM
9653 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9654
36b9d085
GM
9655 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9656 (ediff-window-C): Declare.
9657
e354ae76
GM
9658 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9659 Tweak requires to silence compiler.
9660
b8e57bf4
GM
9661 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9662 (he-search-string, he-tried-table, he-expand-list)
9663 (he-init-string, he-string-member, he-substitute-string)
9664 (he-reset-string): Declare.
9665
db785726
GM
9666 * obsolete/options.el (list-options): Use custom-variable-p,
9667 rather than obsolete alias.
9668
b3531901
SS
96692013-05-23 Sam Steingold <sds@gnu.org>
9670
9671 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9672 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9673 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9674
bdda4c66
SM
96752013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * emacs-lisp/smie.el (smie-indent-forward-token)
9678 (smie-indent-backward-token): Handle string tokens (bug#14381).
9679
c43d45f9
TH
96802013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9681
fe1eb856
RS
9682 * ielm.el (ielm-menu): New menu.
9683 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9684
fe1eb856
RS
96852013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9686
9687 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9688 Fix deactivate action.
9689
9690 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9691 Add cleveref macros.
074dd971 9692
c43d45f9
TH
9693 * lisp/textmodes/reftex-parse.el
9694 (reftex-locate-bibliography-files): Accept options for
9695 bibliography commands.
9696 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9697 Add addbibresource. Basic Biblatex support.
9698
7764286e
MA
96992013-05-23 Michael Albinus <michael.albinus@gmx.de>
9700
9701 * net/tramp-gvfs.el (top):
9702 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9703 when loading package. (Bug#14447)
9704
d361bc10
GM
97052013-05-23 Glenn Morris <rgm@gnu.org>
9706
8fa23984
GM
9707 * progmodes/js.el: No need to load comint when compiling.
9708 (ring-insert, comint-send-string, comint-send-input)
9709 (comint-last-input-end, ido-chop): Declare.
9710
a5c7df1a
GM
9711 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9712 * vc/ediff-mult.el: Adjust requires.
9713 (ediff-directories-internal, ediff-directory-revisions-internal)
9714 (ediff-patch-file-internal): Declare.
9715 * vc/ediff-ptch.el: Adjust requires.
9716 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9717 (ediff-find-file): Autoload.
9718 * vc/ediff-util.el: No need to load ediff when compiling.
9719 (ediff-regions-internal): Declare.
9720 * vc/ediff-wind.el: Adjust requires.
9721 (ediff-compute-toolbar-width): Define when compiling.
9722 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9723 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9724 (dired-get-filename, dired-get-marked-files)
9725 (ediff-last-dir-patch, ediff-patch-default-directory)
9726 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9727 (ediff-patch-buffer-internal): Declare.
9728
e2aec513
GM
9729 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9730 (ispell-process, ispell-buffer-local-words, lm-summary)
9731 (lm-section-start, lm-section-end): Declare.
9732 (checkdoc-ispell-init): Simplify.
9733
e68bbd7c
GM
9734 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9735 (he-string-member, he-reset-string, he-substitute-string): Declare.
9736
7efe0991
GM
9737 * eshell/em-ls.el: Adjust requires.
9738 (eshell-glob-regexp): Declare.
f87b1284
GM
9739 * eshell/em-tramp.el: Adjust requires.
9740 (eshell-parse-command): Autoload.
9741 * eshell/em-xtra.el: Adjust requires.
9742 (eshell-parse-command): Autoload.
9743 * eshell/esh-ext.el: Adjust requires.
9744 (eshell-parse-command, eshell-close-handles): Autoload.
9745 * eshell/esh-io.el: Adjust requires.
9746 (eshell-output-filter): Autoload.
9747 * eshell/esh-util.el: No need to load tramp when compiling.
9748 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9749 Declare.
9750 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9751 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9752 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9753 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9754 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9755 * eshell/esh-opt.el, eshell/esh-proc.el:
9756 * eshell/esh-var.el: Adjust requires.
9757 * eshell/eshell.el: Do not require esh-util twice.
9758 (eshell-add-input-to-history): Declare.
9759 (eshell-command): Check history module is active before using it.
9760
d361bc10
GM
9761 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9762
85d090a9
LL
97632013-05-22 Leo Liu <sdl.web@gmail.com>
9764
9765 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9766
5d0acd9d
MA
97672013-05-22 Michael Albinus <michael.albinus@gmx.de>
9768
9769 * autorevert.el (auto-revert-notify-add-watch)
9770 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9771 it indicates changes in file modification time.
9772
0cdffd7d
GM
97732013-05-22 Glenn Morris <rgm@gnu.org>
9774
ca5995ec
GM
9775 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9776 Always delete the autoloaded function from the noruntime and
9777 unresolved functions lists.
9778
6450907e
GM
9779 * allout.el: No need to load epa, epg, overlay when compiling.
9780 (epg-context-set-passphrase-callback, epg-list-keys)
9781 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9782 (epg-key-user-id-list): Declare.
9783
9c6906f6
GM
9784 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9785 (viper-set-parsing-style-toggling-macro)
9786 (viper-set-emacs-state-searchstyle-macros):
9787 Use called-interactively-p on Emacs.
9788 (viper-looking-back): Make it an obsolete alias. Update callers.
9789 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9790 Use looking-back rather than viper-looking-back.
9791 (viper-tmp-insert-at-eob, viper-enlarge-region)
9792 (viper-read-string-with-history, viper-register-to-point)
9793 (viper-append-to-register, viper-change-state-to-vi)
9794 (viper-backward-char-carefully, viper-forward-char-carefully)
9795 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9796 (viper-change-state-to-emacs): Declare.
9797 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9798 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9799 * emulation/viper-mous.el: Do not load viper-cmd.
9800 (viper-backward-char-carefully, viper-forward-char-carefully)
9801 (viper-forward-word, viper-adjust-window): Declare.
9802
5f70c169
GM
9803 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9804
b1b7f300
GM
9805 * progmodes/idlw-help.el (idlwave-help-fontify):
9806 Use called-interactively-p.
9807
f6ebbb46
GM
9808 * term/w32console.el (w32-get-console-codepage)
9809 (w32-get-console-output-codepage): Declare.
9810
0cdffd7d
GM
9811 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9812 Remove unnecessary declarations.
9813 (dframe-message): Doc fix.
9814
9815 * info.el (dframe-select-attached-frame, dframe-current-frame):
9816 Declare.
9817
9818 * speedbar.el (speedbar-message): Make it an obsolete alias.
9819 Update all callers.
9820 (speedbar-with-attached-buffer)
9821 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9822 (speedbar-with-writable): Use backquote.
9823 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9824 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9825 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9826 rather than speedbar- aliases.
9827 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9828 (speedbar-make-specialized-keymap, speedbar-insert-button)
9829 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9830 (speedbar-do-function-pointer): Declare.
9831 (rmail-speedbar-button, rmail-speedbar-find-file)
9832 (rmail-speedbar-move-message):
9833 Use dframe-with-attached-buffer rather than speedbar- alias.
9834 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9835 (dframe-message, speedbar-make-specialized-keymap)
9836 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9837 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9838 (speedbar-insert-button, dframe-select-attached-frame)
9839 (dframe-maybee-jump-to-attached-frame)
9840 (speedbar-change-initial-expansion-list)
9841 (speedbar-previously-used-expansion-list-name): Declare.
9842 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9843 Use dframe-message, dframe-with-attached-buffer rather than
9844 speedbar- aliases.
9845 (gud-sentinel): Silence compiler.
9846 * progmodes/vhdl-mode.el (speedbar-refresh)
9847 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9848 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9849 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9850 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9851 (speedbar-file-lists, speedbar-make-tag-line)
9852 (speedbar-line-directory, speedbar-goto-this-file)
9853 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9854 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9855 (speedbar-make-button, speedbar-reset-scanners)
9856 (speedbar-files-item-info, speedbar-line-text)
9857 (speedbar-find-file-in-frame, speedbar-set-timer)
9858 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9859 (speedbar-with-writable): Do not (re)define it.
9860 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9861 rather than speedbar- alias.
9862
ee44b62a
LL
98632013-05-21 Leo Liu <sdl.web@gmail.com>
9864
9865 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9866 menu items.
9867 (octave-mode): Tweak fill-nobreak-predicate.
9868 (inferior-octave-startup): Check process to avoid infinite loop.
9869 (inferior-octave): Pop to buffer first to show abornmal process
9870 exit information.
9871
640f050f
GM
98722013-05-21 Glenn Morris <rgm@gnu.org>
9873
79458038
GM
9874 * printing.el (pr-menu-bar): Define when compiling.
9875
9cc3e83f
LL
98762013-05-21 Leo Liu <sdl.web@gmail.com>
9877
9878 * progmodes/octave.el (octave-auto-fill): Remove.
9879 (octave-indent-new-comment-line): Improve.
9880 (octave-mode): Use auto fill mode through
4f405069 9881 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9882 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9883 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9884 (octave-help): Show parent directory.
9885
f440830d
GM
98862013-05-21 Glenn Morris <rgm@gnu.org>
9887
9888 * files.el (dired-unmark):
9889 * progmodes/gud.el (gdb-input): Update declarations.
9890
9891 * calculator.el (electric, ehelp): No need to load when compiling.
9892 (Electric-command-loop, electric-describe-mode): Declare.
9893
9894 * doc-view.el (doc-view-current-converter-processes): Move before use.
9895
9896 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9897 Move MODE-set-explicitly definition before use.
9898
9899 * international/mule-diag.el (mule-diag):
9900 Don't use obsolete window-system-version.
9901
9902 * mail/feedmail.el (smtpmail): No need to load when compiling.
9903 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9904
9905 * mail/mail-utils.el (rfc822): No need to load when compiling.
9906 (rfc822-addresses): Autoload it.
9907 (mail-strip-quoted-names): Trivial simplification.
9908
9909 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9910 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9911
9912 * net/snmp-mode.el (tempo): Don't duplicate requires.
9913
9914 * progmodes/prolog.el (info): No need to load when compiling.
9915 (comint): Require before shell requires it.
9916 (Info-goto-node): Autoload it.
9917 (Info-follow-nearest-node): Declare.
9918 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9919
9920 * textmodes/artist.el (picture-mode-exit): Declare.
9921
9922 * textmodes/reftex-parse.el (reftex-parse-from-file):
9923 Trivial rewrite so the compiler can parse it better.
9924
b4da2cbb
LL
99252013-05-20 Leo Liu <sdl.web@gmail.com>
9926
9927 * progmodes/octave.el (octave-help-mode-map)
9928 (octave-help-mode-finish-hook): New variables.
9929 (octave-help-mode, octave-help-mode-finish): New functions.
9930 (octave-help): Use octave-help-mode.
9931
33c0f65b
GM
99322013-05-20 Glenn Morris <rgm@gnu.org>
9933
9934 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9935
1a0a0a8a
DG
99362013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9937
9938 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9939 start at point, so that expansion starting right after opening
9940 slash in a regexp is recognized.
9941 (ruby-syntax-before-regexp-re): New defvar, extracted from
9942 ruby-syntax-propertize-function. Since the value of this regexp
9943 is looked up at runtime now, we should be able to turn
9944 `ruby-syntax-methods-before-regexp' into a defcustom later.
9945 (ruby-syntax-propertize-function): Split regexp matching into two
9946 parts, for opening and closing slashes. That allows us to skip
9947 over string interpolations and support multiline regexps.
9948 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9949 for them, which calls `ruby-syntax-propertize-expansion'.
9950 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9951 call to `ruby-syntax-propertize-function'.
9952 (ruby-syntax-propertize-expansion): Extracted from
9953 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9954 (ruby-syntax-propertize-percent-literal): Leave point right after
9955 the percent symbol, so that the expression expansion rule can
9956 propertize the contents.
462388b6
DG
9957 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9958 heredoc openers.
9959 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9960
c1a6c0a4
JL
99612013-05-18 Juri Linkov <juri@jurta.org>
9962
9963 * man.el (Man-default-man-entry): Remove `-' from the end
9964 of the default value. (Bug#14400)
9965
8051fccd
GM
99662013-05-18 Glenn Morris <rgm@gnu.org>
9967
9968 * comint.el (comint-password-prompt-regexp):
9969 Allow "password for XXX" where XXX contains colons (eg https://...).
9970
5e80b74f
LL
99712013-05-18 Leo Liu <sdl.web@gmail.com>
9972
9973 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9974 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9975 (octave-source-directories): Don't check process.
9976 (octave-source-directories, octave-find-definition): Doc fix.
9977
521a54c5
GM
99782013-05-18 Glenn Morris <rgm@gnu.org>
9979
86a94b05
GM
9980 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9981 Remove backspace/delete bindings. (Bug#14392)
9982
521a54c5
GM
9983 * cus-dep.el (custom-make-dependencies): Sort the output.
9984 (custom-versions-load-alist): Convert comment to doc.
9985
42caeb89
LL
99862013-05-17 Leo Liu <sdl.web@gmail.com>
9987
9988 * newcomment.el (comment-search-backward): Stricter in finding
9989 comment start. (Bug#14303)
9990
9991 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9992 (octave-comment-start-skip): Properly anchored.
9993
e219dd97
LL
99942013-05-17 Leo Liu <sdl.web@gmail.com>
9995
fe1eb856
RS
9996 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9997 Clean up when turned off. (Bug#14395)
e219dd97
LL
9998 (smie--highlight-matching-block-overlay): No longer buffer-local.
9999 (smie-highlight-matching-block): Adjust.
10000
dc5dcb4b
PE
100012013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10002
10003 Doc string fix for "nanoseconds" (Bug#14406).
10004 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10005 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10006
1db165f0
JB
100072013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10008
10009 * calc/calc-units.el (math-extract-units): Preserve powers
10010 of units.
10011
c7a8fcac
LL
100122013-05-17 Leo Liu <sdl.web@gmail.com>
10013
10014 * subr.el (delete-consecutive-dups): New function.
10015 * ido.el (ido-set-matches-1): Use it.
10016 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10017 * ido.el (ido-remove-consecutive-dups): Remove.
10018
f678b18a
SM
100192013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10022 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10023 regexp-opt's `words'.
10024
ebfe68e8
LL
100252013-05-16 Leo Liu <sdl.web@gmail.com>
10026
10027 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10028 (smie--highlight-matching-block-overlay)
10029 (smie--highlight-matching-block-lastpos)
10030 (smie--highlight-matching-block-timer): New variables.
10031 (smie-highlight-matching-block): New function.
10032 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10033 (smie-setup): Conditionally enable smie-blink-matching-open.
10034
bc8bc17d
WS
100352013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10036
10037 Sync with upstream verilog-mode r840.
10038 * progmodes/verilog-mode.el (verilog-mode-version)
10039 (verilog-mode-release-date): Update.
10040 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10041 (verilog-sig-tieoff): Fix string error on
10042 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10043 (verilog-read-decls): Fix parameters confusing
10044 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10045
df065a0b
EZ
100462013-05-16 Eli Zaretskii <eliz@gnu.org>
10047
10048 * subr.el (reveal-filename): New function.
10049
10050 * loadup.el: Compute Emacs executable versions on MS-Windows,
10051 where executables have the .exe extension. Add a hard link
10052 emacs-XX.YY.ZZ.exe on MS-Windows.
10053
10054 * Makefile.in (XARGS_LIMIT): New variable.
10055 (custom-deps, finder-data, autoloads)
10056 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10057 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10058 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10059 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10060
2d4bf34b
LL
100612013-05-16 Leo Liu <sdl.web@gmail.com>
10062
10063 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10064 (octave-mode-menu, octave-mode-map): Remove its uses.
10065
6b9c2d85
RZ
100662013-05-16 Reto Zimmermann <reto@gnu.org>
10067
10068 Sync with upstream vhdl mode v3.34.2.
10069 * progmodes/vhdl-mode.el: Use `push' throughout.
10070 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10071 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10072 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10073 (vhdl-actual-generic-name): New option to derive actual generic name.
10074 (vhdl-port-paste-signals): Replace formal by actual generics.
10075 (vhdl-beautify): New name for old group vhdl-align. Update users.
10076 (vhdl-beautify-options): New option.
10077 (vhdl-last-input-event): New compat alias. Use throughout.
10078 (vhdl-goto-line): Replace user level function `goto-line'.
10079 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10080 vhdl-fix-statement-buffer.
10081 (vhdl-create-mode-menu): Add some entries.
10082 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10083 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10084 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10085 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10086 to force statements on one line.
10087 (vhdl-remove-trailing-spaces-region):
10088 New, split from vhdl-remove-trailing-spaces.
10089 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10090 Respect vhdl-beautify-options.
10091 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10092 (vhdl-update-sensitivity-list): Not add with index if exists without.
10093 Not include array index with signal. Ignore keywords in comments.
10094 (vhdl-get-visible-signals): Regexp tweaks.
10095 (vhdl-template-component-inst): Handle empty library.
10096 (vhdl-template-type): Add template for 'enum' type.
10097 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10098 Use vhdl-replace-string.
10099 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10100 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10101 (vhdl-speedbar-initialize): Update for above name change.
10102 (vhdl-compose-wire-components): Fix in handling of constants.
10103 (vhdl-error-regexp-emacs-alist): New variable.
10104 (vhdl-error-regexp-add-emacs): New function;
10105 adds support for new compile.el (Emacs 22+)
10106 (vhdl-generate-makefile-1): Change target order for single lib. units.
10107 Allow use of absolute file names.
10108
9df4ec5e
LL
101092013-05-16 Leo Liu <sdl.web@gmail.com>
10110
10111 * simple.el (prog-indent-sexp): Indent enclosing defun.
10112
f5ba00a6
GM
101132013-05-15 Glenn Morris <rgm@gnu.org>
10114
ed8be7ff
GM
10115 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10116 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10117 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10118 (whitespace-highlight): Move to whitespace group.
10119
10120 * comint.el (comint-source):
10121 * pcmpl-linux.el (pcmpl-linux):
10122 * shell.el (shell-faces):
10123 * eshell/esh-opt.el (eshell-opt):
10124 * international/ccl.el (ccl): Remove empty custom groups.
10125
10126 * completion.el (dynamic-completion-mode):
10127 * jit-lock.el (jit-lock-debug-mode):
10128 * minibuffer.el (completion-in-region-mode):
10129 * type-break.el (type-break-mode-line-message-mode)
10130 (type-break-query-mode):
10131 * emulation/tpu-edt.el (tpu-edt-mode):
10132 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10133 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10134 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10135
10136 * term/xterm.el (xterm): Change parent group to terminals.
10137
10138 * master.el (master): Remove empty custom group.
10139 (master-mode): Remove unused :group argument.
10140 * textmodes/refill.el (refill): Remove empty custom group.
10141 (refill-mode): Remove unused :group argument.
10142
10143 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10144
82a7c41b
GM
10145 * cus-dep.el: Provide a feature.
10146 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10147 Don't mistakenly ignore files whose basenames match a basename
10148 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10149 Add a fallback method for getting :group.
f5ba00a6 10150
6d65486d
JL
101512013-05-15 Juri Linkov <juri@jurta.org>
10152
da547b32
JL
10153 * isearch.el (isearch-char-by-name): Rename from
10154 `isearch-insert-char-by-name'. Doc fix.
10155 (isearch-forward): Mention `isearch-char-by-name' in
10156 the docstring. (Bug#13348)
10157
6d65486d
JL
10158 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10159 `exit-minibuffer' instead of
10160 `isearch-nonincremental-exit-minibuffer'.
10161 (isearch-edit-string): Remove mention of
10162 `isearch-nonincremental-exit-minibuffer' from docstring.
10163 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10164 (isearch-forward-exit-minibuffer)
10165 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10166
c9990474
SM
101672013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10168
6e911150
SM
10169 * loadup.el: Just use unversioned DOC.
10170
c9990474
SM
10171 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10172 literals as extending to EOB.
10173 (nxml-last-fontify-end): Remove unused variable.
10174 (nxml-after-change1): Use with-silent-modifications.
10175 (nxml-extend-after-change-region): Simplify.
10176 (nxml-extend-after-change-region1): Remove function.
10177 (nxml-after-change1): Don't adjust for dependent regions.
10178 (nxml-fontify-matcher): Simplify.
10179 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10180 (xmltok-add-dependent): Remove function.
10181 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10182 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10183 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10184 unclosed <[[, <?, comment, and other literals as extending to EOB.
10185 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10186 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10187 Remove functions.
10188 (rng-do-some-validation-1): Don't mark dependent regions.
10189 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10190 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10191 (nxml-clear-dependent-regions): Remove functions.
10192 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10193 (nxml-ensure-scan-up-to-date):
10194 Don't clear&mark dependent regions.
10195
e3772e98
LL
101962013-05-15 Leo Liu <sdl.web@gmail.com>
10197
c9990474
SM
10198 * progmodes/octave.el (octave-goto-function-definition):
10199 Improve and fix callers.
e3772e98 10200
5ac2eb34
SM
102012013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10202
c46c57b0
SM
10203 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10204 the setter (bug#14387).
10205
5ac2eb34
SM
10206 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10207 surrounding group (bug#14402).
10208
180ed218
JL
102092013-05-14 Juri Linkov <juri@jurta.org>
10210
10211 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10212 (Bug#14390)
10213
0ac0fecb
GM
102142013-05-14 Glenn Morris <rgm@gnu.org>
10215
10216 * progmodes/f90.el (f90-imenu-generic-expression):
10217 Fix typo in 2013-05-08 change. (Bug#14402)
10218
2e78e6a7
JPG
102192013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10220
5ac2eb34
SM
10221 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10222 Remove signals for which replies are never received.
2e78e6a7 10223
53267cca
JPG
102242013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10225
10226 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10227 (gdb-handler-alist, gdb-handler-number): Remove variables.
10228 (gdb-handler-list): New variable.
10229 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10230 (gdb-pending-handler-p, gdb-handle-reply)
10231 (gdb-remove-all-pending-triggers): New functions.
10232 (gdb-discard-unordered-replies): New defcustom.
10233 (gdb-handler): New defstruct.
10234 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10235 instead of gdb-pending-triggers. Update docstring.
10236 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10237 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10238 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10239 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10240 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10241 (gdb-frame-handler): Pending triggers are now automatically managed.
10242 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10243 Remove argument.
10244 (gdb-input): Automatically handles pending triggers. Update docstring.
10245 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10246 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10247 Update comments.
10248 (gdb-done-or-error): Now use gdb-handle-reply.
10249
d04ce803
JPG
102502013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10251
10252 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10253 gdb-debug-log.
10254
0114073a
GM
102552013-05-14 Glenn Morris <rgm@gnu.org>
10256
10257 * subr.el (user-emacs-directory-warning): New option.
10258 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10259
4d25fd7e
LL
102602013-05-14 Leo Liu <sdl.web@gmail.com>
10261
10262 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10263 during redisplay.
10264 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10265 (octave-font-lock-texinfo-comment): Fix invalid search bound
10266 error: wrong side of point.
4d25fd7e 10267
27c8b6eb
GM
102682013-05-14 Glenn Morris <rgm@gnu.org>
10269
61aaeb01
GM
10270 * progmodes/flymake.el (flymake-xml-program): New option.
10271 (flymake-xml-init): Use it.
10272
5bf90bc5
GM
10273 * term/xterm.el: Provide a feature.
10274
10275 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10276
f4c7dfd2
GM
102772013-05-13 Glenn Morris <rgm@gnu.org>
10278
10279 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10280 Add compat aliases as a hack workaround. (Bug#14384)
10281
2aeb3a1d
LL
102822013-05-13 Leo Liu <sdl.web@gmail.com>
10283
b0e069c2
LL
10284 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10285 ###, and %!.
f5a9432f
LL
10286 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10287 C-M-q.
b0e069c2
LL
10288 (octave-comment-start-skip): Include %!.
10289 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10290
30ea8374
LL
102912013-05-12 Leo Liu <sdl.web@gmail.com>
10292
10293 * progmodes/octave.el (inferior-octave-startup): Store the value
10294 of __octave_srcdir__ for octave-source-directories.
10295 (inferior-octave-check-process): New function refactored out of
10296 inferior-octave-send-list-and-digest.
10297 (octave-source-directories)
10298 (octave-find-definition-filename-function): New variables.
10299 (octave-source-directories)
10300 (octave-find-definition-default-filename): New functions.
10301 (octave-find-definition): Improve to find functions implemented in C++.
10302
472a3834
GM
103032013-05-12 Glenn Morris <rgm@gnu.org>
10304
10305 * calendar/diary-lib.el (diary-outlook-format-1):
10306 Don't include dayname in the output. (Bug#14349)
10307
3191b52f
GM
103082013-05-11 Glenn Morris <rgm@gnu.org>
10309
0060ac73
GM
10310 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10311
3191b52f
GM
10312 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10313 Treat cc-provide like provide.
10314
e065ba74
KR
103152013-05-11 Kevin Ryde <user42@zip.com.au>
10316
10317 * cus-dep.el (custom-make-dependencies):
10318 Use generated-autoload-load-name for the sake of files such
10319 such cedet/semantic/bovine/c.el, where the base file name
10320 is not in load-path. (Bug#5277)
10321
36f84c37
GM
103222013-05-11 Glenn Morris <rgm@gnu.org>
10323
10324 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10325 Provide features.
10326
c8730c3a
LL
103272013-05-11 Leo Liu <sdl.web@gmail.com>
10328
10329 * progmodes/octave.el (octave-indent-comment): Improve.
10330 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10331 (octave-eldoc-function-signatures, octave-eldoc-function):
10332 New functions.
c8730c3a
LL
10333 (octave-mode, inferior-octave-mode): Add eldoc support.
10334
212e29f2
RS
103352013-05-11 Richard Stallman <rms@gnu.org>
10336
10337 * epa.el (epa-decrypt-file): Take output file name as argument
10338 and read it using `interactive'.
10339
083fe0d7
LL
103402013-05-11 Leo Liu <sdl.web@gmail.com>
10341
10342 * progmodes/octave.el (octave-beginning-of-line)
10343 (octave-end-of-line): Check before using up-list because it jumps
10344 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10345 (octave-indent-comment): New function.
10346 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10347 (octave-begin-keywords, octave-end-keywords)
10348 (octave-reserved-words, octave-smie-bnf-table)
10349 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10350
8582e4c4
GM
103512013-05-11 Glenn Morris <rgm@gnu.org>
10352
f20def1f
GM
10353 * faces.el (internal-face-x-get-resource):
10354 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10355 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10356 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10357 Fix declarations.
f20def1f 10358
445f95e2
GM
10359 * calc/calc-menu.el: Make it loadable in isolation.
10360
10361 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10362 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10363 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10364 (eudc-bbdb-query-internal): Require 'bbdb.
10365
99fb2756
GM
10366 * lpr.el (lpr-headers-switches):
10367 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10368
10369 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10370
0da7ad96
GM
10371 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10372
8582e4c4
GM
10373 * term.el (term-set-escape-char): Make it idempotent.
10374
f71c50d0
LL
103752013-05-10 Leo Liu <sdl.web@gmail.com>
10376
5ac2eb34
SM
10377 * progmodes/octave.el (inferior-octave-completion-table):
10378 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10379 completion due to bug#11906.
10380 (octave-beginning-of-defun): Re-write to be more general.
10381
d5837773
GM
103822013-05-10 Glenn Morris <rgm@gnu.org>
10383
10384 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10385
027c0f75
SM
103862013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10387
10388 * comint.el (comint-redirect-send-command-to-process): Use :around
10389 rather than :override for comint-redirect-filter.
10390 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10391 Call it instead of comint-redirect-original-filter-function (which
10392 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10393
4465bfb4
JD
103942013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10395
10396 * frame.el (display-monitor-attributes-list): Add NS case.
10397 (ns-display-monitor-attributes-list): Declare.
10398
2d809ffa 103992013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10400
10401 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10402
e54eeb9b
GM
104032013-05-09 Glenn Morris <rgm@gnu.org>
10404
56cd351d
GM
10405 * international/fontset.el (vertical-centering-font-regexp):
10406 Set standard-value.
10407
d84b6108
GM
10408 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10409
a931698a
GM
10410 * bookmark.el (bookmark-search-delay):
10411 * cus-start.el (vertical-centering-font-regexp):
10412 * ps-mule.el (ps-mule-font-info-database-default):
10413 * ps-print.el (ps-default-fg, ps-default-bg):
10414 * type-break.el (type-break-good-break-interval):
10415 * whitespace.el (whitespace-indentation-regexp)
10416 (whitespace-space-after-tab-regexp):
10417 * emacs-lisp/testcover.el (testcover-1value-functions)
10418 (testcover-noreturn-functions, testcover-progn-functions)
10419 (testcover-prog1-functions):
10420 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10421 * eshell/em-glob.el (eshell-glob-translate-alist):
10422 * play/tetris.el (tetris-tty-colors):
10423 * progmodes/cpp.el (cpp-face-default-list):
10424 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10425 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10426 (idlwave-help-browser-generic-args):
10427 * progmodes/make-mode.el (makefile-special-targets-list):
10428 * progmodes/python.el (python-shell-virtualenv-path):
10429 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10430 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10431 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10432 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10433 * textmodes/reftex-vars.el (reftex-format-label-function):
10434 * textmodes/remember.el (remember-diary-file): Fix custom types.
10435
e54eeb9b
GM
10436 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10437 Add :version.
10438
455851dd
LL
104392013-05-09 Leo Liu <sdl.web@gmail.com>
10440
10441 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10442 Restore file completion. (Bug#14300)
455851dd
LL
10443 (inferior-octave-startup): Fix incorrect highlighting for the
10444 first prompt.
10445
a9e4425b
SM
104462013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 * progmodes/ruby-mode.el: First cut at SMIE support.
10449 (ruby-use-smie): New var.
10450 (ruby-smie-grammar): New constant.
10451 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10452 (ruby-smie--forward-token, ruby-smie--backward-token)
10453 (ruby-smie-rules): New functions.
10454 (ruby-mode-variables): Setup SMIE if applicable.
10455
060ca408
EZ
104562013-05-08 Eli Zaretskii <eliz@gnu.org>
10457
10458 * simple.el (line-move-visual): Signal beginning/end of buffer
10459 only if vertical-motion moved less than it was requested. Avoids
10460 silly incorrect error messages when there are display strings with
10461 multiple newlines at EOL.
10462
1d5963cc
SM
104632013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10464
10465 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10466 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10467 (prolog-char-quote-workaround):
10468 * progmodes/cperl-mode.el (cperl-under-as-char):
10469 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10470 Mark as obsolete.
10471 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10472 their declaration.
10473 (vhdl-mode-syntax-table-init): Remove.
10474
c9990474
SM
10475 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10476 last change.
1d5963cc
SM
10477
10478 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10479 syntax for "_".
10480 (ld-script-font-lock-keywords):
10481 Change regexps to use things like \_< and \_>.
10482
10483 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10484 Change all regexps to use things like \_< and \_>.
10485
10486 * progmodes/autoconf.el (autoconf-definition-regexp)
10487 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10488 Handle a _ with symbol syntax.
10489 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10490
c9990474
SM
10491 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10492 Consolidate declaration.
1d5963cc
SM
10493 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10494 the declaration.
10495 (ada-create-syntax-table): Remove.
10496 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10497 already has the right syntax nowadays.
10498 (ada-goto-next-word): Don't change the syntax of "_".
10499
10500 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10501 with-wrapper-hook.
10502
72d3cfca
SS
105032013-05-08 Sam Steingold <sds@gnu.org>
10504
10505 * thingatpt.el (thing-at-point): Accept optional second argument
10506 NO-PROPERTIES to strip the text properties from the return value.
10507 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10508 to `thing-at-point' instead of stripping the properties ourselves.
10509 Also, when `thing-at-point' fails to find a url, prepend "http://"
10510 to the filename at point on the assumption that the user is
10511 pointing at something like gnu.org/gnu.
10512
5cb15713
JB
105132013-05-08 Juanma Barranquero <lekktu@gmail.com>
10514
10515 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10516 * faces.el (crm-separator):
10517 Silence byte-compiler.
10518
10519 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10520 (tool-bar-map): Remove unneeded defvars.
10521
ea78b95b
LL
105222013-05-08 Leo Liu <sdl.web@gmail.com>
10523
10524 Re-work a fix for bug#10994 based on Le Wang's patch.
10525 * ido.el (ido-remove-consecutive-dups): New helper.
10526 (ido-completing-read): Use it.
10527 (ido-chop): Revert fix for bug#10994.
10528
dc7466df
AS
105292013-05-08 Adam Spiers <emacs@adamspiers.org>
10530
10531 * cus-edit.el (custom-save-variables):
10532 Pretty-print long values. (Bug#14187)
10533
9ecf672a
GM
105342013-05-08 Glenn Morris <rgm@gnu.org>
10535
10536 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10537 (m4-mode-syntax-table): Init in the defvar.
10538 (m4-mode-abbrev-table): Let define-derived-mode define it.
10539
3f555be8
TT
105402013-05-08 Tom Tromey <tromey@redhat.com>
10541
10542 * progmodes/m4-mode.el (m4-mode-syntax-table):
10543 Do not treat "_" as word constituent. (Bug#14167)
10544
7cc8ae06
GM
105452013-05-07 Glenn Morris <rgm@gnu.org>
10546
4f58bc06
GM
10547 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10548 Remove explicit eshell-isearch-cancel-map.
10549
7cc8ae06
GM
10550 * progmodes/f90.el (f90-smart-end-names): New option.
10551 (f90-smart-end): Doc fix.
10552 (f90-end-block-optional-name): New constant.
10553 (f90-block-match): Respect f90-smart-end-names.
10554
ceb57e59
SM
105552013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10556
10557 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10558 about implicit semi-colons (bug#14218).
10559
4e3f9230
YM
105602013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10561
10562 * frame.el (display-monitor-attributes-list)
10563 (frame-monitor-attributes): New functions.
10564
203a5572
LL
105652013-05-06 Leo Liu <sdl.web@gmail.com>
10566
10567 * progmodes/octave.el (octave-syntax-propertize-function): Change
10568 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10569 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10570 (octave-completion-at-point): Rename from
203a5572
LL
10571 octave-completion-at-point-function.
10572 (inferior-octave-directory-tracker): Robustify.
10573 (octave-text-functions): Remove and fix its uses. No such things
10574 any more.
10575
ee6cff99
SM
105762013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10577
10578 * emacs-lisp/trace.el (trace--display-buffer): New function.
10579 (trace-make-advice): Use it.
10580
32985194
JL
105812013-05-06 Juri Linkov <juri@jurta.org>
10582
10583 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10584 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10585 Doc fix.
10586 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10587 in the help string. (Bug#12985)
10588
a1c700de
KD
105892013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10590
10591 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10592
c67c0839
SM
105932013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10594
323885fd
SM
10595 * progmodes/perl-mode.el: Add support for here documents.
10596 (perl-syntax-propertize-function): Match here-doc markers.
10597 (perl-syntax-propertize-special-constructs): Find their end.
10598 (perl-imenu-generic-expression): Use [:alnum:].
10599
c67c0839
SM
10600 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10601 (advice--add-function): Refresh the advice if already present
10602 (bug#14317).
10603
d491e7a8
IA
106042013-05-06 Ivan Andrus <darthandrus@gmail.com>
10605
10606 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10607
ddf9925e
GM
106082013-05-06 Glenn Morris <rgm@gnu.org>
10609
7cc3af27
GM
10610 * w32-fns.el (w32-charset-info-alist): Declare.
10611
16e343d6
GM
10612 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10613 of its defcustom properties.
10614 (eshell-cmpl-initialize): No need to load pcomplete.
10615
7d889a47
GM
10616 * generic-x.el: No need to require comint when compiling.
10617
ddf9925e
GM
10618 * net/eudc-export.el: Make it loadable without bbdb.
10619 (top-level): Use require rather than load-library.
10620 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10621 (eudc-batch-export-records-to-bbdb)
10622 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10623 Require bbdb.
10624
1e2c18df
SM
106252013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10626
10627 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10628 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10629 some tweaks, instead.
10630
02502a5f
LL
106312013-05-05 Leo Liu <sdl.web@gmail.com>
10632
10633 * progmodes/octave.el (octave-font-lock-keywords)
10634 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10635 (inferior-octave-send-list-and-digest): Improve error message.
10636 (octave-mode, inferior-octave-mode): Use setq-local.
10637 (octave-help): Set info-lookup-mode.
10638
0dc04f42
RS
106392013-05-05 Richard Stallman <rms@gnu.org>
10640
6c54491c
RS
10641 * vc/compare-w.el (compare-windows-whitespace):
10642 Treat no-break space as whitespace.
10643
0dc04f42
RS
10644 * mail/rmailsum.el (rmail-summary-rmail-update):
10645 Detect empty summary and don't change selected message.
10646 (rmail-summary-goto-msg): Likewise.
10647
df8f35df
RS
10648 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10649 Doc fixes, rename args.
10650
5356e1a3
AM
106512013-05-05 Alan Mackenzie <acm@muc.de>
10652
10653 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10654
d44014cb
JL
106552013-05-05 Juri Linkov <juri@jurta.org>
10656
10657 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10658 to not add the length of the summary segment to the return value.
10659 (Bug#14125)
10660
c129b51f
LL
106612013-05-05 Leo Liu <sdl.web@gmail.com>
10662
10663 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10664 (inferior-octave-output-filter): Remove.
10665 (octave-send-region, inferior-octave-startup): Fix callers.
10666 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10667 (octave-binary-file-extensions): New user variable.
10668 (octave-find-definition): Confirm if opening binary files.
10669 (octave-help-file): Use octave-find-definition to get the binary
10670 confirmation.
10671 (octave-help): Adjust for octave-help-file change.
10672
aa7dab97
SM
106732013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10674
10675 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10676 Merge the two entries that handle function definitions.
10677 (pascal--syntax-propertize): New const.
10678 (pascal-mode): Use it. Use setq-local.
10679
fd3a9a6b
GM
106802013-05-04 Glenn Morris <rgm@gnu.org>
10681
10682 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10683 (diary-from-outlook): Respect diary-from-outlook-function.
10684
30c7e542
SM
106852013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10686
10687 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10688 Move the declaration from C.
10689 (read-minibuffer, eval-minibuffer): Move from C.
10690 (completion-setup-function): Avoid minibuffer-completion-contents.
10691
b54f978b
LL
106922013-05-03 Leo Liu <sdl.web@gmail.com>
10693
10694 * progmodes/octave.el (octave-font-lock-keywords): Do not
10695 dehighlight 'end' in comments or strings.
30c7e542
SM
10696 (octave-completing-read, octave-goto-function-definition):
10697 New helpers.
d4d0f9b3
LL
10698 (octave-help-buffer): New user variable.
10699 (octave-help-file, octave-help-function): New button types.
10700 (octave-help): New command and bind it to C-h ;.
10701 (octave-find-definition): New command and bind it to M-.
d74a1581 10702 (user-error): Alias to error if not defined.
b54f978b 10703
27135018
LL
107042013-05-02 Leo Liu <sdl.web@gmail.com>
10705
10706 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10707 for \. (bug#14332)
10708 (octave-font-lock-keywords): Include [ and {.
10709
0d634d3a
LL
107102013-05-02 Leo Liu <sdl.web@gmail.com>
10711
10712 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10713 (inferior-octave): Remove calling comint-mode and return the buffer.
10714 (inferior-octave-startup): Cosmetic changes.
10715
b4c8295e
LL
107162013-05-02 Leo Liu <sdl.web@gmail.com>
10717
30c7e542
SM
10718 * progmodes/octave.el (octave-syntax-propertize-function):
10719 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10720
f12ad6ec
GM
107212013-05-02 Glenn Morris <rgm@gnu.org>
10722
10723 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10724 * desktop.el (vc-dir-mode): Just autoload it here.
10725
30cac1e0
AM
107262013-05-02 Alan Mackenzie <acm@muc.de>
10727
10728 Eliminate variable c-standard-font-lock-fontify-region-function.
10729 * progmodes/cc-mode.el
10730 (c-standard-font-lock-fontify-region-function): Remove.
10731 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10732
d8ef28b1
LL
107332013-05-01 Leo Liu <sdl.web@gmail.com>
10734
2640d52e 10735 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10736 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10737 variables were removed from Octave in 2007.
d8ef28b1
LL
10738 (inferior-octave-startup): Fix uses.
10739 (comint-line-beginning-position): Remove compatibility code for
10740 emacs 21.
10741
ac63ec89
JL
107422013-05-01 Juri Linkov <juri@jurta.org>
10743
10744 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10745
9e9be37c
JL
107462013-05-01 Juri Linkov <juri@jurta.org>
10747
10748 * comint.el (comint-previous-matching-input): Don't print message
10749 "History item: %d" when `isearch-mode' is active.
10750 (comint-history-isearch-message): Print message "History item: %d"
10751 when `comint-input-ring-index' is not empty and this function is
10752 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10753
9b92c13b
LL
107542013-05-01 Leo Liu <sdl.web@gmail.com>
10755
10756 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10757 definitions. Use completion-at-point to insert keywords.
10758 (octave-abbrev-start): Remove.
10759 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10760
b12d33d7
LL
107612013-04-30 Leo Liu <sdl.web@gmail.com>
10762
10763 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10764 change.
10765
3d1c39fa
AM
107662013-04-30 Alan Mackenzie <acm@muc.de>
10767
10768 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10769 * progmodes/cc-engine.el (c-back-over-member-initializers):
10770 new function.
3d1c39fa
AM
10771 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10772 (most) member init lists.
10773
5147fc17
RS
107742013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10775
10776 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10777 variable.
10778
5b78d7fc
LL
107792013-04-30 Leo Liu <sdl.web@gmail.com>
10780
10781 * progmodes/octave.el (octave-variables): Remove. No builtin
10782 variables any more. All converted to functions.
10783 (octave-font-lock-keywords, octave-completion-at-point-function):
10784 Fix uses.
10785 (octave-font-lock-texinfo-comment): New user variable.
10786 (octave-texinfo-font-lock-keywords): New variable for texinfo
10787 comment block.
10788 (octave-function-comment-block): New face.
10789 (octave-font-lock-texinfo-comment): New function.
10790 (octave-mode): Font lock texinfo comment block.
10791
38d8527b
LL
107922013-04-29 Leo Liu <sdl.web@gmail.com>
10793
10794 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10795 indexing expression.
10796 (octave-continuation-string): Do not use \.
10797 (inferior-octave-complete-impossible): Remove.
10798 (inferior-octave-completion-table)
10799 (inferior-octave-completion-at-point): Remove its uses.
10800 (inferior-octave-startup): completion_matches was introduced to
10801 Octave in 1996 so safe to assume it.
10802 (octave-function-file-comment): Improve to follow how Octave does it.
10803 (octave-update-function-file-comment): Tweak.
10804
2ec12cb0
LL
108052013-04-29 Leo Liu <sdl.web@gmail.com>
10806
10807 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10808 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10809 (octave-function-file-comment): Fix typo.
10810 (octave-sync-function-file-names): Use read-char-choice.
10811
6eaed048
JB
108122013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10813
10814 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10815 to t for the less important warnings.
10816
3ffa2d4f
DH
108172013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10818
10819 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10820
685c9501
GM
108212013-04-27 Glenn Morris <rgm@gnu.org>
10822
10823 * vc/log-view.el (log-view-current-entry):
10824 Treat "---" separator lines as part of the following rev. (Bug#14169)
10825
0208ede7
JL
108262013-04-27 Juri Linkov <juri@jurta.org>
10827
10828 * subr.el (read-number): Doc fix about using it by interactive
10829 code letter `n'. (Bug#14254)
10830
5db9dace
JL
108312013-04-27 Juri Linkov <juri@jurta.org>
10832
10833 * desktop.el (desktop-auto-save-timeout): New option.
10834 (desktop-file-checksum): New variable.
10835 (desktop-save): Add optional arg `auto-save' and don't auto-save
10836 if nothing changed.
10837 (desktop-auto-save-timer): New variable.
10838 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10839 (after-init-hook): Call `desktop-auto-save-set-timer'.
10840 Suggested by Reuben Thomas <rrt@sc3d.org> in
10841 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10842
b7260dd4
LL
108432013-04-27 Leo Liu <sdl.web@gmail.com>
10844
10845 * progmodes/octave.el (octave-function-file-p)
10846 (octave-skip-comment-forward, octave-function-file-comment)
10847 (octave-update-function-file-comment): New functions.
10848 (octave-mode-map): Bind C-c ; to
10849 octave-update-function-file-comment.
10850 (octave-mode-menu): Add octave-update-function-file-comment.
10851 (octave-mode, inferior-octave-mode): Fix doc-string.
10852 (octave-insert-defun): Conform to Octave's coding convention.
10853 (Bug#14285)
10854
10855 * files.el (basic-save-buffer): Don't let errors in
10856 before-save-hook prevent saving buffer.
10857
c46da669
RW
108582013-04-20 Roland Winkler <winkler@gnu.org>
10859
10860 * faces.el (read-face-name): Use completing-read if arg multiple
10861 is nil.
10862
a81ee1eb
IL
108632013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10864
10865 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10866 displayed, move point to after the totals line.
10867 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10868 for the details.
10869
4fac34ce
SM
108702013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10873 Add current dir to the load-path.
10874 (package-generate-autoloads): Don't rely on
10875 autoload-ensure-default-file.
10876
f6bfc063
RT
108772013-04-26 Reuben Thomas <rrt@sc3d.org>
10878
d40ab5cf
BG
10879 * textmodes/remember.el (remember-store-in-files): Document that
10880 the file name format is passed to `format-time-string'.
f6bfc063 10881
e55d3b04
LL
108822013-04-26 Leo Liu <sdl.web@gmail.com>
10883
10884 * progmodes/octave.el (octave-sync-function-file-names): New function.
10885 (octave-mode): Use it in before-save-hook.
10886
e53052d3
SM
108872013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10888
140ef50c
SM
10889 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10890 (bug#14274).
10891
e53052d3
SM
10892 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10893 \n and comment, even if it's not an implicit ; (bug#14218).
10894
af80458d 108952013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10896
10897 * subr.el (read-number): Once more use `read' rather than
10898 `string-to-number', to trap non-numeric input. (Bug#14254)
10899
af80458d 109002013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10901
10902 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10903 Use `syntax-multiline' text property consistently instead of
8a621d53 10904 `font-lock-multiline'. (Bug#14237)
70203c2e 10905
e6ea1f6c
GM
109062013-04-26 Glenn Morris <rgm@gnu.org>
10907
10908 * emacs-lisp/shadow.el (list-load-path-shadows):
10909 No longer necessary to check for duplicate simple.el, since
10910 2012-07-07 change to init_lread to not include installation lisp
10911 directories in load-path when running uninstalled. (Bug#14270)
10912
070ccca4
LL
109132013-04-26 Leo Liu <sdl.web@gmail.com>
10914
10915 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10916 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10917 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10918 octave-in-string-or-comment-p.
10919 (octave-in-comment-p, octave-in-string-p)
10920 (octave-in-string-or-comment-p): Replace defsubst with defun.
10921
9d1c5fb6
PE
109222013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10923
10924 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10925
c034abda
BG
109262013-04-25 Bastien Guerry <bzg@gnu.org>
10927
10928 * textmodes/remember.el (remember-data-directory)
10929 (remember-directory-file-name-format): Fix custom types.
10930
584ea277
LL
109312013-04-25 Leo Liu <sdl.web@gmail.com>
10932
e53052d3
SM
10933 * progmodes/octave.el (octave-completion-at-point-function):
10934 Make use of inferior octave process.
584ea277
LL
10935 (octave-initialize-completions): Remove.
10936 (inferior-octave-completion-table): New function.
10937 (inferior-octave-completion-at-point): Use it.
10938 (octave-completion-alist): Remove.
10939
1693b06a
SM
109402013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10941
10942 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10943 (opascal-mode-syntax-table): New var.
10944 (opascal-literal-kind, opascal-is-literal-end)
10945 (opascal-literal-token-at): Rewrite.
10946 (opascal--literal-start-re, opascal-font-lock-keywords)
10947 (opascal--syntax-propertize): New constants.
10948 (opascal-font-lock-defaults): Adjust.
10949 (opascal-mode): Use them. Set comment-<foo> variables as well.
10950 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10951 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10952 (delphi-other-face, opascal-other-face): Remove face variables.
10953 (opascal-save-state): Remove macro.
10954 (opascal-fontifying-progress-step): Remove constant.
10955 (opascal--ignore-changes): Remove var.
10956 (opascal-set-token-property, opascal-parse-next-literal)
10957 (opascal-is-stable-literal, opascal-complete-literal)
10958 (opascal-is-literal-start, opascal-face-of)
10959 (opascal-parse-region, opascal-parse-region-until-stable)
10960 (opascal-fontify-region, opascal-after-change)
10961 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10962 (opascal-debug-parse-region, opascal-debug-parse-window)
10963 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10964 (opascal-debug-fontify-buffer): Remove.
10965 (opascal-debug-mode-map): Adjust accordingly.
10966
be64c05d
LL
109672013-04-25 Leo Liu <sdl.web@gmail.com>
10968
10969 Merge octave-mod.el and octave-inf.el into octave.el with some
10970 cleanups.
10971 * progmodes/octave.el: New file renamed from octave-mod.el.
10972 * progmodes/octave-inf.el: Merged into octave.el.
10973 * progmodes/octave-mod.el: Renamed to octave.el.
10974
d79d37bd
TH
109752013-04-25 Tassilo Horn <tsdh@gnu.org>
10976
10977 * textmodes/reftex-vars.el
10978 (reftex-label-ignored-macros-and-environments): New defcustom.
10979
10980 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10981
ced3fc5d
SM
109822013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10983
10984 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10985 (smie-indent-keyword): Improve the check to ensure that the next
10986 comment is really on the same line.
10987 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10988
10989 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10990 semi-colons if the line is not otherwise empty (bug#14218).
10991
1c141dad
GM
109922013-04-25 Glenn Morris <rgm@gnu.org>
10993
10994 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10995
5058062a
SM
109962013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * progmodes/opascal.el (opascal-set-token-property): Rename from
10999 opascal-set-text-properties and only set `token' (bug#14134).
11000 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11001 (opascal-literal-text-properties): Remove.
11002 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11003 Adjust callers.
11004
5db9dace 110052013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11006
11007 * textmodes/remember.el (remember-handler-functions): Add an
11008 option for a new handler `remember-store-in-files'.
11009 (remember-data-directory, remember-directory-file-name-format):
11010 New options.
11011 (remember-store-in-files): New function to store remember notes
11012 as separate files within a directory.
11013
4391916c
MH
110142013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11015
11016 * progmodes/compile.el (compilation-next-error-function):
11017 Pass "formats" to compilation-find-file (bug#11777).
11018
bb7cdf58
GM
110192013-04-24 Glenn Morris <rgm@gnu.org>
11020
3b8fe752 11021 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11022 * vc/vc-hg.el (vc-hg-print-log):
11023 * vc/vc-svn.el (vc-svn-print-log):
11024 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11025
bb7cdf58
GM
11026 * vc/vc-bzr.el (vc-bzr-print-log):
11027 * vc/vc-cvs.el (vc-cvs-print-log):
11028 * vc/vc-git.el (vc-git-print-log):
11029 * vc/vc-hg.el (vc-hg-print-log):
11030 * vc/vc-mtn.el (vc-mtn-print-log):
11031 * vc/vc-rcs.el (vc-rcs-print-log):
11032 * vc/vc-sccs.el (vc-sccs-print-log):
11033 * vc/vc-svn.el (vc-svn-print-log):
11034 * vc/vc.el (vc-print-log-internal): Doc fixes.
11035
b46a056e
GM
110362013-04-23 Glenn Morris <rgm@gnu.org>
11037
11038 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11039 Remove venerable code attempting to avoid substitute-command-keys.
11040
0aecf718
TH
110412013-04-23 Tassilo Horn <tsdh@gnu.org>
11042
4391916c
MH
11043 * textmodes/reftex-vars.el (reftex-label-regexps):
11044 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11045
117f94cf
SM
110462013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11047
4391916c 11048 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11049 Use lexical-binding.
11050 (jit-lock-force-redisplay): Use markers, check buffer's continued
11051 existence and beware narrowed buffers.
11052 (jit-lock-fontify-now): Adjust call accordingly.
11053
1d829c64
SM
110542013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11055
11056 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11057 to avoid misleading the user.
11058
72d548a9
LL
110592013-04-22 Leo Liu <sdl.web@gmail.com>
11060
11061 * info-look.el: Prefer latex2e.info. (Bug#14240)
11062
d0853629
MA
110632013-04-22 Michael Albinus <michael.albinus@gmx.de>
11064
11065 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11066
11067 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11068 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11069 (tramp-set-completion-function, tramp-parse-putty):
11070 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11071 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11072 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11073 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11074 (tramp-call-local-coding-command): Use `tramp-call-process'
11075 instead of `tramp-compat-call-process'.
11076
11077 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11078 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11079 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11080 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11081 (tramp-maybe-send-script): Check for Perl binary.
11082 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11083
38cc0210
DU
110842013-04-22 Daiki Ueno <ueno@gnu.org>
11085
11086 * epg.el (epg-context-pinentry-mode): New function.
11087 (epg-context-set-pinentry-mode): New function.
11088 (epg--start): Pass --pinentry-mode option to gpg command.
11089
cc641ee1
XF
110902013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11091
02d844b5 11092 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11093 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11094 `completion-at-point'. (Bug#13774)
5d4e5c31 11095
cc641ee1
XF
11096 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11097 default key binding for `describe-distribution' has been moved to
11098 `C-h C-o'. (Bug#13970)
11099
1b42ee43
GM
111002013-04-21 Glenn Morris <rgm@gnu.org>
11101
11102 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11103 Add doc strings.
11104 (vc-print-log): Clarify interactive prompt.
11105
a6d63d97
GM
111062013-04-20 Glenn Morris <rgm@gnu.org>
11107
11108 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11109 No longer include timestamp etc information.
11110
d7f5c16f
RW
111112013-04-20 Roland Winkler <winkler@gnu.org>
11112
11113 * faces.el (read-face-name): Bug fix, return just one face if arg
11114 multiple is nil. (Bug#14209)
11115
bcd7a0a4
SM
111162013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11117
11118 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11119 (remove-function): Autoload.
11120
11121 * comint.el (comint-redirect-original-filter-function): Remove.
11122 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11123 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11124 (vc-cvs-annotate-command):
bcd7a0a4
SM
11125 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11126 * progmodes/prolog.el (prolog-consult-compile):
11127 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11128 Use add/remove-function instead.
11129 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11130 (gud-tooltip-process-output, gud-tooltip-tips):
11131 Use add/remove-function instead.
11132 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11133 (scheme-interaction-mode, exit-scheme-interaction-mode):
11134 Use add/remove-function instead.
11135
11136 * vc/vc-dispatcher.el: Use lexical-binding.
11137 (vc--process-sentinel): Rename from vc-process-sentinel.
11138 Change last arg to be the code to run. Don't use vc-previous-sentinel
11139 and vc-sentinel-commands any more.
11140 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11141 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11142
e36b2d20 111432013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11144
bcd7a0a4 11145 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11146 Handle function names with a single character. (Bug#14111)
4d3268ba 11147
781b4af6 111482013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11149
11150 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11151 for subroutines defined in an eval (bug#14182).
11152
7d688336
TV
111532013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11154
11155 * bookmark.el (bookmark-completing-read): Improve handling of empty
11156 string (bug#14176).
11157
31dcede0
SM
111582013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11159
11160 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11161
adc31213
FEG
111622013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11163
11164 New faster Imenu implementation (bug#14058).
11165 * progmodes/python.el:
11166 (python-imenu-prev-index-position):
11167 (python-imenu-format-item-label-function)
11168 (python-imenu-format-parent-item-label-function)
11169 (python-imenu-format-parent-item-jump-label-function):
11170 New vars.
11171 (python-imenu-format-item-label)
11172 (python-imenu-format-parent-item-label)
11173 (python-imenu-format-parent-item-jump-label)
11174 (python-imenu--put-parent, python-imenu--build-tree)
11175 (python-imenu-create-index, python-imenu-create-flat-index)
11176 (python-util-popn): New functions.
11177 (python-mode): Set imenu-create-index-function to
11178 python-imenu-create-index.
11179
cdca8255
SM
111802013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11181
11182 * winner.el (winner-active-region): Use region-active-p, activate-mark
11183 and deactivate-mark (bug#14225).
11184
11185 * simple.el (deactivate-mark): Don't inline it.
11186
beb42340
MA
111872013-04-18 Michael Albinus <michael.albinus@gmx.de>
11188
11189 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11190
fc7f4d7e
TH
111912013-04-18 Tassilo Horn <tsdh@gnu.org>
11192
11193 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11194 file extensions from the archive-mode entry in order to prefer
11195 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11196
29f47822
LL
111972013-04-18 Leo Liu <sdl.web@gmail.com>
11198
11199 * bindings.el (help-event-list): Add ?\?.
11200
d36ed1c8
SM
112012013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11202
11203 * subr.el (with-wrapper-hook): Declare obsolete.
11204 * simple.el (filter-buffer-substring-function): New hook.
11205 (filter-buffer-substring): Use it.
11206 (filter-buffer-substring-functions): Mark obsolete.
11207 * minibuffer.el (completion-in-region-function): New hook.
11208 (completion-in-region): Use it.
11209 (completion-in-region-functions): Mark obsolete.
11210 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11211 * abbrev.el (abbrev-expand-function): New hook.
11212 (expand-abbrev): Use it.
11213 (abbrev-expand-functions): Mark obsolete.
11214 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11215 and :filter-return.
11216
04754d36
FEG
112172013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11218
11219 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11220 and do not care about match data.
11221
dd8791e9
SM
112222013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11223
11224 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11225 completion tables when completing error conditions and
11226 `declare' arguments.
11227 (lisp-complete-symbol, field-complete): Mark as obsolete.
11228 (check-parens): Unmatched parens are user errors.
11229 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11230
ffe54a13
AM
112312013-04-17 Michal Nazarewicz <mina86@mina86.com>
11232
dd8791e9
SM
11233 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11234 command changed buffer (ie. `flyspell-pre-buffer' is not current
11235 buffer), which prevents making decisions based on invalid value of
11236 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11237 cause an error when `flyspell-pre-point' was nil after switching
11238 buffers.
11239 (flyspell-post-command-hook): No longer needs to change buffers when
11240 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11241
ec7e39f2
AM
112422013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11243
11244 * textmodes/ispell.el (ispell-add-per-file-word-list):
11245 Fix `flyspell-correct-word-before-point' error when accepting
11246 words and `coment-padding' is an integer by using
11247 `comment-normalize-vars' (Bug #14214).
11248
083850a6
FEG
112492013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11250
11251 New defun movement commands.
11252 * progmodes/python.el (python-nav--syntactically)
11253 (python-nav--forward-defun, python-nav-backward-defun)
11254 (python-nav-forward-defun): New functions.
11255
619ed6e1
FEG
112562013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11257
11258 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11259 (python-syntax-context): Use named compiler-macro for backwards
11260 compatibility with Emacs 24.x.
11261
7a1beb6c
LL
112622013-04-17 Leo Liu <sdl.web@gmail.com>
11263
11264 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11265 octave-hide-process-buffer.
11266
2d3fa3e5
SM
112672013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11270 (bug#14216).
11271
7ce5be54
JPG
112722013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11273
11274 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11275 Fix adjustment of offset when receiving incomplete responses from GDB
11276 (bug#14129).
11277
351edece
SM
112782013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11281 python-mode-abbrev-table.
11282 (python-skeleton-define): Adjust accordingly.
11283 (python-mode-abbrev-table): New table that inherits from it so that
11284 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11285
11286 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11287 (abbrev-symbol): Use it.
11288 (abbrev--before-point): Use it since we already handle inheritance.
11289
613f9481
LL
112902013-04-16 Leo Liu <sdl.web@gmail.com>
11291
11292 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11293 binding to info-lookup-symbol.
11294
51646b62
JB
112952013-04-16 Juanma Barranquero <lekktu@gmail.com>
11296
11297 * minibuffer.el (completion--twq-all):
11298 * term/ns-win.el (ns-initialize-window-system):
11299 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11300
efb3f01d
SM
113012013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11302
36c0a301
SM
11303 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11304 global bindings.
11305
efb3f01d
SM
11306 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11307
fb549d64
DG
113082013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11309
11310 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11311 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11312 to nil.
11313 (ruby-end-of-defun): Remove the unused arg, change the docstring
11314 to reflect that this function is only used as the value of
11315 `end-of-defun-function'.
11316 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11317 to reflect an earlier change that beginning/end-of-defun functions
11318 jump between methods in a class definition, as well as top-level
11319 functions.
11320
21e8fe2f
SM
113212013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11322
11323 * minibuffer.el (minibuffer-complete): Don't just scroll
11324 a *Completions* that's been iconified.
11325 (minibuffer-force-complete): Make sure repetitions do cycle when going
11326 through completion-in-region -> minibuffer-complete.
11327
20e527d0
AM
113282013-04-15 Alan Mackenzie <acm@muc.de>
11329
11330 Correct the placement of c-cpp-delimiters when there're #s not at
11331 col 0.
11332
11333 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11334 place a submatch around the #.
21e8fe2f
SM
11335 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11336 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11337 on the #, not BOL.
11338
dabefae5
SM
113392013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11342 (advice--member-p): New arg `name'.
11343 (advice--add-function, advice-member-p): Use it (bug#14202).
11344
85c9ab64
AM
113452013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11346
11347 Reformulate java imenu-generic-expression.
11348 The old expression contained ill formed regexps.
11349
11350 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11351 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11352 (cc-imenu-java-method-arg-regexp): New defconsts.
11353 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11354 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11355 handling of spaces in the regexp.
11356
0f821d99
AM
113572013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11358
11359 * textmodes/ispell.el (ispell-command-loop): Remove
11360 flyspell highlight of a word when ispell accepts it (bug #14178).
11361
eb922adf
MA
113622013-04-15 Michael Albinus <michael.albinus@gmx.de>
11363
11364 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11365 uses code from the previous `ange-ftp-run-real-handler'.
11366 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11367 only in case that function exist. This is needed for proper
11368 unloading of Tramp.
11369
4d9a0979
TH
113702013-04-15 Tassilo Horn <tsdh@gnu.org>
11371
11372 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11373
11374 * textmodes/reftex.el (reftex-compile-variables): Use it.
11375
a829b0dc
SM
113762013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11377
91e8293c
SM
11378 * files.el (normal-mode): Only use default major-mode if no other mode
11379 was specified.
11380
830aed4d
SM
11381 * emacs-lisp/trace.el (trace-values): New function.
11382
a829b0dc
SM
11383 * files.el: Allow : in local variables (bug#14089).
11384 (hack-local-variable-regexp): New var.
11385 (hack-local-variables-prop-line, hack-local-variables): Use it.
11386
7ae9f0fb
RW
113872013-04-13 Roland Winkler <winkler@gnu.org>
11388
11389 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11390 data before it gets modified by bibtex-beginning-of-entry.
11391
6646e848
RW
113922013-04-13 Roland Winkler <winkler@gnu.org>
11393
11394 * textmodes/bibtex.el (bibtex-url): Doc fix.
11395
113962013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11397
11398 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11399 does not visit a BibTeX file, exclude it from the list of buffers
11400 returned by bibtex-initialize.
11401
0aa3616e
SB
114022013-04-13 Stephen Berman <stephen.berman@gmx.net>
11403
11404 * window.el (split-window): Remove interactive form, since as a
11405 command this function is a special case of split-window-below.
11406 Correct doc string.
11407
011cddd6
RW
114082013-04-12 Roland Winkler <winkler@gnu.org>
11409
11410 * faces.el (read-face-name): Do not override value of arg default.
11411 Allow single faces and strings as default values. Remove those
11412 elements from return value that are not faces.
11413 (describe-face): Simplify.
11414 (face-at-point): New optional args thing and multiple so that this
11415 function can provide the same functionality previously provided by
11416 read-face-name.
11417 (make-face-bold, make-face-unbold, make-face-italic)
11418 (make-face-unitalic, make-face-bold-italic, invert-face)
11419 (modify-face, read-face-and-attribute): Use face-at-point.
11420
11421 * cus-edit.el (customize-face, customize-face-other-window)
11422 * cus-theme.el (custom-theme-add-face)
11423 * face-remap.el (buffer-face-set)
11424 * facemenu.el (facemenu-set-face): Use face-at-point.
11425
f24e0036
MA
114262013-04-12 Michael Albinus <michael.albinus@gmx.de>
11427
11428 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11429
da3cda2d
TH
114302013-04-10 Tassilo Horn <tsdh@gnu.org>
11431
11432 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11433 off leading { and trailing } from field values.
11434
15e54145
SM
114352013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11436
78ce603d
SM
11437 * emacs-lisp/timer.el (timer--check): New function.
11438 (timer--time, timer-set-function, timer-event-handler): Use it.
11439 (timer-set-idle-time): Simplify.
11440 (timer--activate): CSE.
11441 (timer-event-handler): Give more info in error message.
11442 (internal-timer-start-idle): New function, moved from C.
11443
15e54145
SM
11444 * mpc.el (mpc-proc): Add `restart' argument.
11445 (mpc-proc-cmd): Use it.
11446 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11447 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11448 less often.
11449
7144c627
MY
114502013-04-10 Masatake YAMATO <yamato@redhat.com>
11451
11452 * progmodes/sh-script.el: Implement `sh-mode' own
11453 `add-log-current-defun-function' (bug#14112).
11454 (sh-current-defun-name): New function.
11455 (sh-mode): Use the function.
11456
b39792eb
BG
114572013-04-09 Bastien Guerry <bzg@gnu.org>
11458
11459 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11460
8acdeb71
SM
114612013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11462
6fcdab68
SM
11463 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11464
8acdeb71
SM
11465 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11466 timer (bug#14156).
11467
e3e7b504
NF
114682013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11469
11470 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11471 declaration.
11472
201bb296
LL
114732013-04-07 Leo Liu <sdl.web@gmail.com>
11474
11475 * pcmpl-x.el: New file.
11476
ebb19708
DA
114772013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11478
11479 Do not set x-display-name until X connection is established.
11480 This is needed to prevent from weird situation described at
11481 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11482 * frame.el (make-frame): Set x-display-name after call to
11483 window system initialization function, not before.
11484 * term/x-win.el (x-initialize-window-system): Add optional
11485 display argument and use it.
11486 * term/w32-win.el (w32-initialize-window-system):
11487 * term/ns-win.el (ns-initialize-window-system):
11488 * term/pc-win.el (msdos-initialize-window-system):
11489 Add compatible optional display argument.
11490
33bb237a
EZ
114912013-04-06 Eli Zaretskii <eliz@gnu.org>
11492
11493 * files.el (normal-backup-enable-predicate): On MS-Windows and
11494 MS-DOS compare truenames of temporary-file-directory and of the
11495 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11496 don't fail comparison by compare-strings. Also, compare file
11497 names case-insensitively on MS-Windows and MS-DOS.
11498
134abf1f
SM
114992013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11502 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11503
d695cb94
DG
115042013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11505
e3e7b504
NF
11506 * whitespace.el (whitespace-color-on, whitespace-color-off):
11507 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11508
f4ad7ea1 115092013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11510
11511 * ispell.el (ispell-set-spellchecker-params):
11512 Really set `ispell-args' for all equivs.
11513
632556e4
SM
115142013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * ido.el (ido-completions): Use extra elements of ido-decorations
11517 (bug#14143).
11518 (ido-decorations): Update docstring.
11519
2a417372
MA
115202013-04-05 Michael Albinus <michael.albinus@gmx.de>
11521
11522 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11523 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11524 nil during initialization, in order not to miss changes since the
11525 file was opened. (Bug#14140)
11526
fc164b0c
LL
115272013-04-05 Leo Liu <sdl.web@gmail.com>
11528
11529 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11530
0ccecc08
JB
115312013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11532
11533 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11534
51af1aa2
GM
115352013-04-04 Glenn Morris <rgm@gnu.org>
11536
11537 * electric.el (electric-pair-inhibit-predicate): Add :version.
11538
b208ebc6
SM
115392013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11542 when a package is required several times (bug#14082).
11543
f3d3eaf0
RW
115442013-04-04 Roland Winkler <winkler@gnu.org>
11545
11546 * faces.el (read-face-name): Behave as promised by the docstring.
11547 Assume that arg default is a list of faces.
11548 (describe-face): Call read-face-name with list of default faces.
11549
2575da50
TV
115502013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11551
11552 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11553 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11554 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11555 the header.
11556 (bookmark-exit-hook-internal): Save even if list is empty.
11557
397703b4
YH
115582013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11559
11560 * emacs-lisp/package.el (package-pinned-packages): New var.
11561 (package--add-to-archive-contents): Obey it (bug#14118).
11562
691e26ae
AM
115632013-04-03 Alan Mackenzie <acm@muc.de>
11564
8a621d53
JB
11565 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11566 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11567
11568 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11569 parameter `not-in-delimiter'. Handle being inside comment opener.
11570 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11571 character in case we're typing a '*' after a '/'.
11572 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11573 instead by passing the parameter to c-state-pp-to-literal.
11574
11575 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11576 for elt. 7 of a parse state.
11577
4b725a70
PE
115782013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11579
11580 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11581 * international/latin1-disp.el, international/mule-util.el:
11582 * language/cyril-util.el, language/european.el, language/ind-util.el:
11583 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11584 * language/tibetan.el, language/viet-util.el:
11585 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11586
15c579f0
SM
115872013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11588
11589 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11590 (electric-pair-post-self-insert-function): Use it.
11591 (electric-pair-default-inhibit): New function, extracted from
11592 electric-pair-post-self-insert-function.
11593
a77e2924
RW
115942013-03-31 Roland Winkler <winkler@gnu.org>
11595
11596 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11597
2bd8a4a8
SM
115982013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11601
8d3655be 116022013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11603
11604 Un-indent after "pass" and "return" statements (Bug#13888)
11605 * progmodes/python.el (python-indent-block-enders): New var.
11606 (python-indent-calculate-indentation): Use it.
11607
8d3655be 116082013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11609
11610 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11611 defun. Defining it as defalias could introduce too eager
11612 byte-compiler optimization. (Bug#14030)
11613
8d3655be 116142013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11615
11616 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11617
0b1619da
LL
116182013-03-30 Leo Liu <sdl.web@gmail.com>
11619
11620 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11621 (kmacro-execute-from-register): Pass the keyboard macro to
11622 kmacro-call-macro or repeating won't work correctly.
11623
0b938190
TZ
116242013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11625
11626 * progmodes/subword.el: Back to using `forward-symbol'.
11627
11628 * subr.el (forward-whitespace, forward-symbol)
11629 (forward-same-syntax): Move from thingatpt.el.
11630
35710234
LL
116312013-03-29 Leo Liu <sdl.web@gmail.com>
11632
11633 * kmacro.el (kmacro-to-register): New command.
11634 (kmacro-execute-from-register): New function.
11635 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11636
efc0bb73
SM
116372013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * mpc.el: Use defvar-local and setq-local.
11640 (mpc--proc-connect): Connection failures are not bugs.
11641 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11642 (mpc-volume-map): Bind to the up-events.
11643
75a2f981
TZ
116442013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11645
11646 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11647 instead of `forward-symbol'.
11648
17c781d1
SM
116492013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11650
11651 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11652 (edebug--recursive-edit): Use it.
11653 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11654 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11655
f67bfbcf
LL
116562013-03-28 Leo Liu <sdl.web@gmail.com>
11657
11658 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11659
b59f639d
EZ
116602013-03-27 Eli Zaretskii <eliz@gnu.org>
11661
11662 * facemenu.el (list-colors-callback): New defvar.
11663 (list-colors-redisplay): New function.
11664 (list-colors-display): Install list-colors-redisplay as the
11665 revert-buffer-function. (Bug#14063)
11666
f557c1b1
SM
116672013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11668
b1da2957
SM
11669 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11670 and suffixes don't overlap (bug#14061).
11671
f557c1b1
SM
11672 * case-table.el: Use lexical-binding.
11673 (case-table-get-table): New function.
11674 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11675
002668e1
TZ
116762013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11677
11678 * progmodes/subword.el: Add `superword-mode' to do word motion
11679 over symbol_words (parallels and leverages `subword-mode' which
11680 does word motion inside MixedCaseWords).
11681
73572c72
AG
116822013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11683
78b8f320 11684 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11685 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11686
69b2c07e
SM
116872013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11688
11689 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11690 Change return value to be a sexp. Delay `get-buffer' to after
11691 restoring the desktop (bug#13951).
11692
08bb5ee2
LL
116932013-03-26 Leo Liu <sdl.web@gmail.com>
11694
11695 * register.el: Move semantic tag handling back to
11696 cedet/semantic/senator.el. (Bug#14052)
11697
8d4c974e
SM
116982013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11699
11700 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11701 into the prompt either (bug#13963).
11702
b234d92c
SM
117032013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11704
11705 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11706 part of "(error-foo)".
11707
ddfa3cb4
JL
117082013-03-24 Juri Linkov <juri@jurta.org>
11709
11710 * replace.el (list-matching-lines-prefix-face): New defcustom.
11711 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11712 `occur-engine' if `face-differs-from-default-p' returns t.
11713 (occur-engine): Add `,' inside backquote construct to evaluate
11714 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11715 Pass `prefix-face' to the functions `occur-context-lines' and
11716 `occur-engine-add-prefix'.
11717 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11718 `prefix-face' and propertize the prefix with `prefix-face'.
11719 (Bug#14017)
11720
7b0e2f85
LL
117212013-03-24 Leo Liu <sdl.web@gmail.com>
11722
11723 * nxml/rng-valid.el (rng-validate-while-idle)
11724 (rng-validate-quick-while-idle): Guard against deleted buffer.
11725 (Bug#13999)
11726
11727 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11728 is the last entry in kill-buffer-hook.
11729
11730 * files.el (kill-buffer-hook): Doc fix.
11731
b3082f49
DG
117322013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11733
b234d92c
SM
11734 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11735 Make it safe-local.
bde73d27 11736
b3082f49
DG
11737 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11738
a320a2db
LL
117392013-03-23 Leo Liu <sdl.web@gmail.com>
11740
7e74b0fb
LL
11741 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11742 Remove.
11743
11744 * nxml/rng-valid.el (rng-validate-mode)
11745 (rng-after-change-function, rng-do-some-validation):
11746 * nxml/rng-maint.el (rng-validate-buffer):
11747 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11748 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11749 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11750 (nxml-extend-after-change-region): Use with-silent-modifications.
11751
a320a2db
LL
11752 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11753 timer-idle-list.
11754
11755 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11756 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11757 timer-idle-list. (Bug#13999)
11758
e38e6780
JL
117592013-03-23 Juri Linkov <juri@jurta.org>
11760
11761 * info.el (info-index-match): New face.
11762 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11763 main pattern and add text properties with the new face to matches
11764 in index entries relative to the beginning of the index entry.
11765 (Bug#14015)
11766
e8cc7880
DE
117672013-03-21 Eric Ludlam <zappo@gnu.org>
11768
11769 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11770 Inhibit read only while inserting objects.
11771
9bb0d822
TZ
117722013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11773
11774 * progmodes/cfengine.el: Update docs to mention
11775 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11776 symbol motion. Remove "_" from the word syntax.
11777
aa703640
TZ
117782013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11779
11780 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11781 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11782
afff09d0
JL
117832013-03-20 Juri Linkov <juri@jurta.org>
11784
11785 * info.el (Info-next-reference-or-link)
11786 (Info-prev-reference-or-link): New functions.
11787 (Info-next-reference, Info-prev-reference): Use them.
11788 (Info-try-follow-nearest-node): Handle footnote navigation.
11789 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11790
9a1ff164
SM
117912013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11794 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11795
2667d15d
PE
117962013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11797
11798 Suppress unnecessary non-ASCII chatter during build process.
11799 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11800 (batch-skkdic-convert): Suppress most of the chatter.
11801 It's not needed so much now that machines are faster,
11802 and its non-ASCII component was confusing; see Dmitry Gutov in
11803 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11804
438b0579
LL
118052013-03-20 Leo Liu <sdl.web@gmail.com>
11806
11807 * ido.el (ido-chop): Fix bug#10994.
11808
c128ab07
DG
118092013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11810
11811 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11812 Remove vars.
9a1ff164
SM
11813 (whitespace-color-on, whitespace-color-off):
11814 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11815
0e6008c5
SM
118162013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11817
11818 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11819 remapping in mode-line.
11820 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11821
627b52b0
DG
118222013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11823
11824 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11825 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11826 (whitespace-font-lock-keywords): Change description.
11827 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11828 the constructed keywords instead.
11829 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11830
50c3a20b
LL
118312013-03-19 Leo Liu <sdl.web@gmail.com>
11832
11833 * progmodes/compile.el (compilation-display-error): New command.
11834 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11835 C-o. (Bug#13992)
11836
2aa2157b
PE
118372013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11838
11839 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11840
e477dbfa
JD
118412013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11842
11843 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11844
64ab82d1
MA
118452013-03-18 Michael Albinus <michael.albinus@gmx.de>
11846
11847 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11848
11849 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11850 * net/tramp-gvfs.el (top):
11851 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11852 (tramp-handle-shell-command): Use it.
11853 (tramp-dissect-file-name): Raise an error when hostname is a
11854 method name, and neither method nor user is specified.
11855
11856 * net/trampver.el: Update release number.
11857
33cef733
LL
118582013-03-18 Leo Liu <sdl.web@gmail.com>
11859
11860 Make sure eldoc can be turned off properly.
11861 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11862 eldoc-mode.
11863 (eldoc-display-message-p): Revert last change.
11864 (eldoc-display-message-no-interference-p)
11865 (eldoc-print-current-symbol-info): Tweak.
11866
2167b7b2
TH
118672013-03-18 Tassilo Horn <tsdh@gnu.org>
11868
11869 * doc-view.el (doc-view-new-window-function): Check the new window
11870 overlay's display property instead the char property of the
11871 buffer's first char. Use `with-selected-window' instead of
11872 `save-window-excursion' with `select-window'.
11873 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11874 display property instead the char property of the buffer's first char.
2167b7b2 11875
982efbcd
PE
118762013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11877
11878 Automate the build of ja-dic.el (Bug#13984).
11879 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11880 from the input, rather than assume that it's been done for us by the
11881 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11882 the current date into a ja-dic.el comment, as that complicates
11883 regression testing.
11884
2fcc7665
SM
118852013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * whitespace.el: Fix double evaluation.
11888 (whitespace-space, whitespace-hspace, whitespace-tab)
11889 (whitespace-newline, whitespace-trailing, whitespace-line)
11890 (whitespace-space-before-tab, whitespace-indentation)
11891 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11892 obsolete defvars.
11893 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11894 (whitespace-color-on): Use a single font-lock-add-keywords call.
11895 Fix double-evaluation of face variables.
11896
67c0a6e6
MA
118972013-03-17 Michael Albinus <michael.albinus@gmx.de>
11898
2fcc7665
SM
11899 * net/tramp-adb.el (tramp-adb-parse-device-names):
11900 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11901 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11902
69489f1d
LL
119032013-03-17 Leo Liu <sdl.web@gmail.com>
11904
11905 Extend eldoc to display info in the mode-line. (Bug#13978)
11906 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11907 (eldoc-mode-line-string): New variable.
11908 (eldoc-minibuffer-message): New function.
11909 (eldoc-message-function): New variable.
11910 (eldoc-message): Use it.
11911 (eldoc-display-message-p)
2fcc7665
SM
11912 (eldoc-display-message-no-interference-p):
11913 Support eldoc-post-insert-mode.
69489f1d
LL
11914
11915 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11916 (eval-expression): Run it.
11917
9c44569e
RW
119182013-03-17 Roland Winkler <winkler@gnu.org>
11919
11920 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11921 strings in the list of return values.
11922
327f1f6f
JB
119232013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11924
11925 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11926 radix before checking for HMS forms.
11927
67ed8fcd
LL
119282013-03-16 Leo Liu <sdl.web@gmail.com>
11929
11930 * progmodes/scheme.el: Add indentation and font-locking for λ.
11931 (Bug#13975)
11932
78be8b64 119332013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11934
11935 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11936 token before point (bug#13942).
11937
78be8b64 119382013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11939
95b43468 11940 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11941
98e775e6
EZ
119422013-03-16 Eli Zaretskii <eliz@gnu.org>
11943
11944 * startup.el (command-line-normalize-file-name): Fix handling of
11945 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11946 <xfq.free@gmail.com> in
11947 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11948
2edd6029
MA
119492013-03-15 Michael Albinus <michael.albinus@gmx.de>
11950
11951 Sync with Tramp 2.2.7.
11952
11953 * net/trampver.el: Update release number.
11954
d35f5864
TH
119552013-03-14 Tassilo Horn <tsdh@gnu.org>
11956
e903c210 11957 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11958 (doc-view-insert-image): Don't modify overlay associated to
11959 non-live windows, and implement horizontal centering of image in
11960 case it's smaller than the window.
11961 (doc-view-new-window-function): Force redisplay of new windows on
11962 doc-view buffers.
d35f5864 11963
1c4a85ed
KF
119642013-03-13 Karl Fogel <kfogel@red-bean.com>
11965
11966 * saveplace.el (save-place-alist-to-file): Don't sort
11967 `save-place-alist', just pretty-print it (bug#13882).
11968
85b66a21
MA
119692013-03-13 Michael Albinus <michael.albinus@gmx.de>
11970
a020afb9
JB
11971 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11972 Check whether `default-file-name-coding-system' is bound.
11973 It isn't in XEmacs.
85b66a21 11974
175600da
SM
119752013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11976
e7f7cb1a
SM
11977 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11978 backquotes for `obsolete' (bug#13929).
11979
175600da
SM
11980 * international/mule.el (find-auto-coding): Include file name in
11981 obsolescence warning (bug#13922).
11982
ca68a22e
TZ
119832013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11984
11985 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11986 for CFEngine 3-specific indentation.
11987 (cfengine3-indent-line): Use it. Fix up category regex.
11988 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11989
940e5099
SM
119902013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11991
11992 * type-break.el (type-break-file-name):
11993 * textmodes/remember.el (remember-data-file):
11994 * strokes.el (strokes-file):
11995 * shadowfile.el (shadow-initialize):
11996 * saveplace.el (save-place-file):
11997 * ps-bdf.el (bdf-cache-file):
11998 * progmodes/idlwave.el (idlwave-config-directory):
11999 * net/quickurl.el (quickurl-url-file):
12000 * international/kkc.el (kkc-init-file-name):
12001 * ido.el (ido-save-directory-list-file):
12002 * emulation/viper.el (viper-custom-file-name):
12003 * emulation/vip.el (vip-startup-file):
12004 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12005 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12006
cc725808
PE
120072013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12008
12009 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12010 * language/thai-word.el: Switch to UTF-8.
12011
a020afb9 12012See ChangeLog.16 for earlier changes.
e3d51b27
MR
12013
12014;; Local Variables:
12015;; coding: utf-8
e3d51b27
MR
12016;; End:
12017
ba318903 12018 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12019
12020 This file is part of GNU Emacs.
12021
12022 GNU Emacs is free software: you can redistribute it and/or modify
12023 it under the terms of the GNU General Public License as published by
12024 the Free Software Foundation, either version 3 of the License, or
12025 (at your option) any later version.
12026
12027 GNU Emacs is distributed in the hope that it will be useful,
12028 but WITHOUT ANY WARRANTY; without even the implied warranty of
12029 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12030 GNU General Public License for more details.
12031
12032 You should have received a copy of the GNU General Public License
12033 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.