Spelling fixes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4fa51741
PE
12014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2
3 Spelling fixes.
4 * emacs-lisp/generic.el (generic--normalize-comments):
5 Rename from generic--normalise-comments. All uses changed.
6 * play/bubbles.el (bubbles--neighborhood-score):
7 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
8 (bubbles--neighborhood-available)
9 (bubbles--update-neighborhood-score):
10 Rename from names with 'neighbourhood'. All uses changed.
11
9b335362
LL
122014-01-12 Leo Liu <sdl.web@gmail.com>
13
14 Re-implement the feature of showing eldoc info after editing.
15 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
16 (eldoc-edit-message-commands): New function.
17 (eldoc-print-after-edit): New variable.
18 (eldoc-pre-command-refresh-echo-area): Emit message only by
19 eldoc-message-commands.
20 (eldoc-mode): Restrict eldoc-message-commands to editing commands
21 if eldoc-print-after-edit is set. (Bug#16346)
22
23 * progmodes/octave.el (octave-mode-menu): Adapt to change in
24 eldoc.
25
9685190b
ER
262014-01-11 Eric S. Raymond <esr@thyrsus.com>
27
0abf4134
ER
28 * version.el (emacs-repository-get-version): Enhancee so the
29 function works correctly in either a Bazaar or Git repo. The
30 Bazaar case can be discarded after the repo transition.
31
9685190b
ER
32 * play/meese.el: It's 2014 and Ed Meese is justly forgotten. Goes
33 with removal of the joke manpages from /etc.
34
3923e7bd
KH
352014-01-10 K. Handa <handa@gnu.org>
36
37 * mail/rmail.el (rmail-get-coding-system): Check
38 rmail-get-coding-function before "funcall"ing it.
39
d2f16e93
GM
402014-01-10 Glenn Morris <rgm@gnu.org>
41
42 * emacs-lisp/authors.el (authors-fixed-entries):
43 Update for files that no longer exist.
44
7e03bb32
ER
452014-01-10 Eric S. Raymond <esr@thyrsus.com>
46
47 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 48 24.3 (Tested).
7e03bb32 49
dd806710
BB
502014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
51
52 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
53 and Podfile.
54
ed6ec139
EZ
552014-01-10 Eli Zaretskii <eliz@gnu.org>
56
57 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
58
cc33cac9
CY
592014-01-10 Chong Yidong <cyd@gnu.org>
60
61 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is
62 loaded.
63
d9d836b5
AL
642014-01-10 Anders Lindgren <andlind@gmail.com>
65
66 * follow.el (follow-cache-command-list): Include right-char and
67 left-char.
68
06827ec8
PE
692014-01-10 Paul Eggert <eggert@cs.ucla.edu>
70
71 Spelling fixes.
72 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
73 * woman.el (woman-mark-horizontal-position):
74 Rename from woman-mark-horizonal-position. Use changed.
75
458dbf5e
GM
762014-01-10 Glenn Morris <rgm@gnu.org>
77
dad6fae7
GM
78 * info.el (info-initialize): If running uninstalled, ensure our
79 own info files are always found first, even if INFOPATH is set.
80
458dbf5e
GM
81 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
82
05e0afce
DE
832014-01-09 David Engster <deng@randomsample.de>
84
85 * emacs-lisp/eieio-custom.el:
86 * emacs-lisp/eieio-opt.el: Set generated autoload file to
87 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
88 * emacs-lisp/eieio.el: Regenerate autoloads.
89
f29778b3
ER
902014-01-09 Eric S. Raymond <esr@thyrsus.com>
91
92 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 93 following renames. (Bug#8756)
f29778b3 94
684d44ef
SM
952014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
96
97 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
98 (bug#16382).
99 (activate-mark): Add `no-tmm' argument.
100 (set-mark, push-mark-command): Use it instead of running
101 activate-mark-hook by hand.
102
9475054f
ER
1032014-01-08 Eric S. Raymond <esr@thyrsus.com>
104
105 In preparation for the move to git, sanitize out some
106 Bazaar-specific names.
107
108 * version.el (emacs-bzr-version): Name changed to
ceb885a1 109 emacs-repository-version. Obsolete-variable alias made.
9475054f 110 * loadup.el: Follow through on this name change.
a12bf61e 111 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
112 assumption about the version control system in use.
113
0f918d96 1142014-01-08 David Engster <deng@randomsample.de>
abb82152 115
684d44ef
SM
116 * help-fns.el (help-fns-describe-function-functions):
117 New variable to call functions for augmenting help buffers.
abb82152
DE
118 (describe-function-1): Remove explicit calls to
119 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
120 `help-fns--obsolete'. Put them in above new variable instead, and
121 call them through `run-hook-with-args'.
122 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
123 `eieio-describe-class'. Not meant for interactive use anymore,
124 but to augment existing help buffers. Remove optional second
684d44ef
SM
125 argument. Create proper button for file location.
126 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
127 possible.
128 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
129 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
130 (describe-method, describe-generic, eieio-describe-method):
131 Remove aliases.
0f918d96
DE
132 (eieio-help-constructor, eieio-help-generic): Rename from
133 `eieio-describe-constructor' and `eieio-describe-generic', resp.
134 Rewrite to use `insert' in the current buffer and use proper help
135 buttons.
136 (eieio-help-find-method-definition)
137 (eieio-help-find-class-definition): Also accept symbols as
138 arguments.
139 (eieio-help-mode-augmentation-maybee): Remove.
140 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
141 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
142 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 143
136b74c5
PE
1442014-01-08 Paul Eggert <eggert@cs.ucla.edu>
145
146 Spelling fixes.
147 * language/china-util.el (hz-ascii-designation):
148 Rename from hz-ascii-designnation.
149 (hz-ascii-designation): Rename from hz-ascii-designnation.
150 All uses changed.
151
ec6c7de2
SM
1522014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
155 package-alist.
156
d6262c7c
BG
1572014-01-08 Bastien Guerry <bzg@gnu.org>
158
4b9e6087
GM
159 * emacs-lisp/package.el (package-delete):
160 Correctly delete the package from package-alist.
d6262c7c 161
0a3eec32
DU
1622014-01-08 Daiki Ueno <ueno@gnu.org>
163
164 * emacs-lisp/package.el (url-recreate-url): Declare.
165 (url-http-target-url): Declare.
4b9e6087 166 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
167 (package--check-signature): Don't re-signal errors from
168 package--with-work-buffer. Suggested by Stefan Monnier.
169
68f0bb97
BG
1702014-01-07 Bastien Guerry <bzg@gnu.org>
171
172 * minibuffer.el (completion--try-word-completion): When both a
173 hyphen and a space are possible candidates for the character
174 following a word, display both candidates. (Bug#15980)
175
7e1899d7
MR
1762014-01-07 Martin Rudalics <rudalics@gmx.at>
177
178 * window.el (balance-windows-2): While rounding don't give a
179 window more than the remainder. Bug#16351, Bug#16383.
180
0030ec15
GM
1812014-01-07 Glenn Morris <rgm@gnu.org>
182
183 * menu-bar.el (menu-bar-help-extra-packages): Remove.
184 (menu-bar-help-menu): Use view-external-packages instead.
185
2b6b4f20
BG
1862014-01-07 Bastien Guerry <bzg@gnu.org>
187
188 * emacs-lisp/package.el (package-delete): Also delete the package
189 name from `package-alist', not its description only.
190
e9be0a13
GM
1912014-01-07 Glenn Morris <rgm@gnu.org>
192
193 * help.el (view-external-packages):
194 * menu-bar.el (menu-bar-help-extra-packages):
195 Visit efaq.info rather than etc/MORE.STUFF.
196
e4f74da9
JL
1972014-01-07 Juri Linkov <juri@jurta.org>
198
199 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
200 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
201
202 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
203 that shadows RET. (Bug#16342)
204
de7ce2d1
CY
2052014-01-07 Chong Yidong <cyd@gnu.org>
206
207 * isearch.el (isearch-yank-char, isearch-yank-word)
208 (isearch-yank-line): Doc fix.
209
6bdd9204
SM
2102014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
213 * emacs-lisp/elint.el (elint-find-builtins):
214 * emacs-lisp/eldoc.el (eldoc-symbol-function):
215 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
216 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
217 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
218 * apropos.el (apropos-safe-documentation):
219 * subr.el (symbol-file): Remove redundant fboundp.
220 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
221
daccca97
BG
2222014-01-06 Bastien Guerry <bzg@gnu.org>
223
224 * hl-line.el (global-hl-line-overlay): Make a local variable.
225 (global-hl-line-overlays): New variable to store all overlays.
226 (global-hl-line-mode): Don't delete overlays from the current
227 buffer when `global-hl-line-sticky-flag' is non-nil.
228 (global-hl-line-highlight): Add new overlays to
229 `global-hl-line-overlays'.
230 (global-hl-line-unhighlight-all): New function to delete all
231 overlays when turning off `global-hl-line-mode'.
232 This fixes Bug#16183.
233
ec00f20f
SM
2342014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * subr.el (set-transient-map): Fix nested case and docstring.
237
a0031f97
TH
2382014-01-06 Tassilo Horn <tsdh@gnu.org>
239
240 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
241 `Texinfo' entry.
242
bf6a77f3
DC
2432014-01-06 Daniel Colascione <dancol@dancol.org>
244
245 Fix defun navigation in vc log view.
246
247 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
248 like `beginning-of-defun'.
249 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
250 log-view-end-of-defun to log-view-end-of-defun-1. Replace
251 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 252 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 253 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 254
d5081c1e
PE
2552014-01-06 Paul Eggert <eggert@cs.ucla.edu>
256
257 Spelling fixes.
258 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
259 * emacs-lisp/debug.el (cancel-debug-on-entry):
260 * epg.el (epg-error-to-string):
261 * files.el (recover-file):
262 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
263 * mail/emacsbug.el (report-emacs-bug-hook):
264 * mail/sendmail.el (mail-recover):
265 * ses.el (ses-yank-resize):
266 * term/ns-win.el (ns-print-buffer):
267 Spelling fixes in diagnostics, mostly for "canceled" with one L.
268 * epg.el (epg-key-capability-alist): Rename from misspelled version.
269 All uses changed.
270 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
271
53f6b148
LL
2722014-01-06 Leo Liu <sdl.web@gmail.com>
273
274 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
275 to avoid shadowning global key. (Bug#16354)
276
b82ace2f
DC
2772014-01-06 Daniel Colascione <dancol@dancol.org>
278
279 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
280 rst-mode.
281
3669b636
MR
2822014-01-05 Martin Rudalics <rudalics@gmx.at>
283
284 * window.el (balance-windows): Add mising t to fix Bug#16351.
285
1a29adc2
LMI
2862014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
287
288 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
289 (bug#16285).
3d95a0f4
LMI
290 (shr-insert): If we have a word that's longer than `shr-width',
291 break after it anyway. Otherwise we'll do no breaking once we get
292 such a long word.
1a29adc2 293
f4018140
KN
2942014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
295
189340f5
KN
296 * net/eww.el (eww): Support single/double quote for search.
297 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
298 (eww-history-quit): Delete and use quit-window.
299 (eww-history-kill): Delete, because it doesn't work well and
300 not necessary.
301 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 302
4e619754
PE
3032014-01-05 Paul Eggert <eggert@cs.ucla.edu>
304
73dbf960
PE
305 Fix misspelling of 'chinese' in rx (Bug#16237).
306 * emacs-lisp/rx.el (rx-categories): Correct spelling of
307 chinese-two-byte.
308
4e619754
PE
309 Change subword regexps back to vars (Bug#16296).
310 * progmodes/subword.el (subword-forward-regexp)
311 (subword-backward-regexp): Change these back to variables.
312
e18b70fc
SM
3132014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
316 syntax-begin-function (bug#16247).
317
0d53f628
CY
3182014-01-03 Chong Yidong <cyd@gnu.org>
319
320 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
321 (advice--docstring): Delete variable.
322 (advice--make-1): Leave the docstring empty.
323 (advice-add): Use function-documentation for advised docstring.
324
325 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
326 Ignore function-documentation property when getting documentation.
327 (ad-activate-advised-definition): Use function-documentation
328 generate the docstring.
329 (ad-make-advised-definition): Don't call
330 ad-make-advised-definition-docstring.
331 (ad-make-advised-definition-docstring, ad-advised-definition-p):
332 Delete functions.
333
334 * progmodes/sql.el (sql-help): Use function-documentation instead
335 of dynamic-docstring-function property. No need to autoload now.
336 (sql--help-docstring): New variable.
337 (sql--make-help-docstring): Use it.
338
6f547583
SM
3392014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
340
6ef9aed8
SM
341 * ielm.el (ielm-tab): Retarget.
342 (ielm-map): Use ielm-tab for tab.
343 (ielm-complete-filename): Use comint-filename-completion.
344 (ielm-complete-symbol): Remove.
345 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
346 remove ielm-tab from completion-at-point-functions (bug#16224).
347
6f547583
SM
348 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
349 Beware signals raised by predicates (bug#16201).
350
a574edbe
RS
3512014-01-02 Richard Stallman <rms@gnu.org>
352
e831604d
RS
353 * dired-aux.el (dired-do-print): Handle printer-name.
354
6f547583
SM
355 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
356 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
357 (rmail-epa-decrypt): Turn off mime processing.
358
359 * mail/rmail.el (rmail-make-in-reply-to-field):
360 Add parens in message-id.
361
362 * mail/rmail.el (rmail-get-coding-function): Variable.
363 (rmail-get-coding-system): Use it.
364
04311a16
KH
3652013-12-31 Eli Zaretskii <eliz@gnu.org>
366
367 * international/mule-conf.el: Unify the charset indian-is13194.
368 (indian-is13194): Specify unify-map.
369
c8d89778
LL
3702013-12-31 Leo Liu <sdl.web@gmail.com>
371
372 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
373
e63ace37
DC
3742013-12-30 Daniel Colascione <dancol@dancol.org>
375
9e0bf19a
DC
376 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
377 of printing a useless when we resume from sleep.
378
e63ace37
DC
379 * progmodes/sh-script.el
380 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
381 in indentation code. (Bug#16233)
382
e9d6c46a
JT
3832013-12-28 João Távora <joaotavora@gmail.com>
384
6f547583
SM
385 * elec-pair.el (electric-pair-post-self-insert-function):
386 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 387
bf7bea5d
EZ
3882013-12-28 Eli Zaretskii <eliz@gnu.org>
389
390 * frame.el (window-system-for-display): Don't allow to create a
391 GUI frame from a -nw session on MS-Windows. (Bug#14739)
392
8449dd1f
GM
3932013-12-28 Glenn Morris <rgm@gnu.org>
394
9c5a5c77
GM
395 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
396 Update callers.
397
398 * apropos.el (apropos-match-face):
399 * calculator.el (calculator-displayer):
400 * dabbrev.el (dabbrev-search-these-buffers-only):
401 * face-remap.el (buffer-face-mode-face):
402 * simple.el (yank-handled-properties):
403 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
404 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
405 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
406 (hashcash-double-spend-database):
407 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
408 (ruby-deep-indent-paren-style):
409 * textmodes/flyspell.el (flyspell-auto-correct-binding):
410 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
411 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
412 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
413 Specify custom types.
414
bb098075
GM
415 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
416 * bookmark.el (bookmark-bmenu-use-header-line):
417 * doc-view.el (doc-view-scale-internally):
418 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
419 * register.el (register-preview-delay):
420 * net/shr.el (shr-bullet):
421 * progmodes/cfengine.el (cfengine-cf-promises)
422 (cfengine-parameters-indent):
423 * progmodes/octave.el (inferior-octave-error-regexp-alist):
424 * textmodes/reftex-vars.el (reftex-label-regexps):
425 * vc/log-edit.el (log-edit-setup-add-author): Add version.
426
9c61f806
GM
427 * net/tls.el (tls-certtool-program): Fix default value.
428
429 * desktop.el (desktop-restore-in-current-display):
430 * newcomment.el (comment-empty-lines):
431 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
432 (idlwave-pad-keyword):
433 * progmodes/tcl.el (tcl-tab-always-indent):
434 * textmodes/reftex-vars.el (reftex-index-default-tag):
435 * elec-pair.el (electric-pair-skip-whitespace):
436 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
437
8449dd1f
GM
438 * emacs-lisp/authors.el (authors-ignored-files)
439 (authors-valid-file-names, authors-renamed-files-alist): Additions.
440
fdadeb49
JC
4412013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
442
72140a0f
GM
443 * shell.el (shell-dynamic-complete-command): Doc fix.
444 (shell--command-completion-data): Shell completion now matches
445 executable filenames from the current buffer's directory, on
da5ecfa9 446 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 447
e572a7d8
LI
4482013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
449
450 * net/shr.el (shr-insert): Don't infloop if the width is zero.
451
7514d3f8
SM
4522013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
453
a4151f3b
SM
454 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
455 (bug#16251).
456
7514d3f8
SM
457 * electric.el: Move all electric-pair-* to elec-pair.el.
458 * elec-pair.el: New file, split from electric.el.
459
ac5758d1
LI
4602013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
461
462 * net/shr.el (shr-find-fill-point): Don't try to fill if the
463 indentation level is larger than the width, because that will
464 infloop.
465 (shr-insert): Fill repeatedly long texts, so that Japanese is
466 formatted correctly (bug#16263).
24a6b65e
LI
467 (shr-find-fill-point): Off by one error in comparison with the
468 indentation.
ac5758d1 469
7514d3f8 4702013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
471
472 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 473 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
474 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
475 if that keeps or improves their balance in buffers.
476 (electric-pair-delete-adjacent-pairs): Delete the pair when
477 backspacing over adjacent matched delimiters.
478 (electric-pair-open-extra-newline): Open extra newline when
479 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
480 (electric--sort-post-self-insertion-hook):
481 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
482 minor-modes are activated.
483 * simple.el (newline-and-indent): Call newline with interactive
484 set to t.
485 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
486 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
487 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
488 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
489 electric-pair-open-newline-between-pairs to nil.
490
fbcc63a3
FEG
4912013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
492
493 * progmodes/python.el: Use lexical-binding.
494 (python-nav-beginning-of-defun): Stop searching ASAP.
495
ed78d16c
XF
4962013-12-25 Xue Fuqiao <xfq.free@gmail.com>
497
498 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
499 Fix interactive spec. Doc fix. (Bug#15754)
500
38b2c142
KY
5012013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
502
503 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 504 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
505 Fix edebug spec (bug#16184).
506
3c856c14
LI
5072013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
508
83fa295c 509 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
510 (shr-insert): Don't infloop if we can't find a good place to break
511 the line (bug#16256).
3c856c14 512
01379221
FEG
5132013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
514
515 * progmodes/python.el:
516 (python-nav--lisp-forward-sexp): New function.
517 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
518 python-nav-lisp-forward-sexp-safe.
519 (python-nav--forward-sexp): New argument SAFE allows switching
520 forward sexp movement behavior for parens.
521 (python-nav-forward-sexp): Throw errors on unterminated parens
522 (Bug#16191).
523 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
524 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
525 (python-shell-buffer-substring):
526 Use `python-nav-forward-sexp-safe'.
01379221 527
99e4926f
LI
5282013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
529
530 * net/shr.el (shr-find-fill-point): Don't break lines before a
531 quotation mark.
c6c20584
LI
532 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
533 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 534 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 535
fec0e828
KN
5362013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
537
538 * net/eww.el (eww-form-textarea): Use a different face for
539 textareas than text input since they have different keymaps
540 (bug#16142).
541
89c868ad
FEG
5422013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
543
7514d3f8
SM
544 * progmodes/python.el (python-nav-beginning-of-statement):
545 Speed up (Bug#15295).
89c868ad 546
eeef121a
LI
5472013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
548
549 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
550 the window configuration.
551
121ea65f
EZ
5522013-12-24 Eli Zaretskii <eliz@gnu.org>
553
554 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
555 we run on MS-Windows or MS-DOS.
556
18cee9ec
MR
5572013-12-24 Martin Rudalics <rudalics@gmx.at>
558
559 * window.el (balance-windows-area): Call window-size instead of
560 window-height and window-width. Bug#16241.
561
58f2b9a5
LI
5622013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
563
564 * net/eww.el (eww-bookmark-quit): Remove.
565 (eww-bookmark-browse): Restore the window configuration when you
566 choose a bookmark (bug#16144).
567
d64b6308
DC
5682013-12-24 Daniel Colascione <dancol@dancol.org>
569
570 * icomplete.el: Remove redundant :group arguments to `defcustom'
571 throughout.
572 (icomplete-show-matches-on-no-input): New customizable variable.
573 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
574 we have something to show.
7514d3f8 575 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 576
0da54898
DC
5772013-12-23 Daniel Colascione <dancol@dancol.org>
578
579 * icomplete.el: Move `provide' to end of file.
580
b90aa4f4
TZ
5812013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
582
583 * net/gnutls.el (gnutls-verify-error): Add version tag.
584
8cd22a08
CY
5852013-12-23 Chong Yidong <cyd@gnu.org>
586
587 * subr.el (set-transient-map): Rename from
588 set-temporary-overlay-map. Doc fix.
589
590 * face-remap.el (text-scale-adjust):
591 * indent.el (indent-rigidly):
592 * kmacro.el (kmacro-call-macro):
593 * minibuffer.el (minibuffer-force-complete):
594 * repeat.el (repeat):
595 * simple.el (universal-argument--mode):
596 * calendar/todo-mode.el (todo-insert-item--next-param):
597 * progmodes/f90.el (f90-abbrev-start): Callers changed.
598
7510b021
CY
599 * indent.el (indent-rigidly): Use substitute-command-keys.
600
72140a0f 6012013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
602
603 * net/eww.el (eww-tag-select): Add text-property to jump to next
604 select field.
e9dc713d 605 (eww): Add non-supported ftp error.
56890ecd 606
1f87a56c
DG
6072013-12-22 Dmitry Gutov <dgutov@yandex.ru>
608
609 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
610 comments. Handle electric indent after typing `?' and `!'.
611
dca38cf9
CY
6122013-12-22 Chong Yidong <cyd@gnu.org>
613
614 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
615 applicable to a frame, fall back on the defface spec.
616 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 617
f2351498
DG
6182013-12-22 Dmitry Gutov <dgutov@yandex.ru>
619
620 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
621 after `{'. We need it after block openers, and it doesn't seem
622 to hurt after hash openers.
623
6cddebc1
DG
6242013-12-22 Dmitry Gutov <dgutov@yandex.ru>
625
626 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
627 extracted from `ruby-smie-rules'.
628 (ruby--electric-indent-chars): New variable.
629 (ruby--electric-indent-p): New function.
630 (ruby-mode): Use `electric-indent-functions' instead of
631 `electric-indent-chars'.
632
65a1da00
DG
6332013-12-22 Dmitry Gutov <dgutov@yandex.ru>
634
635 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
636 docstring.
637 (ruby-smie-rules): Indent plus one level after `=>'.
638
b51ad4cf
RS
6392013-12-21 Richard Stallman <rms@gnu.org>
640
641 * simple.el (newline): Doc fix.
642
72140a0f 6432013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 644
e9dc713d 645 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
646 (eww-history-browse, eww-history-quit, eww-history-kill)
647 (eww-history-mode-map, eww-history-mode): New command and
648 functions to list browser histories.
e9dc713d
JB
649 (eww-form-text): Support text form with disabled
650 and readonly attributes.
651 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 652
5e1901c1
RS
6532013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
654
655 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
656 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
657 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
658 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
659 Use `user-error'.
660 (eww-bookmark-mode-map): Add menu.
661 (eww-render, eww-mode): Use `setq-local'.
662 (eww-tool-bar-map): New variable.
663 (eww-mode): Set `tool-bar-map'.
664 (eww-view-source): Check for `html-mode' with `fboundp'.
665
073d5cfd
LMI
6662013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
667
668 * net/shr.el (shr--extract-best-source): Don't bug out on audio
669 elements with text inside. Also remove debugging.
670
41cf3d11
JD
6712013-12-21 Jan Djärv <jan.h.d@swipnet.se>
672
673 * cus-start.el (all): Add ns-use-srgb-colorspace.
674
aac2b673
CY
6752013-12-21 Chong Yidong <cyd@gnu.org>
676
677 * custom.el (custom-theme-recalc-face): Do nothing if the face is
678 undefined. Thus, theme settings for undefined faces do not take
679 effect until the faces are defined with defface, the same as with
680 theme variables.
681
682 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
683 (face-spec-reset-face): Don't assign extra properties in temacs.
684 (face-spec-recalc): Apply X resources too.
685
bacb0e77
CY
6862013-12-21 Chong Yidong <cyd@gnu.org>
687
688 * faces.el (face-spec-set):
689 * cus-face.el (custom-theme-set-faces, custom-set-faces):
690 * custom.el (defface): Doc fixes (Bug#16203).
691
77221051
CY
692 * indent.el (indent-rigidly-map): Add docstring, and move commands
693 into named functions.
694 (indent-rigidly-left, indent-rigidly-right)
695 (indent-rigidly-left-to-tab-stop)
696 (indent-rigidly-right-to-tab-stop): New functions. Decide on
697 indentation direction based on bidi direction, and accumulate
698 sequential commands in a single undo boundary.
699 (indent-rigidly--pop-undo): New utility function.
700
e0eb0550
JB
7012013-12-20 Juanma Barranquero <lekktu@gmail.com>
702
703 * faces.el (read-face-name): Require crm.el when using crm-separator.
704
3282bd2e
DC
7052013-12-20 Daniel Colascione <dancol@dancol.org>
706
707 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
708 so that we don't reflow comments into the shebang line.
709
1d42e5b6
JL
7102013-12-20 Juri Linkov <juri@jurta.org>
711
712 * saveplace.el (save-place-to-alist): Add `dired-filename' as
713 a position when `dired-directory' is non-nil. Check integer
714 positions with `integerp'.
715 (toggle-save-place, save-places-to-alist): Add check for
716 `dired-directory'.
717 (save-place-find-file-hook): Check integer positions with
718 `integerp'.
719 (save-place-dired-hook): Use `dired-goto-file' when
720 `dired-filename' is found in the assoc list. Check integer
721 positions with `integerp'.
722 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
723
724 * dired.el (dired-initial-position-hook): Rename back from
725 `dired-initial-point-hook'.
726 (dired-initial-position): Rename `dired-initial-point-hook' to
727 `dired-initial-position-hook'.
728 (dired-file-name-at-point): Doc fix. (Bug#15329)
729
24da7273
JL
7302013-12-20 Juri Linkov <juri@jurta.org>
731
732 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
733 (read-regexp-suggestions): New function.
734 (read-regexp): Use `read-regexp-defaults-function' to get default values.
735 Use `read-regexp-suggestions'. Add non-empty default to history
736 for empty input.
737 (occur-read-regexp-defaults-function): Remove function.
738 (occur-read-primary-args): Use `regexp-history-last' instead of
739 `occur-read-regexp-defaults-function'.
740
741 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
742 (hi-lock-line-face-buffer, hi-lock-face-buffer)
743 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
744 `hi-lock-read-regexp-defaults-function'. Doc fix.
745 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
746 with `find-tag-default-as-symbol-regexp'. Doc fix.
747 (hi-lock-read-regexp-defaults): Remove function.
748 (hi-lock-regexp-okay): Add check for null.
749
750 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
751 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
752
753 * subr.el (find-tag-default-as-symbol-regexp): New function.
754 (find-tag-default-as-regexp): Move symbol regexp formatting to
755 `find-tag-default-as-symbol-regexp'.
756
137f57c8
S
7572013-12-20 E Sabof <esabof@gmail.com> (tiny change)
758
759 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
760 (Bug#14179)
761
f3a66082
SB
7622013-12-20 Stephen Berman <stephen.berman@gmx.net>
763
764 * calendar/todo-mode.el: New implementation of item insertion
765 commands and key bindings.
766 (todo-key-prompt): New face.
767 (todo-insert-item): New command.
768 (todo-insert-item--parameters): New defconst, replacing defvar
769 todo-insertion-commands-args-genlist.
770 (todo-insert-item--param-key-alist): New defconst, replacing
771 defvar todo-insertion-commands-arg-key-list.
772 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
773 (todo-insert-item--argsleft, todo-insert-item--apply-args)
774 (todo-insert-item--next-param): New functions.
775 (todo-insert-item--args, todo-insert-item--argleft)
776 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
777 New variables.
778 (todo-key-bindings-t): Change binding of "i" from
779 todo-insertion-map to todo-insert-item.
780 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
781 (todo-insertion-command-name, todo-insertion-commands-names)
782 (todo-define-insertion-command, todo-insertion-commands)
783 (todo-insertion-key-bindings, todo-insertion-map): Remove.
784
2f99433b
SB
7852013-12-20 Stephen Berman <stephen.berman@gmx.net>
786
787 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
788 (todo-toggle-item-highlighting): Use eval-and-compile instead of
789 eval-when-compile.
790 (todo-move-category): Allow choosing a non-existing todo file to
791 move the category to, and create that file.
792 (todo-default-priority): New user option.
793 (todo-set-item-priority): Use it.
794 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
795 (desktop-restore-file-buffer): Declare.
796 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
797 (todo-modes-set-2): Locally set desktop-save-buffer to
798 todo-desktop-save-buffer.
799 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
800 (auto-mode-alist): Add autoload cookie.
801
131e4695
BB
8022013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
803
804 * emacs-lisp/subr-x.el: Renamed from helpers.el.
805 helpers.el was a poor choice of name.
3cbfb935
BB
806 (string-remove-prefix): New function.
807 (string-remove-suffix): New function.
131e4695 808
c44de18d
MR
8092013-12-20 Martin Rudalics <rudalics@gmx.at>
810
811 Fix assignment for new window total sizes.
812 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
813 (window--pixel-to-total-1, window--pixel-to-total):
814 Fix calculation of new total sizes.
c44de18d 815
ca65efcc
VS
8162013-12-20 Vitalie Spinu <spinuvit@gmail.com>
817
818 * comint.el (comint-output-filter): Fix rear-nonsticky property
819 placement (Bug#16010).
820
a9574eb7
CY
8212013-12-20 Chong Yidong <cyd@gnu.org>
822
823 * faces.el (read-color): Minor fix for completion function.
824
b520f210
DG
8252013-12-20 Dmitry Gutov <dgutov@yandex.ru>
826
e0eb0550
JB
827 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
828 New option. (Bug#16182)
b520f210
DG
829 (ruby-smie--indent-to-stmt-p): Use it.
830 (ruby-smie-rules): Revert the logic in the handling of `when'.
831 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
832 (ruby-deep-arglist, ruby-deep-indent-paren)
833 (ruby-deep-indent-paren-style): Update docstrings to note that the
834 vars don't have any effect with SMIE.
835
26b75b45
JB
8362013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
837
838 * calc/calc.el (calc-enter, calc-pop): Use the variable
839 `calc-context-sensitive-enter'.
840
cf91cee7
LMI
8412013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
842
843 * net/shr.el (shr-insert): Protect against infloops in degenerate
844 tables.
845
51d971b4
RS
8462013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
847
848 * progmodes/octave.el (octave): Add link to manual and octave
849 homepage.
850 (octave-mode-menu): Link to octave-mode manual.
851
8c2e462a
LL
8522013-12-20 Leo Liu <sdl.web@gmail.com>
853
854 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
855 insertion using skeleton-end-newline. (Bug#16138)
856
501158bc
JL
8572013-12-20 Juri Linkov <juri@jurta.org>
858
859 * replace.el (occur-engine): Use `add-face-text-property'
860 to add the face property to matches and titles. (Bug#14645)
861
862 * hi-lock.el (hi-green): Use lighter color "light green" closer to
863 the palette of other hi-lock colors.
864 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
865
50ab1da6
JL
8662013-12-19 Juri Linkov <juri@jurta.org>
867
868 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
869 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
870 (minibuffer-history-symbol): Move variable declaration closer to
871 its usage.
872
873 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
874 (Bug#14785)
875
3d6e95e7
JL
8762013-12-19 Juri Linkov <juri@jurta.org>
877
878 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
879 New function.
880 (log-edit-hook): Add it to :options. (Bug#16170)
881
b41594fd
JL
8822013-12-19 Juri Linkov <juri@jurta.org>
883
884 * simple.el (eval-expression-print-format): Don't check for
885 command names and the last command. Always display additional
886 formats of the integer result in the echo area, and insert them
887 to the current buffer only with a zero prefix arg.
888 Display character when char-displayable-p is non-nil.
889 (eval-expression): With a zero prefix arg, set `print-length' and
890 `print-level' to nil, and insert the integer values from
891 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
892
893 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
894 `eval-last-sexp-arg-internal'. Doc fix.
895 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
896 `eval-last-sexp-print-value'. Doc fix.
897 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
898 Set `print-length' and `print-level' to nil when arg is zero.
899 (eval-last-sexp): Doc fix.
900 (eval-defun-2): Print the integer values from
901 `eval-expression-print-format' at the end.
902
903 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
904 values from `eval-expression-print-format' at the end.
905
906 * ielm.el (ielm-eval-input): Print the integer
907 values from `eval-expression-print-format' at the end.
908
8f2be364
TZ
9092013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
910
911 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
912 2013-12-11T19:01:44Z!tzz@lifelogs.com.
913
2230a6e3
SM
9142013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
917 (hl-line-highlight, global-hl-line-highlight): Use it.
918 (hl-line-overlay): Use defvar-local.
919
1269a680
JD
9202013-12-19 Jan Djärv <jan.h.d@swipnet.se>
921
922 * term/ns-win.el: Require dnd.
923 (global-map): Remove drag items.
924 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
925 (ns-set-background-at-mouse):
926 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
927 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
928 New functions.
1269a680 929
049638ad
GM
9302013-12-19 Glenn Morris <rgm@gnu.org>
931
932 * emacs-lisp/ert.el (ert-select-tests):
933 Fix string/symbol mixup. (Bug#16121)
934
ce41edb4
DG
9352013-12-19 Dmitry Gutov <dgutov@yandex.ru>
936
937 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
938 keywords to their parent.
939
7e1549c9
DG
9402013-12-19 Dmitry Gutov <dgutov@yandex.ru>
941
942 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
943 first arg to be a string (fixed dead code), or an operator symbol.
944 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
945 operator symbols.
946 (ruby-smie-rules): Remove parent token check in the `.' clause, it
947 did nothing. Don't respond to `(:after ".")', it will be called
948 with :before anyway. Remove the ` @ ' rule, it didn't seem to
949 change anything. Only return indentation for binary operators
950 when they are hanging. De-dent opening paren when its parent is
951 `.', otherwise it looks bad when the dot is not at bol or eol
952 (bug#16182).
953
3ee4cd64
JL
9542013-12-19 Juri Linkov <juri@jurta.org>
955
956 * replace.el (query-replace-read-args): Split a non-negative arg
957 and a negative arg into separate elements.
958 (query-replace, query-replace-regexp, replace-string)
959 (replace-regexp): Add arg `backward'. Doc fix.
960 (replace-match-maybe-edit): When new arg `backward' is non-nil,
961 move point to the beginning of the match.
962 (replace-search, replace-highlight): Use new arg `backward'
963 to set the value of `isearch-forward'.
964 (perform-replace): Add arg `backward' and use it to perform
965 replacement backward. (Bug#14979)
966
967 * isearch.el (isearch-query-replace): Use a negative prefix arg
968 to call `perform-replace' with a non-nil arg `backward'.
969
0cda6b7b
JL
9702013-12-18 Juri Linkov <juri@jurta.org>
971
972 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
973 to the default list. Move `log-edit-show-files' to the end.
974 Add more available functions to options.
975 (log-edit): Move default specific settings to
976 `log-edit-insert-message-template'. Don't move point.
977 (log-edit-insert-message-template): New function.
978 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
979 (Bug#16170)
980
b216f0a6
JL
9812013-12-18 Juri Linkov <juri@jurta.org>
982
983 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
984 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
985
1d1c55dc
LL
9862013-12-18 Leo Liu <sdl.web@gmail.com>
987
e9dc713d
JB
988 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
989 (Bug#16186)
1d1c55dc 990
64e4c76e
EZ
9912013-12-18 Eli Zaretskii <eliz@gnu.org>
992
993 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
994 formats for displaying file sizes when the -s switch is given.
995 Instead, compute a separate format for displaying the size in
996 blocks, which is displayed in addition to the "regular" size.
997 When -h is given in addition to -s, produce size in blocks in
998 human-readable form as well. (Bug#16179)
999
b2984e39
TH
10002013-12-18 Tassilo Horn <tsdh@gnu.org>
1001
2230a6e3
SM
1002 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1003 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1004
50ff2e06
CY
10052013-12-18 Chong Yidong <cyd@gnu.org>
1006
0081bc84
CY
1007 * cus-edit.el (custom-magic-alist): Fix "themed" description
1008 (Bug#14348).
1009
a7ee9424
CY
1010 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1011 is non-nil, do not create a new entry in the symbol's theme-value
1012 or theme-face property; update theme-settings only (Bug#14664).
18874304 1013 (custom-available-themes): Doc fix.
a7ee9424 1014
8f942537
CY
1015 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1016 (Bug#15674).
1017
50ff2e06
CY
1018 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1019
83c60f60
KI
10202013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1021
1022 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1023 (Bug#13914).
1024
e0eb0550 10252013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1026
1027 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1028
1f41ee56
GM
10292013-12-18 Glenn Morris <rgm@gnu.org>
1030
1031 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1032 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1033
e82134b1
LW
10342013-12-18 Le Wang <l26wang@gmail.com>
1035
2230a6e3
SM
1036 * comint.el (comint-previous-matching-input-from-input):
1037 Retain point (Bug#13404).
e82134b1 1038
33f5d4c1
CY
10392013-12-18 Chong Yidong <cyd@gnu.org>
1040
1041 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1042
ccc9f6dc
GM
10432013-12-18 Glenn Morris <rgm@gnu.org>
1044
1045 * mail/emacsbug.el (report-emacs-bug):
1046 Only mention enable-multibyte-characters if non-standard.
1047
33dd8e95
JL
10482013-12-17 Juri Linkov <juri@jurta.org>
1049
1050 * arc-mode.el (archive-extract-by-file): Check if directory exists
1051 before deletion to not show irrelevant errors if it doesn't exist.
1052
7a409b30
JL
10532013-12-17 Juri Linkov <juri@jurta.org>
1054
1055 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1056 (Bug#14751)
1057
1058 * net/eww.el (browse-web): Add alias to `eww'.
1059 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1060 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1061
1062 * net/browse-url.el (browse-url-browser-function): Move `eww'
1063 closer to similar functions.
1064
1065 * startup.el (fancy-startup-screen, fancy-about-screen):
1066 Set browse-url-browser-function to eww-browse-url locally.
1067 (Bug#14751)
1068
2d6b6005
SM
10692013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * window.el (window--pixel-to-total): Remove unused `mini' var.
1072 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1073 (split-window): Remove unused `new' var.
1074 (window--display-buffer): Remove unused `frame' and `delta' vars.
1075 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1076 and display-width'.
1077
cf2b7efc
MR
10782013-12-17 Martin Rudalics <rudalics@gmx.at>
1079
1080 * dired.el (dired-mark-pop-up):
1081 * register.el (register-preview): Don't bind
1082 split-height-threshold here since it's now done in
1083 display-buffer-below-selected.
1084
ed3af8a7 10852013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1086
1087 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1088 xterm-rgb-convert-to-16bit.
1089 (rxvt-register-default-colors): Standardize with
1090 xterm-register-default-colors (Bug#14078).
1091
76da3455
DK
10922013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1093
1094 * simple.el (kill-region): Pass mark first, then point, so that
1095 kill-append works right (Bug#12819).
1096 (copy-region-as-kill, kill-ring-save): Likewise.
1097
2b84d763
LL
10982013-12-17 Leo Liu <sdl.web@gmail.com>
1099
1100 * net/rcirc.el (rcirc-add-face):
1101 * eshell/em-prompt.el (eshell-emit-prompt):
1102 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1103 (Bug#16167)
1104
e2f6a0bc
CY
11052013-12-17 Chong Yidong <cyd@gnu.org>
1106
1107 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1108 Suggested by Xue Fuqiao.
1109
35b249a6
DG
11102013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1111
1112 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1113
e9145444
SM
11142013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 * net/shr.el (shr-insert-document): Remove unused var
1117 `shr-preliminary-table-render'.
1118 (shr-rescale-image): Remove unused arg `force'.
1119 (shr-put-image): Update calls accordingly.
1120 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1121
5556c0ce
DG
11222013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1123
1124 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1125 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1126 :close-all, to see which indentation method to use (Bug#16116).
1127 (smie-rules-function): Document the method :close-all.
1128
11bade0a
LMI
11292013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1130
1c4b1e61
LMI
1131 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1132
11bade0a
LMI
1133 * net/eww.el (eww-display-html): If we can't find the anchor we're
1134 looking for, then go to point-min.
1135
8fb8c4f3
PE
11362013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1137
1138 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1139 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1140 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1141 Expand dir too, in case it's relative.
1142
6c8e0ae6
JL
11432013-12-16 Juri Linkov <juri@jurta.org>
1144
1145 * desktop.el (desktop-auto-save-timeout): Change default to
1146 `auto-save-timeout'. Doc fix.
1147 (desktop-save): Skip the timestamp in desktop-saved-frameset
1148 when checking for auto-save changes.
1149 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1150 `desktop-auto-save' is called repeatedly by the idle timer.
1151 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1152 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1153 (Bug#15331)
1154
2178e858
JL
11552013-12-16 Juri Linkov <juri@jurta.org>
1156
1157 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1158 (Bug#16035)
1159 (isearch-pre-command-hook): Check `this-command' for symbolp.
1160
39cb42c6
SM
11612013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1164
5b9b750a
TZ
11652013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1166
1167 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1168 (cfengine3--current-function): Bring in the current-function
1169 functionality from `cfengine3--current-word'.
1170 (cfengine3-completion-function): Bring in the
1171 bounds-of-current-word functionality from
1172 `cfengine3--current-word'.
1173
d144ef06
MR
11742013-12-16 Martin Rudalics <rudalics@gmx.at>
1175
39cb42c6
SM
1176 * window.el (display-buffer-below-selected):
1177 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1178
a8bbe298
LL
11792013-12-16 Leo Liu <sdl.web@gmail.com>
1180
1181 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1182 Remove NOMSG arg and all uses changed.
1183
2013a2f9
SM
11842013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1187 (cua--deactivate-rectangle): Don't deactivate the mark.
1188 (cua-set-rectangle-mark): Don't set mark-active since
1189 cua--activate-rectangle already does it for us.
1190 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1191 non-rectangular region.
1192
1193 * emulation/cua-base.el (cua-repeat-replace-region):
1194 Use with-current-buffer.
1195
1196 * net/gnutls.el: Use cl-lib.
1197 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1198
5ae811dd
TZ
11992013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1200
1201 * emacs-lisp/package.el (package-built-in-p): Support both
1202 built-in and the package.el converted package descriptions.
1203 (package-show-package-list): Allow keywords.
1204 (package-keyword-button-action): Use it instead of
1205 `finder-list-matches'.
1206 (package-menu-filter-interactive): Interactive filtering (by
1207 keyword) function.
1208 (package-menu--generate): Support keywords and change keymappings
1209 and headers when they are given.
1210 (package--has-keyword-p): Helper function.
1211 (package-menu--refresh): Use it.
1212 (package--mapc): Helper function.
1213 (package-all-keywords): Use it.
1214 (package-menu-mode-map): Set up menu items and keybindings to
1215 provide a filtering UI.
1216
31b4827e
TZ
12172013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1218
1219 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1220 the behavior when a certificate fails validation. Defaults to
1221 old behavior: never abort, just warn.
1222 (gnutls-negotiate): Use it.
1223
f93cc74f
MR
12242013-12-14 Martin Rudalics <rudalics@gmx.at>
1225
1226 * window.el (display-buffer-below-selected): Never split window
1227 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1228
f77d7d17
TW
12292013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1230
1231 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1232 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1233
7514d3f8
SM
12342013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1235
aa2bddd7 1236 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1237 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1238
276bc333
DG
12392013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1240
1241 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1242 open-paren tokens when preceded by a open-paren, too.
1243 (ruby-smie-rules): Handle virtual indentation after open-paren
1244 tokens specially. If there is code between it and eol, return the
1245 column where is starts (Bug#16118).
1246
d43957f3
TZ
12472013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1248
a5c1ac0c 1249 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1250 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1251 (cfengine3--current-word): Fix parameters.
1252 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1253 (cfengine3-completion-function, cfengine3--current-function):
1254 Use `assq' for symbols.
d43957f3
TZ
1255 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1256
06a4f110
GM
12572013-12-13 Glenn Morris <rgm@gnu.org>
1258
1259 * loadup.el (load-path): Warn if site-load or site-init changes it.
1260 No more need to reset it when bootstrapping.
1261
978a5fda
TZ
12622013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1263
1264 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1265 locations for cf-promises.
1266 (cfengine-mode-syntax-functions-regex): New caching variable.
1267 (cfengine3-fallback-syntax): Fallback syntax for cases where
1268 cf-promises doesn't run.
1269 (cfengine3--current-word): Reimplement using
1270 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1271 (cfengine3-completion-function, cfengine3--current-function):
1272 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1273 (cfengine3-clear-syntax-cache): New function.
1274 (cfengine3-make-syntax-cache): Simplify and create
1275 `cfengine-mode-syntax-functions-regex' on demand.
1276 (cfengine3-format-function-docstring): Don't call
1277 `cfengine3-make-syntax-cache' explicitly.
1278
71e6691e
MR
12792013-12-13 Martin Rudalics <rudalics@gmx.at>
1280
1281 Fix windmove-find-other-window broken after pixelwise resizing
1282 (Bug#16017).
1283 * windmove.el (windmove-other-window-loc): Revert change from
1284 2013-12-04.
1285 (windmove-find-other-window): Call window-in-direction.
1286 * window.el (window-in-direction): New arguments SIGN, WRAP and
1287 MINI to emulate original windmove-find-other-window behavior.
1288
84c73ba0
DG
12892013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1290
1291 * simple.el (blink-matching--overlay): New variable.
1292 (blink-matching-open): Instead of moving point, highlight the
1293 matching paren with an overlay
1294 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1295
1296 * faces.el (paren-showing-faces, show-paren-match)
1297 (show-paren-mismatch): Move from paren.el.
1298
b9e20952
LL
12992013-12-13 Leo Liu <sdl.web@gmail.com>
1300
1301 * indent.el (indent-region): Disable progress reporter in
1302 minibuffer. (Bug#16108)
1303
1304 * bindings.el (visual-order-cursor-movement): Fix version.
1305
ce030451
FEG
13062013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1307
1308 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1309 Also match after beginning of line.
1310 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1311 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1312
4a9c6865
JL
13132013-12-13 Juri Linkov <juri@jurta.org>
1314
1315 * simple.el <Keypad support>: Remove key bindings duplicated
1316 with bindings.el. (Bug#14397)
1317
2bc170c3
JL
13182013-12-13 Juri Linkov <juri@jurta.org>
1319
1320 * comint.el (comint-mode-map): Replace `delete-char' with
1321 `delete-forward-char'. (Bug#16109)
1322
bc9222c9
FEG
13232013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1324
aa2bddd7 1325 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1326 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1327
cb3a1380
SM
13282013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1331 (advice--make): Pay attention to `depth'.
1332 (advice--make-1): Don't autoload commands eagerly.
1333 * emacs-lisp/elp.el (elp-instrument-function):
1334 * emacs-lisp/trace.el (trace-function-internal):
1335 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1336
1337 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1338
01633a17
EZ
13392013-12-12 Eli Zaretskii <eliz@gnu.org>
1340
1341 * term/w32-win.el (w32-handle-dropped-file):
1342 * startup.el (normal-top-level):
1343 * net/browse-url.el (browse-url-file-url):
1344 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1345 decode file names using 'utf-8' rather than
1346 file-name-coding-system.
1347
09faee72
FEG
13482013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1349
1350 * progmodes/python.el (python-indent-context)
1351 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1352 behavior for comment blocks. (Bug#15916)
09faee72 1353
f4f84024 13542013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1355
cb3a1380
SM
1356 * progmodes/python.el (python-indent-calculate-indentation):
1357 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1358 operators when they are just string constituents. (Bug#15812)
1359
d5ccb7be
JL
13602013-12-12 Juri Linkov <juri@jurta.org>
1361
1362 * uniquify.el (uniquify-buffer-name-style): Change default to
1363 `post-forward-angle-brackets'.
1364
1365 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1366 `uniquify'. Change default to `post-forward-angle-brackets'.
1367
7b3f5679
GM
13682013-12-11 Glenn Morris <rgm@gnu.org>
1369
1370 * emacs-lisp/package.el (finder-list-matches):
1371 Autoload rather than falsely declaring.
1372
f4fe8fdd
TZ
13732013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1374
1375 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1376 (eww-mode-map): Use them.
1377
3c29190f
MR
13782013-12-11 Martin Rudalics <rudalics@gmx.at>
1379
1380 * window.el (display-buffer-in-side-window): Fix doc-string
1381 (Bug#16115).
1382
0cd616a2
JB
13832013-12-11 Juanma Barranquero <lekktu@gmail.com>
1384
1385 * vc/vc-git.el: Silence byte-compiler warnings.
1386 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1387 (log-edit-set-header): Declare.
1388
3ef8e0d1
EZ
13892013-12-11 Eli Zaretskii <eliz@gnu.org>
1390
1391 * Makefile.in (custom-deps, finder-data): Run output file names
1392 through unmsys--file-name. (Bug#16099)
1393
afdadaf7
SM
13942013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1395
7ae3ae39 1396 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1397 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1398
5b4f37ab
SM
1399 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1400 instead of deleting the selection "by hand" (bug#16098).
1401 Rely on insert-for-yank to yank rectangles.
1402 (cua-highlight-region-shift-only): Mark obsolete.
1403 (cua-mode): Don't enable/disable transient-mark-mode,
1404 shift-select-mode (cua-mode works both with and without them), and
1405 pc-selection-mode (obsolete).
1406 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1407 (cua--deactivate-rectangle): Deactivate it.
1408
4b72c12b
SM
1409 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1410 (delete-selection-helper): Make sure yank starts at the top of the
1411 deleted region.
1412 (minibuffer-keyboard-quit): Use region-active-p.
1413
e82af72d
SM
1414 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1415
afdadaf7
SM
1416 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1417 to `delete' (bug#16109).
1418
ed4bc201
RS
14192013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1420
1421 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1422 info manual and show keybindings and set `:group' keyword.
1423
bb8097b9
JL
14242013-12-11 Juri Linkov <juri@jurta.org>
1425
1426 * delsel.el (delete-active-region): Let-bind `this-command'
1427 to prevent `kill-region' from changing its original value.
1428 (delete-selection-helper): Handle `overwrite-mode' for the type
1429 `kill' exactly the same way as for the type `t'.
1430 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1431 Support more commands. (Bug#13312)
1432
c1916ff5
JL
14332013-12-11 Juri Linkov <juri@jurta.org>
1434
1435 * bindings.el: Map kp keys to non-kp keys systematically
1436 with basic modifiers control, meta and shift. (Bug#14397)
1437
7514d3f8 14382013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1439
1440 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1441 "Close browser" menu items. Fix wrong function of "List
1442 bookmarks".
1443
4cc51eaf
JL
14442013-12-11 Juri Linkov <juri@jurta.org>
1445
1446 * misearch.el (multi-isearch-buffers): Set the value of
1447 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1448 arg of isearch-forward to t.
1449 (multi-isearch-buffers-regexp): Set the value of
1450 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1451 arg of isearch-forward-regexp to t.
1452 (multi-isearch-files): Set the value of
1453 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1454 arg of isearch-forward to t.
1455 (multi-isearch-files-regexp): Set the value of
1456 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1457 arg of isearch-forward-regexp to t. (Bug#16035)
1458
1459 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1460 arg of isearch-forward to t.
1461 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1462 arg of isearch-forward-regexp to t.
1463 (dired-isearch-filter-filenames): Remove unnecessary check for
1464 `dired-isearch-filenames'.
1465
1466 * comint.el (comint-history-isearch-backward):
1467 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1468 (comint-history-isearch-backward-regexp):
1469 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1470
ceac12b7
EZ
14712013-12-10 Eli Zaretskii <eliz@gnu.org>
1472
1473 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1474 unmsys--file-name. (Bug#16099)
1475
5a565782
TZ
14762013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1477
cb3a1380
SM
1478 * emacs-lisp/package.el (package-keyword-button-action):
1479 Remove finder.el require dependency.
5a565782 1480
a81fc7ba
TZ
14812013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1482
1483 * emacs-lisp/package.el: Require finder.el.
1484 (describe-package-1): Add keyword buttons.
1485 (package-make-button): New convenience function.
1486 (package-keyword-button-action): Keyword button action using
e0eb0550 1487 `finder-list-matches'.
a81fc7ba 1488
6aaca951
EZ
14892013-12-09 Eli Zaretskii <eliz@gnu.org>
1490
1491 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1492 last commit.
1493
a1099a91
MA
14942013-12-09 Michael Albinus <michael.albinus@gmx.de>
1495
1496 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1497 symlinked files.
1498
8212d9c0
DG
14992013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1500
1501 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1502 after the end of a percent literal.
1503
8f48d131
CD
15042013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1505
cb3a1380
SM
1506 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1507 Handle caret-delimited strings (Bug#16079).
8f48d131 1508
ff8c9764
DG
15092013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1510
cb3a1380
SM
1511 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1512 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1513 `ruby-parse-partial' (Bug#16078).
1514
d64643b4
LL
15152013-12-09 Leo Liu <sdl.web@gmail.com>
1516
1517 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1518
47e59c66
DG
15192013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1520
1521 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1522 (js-switch-indent-offset): New option.
1523 (js--proper-indentation): Use it. And handle the case when
1524 "default" is actually a key in an object literal.
1525 (js--same-line): New function.
1526 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1527 (js--indent-in-array-comp, js--array-comp-indentation):
1528 New functions.
47e59c66
DG
1529 (js--proper-indentation): Use them, to handle array comprehension
1530 continuations.
1531
974ebc9c
LL
15322013-12-08 Leo Liu <sdl.web@gmail.com>
1533
1534 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1535 (flymake-make-overlay): Remove arg MOUSE-FACE.
1536 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1537
27262e39
SM
15382013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1541 New function.
1542 (redisplay-highlight-region-function): Use it.
1543
1544 * emulation/cua-base.el (cua--explicit-region-start)
1545 (cua--last-region-shifted): Remove.
1546 (cua--deactivate): Use deactivate-mark.
1547 (cua--pre-command-handler-1): Don't handle shift-selection.
1548 (cua--post-command-handler-1): Don't change transient-mark-mode.
1549 (cua--select-keymaps): Use region-active-p rather than
1550 cua--explicit-region-start or cua--last-region-shifted.
1551 (cua-mode): Enable shift-select-mode.
1552
6407822c
LL
15532013-12-08 Leo Liu <sdl.web@gmail.com>
1554
27262e39
SM
1555 * progmodes/flymake.el (flymake-popup-current-error-menu):
1556 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1557 (flymake-posn-at-point-as-event, flymake-popup-menu)
1558 (flymake-make-emacs-menu): Remove. (Bug#16077)
1559
00a2b823
SM
15602013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1561
02033d49
SM
1562 * rect.el (rectangle-mark-mode): Activate mark even if
1563 transient-mark-mode is off (bug#16066).
1564 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1565 is > mark and at bolp.
1566
6f8dfccf
SM
1567 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1568 (region-extract-function): Use it.
1569 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1570 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1571 Delete functions.
1572 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1573 kill-ring-save, kill-region, delete-char, delete-forward-char.
1574 Ignore self-insert-iso.
1575
1576 * emulation/cua-gmrk.el (cua--init-global-mark):
1577 Ignore `self-insert-iso'.
1578
1579 * emulation/cua-base.el (cua--prefix-copy-handler)
1580 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1581 checking cua--rectangle.
1582 (cua-delete-region): Use region-extract-function.
1583 (cua-replace-region): Delete function.
1584 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1585 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1586 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1587 (cua--init-keymaps): Don't remap delete-selection commands.
1588 (cua-mode): Use delete-selection-mode instead of rolling our own
1589 (bug#16085).
1590
1591 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1592 Obey region-extract-function.
1593
00a2b823
SM
1594 Make registers and delete-selection-mode work on rectangles.
1595 * register.el (describe-register-1): Don't modify the register's value.
1596 (copy-to-register): Obey region-extract-function.
1597 * delsel.el (delete-active-region): Obey region-extract-function.
1598
a92fa5f1
LL
15992013-12-08 Leo Liu <sdl.web@gmail.com>
1600
1601 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1602 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1603 (flymake-compilation-prevents-syntax-check)
1604 (flymake-start-syntax-check-on-newline)
1605 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1606 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1607 (flymake-xml-program, flymake-master-file-dirs)
1608 (flymake-master-file-count-limit)
1609 (flymake-allowed-file-name-masks): Relocate.
1610 (flymake-makehash, flymake-float-time)
1611 (flymake-replace-regexp-in-string, flymake-split-string)
1612 (flymake-get-temp-dir): Remove.
1613 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1614 (flymake-current-row, flymake-selected-frame)
1615 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1616 related functions. (Bug#16077)
1617
73c8ceea
BB
16182013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1619
1620 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1621
faec28d9
TH
16222013-12-07 Tassilo Horn <tsdh@gnu.org>
1623
1624 * help-fns.el (describe-function-1): Use new advice-* functions
1625 rather than old ad-* functions. Fix function type description and
1626 source links for advised functions and subrs.
1627
e330b646
LMI
16282013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1629
00a2b823 1630 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1631
4803595d
MA
16322013-12-06 Michael Albinus <michael.albinus@gmx.de>
1633
1634 * progmodes/compile.el (compilation-start):
1635 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1636
1637 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1638 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1639
fa834a93
DG
16402013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1641
00a2b823
SM
1642 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1643 Touch up the last change.
fa834a93 1644
b2856a6f
LL
16452013-12-06 Leo Liu <sdl.web@gmail.com>
1646
1647 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1648 (inferior-octave-startup): Always use "octave> " for prompt.
1649 (octave-goto-function-definition)
1650 (octave-sync-function-file-names)
1651 (octave-find-definition-default-filename): Remove redundant backquotes.
1652
af67e79a
DG
16532013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1654
1655 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1656 syntax for `?'.
1657 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1658 where appropriate already.
1659 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1660 end of method names (Bug#15874).
1661
bf093209
JL
16622013-12-06 Juri Linkov <juri@jurta.org>
1663
1664 * isearch.el (isearch--saved-overriding-local-map):
1665 New internal variable.
1666 (isearch-mode): Set it to the initial value of
1667 `overriding-terminal-local-map'.
1668 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1669 with `isearch--saved-overriding-local-map'. (Bug#16035)
1670
16588fad
DG
16712013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1672
00a2b823
SM
1673 * progmodes/octave.el (inferior-octave-completion-table):
1674 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1675 (Bug#11906). Update all references.
1676
1677 * minibuffer.el (completion-table-with-cache): New function.
1678
bf4906d7
CD
16792013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1680
1681 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1682
ff69c18f
TZ
16832013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1684
1685 * net/eww.el (eww-current-source): New variable to store page
1686 source.
1687 (eww-display-html, eww-mode, eww-save-history)
1688 (eww-restore-history): Use it.
1689 (eww-view-source): New command to view page source.
1690 Opportunistically uses `html-mode' to highlight the buffer.
1691 (eww-mode-map): Install it.
1692
b85eff45
MA
16932013-12-05 Michael Albinus <michael.albinus@gmx.de>
1694
1695 * net/dbus.el (dbus-unregister-service)
1696 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1697 Fix docstring.
1698 (dbus-unregister-service): Skip :serial entries in
1699 `dbus-registered-objects-table'.
1700 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1701
39eb0899
TZ
17022013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1703
1704 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1705 around keywords with extra `split-string' argument.
1706
456760a5
MR
17072013-12-04 Martin Rudalics <rudalics@gmx.at>
1708
1709 * windmove.el (windmove-other-window-loc): Handle navigation
1710 between windows (excluding the minibuffer window - Bug#16017).
1711
81961e4c
MA
17122013-12-04 Michael Albinus <michael.albinus@gmx.de>
1713
1714 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1715 in D-Bus type syntax.
1716 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1717 preserve unibyte strings. (Bug#16048)
1718
8497f938
SM
17192013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1722 Call force-mode-line-update is the proper buffer (bug#16042).
1723
dda61916
DG
17242013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1725
1726 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1727 `log-edit-remember-comment', make argument optional. Adjust all
1728 callers.
1729 (log-edit-mode): Add `log-edit-remember-comment' to
1730 `kill-buffer-hook' locally.
1731 (log-edit-kill-buffer): Don't remember comment explicitly since
1732 the buffer is killed anyway.
1733
c085e5b9
JL
17342013-12-04 Juri Linkov <juri@jurta.org>
1735
1736 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1737 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1738
e0eb0550 17392013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1740
1741 * notifications.el (notifications-close-notification): Call the
81961e4c 1742 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1743
39fa32d6
KY
17442013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1745
1746 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1747
9139632a
JL
17482013-12-03 Juri Linkov <juri@jurta.org>
1749
1750 * progmodes/compile.el (compilation-start): Rename window alist
1751 entry `no-display-ok' to `allow-no-window'.
1752
1753 * simple.el (shell-command): Add window alist entry
1754 `allow-no-window' to `display-buffer'.
1755 (async-shell-command): Doc fix.
1756
1757 * window.el (display-buffer-no-window): New action function.
1758 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1759
0f457a37
DG
17602013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1761
1762 * vc/log-edit.el (log-edit-set-header): Extract from
1763 `log-edit-toggle-header'.
1764 (log-edit-extract-headers): Separate the summary, when extracted
1765 from header, from the rest of the message with an empty line.
1766
1767 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1768 line, if present, to the Summary header.
1769
0962f376
SM
17702013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1773 in current-buffer (bug#16029).
1774
f345395c
HE
17752013-12-02 Helmut Eller <eller.helmut@gmail.com>
1776
1777 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1778 (debugger-mode-map): Bind it.
1779 (debugger--backtrace-base): New function.
1780 (debugger-eval-expression): Use it.
1781 (debugger-frame-number): Skip local vars when present.
1782 (debugger--locals-visible-p, debugger--insert-locals)
1783 (debugger--show-locals, debugger--hide-locals): New functions.
1784
a8a15d9d
MA
17852013-12-02 Michael Albinus <michael.albinus@gmx.de>
1786
1787 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1788 "LC_ALL".
1789 (tramp-get-remote-locale): New defun.
1790 (tramp-open-connection-setup-interactive-shell): Use it.
1791
0518b057
LL
17922013-12-02 Leo Liu <sdl.web@gmail.com>
1793
1794 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1795
1796 * progmodes/sh-script.el (sh-shell-process):
1797 * progmodes/octave.el (inferior-octave-process-live-p):
1798 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1799 (gdb-inferior-io-sentinel):
1800 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1801
3adc9c6d
DG
18022013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1803
1804 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1805 `save-selected-window' to `log-edit-hide-buf'. This makes
1806 `log-edit-show-files' idempotent.
1807 (log-edit-show-files): Mark the new window as dedicated.
1808
47e8b74e
DG
18092013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1810
1811 * vc/log-edit.el (log-edit-mode-map): Add binding for
1812 `log-edit-kill-biffer'.
1813 (log-edit-hide-buf): Add a FIXME comment.
1814 (log-edit-add-new-comment): New function, extracted from
1815 `log-edit-done'.
1816 (log-edit-done, log-edit-add-to-changelog): Use it.
1817 (log-edit-kill-buffer): New command.
1818
1f6e1bb0
LMI
18192013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1820
1821 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1822 instead of killing the buffer.
1823
fb651d15
SM
18242013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1827
8feacce0
RS
18282013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1829
fb651d15 1830 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1831 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1832 (eww-form-checkbox, eww-toggle-checkbox):
1833 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1834
e0eb0550 1835 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1836 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1837 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1838 no :src tag was specified.
1839
fb651d15 1840 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1841 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1842 Use \\` to match beginning of string instead of ^.
1843 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1844 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1845
177948a5
RS
1846 * net/shr.el (shr-tag-video): Display content for video if no
1847 poster is available.
eb2dd24d 1848 (shr-tag-audio): Add support for <audio> tag.
177948a5 1849
e0eb0550 1850 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1851 (eww-process-text-input): Treat input types in
1852 `eww-text-input-types' as text.
1853
8feacce0
RS
1854 * net/shr.el (shr-tag-table): Fix comment typo.
1855
513562a1
LMI
18562013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1857
1858 * net/eww.el (eww-follow-link): New command to avoid reloading
1859 pages when we follow #target links (bug#15243).
de8a5633 1860 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1861
9dd99753
KN
18622013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1863
1864 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1865 forms.
1866
3e9876de
LMI
18672013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1868
1869 * net/eww.el (eww-restore-history): Update the window title after
1870 moving in the history.
ab6dea82 1871 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1872
52789f7f
DG
18732013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1874
1875 * vc/log-edit.el (log-edit-mode-map): Add binding for
1876 `log-edit-beginning-of-line'.
1877 (log-edit-setup-add-author): New user option.
1878 (log-edit-beginning-of-line): New command.
1879 (log-edit): Move major mode call above the contents setup so that
1880 the local variable values are already applied.
1881 (log-edit): Only insert "Author: " when
1882 `log-edit-setup-add-author' is non-nil.
1883 (log-edit): When SETUP is non-nil, position point after ": "
1884 instead of point-min.
1885
2e6710c3
GM
18862013-12-01 Glenn Morris <rgm@gnu.org>
1887
1888 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1889
fadec31f
EZ
18902013-11-30 Eli Zaretskii <eliz@gnu.org>
1891
1892 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1893 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1894 visible. (Bug#16014)
1895
10634b40 18962013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1897
1898 Support resizing frames and windows pixelwise.
1899 * cus-start.el (frame-resize-pixelwise)
1900 (window-resize-pixelwise): New entries.
1901 * emacs-lisp/debug.el (debug): Use window-total-height instead
1902 of window-total-size.
1903 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1904 * help.el (describe-bindings-internal): Call help-buffer
1905 (temp-buffer-max-width): New option.
1906 (resize-temp-buffer-window, help-window-setup)
1907 (with-help-window): Rewrite.
1908 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1909 dragging dividers.
1910 * window.el (frame-char-size, window-min-pixel-height)
1911 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1912 (window-min-pixel-width, window-safe-min-pixel-size)
1913 (window-combination-p, window-safe-min-size)
1914 (window-resizable-p, window--size-to-pixel)
1915 (window--pixel-to-size, window--resize-apply-p): New functions.
1916 (window-safe-min-height): Fix doc-string.
1917 (window-size, window-min-size, window--min-size-1)
1918 (window-sizable, window-sizable-p, window--min-delta-1)
1919 (window-min-delta, window--max-delta-1, window-max-delta)
1920 (window--resizable, window--resizable-p, window-resizable)
1921 (window-full-height-p, window-full-width-p, window-at-side-p)
1922 (window--in-direction-2, window-in-direction)
1923 (window--resize-reset-1, window--resize-mini-window)
1924 (window-resize, window-resize-no-error)
1925 (window--resize-child-windows-normal)
1926 (window--resize-child-windows, window--resize-siblings)
1927 (window--resize-this-window, window--resize-root-window)
1928 (window--resize-root-window-vertically)
1929 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1930 (maximize-window, minimize-window, delete-window)
1931 (quit-restore-window, window-split-min-size, split-window)
1932 (balance-windows-2, balance-windows)
1933 (balance-windows-area-adjust, balance-windows-area)
1934 (window--state-get-1, window-state-get, window--state-put-1)
1935 (window--state-put-2, window-state-put)
fb651d15
SM
1936 (display-buffer-record-window, window--display-buffer):
1937 Make functions handle pixelwise sizing of windows.
880e6158 1938 (display-buffer--action-function-custom-type)
fb651d15
SM
1939 (display-buffer-fallback-action):
1940 Add display-buffer-in-previous-window.
880e6158
MR
1941 (display-buffer-use-some-window): Resize window to height it had
1942 before.
1943 (fit-window-to-buffer-horizontally): New option.
1944 (fit-frame-to-buffer): Describe new values.
1945 (fit-frame-to-buffer-bottom-margin): Replace with
1946 fit-frame-to-buffer-margins.
1947 (window--sanitize-margin): New function.
1948 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1949 using window-text-pixel-size.
1950
f9b697dd
GM
19512013-11-30 Glenn Morris <rgm@gnu.org>
1952
3e2fb4db
GM
1953 * emacs-lisp/bytecomp.el (byte-compile-form):
1954 Make the `interactive-only' warning like the `obsolete' one.
1955 * comint.el (comint-run):
1956 * files.el (insert-file-literally, insert-file):
1957 * replace.el (replace-string, replace-regexp):
1958 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1959 (goto-line, insert-buffer, next-line, previous-line):
1960 Tweak `interactive-only' spec.
1961
f9b697dd
GM
1962 Stop keeping (most) generated cedet grammar files in the repository.
1963 * Makefile.in (semantic): New.
1964 (compile-main): Depend on semantic.
1965
da048127
SM
19662013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1967
7784b779
SM
1968 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1969 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1970
4e36a6a6
SM
1971 * uniquify.el (uniquify-buffer-name-style): Change default.
1972
1973 * loadup.el: Preload "uniquify".
1974
e0ba1308
SM
1975 * time.el (display-time-update): Update all mode lines (bug#15999).
1976
da048127
SM
1977 * electric.el (electric-indent-mode): Enable by default.
1978 * loadup.el: Preload "electric".
1979
015b3b3e
BB
19802013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1981
1982 * emacs-lisp/helpers.el (string-empty-p): New function.
1983 (string-blank-p): New function.
1984
7efb806d
AP
19852013-11-29 Andreas Politz <politza@hochschule-trier.de>
1986
1987 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1988 (Bug#14029).
1989
c8f0efc2
AP
19902013-11-29 Andreas Politz <politza@fh-trier.de>
1991 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1992 allow non-lambda lists as functions.
1993 (imenu--in-alist): Don't recurse into non-subalists.
1994 (imenu): Don't pass function itself as an argument (Bug#14029).
1995
bd15d9d1
SM
19962013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1997
1998 * progmodes/python.el (python-mode-map): Remove binding for ":".
1999 (python-indent-electric-colon): Remove command.
2000 (python-indent-post-self-insert-function): Integrate the previous code
2001 of python-indent-electric-colon. Make it conditional on
2002 electric-indent-mode.
2003 (python-mode): Add ?: to electric-indent-chars.
2004 Move python-indent-post-self-insert-function to the end of
2005 post-self-insert-hook.
2006
1b10adb6
SM
20072013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2008
655ab9a3
SM
2009 * doc-view.el (doc-view-goto-page): Update mode-line.
2010
1b10adb6
SM
2011 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2012
7e3bf78c
GM
20132013-11-27 Glenn Morris <rgm@gnu.org>
2014
2015 * international/charprop.el, international/uni-bidi.el:
2016 * international/uni-category.el, international/uni-combining.el:
2017 * international/uni-comment.el, international/uni-decimal.el:
2018 * international/uni-decomposition.el, international/uni-digit.el:
2019 * international/uni-lowercase.el, international/uni-mirrored.el:
2020 * international/uni-name.el, international/uni-numeric.el:
2021 * international/uni-old-name.el, international/uni-titlecase.el:
2022 * international/uni-uppercase.el:
2023 Remove generated files from VCS repository.
2024
fb6a5d68
EZ
20252013-11-27 Eli Zaretskii <eliz@gnu.org>
2026
2027 * filenotify.el (file-notify-add-watch): Don't special-case
2028 w32notify when computing the directory to watch.
2029
cb6c95a3
GM
20302013-11-27 Glenn Morris <rgm@gnu.org>
2031
20372d0c
GM
2032 Make bootstrap without generated uni-*.el files possible again.
2033 * loadup.el: Update command-line-args checking for unidata-gen.
2034 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2035 * composite.el, international/characters.el:
2036 Handle unicode tables being undefined.
2037
52d6635f 2038 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2039 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2040 (compile-main): Depend on leim rule.
2041 (leim): New rule.
2042 * loadup.el: Move leim-list.el to leim/ subdirectory.
2043 * startup.el (normal-top-level): No more leim directory.
2044 * international/ja-dic-cnv.el (skkdic-convert):
2045 Disable version-control and autoloads in output files.
2046 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2047 Disable version-control and autoloads in output files.
2048 * leim/quail: Move here from ../leim.
2049 * leim/quail/hangul.el (hangul-input-method-activate):
2050 Add autoload cookie.
2051 (generated-autoload-load-name): Set file-local value.
2052 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2053 (generated-autoload-load-name): Set file-local value.
2054
7514d3f8 20552013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2056
e0eb0550 2057 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2058 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2059 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2060
0e2c793f
EZ
20612013-11-26 Eli Zaretskii <eliz@gnu.org>
2062
2063 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2064 reading output from Diff on MS-Windows and MS-DOS.
2065
447bdcb8
BB
20662013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2067
2068 * emacs-lisp/helpers.el (string-reverse): New function.
2069
5fbf6856
MA
20702013-11-26 Michael Albinus <michael.albinus@gmx.de>
2071
2072 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2073 names on MS Windows, like "/[::1]:".
2074
2075 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2076 SWITCHES.
2077
624780f0
GM
20782013-11-26 Glenn Morris <rgm@gnu.org>
2079
0bf3f0fa
GM
2080 * progmodes/python.el (python-indent-guess-indent-offset):
2081 Avoid corner-case error. (Bug#15975)
2082
624780f0
GM
2083 Preload leim-list.el. (Bug#4789)
2084 * loadup.el: Load leim-list.el when found.
2085 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2086
4301875e 20872013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2088
2089 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2090
4301875e
BB
2091 * emacs-lisp/helpers.el (string-join): New function.
2092
1633a815 20932013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2094
2095 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2096 Mark as obsolete and replace it with a symbol property.
2097 (byte-compile-form): Use new 'interactive-only property.
2098 * comint.el, files.el, replace.el, simple.el:
2099 Apply new 'interactive-only properly.
2100
00139435
MR
21012013-11-25 Martin Rudalics <rudalics@gmx.at>
2102
2103 * window.el (display-buffer-at-bottom): Make sure that
2104 split-window-sensibly creates the new window on bottom
2105 (Bug#15961).
2106
5f5b128d
DK
21072013-11-23 David Kastrup <dak@gnu.org>
2108
2109 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2110 on the conflict markers when available.
2111 (smerge--get-marker): New function.
2112 (smerge-end-re, smerge-base-re): Add subgroup.
2113
623891e5
SM
21142013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * frame.el (handle-focus-in, handle-focus-out): Add missing
2117 interactive spec.
2118
05ca27d8
MA
21192013-11-25 Michael Albinus <michael.albinus@gmx.de>
2120
2121 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2122 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2123
511fa0d3
SM
21242013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2125
e82ad66c
SM
2126 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2127 (gomoku--last-pos): New var.
2128 (gomoku--intangible-chars): New const.
2129 (gomoku--intangible): New function.
2130 (gomoku-mode): Use it. Derive from special-mode.
2131 (gomoku-move-up): Adjust line count.
2132 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2133 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2134 Simplify accordingly.
2135
511fa0d3
SM
2136 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2137 Remove blink-cursor code.
2138 (blink-cursor-timer-function, blink-cursor-suspend):
2139 Don't special-case GUIs.
2140 (blink-cursor-mode): Use focus-in/out-hook.
2141
6f20dd03
DG
21422013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2143
2144 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2145 work when annotation is invisible (Bug#13886).
2146
431dec31 21472013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2148
2149 * json.el (json-alist-p): Only return non-nil if the alist has
2150 simple keys (Bug#13518).
2151
431dec31 21522013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2153
2154 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2155 when control-statement is the first statement in a buffer (Bug#15956).
2156
ee4f0261
DG
21572013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2158
2159 * imenu.el (imenu-generic-skip-comments-and-strings):
2160 New option (Bug#15560).
2161 (imenu--generic-function): Use it.
2162
c484f866
JS
21632013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2164
e9dc713d
JB
2165 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2166 (Bug#13898)
c484f866 2167
41ce6f70
BB
21682013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2169
b55aea38
BB
2170 * emacs-lisp/helpers.el: Add some string helpers.
2171 (string-trim-left): Removes leading whitespace.
2172 (string-trim-right): Removes trailing whitespace.
2173 (string-trim): Removes leading and trailing whitespace.
2174
41ce6f70
BB
2175 * subr.el (string-suffix-p): New function.
2176
3cfb6af3
GM
21772013-11-23 Glenn Morris <rgm@gnu.org>
2178
2179 * progmodes/python.el (python-shell-send-file):
2180 Add option to delete file when done. (Bug#15647)
2181 (python-shell-send-string, python-shell-send-region): Use it.
2182
c27924b7
IS
21832013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2184
e1b01c7f
IS
2185 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2186 to set buffer-read-only to t, never to nil. (Bug#15938)
2187
c27924b7
IS
2188 * textmodes/tex-mode.el (latex-noindent-environments):
2189 Add safe-local-variable property. (Bug#15936)
2190
17e0445b
GM
21912013-11-23 Glenn Morris <rgm@gnu.org>
2192
92f78ea3
GM
2193 * textmodes/enriched.el (enriched-mode): Doc fix.
2194 * emacs-lisp/authors.el (authors-renamed-files-alist):
2195 Add enriched.doc -> enriched.txt.
2196
17e0445b
GM
2197 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2198
965bb23a
LL
21992013-11-22 Leo Liu <sdl.web@gmail.com>
2200
2201 * progmodes/octave.el (inferior-octave-startup): Spit out error
2202 message.
2203
d19ffd64
BB
22042013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2205
2206 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2207 Improve docstring.
15ba2182
BB
2208 Add :version.
2209 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2210
7a7567d2
LL
22112013-11-22 Leo Liu <sdl.web@gmail.com>
2212
2213 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2214 (Bug#15076)
8c09f64b
LL
2215 (octave-help-mode): Adapt to change to help-mode-finish to use
2216 derived-mode-p on 2013-09-17.
2217 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2218 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2219
724bc265
LL
22202013-11-22 Leo Liu <sdl.web@gmail.com>
2221
2222 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2223 (inferior-octave-startup, inferior-octave-check-process)
2224 (inferior-octave-track-window-width-change)
2225 (octave-completion-at-point, octave-eldoc-function): Use it.
2226 (octave-kill-process): Provide confirmation. (Bug#10564)
2227
38637cca
LL
22282013-11-21 Leo Liu <sdl.web@gmail.com>
2229
511fa0d3
SM
2230 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2231 Fix obsolete variable comment-use-global-state.
38637cca 2232
06e752b4
RS
22332013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2234
511fa0d3
SM
2235 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2236 Add `octave-source-file'.
06e752b4
RS
2237 (octave-source-file): New function. (Bug#15935)
2238
7514d3f8 22392013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2240
2241 * net/eww.el (eww-local-regex): New variable.
2242 (eww): Use it to detect localhost and similar.
2243
b6ffa04a
LL
22442013-11-21 Leo Liu <sdl.web@gmail.com>
2245
2246 Add completion for command `ag'.
2021a200
LL
2247 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2248 (pcomplete/ag): New function.
e9dc713d 2249 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2250
d1a6bccc
SM
22512013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2254 (bug#14646).
2255 (make-obsolete): Remove interactive spec.
2256
2df10228
GM
22572013-11-21 Glenn Morris <rgm@gnu.org>
2258
2259 * startup.el (command-line-1): Use path-separator with -L.
2260
86fd16b6
TZ
22612013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2262
2263 * emacs-lisp/package.el (describe-package-1): Add package archive
2264 to shown fields.
2265
0449d6cd 22662013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2267
2268 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2269 Change default to "# encoding: %s" to differentiate it from the
2270 default Ruby encoding comment template.
2271
dc7e8c17 22722013-11-20 era eriksson <era+emacsbugs@iki.fi>
2273
2274 * ses.el (ses-mode): Doc fix. (Bug#14748)
2275
f0cfa5fe
LL
22762013-11-20 Leo Liu <sdl.web@gmail.com>
2277
2278 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2279
826dc7b6
DN
22802013-11-19 Dan Nicolaescu <dann@gnu.org>
2281
2282 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2283 when rebase or bisect are in progress.
2284
a6e3a5d5
XF
22852013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2286
2287 * filenotify.el (file-notify-add-watch): Doc fix.
2288
f130cb76
LL
22892013-11-19 Leo Liu <sdl.web@gmail.com>
2290
e0855d7d
LL
2291 * obsolete/rcompile.el: Mark obsolete.
2292
f130cb76 2293 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2294 (compilation-goto-locus, compilation-find-file):
2295 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2296 (Bug#13594)
2297
2298 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2299 new parameter no-display-ok. Return either a window or nil
2300 but never a non-window value.
f130cb76 2301
1f35d401
SM
23022013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2303
25158c76
SM
2304 * electric.el (electric-indent-mode-map): Remove.
2305 (electric-indent-mode): Change the global-map instead (bug#15915).
2306
2307 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2308 Use add-function.
1f35d401 2309
9bc67baa
SM
23102013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2311
986545b5
SM
2312 * emacs-lisp/nadvice.el (remove-function): Align with
2313 add-function's behavior.
2314
9bc67baa
SM
2315 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2316 (gdb--string-regexp): New constant.
2317 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2318 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2319 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2320 submatch 1.
2321 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2322 Adjust use accordingly.
2323 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2324
56cd894e
AS
23252013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2326
2327 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2328 interpolation curlies (Bug#15914).
2329
014690de
JB
23302013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2331
2332 * calc/calc.el (calc-context-sensitive-enter): New variable.
2333 (calc-enter): Use `calc-context-sensitive-enter'.
2334
7e26a6c3
TZ
23352013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2336
2337 * progmodes/cfengine.el: Version bump.
2338 (cfengine-cf-promises): New defcustom to locate cf-promises.
2339 (cfengine3-vartypes): Add new "data" type.
2340 (cfengine3--current-word): New function to get current name-like
2341 word or its bounds.
2342 (cfengine3--current-function): New function to look up a CFEngine
2343 function's definition.
2344 (cfengine3-format-function-docstring): New function.
2345 (cfengine3-make-syntax-cache): New function.
2346 (cfengine3-documentation-function): New function: ElDoc glue.
2347 (cfengine3-completion-function): New function: completion glue.
2348 (cfengine3-mode): Set `compile-command',
2349 `eldoc-documentation-function', and add to
2350 `completion-at-point-functions'.
2351
355204dd
MA
23522013-11-16 Michael Albinus <michael.albinus@gmx.de>
2353
2354 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2355 `tramp-current-connection'.
2356
43cebc23
DG
23572013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2358
2359 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2360 nil/self/true/false with "end of symbol".
2361
a3fed6ff
BB
23622013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2363
2364 * subr.el (version-regexp-alist): Fix a typo.
2365
e675b3e4
MA
23662013-11-15 Michael Albinus <michael.albinus@gmx.de>
2367
2368 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2369 "en_US.utf8" and "LC_CTYPE" to "".
2370 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2371 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2372
a1f03e89
LL
23732013-11-15 Leo Liu <sdl.web@gmail.com>
2374
2375 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2376
5d9d9451
SM
23772013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2378
58362662
CS
2379 * progmodes/gud.el (ctl-x-map):
2380 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2381 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2382
6c1bf086
BB
23832013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2384
0d5363c4
BB
2385 * subr.el (version-regexp-alist):
2386 Recognize hg, svn and darcs versions as snapshot versions.
2387
4e9fc48c
BB
2388 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2389 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2390 (ruby--encoding-comment-required-p): Extract from
2391 `ruby-mode-set-encoding'.
2392 (ruby-mode-set-encoding): Add the ability to always insert an
2393 utf-8 encoding comment. Fix and simplify coding comment update
2394 logic.
6c1bf086 2395
2f7e72f8
MA
23962013-11-14 Michael Albinus <michael.albinus@gmx.de>
2397
2398 * net/tramp-gvfs.el (top): Run init code only when
2399 `tramp-gvfs-enabled' is not nil.
2400 (tramp-gvfs-enabled): Check also :system bus.
2401
0f137a73
SM
24022013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 Sync with upstream verilog-mode revision 78e66ba.
2405 * progmodes/verilog-mode.el (verilog-end-of-defun)
2406 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2407 (verilog-get-end-of-defun): Remove unused argument.
2408 (verilog-comment-depth): Remove unused local `e'.
2409 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2410 Don't pass arg to verilog-get-end-of-defun.
2411
1c276bdd
GM
24122013-11-14 Glenn Morris <rgm@gnu.org>
2413
2414 * obsolete/assoc.el (aget): Prefix dynamic variable.
2415
2416 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2417
ff6ec81d
SM
24182013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * widget.el, hfy-cmap.el: Remove bogus package version number.
2421
75f777b6
GM
24222013-11-13 Glenn Morris <rgm@gnu.org>
2423
1d43dba1
GM
2424 * replace.el (replace-eval-replacement):
2425 Try to give more helpful error message. (Bug#15836)
2426
ff4b7bd5
GM
2427 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2428 (archive-7z-update): Avoid custom type mismatches.
2429
75f777b6
GM
2430 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2431
11151a06
MA
24322013-11-13 Michael Albinus <michael.albinus@gmx.de>
2433
e675b3e4 2434 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2435 address can be empty.
2436
2437 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2438 Accept nil SWITCHES.
2439 (tramp-gvfs-handle-write-region): Implement APPEND.
2440
7b08f97e
DG
24412013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2442
2443 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2444 binary "|" operator and closing block args delimiter.
2445 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2446 (ruby-smie--implicit-semi-p): Not after "|" operator.
2447 (ruby-smie--closing-pipe-p): New function.
2448 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2449 (ruby-smie-rules): Indent after "|".
2450
f201cf3a
GM
24512013-11-12 Glenn Morris <rgm@gnu.org>
2452
2453 * ps-print.el (ps-face-attribute-list):
2454 Handle anonymous faces. (Bug#15827)
2455
e6f759f9
MR
24562013-11-12 Martin Rudalics <rudalics@gmx.at>
2457
2458 * window.el (display-buffer-other-frame): Fix doc-string.
2459 (Bug#15868)
2460
ecda65d4
SM
24612013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2464
7ce8fcc3
MA
24652013-11-11 Michael Albinus <michael.albinus@gmx.de>
2466
2467 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2468 (tramp-sh-handle-file-local-copy): Don't write a message when
2469 saving temporary files.
2470
2471 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2472 both directories are remote.
2473 (tramp-smb-handle-directory-files): Do not return double entries.
2474 Do not expand full file names.
2475 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2476 (tramp-smb-handle-write-region): Implement APPEND.
2477 (tramp-smb-get-stat-capability): Fix a stupid bug.
2478
7818df11
SM
24792013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2482
608c2085
NT
24832013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2484
2485 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2486 throwing error over malformed let/let* (bug#15814).
2487
122a7e46
SM
24882013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2489
2490 * iswitchb.el (iswitchb-mode): Mark obsolete.
2491
766284d9
GM
24922013-11-11 Glenn Morris <rgm@gnu.org>
2493
2494 * international/uni-bidi.el, international/uni-category.el:
2495 * international/uni-name.el, international/uni-numeric.el:
2496 Regenerate for Unicode 6.3.0.
2497
7072a4e9
MA
24982013-11-10 Michael Albinus <michael.albinus@gmx.de>
2499
2500 * net/tramp.el (tramp-methods):
2501 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2502 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2503
c9df215b
AS
25042013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2505
608c2085
NT
2506 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2507 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2508
fa47d796
DG
25092013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2510
2511 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2512 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2513 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2514 (ispell-complete-word): Call `ispell-lookup-words' with the value
2515 independent of `ispell-look-p'.
2516
1629a329
DG
25172013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2518
2519 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2520 Not after "||".
2521 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2522 their parent.
2523
ad16897c
SM
25242013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2527 (ruby-font-lock-keywords): Use backquote.
2528
ffa2df72
DG
25292013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2530
2531 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2532 (ruby-smie--backward-token): Only consider full-string matches.
2533
5b97b4c0
JD
25342013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2535
2536 * faces.el (describe-face): Add distant-foreground.
2537
71731c03
BB
25382013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2539
4e9fc48c
BB
2540 * progmodes/ruby-mode.el: Improve encoding comment handling.
2541 (ruby-encoding-magic-comment-style): New option.
2542 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2543 (ruby--insert-coding-comment, ruby--detect-encoding):
2544 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2545 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2546 to control the style of the auto-inserted encoding comment.
71731c03 2547
da3b328d
DG
25482013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2549
ad16897c
SM
2550 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2551 Use `smie-backward-sexp' with token argument.
da3b328d 2552
1606c2d3
MA
25532013-11-08 Michael Albinus <michael.albinus@gmx.de>
2554
2555 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2556 Remove instrumentation code.
2557
b0f4c320
GM
25582013-11-08 Glenn Morris <rgm@gnu.org>
2559
2560 * progmodes/autoconf.el (autoconf-mode):
2561 Tweak comment-start-skip. (Bug#15822)
2562
43668fb1
SM
25632013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2566 at bobp (bug#15826).
2567 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2568
daddb3fd
DH
25692013-11-08 Darren Hoo <darren.hoo@gmail.com>
2570
2571 * man.el (Man-start-calling): New macro, extracted from
2572 Man-getpage-in-background.
2573 (Man-getpage-in-background): Use it.
2574 (Man-update-manpage): New command.
2575 (Man-mode-map): Bind it.
2576
1f923923
DG
25772013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2578
2579 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2580 of "and", "or", "&&" and "||".
2581 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2582 argument. Prohibit opening curly brace because it could only be a
2583 block opener in that position.
daddb3fd
DH
2584 (ruby-smie--forward-token, ruby-smie--backward-token):
2585 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2586 arguments.
2587 (ruby-smie--indent-to-stmt): New function, seeks the end of
2588 previous statement or beginning of buffer.
2589 (ruby-smie-rules): Use it.
2590 (ruby-smie-rules): Check if there's a ":" before a curly block
2591 opener candidate; if there is, it's a hash.
2592
3220d527
SM
25932013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2594
2595 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2596 (cl--block-wrapper): Fix last accidental change.
2597
1eb1f9e0
MA
25982013-11-07 Michael Albinus <michael.albinus@gmx.de>
2599
2600 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2601 Instrument, in order to hunt failure on hydra.
2602
e6e4db3c
NT
26032013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2604
2605 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2606 malformed bindings form (bug#15814).
2607
b420ccfc
DG
26082013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2609
2610 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2611 "." compared to " @ ". This incidentally fixes some indentation
2612 examples with "do".
e6e4db3c 2613 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2614 (ruby-smie-grammar): New tokens: "and" and "or".
2615 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2616 Exclude "and" and "or". Remove "do" in order to work around token
2617 priorities.
2618 (ruby-smie-rules): Add all infix tokens. Handle the case of
2619 beginning-of-buffer.
b420ccfc 2620
6b4ac03e
GM
26212013-11-06 Glenn Morris <rgm@gnu.org>
2622
2623 * Makefile.in (setwins_almost, setwins_for_subdirs):
2624 Avoid accidental matches.
2625
5ca114d1
SM
26262013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2627
2628 * menu-bar.el (popup-menu): Use key-binding.
2629
f72552bd
EZ
26302013-11-06 Eli Zaretskii <eliz@gnu.org>
2631
2632 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2633 menus, support also the menus produced by minor modes.
2634 (Bug#15817)
2635
5d5c701e
LL
26362013-11-06 Leo Liu <sdl.web@gmail.com>
2637
2638 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2639 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2640
0a8b75e2
GM
26412013-11-06 Glenn Morris <rgm@gnu.org>
2642
2643 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2644 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2645 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2646
a35287ea
SM
26472013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2648
feca4e2d
SM
2649 * electric.el (electric-indent-just-newline): New command.
2650 (electric-indent-mode-map): New keymap.
2651 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2652 Re-add :group which weren't redundant.
2653
a35287ea
SM
2654 * electric.el (electric-indent-local-mode): New minor mode.
2655 (electric-indent-functions-without-reindent): New var.
2656 (electric-indent-post-self-insert-function): Use it.
2657 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2658
375761b2
EZ
26592013-11-05 Eli Zaretskii <eliz@gnu.org>
2660
9a6ad735
EZ
2661 * international/quail.el (quail-help): Be more explicit about the
2662 meaning of the labels shown on the keys. (Bug#15800)
2663
375761b2
EZ
2664 * startup.el (normal-top-level): Load the subdirs.el files before
2665 setting the locale environment. (Bug#15805)
2666
520a6e4a
SM
26672013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2668
0acfafef
SM
2669 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2670 via arguments so as to get the right ones (bug#15418).
2671
520a6e4a
SM
2672 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2673
15826261
MA
26742013-11-05 Michael Albinus <michael.albinus@gmx.de>
2675
2676 Fix problems found while writing a test suite.
2677
2678 * net/tramp-compat.el (tramp-compat-load): New defun.
2679 * net/tramp.el (tramp-handle-load): Use it.
2680
2681 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2682 "(numberp ok-if-already-exists)" correctly.
2683
d35f31a4
XF
26842013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2685
2686 * international/characters.el (glyphless-char-display-control):
2687 Add usage note.
2688
ae93bc74
BB
26892013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2690
520a6e4a
SM
2691 * progmodes/python.el (python-mode):
2692 * progmodes/scheme.el (scheme-mode):
2693 * progmodes/prolog.el (prolog-mode):
2694 * progmodes/ruby-mode.el (ruby-mode):
2695 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2696 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2697
0ade65b5
SM
26982013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2699
a0d5f7a4
SM
2700 * rect.el (rectangle--highlight-for-redisplay):
2701 * emacs-lisp/smie.el (smie--next-indent-change):
2702 Use buffer-chars-modified-tick.
2703
c93f3f5c
SM
2704 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2705
0ade65b5
SM
2706 * electric.el (electric-indent-post-self-insert-function):
2707 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2708
ef9dd188
HE
27092013-11-04 Helmut Eller <eller.helmut@gmail.com>
2710
2711 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2712
306e7308
NT
27132013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2714
2715 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2716 (bug#15786).
2717
e5afbcac
SM
27182013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2719
1d01ad41
SM
2720 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2721
e5afbcac
SM
2722 * progmodes/python.el: Fix up last change.
2723 (python-shell--save-temp-file): New function.
2724 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2725 `string' comes from the current buffer.
2726 (python-shell-send-string-no-output): Remove `msg' arg.
2727 (python--use-fake-loc): New var.
2728 (python-shell-buffer-substring): Obey it. Try to compensate for the
2729 extra coding line added by python-shell--save-temp-file.
2730 (python-shell-send-region): Use python-shell--save-temp-file and
2731 python-shell-send-file directly. Add `nomain' argument.
2732 (python-shell-send-buffer): Use python-shell-send-region.
2733 (python-electric-pair-string-delimiter): New function.
2734 (python-mode): Use it.
2735
d0065ff1
EZ
27362013-11-04 Eli Zaretskii <eliz@gnu.org>
2737
2738 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2739 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2740 environment and decoding all of the default-directory's to here
2741 from command-line.
2742 (command-line): Decode also argv[0].
2743
2744 * loadup.el: Error out if default-directory is a multibyte string
2745 when we are dumping.
2746
2747 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2748
7397c587
TZ
27492013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2750
2751 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2752 (package-menu--print-info, package-menu--archive-predicate):
2753 Add Archive column to package list.
7397c587 2754
b27cc9fc
MA
27552013-11-04 Michael Albinus <michael.albinus@gmx.de>
2756
2757 Fix problems found while writing a test suite.
2758
2759 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2760 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2761 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2762 to nil when running original file name handler. Otherwise,
2763 there are problems with constructs like "$$FOO".
2764
2765 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2766 for `localname'.
2767
d8c4f18a
BB
27682013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2769
7b530552
BB
2770 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2771
2772 * subr.el (version<, version<=, version=):
2773 Update docstrings with information for snapshot versions.
2774
d8c4f18a
BB
2775 * helpers.el: New library for misc helper functions.
2776 (hash-table-keys): New function returning a list of hash keys.
2777 (hash-table-values): New function returning a list of hash values.
2778
dca01b09
DG
27792013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2780
2781 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2782 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2783
0a749fa0
MN
27842013-11-04 Michal Nazarewicz <mina86@mina86.com>
2785
2786 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2787 checking whether point is after a 1-letter word.
2788
27892013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2790
2791 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2792 Don't infloop when expanding region over `multiline' syntax-type that
2793 begins a line (bug#15778).
2794
4aca7145
SM
27952013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2798 Make it into a proper minor mode.
2799 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2800 (rectangle-mark-mode-map): New keymap.
2801 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2802
a0833f62
GM
28032013-11-04 Glenn Morris <rgm@gnu.org>
2804
2805 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2806
e61845c1
SM
28072013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2810 (ruby-smie-rules): Use smie-rule-parent instead.
2811
2812 * emacs-lisp/smie.el (smie-rule-parent): Always call
2813 smie-indent-virtual rather than only for hanging tokens.
2814 (smie--next-indent-change): New helper command.
2815
62942f89
GM
28162013-11-03 Glenn Morris <rgm@gnu.org>
2817
2818 * Makefile.in (abs_srcdir): Remove.
2819 (emacs): Unset EMACSLOADPATH.
2820
b0b9e592
GM
28212013-11-02 Glenn Morris <rgm@gnu.org>
2822
18ba6a33 2823 * Makefile.in (EMACS): Use a relative filename.
8061810d 2824 (abs_top_builddir): Remove.
18ba6a33
GM
2825 (custom-deps, finder-data, autoloads): Use --chdir.
2826
6a8b929e
GM
2827 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2828
c617f3d0
GM
2829 Use relative filenames in TAGS files.
2830 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2831 (lisptagsfiles4, TAGS): Use relative file names.
2832 (TAGS-LISP): Remove.
2833 (maintainer-clean): No more TAGS-LISP file.
2834
b0b9e592
GM
2835 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2836 (lisptagsfiles4): Use absolute filenames again.
2837 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2838 Remove all *loaddefs files, not just the first. Remove esh-groups.
2839 (maintainer-clean): Delete TAGS, TAGS-LISP.
2840
d1c0ea6a
BB
28412013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2842
e61845c1
SM
2843 * emacs-lisp/package.el (package-version-join):
2844 Recognize snapshot versions.
d1c0ea6a 2845
684d71c6
BB
28462013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2847
2848 * subr.el (version-regexp-alist): Add support for snapshot versions.
2849
3d42b968
DG
28502013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2851
e61845c1
SM
2852 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2853 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2854 skip over our direct parent if it's an assignment token..
2855 (ruby-smie-rules): Use it.
2856
7ffd3721
DG
28572013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2858
8449dd1f 2859 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2860 unconditionally. Remove now unnecessary forward declarations.
2861 Remove XEmacs-specific setup.
2862 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2863 (ruby-font-lock-syntactic-keywords)
2864 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2865 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2866 (ruby-here-doc-end-syntax): Remove.
2867 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2868 defined as function.
2869
a3996a2e
BB
28702013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2871
2872 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2873
6f9260e8
BB
28742013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2875
2876 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2877 table and abbrev table, `define-derived-mode' does that for us
2878 anyway.
2879
6014de84
GM
28802013-11-01 Glenn Morris <rgm@gnu.org>
2881
2882 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2883 files is atomic for some time, so no parallel compilation issues).
2884
3c334c14
JD
28852013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2886
2887 * faces.el (face-x-resources): Add :distant-foreground.
2888 (region): Use :distant-foreground for gtk and ns.
2889
9bc236c8
TH
28902013-11-01 Tassilo Horn <tsdh@gnu.org>
2891
5246583b 2892 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2893 BibTeX.
2894 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2895 (reftex-locate-bibliography-files): Us it.
2896
d14c81ee
CB
28972013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2898
0e7690de
CB
2899 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2900 allow comments in pbm files.
2901
d14c81ee
CB
2902 * term/w32-win.el (dynamic-library-alist): Support newer versions
2903 of libjpeg starting with v7: look only for the DLL from the
2904 version against which Emacs was built.
ac1bf374 2905 Support versions of libpng beyond 1.4.x.
019c8218 2906 Support libtiff v4.x.
d14c81ee 2907
983d0df5
BB
29082013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2909
2910 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2911 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2912 Add property :safe.
2913 (ruby-deep-arglist): Add property :type.
2914
47f58d85
GM
29152013-10-31 Glenn Morris <rgm@gnu.org>
2916
2917 * Makefile.in (custom-deps, finder-data): No need to setq the target
2918 variables, we are in the right directory and the defaults work fine.
2919
4f85b479
GM
29202013-10-30 Glenn Morris <rgm@gnu.org>
2921
ca7dd4cd
GM
2922 * Makefile.in (autoloads): Do not use abs_lisp.
2923
4f85b479
GM
2924 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2925 `newline' does not respect `standard-output', so use `princ'.
2926
cf59e41c
AA
29272013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2928
2929 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2930 * buff-menu.el (Buffer-menu--unmark): New function.
2931 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2932
74cf04fb
GM
29332013-10-30 Glenn Morris <rgm@gnu.org>
2934
b040b60e
GM
2935 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2936
f53d3815
GM
2937 * emacs-lisp/package.el (lm-homepage): Declare.
2938
5413d873
GM
2939 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2940 Fix doc typos.
2941
cecedb36
GM
2942 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2943
74cf04fb
GM
2944 * Makefile.in (finder-data, autoloads, update-subdirs)
2945 (compile-main, compile-clean, compile-always, bootstrap-clean):
2946 Check return value of cd.
2947 (compile-calc): Remove.
2948
195ee2f0
SM
29492013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2950
ae4002ce
SM
2951 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2952
2953 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2954 (byte-compile-and-folded): New function.
2955 (=, <, >, <=, >=): Use it.
2956
2957 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2958 (path-separator, null-device, buffer-file-coding-system)
2959 (lpr-headers-switches): Check system-type before modifying them.
2960 (find-buffer-file-type-coding-system): Mark obsolete.
2961 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2962 find-file-not-found-set-buffer-file-coding-system.
2963 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2964 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2965 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2966 (w32-direct-print-region-helper, w32-direct-print-region-function)
2967 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2968 * startup.el (normal-top-level-add-subdirs-to-load-path):
2969 * ps-print.el (ps-print-region-function):
2970 * lpr.el (print-region-function): Use new name.
2971
53b39e89
SM
2972 * subr.el (custom-declare-variable-early): Remove function.
2973 (custom-declare-variable-list): Remove var.
2974 (error, user-error): Remove `while' loop.
2975 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2976 (user-emacs-directory-warning, locate-user-emacs-file):
2977 Move to files.el.
2978 * simple.el (read-quoted-char-radix, read-quoted-char):
2979 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2980 Move from subr.el.
2981 * custom.el (custom-declare-variable-list): Don't process
2982 custom-declare-variable-list.
2983
195ee2f0
SM
2984 * progmodes/python.el (python-shell-get-buffer): New function.
2985 (python-shell-get-process): Use it.
2986 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2987 Python which encoding was used. Don't split-string since we only care
2988 about the first line. Return the temp-file, if applicable.
2989 (python-shell-send-region): Tell compile.el how to turn locations in
2990 the temp-file into locations in the source buffer.
2991
7e3561ee
SM
29922013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2993
4c9797cb
SM
2994 * subr.el (undefined): Add missing behavior from the C code for
2995 unbound keys.
2996
3472b6c6
SM
2997 * rect.el: Use lexical-binding. Add new rectangular region support.
2998 (rectangle-mark): New command.
2999 (rectangle--region): New var.
3000 (deactivate-mark-hook): Reset rectangle--region.
3001 (rectangle--extract-region, rectangle--insert-for-yank)
3002 (rectangle--highlight-for-redisplay)
3003 (rectangle--unhighlight-for-redisplay): New functions.
3004 (region-extract-function, redisplay-unhighlight-region-function)
3005 (redisplay-highlight-region-function): Use them to handle
3006 rectangular region.
3007 * simple.el (region-extract-function): New var.
3008 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3009 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3010 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3011 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3012 (redisplay-unhighlight-region-function)
3013 (redisplay-highlight-region-function): New vars.
3014 (redisplay--update-region-highlight): New function.
3015 (pre-redisplay-function): Use it.
3016 (exchange-point-and-mark): Don't deactivate the mark before
3017 reactivate-it anyway.
3018 * comint.el (comint-kill-region): Remove yank-handler argument.
3019 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3020 (delete-char): Remove property, since it's now part of their
3021 default behavior.
3022 (self-insert-iso): Remove property since this command doesn't exist.
3023
7e3561ee
SM
3024 * emacs-lisp/package.el (package--download-one-archive)
3025 (describe-package-1): Don't query the user about final newline.
3026
b9bef71f
DC
30272013-10-29 Daniel Colascione <dancol@dancol.org>
3028
3029 * net/tramp.el (tramp-methods): Document new functionality.
3030 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3031 tramp-hostname-checker if method provides one instead of scanning
3032 argument list for "%h" to decide hostname acceptability.
3033
4efc33f0
MA
30342013-10-28 Michael Albinus <michael.albinus@gmx.de>
3035
3036 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3037 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3038 Handle COPY-CONTENTS. (Bug#15737)
3039
ed42a877
DU
30402013-10-28 Daiki Ueno <ueno@gnu.org>
3041
3042 * epa-file.el
7e3561ee
SM
3043 (epa-file-cache-passphrase-for-symmetric-encryption):
3044 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3045
18c9f8a2
XF
30462013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3047
7a4bc7be
XF
3048 * image.el (defimage):
3049 (image-load-path): Doc fixes.
18c9f8a2 3050
b1e8e010
AM
30512013-10-27 Alan Mackenzie <acm@muc.de>
3052
3053 Indent statements in macros following "##" correctly.
7e3561ee
SM
3054 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3055 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3056
73d40d1e 30572013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3058
3059 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3060
c8c605ac
DG
30612013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3062
3063 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3064 after `=' is probably a new expression.
3065
ca7e59d4
RS
30662013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3067
3068 * man.el (man-imenu-title): New option.
3069 (Man-mode-map): Add menu. (Bug#15722)
3070 (Man-mode): Add imenu to menu.
3071
bae91342
DG
30722013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3073
3074 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3075 specific in what the first arg can be: a non-keyword word,
3076 string/regexp/percent literal opener, opening paren, or unary
3077 operator followed directly by word.
3078
eb89dc14
SM
30792013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3082 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3083 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3084 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3085 Remove vars, they do not apply any more.
3086 (prolog-mode-abbrev-table): Remove redundant declaration.
3087 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3088 (prolog-use-smie): Remove.
3089 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3090 supported by prolog-electric-if-then-else-flag.
3091 (prolog-mode-variables, prolog-menu): Use setq-local.
3092 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3093 Remove binding to `Backspace' since this key doesn't exist anyway.
3094 Remove bindings for electric self-inserting keys.
3095 (prog-mode): Assume it's defined.
3096 (prolog-post-self-insert): New function.
3097 (prolog-mode): Use it.
3098 (prolog-indent-line, prolog-indent-level)
3099 (prolog-find-indent-of-matching-paren)
3100 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3101 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3102 (prolog-goto-next-paren, prolog-in-string-or-comment)
3103 (prolog-tokenize, prolog-inside-mline-comment)
3104 (prolog-find-start-of-mline-comment): Remove functions.
3105 (prolog-find-unmatched-paren, prolog-clause-end)
3106 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3107 (prolog-electric--if-then-else): Rename from
3108 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3109 (prolog-tokenize-searchkey): Remove const.
3110 (prolog-clause-info): Use forward-sexp.
3111 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3112 (prolog-electric-if-then-else): Remove commands.
3113 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3114 for use in post-self-insert-hook.
3115 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3116 for use in post-self-insert-hook.
3117 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3118 for use in post-self-insert-hook.
3119 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3120 adapt it for use in post-self-insert-hook.
3121
3dab0a83
MA
31222013-10-25 Michael Albinus <michael.albinus@gmx.de>
3123
3124 * emacs-lisp/ert.el (ert-run-tests-interactively):
3125 Use `completing-read'. (Bug#9756)
3126
fbfd0e1d
EZ
31272013-10-25 Eli Zaretskii <eliz@gnu.org>
3128
3129 * simple.el (line-move): Call line-move-1 instead of
3130 line-move-visual when the current window hscroll is zero, but
3131 temporary-goal-column indicates we will need to hscroll as result
3132 of the movement. (Bug#15712)
3133
963ce636
DG
31342013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3135
3136 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3137 capitalization. Use :visible instead of :active.
3138 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3139 commands that are used with SMIE.
3140 (ruby-do-end-to-brace): Insert space after `{'.
3141
a0be396a
JA
31422013-10-25 John Anthony <john@jo.hnanthony.com>
3143
f73754c9
JA
3144 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3145
3146 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3147
f5bf77df
GM
31482013-10-25 Glenn Morris <rgm@gnu.org>
3149
3150 * vc/vc.el (vc-print-log): Don't use a working revision unless
3151 one was explicitly specified. (Bug#15322)
3152
37241f62
SM
31532013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * subr.el (add-to-list): Preserve return value in compiler-macro
3156 (bug#15692).
3157
6408a65d
RS
31582013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3159
3160 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3161 result. Ask user to retry using '-all' flag. (Bug#15701)
3162
71e3276b
SM
31632013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * emacs-lisp/smie.el: New smie-config system.
3166 (smie-config): New defcustom.
3167 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3168 (smie-config-guess, smie-config-save): New commands.
3169 (smie-config--mode-local, smie-config--buffer-local)
3170 (smie-config--trace, smie-config--modefuns): New vars.
3171 (smie-config--advice, smie-config--mode-hook)
3172 (smie-config--setter, smie-config-local, smie-config--get-trace)
3173 (smie-config--guess-value, smie-config--guess): New functions.
3174 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3175 text properties. Treat "string fence" syntax like string syntax.
3176
3177 * progmodes/sh-script.el (sh-use-smie): Change default.
3178 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3179 (sh-var-value): Simplify by CSE.
3180 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3181 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3182 is used.
3183 (sh-guess-basic-offset): Use cl-incf.
3184 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3185
60db713e
HE
31862013-10-24 Helmut Eller <eller.helmut@gmail.com>
3187
3188 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3189 (bug#15699).
3190
8b251df6
GM
31912013-10-24 Glenn Morris <rgm@gnu.org>
3192
3193 * Makefile.in (abs_top_srcdir): Remove.
3194 (update-subdirs): Use relative path to update-subdirs.
3195
6be0e22b
EZ
31962013-10-24 Eli Zaretskii <eliz@gnu.org>
3197
3198 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3199 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3200 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3201 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3202
50b5b857
MA
32032013-10-24 Michael Albinus <michael.albinus@gmx.de>
3204
3205 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3206 (ert-test-skipped): New error.
3207 (ert-skip, ert-stats-skipped): New defuns.
3208 (ert--skip-unless): New macro.
3209 (ert-test-skipped): New struct.
3210 (ert--run-test-debugger, ert-test-result-type-p)
3211 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3212 (ert--stats-set-test-and-result, ert-char-for-test-result)
3213 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3214 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3215 Handle skipped tests. (Bug#9803)
50b5b857 3216
6f317c2f
GM
32172013-10-24 Glenn Morris <rgm@gnu.org>
3218
e43817c1
GM
3219 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3220
6f317c2f
GM
3221 * Makefile.in (abs_top_srcdir): New, set by configure.
3222 (update-subdirs): Correct build-aux location.
3223
369bbf71
DG
32242013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3225
8297b2cf
DG
3226 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3227 value, whether we could auto-deduce `backend', or not.
3228
369bbf71
DG
3229 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3230 with parameters" example. Simplify the "is it block or is it
3231 hash" check, but also make it more thorough.
3232
d5f1282f
MF
32332013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3234
3235 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3236
bc4aaa31
SM
32372013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3238
03d44565
SM
3239 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3240 { if it is hanging.
3241
bc4aaa31
SM
3242 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3243 :before ";".
3244
f493ff19
JB
32452013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3246
3247 * progmodes/compile.el (compilation-directory-matcher)
3248 (compilation-page-delimiter):
3249 Support GNU Make-4.0 directory quoting. (Bug#15678)
3250
c744a3b9
LL
32512013-10-23 Leo Liu <sdl.web@gmail.com>
3252
3253 * ido.el (ido-tidy): Handle read-only text.
3254
b8e3b0a9
GM
32552013-10-23 Glenn Morris <rgm@gnu.org>
3256
3257 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3258 (emacs, compile, compile-always):
3259 Quote entities that might contain whitespace.
3260 (custom-deps, finder-data, autoloads): Use abs_lisp.
3261 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3262 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3263 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3264
ee4282cd
DG
32652013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3266
bc4aaa31
SM
3267 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3268 Use `following-char'.
7790a270 3269
ee4282cd 32702013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3271
3272 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3273 * progmodes/ruby-mode.el (ruby-smie-rules):
3274 Remove corresponding workaround. Fix indentation rule of ";" so it
3275 also applies when ";" is the parent.
3276
d40a46d7
XF
32772013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3278
3279 * frame.el (display-screens, display-pixel-height)
3280 (display-pixel-width, display-mm-width, display-backing-store)
3281 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3282 (display-visual-class, display-monitor-attributes-list):
3283 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3284
a0f143c9
MG
32852013-10-22 Michael Gauland <mikelygee@amuri.net>
3286
3287 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3288 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3289
18cacc39
DG
32902013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3291
3292 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3293 TODO. Add "." after " @ ".
3294 (ruby-smie--at-dot-call): New function. Checks if point at method
3295 call with explicit target.
3296 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3297 to the method name tokens when it precedes them.
3298 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3299 (ruby-smie-rules): Add rule for indentation before and after "."
3300 token.
3301
df74c4be
SM
33022013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3303
c6dab55f
SM
3304 * textmodes/remember.el (remember-diary-extract-entries):
3305 Avoid add-to-list.
3306
df74c4be
SM
3307 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3308 an instruction.
3309
8c1ae481
DG
33102013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3311
e9dc713d
JB
3312 * progmodes/ruby-mode.el (ruby-smie-grammar):
3313 Add (almost) all infix operators.
cfef16c0
DG
3314 (ruby-smie--implicit-semi-p): Add new operator chars.
3315
8c1ae481
DG
3316 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3317 `smie-down-list'.
3318 (ruby-smie--args-separator-p): Check that there's no newline
3319 between method call and its arguments.
3320
87756ca9
AM
33212013-10-20 Alan Mackenzie <acm@muc.de>
3322
3323 Allow comma separated lists after Java "implements".
3324
df74c4be
SM
3325 * progmodes/cc-engine.el (c-backward-over-enum-header):
3326 Parse commas.
87756ca9
AM
3327 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3328 from a "disallowed" list in enum fontification.
3329
c25f8957
JB
33302013-10-20 Johan Bockgård <bojohan@gnu.org>
3331
df74c4be 3332 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3333
c25f8957
JB
3334 * progmodes/verilog-mode.el (verilog-mode): Don't set
3335 comment-indent-function globally.
3336
aca5fcdc
JD
33372013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3338
5f161884
JD
3339 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3340 Move Info menu item creation to ns-win.el.
3341
3342 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3343 in menu bar.
3344
aca5fcdc
JD
3345 * menu-bar.el: Move GNUStep specific menus...
3346
3347 * term/ns-win.el (ns-initialize-window-system): ... to here.
3348
914b7f98
SM
33492013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * simple.el (newline): Only run post-self-insert-hook when
3352 called interactively.
3353
846ffe77
JB
33542013-10-19 Johan Bockgård <bojohan@gnu.org>
3355
3356 * icomplete.el (icomplete-with-completion-tables): Add :version.
3357
033f22dd
AM
33582013-10-19 Alan Mackenzie <acm@muc.de>
3359
3360 Fix fontification bugs with constructors and const.
3361
3362 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3363 CASE 2) Remove the check for the absence of a suffix construct
3364 after a function declaration with only types (no identifiers) in
3365 the parentheses. Also, accept a function declaration with just a
3366 type inside the parentheses, if this type can be positively
3367 recognised as such, or if a prefix keyword like "explicit" nails
3368 down the construct as a declaration.
3369
58ce0cfc
EZ
33702013-10-19 Eli Zaretskii <eliz@gnu.org>
3371
3372 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3373 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3374 the problem whereby selecting a menu item that leads to a
3375 minibuffer prompt moves the cursor out of the minibuffer window,
3376 making it hard to type at the prompt. Suggested by Stefan Monnier
3377 <monnier@iro.umontreal.ca>.
3378
50e28e7d
JD
33792013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3380
3381 * menu-bar.el: Don't make Services menu.
3382
7deed4bf
RS
33832013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3384
3385 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3386 (ffap-alist): Use ffap-c++-mode for c++-mode.
3387 (ffap-c++-path): New variable.
3388 (ffap-c++-mode): New function.
3389
7bcb455b
JVJ
33902013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3391
3392 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3393
f0ff1cd5
MA
33942013-10-18 Michael Albinus <michael.albinus@gmx.de>
3395
3396 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3397 introduced on 2013-09-08, which results in an infinite loop
3398 requesting a password.
3399
d64da4b7
GM
34002013-10-18 Glenn Morris <rgm@gnu.org>
3401
3402 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3403
ea89ff08
WS
34042013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3405
3406 Sync with upstream verilog-mode revision 1a6ecec7.
3407 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3408 (verilog-mode-release-date): Remove.
3409 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3410 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3411 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3412 (verilog-auto-tieoff-ignore-regexp)
3413 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3414 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3415 (verilog-signals-with, verilog-dir-cache-preserving)
3416 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3417 Doc fixes.
3418 (verilog-case-fold): New option, to control case folding in
3419 regexp searches, bug597.
3420 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3421 (verilog-string-match-fold, verilog-in-paren-count)
3422 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3423 (verilog-at-close-struct-p): New functions.
3424 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3425 (verilog-forward-sexp, verilog-set-auto-endcomments):
3426 (verilog-leap-to-case-head): Handle "unique0" case.
3427 (verilog-in-constraint-re): New constant.
3428 (verilog-keywords, verilog-type-font-keywords):
3429 Add some SystemVerilog 1800-2012 keywords.
3430 (verilog-label-be): Remove unimplemented argument, bug669.
3431 (verilog-batch-execute-func): When batch expanding clear
3432 create-lockfiles to prevent spurious user locks when a file ends
3433 up not changing.
3434 (verilog-calculate-indent, verilog-calc-1)
3435 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3436 (verilog-do-indent): Fix indentation of nested constraints
3437 and structures.
3438 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3439 (verilog-auto-inst-param): Use verilog-string-match-fold.
3440 (verilog-read-inst-module-matcher):
3441 Fix AUTOINST on gate primitives with #1.
3442 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3443 Reads all user-defined typed variables.
3444 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3445 (verilog-signals-matching-regexp)
3446 (verilog-signals-not-matching-regexp, verilog-auto):
3447 Respect verilog-case-fold.
3448 (verilog-diff-report): Fix line count.
3449 (verilog-auto-assign-modport): Remove unused local `modi'.
3450 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3451 better handle multidimensional arrays.
3452 Fix packed array ports misadding bit index in AUTOINST, bug637.
3453 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3454 to not double-declare existing outputs and inputs, respectively.
3455 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3456 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3457 (verilog-sk-uvm-component): New skeleton.
3458 (verilog-submit-bug-report): Add verilog-case-fold,
3459 remove verilog-mode-release-date.
3460
ef566920
BR
34612013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3462
a12bf61e 3463 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3464 as before.
3465
29df8a0b
RT
34662013-10-18 Reuben Thomas <rrt@sc3d.org>
3467
e0eb0550 3468 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3469 remember buffers (bug#13566).
3470
04a19a79
DC
34712013-10-18 Daniel Colascione <dancol@dancol.org>
3472
3473 When evaluating forms in ielm, direct standard output to ielm
3474 buffer. Add new ielm-return-for-effect command. Remove trailing
3475 whitespace throughout.
3476
3477 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3478 (ielm-return-for-effect): New command.
3479 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3480 (ielm-eval-input): Accept optional `for-effect' parameter.
3481 Bind `standard-output' to stream we create using
04a19a79
DC
3482 `ielm-standard-output-impl'. Suppress printing result when
3483 `for-effect'.
3484 (ielm-standard-output-impl): New function.
3485 (inferior-emacs-lisp-mode): Explain new features in documentation.
3486
4c1f03ef
MA
34872013-10-17 Michael Albinus <michael.albinus@gmx.de>
3488
3489 Code cleanup.
3490
3491 * net/tramp.el (tramp-debug-message): Do not check for connection
3492 buffer.
3493 (tramp-message): Use "vector" connection property.
3494
3495 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3496 (tramp-equal-remote, tramp-eshell-directory-change)
3497 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3498 (tramp-adb-handle-rename-file)
3499 * net/tramp-cmds.el (tramp-list-remote-buffers)
3500 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3501 * net/tramp-compat.el (tramp-compat-process-running-p)
3502 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3503 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3504 (tramp-gvfs-handle-rename-file)
3505 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3506 (tramp-set-file-uid-gid)
3507 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3508 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3509 of `file-remote-p'.
3510
3511 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3512 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3513 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3514 (tramp-gw-open-network-stream): Suppress unrelated traces.
3515
3516 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3517 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3518 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3519 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3520 connection property.
3521
3522 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3523 persistency file.
4c1f03ef
MA
3524
3525 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3526 Refactor common code. Improve debug message.
3527 (tramp-maybe-open-connection)
3528 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3529 connection buffer too early.
3530
3531 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3532 from `tramp-smb-actions-with-acl'.
3533 (tramp-smb-actions-set-acl): New defconst.
3534 (tramp-smb-handle-copy-directory)
3535 (tramp-smb-action-get-acl): New defun, renamed from
3536 `tramp-smb-action-with-acl'.
3537 (tramp-smb-action-set-acl): New defun.
3538 (tramp-smb-handle-set-file-acl): Rewrite.
3539
642eb8b6
GM
35402013-10-17 Glenn Morris <rgm@gnu.org>
3541
3542 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3543
85527ff3
SM
35442013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3545
921c1d62
SM
3546 * skeleton.el (skeleton-newline): Remove.
3547 (skeleton-internal-1): Use (insert "\n") instead.
3548
e333fb10
SM
3549 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3550 let-bindings.
3551
85527ff3
SM
3552 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3553 forward-sexp-function while we redo its job (bug#15613).
3554
c8722a97
JB
35552013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3556
3557 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3558 represented by lists.
3559
7a550bbb
GM
35602013-10-16 Glenn Morris <rgm@gnu.org>
3561
3562 * tmm.el (tmm--history): New dynamic variable.
3563 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3564
f19da8ad
MA
35652013-10-16 Michael Albinus <michael.albinus@gmx.de>
3566
3567 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3568 (tramp-smb-errors): Add error messages.
3569 (tramp-smb-actions-with-acl): New defconst.
3570 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3571 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3572 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3573 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3574 (tramp-smb-get-stat-capability): Fix tests.
3575
a24b9961
DK
35762013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3577
3578 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3579 (bug#15580).
3580
62ad85e6
GM
35812013-10-16 Glenn Morris <rgm@gnu.org>
3582
0283d6b0
GM
3583 * ansi-color.el (ansi-color-drop-regexp):
3584 Add 1J, 1K, 2K. (Bug#15617)
3585
012e2f9f
GM
3586 * files.el (hack-local-variables--warned-lexical): New.
3587 (hack-local-variables):
3588 Warn about misplaced lexical-binding. (Bug#15616)
3589
62ad85e6
GM
3590 * net/eww.el (eww-render): Always set eww-current-url,
3591 and update header line. (Bug#15622)
3592 (eww-display-html): ... Rather than just doing it here.
3593
6456c0ea
EZ
35942013-10-15 Eli Zaretskii <eliz@gnu.org>
3595
3596 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3597 menu navigations commands.
3598
c2de5588
DK
35992013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3600
3601 * progmodes/subword.el (subword-capitalize): Be careful when
3602 the search for [[:alpha:]] fails (bug#15580).
3603
ccd4a783
EZ
36042013-10-14 Eli Zaretskii <eliz@gnu.org>
3605
3606 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3607 to commands that scroll the menu.
3608
1eda1d8d
DG
36092013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3610
c2de5588
DK
3611 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3612 Handle methods ending with `?' and `!'.
1eda1d8d 3613
e70181b8
AM
36142013-10-14 Akinori MUSHA <knu@iDaemons.org>
3615
3616 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3617 `japanese-cp932' to `cp932' to fix the problem where saving a
3618 source file written in Shift_JIS twice would end up having
3619 `coding: japanese-cp932' which Ruby could not recognize.
3620 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3621 in `ruby-encoding-map'.
3622 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3623 doesn't need to be explicitly declared in magic comment.
3624 (ruby-encoding-map): Add type declaration for better customize UI.
3625
9148ee92
GM
36262013-10-13 Glenn Morris <rgm@gnu.org>
3627
a5d38e34
GM
3628 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3629 Occur buffers are read-only. http://bugs.debian.org/720775
3630
9148ee92
GM
3631 * emacs-lisp/authors.el (authors-fixed-entries):
3632 Comment out old alpha stuff.
3633
a9ba094b
DG
36342013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3635
3636 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3637 to `after-save-hook' instead of `before-save-hook'.
3638 (ruby-mode-set-encoding): Use the value of coding system used to
3639 write the file. Call `basic-save-buffer-1' after modifying the
3640 buffer.
3641
7a068717
AM
36422013-10-13 Alan Mackenzie <acm@muc.de>
3643
3644 Fix indentation/fontification of Java enum with
3645 "implements"/generic.
3646
c2de5588
DK
3647 * progmodes/cc-engine.el (c-backward-over-enum-header):
3648 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3649 (c-inside-bracelist-p): Uses new function above.
3650 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3651 function above.
3652 (c-font-lock-enum-tail): Uses new function above.
3653
85b64f02
KH
36542013-10-13 Kenichi Handa <handa@gnu.org>
3655
3656 * international/mule-cmds.el (select-safe-coding-system): Remove a
3657 superfluous condition in chekcing whether a coding system is safe
3658 or not.
3659
fc7f501b
OK
36602013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3661
3662 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3663
fdcb2049
AP
36642013-10-13 Andreas Politz <politza@hochschule-trier.de>
3665
3666 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3667
8c106d17
GM
36682013-10-13 Glenn Morris <rgm@gnu.org>
3669
feab892d
GM
3670 * menu-bar.el (menu-bar-update-buffers):
3671 Unify Buffers menu prompt string. (Bug#15576)
3672
b22d0686
GM
3673 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3674
8c106d17
GM
3675 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3676 Add some entries.
3677 (authors-fixed-entries): Use accented form of name.
3678
1b12c797
SM
36792013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3680
650fa7bf 3681 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3682 method calls (bug#15594).
650fa7bf
SM
3683 (ruby-smie--args-separator-p): New function.
3684 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3685 recognize paren-free method calls.
3686
1b12c797
SM
3687 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3688 internals of universal-argument.
3689
029619c8
EZ
36902013-10-11 Eli Zaretskii <eliz@gnu.org>
3691
3692 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3693 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3694 dropped menu on second mouse click on the menu bar.
029619c8 3695
dd070019
SM
36962013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3697
3698 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3699 (explicit-shell-file-name): Declare.
3700 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3701 (sh-completion-at-point-function): New function.
3702 (sh-mode): Use it.
3703 (sh-smie--keyword-p): Remove unused argument.
3704 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3705 vars.
3706 (sh-set-shell): Always setup SMIE, even if we use the
3707 old indentation code.
3708
0922b826
DG
37092013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3710
b68e2926
DG
3711 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3712 cases of ? and =.
3713 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3714 predicate would return nil are almost non-existent.
3715 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3716
0922b826
DG
3717 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3718 cache also after commands that modify the buffer but don't move
3719 point.
3720
ee041f2d
SM
37212013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3722
3723 * env.el (substitute-env-in-file-name): New function.
3724 (substitute-env-vars): Extend the meaning of the optional arg.
3725
a5dab159
EZ
37262013-10-10 Eli Zaretskii <eliz@gnu.org>
3727
3728 * term/w32-win.el (dynamic-library-alist): Define separate lists
3729 of GIF DLLs for versions before and after 5.0.0 of giflib.
3730 (Bug#15531)
3731
0449d6cd 37322013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3733
3734 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3735 not locked, use last revision and current source as
3736 defaults. (Bug#15569)
3737
2f6e161e
MY
37382013-10-10 Masatake YAMATO <yamato@redhat.com>
3739
3740 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3741 menu-bar is hidden.
3742
6c8413fc
MR
37432013-10-10 Martin Rudalics <rudalics@gmx.at>
3744
3745 * window.el (pop-to-buffer-same-window): Fix doc-string.
3746 (Bug#15492)
3747
20832de0
SM
37482013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3751
c6e8ae77
AC
37522013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3753
3754 * calendar/icalendar.el (icalendar-import-file):
3755 Fix interactive spec. (Bug#15482)
3756
9db13baf
GM
37572013-10-10 Glenn Morris <rgm@gnu.org>
3758
9271e90e
GM
3759 * desktop.el (desktop-save): Default to saving in .emacs.d,
3760 since PWD is no longer in desktop-path by default. (Bug#15319)
3761
9db13baf
GM
3762 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3763 now that text mode has a menu with the same entry.
3764 (menu-bar-text-mode-auto-fill): Remove now unused func.
3765 * textmodes/text-mode.el (text-mode-map):
3766 Use auto-fill help text from menu-bar.el.
3767
a0be396a 37682013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3769
3770 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3771
2edcd3c7
JL
37722013-10-09 Juri Linkov <juri@jurta.org>
3773
3774 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3775 instead of this-command-keys. Add universal-argument-more and
3776 universal-argument-minus to the list of prefix commands. (Bug#15568)
3777
574411d0
GM
37782013-10-09 Glenn Morris <rgm@gnu.org>
3779
14afa541
GM
3780 * vc/vc-svn.el (vc-svn-create-repo):
3781 Expand paths in file://... url. (Bug#15446)
3782
574411d0
GM
3783 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3784 Add some entries.
3785 (authors): Remove unused local variables.
3786
79804536
SM
37872013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * profiler.el: Create a more coherent calltree from partial backtraces.
3790 (profiler-format): Hide the tail with `invisible' so that C-s can still
3791 find the hidden elements.
3792 (profiler-calltree-depth): Don't recurse so enthusiastically.
3793 (profiler-function-equal): New hash-table-test.
3794 (profiler-calltree-build-unified): New function.
3795 (profiler-calltree-build): Use it.
3796 (profiler-report-make-name-part): Indent the calltree less.
3797 (profiler-report-mode): Add visibility specs for profiler-format.
3798 (profiler-report-expand-entry, profiler-report-toggle-entry):
3799 Expand the whole subtree when provided with a prefix arg.
3800
238150c8
DG
38012013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3802
3803 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3804 iuwu-mod token.
3805 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3806 hanging iuwu-mod token.
3807 (ruby-smie--forward-token): Do not include a dot after a token in
3808 that token.
3809 (ruby-smie--backward-token): Likewise.
3810
b0949cc4
JL
38112013-10-08 Juri Linkov <juri@jurta.org>
3812
3813 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3814 to isearch-other-control-char.
3815 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3816 and isearch-post-command-hook to post-command-hook.
3817 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3818 and isearch-post-command-hook from post-command-hook.
3819 (isearch-unread-key-sequence)
3820 (isearch-reread-key-sequence-naturally)
3821 (isearch-lookup-scroll-key, isearch-other-control-char)
3822 (isearch-other-meta-char): Remove functions.
3823 (isearch-pre-command-hook, isearch-post-command-hook):
3824 New functions based on isearch-other-meta-char rewritten
3825 relying on the new behavior of overriding-terminal-local-map
3826 that does not replace the local keymaps any more. (Bug#15200)
3827
4ed77415
EZ
38282013-10-08 Eli Zaretskii <eliz@gnu.org>
3829
3830 Support menus on text-mode terminals.
3831 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3832 functionality.
3833
3834 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3835
c2de5588
DK
3836 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3837 Move here from mouse.el.
4ed77415
EZ
3838 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3839 and arrow keys.
3840 (tty-menu-navigation-map): New map for TTY menu navigation.
3841
3842 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3843
3844 * frame.el (display-mouse-p): Report text-mode mouse as available
3845 on w32.
3846 (display-popup-menus-p): Report availability if mouse is
3847 available; don't condition on window-system.
3848
3849 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3850 (tty-menu-selected-face): New faces.
3851
b7d5bd82
TL
38522013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3853
06286513
SM
3854 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3855 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3856 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3857 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3858 New constants.
3859 (lisp-mode-variables): New `elisp' argument.
3860 (emacs-lisp-mode): Use it.
3861 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3862 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3863
b7d5bd82
TL
3864 * indent.el: Use lexical-binding.
3865 (indent-region): Add progress reporter.
3866 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3867 last step.
3868 (indent--next-tab-stop): New function to implement this behavior.
3869 (tab-to-tab-stop, move-to-tab-stop): Use it.
3870
38712013-10-08 Teemu Likonen <tlikonen@iki.fi>
3872
3873 * indent.el (indent-rigidly--current-indentation): New function.
3874 (indent-rigidly-map): New var.
3875 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3876
5ea75d23
BG
38772013-10-08 Bastien Guerry <bzg@gnu.org>
3878
3879 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3880
cc5da1ec
SM
38812013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3882
8ffa1a0b
SM
3883 * progmodes/perl-mode.el: Use lexical-binding.
3884 Remove redundant :group args.
3885 (perl-nochange): Change default to be closer to other major modes's
3886 standard behavior.
3887 (perl-indent-line): Don't consider text on current line as a
3888 valid beginning of function from which to indent.
3889
f2223371
SM
3890 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3891 with more than one argument (bug#15538).
3892
44256060
SM
3893 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3894
cc5da1ec
SM
3895 * vc/pcvs.el: Use lexical-binding.
3896 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3897 environment of `eval'.
3898 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3899 than a list of expressions. Adjust callers.
3900 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3901
0ea1599d
DG
39022013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3903
3904 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3905 case of the dot in a chained method call being on the following line.
0ea1599d 3906
da3e5ebb
SM
39072013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3908
2abb4e65
SM
3909 * electric.el (electric-indent-inhibit): New var.
3910 (electric-indent-post-self-insert-function): Use it.
3911 * progmodes/python.el (python-mode): Set it.
3912
d2e0e795
SM
3913 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3914 open braces.
3915
3916 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3917
bdc6b4c8
SM
3918 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3919 (css-mode): Use electric-indent-chars.
3920
da3e5ebb
SM
3921 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3922 (font-lock-beg, font-lock-end): Move before first use.
3923 (nxml-mode): Use syntax-propertize-function.
3924 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3925 (nxml-extend-after-change-region): Remove.
3926 * nxml/xmltok.el: Use lexical-binding.
3927 (xmltok-save): Use `declare'.
3928 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3929 * nxml/nxml-util.el: Use lexical-binding.
3930 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3931 Use `declare'.
3932 * nxml/nxml-ns.el: Use lexical-binding.
3933 (nxml-ns-save): Use `declare'.
3934 (nxml-ns-prefixes-for): Avoid add-to-list.
3935 * nxml/rng-match.el: Use lexical-binding.
3936 (rng--ipattern): Use cl-defstruct.
3937 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3938 (rng-cons-group-after, rng-subst-group-after)
3939 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3940 Use closures instead of `(lambda...).
3941
f8f91d5d
MA
39422013-10-07 Michael Albinus <michael.albinus@gmx.de>
3943
3944 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3945 of BEG and END.
3946
da3e5ebb
SM
3947 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3948 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3949 (tramp-gvfs-handle-insert-file-contents): Remove function.
3950
da3e5ebb
SM
3951 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3952 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3953
3954 * net/trampver.el: Update release number.
3955
7ccae3b1
SM
39562013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3957
55ca2c0d
SM
3958 * progmodes/compile.el (compilation-parse-errors):
3959 Use compilation--put-prop.
3960 (compilation--ensure-parse): Check compilation-multiline.
3961
731fc3ae
SM
3962 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3963
da3e5ebb
SM
3964 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3965 lexical-binding.
a5833280 3966
2e7ba2c2
SM
3967 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3968
7ccae3b1
SM
3969 * progmodes/ruby-mode.el: Fix recently added tests.
3970 (ruby-smie-grammar): Add - and +.
3971 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3972 (ruby-smie--backward-id): New functions.
3973 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3974 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3975 any more.
3976
85698d63
LL
39772013-10-07 Leo Liu <sdl.web@gmail.com>
3978
3979 * register.el (register-preview-delay)
3980 (register-preview-functions): New variables.
3981 (register-read-with-preview, register-preview)
3982 (register-describe-oneline): New functions.
3983 (point-to-register, window-configuration-to-register)
3984 (frame-configuration-to-register, jump-to-register)
3985 (number-to-register, view-register, insert-register)
3986 (copy-to-register, append-to-register, prepend-to-register)
3987 (copy-rectangle-to-register): Use register-read-with-preview to
3988 read register. (Bug#15525)
3989
3986af6c
DS
39902013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3991
3992 * net/network-stream.el (network-stream-open-starttls): Don't add
3993 --insecure if it's already present, because that gnutls-cli
3994 rejects getting that parameter twice.
3995
5cd9cda9
DG
39962013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3997
3998 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3999 keyword, too.
4000
da9ea6d9
DG
40012013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4002
4003 * newcomment.el (comment-use-global-state): Change default value
4004 to t, mark obsolete (Bug#15251).
4005 (comment-beginning): In addition to `comment-to-syntax', check the
4006 value of `comment-use-global-state'.
4007
34d1a133
SM
40082013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4011 (ruby-comment-column): Follow the global default, by default.
4012 (ruby-smie-grammar): Add assignment syntax.
4013 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4014 open-paren, a comma, or a \.
4015 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4016 and line continuations.
4017 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4018 followed by implicit semi-colons. Add rule for string concatenation
4019 and for indentation at BOB.
4020 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4021
4022 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4023 calling next-sexp, since next-token may have skipped chars which
4024 next-sexp doesn't know should be skipped!
4025
6f6ab820
LL
40262013-10-05 Leo Liu <sdl.web@gmail.com>
4027
34d1a133
SM
4028 * progmodes/octave.el (octave-send-region):
4029 Call compilation-forget-errors.
6f6ab820 4030
34ca0f4c
XF
40312013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4032
4033 * vc/vc-svn.el (vc-svn-find-admin-dir):
4034 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4035 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4036 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4037 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4038
a27c1b72
SM
40392013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4042
258ab3bc
SM
40432013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * subr.el (read-passwd): Hide chars even when called within a context
4046 where after-change-functions is disabled (bug#15501).
4047 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4048 until we removed ourself from overriding-terminal-local-map.
4049
939fb29c
LL
40502013-10-04 Leo Liu <sdl.web@gmail.com>
4051
258ab3bc
SM
4052 * progmodes/octave.el (inferior-octave-mode):
4053 Call compilation-forget-errors.
939fb29c 4054
63bd7f35
XF
40552013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4056
4057 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4058
9e6229fa
MA
40592013-10-04 Michael Albinus <michael.albinus@gmx.de>
4060
4061 * net/secrets.el (secrets-create-collection): Add optional
4062 argument ALIAS. Use proper Label keyword. Append ALIAS as
4063 dbus-call-method argument. (Bug#15516)
4064
1dab32a3
LL
40652013-10-04 Leo Liu <sdl.web@gmail.com>
4066
4067 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4068 (inferior-octave-compilation-font-lock-keywords): New variables.
4069 (compilation-error-regexp-alist)
4070 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4071 (inferior-octave-mode): Use compilation-shell-minor-mode.
4072
6cad7ba3
JS
40732013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4074
4075 * minibuffer.el (completion--replace): Be careful that `end' might be
4076 a marker.
4077
acbadd00
DU
40782013-10-03 Daiki Ueno <ueno@gnu.org>
4079
4080 Add support for package signature checking.
4081 * emacs-lisp/package.el (url-http-file-exists-p)
4082 (epg-make-context, epg-context-set-home-directory)
4083 (epg-verify-string, epg-context-result-for)
4084 (epg-signature-status, epg-signature-to-string)
4085 (epg-check-configuration, epg-configuration)
4086 (epg-import-keys-from-file): Declare.
4087 (package-check-signature): New user option.
4088 (package-unsigned-archives): New user option.
4089 (package-desc): Add `signed' field.
4090 (package-load-descriptor): Set `signed' field if .signed file exists.
4091 (package--archive-file-exists-p): New function.
4092 (package--check-signature): New function.
4093 (package-install-from-archive): Check package signature.
4094 (package--download-one-archive): Check archive signature.
4095 (package-delete): Remove .signed file.
4096 (package-import-keyring): New command.
4097 (package-refresh-contents): Import default keyring.
4098 (package-desc-status): Add "unsigned" status.
4099 (describe-package-1, package-menu--print-info)
4100 (package-menu-mark-delete, package-menu--find-upgrades)
4101 (package-menu--status-predicate): Support "unsigned" status.
4102
adf2aa61
SM
41032013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4106 the new compilation scheme using the new byte-codes.
4107
4108 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4109 (byte-pophandler): New byte codes.
4110 (byte-goto-ops): Adjust accordingly.
4111 (byte-compile--use-old-handlers): New var.
4112 (byte-compile-catch): Use new byte codes depending on
4113 byte-compile--use-old-handlers.
4114 (byte-compile-condition-case--old): Rename from
4115 byte-compile-condition-case.
4116 (byte-compile-condition-case--new): New function.
4117 (byte-compile-condition-case): New function that dispatches depending
4118 on byte-compile--use-old-handlers.
4119 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4120 when we can.
4121
4122 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4123 Optimize under `condition-case' and `catch' if
4124 byte-compile--use-old-handlers is nil.
4125 (disassemble-offset): Handle new bytecodes.
4126
328a8179
SM
41272013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4128
4129 * subr.el (error): Use `declare'.
4130 (decode-char, encode-char): Use advertised-calling-convention instead
4131 of the docstring to discourage use of the `restriction' arg.
4132
15a1e936
DU
41332013-10-03 Daiki Ueno <ueno@gnu.org>
4134
4135 * epg.el (epg-verify-file): Add a comment saying that it does not
4136 notify verification error as a return value nor a signal.
4137 (epg-verify-string): Ditto.
4138
376f862a
KR
41392013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4140
4141 * progmodes/compile.el (compilation-start): Try globbing the arg to
4142 `cd' (bug#15417).
4143
a2f93a5f
MA
41442013-10-02 Michael Albinus <michael.albinus@gmx.de>
4145
4146 Sync with Tramp 2.2.8.
4147
4148 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4149 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4150 * net/trampver.el: Update release number.
4151
0daa0804
JD
41522013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4153
4154 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4155 and default-process-coding-system for darwin only.
4156
abd1ae34
SM
41572013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4160
be4e325d
MH
41612013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4162
4163 * vc/vc-git.el (vc-git-grep): Disable pager.
4164
e9155c4a
DG
41652013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4166
494e898b
DG
4167 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4168 Use :url instead of :homepage, as per
4169 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4170
e9155c4a
DG
4171 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4172 non-nil, use `syntax-ppss' (Bug#15251).
4173
481a8e0f
RS
41742013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4175
be4e325d
MH
4176 * progmodes/octave.el (inferior-octave-startup-file):
4177 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4178
056453c6
DG
41792013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4180
be4e325d
MH
4181 * emacs-lisp/package.el (package-desc-from-define):
4182 Accept additional arguments as plist, convert them to an alist and store
4183 them in the `extras' slot.
056453c6
DG
4184 (package-generate-description-file): Convert extras alist back to
4185 plist and append to the `define-package' form arguments.
4186 (package--alist-to-plist): New function.
4187 (package--ac-desc): Add `extras' slot.
4188 (package--add-to-archive-contents): Check if the archive-contents
4189 vector is long enough, and if it is, pass its `extras' slot value
4190 to `package-desc-create'.
4191 (package-buffer-info): Call `lm-homepage', pass the returned value
4192 to `package-desc-from-define'.
4193 (describe-package-1): Render the homepage button (Bug#13291).
4194
be4e325d
MH
4195 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4196 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4197
832966e5
JD
41982013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4199
4200 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4201 and default-process-coding-system to utf-8-unix (Bug#15402).
4202
6cfe977d
XF
42032013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4204
4205 * subr.el (looking-back): Do not recommend using looking-back.
4206
38de11bd
AM
42072013-09-28 Alan Mackenzie <acm@muc.de>
4208
4209 Fix indentation/fontification of Java enum with "implements".
4210
4211 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4212 regexp which matches "implements", etc., in Java.
4213 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4214 specifier clauses coming after "enum".
4215 * progmodes/cc-fonts.el (c-font-lock-declarations)
4216 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4217 after "enum".
4218
1610938f
JD
42192013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4220
4221 * faces.el (region): Change ns_selection_color to
4222 ns_selection_fg_color, add ns_selection_bg_color.
4223
e090f499
LL
42242013-09-28 Leo Liu <sdl.web@gmail.com>
4225
4d2e94d1
LL
4226 * progmodes/octave.el (inferior-octave-completion-table)
4227 (inferior-octave-completion-at-point): Minor tweaks.
4228
e090f499
LL
4229 * textmodes/ispell.el (ispell-lookup-words): Rename from
4230 lookup-words. (Bug#15460)
4231 (lookup-words): Obsolete.
4232 (ispell-complete-word, ispell-command-loop): All uses changed.
4233
7e138a62
RS
42342013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4235
a12bf61e 4236 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4237 (octave-mode-menu): Add octave-send-buffer.
4238 (octave-send-buffer): New function.
4239
5af5ed08
RS
42402013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4241
a12bf61e 4242 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4243 octave-lookfor.
4244 (octave-mode-menu): Add octave-lookfor.
4245 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4246 octave-lookfor.
4247 (octave-lookfor): New function.
4248
3b7b2692
SM
42492013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * emacs-lisp/cl-macs.el:
4252 (cl--loop-destr-temps): Remove.
4253 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4254 its convention.
4255 (cl--loop-set-iterator-function): New function.
4256 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4257 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4258 Bind `it' with `let' instead of substituting it with `cl-subst'.
4259 (cl--unused-var-p): New function.
4260 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4261 Eliminate some unused variable warnings (bug#15326).
4262
529fb53f
TH
42632013-09-27 Tassilo Horn <tsdh@gnu.org>
4264
4265 * doc-view.el (doc-view-scale-reset): Rename from
4266 `doc-view-reset-zoom-level'.
4267 (doc-view-scale-adjust): New command.
4268 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4269 `doc-view-scale-adjust'.
4270
0550c95a
TH
42712013-09-26 Tassilo Horn <tsdh@gnu.org>
4272
4273 * doc-view.el (doc-view-reset-zoom-level): New command.
4274 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4275 zoom commands (bug#15466).
4276
6950f152
KH
42772013-09-26 Kenichi Handa <handa@gnu.org>
4278
4279 * international/quail.el (quail-help): Make it not a command.
4280
39587580
LL
42812013-09-26 Leo Liu <sdl.web@gmail.com>
4282
4283 * minibuffer.el (completion-all-sorted-completions): Make args
4284 optional as they are.
4285
00578659
DC
42862013-09-25 Daniel Colascione <dancol@dancol.org>
4287
4288 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4289 specs are and that they're not evaluated.
4290
0c173878
SS
42912013-09-24 Sam Steingold <sds@gnu.org>
4292
4293 * midnight.el (clean-buffer-list-kill-regexps)
4294 (clean-buffer-list-kill-buffer-names): Update for the new Man
4295 buffer naming which includes the object name.
4296
84998447
SM
42972013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4298
4299 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4300 (eshell-parse-command, eshell-parse-pipeline): Use it since
4301 eshell-separate-commands requires a dynamic scoped var.
4302 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4303
33215353
LL
43042013-09-23 Leo Liu <sdl.web@gmail.com>
4305
4306 * autoinsert.el (auto-insert-alist): Make the value of
4307 lexical-binding match its file setting.
4308
57b16162
JB
43092013-09-23 Juanma Barranquero <lekktu@gmail.com>
4310
c8af4e67
JB
4311 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4312
57b16162
JB
4313 * autoarg.el (autoarg-kp-digit-argument):
4314 * electric.el (Electric-command-loop):
4315 * kmacro.el (kmacro-step-edit-insert):
4316 Do not set universal-argument-num-events.
4317
7186ba60
LL
43182013-09-22 Leo Liu <sdl.web@gmail.com>
4319
4320 * files.el (interpreter-mode-alist): Add octave.
4321
ece15004
AM
43222013-09-21 Alan Mackenzie <acm@muc.de>
4323
4324 C++: fontify identifier in declaration following "public:" correctly.
4325 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4326 to match "public", etc.
4327 (c-decl-prefix-re): Add ":" into the C++ value.
4328 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4329 bit. Add a check for a ":" preceded by "public", etc.
4330
75d83e22
EZ
43312013-09-21 Eli Zaretskii <eliz@gnu.org>
4332
4333 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4334 recognized by GDB 7.5 and later.
4335
d052d3bd
XF
43362013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4337
4338 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4339
31dca772
R
43402013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * subr.el (internal--call-interactively): New const.
4343 (called-interactively-p): Use it (bug#3984).
4344
98ccf24e
XF
43452013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4346
4347 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4348 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4349 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4350
c39cc7d1
SM
43512013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4354 (eshell-ls-orig-insert-directory): Remove.
4355 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4356 (eshell-ls-use-in-dired): Use advice-add/remove.
4357 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4358 Add `orig-fun' arg for use in :around advice.
4359 Make it check (redundantly) eshell-ls-use-in-dired.
4360
9a0289a2
GM
43612013-09-19 Glenn Morris <rgm@gnu.org>
4362
a2c501b8
GM
4363 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4364
c440407a
GM
4365 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4366
9a0289a2
GM
4367 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4368
85e05915
MA
43692013-09-19 Michael Albinus <michael.albinus@gmx.de>
4370
4371 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4372 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4373 (tramp-get-remote-python): New defuns.
4374 (tramp-get-remote-uid-with-perl)
4375 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4376 contributed by yary <not.com@gmail.com> (tiny change).
4377 (tramp-get-remote-uid-with-python)
4378 (tramp-get-remote-gid-with-python): New defuns. Python code
4379 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4380 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4381
ce503312
GM
43822013-09-19 Glenn Morris <rgm@gnu.org>
4383
f7544773
GM
4384 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4385
72fd2877
GM
4386 * eshell/em-unix.el (eshell-remove-entries):
4387 Rename argument to avoid name-clash with global `top-level'.
4388
336b5a56
GM
4389 * eshell/esh-proc.el (eshell-kill-process-function):
4390 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4391 (eshell-reset-after-proc): Remove unused arg `proc'.
4392
57a3a53d
GM
4393 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4394 (directory-files-and-attributes): Mark unused arg.
4395
3261d4af
GM
4396 * eshell/em-unix.el (eshell-remove-entries):
4397 Remove unused arg `path'. Update callers.
4398
8e51b5d0
GM
4399 * eshell/em-hist.el (eshell-hist-parse-arguments):
4400 Remove unused arg `silent'. Update callers.
4401
ce503312
GM
4402 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4403 Fix (f)boundp mix-up.
4404
4405 * eshell/em-smart.el (eshell-smart-scroll-window)
4406 (eshell-disable-after-change):
336b5a56 4407 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4408
ee3ce8a7
AM
44092013-09-18 Alan Mackenzie <acm@muc.de>
4410
4411 Fix fontification of type when followed by "const".
4412 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4413 "known" types from fontification.
4414
ec9177ba
GM
44152013-09-18 Glenn Morris <rgm@gnu.org>
4416
7bb3e768
GM
4417 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4418 (chart-face-list): Drop Emacsen without display-color-p.
4419
5148da15
GM
4420 * net/eww.el (libxml-parse-html-region): Declare.
4421 (eww-display-html): Explicit error if no libxml2 support.
4422
2f68e157
GM
4423 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4424
9019d095
GM
4425 * image.el (image-type-from-buffer, image-multi-frame-p):
4426 Remove --without-x warning/error.
67645389 4427
5f30349b 4428 * mouse.el (mouse-yank-primary):
45069b2e 4429 * term.el (term-mouse-paste):
5f30349b
GM
4430 Reorder to silence --without-x compilation.
4431
cd8edbbe
GM
4432 * mpc.el (doc-view-mode): Silence --without-x compilation.
4433
8a78544e
GM
4434 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4435 Silence --without-x compilation.
4436
12679bfd
GM
4437 * progmodes/gud.el (gud-find-file, gud-mode):
4438 Silence --without-x compilation.
4439 (tooltip-mode): Declare.
30810a05 4440
f0047cb9
GM
4441 * wdired.el (dired-backup-overwrite): Remove declaration.
4442 (wdired-mode-map): Add doc string.
4443
e740f9d2
GM
4444 * custom.el (x-get-resource): Declare.
4445
92d77c89
GM
4446 * eshell/em-glob.el (ange-cache):
4447 * eshell/em-unix.el (ange-cache): Declare.
4448
76e69577
GM
4449 * faces.el (x-display-list, x-open-connection, x-get-resource):
4450 Declare.
7e58af4b
GM
4451
4452 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4453 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4454 Declare.
76e69577 4455
4bd4c0af 4456 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4457
ffb82dbd
GM
4458 * net/gnutls.el (gnutls-log-level): Declare.
4459
986ed135
GM
4460 * net/shr.el (image-size, image-animate): Declare.
4461
e740f9d2
GM
4462 * simple.el (font-info): Declare.
4463
d2f3e9f8
GM
4464 * subr.el (x-popup-dialog): Declare.
4465
047a1a4c
GM
4466 * term/common-win.el (x-select-enable-primary)
4467 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4468 Declare.
4469
f4a1d572
GM
4470 * term/ns-win.el (x-handle-args): Declare.
4471
e843de77
GM
4472 * term/x-win.el (x-select-enable-clipboard): Declare.
4473
5fa89513
GM
4474 * term/w32-win.el (create-default-fontset): Declare.
4475
38702b5b
GM
4476 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4477 Declare.
4478
e740f9d2
GM
4479 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4480 (fit-frame-to-buffer): Explicit error if --without-x.
4481 (mouse-autoselect-window-select): Silence compiler.
4482
49a053fc
GM
4483 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4484
4485 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4486 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4487 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4488 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4489 Remove unused local variables.
4490
4491 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4492
ec9177ba
GM
4493 * textmodes/two-column.el: Make 2C-split work for --without-x.
4494 (scroll-bar-columns): Autoload.
4495 (top-level): Require fringe when compiling.
4496
9f25cb77
LL
44972013-09-18 Leo Liu <sdl.web@gmail.com>
4498
4499 * subr.el (add-hook): Robustify to handle closure as well.
4500
2b42da98
GM
45012013-09-17 Glenn Morris <rgm@gnu.org>
4502
4503 * simple.el (messages-buffer-mode-map): Unbind "g".
4504
e8b66a6a
SM
45052013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4506
9c0ad4f7
SM
4507 * help-mode.el (help-mode-finish): Use derived-mode-p.
4508 Remove obsolete highlighting.
4509
7a806dfb
SM
4510 * play/life.el (life-mode): Use define-derived-mode. Derive from
4511 special-mode.
4512 (life): Let-bind inhibit-read-only.
4513 (life-setup): Avoid `setq'. Use `life-mode'.
4514
96dbf5a8
SM
4515 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4516 which should not be needed any more.
4517 (package-menu-refresh, package-menu-describe-package): Use user-error.
4518
e8b66a6a
SM
4519 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4520 (eshell-post-rewrite-command-hook): Make obsolete.
4521 (eshell-parse-command): Simplify.
4522 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4523 (eshell--cmd): Declare.
4524 (eshell-parse-pipeline): Remove unused var `final-p'.
4525 Pass a dynvar to eshell-post-rewrite-command-hook.
4526 Implement the new eshell-post-rewrite-command-function.
4527 (eshell-invoke-directly): Remove unused arg `input'.
4528 * eshell/esh-io.el (eshell-io-initialize):
4529 Use eshell-post-rewrite-command-function (bug#15399).
4530 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4531 adjust to new calling convention.
4532 (eshell-create-handles): Rename args to avoid clashing with dynvar
4533 `standard-output'.
4534
90582f05
GM
45352013-09-17 Glenn Morris <rgm@gnu.org>
4536
4537 * simple.el (messages-buffer-mode): New major mode.
4538 (messages-buffer): New function.
4539 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4540 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4541 (ert-run-test): Use `messages-buffer' function.
90582f05 4542 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4543 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4544 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4545
39eb0cb5 45462013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4547
4548 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4549
1d42e5b6 4550 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4551
70568a90
SM
45522013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4553
504a0381
SM
4554 * icomplete.el (icomplete-in-buffer): New var.
4555 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4556 vars and replace them with functions.
4557 (icomplete-minibuffer-setup): Adjust accordingly.
4558 (icomplete--completion-table, icomplete--completion-predicate)
4559 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4560 New functions.
4561 (icomplete-forward-completions, icomplete-backward-completions)
4562 (icomplete-simple-completing-p, icomplete-exhibit)
4563 (icomplete-completions): Use them.
4564 (icomplete--in-region-buffer): New var.
4565 (icomplete--in-region-setup): New function.
4566 (icomplete-mode): Use it.
4567
70568a90
SM
4568 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4569 (bug#15379).
4570 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4571 return args and options.
4572 (eshell-eval-using-options): Use the new return value of
4573 eshell--do-opts to set the options's vars in their scope.
4574 (eshell--set-option): Rename from eshell-set-option.
4575 Add arg `opt-vals'.
4576 (eshell--process-option): Rename from eshell-process-option.
4577 Add arg `opt-vals'.
4578 (eshell--process-args): Use an `opt-vals' alist to store the options's
4579 values during their processing and return them additionally to the
4580 remaining args.
4581
578c21bc
DG
45822013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4583
4584 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4585 continuation character an operator, as far as indentation is
4586 concerned (Bug#15369).
4587
c089653d
MR
45882013-09-15 Martin Rudalics <rudalics@gmx.at>
4589
4590 * window.el (window--state-put-2): Don't process buffer state
4591 when buffer doesn't exist any more (Bug#15382).
4592
1e53bb4b
GM
45932013-09-15 Glenn Morris <rgm@gnu.org>
4594
30753242
GM
4595 * eshell/em-unix.el (eshell/rm):
4596 Make -f ignore missing files. (Bug#15373)
4597
1e53bb4b
GM
4598 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4599 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4600 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4601
0d8863b3
GM
46022013-09-14 Glenn Morris <rgm@gnu.org>
4603
4604 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4605
d3fc6549
GM
46062013-09-13 Glenn Morris <rgm@gnu.org>
4607
4608 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4609 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4610
fcd42c11
DA
46112013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4612
4613 * frame.el (x-focus-frame): Mark as declared in frame.c.
4614
7830899f
SM
46152013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * ls-lisp.el: Use advice-add.
4618 (original-insert-directory): Remove.
4619 (ls-lisp--insert-directory): Rename from insert-directory; add
4620 `orig-fun' argument.
4621 (insert-directory): Advise.
4622
84387cd2
EZ
46232013-09-13 Eli Zaretskii <eliz@gnu.org>
4624
4625 * term.el (term-emulate-terminal): Decode the command string
4626 before passing it to term-command-hook. (Bug#15337)
4627
35ffc6ba
GM
46282013-09-13 Glenn Morris <rgm@gnu.org>
4629
5c3f9bcc
GM
4630 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4631
2ada368a
GM
4632 * eshell/esh-ext.el (eshell-search-path): Declare.
4633
fcef2e13
GM
4634 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4635 Otherwise an error occurs if eshell-dirs module not loaded.
4636
35ffc6ba
GM
4637 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4638
35c3d36e
MA
46392013-09-13 Michael Albinus <michael.albinus@gmx.de>
4640
4641 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4642 `tramp-check-proper-host'. Check for a valid method name.
4643
4644 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4645 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4646 * net/tramp-sh.el (tramp-maybe-open-connection):
4647 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4648
4649 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4650 also for hash values.
4651
ae5e4c48
SM
46522013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4653
379add74
SM
4654 * term/ns-win.el (parameters): Don't declare as dynamic.
4655 (before-make-frame-hook): Don't add ineffective function.
4656
ae5e4c48
SM
4657 * eshell/*.el: Use lexical-binding (bug#15231).
4658
b5623270
KH
46592013-09-12 Kenichi Handa <handa@gnu.org>
4660
ae5e4c48 4661 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4662
30213927
GM
46632013-09-12 Glenn Morris <rgm@gnu.org>
4664
be94d713 4665 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4666 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4667
44915370
GM
4668 * subr.el (do-after-load-evaluation): Also give compiler warnings
4669 when obsolete files are used (except by obsolete files).
4670
a6ae021f
GM
4671 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4672 in the status output, assume `filename' is the first. (Bug#15322)
4673
40e64f0c
GM
4674 * vc/vc.el (vc-deduce-fileset): Doc fix.
4675
16d9f896
GM
4676 * calc/calc-help.el (Info-goto-node):
4677 * progmodes/cperl-mode.el (Info-find-node):
4678 * vc/ediff.el (Info-goto-node): Update declarations.
4679
dea01c6e
GM
4680 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4681
759880bf 4682 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4683 (vc-bzr-pull): Require vc-dispatcher.
4684 * vc/vc-git.el (vc-compilation-mode): Declare.
4685 (vc-git-pull): Require vc-dispatcher.
4686
08d66420
GM
4687 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4688
30b626e9
GM
4689 * progmodes/octave.el (help-button-action): Declare.
4690
8c05cb10
GM
4691 * shell.el (shell-directory-tracker): Output error as a message
4692 rather than just returning it as a string.
4693 (shell-process-pushd): Remove useless use of message.
4694
30213927
GM
4695 * dframe.el (dframe-timer-fn):
4696 * files.el (dir-locals-read-from-file):
4697 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4698 (mpc-format):
4699 * reveal.el (reveal-post-command):
4700 * saveplace.el (load-save-place-alist-from-file):
4701 * shell.el (shell-resync-dirs):
4702 * w32-common-fns.el (x-get-selection-value):
4703 * emacs-lisp/copyright.el (copyright-find-copyright):
4704 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4705 * emulation/tpu-edt.el (tpu-copy-keyfile):
4706 * play/bubbles.el (bubbles--mark-neighbourhood):
4707 * progmodes/executable.el
4708 (executable-make-buffer-file-executable-if-script-p):
4709 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4710
d3b049e6
SM
47112013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4712
170266d0
SM
4713 Cleanup Eshell to rely less on dynamic scoping.
4714 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4715 last-value, and ext-command here. Bind `args' closer to `body'.
4716 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4717 (eshell--args): Declare new dynamic var.
4718 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4719 last-value, and ext-command. Pass `args' to `body'.
4720 (eshell-process-args): Bind eshell--args.
4721 (eshell-set-option): Use eshell--args.
4722 * eshell/eshell.el (eshell): Use derived-mode-p.
4723 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4724 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4725 (eshell-glob-function): Declare.
4726 * eshell/esh-util.el: Require cl-lib.
4727 (eshell-read-hosts-file): Avoid add-to-list.
4728 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4729 `err'.
4730 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4731 Declare.
4732 (eshell/diff): Remove unused var `err'.
4733 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4734 `killflag'.
4735 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4736 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4737 first use.
4738 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4739 Move declaration before first use.
4740 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4741 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4742 rely on cl-return.
4743
56834f3b
GM
47442013-09-12 Glenn Morris <rgm@gnu.org>
4745
4746 * term/ns-win.el (global-map): Remove binding for ispell-next,
4747 deleted 1999-05-29. (Bug#15357)
4748
5c91a2b8
GM
47492013-09-11 Glenn Morris <rgm@gnu.org>
4750
da712f22
GM
4751 * echistory.el (electric-command-history): Remove call to deleted func.
4752
512e4cdc
GM
4753 * play/landmark.el (landmark-mode): Fix typos.
4754
d3506ca5
GM
4755 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4756 Check cvs-sort-ignore-file is bound.
4757
5c91a2b8
GM
4758 * savehist.el: No need for cl when compiling on Emacs.
4759
feeff482
SM
47602013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4761
656bd483
SM
4762 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4763 (bug#15338).
d3b049e6
SM
4764 (eshell-self-insert-command, eshell-send-invisible):
4765 Remove unused argument.
656bd483
SM
4766 (eshell-handle-control-codes): Remove unused var `orig'.
4767 Avoid delete-backward-char.
4768
feeff482
SM
4769 * files.el (set-auto-mode): Simplify a bit further.
4770
2a08047a
GM
47712013-09-11 Glenn Morris <rgm@gnu.org>
4772
4773 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4774 (set-auto-mode): Don't regexp-quote elements.
4775 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4776 * progmodes/cc-mode.el (interpreter-mode-alist):
4777 * progmodes/ruby-mode.el (interpreter-mode-alist):
4778 Revert previous change.
4779
34675540
SM
47802013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4781
1b3b87df
SM
4782 * play/snake.el (snake-mode):
4783 * play/mpuz.el (mpuz-mode):
4784 * play/landmark.el (lm-mode):
4785 * play/blackbox.el (blackbox-mode):
4786 * play/5x5.el (5x5-mode):
4787 * obsolete/options.el (Edit-options-mode):
4788 * net/quickurl.el (quickurl-list-mode):
4789 * net/newst-treeview.el (newsticker-treeview-mode):
4790 * mail/rmailsum.el (rmail-summary-mode):
4791 * mail/mspools.el (mspools-mode):
4792 * locate.el (locate-mode):
4793 * ibuffer.el (ibuffer-mode):
4794 * emulation/ws-mode.el (wordstar-mode):
4795 * emacs-lisp/debug.el (debugger-mode):
4796 * array.el (array-mode):
4797 * net/eudc.el (eudc-mode): Use define-derived-mode.
4798 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4799 Move initialization into declaration.
4800 (mairix-searches-mode): Use define-derived-mode.
4801 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4802 (eudc-edit-hotlist): Use dolist.
4803 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4804 (Man-mode): Use define-derived-mode.
4805 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4806 (Info-edit-mode): Use define-derived-mode.
4807 (Info-cease-edit): Use Info-mode.
4808 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4809 into declaration.
4810 (eshell-mode): Use define-derived-mode.
4811 * chistory.el (command-history-mode-map): Rename from
4812 command-history-map.
4813 (command-history-mode): Use define-derived-mode.
da712f22 4814 (Command-history-setup): Remove function.
1b3b87df
SM
4815 * calc/calc.el (calc-trail-mode-map): New var.
4816 (calc-trail-mode): Use define-derived-mode.
4817 (calc-trail-buffer): Set calc-main-buffer manually.
4818 * bookmark.el (bookmark-insert-annotation): New function.
4819 (bookmark-edit-annotation): Use it.
4820 (bookmark-edit-annotation-mode): Make it a proper major mode.
4821 (bookmark-send-edited-annotation): Use derived-mode-p.
4822 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4823 closer to its ideal place. Use \' to match EOS.
4824
34675540
SM
4825 * profiler.el (profiler-calltree-find): Use function-equal.
4826
6a5c15d9
GM
48272013-09-10 Glenn Morris <rgm@gnu.org>
4828
1af4c220
GM
4829 * files.el (interpreter-mode-alist): Convert to regexps.
4830 (set-auto-mode): Adapt for this. (Bug#15306)
4831 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4832 Comment out unused variable.
4833 * progmodes/cc-mode.el (interpreter-mode-alist):
4834 * progmodes/python.el (interpreter-mode-alist):
4835 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4836 * progmodes/sh-script.el (sh-set-shell):
4837 No longer use interpreter-mode-alist to get list of shells.
4838
6a5c15d9
GM
4839 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4840
8c27f5ff
SM
48412013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4842
02ef6c1a 4843 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4844 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4845 Bind switch-frame explicitly. Replace universal-argument-minus with
4846 a conditional binding.
4847 (universal-argument-num-events, saved-overriding-map): Remove.
4848 (restore-overriding-map): Remove.
4849 (universal-argument--mode): Rename from save&set-overriding-map,
4850 and rewrite.
4851 (universal-argument, universal-argument-more, negative-argument)
4852 (digit-argument): Adjust accordingly.
4853 (universal-argument-minus): Remove.
4854 (universal-argument-other-key): Remove.
4855
8c27f5ff
SM
4856 * subr.el (with-demoted-errors): Add `format' argument.
4857
6480194c
MA
48582013-09-10 Michael Albinus <michael.albinus@gmx.de>
4859
4860 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4861 `tramp-cleanup-connection'.
4862
4863 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4864 parameters KEEP-DEBUG and KEEP-PASSWORD.
4865
4866 * net/tramp.el (tramp-file-name-handler):
4867 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4868 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4869 (tramp-maybe-open-connection):
8c27f5ff
SM
4870 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4871 Use `tramp-cleanup-connection'.
6480194c 4872
8c27f5ff
SM
4873 * net/tramp-sh.el (tramp-maybe-open-connection):
4874 Catch 'uname-changed inside the progress reporter.
6480194c 4875
e5e916d8
GM
48762013-09-10 Glenn Morris <rgm@gnu.org>
4877
9a2c9b47
GM
4878 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4879
e5e916d8
GM
4880 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4881 returns "alternate access method" in mode (eg "-rw-r--r--.").
4882
144e38fe
GM
48832013-09-08 Glenn Morris <rgm@gnu.org>
4884
4885 * saveplace.el (load-save-place-alist-from-file):
4886 Demote errors. (Bug#15305)
4887
af9ff9e8
MA
48882013-09-08 Michael Albinus <michael.albinus@gmx.de>
4889
4890 Improve compatibility with older Emacsen, and XEmacs.
4891
4892 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4893 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4894 (with-tramp-progress-reporter): Do not let-bind `result'.
4895 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4896 (tramp-handle-make-auto-save-file-name): New function, moved from
4897 tramp-sh.el.
4898
4899 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4900 for `make-auto-save-file-name'.
8c27f5ff
SM
4901 (tramp-adb--gnu-switches-to-ash):
4902 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4903
4904 * net/tramp-cache.el (tramp-cache-print): Call
4905 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4906
4907 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4908 bound. It isn't for XEmacs.
4909
8c27f5ff
SM
4910 * net/tramp-compat.el (tramp-compat-copy-file):
4911 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4912 (tramp-compat-replace-regexp-in-string): New defun.
4913
4914 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4915 for `make-auto-save-file-name'.
4916 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4917 `copy-file'.
4918 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4919 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4920 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4921
8c27f5ff
SM
4922 * net/tramp-gw.el (tramp-gw-open-network-stream):
4923 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4924
8c27f5ff
SM
4925 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4926 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4927 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4928 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4929 (tramp-sh-file-inotifywait-process-filter):
4930 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4931 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4932
4933 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4934 for `make-auto-save-file-name'.
8c27f5ff
SM
4935 (tramp-smb-handle-copy-directory):
4936 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4937 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4938 (tramp-smb-handle-copy-file): Improve error message.
4939 (tramp-smb-handle-rename-file): Rename directly only in case
4940 `newname' does not exist yet. This is a restriction of smbclient.
4941 (tramp-smb-maybe-open-connection): Rerun the function only when
4942 `auth-sources' is non-nil.
4943
0ca754d0
KH
49442013-09-08 Kenichi Handa <handa@gnu.org>
4945
e0eb0550 4946 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4947 more characters.
4948
e8dd0787
AM
49492013-09-07 Alan Mackenzie <acm@muc.de>
4950
4951 Correctly fontify Java class constructors.
4952 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4953 in Java Mode.
4954 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4955 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4956 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4957 "typeless" declaration there.
4958
f2f248e7
RW
49592013-09-07 Roland Winkler <winkler@gnu.org>
4960
4961 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4962 field subtitle for entry type book.
4963
67982e2b
SM
49642013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * minibuffer.el: Make minibuffer-complete call completion-in-region
4967 rather than other way around.
4968 (completion--some, completion-pcm--find-all-completions):
4969 Don't delay signals when debugging.
4970 (minibuffer-completion-contents): Beware fields within the
4971 minibuffer contents.
4972 (completion-all-sorted-completions): Use defvar-local.
4973 (completion--do-completion, completion--cache-all-sorted-completions)
4974 (completion-all-sorted-completions, minibuffer-force-complete):
4975 Add args `beg' and `end'.
4976 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4977 (minibuffer-complete): Use completion-in-region.
4978 (completion-complete-and-exit): New fun, extracted from
4979 minibuffer-complete-and-exit.
4980 (minibuffer-complete-and-exit): Use it.
4981 (completion--complete-and-exit): Rename from
4982 minibuffer--complete-and-exit.
4983 (completion-in-region--single-word): New function, extracted from
4984 minibuffer-complete-word.
4985 (minibuffer-complete-word): Use it.
4986 (display-completion-list): Make `common-substring' argument obsolete.
4987 (completion--in-region): Call completion--in-region-1 instead of
4988 minibuffer-complete.
4989 (completion-help-at-point): Pass boundaries to
4990 minibuffer-completion-help as args rather than via an overlay.
4991 (completion-pcm--string->pattern): Use `any-delim'.
4992 (completion-pcm--optimize-pattern): New function.
4993 (completion-pcm--pattern->regex): Handle `any-delim'.
4994 * icomplete.el (icomplete-forward-completions)
4995 (icomplete-backward-completions, icomplete-completions):
4996 Adjust calls to completion-all-sorted-completions and
4997 completion--cache-all-sorted-completions.
4998 (icomplete-with-completion-tables): Default to t.
4999 * emacs-lisp/crm.el (crm--current-element): Rename from
5000 crm--select-current-element. Don't put an overlay but return the
5001 boundaries instead.
5002 (crm--completion-command): Take two new args to bind to the boundaries.
5003 (crm-completion-help): Adjust accordingly.
5004 (crm-complete): Use completion-in-region.
5005 (crm-complete-word): Use completion-in-region--single-word.
5006 (crm-complete-and-exit): Use completion-complete-and-exit.
5007
e17d94a5
SM
50082013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5009
5010 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5011 than dynamically.
5012
96727100
JL
50132013-09-06 Juri Linkov <juri@jurta.org>
5014
5015 * info.el (Info-display-images-node): When image file doesn't exist
5016 display text version of the image if it's provided in the Info file.
5017 Otherwise, display the location of missing image from SRC attribute.
5018 Add help-echo text property from ALT attribute. (Bug#15279)
5019
86cf7329
SM
50202013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5021
5022 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5023 (edit-abbrevs-mode): Use define-derived-mode.
5024
5025 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5026 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5027 that it's defined.
5028 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5029 Use define-derived-mode.
5030
5031 * epg.el (epg-start-encrypt): Minor CSE simplification.
5032
816244a2
WX
50332013-09-06 William Xu <william.xwl@gmail.com>
5034
5035 * arc-mode.el: Add support for 7za (bug#15264).
5036 (archive-7z-program): New var.
5037 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5038 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5039 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5040
1486fa31
MA
50412013-09-06 Michael Albinus <michael.albinus@gmx.de>
5042
5043 Remove URL syntax.
5044
5045 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5046 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5047 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5048 (tramp-postfix-host-format, tramp-file-name-regexp)
5049 (tramp-completion-file-name-regexp)
5050 (tramp-completion-dissect-file-name)
5051 (tramp-handle-substitute-in-file-name): Remove 'url case.
5052 (tramp-file-name-regexp-url)
5053 (tramp-completion-file-name-regexp-url): Remove constants.
5054
39785324
GM
50552013-09-06 Glenn Morris <rgm@gnu.org>
5056
5057 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5058
1f896cb7
DG
50592013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5060
5061 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5062 keywords" below "here-doc beginnings" (Bug#15270).
5063
c0458e0b
SM
50642013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * subr.el (pop): Use `car-safe'.
5067 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5068 to detect unused `pop' return value.
5069
5070 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5071 var `block-regexp'.
5072 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5073 (python-fill-string): Remove unused var `marker'.
5074 (python-skeleton-add-menu-items): Remove unused var `items'.
5075
5076 * international/mule-cmds.el: Require CL.
5077 (find-coding-systems-for-charsets): Avoid add-to-list.
5078 (sanitize-coding-system-list): New function, extracted from
5079 select-safe-coding-system-interactively.
5080 (select-safe-coding-system-interactively): Use it.
5081 (read-input-method-name): Accept symbols for `default'.
5082
5083 * emacs-lisp/advice.el (defadvice): Add indent rule.
5084
6c42fc3e
DH
50852013-09-05 Daniel Hackney <dan@haxney.org>
5086
5087 * dired-x.el:
5088 * net/ange-ftp.el:
5089 * net/browse-url.el:
5090 * net/dbus.el:
5091 * net/eudc.el:
5092 * net/eudcb-ldap.el:
5093 * net/eww.el:
5094 * net/imap.el:
5095 * printing.el:
5096 * vc/ediff-diff.el:
5097 * vc/ediff-init.el:
5098 * vc/ediff-merg.el:
5099 * vc/ediff-mult.el:
5100 * vc/ediff-util.el:
5101 * vc/ediff-wind.el:
5102 * vc/ediff.el:
5103 * vc/emerge.el:
5104 * vc/pcvs.el:
5105 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5106 byte compiler. Remove some unused let-bound variables.
5107
4c528aab
SM
51082013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5111 a "ref-cell", since it gets better optimized (bug#14883).
5112
bd15c390
GM
51132013-09-05 Glenn Morris <rgm@gnu.org>
5114
5115 * progmodes/cc-awk.el (c-forward-sws): Declare.
5116
1c3ac2e5
GM
51172013-09-04 Glenn Morris <rgm@gnu.org>
5118
5119 * generic-x.el [rul-generic-mode]: Require cc-mode.
5120 (c++-mode-syntax-table): Declare.
5121 (rul-generic-mode-syntax-table): Init in the defvar.
5122
52b1cc79
SM
51232013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5124
c828af56
SM
5125 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5126 (vc-do-command, vc-set-async-update):
5127 * vc/vc-mtn.el (vc-mtn-dir-status):
5128 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5129 (vc-hg-pull, vc-hg-merge-branch):
5130 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5131 (vc-git-merge-branch):
5132 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5133 (vc-cvs-dir-status-files):
5134 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5135 (vc-bzr-dir-status-files):
5136 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5137 * vc/vc-annotate.el: Use lexical-binding.
5138 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5139 (vc-sentinel-movepoint): Declare.
5140 (vc-annotate): Don't use `goto-line'.
5141 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5142 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5143 (vc-sentinel-movepoint): Declare.
5144 * vc/vc-svn.el: Use lexical-binding.
5145 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5146 * vc/vc-sccs.el:
5147 * vc/vc-rcs.el: Use lexical-binding.
5148
abae272c
SM
5149 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5150 `deleted'. Don't drop errors silently.
5151
52b1cc79
SM
5152 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5153
63191d9f
XF
51542013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5155
5156 * vc/vc.el (vc-ignore): Rewrite.
5157 (vc-default-ignore): New function.
5158 (vc-default-ignore-completion-table): Use find-ignore-file.
5159
5160 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5161 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5162 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5163 Remove. Most code moved to vc.el.
5164
9d3f707c
SM
51652013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5166
abae272c 5167 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5168 * net/tramp-smb.el (tramp-smb-get-file-entries):
5169 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5170 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5171
fde38d49
SM
5172 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5173 Update call to it.
5174 (eww-change-select): Remove unused var `properties'.
5175 (eww-make-unique-file-name): Remove unused var `base'.
5176
5177 * finder.el (finder-compile-keywords): Don't mess with windows.
5178
84032db7
SM
5179 * calculator.el (calculator-funcall): Fix typo in last change.
5180
724f5e41
SM
5181 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5182
14b511d4
SM
5183 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5184 <pkg>-autoloads.el file stop us.
5185
9d3f707c 5186 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5187 warnings, and factor out common code.
9d3f707c 5188
88527bc0
DG
51892013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5190
5191 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5192 two-character operators and whether the character preceding them
5193 changes their meaning (Bug#15208).
5194
96edb677
FEG
51952013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5196
5197 Format code sent to Python shell for robustness.
9d3f707c
SM
5198 * progmodes/python.el (python-shell-buffer-substring):
5199 New function.
96edb677
FEG
5200 (python-shell-send-region, python-shell-send-buffer): Use it.
5201
95beaef3
MA
52022013-09-02 Michael Albinus <michael.albinus@gmx.de>
5203
5204 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5205 * net/tramp.el (tramp-user-error): ... here.
5206 (tramp-find-method, tramp-check-proper-host)
5207 (tramp-dissect-file-name, tramp-debug-message)
5208 (tramp-handle-shell-command):
5209 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5210 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5211
5212 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5213
f167c27b
MR
52142013-09-02 Martin Rudalics <rudalics@gmx.at>
5215
5216 * avoid.el (mouse-avoidance-point-position)
5217 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5218 returns nil.
5219
cd16c5f1
FEG
52202013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5221
5222 * progmodes/python.el (python-shell-completion-get-completions):
5223 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5224 (python-nav-if-name-main): New command.
cd16c5f1 5225
e73c3a0d
GM
52262013-09-01 Glenn Morris <rgm@gnu.org>
5227
f8ccce03
GM
5228 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5229 Avoid leading space in $wins. Otherwise the sed command used by
5230 eg compile-main ends up containing "/*.el". (Bug#15170)
5231
e73c3a0d
GM
5232 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5233
415f808e
GM
52342013-08-30 Glenn Morris <rgm@gnu.org>
5235
5236 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5237 Fix is-this-a-directory logic. (Bug#15220)
5238
f069bba8
SM
52392013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5240
112798c1
SM
5241 * textmodes/css-mode.el: Use SMIE.
5242 (css-smie-grammar): New var.
5243 (css-smie--forward-token, css-smie--backward-token)
5244 (css-smie-rules): New functions.
5245 (css-mode): Use them.
5246 (css-navigation-syntax-table): Remove var.
5247 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5248 (css-indent-calculate, css-indent-line): Remove functions.
5249
5250 Misc changes to reduce use of `(lambda...); and other cleanups.
5251 * cus-edit.el: Use lexical-binding.
5252 (customize-push-and-save, customize-apropos)
5253 (custom-buffer-create-internal): Use closures.
5254 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5255 * progmodes/ada-xref.el: Use setq.
5256 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5257 * dframe.el: Use lexical-binding.
5258 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5259 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5260 * descr-text.el: Use lexical-binding.
5261 (describe-text-widget, describe-text-sexp, describe-property-list):
5262 Use closures.
5263 * comint.el (comint-history-isearch-push-state): Use a closure.
5264 * calculator.el: Use lexical-binding.
5265 (calculator-number-to-string): Make it work with lexical-binding.
5266 (calculator-funcall): Same and use cl-letf.
5267
2da4c3ab
SM
5268 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5269 (lisp--company-doc-string, lisp--company-location): New functions.
5270 (lisp-completion-at-point): Use them to improve Company support.
5271
f069bba8
SM
5272 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5273 params of lambda expressions.
5274 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5275 (ruby-smie--opening-pipe-p): New function.
5276 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5277 symbols and matched |...| for formal params.
5278 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5279 from being treated as hanging. Handle "rescue".
5280
6758b6a8
GM
52812013-08-29 Glenn Morris <rgm@gnu.org>
5282
5283 * progmodes/cc-engine.el (c-pull-open-brace):
5284 Move definition before use.
5285
e8dfd197
SM
52862013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5289 are immutable. Don't use `unsafe' any more.
5290 (cl--defsubst-expand): Don't substitute at the same time as keeping
5291 a residual unused let-binding. Don't use `unsafe' any more.
5292
cc585c96
GM
52932013-08-29 Glenn Morris <rgm@gnu.org>
5294
ba579ea6
GM
5295 * calendar/cal-china.el (calendar-chinese-year-cache):
5296 Recenter on 2015.
5297
8201a87e
GM
5298 * nxml/nxml-util.el (nxml-debug-clear-inside):
5299 Use cl-loop rather than loop.
5300
6ee877c7
GM
5301 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5302
cc585c96
GM
5303 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5304
27be8d39
GM
53052013-08-28 Glenn Morris <rgm@gnu.org>
5306
397440a1
GM
5307 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5308
2bb762d4
GM
5309 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5310
27be8d39
GM
5311 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5312
2d69b99e
SM
53132013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5314
f663baa7
SM
5315 * simple.el (repeat-complex-command--called-interactively-skip):
5316 New function.
5317 (repeat-complex-command): Use it (bug#14136).
5318
dd4f8b74
SM
5319 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5320 (c-define-abbrev-table): Add `doc' argument.
5321 (c-mode-abbrev-table, c++-mode-abbrev-table)
5322 (objc-mode-abbrev-table, java-mode-abbrev-table)
5323 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5324 (awk-mode-abbrev-table): Use it.
5325 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5326 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5327 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5328 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5329 Move initialization into the declaration; and remove any
5330 autoload cookie.
5331
b58969f7
SM
5332 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5333 and dynamic let binding.
5334
4021d6a6
SM
5335 * vc/smerge-mode.el: Remove redundant :group args.
5336
2d69b99e
SM
5337 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5338 to load-path.
5339
274919fd
JL
53402013-08-28 Juri Linkov <juri@jurta.org>
5341
5342 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5343 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5344 (isearch-other-meta-char): Handle an undefined shifted printing
5345 character by downshifting it. (Bug#15200)
5346
121f8c95
JL
53472013-08-28 Juri Linkov <juri@jurta.org>
5348
5349 * isearch.el (isearch-search): Change regexp error message for
5350 non-regexp searches. (Bug#15166)
5351
50b13cde
PE
53522013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5353
5354 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5355 for portability to hosts where /bin/sh has problems.
5356
95888bca
SM
53572013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5360
bbe558f1
JL
53612013-08-27 Juri Linkov <juri@jurta.org>
5362
5363 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5364 in the keyboard macro. (Bug#15126)
5365
26f98a7d
JL
53662013-08-27 Juri Linkov <juri@jurta.org>
5367
5368 * isearch.el (isearch-quote-char): Comment out converting unibyte
5369 to multibyte, thus syncing with its `quoted-insert' counterpart.
5370 (Bug#15166)
5371
7c97d35e
MR
53722013-08-27 Martin Rudalics <rudalics@gmx.at>
5373
5374 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5375 argument in call of get-largest-window (Bug#15185).
5376 Reported by Stephen Leake.
7c97d35e 5377
a0b5606e 53782013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5379
5380 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5381
9e89d835
SM
53822013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5385 from a matcher-function unless there's no more matches (bug#15161).
5386
78fc2530
MA
53872013-08-26 Michael Albinus <michael.albinus@gmx.de>
5388
5389 * minibuffer.el: Revert change from 2013-08-20.
5390
5391 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5392 with text property `tramp-default', if appropriate.
5393 (tramp-check-proper-host): New defun.
5394 (tramp-dissect-file-name): Do not check hostname. Revert change
5395 of 2013-03-18.
5396 (tramp-backtrace): Make VEC-OR-PROC optional.
5397
5398 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5399 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5400 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5401 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5402 Apply `tramp-check-proper-host'.
78fc2530 5403
edca97cd
TH
54042013-08-26 Tassilo Horn <tsdh@gnu.org>
5405
5406 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5407 lambda expression in order to have `describe-variable' display it.
5408
df54bcbd
MA
54092013-08-26 Michael Albinus <michael.albinus@gmx.de>
5410
5411 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5412 BUF can be optional. (Bug#15186)
5413
eed99101
XF
54142013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5415
5416 * progmodes/flymake.el (flymake-get-real-file-name-function):
5417 Fix broken customization. (Bug#15184)
5418
b5eb9035
AM
54192013-08-25 Alan Mackenzie <acm@muc.de>
5420
8a51e842
AM
5421 Improve indentation of bracelists defined by macros (without "=").
5422
5423 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5424 expansion begins with "{", regard it as bracelist when it doesn't
5425 contain a ";".
5426
869455d4
AM
5427 Parse C++ inher-intro when there's a template split over 2 lines.
5428
5429 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5430 rigorously the search for "class" etc. followed by ":".
5431
5432 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5433 random languages a regexp which never matches rather than nil.
5434
b5eb9035
AM
5435 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5436
5437 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5438 (c-awk-regexp-one-line-possibly-open-char-list-re)
5439 (c-awk-one-line-possibly-open-regexp-re)
5440 (c-awk-one-line-non-syn-ws*-re): Remove.
5441 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5442 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5443 (c-awk-space*-unclosed-regexp-/-re): New constants.
5444 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5445 aren't regexp delimiters.
5446
5447 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5448 handling for a rare situation in AWK Mode involving unterminated
5449 strings/regexps.
5450
61611d54
GM
54512013-08-23 Glenn Morris <rgm@gnu.org>
5452
2d85dc34
GM
5453 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5454
cb8d2612
GM
5455 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5456
bb35f42f
GM
5457 * files.el (create-file-buffer): If the result would begin with
5458 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5459
b9808e77
SM
54602013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5461
e3a66363
SM
5462 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5463 text-properties (bug#15155).
5464
b9808e77
SM
5465 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5466 exist any more.
5467 (calc-keypad-redraw): Remove unused var `pad'.
5468 (calc-keypad-press): Remove unused var `menu'.
5469
7fd5f65e
MR
54702013-08-23 Martin Rudalics <rudalics@gmx.at>
5471
b9808e77
SM
5472 * window.el (display-buffer-pop-up-frame):
5473 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5474 use it as the new frame's buffer (Bug#15133).
5475
8352b530
SM
54762013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * calendar/timeclock.el: Minor cleanups.
5479 (timeclock-ask-before-exiting, timeclock-use-display-time):
5480 Use `symbol'.
5481 (timeclock-modeline-display): Define as alias before the
5482 actual definition.
5483 (timeclock-mode-line-display): Use define-minor-mode.
5484 (timeclock-day-list-template): Make it a function, add an argument.
5485 (timeclock-day-list-required, timeclock-day-list-length)
5486 (timeclock-day-list-debt, timeclock-day-list-span)
5487 (timeclock-day-list-break): Adjust calls accordingly.
5488
9f7b1925
SM
54892013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5492 Use read--expression so that completion works again.
5493
6e50e983
SS
54942013-08-21 Sam Steingold <sds@gnu.org>
5495
5496 Add rudimentary inferior shell interaction
5497 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5498 (sh-set-shell): Reset it.
9f7b1925
SM
5499 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5500 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5501
dbb0d350
SM
55022013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5503
5504 * align.el: Use lexical-binding.
5505 (align-region): Simplify accordingly.
5506
c88586a9
MA
55072013-08-20 Michael Albinus <michael.albinus@gmx.de>
5508
5509 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5510
5511 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5512 `non-essential' up.
5513
f95527c8
MA
55142013-08-17 Michael Albinus <michael.albinus@gmx.de>
5515
5516 * net/tramp.el:
5517 * net/tramp-adb.el:
5518 * net/tramp-cmds.el:
5519 * net/tramp-ftp.el:
5520 * net/tramp-gvfs.el:
5521 * net/tramp-gw.el:
5522 * net/tramp-sh.el: Don't wrap external variable declarations by
5523 `eval-when-compile'.
5524
4b5fe4ee
LMI
55252013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5526
5527 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5528 now that Emacs supports ImageMagick animations.
5529
13c366c9
MA
55302013-08-16 Michael Albinus <michael.albinus@gmx.de>
5531
5532 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5533 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5534
3dfc5cd6
MR
55352013-08-16 Martin Rudalics <rudalics@gmx.at>
5536
5537 * window.el (mouse-autoselect-window-select): Do autoselect when
5538 mouse pointer is on margin.
5539
4bbb4381
WP
55402013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5541
5542 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5543
3a2ddc2d
GM
55442013-08-16 Glenn Morris <rgm@gnu.org>
5545
e8bedf5a
GM
5546 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5547 Handle "Remote Directory" response of some clients. (Bug#15058)
5548
58c4682f
GM
5549 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5550 Tweak warning. (Bug#14926)
5551
57953f49
GM
5552 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5553 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5554
3a2ddc2d
GM
5555 * image-mode.el (image-mode-map): Add menu items to reverse,
5556 increase, decrease, reset animation speed.
5557 (image--set-speed, image-increase-speed, image-decrease-speed)
5558 (image-reverse-speed, image-reset-speed): New functions.
5559 (image-mode-map): Add bindings for speed commands.
5560
5561 * image.el (image-animate-get-speed, image-animate-set-speed):
5562 New functions.
5563 (image-animate-timeout): Respect image :speed property.
5564
10fa0ed3
SM
55652013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5566
5567 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5568 previous line (bug#15101).
5569 (debugger-eval-expression, debugger-record-expression):
5570 Use read--expression (bug#15102).
5571
5d89d9d2
MA
55722013-08-15 Michael Albinus <michael.albinus@gmx.de>
5573
5574 Remove byte compiler warnings, visible when compiling with
5575 `byte-compile-force-lexical-warnings' set to t.
5576
5577 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5578 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5579 (tramp-handle-unhandled-file-name-directory)
5580 (tramp-handle-file-notify-add-watch, tramp-action-login)
5581 (tramp-action-succeed, tramp-action-permission-denied)
5582 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5583 arguments with "_".
5584
5585 * net/tramp-adb.el (tramp-adb-parse-device-names)
5586 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5587 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5588 (tramp-adb-handle-file-truename): Remove unused arguments.
5589
5590 * net/tramp-cache.el (tramp-flush-directory-property)
5591 (tramp-flush-connection-property, tramp-list-connections)
5592 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5593
10fa0ed3
SM
5594 * net/tramp-compat.el (tramp-compat-make-temp-file):
5595 Rename FILENAME to F.
5d89d9d2
MA
5596
5597 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5598 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5599 (tramp-zeroconf-parse-workstation-device-names)
5600 (tramp-zeroconf-parse-webdav-device-names)
5601 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5602
5603 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5604 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5605
5606 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5607 arguments.
5608 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5609 (tramp-sh-handle-insert-file-contents-literally)
5610 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5611 with "_".
5612 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5613 Remove unused variables.
5614
5615 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5616 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5617 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5618
5619 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5620 Make them a defconst.
5621 (tramp-uuencode-region): Remove unused variable.
5622
62f33bae
JB
56232013-08-14 Juanma Barranquero <lekktu@gmail.com>
5624
5625 * frameset.el (frameset--prop-setter): New function.
5626 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5627 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5628 parameter was already set in FILTERED. Doc fix.
5629 (frameset--record-minibuffer-relationships): Allow saving a
5630 minibufferless frame without its corresponding minibuffer frame.
5631 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5632 frame, if the frame id matches.
5633 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5634 frames before orphaned ones.
5635 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5636
c660a885
MR
56372013-08-14 Martin Rudalics <rudalics@gmx.at>
5638
5639 * window.el (window-make-atom): Don't overwrite parameter
5640 already present.
5641 (display-buffer-in-atom-window): Handle special case where we
5642 split an already atomic window.
5643 (window--major-non-side-window, display-buffer-in-side-window)
5644 (window--side-check): Ignore minibuffer window when walking
5645 window tree.
5646 (window-deletable-p): Return 'frame only if no other frame uses
5647 our minibuffer window.
5648 (record-window-buffer): Run buffer-list-update-hook.
5649 (split-window): Make sure window--check-frame won't destroy an
5650 existing atomic window in case the new window gets nested
5651 inside.
5652 (display-buffer-at-bottom): Ignore minibuffer window when
5653 walking window tree. Don't split a side window.
5654 (pop-to-buffer): Don't set-buffer here, the select-window call
5655 should do that.
5656 (mouse-autoselect-window-select): Autoselect only if we are in the
5657 text portion of the window.
5658
8259030d
LMI
56592013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5660
21c58ae2
LMI
5661 * net/shr.el (shr-parse-image-data): New function to grab both the
5662 data itself and the Content-Type.
5663 (shr-put-image): Use it.
5664
5665 * net/eww.el (eww-display-image): Ditto.
5666
8259030d
LMI
5667 * image.el (image-content-type-suffixes): New variable.
5668
ad756449
FEG
56692013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5670
5671 * progmodes/python.el (python-imenu--build-tree)
5672 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5673
f73f4ce6
XF
56742013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5675
5676 * simple.el (backward-word): Mention the optional argument.
5677
1f585e65
SM
56782013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 * frameset.el (frameset--make): Rename constructor from make-frameset.
5681 (frameset-p, frameset-valid-p): Don't autoload.
5682 (frameset-valid-p): Use normal accessors.
5683
af1c6c84
GM
56842013-08-13 Glenn Morris <rgm@gnu.org>
5685
55e47f95
GM
5686 * progmodes/compile.el (compile-command): Tweak example in doc.
5687 * obsolete/scribe.el (scribe-mode):
5688 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5689
f0024d8c
GM
5690 * mail/feedmail.el (feedmail-confirm-outgoing)
5691 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5692
5693 * cus-start.el (truncate-partial-width-windows): Fix type.
5694
5695 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5696
af1c6c84
GM
5697 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5698
5514cc4c
SM
56992013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * emacs-lisp/timer.el (timer--time-setter): New function.
5702 (timer--time): Use it as gv-setter.
5703
5704 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5705 setter is not a symbol.
5706
7997a2f1
GJ
57072013-08-12 Grégoire Jadi <daimrod@gmail.com>
5708
5709 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5710 if sending fails. This makes debugging easier.
5711
01f1a9ab
JB
57122013-08-12 Juanma Barranquero <lekktu@gmail.com>
5713
5714 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5715 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5716 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5717
594a4307
EZ
57182013-08-12 Eli Zaretskii <eliz@gnu.org>
5719
5720 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5721
7a22490f 57222013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5723
5724 * format.el (format-annotate-function):
5725 Handle read-only text properties in the source. (Bug#14887)
5726
3e41a054
LMI
57272013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5728
5514cc4c
SM
5729 * net/eww.el (eww-display-html): Ignore coding system errors.
5730 One web site uses "utf-8lias" as the coding system.
3e41a054 5731
7ec326db
JB
57322013-08-11 Juanma Barranquero <lekktu@gmail.com>
5733
5734 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5735
5660113b
JB
57362013-08-10 Juanma Barranquero <lekktu@gmail.com>
5737
9a4ebc74
JB
5738 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5739 (tutorial--detailed-help): Remove unused local variables.
5740 (tutorial--save-tutorial-to): Use ignore-errors.
5741 (help-with-tutorial): Use looking-at-p.
5742
5743 * view.el (view-buffer-other-window, view-buffer-other-frame):
5744 Mark unused arguments.
5745
5746 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5747 (woman-select-symbol-fonts, woman, woman-find-file)
5748 (woman-insert-file-contents, woman-non-underline-faces):
5749 Use string-match-p.
5750 (woman1-unquote): Move declaration.
5751
5752 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5753 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5754 argument. Remove unused local variable.
5755 (xml-parse-elem-type): Use string-match-p.
5756 (xml-substitute-numeric-entities): Use ignore-errors.
5757
45fdb482
JB
5758 * calculator.el (calculator): Mark unused argument.
5759 (calculator-paste, calculator-quit, calculator-integer-p):
5760 Use ignore-errors.
5761 (calculator-string-to-number, calculator-decimal, calculator-exp)
5762 (calculator-op-or-exp): Use string-match-p.
5763
5764 * dired.el (dired-buffer-more-recently-used-p): Declare.
5765 (dired-insert-set-properties, dired-insert-old-subdirs):
5766 Use ignore-errors.
5767
5768 * dired-aux.el (dired-compress): Use ignore-errors.
5769 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5770 (dired-do-async-shell-command, dired-do-shell-command)
5771 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5772 (dired-insert-subdir-validate): Use string-match-p.
5773 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5774 (dired-add-entry): Use string-match-p, looking-at-p.
5775 (dired-insert-subdir-newpos): Remove unused local variable.
5776
5777 * filenotify.el (file-notify-callback): Remove unused local variable.
5778
5779 * filesets.el (filesets-error): Mark unused argument.
5780 (filesets-which-command-p, filesets-filter-dir-names)
5781 (filesets-directory-files, filesets-get-external-viewer)
5782 (filesets-ingroup-get-data): Use string-match-p.
5783
5784 * find-file.el (ff-other-file-name, ff-other-file-name)
5785 (ff-find-the-other-file, ff-cc-hh-converter):
5786 Remove unused local variables.
5787 (ff-get-file-name): Use string-match-p.
5788 (ff-all-dirs-under): Use ignore-errors.
5789
5790 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5791 (follow-select-if-visible): Remove unused local variable.
5792
5793 * forms.el (read-file-filter): Move declaration.
5794 (forms--make-format, forms--make-parser, forms-insert-record):
5795 Quote function with #'.
5796 (forms--update): Use string-match-p. Quote function with #'.
5797
5798 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5799 (help-make-xrefs): Use looking-at-p.
5800 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5801
5802 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5803 (ibuffer-confirm-operation-on): Use string-match-p.
5804
5805 * msb.el (msb-item-handler, msb-dired-item-handler):
5806 Mark unused arguments.
5807
5808 * ses.el (ses-decode-cell-symbol)
5809 (ses-kill-override): Remove unused local variable.
5810 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5811 (ses-load): Use ignore-errors, looking-at-p.
5812 (ses-jump-safe): Use ignore-errors.
5813 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5814
5815 * tabify.el (untabify, tabify): Mark unused arguments.
5816
5817 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5818 Mark unused argument.
5819 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5820 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5821
c880af52
JB
5822 * emacs-lisp/timer.el (timer--time): Define setter with
5823 gv-define-setter to avoid deprecation warning.
5824
5660113b 5825 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5826 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5827 (cmpl-statistics-block): Remove (body was commented out).
5828 All callers changed.
5829 (add-completions-from-buffer, load-completions-from-file):
5830 Remove unused variables.
5831
156aab80
JB
58322013-08-09 Juanma Barranquero <lekktu@gmail.com>
5833
5c5dee78
JB
5834 * filecache.el (file-cache-delete-file-list):
5835 Print message only when told so.
5836 (file-cache-files-matching): Use #' in mapconcat argument.
5837
156aab80
JB
5838 * ffap.el (ffap-url-at-point): Fix reference to variable
5839 thing-at-point-default-mail-uri-scheme.
5840
ad9dcd70
SM
58412013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5842
54bd972f
SM
5843 * subr.el (define-error): New function.
5844 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5845 error-file-not-found and define with define-error.
5846 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5847 and define with define-error.
5848 * userlock.el (file-locked, file-supersession):
5849 * simple.el (mark-inactive):
5850 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5851 * progmodes/ada-mode.el (ada-mode-errors):
5852 * play/life.el (life-extinct):
5853 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5854 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5855 * nxml/rng-util.el (rng-error):
5856 * nxml/rng-uri.el (rng-uri-error):
5857 * nxml/rng-match.el (rng-compile-error):
5858 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5859 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5860 * nxml/nxml-rap.el (nxml-scan-error):
5861 * nxml/nxml-outln.el (nxml-outline-error):
5862 * net/soap-client.el (soap-error):
5863 * net/gnutls.el (gnutls-error):
5864 * net/ange-ftp.el (ftp-error):
5865 * mpc.el (mpc-proc-error):
5866 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5867 (json-number-format, json-string-escape, json-string-format)
5868 (json-key-format, json-object-format):
5869 * jka-compr.el (compression-error):
5870 * international/quail.el (quail-error):
5871 * international/kkc.el (kkc-error):
5872 * emacs-lisp/ert.el (ert-test-failed):
5873 * calc/calc.el (calc-error, inexact-result, math-overflow)
5874 (math-underflow):
5875 * bookmark.el (bookmark-error-no-filename):
5876 * epg.el (epg-error): Define with define-error.
5877
0ea9e53a
SM
5878 * time.el (display-time-event-handler)
5879 (display-time-next-load-average): Don't call sit-for since it seems
5880 unnecessary (bug#15045).
5881
b0429158
SM
5882 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5883 Use #' instead of ' to quote functions.
5884 (checkdoc-output-mode): Use setq-local.
5885 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5886 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5887 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5888 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5889 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5890 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5891 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5892 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5893
ad9dcd70
SM
5894 * ido.el (ido-completion-help): Fix up compiler warning.
5895
77187e6f
JB
58962013-08-09 Juanma Barranquero <lekktu@gmail.com>
5897
5898 * frameset.el (frameset-p): Add autoload cookie.
5899 (frameset--jump-to-register): New function, based on code moved from
5900 register.el.
5901 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5902
5903 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5904 (frameset-restore, frameset-save, frameset-session-filter-alist):
5905 Remove declarations.
5906 (register-alist): Doc fix.
5907 (frameset-to-register): Move to frameset.el.
5908 (jump-to-register, describe-register-1): Remove frameset-specific code.
5909
9d3aa82c
JB
59102013-08-08 Juanma Barranquero <lekktu@gmail.com>
5911
5912 * allout-widgets.el (allout-widgets-pre-command-business)
5913 (allout-widgets-post-command-business)
5914 (allout-widgets-after-change-handler)
5915 (allout-decorate-item-and-context, allout-set-boundary-marker)
5916 (allout-body-modification-handler)
5917 (allout-graphics-modification-handler): Mark ignored arguments.
5918 (allout-widgets-post-command-business)
5919 (allout-widgets-exposure-change-processor)
5920 (allout-widgets-exposure-undo-processor)
5921 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5922 (allout-parse-item-at-point, allout-decorate-item-guides)
5923 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5924 * allout.el (epa-passphrase-callback-function): Declare.
5925 (allout-overlay-insert-in-front-handler)
5926 (allout-overlay-interior-modification-handler)
5927 (allout-isearch-end-handler, allout-chart-siblings)
5928 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5929 (allout-yank-processing, allout-process-exposed)
5930 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5931 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5932 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5933 (lisp-indent-defform): Mark ignored arguments.
5934 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5935 (calculate-lisp-indent): Remove unused variables.
5936 * international/characters.el (indian-2-column, arabic-2-column)
5937 (tibetan): Mark ignored arguments.
5938 (use-cjk-char-width-table): Mark ignored arguments.
5939 Remove unused variables.
5940 * international/fontset.el (build-default-fontset-data)
5941 (x-compose-font-name, create-fontset-from-fontset-spec):
5942 Mark ignored arguments.
5943 (fontset-plain-name): Remove unused variables.
5944 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5945 (keyboard-coding-system): Mark ignored arguments.
5946 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5947 * help.el (resize-temp-buffer-window):
5948 * window.el (display-buffer-in-major-side-window)
5949 (display-buffer-in-side-window, display-buffer-in-previous-window):
5950 Remove unused variables.
5951 * isearch.el (isearch-forward-symbol):
5952 * version.el (emacs-bzr-version-bzr):
5953 * international/mule-cmds.el (current-language-environment):
5954 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5955 (x-handle-display):
5956 * term/pc-win.el (x-list-fonts, x-display-planes)
5957 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5958 (x-server-version, x-display-screens, x-display-mm-height)
5959 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5960 (x-selection-owner-p, x-own-selection-internal)
5961 (x-disown-selection-internal, x-get-selection-internal)
5962 (msdos-initialize-window-system):
5963 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5964 * term/x-win.el (x-handle-no-bitmap-icon):
5965 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5966 (vc-default-find-file-hook, vc-default-extra-menu):
5967 Mark ignored arguments.
5968
0ca3f70e
SM
59692013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5970
5971 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5972 break-condition in the context of the debugged code (bug#12685).
5973
74c5d24c
CS
59742013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5975
5976 * comint.el:
5977 Do not use an overlay to highlight the last prompt. (Bug#14744)
5978 (comint-mode): Make comint-last-prompt buffer local.
5979 (comint-last-prompt): New variable.
5980 (comint-last-prompt-overlay): Remove. Superseded by
5981 comint-last-prompt.
0ca3f70e
SM
5982 (comint-snapshot-last-prompt, comint-output-filter):
5983 Use comint-last-prompt.
74c5d24c 5984
c03c02ee
JB
59852013-08-08 Juanma Barranquero <lekktu@gmail.com>
5986
a3738d20 5987 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5988 (frameset-save): Check validity of the resulting frameset.
5989
04263d23
XF
59902013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5991
5992 * ido.el (ido-record-command): Add doc string.
5993
76c5e5ab
JB
59942013-08-08 Juanma Barranquero <lekktu@gmail.com>
5995
5996 * frameset.el (frameset): Do not disable creation of the default
5997 frameset-p predicate. Doc fix.
5998 (frameset-valid-p): New function, copied from the old predicate-p.
5999 Add additional checks.
6000 (frameset-restore): Check with frameset-valid-p.
6001 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6002 (frameset-name, frameset-description, frameset-properties)
6003 (frameset-states): Add docstring.
f9dbf1cb
JB
6004 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6005 (frameset-filter-alist): Doc fixes.
76c5e5ab 6006
bd0c3c0b
JB
60072013-08-08 Juanma Barranquero <lekktu@gmail.com>
6008
6009 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6010
c735544c
SM
60112013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6014 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6015 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6016 (byte-compile-normal-call): Remove obsolescence check.
6017
2805a651
JB
60182013-08-08 Juanma Barranquero <lekktu@gmail.com>
6019
3677ffeb
JB
6020 * frameset.el (frameset-restore): Doc fix.
6021
2805a651
JB
6022 * register.el (frameset-frame-id, frameset-frame-with-id)
6023 (frameset-p, frameset-restore, frameset-save): Declare.
6024 (register-alist): Document framesets.
6025 (frameset-session-filter-alist): Declare.
6026 (frameset-to-register): New function.
6027 (jump-to-register): Implement jumping to framesets. Doc fix.
6028 (describe-register-1): Describe framesets.
6029
6030 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6031
a912c016
JB
60322013-08-07 Juanma Barranquero <lekktu@gmail.com>
6033
6034 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6035 Use lexical-binding.
6036
6037 * frameset.el (frameset): Use type vector, not list (incompatible
6038 change). Do not declare a new constructor, use the default one.
6039 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6040 `name' and `description', respectively, and add read-only slot
6041 `timestamp'. Doc fixes.
6042 (frameset-copy, frameset-persistent-filter-alist)
6043 (frameset-filter-alist, frameset-switch-to-gui-p)
6044 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6045 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6046 (frameset-filter-iconified, frameset-keep-original-display-p):
6047 Doc fixes.
6048 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6049 Rename from frameset-filter-(save|restore)-param. All callers changed.
6050 Doc fix.
6051 (frameset-p): Adapt to change to vector and be more thorough.
6052 Change arg name to OBJECT. Doc fix.
6053 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6054 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6055 All callers changed.
6056 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6057 All callers changed.
6058 (frameset--record-minibuffer-relationships): Rename from
6059 frameset--process-minibuffer-frames. All callers changed.
6060 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6061 Use new default constructor (again). Doc fix.
6062 (frameset--find-frame-if): Rename from `frameset--find-frame.
6063 All callers changed.
6064 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6065 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6066 Doc fix.
6067 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6068 PARAMETERS and WINDOW-STATE, respectively.
6069 (frameset-restore): Add new keyword argument PREDICATE.
6070 Reset frameset--target-display to nil. Doc fix.
6071
bb41480a
SM
60722013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6073
f001e98e
SM
6074 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6075 (bat-mode): Use it.
6076 (bat-mode-syntax-table): Mark \n as end-of-comment.
6077 (bat-font-lock-keywords): Remove comment rule.
6078
7679edb1
SM
6079 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6080 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6081
bb41480a
SM
6082 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6083 (byte-compile-callargs-warn): Use `push'.
6084 (byte-compile-arglist-warn): Ignore higher-order "calls".
6085 (byte-compile-file-form-autoload): Use `pcase'.
6086 (byte-compile-function-form): If quoting a symbol, check that it exists.
6087
cdc1ebb9
EZ
60882013-08-07 Eli Zaretskii <eliz@gnu.org>
6089
6090 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6091 and add a few popular commands found in batch files.
6092 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6093 (dos-mode): Doc fixes.
6094
312b1740
SM
60952013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6096
6097 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6098 (dos-mode): Use setq-local. Add space after "rem".
6099 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6100 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6101
400a3178
AM
61022013-08-07 Arni Magnusson <arnima@hafro.is>
6103
6104 * progmodes/dos.el: New file.
6105 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6106 dos-mode.
6107
3b5c03d3
GM
61082013-08-06 Glenn Morris <rgm@gnu.org>
6109
6110 * calendar/calendar.el: Add new faces, and day-header-array.
6111 (calendar-weekday-header, calendar-weekend-header)
6112 (calendar-month-header): New faces.
6113 (calendar-day-header-construct): New function.
6114 (calendar-day-header-width): Also :set calendar-day-header-array.
6115 (calendar-american-month-header, calendar-european-month-header)
6116 (calendar-iso-month-header): Use calendar- faces.
6117 (calendar-generate-month):
6118 Use calendar-day-header-array for day headers; apply faces to them.
6119 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6120 (calendar-abbrev-construct): Add optional maxlen argument.
6121 (calendar-day-name-array): Doc fix.
6122 (calendar-day-name-array, calendar-abbrev-length)
6123 (calendar-day-abbrev-array):
6124 Also :set calendar-day-header-array, and maybe redraw.
6125 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6126 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6127 (calendar-day-name): Add option to use header array.
6128
ec6a2d7a
LMI
61292013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6130
6131 * net/shr.el (shr-render-td): Remove debugging.
6132 (shr-render-td): Make width computation consistent by defaulting
6133 all zero-width columns to 10 characters. This may not be optimal,
6134 but it's at least consistent.
2122cb6d
LMI
6135 (shr-make-table-1): Redo last change to fix the real problem in
6136 colspan handling.
ec6a2d7a 6137
ed4fd9c5
DA
61382013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6139
0ca3f70e
SM
6140 * files.el (cache-long-line-scans):
6141 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6142
64e22afe
JB
61432013-08-06 Juanma Barranquero <lekktu@gmail.com>
6144
024b38fc
JB
6145 * frameset.el (frameset, frameset-filter-alist)
6146 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6147 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6148 (frameset-compute-pos): Rename from frameset--compute-pos,
6149 and add docstring.
6150 (frameset-move-onscreen): Use frameset-compute-pos.
6151 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6152
64e22afe
JB
6153 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6154 Fix typos in docstrings.
6155
c8c2aca8
DA
61562013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6157
6158 * frame.el (get-other-frame): Tiny cleanup.
6159
1d237bba
JB
61602013-08-06 Juanma Barranquero <lekktu@gmail.com>
6161
8951efef
JB
6162 * vc/vc.el (vc-default-ignore-completion-table):
6163 Silence byte-compiler warning.
6164
307764cc
JB
6165 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6166 slot , which can indeed be nil.
6167 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6168 Move entry for `left' from persistent to live filter alist.
6169 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6170 Doc fixes.
6171 (frameset-filter-params): When restoring a frame, copy items added to
6172 `filtered', to avoid unwittingly modifying the original parameters.
6173 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6174 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6175
1d237bba
JB
6176 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6177 to use looking-at-p instead of looking-at. (Bug#15028)
6178
dc6c0eda
SM
61792013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6180
6181 Revert introduction of isearch-filter-predicates (bug#14714).
6182 Rely on add-function instead.
6183 * isearch.el (isearch-filter-predicates): Rename it back to
6184 isearch-filter-predicate.
6185 (isearch-message-prefix): Use advice-function-mapc and advice
6186 properties to get the isearch-message-prefix.
6187 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6188 instead of run-hook-with-args-until-failure.
6189 (isearch-filter-visible): Not obsolete any more.
6190 * loadup.el: Preload nadvice.
6191 * replace.el (perform-replace): Revert to funcall
6192 instead of run-hook-with-args-until-failure.
6193 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6194 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6195 dired-isearch-filenames-toggle; make it into a proper minor mode.
6196 Use add/remove-function.
6197 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6198 Call the minor-mode rather than add/remove-hook.
6199 (dired-isearch-filter-filenames):
6200 Remove isearch-message-prefix property.
6201 * info.el (Info--search-loop): New function, extracted from Info-search.
6202 Funcall isearch-filter-predicate instead of
6203 run-hook-with-args-until-failure isearch-filter-predicates.
6204 (Info-search): Use it.
6205 (Info-mode): Use isearch-filter-predicate instead of
6206 isearch-filter-predicates.
6207
290d5b58
DA
62082013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6209
6210 Do not call to `selected-window' where it is assumed by default.
6211 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6212 `window-hscroll', `window-width', `window-height', `window-buffer',
6213 `window-frame', `window-start', `window-point', `next-window'
6214 and `window-display-table'.
6215 * abbrev.el (abbrev--default-expand):
6216 * bs.el (bs--show-with-configuration):
6217 * buff-menu.el (Buffer-menu-mouse-select):
6218 * calc/calc.el (calc):
6219 * calendar/calendar.el (calendar-generate-window):
6220 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6221 (diary-make-entry):
6222 * comint.el (send-invisible, comint-dynamic-complete-filename)
6223 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6224 * completion.el (complete):
6225 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6226 * disp-table.el (describe-current-display-table):
6227 * doc-view.el (doc-view-insert-image):
6228 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6229 * ehelp.el (with-electric-help):
6230 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6231 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6232 * emacs-lisp/helper.el (Helper-help-scroller):
6233 * emulation/cua-base.el (cua--post-command-handler-1):
6234 * eshell/esh-mode.el (eshell-output-filter):
6235 * ffap.el (ffap-gnus-wrapper):
6236 * help-macro.el (make-help-screen):
6237 * hilit-chg.el (highlight-compare-buffers):
6238 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6239 * hl-line.el (global-hl-line-highlight):
6240 * icomplete.el (icomplete-simple-completing-p):
6241 * isearch.el (isearch-done):
6242 * jit-lock.el (jit-lock-stealth-fontify):
6243 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6244 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6245 * mpc.el (mpc-tagbrowser, mpc):
6246 * net/rcirc.el (rcirc-any-buffer):
6247 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6248 * play/landmark.el (landmark-max-width, landmark-max-height):
6249 * play/zone.el (zone):
6250 * progmodes/compile.el (compilation-goto-locus):
6251 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6252 * progmodes/etags.el (find-tag-other-window):
6253 * progmodes/fortran.el (fortran-column-ruler):
6254 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6255 * progmodes/verilog-mode.el (verilog-point-text):
6256 * reposition.el (reposition-window):
6257 * rot13.el (toggle-rot13-mode):
6258 * server.el (server-switch-buffer):
6259 * shell.el (shell-dynamic-complete-command)
6260 (shell-dynamic-complete-environment-variable):
6261 * simple.el (insert-buffer, set-selective-display)
6262 (delete-completion-window):
6263 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6264 (speedbar-recenter):
6265 * startup.el (fancy-splash-head):
6266 * textmodes/ispell.el (ispell-command-loop):
6267 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6268 * tutorial.el (help-with-tutorial):
6269 * vc/add-log.el (add-change-log-entry):
6270 * vc/compare-w.el (compare-windows):
6271 * vc/ediff-help.el (ediff-indent-help-message):
6272 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6273 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6274 (ediff-setup-control-frame):
6275 * vc/emerge.el (emerge-position-region):
6276 * vc/pcvs-util.el (cvs-bury-buffer):
6277 * window.el (walk-windows, mouse-autoselect-window-select):
6278 * winner.el (winner-set-conf, winner-undo): Related users changed.
6279
38276e01
JB
62802013-08-05 Juanma Barranquero <lekktu@gmail.com>
6281
6282 * frameset.el (frameset--set-id): Doc fix.
6283 (frameset-frame-id, frameset-frame-id-equal-p)
6284 (frameset-locate-frame-id): New functions.
6285 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6286 (frameset-restore): Use them.
6287
12b4c0ea
DA
62882013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6289
6290 Do not call to `selected-frame' where it is assumed by default.
6291 Affected functions are `raise-frame', `redraw-frame',
6292 `frame-first-window', `frame-terminal' and `delete-frame'.
6293 * calendar/appt.el (appt-disp-window):
6294 * epg.el (epg-wait-for-completion):
6295 * follow.el (follow-delete-other-windows-and-split)
6296 (follow-avoid-tail-recenter):
6297 * international/mule.el (set-terminal-coding-system):
6298 * mail/rmail.el (rmail-mail-return):
6299 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6300 * progmodes/f90.el (f90-add-imenu-menu):
6301 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6302 * server.el (server-switch-buffer):
6303 * simple.el (delete-completion-window):
6304 * talk.el (talk):
6305 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6306 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6307 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6308 * vc/ediff.el (ediff-documentation): Related users changed.
6309 * frame.el (selected-terminal): Remove the leftover.
6310
17f25e76
GM
63112013-08-05 Glenn Morris <rgm@gnu.org>
6312
6313 * calendar/calendar.el (calendar-generate-month):
6314 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6315 (calendar-generate-month, calendar-font-lock-keywords):
6316 Fix for calendar-day-header-width > length of any day name.
17f25e76 6317
063233c3
JB
63182013-08-05 Juanma Barranquero <lekktu@gmail.com>
6319
6320 * desktop.el (desktop-clear): Use new name of sort predicate.
6321
6322 * frameset.el (frameset): Add docstring. Move :version property to its
6323 own `version' slot.
6324 (frameset-copy): Rename from copy-frameset.
6325 (frameset-p): Check more thoroughly.
6326 (frameset-prop): Do not check for :version, which is no longer a prop.
6327 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6328 Use new :never value instead of t.
6329 (frameset-filter-alist): Expand and clarify docstring.
6330 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6331 (frameset-filter-minibuffer, frameset-filter-save-param)
6332 (frameset-filter-restore-param, frameset-filter-iconified):
6333 Add pointer to docstring of frameset-filter-alist.
6334 (frameset-filter-params): Rename filter values to be more meaningful:
6335 :never instead of t, and reverse the meanings of :save and :restore.
6336 (frameset--process-minibuffer-frames): Clarify error message.
6337 (frameset-save): Avoid unnecessary and confusing call to framep.
6338 Use new BOA constructor for framesets.
6339 (frameset--reuse-list): Doc fix.
6340 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6341 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6342 (frameset-minibufferless-first-p): Doc fix.
6343 Rename from frameset-sort-frames-for-deletion.
6344 (frameset-restore): Doc fixes. Use new function names.
6345 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6346
d5671a82
JB
63472013-08-04 Juanma Barranquero <lekktu@gmail.com>
6348
6349 * desktop.el (desktop-restore-forces-onscreen)
6350 (desktop-restore-reuses-frames): Document :keyword constant values.
6351 (desktop-filter-parameters-alist): Remove, now identical to
6352 frameset-filter-alist.
6353 (desktop--filter-tty*): Remove, moved to frameset.el.
6354 (desktop-save-frameset, desktop-restore-frameset):
6355 Do not pass :filters argument.
6356
6357 * frameset.el (frameset-live-filter-alist)
6358 (frameset-persistent-filter-alist): New variables.
6359 (frameset-filter-alist): Use them. Add autoload cookie.
6360 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6361 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6362 `frameset--id' (it's supposed to be internal to frameset.el).
6363 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6364 (frameset--initial-params): New function.
6365 (frameset--get-frame): Use it. Doc fix.
6366 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6367 Accept :all, not 'all.
6368 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6369 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6370 with fbound symbols. Fix frame id matching, and remove matching ids if
6371 the frame being restored is deleted. Obey :delete.
6372
671d5c16
SM
63732013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * subr.el (macrop): New function.
6376 (text-clone--maintaining): New var.
6377 (text-clone--maintain): Rename from text-clone-maintain. Use it
6378 instead of inhibit-modification-hooks.
6379
6380 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6381 a proxy, so as handle autoloads and redefinitions of the target.
6382 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6383
6384 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6385 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6386 (pcase--mutually-exclusive-p): New function.
6387 (pcase--split-consp): Use it.
6388 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6389 mutually exclusive with the current predicate.
6390
6391 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6392 (edebug-macrop): Remove. Use `macrop' instead.
6393 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6394 (ad-macro-p):
6395 * eshell/esh-cmd.el (eshell-macrop):
6396 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6397
1d44e9dc
SM
63982013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6401 (advice-mapc): New function, using it.
6402 (advice-function-member-p): New function.
6403 (advice--normalize): Store the cdr in advice--saved-rewrite since
6404 that's the part that will be changed.
6405 (advice--symbol-function): New function.
6406 (advice-remove): Handle removal before the function is defined.
6407 Adjust to new advice--saved-rewrite.
6408 (advice-member-p): Use advice-function-member-p and
6409 advice--symbol-function.
6410
5414a283
JB
64112013-08-04 Juanma Barranquero <lekktu@gmail.com>
6412
51d30f2c
JB
6413 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6414 (frameset-filter-minibuffer): Doc fix.
6415 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6416 (frameset--set-id, frameset--process-minibuffer-frames)
6417 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6418 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6419
5414a283
JB
6420 * desktop.el (desktop-clear): Only delete frames when called
6421 interactively and desktop-restore-frames is non-nil. Doc fix.
6422 (desktop-read): Set desktop-saved-frameset to nil.
6423
ab419665
XF
64242013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6425
6426 * vc/vc.el (vc-ignore): Rewrite.
6427 (vc-default-ignore-completion-table):
6428 (vc--read-lines):
6429 (vc--add-line, vc--remove-regexp): New functions.
6430
6431 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6432 (vc-svn-ignore-completion-table): New function.
6433
6434 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6435 (vc-hg-ignore-completion-table):
6436 (vc-hg-find-ignore-file): New functions.
6437
6438 * vc/vc-git.el (vc-git-ignore): Rewrite.
6439 (vc-git-ignore-completion-table):
6440 (vc-git-find-ignore-file): New functions.
6441
6442 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6443
6444 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6445 (vc-bzr-ignore-completion-table):
6446 (vc-bzr-find-ignore-file): New functions.
6447
2613dea2
JB
64482013-08-03 Juanma Barranquero <lekktu@gmail.com>
6449
6450 * frameset.el (frameset-prop): New function and setter.
6451 (frameset-save): Do not modify frame list passed by the caller.
6452
9c959872
SM
64532013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6456
a104f656
SM
64572013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6458
70122acf
SM
6459 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6460 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6461
a104f656
SM
6462 * custom.el (custom-initialize-default, custom-initialize-set)
6463 (custom-initialize-reset, custom-initialize-changed): Affect the
6464 toplevel-default-value (bug#6275, bug#14586).
6465 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6466 for bug#6275.
6467
f078d570
JB
64682013-08-02 Juanma Barranquero <lekktu@gmail.com>
6469
185e3b5a
JB
6470 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6471 Add cl-def* expressions.
6472
f078d570
JB
6473 * frameset.el (frameset-filter-params): Fix order of arguments.
6474
9421876d
JB
64752013-08-02 Juanma Barranquero <lekktu@gmail.com>
6476
6477 Move code related to saving frames to frameset.el.
6478 * desktop.el: Require frameset.
6479 (desktop-restore-frames): Doc fix.
6480 (desktop-restore-reuses-frames): Rename from
6481 desktop-restoring-reuses-frames.
6482 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6483 (desktop-clear): Clear frames too.
6484 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6485 (desktop--filter-tty*, desktop-save, desktop-read):
6486 Use frameset functions.
6487 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6488 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6489 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6490 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6491 (desktop--process-minibuffer-frames, desktop-save-frames)
6492 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6493 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6494 (desktop--sort-states, desktop-restoring-frames-p)
6495 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6496 (desktop-restoring-frameset-p, desktop-restore-frameset)
6497 (desktop--check-dont-save, desktop-save-frameset): New functions.
6498 (desktop--app-id): New constant.
6499 (desktop-first-buffer, desktop-buffer-ok-count)
6500 (desktop-buffer-fail-count): Move before first use.
6501 * frameset.el: New file.
6502
76dc5996
SM
65032013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6504
6505 * files.el: Use lexical-binding.
6506 (dir-locals-read-from-file): Remove unused `err' variable.
6507 (hack-dir-local-variables--warned-coding): New var.
6508 (hack-dir-local-variables): Use it to avoid repeated warnings.
6509 (make-backup-file-name--default-function): New function.
6510 (make-backup-file-name-function): Use it as default.
6511 (buffer-stale--default-function): New function.
6512 (buffer-stale-function): Use it as default.
6513 (revert-buffer-insert-file-contents--default-function): New function.
6514 (revert-buffer-insert-file-contents-function): Use it as default.
6515 (insert-directory): Avoid add-to-list.
6516
6517 * autorevert.el (auto-revert-handler): Simplify.
6518 Use buffer-stale--default-function.
6519
06d36e2b
TH
65202013-08-01 Tassilo Horn <tsdh@gnu.org>
6521
5f648ab4
TH
6522 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6523
06d36e2b
TH
6524 * whitespace.el (whitespace-ensure-local-variables): New function.
6525 (whitespace-cleanup-region): Call it.
6526 (whitespace-turn-on): Call it.
6527
a43dc424
MA
65282013-08-01 Michael Albinus <michael.albinus@gmx.de>
6529
6530 Complete file name handlers.
6531
6532 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6533 (tramp-handle-verify-visited-file-modtime)
6534 (tramp-handle-file-notify-rm-watch): New functions.
6535 (tramp-call-process): Do not bind `default-directory'.
6536
44e18199
JB
6537 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6538 Order alphabetically.
a43dc424
MA
6539 [access-file, add-name-to-file, dired-call-process]:
6540 [dired-compress-file, file-acl, file-notify-rm-watch]:
6541 [file-ownership-preserved-p, file-selinux-context]:
6542 [make-directory-internal, make-symbolic-link, set-file-acl]:
6543 [set-file-selinux-context, set-visited-file-modtime]:
6544 [verify-visited-file-modtime]: Add handler.
6545 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6546
6547 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6548 [file-notify-add-watch, file-notify-rm-watch]:
6549 [set-file-times, set-visited-file-modtime]:
6550 [verify-visited-file-modtime]: Add handler.
6551 (with-tramp-gvfs-error-message)
6552 (tramp-gvfs-handle-set-visited-file-modtime)
6553 (tramp-gvfs-fuse-file-name): Remove.
6554 (tramp-gvfs-handle-file-notify-add-watch)
6555 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6556 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6557
44e18199
JB
6558 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6559 Order alphabetically.
a43dc424
MA
6560 [file-notify-rm-watch ]: Use default Tramp handler.
6561 [executable-find]: Remove private handler.
6562 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6563 `default-directory'.
6564 (tramp-sh-handle-executable-find)
6565 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6566 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6567 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6568 Do not use `format' in `tramp-message'.
6569
6570 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6571 [file-notify-rm-watch, set-visited-file-modtime]:
6572 [verify-visited-file-modtime]: Add handler.
6573 (tramp-smb-call-winexe): Do not bind `default-directory'.
6574
7188b515
XF
65752013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6576
6577 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6578
2412ee1a
DG
65792013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6580
6581 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6582 use it.
6583 (log-view-diff-changeset): Same.
6584 (log-view-diff-common): Call backend command `previous-revision'
6585 to find out the previous revision, in both cases. Swap the
6586 variables `to' and `fr', so that `fr' usually refers to the
6587 earlier revision (Bug#14989).
6588
5002a754
KRC
65892013-07-31 Kan-Ru Chen <kanru@kanru.info>
6590
6591 * ibuf-ext.el (ibuffer-filter-by-filename):
6592 Make it work with dired buffers too.
6593
44e18199 65942013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6595
6596 * emacs-lisp/re-builder.el (reb-color-display-p):
6597 * files.el (save-buffers-kill-terminal):
6598 * net/browse-url.el (browse-url):
6599 * server.el (server-save-buffers-kill-terminal):
6600 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6601 Prefer nil to selected-frame for the first arg of frame-parameter.
6602
aeca3fbb
XF
66032013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6604
6605 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6606
158bc55c
SB
66072013-07-30 Stephen Berman <stephen.berman@gmx.net>
6608
6609 * minibuffer.el (completion--twq-all): Try and preserve each
6610 completion's case choice (bug#14907).
6611
d50fceab
LMI
66122013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6613
ac38e731
LMI
6614 * net/network-stream.el (open-network-stream): Mention the new
6615 :nogreeting parameter.
6616 (network-stream-open-starttls): Use the :nogreeting parameter
6617 (bug#14938).
6618
1211de50
LMI
6619 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6620
997798bf
LMI
6621 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6622 more natural than popping.
6623
d50fceab 6624 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6625 (shr-urlify): Highlight under mouse.
d50fceab 6626
5c09de04
XF
66272013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6628
207d1d04
XF
6629 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6630
6631 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6632
5c09de04
XF
6633 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6634 buffer for output.
6635
3cd51eaa
XF
6636 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6637 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6638
44e18199 6639 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6640 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6641
6642 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6643
6644 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6645 buffer for output.
6646
35a89bdd
EZ
66472013-07-29 Eli Zaretskii <eliz@gnu.org>
6648
6649 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6650 initial frame is minibuffer-less. (Bug#14841)
6651
78822e94
MA
66522013-07-29 Michael Albinus <michael.albinus@gmx.de>
6653
6654 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6655 option.
6656
6657 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6658 (tramp-maybe-open-connection): Use it.
6659
9503c190
JB
66602013-07-28 Juanma Barranquero <lekktu@gmail.com>
6661
6662 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6663 minimal set of parameters passed when creating a frame, because
6664 the minibuffer status of a frame cannot be changed later.
6665
d5a845b4
SB
66662013-07-28 Stephen Berman <stephen.berman@gmx.net>
6667
6668 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6669 replace-regexp-in-string and inadvertent omissions in previous change.
6670 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6671 name of filtered items buffer.
d5a845b4 6672
ddeffb17
JB
66732013-07-28 Juanma Barranquero <lekktu@gmail.com>
6674
6675 * desktop.el: Optionally force offscreen frames back onscreen.
6676 (desktop-restoring-reuses-frames): New option.
6677 (desktop--compute-pos, desktop--move-onscreen): New functions.
6678 (desktop--make-frame): Use desktop--move-onscreen.
6679
f5950f7a
AM
66802013-07-27 Alan Mackenzie <acm@muc.de>
6681
6682 Fontify a Java generic method as a function.
6683 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6684 value to t.
6685
ae43b66a
SB
66862013-07-27 Stephen Berman <stephen.berman@gmx.net>
6687
6688 * calendar/todo-mode.el: Add command to rename todo files.
6689 (todo-rename-file): New command.
6690 (todo-key-bindings-t): Add key binding for it. Change the
6691 bindings of todo-filter-regexp-items(-multifile) to use `x'
6692 instead of `r', since the latter is better suited to the new
6693 renaming command.
6694
5ab78d3d
AM
66952013-07-27 Alan Mackenzie <acm@muc.de>
6696
6697 Make Java try-with-resources statement parse properly.
6698 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6699 (c-block-stmt-1-2-key): New language constants/variables.
6700 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6701 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6702 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6703 with c-block-stmt-1-2-key.
5ab78d3d 6704
d85c4d50
JB
67052013-07-27 Juanma Barranquero <lekktu@gmail.com>
6706
6707 * desktop.el (desktop--make-frame): Apply most frame parameters after
6708 creating the frame to force (partially or totally) offscreen frames to
6709 be restored as such.
6710
e4c467f9
XF
67112013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6712
6713 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6714 (Bug#14948)
e4c467f9 6715
7ced0d04
SM
67162013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6719 `base' arg of backtrace-frame.
6720
fec92060
EZ
67212013-07-26 Eli Zaretskii <eliz@gnu.org>
6722
6723 * simple.el (list-processes): Doc fix.
6724
d58d31fb
JB
67252013-07-26 Juanma Barranquero <lekktu@gmail.com>
6726
6727 * desktop.el (desktop--select-frame):
d85c4d50 6728 Try harder to reuse existing frames.
d58d31fb 6729
53ff3e77
SM
67302013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6733 (edebug-eval): Use backtrace-eval.
6734 (edebug--display, edebug--recursive-edit): Don't let-bind the
6735 edebug-outer-* vars that keep track of variables we locally let-bind.
6736 (edebug-outside-excursion): Don't restore outside values of locally
6737 let-bound vars.
6738 (edebug--display): Use user-error.
6739 (cl-lexical-debug, cl-debug-env): Remove.
6740
045f7a53
JB
67412013-07-26 Juanma Barranquero <lekktu@gmail.com>
6742
6743 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6744 are restored to be sure that they are visible before deleting any
6745 remaining ones.
6746
59070b32
MM
67472013-07-26 Matthias Meulien <orontee@gmail.com>
6748
742a3501
XF
6749 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6750 vc-print-root-log. (Bug#14948)
59070b32 6751
b1fb3596
RS
67522013-07-26 Richard Stallman <rms@gnu.org>
6753
6754 Add aliases for encrypting mail.
6755 * epa.el (epa-mail-aliases): New option.
6756 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6757 Bind inhibit-read-only so read-only text doesn't ruin everything.
6758 (epa-mail-default-recipients): New subroutine broken out.
6759 Handle epa-mail-aliases.
6760
56ea7291
SM
67612013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 Add support for lexical variables to the debugger's `e' command.
6764 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6765 vars, except for debugger-outer-match-data.
6766 (debugger-frame-number): Move check for "on a function call" from
6767 callers into it. Add `skip-base' argument.
6768 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6769 (debugger-env-macro): Only reset the state stored in non-variables,
6770 i.e. current-buffer and match-data.
6771 (debugger-eval-expression): Rewrite using backtrace-eval.
6772 * subr.el (internal--called-interactively-p--get-frame): Remove.
6773 (called-interactively-p):
6774 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6775 `base' arg of backtrace-frame instead.
6776
15ac32d5
GM
67772013-07-26 Glenn Morris <rgm@gnu.org>
6778
8358a09d
GM
6779 * align.el (align-regexp): Doc fix. (Bug#14857)
6780 (align-region): Explicit error if subexpression missing/does not match.
6781
15ac32d5
GM
6782 * simple.el (global-visual-line-mode):
6783 Do not duplicate the mode lighter. (Bug#14858)
6784
f47ad11b
MR
67852013-07-25 Martin Rudalics <rudalics@gmx.at>
6786
6787 * window.el (display-buffer): In display-buffer bind
6788 split-window-keep-point to t, bug#14829.
6789
02530987
JB
67902013-07-25 Juanma Barranquero <lekktu@gmail.com>
6791
6792 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6793 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6794 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6795 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6796 Change accordingly.
f63ebeb5
JB
6797 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6798 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6799
6ccb9cab 68002013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6801
6ccb9cab 6802 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6803
cb3a56d2
JB
68042013-07-25 Juanma Barranquero <lekktu@gmail.com>
6805
6806 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6807 parameter to modify-frame-parameters if the value has not changed;
6808 this is a workaround for bug#14949.
6809 (desktop--make-frame): On cl-delete-if call, check parameter name,
6810 not full parameter.
6811
7aa7fff0
XF
68122013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6813
6814 * vc/vc.el (vc-ignore): New function.
6815
6816 * vc/vc-svn.el (vc-svn-ignore): New function.
6817
6818 * vc/vc-hg.el (vc-hg-ignore): New function.
6819
6820 * vc/vc-git.el (vc-git-ignore): New function.
6821
6822 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6823 (vc-dir-ignore): New function.
6824
6825 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6826 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6827
6828 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6829
6830 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6831
889acc5c
JB
68322013-07-24 Juanma Barranquero <lekktu@gmail.com>
6833
6834 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6835 (desktop-restore-frames): Warn when deleting an existing frame failed.
6836
86c40970
GM
68372013-07-24 Glenn Morris <rgm@gnu.org>
6838
6839 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6840
d5d3c58a
MA
68412013-07-24 Michael Albinus <michael.albinus@gmx.de>
6842
6843 * filenotify.el (file-notify-supported-p):
6844 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6845 Remove functions.
6846
6847 * autorevert.el (auto-revert-use-notify):
6848 (auto-revert-notify-add-watch):
6849 * net/tramp.el (tramp-file-name-for-operation):
6850 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6851 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6852 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6853 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6854 Remove `file-notify-supported-p' entry.
6855
d100084b
GM
68562013-07-24 Glenn Morris <rgm@gnu.org>
6857
6858 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6859 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6860
ac93e56b
SM
68612013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6862
249eea30
SM
6863 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6864 checked with memq (bug#14935).
6865
ac93e56b
SM
6866 * files.el (revert-buffer-function): Use a non-nil default.
6867 (revert-buffer-preserve-modes): Declare var to
6868 provide access to the `preserve-modes' argument.
6869 (revert-buffer): Let-bind it.
6870 (revert-buffer--default): New function, extracted from revert-buffer.
6871
2cdeb903
SM
68722013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * lpr.el: Signal print errors more prominently.
6875 (print-region-function): Don't default to nil.
6876 (lpr-print-region): New function, extracted from print-region-1.
6877 Check lpr's return value and signal an error in case of problem.
6878 (print-region-1): Use it.
6879 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6880 versions instead.
6881 (ps-printer-name): Default to nil.
6882 (ps-printer-name-option): Default to lpr-printer-switch.
6883 (ps-print-region-function): Don't default to nil.
6884 (ps-postscript-code-directory): Simplify default.
6885 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6886 (ps-string-list, ps-eval-switch, ps-flatten-list)
6887 (ps-flatten-list-1): Remove.
6888 (ps-multibyte-buffer): Avoid setq.
6889 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6890 (print-region-function, ps-print-region-function): Don't set them here.
6891
73600831
XF
68922013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6893
0e55c076
XF
6894 * ido.el (ido-fractionp):
6895 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6896 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6897 (ido-max-directory-size, ido-max-dir-file-cache)
6898 (ido-decorations): Doc fix.
6899
73600831
XF
6900 * ansi-color.el: Fix old URL.
6901
3d012865
MM
69022013-07-23 Michael R. Mauger <michael@mauger.com>
6903
e903c210 6904 * progmodes/sql.el: Version 3.3
3d012865
MM
6905 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6906 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6907 (sql-interactive-remove-continuation-prompt): Rewrite, use
6908 functions above. Fix continuation prompt and complete output line
6909 handling.
6910 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6911 redirected output buffer.
6912 (sql-mode): Restore deleted code (Bug#13591).
6913
da77a2e2
JB
69142013-07-23 Juanma Barranquero <lekktu@gmail.com>
6915
6916 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6917
80ff0c71
MA
69182013-07-23 Michael Albinus <michael.albinus@gmx.de>
6919
6920 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6921
6922 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6923 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6924 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6925
b61d71e4
JB
69262013-07-23 Juanma Barranquero <lekktu@gmail.com>
6927
6928 * desktop.el (desktop-clear): Simplify; remove useless checks
6929 against invalid buffer names.
6930 (desktop-list*): Use cl-list*.
6931 (desktop-buffer-info, desktop-create-buffer): Simplify.
6932
c3512092
LL
69332013-07-23 Leo Liu <sdl.web@gmail.com>
6934
6935 * bookmark.el (bookmark-make-record): Restore NAME as a default
6936 value. (Bug#14933)
6937
0ac26976
SM
69382013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6939
7d22ce18
SM
6940 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6941 extracted from autoload--insert-text.
6942 (autoload--insert-text): Remove.
6943 (autoload--print-cookie-text): New function, extracted from
6944 autoload--insert-cookie-text.
6945 (autoload--insert-cookie-text): Remove.
6946 (autoload-generate-file-autoloads): Adjust calls accordingly.
6947
9b2607e8
SM
6948 * winner.el (winner-hook-installed-p): Remove.
6949 (winner-mode): Simplify accordingly.
6950
c43a8618
SM
6951 * subr.el (add-to-list): Fix compiler-macro when `append' is
6952 not constant. Don't use `cl-member' for the base case.
6953
0ac26976
SM
6954 * progmodes/subword.el: Fix boundary case (bug#13758).
6955 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6956 own group.
6957 (subword-backward-regexp): Make it a constant.
6958 (subword-forward-internal): Don't treat a trailing capital as the
6959 beginning of a word.
6960
6874724a
AR
69612013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6962
6963 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6964 global value of tabulated-list-revert-hook (bug#14930).
6965
70f1b5e8
JB
69662013-07-22 Juanma Barranquero <lekktu@gmail.com>
6967
a1c80d9d
JB
6968 * desktop.el: Require 'cl-lib.
6969 (desktop-before-saving-frames-functions): New hook.
6970 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6971 for frames being saved. Rename from desktop--save-minibuffer-frames.
6972 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6973 Do not save frames with non-nil `desktop-dont-save' parameter.
6974 Filter out deleted frames.
a1c80d9d
JB
6975 (desktop--find-frame): Use cl-find-if.
6976 (desktop--select-frame): Use cl-(first|second|third) to access values
6977 of desktop-mini.
6978 (desktop--make-frame): Use cl-delete-if.
6979 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6980 (desktop-restore-frames): Use cl-(first|second|third) to access values
6981 of desktop-mini. Look for visible frame at the end, not while
6982 restoring frames.
6983
70f1b5e8
JB
6984 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6985 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6986 Use string-match-p, looking-at-p (bug#14927).
6987
728dc3cc
JB
69882013-07-21 Juanma Barranquero <lekktu@gmail.com>
6989
56bc453c
JB
6990 * desktop.el (desktop-saved-frame-states):
6991 Rename from desktop--saved-states; all users changed.
6992 (desktop-save-frames): Rename from desktop--save-frames.
6993 Do not save state to desktop file.
6994 (desktop-save): Save desktop-saved-frame-states to desktop file
6995 and reset to nil.
6996 (desktop-restoring-frames-p): New function.
6997 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6998 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6999 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7000
728dc3cc
JB
7001 * desktop.el: Correctly restore iconified frames.
7002 (desktop--filter-iconified-position): New function.
7003 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7004
862f1c9c
GM
70052013-07-20 Glenn Morris <rgm@gnu.org>
7006
c4074c9f
GM
7007 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7008 Let `message' do the formatting.
7009 (def-gdb-preempt-display-buffer): Add explicit format.
7010
d828e5f9
GM
7011 * image-dired.el (image-dired-track-original-file):
7012 Use with-current-buffer.
7013 (image-dired-track-thumbnail): Use with-current-buffer.
7014 Avoid changing point of wrong window.
7015
862f1c9c
GM
7016 * image-dired.el (image-dired-track-original-file):
7017 Avoid changing point of wrong window. (Bug#14909)
7018
f0398ec1 70192013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7020
7021 * progmodes/gdb-mi.el (gdb-done-or-error):
7022 Guard against "%" in gdb output. (Bug#14127)
7023
1451928f
AS
70242013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7025
763a086d
JB
7026 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7027 (Bug#14826)
f7a03897 7028
1451928f
AS
7029 * international/mule.el (coding-system-iso-2022-flags): Fix last
7030 change.
7031
99107004
KH
70322013-07-20 Kenichi Handa <handa@gnu.org>
7033
763a086d
JB
7034 * international/mule.el (coding-system-iso-2022-flags):
7035 Add `8-bit-level-4'. (Bug#8522)
99107004 7036
48494e06
LMI
70372013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7038
8ba8eec5
LMI
7039 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7040 (bug#14815).
7041
dfbc66e3
LMI
7042 * net/eww.el (eww-process-text-input): Allow inputting when the
7043 point is at the start of the line, as the properties aren't
7044 front-sticky.
7045
48494e06
LMI
7046 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7047 degenerate widths.
7048
77c92cb9
RS
70492013-07-19 Richard Stallman <rms@gnu.org>
7050
aec7da77
RS
7051 * epa.el (epa-popup-info-window): Doc fix.
7052
77c92cb9
RS
7053 * subr.el (split-string): New arg TRIM.
7054
945c5bb1
JB
70552013-07-18 Juanma Barranquero <lekktu@gmail.com>
7056
7057 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7058 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7059
e06ec67f
MA
70602013-07-18 Michael Albinus <michael.albinus@gmx.de>
7061
c7064f05 7062 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7063 `file-notify-support'. Do not autoload. Adapt all uses.
7064 (file-notify-supported-p): New defun.
7065
c7064f05
JB
7066 * autorevert.el (auto-revert-use-notify):
7067 Use `file-notify-supported-p' instead of `file-notify-support'.
7068 Adapt docstring.
e06ec67f
MA
7069 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7070
7071 * net/tramp.el (tramp-file-name-for-operation):
7072 Add `file-notify-supported-p'.
7073
7074 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7075 New defun.
7076 (tramp-sh-file-name-handler-alist): Add it as handler for
7077 `file-notify-supported-p '.
7078
7079 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7080 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7081 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7082 Add `ignore' as handler for `file-notify-*' functions.
7083
5dc8a629
EZ
70842013-07-17 Eli Zaretskii <eliz@gnu.org>
7085
7086 * simple.el (line-move-partial, line-move): Don't start vscroll or
7087 scroll-up if the current line is not taller than the window.
7088 (Bug#14881)
7089
77aea2fb
DG
70902013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7091
7092 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7093 highlight question marks in the method names as strings.
ac72c08d
DG
7094 (ruby-block-beg-keywords): Inline.
7095 (ruby-font-lock-keyword-beg-re): Extract from
7096 `ruby-font-lock-keywords'.
77aea2fb 7097
18c26d81
JD
70982013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7099
7100 * frame.el (blink-cursor-blinks): New defcustom.
7101 (blink-cursor-blinks-done): New defvar.
7102 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7103 (blink-cursor-timer-function): Check if number of blinks has been
7104 done on X and NS.
7105 (blink-cursor-suspend, blink-cursor-check): New defuns.
7106
da48522e
GM
71072013-07-15 Glenn Morris <rgm@gnu.org>
7108
7109 * edmacro.el (edmacro-format-keys): Fix previous change.
7110
0463c1ef
PE
71112013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7112
7113 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7114 The hack didn't work outside English locales anyway.
7115
b43f6451
JB
71162013-07-15 Juanma Barranquero <lekktu@gmail.com>
7117
7118 * simple.el (define-alternatives): Rename from alternatives-define,
7119 per RMS' suggestion.
7120
b958c0ad
JB
71212013-07-14 Juanma Barranquero <lekktu@gmail.com>
7122
7123 * desktop.el (desktop-restore-frames): Change default to t.
7124 (desktop-restore-in-current-display): Now offer more options.
7125 (desktop-restoring-reuses-frames): New customization option.
7126 (desktop--saved-states): Doc fix.
7127 (desktop-filter-parameters-alist): New variable, renamed and expanded
7128 from desktop--excluded-frame-parameters.
7129 (desktop--target-display): New variable.
7130 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7131 (desktop--filter-tty*, desktop--filter-*-color)
7132 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7133 (desktop--filter-save-desktop-parm)
7134 (desktop-restore-in-original-display-p): New functions.
7135 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7136 (desktop--save-minibuffer-frames): New function, inspired by a similar
7137 function from Martin Rudalics.
7138 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7139 (desktop--restore-in-this-display-p): Remove.
7140 (desktop--find-frame): Rename from desktop--find-frame-in-display
7141 and add predicate argument.
7142 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7143 (desktop--reuse-list): New variable.
7144 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7145 New functions.
7146 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7147
f6dd8b36
MA
71482013-07-14 Michael Albinus <michael.albinus@gmx.de>
7149
7150 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7151
2ce3c565
DG
71522013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7153
763a086d
JB
7154 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7155 Highlight conversion methods on Kernel.
2ce3c565 7156
2cdb7698
AM
71572013-07-13 Alan Mackenzie <acm@muc.de>
7158
7159 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7160 and comment it out. This out-commenting enables certain C++
7161 declarations to be parsed correctly.
7162
1a67b811
EZ
71632013-07-13 Eli Zaretskii <eliz@gnu.org>
7164
1b796d6b
EZ
7165 * international/mule.el (define-coding-system): Doc fix.
7166
1a67b811
EZ
7167 * simple.el (default-font-height): Don't call font-info if the
7168 frame's default font didn't change since the frame was created.
7169 (Bug#14838)
7170
58fbe886
LL
71712013-07-13 Leo Liu <sdl.web@gmail.com>
7172
7173 * ido.el (ido-read-file-name): Guard against non-symbol value.
7174
1f0480d4
FEG
71752013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7176
7177 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7178 in nested defuns.
7179
97ead0e5
LL
71802013-07-13 Leo Liu <sdl.web@gmail.com>
7181
7182 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7183 ido-set-matches call. (Bug#6852)
7184
0880a952
DG
71852013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7186
7187 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7188 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7189 Ruby 2.0.
7190 (ruby-font-lock-keywords): Distinguish calls to functions with
7191 module-like names from module references. Highlight character
7192 literals.
7193
a7d8babb
SDJ
71942013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7195
7196 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7197 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7198
acfcc8c5
JB
71992013-07-12 Juanma Barranquero <lekktu@gmail.com>
7200
7201 * desktop.el (desktop--v2s): Remove unused local variable.
7202 (desktop-save-buffer): Make defvar-local; adjust docstring.
7203 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7204 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7205
051f2775
AS
72062013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7207
7208 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7209
f24e7572
GM
72102013-07-12 Eli Zaretskii <eliz@gnu.org>
7211
7212 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7213 (Bug#14842)
7214
539a920c
GM
72152013-07-12 Glenn Morris <rgm@gnu.org>
7216
7217 * doc-view.el: Require cl-lib at runtime too.
7218 (doc-view-remove-if): Remove.
7219 (doc-view-search-next-match, doc-view-search-previous-match):
7220 Use cl-remove-if.
7221
7222 * edmacro.el: Require cl-lib at runtime too.
7223 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7224 (edmacro-mismatch, edmacro-subseq): Remove.
7225
7226 * shadowfile.el: Require cl-lib.
7227 (shadow-remove-if): Remove.
7228 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7229 Use cl-remove-if.
7230
7231 * wid-edit.el: Require cl-lib.
7232 (widget-choose): Use cl-remove-if.
7233 (widget-remove-if): Remove.
7234
7235 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7236 (ebrowse-delete-if-not): Remove.
7237 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7238 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7239 Use cl-delete-if-not.
7240
1048af7c
JB
72412013-07-12 Juanma Barranquero <lekktu@gmail.com>
7242
7243 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7244 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7245
6c0674ee
LL
72462013-07-12 Leo Liu <sdl.web@gmail.com>
7247
7248 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7249
a19b3c2d
GM
72502013-07-11 Glenn Morris <rgm@gnu.org>
7251
4582a01c
GM
7252 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7253 (edebug-gensym-index, edebug-gensym):
7254 Remove reimplementation of cl-gensym.
7255 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7256
7257 * thumbs.el: Require cl-lib at run-time too.
7258 (thumbs-gensym-counter, thumbs-gensym):
7259 Remove reimplementation of cl-gensym.
7260 (thumbs-temp-file): Use cl-gensym.
7261
a19b3c2d
GM
7262 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7263 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7264 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7265 (ert--union, ert--gensym-counter, ert--gensym-counter)
7266 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7267 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7268 (ert-make-test-unbound, ert--expand-should-1)
7269 (ert--expand-should, ert--should-error-handle-error)
7270 (should-error, ert--explain-equal-rec)
7271 (ert--plist-difference-explanation, ert-select-tests)
7272 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7273 Use cl-lib functions rather than reimplementations.
7274
88f6a933
MA
72752013-07-11 Michael Albinus <michael.albinus@gmx.de>
7276
7277 * net/tramp.el (tramp-methods): Extend docstring.
7278 (tramp-connection-timeout): New defcustom.
7279 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7280 (with-tramp-progress-reporter): Simplify.
7281 (tramp-process-actions): Improve messages.
7282
7283 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7284 * net/tramp-sh.el (tramp-maybe-open-connection):
7285 Use `tramp-connection-timeout'.
7286 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7287 (Bug#14808)
7288
a43d577e
LL
72892013-07-11 Leo Liu <sdl.web@gmail.com>
7290
7291 * ido.el (ido-read-file-name): Conform to the requirements of
7292 read-file-name. (Bug#11861)
7293 (ido-read-directory-name): Conform to the requirements of
7294 read-directory-name.
7295
d77974bf
JB
72962013-07-11 Juanma Barranquero <lekktu@gmail.com>
7297
7298 * subr.el (delay-warning): New function.
7299
35cb8a3e
EZ
73002013-07-10 Eli Zaretskii <eliz@gnu.org>
7301
7302 * simple.el (default-line-height): New function.
7303 (line-move-partial, line-move): Use it instead of computing the
7304 line height inline.
7305 (line-move-partial): Always compute ROWH. If the last line is
7306 partially-visible, but its text is completely visible, allow
7307 cursor to enter such a partially-visible line.
7308
525c5c77
MA
73092013-07-10 Michael Albinus <michael.albinus@gmx.de>
7310
7311 Improve error messages. (Bug#14808)
7312
7313 * net/tramp.el (tramp-current-connection): New defvar, moved from
7314 tramp-sh.el.
0ac26976 7315 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7316 needed anymore.
0ac26976
SM
7317 (tramp-error-with-buffer): Show message in minibuffer.
7318 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7319 (with-tramp-progress-reporter): Improve messages.
7320 (tramp-process-actions): Use progress reporter. Delete process in
7321 case of error. Improve messages.
7322
763a086d
JB
7323 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7324 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7325 (tramp-current-connection): Remove.
525c5c77
MA
7326 (tramp-maybe-open-connection): The car of
7327 `tramp-current-connection' are the first 3 slots of the vector.
7328
c7a4d368
TZ
73292013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7330
7331 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7332 inside continued strings.
7333
954b166e
PE
73342013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7335
7336 Timestamp fixes for undo (Bug#14824).
7337 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7338
56973319
LL
73392013-07-10 Leo Liu <sdl.web@gmail.com>
7340
7341 * files.el (require-final-newline): Allow safe local value.
7342 (Bug#14834)
7343
5550a72c
LL
73442013-07-09 Leo Liu <sdl.web@gmail.com>
7345
7346 * ido.el (ido-read-directory-name): Handle fallback.
7347 (ido-read-file-name): Update DIR to ido-current-directory.
7348 (Bug#1516)
c28b9050 7349 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7350
70c46b28
DG
73512013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7352
7353 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7354 "autoload". Remove "warn lower camel case" section, previously
7355 commented out. Highlight negation char. Do not highlight the
7356 target in singleton method definitions.
7357
0b64b838
SM
73582013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7fd72e2c
SM
7360 * faces.el (tty-setup-hook): Declare the hook.
7361
0b64b838
SM
7362 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7363 and detect when a guard/pred depends on local vars (bug#14773).
7364 (pcase--u1): Adjust caller.
7365
ab49d60b
EZ
73662013-07-08 Eli Zaretskii <eliz@gnu.org>
7367
7368 * simple.el (line-move-partial, line-move): Account for
7369 line-spacing.
701d79aa
EZ
7370 (line-move-partial): Avoid setting vscroll when the last
7371 partially-visible line in window is of default height.
ab49d60b 7372
2d756ae0
LMI
73732013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7374
7375 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7376 been used a while.
7377
ed095bd7
JB
73782013-07-07 Juanma Barranquero <lekktu@gmail.com>
7379
7380 * subr.el (read-quoted-char): Remove unused local variable `char'.
7381
f1e6674b
MK
73822013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7383
584ee3fc
GM
7384 * ediff.el (ediff-version): Version update.
7385 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7386 (ediff-merge-with-ancestor-command, ediff-directories-command)
7387 (ediff-directories3-command, ediff-merge-directories-command)
7388 (ediff-merge-directories-with-ancestor-command): New functions.
7389 All are command-line interfaces to ediff: to facilitate calling
7390 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7391
7392 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7393 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7394
584ee3fc
GM
7395 * viper.el (viper-version): Version update.
7396 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7397
584ee3fc
GM
73982013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7401 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7402 (viper-intercept-ESC-key): Simplify.
7403 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7404 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7405 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7406 (viper-setup-ESC-to-escape): New functions.
7407 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7408 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7409
9aff9b38
EZ
74102013-07-07 Eli Zaretskii <eliz@gnu.org>
7411
5165d44a
JB
7412 * simple.el (default-font-height, window-screen-lines):
7413 New functions.
9aff9b38
EZ
7414 (line-move, line-move-partial): Use them instead of
7415 frame-char-height and window-text-height. This makes scrolling
7416 text smoother when the buffer's default face uses a font that is
7417 different from the frame's default font.
7418
1afb1d07
JD
74192013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7420
7421 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7422 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7423
23de972a
EZ
74242013-07-06 Eli Zaretskii <eliz@gnu.org>
7425
7426 * simple.el (line-move-partial): Adjust the row returned by
7427 posn-at-point for the current window-vscroll. (Bug#14567)
7428
54a42486
MA
74292013-07-06 Michael Albinus <michael.albinus@gmx.de>
7430
7431 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7432 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7433 spaces.
7434
34ada5f4
MR
74352013-07-06 Martin Rudalics <rudalics@gmx.at>
7436
7437 * window.el (window-state-put-stale-windows): New variable.
7438 (window--state-put-2): Save list of windows without matching buffer.
7439 (window-state-put): Remove "bufferless" windows if possible.
7440
11e03d89
JB
74412013-07-06 Juanma Barranquero <lekktu@gmail.com>
7442
7443 * simple.el (alternatives-define): Remove leftover :group keyword.
7444 Tweak docstring.
7445
3504a4be
LL
74462013-07-06 Leo Liu <sdl.web@gmail.com>
7447
7448 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7449 (ido-enable-virtual-buffers): New variable.
7450 (ido-buffer-internal, ido-toggle-virtual-buffers)
7451 (ido-make-buffer-list): Use it.
7452 (ido-exhibit): Support turning on and off virtual buffers
7453 automatically.
7454
61e56e2c
JB
74552013-07-06 Juanma Barranquero <lekktu@gmail.com>
7456
7457 * simple.el (alternatives-define): New macro.
7458
321e1a9c
SM
74592013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7460
7461 * subr.el (read-quoted-char): Use read-key.
7462 (sit-for): Let read-event decode tty input (bug#14782).
7463
d610f6dd
SB
74642013-07-05 Stephen Berman <stephen.berman@gmx.net>
7465
7466 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7467 mode command and externally. Fix various related bugs.
7468 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7469 (todo-delete-file): New command.
7470 (todo-check-file): New function.
7471 (todo-show): Handle external deletion of the file we're trying to
7472 show (bug#14688). Replace called-interactively-p by an optional
7473 prefix argument to avoid problematic interaction with catch form
7474 when byte compiled (bug#14702).
7475 (todo-quit): Handle external deletion of the archive's todo file.
7476 Make sure the buffer that was visiting the archive file is still
7477 live before trying to bury it.
7478 (todo-category-completions): Handle external deletion of any
7479 category completion files.
7480 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7481 of todo files, in case of external deletion.
7482 (todo-add-file): Replace unnecessary setq by let-binding.
7483 (todo-find-archive): Check whether there are any archives.
7484 Replace unnecessary setq by let-binding.
7485 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7486 archive buffer whether or not the archive already exists.
7487 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7488 check if the archive is new; if it is, update list of archives.
7489 (todo-default-todo-file): Allow nil to be a valid value for when
7490 there are no todo files.
7491 (todo-reevaluate-default-file-defcustom): Use corrected definition
7492 of todo-default-todo-file.
7493 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7494 (todo-delete-category, todo-show-categories-table)
7495 (todo-category-number): Clarify comment.
7496 (todo-filter-items): Clarify documentation string.
7497 (todo-show-current-file, todo-display-as-todo-file)
7498 (todo-reset-and-enable-done-separator): Tweak documentation string.
7499 (todo-done-separator): Make separator length window-width, since
7500 bug#2749 is now fixed.
7501
ddbdfd6f
MA
75022013-07-05 Michael Albinus <michael.albinus@gmx.de>
7503
321e1a9c
SM
7504 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7505 Support both "gvfs-monitor-dir" and "inotifywait".
7506 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7507 `tramp-sh-file-notify-process-filter'.
7508 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7509 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7510
96eb829a
LL
75112013-07-05 Leo Liu <sdl.web@gmail.com>
7512
7513 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7514
cf13177e
YM
75152013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7516
7517 * frame.el (display-pixel-height, display-pixel-width)
7518 (display-mm-height, display-mm-width): Mention behavior on
7519 multi-monitor setups in docstrings.
7520 (w32-display-monitor-attributes-list): Declare function.
7521 (display-monitor-attributes-list): Use it.
7522
864c58ca
MA
75232013-07-04 Michael Albinus <michael.albinus@gmx.de>
7524
7525 * filenotify.el: New package.
7526
7527 * autorevert.el (top): Require filenotify.el.
7528 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7529 instead.
7530 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7531 (auto-revert-notify-handler): Use `file-notify-*' functions.
7532
7533 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7534
321e1a9c
SM
7535 * net/tramp.el (tramp-file-name-for-operation):
7536 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7537
7538 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7539 for `file-notify-add-watch' and `file-notify-rm-watch'.
7540 (tramp-process-sentinel): Improve trace.
7541 (tramp-sh-handle-file-notify-add-watch)
7542 (tramp-sh-file-notify-process-filter)
7543 (tramp-sh-handle-file-notify-rm-watch)
7544 (tramp-get-remote-inotifywait): New defuns.
7545
96673afe
JL
75462013-07-03 Juri Linkov <juri@jurta.org>
7547
7548 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7549 call of `occur-read-primary-args' to interactive spec.
7550
7551 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7552 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7553
924494f4
MM
75542013-07-03 Matthias Meulien <orontee@gmail.com>
7555
7556 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7557 `Buffer-menu-multi-occur'. Add it to the menu.
7558 (Buffer-menu-mode): Document it in docstring.
7559 (Buffer-menu-multi-occur): New command. (Bug#14673)
7560
56f75efc
DG
75612013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7562
7563 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7564 keywords and built-ins.
7565
9b057d61
GM
75662013-07-03 Glenn Morris <rgm@gnu.org>
7567
208dee4d
GM
7568 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7569
9b057d61
GM
7570 Make info-xref checks case-sensitive by default
7571 * info.el (Info-find-node, Info-find-in-tag-table)
7572 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7573 Add option for exact case matching of nodes.
7574 * info-xref.el (info-xref): New custom group.
7575 (info-xref-case-fold): New option.
7576 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7577
e01aa29c
LL
75782013-07-03 Leo Liu <sdl.web@gmail.com>
7579
7580 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7581
3086ca2e
DG
75822013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7583
7584 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7585 middle of block statement initially, lower the depth. Remove
7586 FIXME comment, not longer valid. Remove middle of block statement
7587 detection, no need to do that anymore since we've been using
7588 `ruby-parse-region' here.
7589
a3b49114
JD
75902013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7591
7592 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7593
08e5c823 75942013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7595
7596 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7597
2addf922
JB
75982013-07-01 Juanma Barranquero <lekktu@gmail.com>
7599
7600 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7601 (desktop-restore-in-current-display): New customization option.
7602 (desktop--excluded-frame-parameters): Add `font'.
7603 (desktop--save-frames): Rename from desktop--save-windows.
7604 (desktop--restore-in-this-display-p): New function.
7605 (desktop--make-full-frame): Remove unwanted width/height from
7606 full(width|height) frames.
7607 (desktop--restore-frames): Rename from desktop--restore-windows.
7608 Obey desktop-restore-current-display. Do not delete old frames or
7609 select a new frame unless we were able to restore at least one frame.
7610
ef099a94
MN
76112013-06-30 Michal Nazarewicz <mina86@mina86.com>
7612
7613 * files.el (find-file-noselect): Simplify conditional expression.
7614
a12bf61e 7615 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7616 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7617
7618 Add `remember-notes' function to store random notes across Emacs
7619 restarts.
a12bf61e 7620 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7621 notes buffer (if any).
7622 (remember-notes): New command.
7623 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7624 New defcustoms for the `remember-notes' function.
7625 (remember-notes-save-and-bury-buffer): New command.
7626 (remember-notes-mode-map): New variable.
7627 (remember-mode): New minor mode.
7628 (remember-notes--kill-buffer-query): New function.
7629 * startup.el (initial-buffer-choice): Add notes to custom type.
7630
0865d506
EZ
76312013-06-30 Eli Zaretskii <eliz@gnu.org>
7632
0ba54312
EZ
7633 * bindings.el (right-char, left-char): Don't call sit-for, this is
7634 no longer needed. Use arithmetic comparison only for numerical
7635 arguments.
7636
ef099a94
MN
7637 * international/mule-cmds.el (select-safe-coding-system):
7638 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7639
2fae38e5
LMI
76402013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7641
7642 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7643 progression on degenerate tables.
ef099a94 7644 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7645
a47cbd64
JB
76462013-06-30 Juanma Barranquero <lekktu@gmail.com>
7647
7648 Some fixes and improvements for desktop frame restoration.
7649 It is still experimental and disabled by default.
7650 * desktop.el (desktop--save-windows): Put the selected frame at
7651 the head of the list.
7652 (desktop--make-full-frame): New function.
7653 (desktop--restore-windows): Try to re-select the frame that was
7654 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7655 just show an error message and continue. Set up maximized frames
7656 so they have default non-maximized dimensions.
a47cbd64 7657
6dbafa30
DG
76582013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7659
ef099a94
MN
7660 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7661 Don't start heredoc inside a string or comment.
6dbafa30 7662
4c672a0f
EZ
76632013-06-29 Eli Zaretskii <eliz@gnu.org>
7664
7665 * bindings.el (visual-order-cursor-movement): New defcustom.
7666 (right-char, left-char): Provide visual-order cursor motion by
7667 calling move-point-visually. Update the doc strings.
7668
50960f36
KH
76692013-06-28 Kenichi Handa <handa@gnu.org>
7670
7671 * international/mule.el (define-coding-system): New coding system
7672 properties :inhibit-null-byte-detection,
7673 :inhibit-iso-escape-detection, and :prefer-utf-8.
7674 (set-buffer-file-coding-system): If :charset-list property of
7675 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7676 appropriate for setting.
7677
c1ea3abf
JB
7678 * international/mule-cmds.el (select-safe-coding-system):
7679 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7680 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7681
7682 * international/mule-conf.el (prefer-utf-8): New coding system.
7683 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7684 files.
7685
75dbaf9d
IK
76862013-06-28 Ivan Kanis <ivan@kanis.fr>
7687
eadb6068
IK
7688 * net/shr.el (shr-render-region): New function.
7689
75dbaf9d
IK
7690 * net/eww.el: Autoload `eww-browse-url'.
7691
9ea5cf9f
DG
76922013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7693
c1ea3abf
JB
7694 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7695 Adapt to `package-desc-version' being a list.
7696 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7697 archive element.
7698
39c0e36f
JB
76992013-06-27 Juanma Barranquero <lekktu@gmail.com>
7700
7701 New experimental feature to save&restore window and frame setup.
7702 * desktop.el (desktop-save-windows): New defcustom.
7703 (desktop--saved-states): New var.
7704 (desktop--excluded-frame-parameters): New defconst.
7705 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7706 (desktop--restore-windows, desktop--save-windows): New functions.
7707 (desktop-save): Call `desktop--save-windows'.
7708 (desktop-read): Call `desktop--restore-windows'.
7709
7f13406b
LMI
77102013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7711
ef099a94 7712 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7713
1e072639
SB
77142013-06-27 Stephen Berman <stephen.berman@gmx.net>
7715
7716 * info.el (Info-try-follow-nearest-node): Move search for footnote
7717 above search for node name to prevent missing a footnote (bug#14717).
7718
f3e2cbde
SB
77192013-06-27 Stephen Berman <stephen.berman@gmx.net>
7720
7721 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7722
99906aa0
LL
77232013-06-27 Leo Liu <sdl.web@gmail.com>
7724
7725 * net/eww.el (eww-read-bookmarks): Check file size.
7726
539f75f4
SM
77272013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7730 advice--pending if newdef is nil or an autoload (bug#13820).
7731 (advice-mapc): New function.
7732
843571cb
LMI
77332013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7734
7735 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7736 probably.
23a75d7f 7737 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7738 (eww-add-bookmark): New command.
7739 (eww-bookmark-mode): New mode and commands.
a285ce99 7740 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7741 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7742
f2136e1e
GM
77432013-06-26 Glenn Morris <rgm@gnu.org>
7744
eab35f39
GM
7745 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7746 (hfy-size): Handle ttys. (Bug#14668)
7747
f2136e1e
GM
7748 * info-xref.el: Update for Texinfo 5 change in *note format.
7749 (info-xref-node-re, info-xref-note-re): New constants.
7750 (info-xref-check-buffer): Use info-xref-note-re.
7751
a49ff80c
SM
77522013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7753
a343d218
SM
7754 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7755
a49ff80c
SM
7756 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7757 nil terminate the loop (bug#14718).
7758
8308f184
LMI
77592013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7760
7761 * net/eww.el: Rework history traversal. When going forward/back,
7762 put these actions into the history, too, so that they can be
7763 replayed.
26bf2b82 7764 (eww-render): Move the history reset to the correct buffer.
8308f184 7765
ec64c273
JL
77662013-06-25 Juri Linkov <juri@jurta.org>
7767
7768 * files-x.el (modify-dir-local-variable): Change the header comment
7769 in the file with directory local variables. (Bug#14692)
7770
e080a9d7
JL
7771 * files-x.el (read-file-local-variable-value): Add `default'.
7772 (Bug#14710)
7773
bfbc93a1
IK
77742013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7775
7776 * net/eww.el (eww-make-unique-file-name): Create a unique file
7777 name before saving to entering `y' accidentally asynchronously.
7778
77792013-06-25 Ivan Kanis <ivan@kanis.fr>
7780
7781 * net/eww.el (eww-download): New command and keystroke.
7782
16f74f10
LMI
77832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7784
a49ff80c 7785 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7786
7787 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7788 be more consistent with Info and dired.
7789
7790 * net/eww.el (eww-mode-map): Ditto.
7791
12059709
SM
77922013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7793
7794 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7795 packages from archives.
7796 (package-archive-contents): Change format; include obsolete packages.
7797 (package-desc): Use `dir' to mark builtin packages.
7798 (package--from-builtin): Set the `dir' field to `builtin'.
7799 (generated-autoload-file, version-control): Declare.
7800 (package-compute-transaction): Change first arg and return value to be
7801 lists of package-descs. Adjust to new package-archive-contents format.
7802 (package--add-to-archive-contents): Adjust to new
7803 package-archive-contents format.
7804 (package-download-transaction): Arg is now a list of package-descs.
7805 (package-install): If `pkg' is a package name, pass it as
7806 a requirement, so it is subject to the usual (e.g. disabled) checks.
7807 (describe-package): Accept package-desc as well.
7808 (describe-package-1): Describe a specific package-desc. Add links to
7809 other package-descs for the same package name.
7810 (package-menu-describe-package): Pass the actual package-desc.
7811 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7812 works correctly.
7813 (package-desc-status): New function.
7814 (package-menu--refresh): New function, extracted
7815 from package-menu--generate.
7816 (package-menu--generate): Use it.
7817 (package-delete): Update package-alist.
7818 (package-menu-execute): Don't call package-initialize.
7819
7820 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7821 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7822 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7823 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7824 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7825 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7826
8bbdea0f
MR
78272013-06-25 Martin Rudalics <rudalics@gmx.at>
7828
7829 * window.el (window--state-get-1): Workaround for bug#14527.
7830 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7831
e82b0991
LMI
78322013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833
7834 * net/eww.el (eww-back-url): Implement the history by stashing all
7835 the data into a list.
d3f0f918 7836 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7837
c763842b
SM
78382013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7841 for values and use read--expression for expressions (bug#14710).
7842 (read-file-local-variable): Avoid setq.
7843 (read-file-local-variable-mode): Use minor-mode-list.
7844
bceff189
RW
78452013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7846
864c58ca 7847 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7848 for DOI URLs.
7849
45f431c6
RW
78502013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7851
864c58ca 7852 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7853 Update imenu-support when dialect changes.
7854
f42d8237
LL
78552013-06-25 Leo Liu <sdl.web@gmail.com>
7856
7857 * ido.el (ido-read-internal): Allow forward slash on windows.
7858
be549ce6
LMI
78592013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7860
7861 * net/eww.el (eww): Start of strings is \\`, not ^.
7862
71d4c19d
IK
78632013-06-24 Ivan Kanis <ivan@kanis.fr>
7864
5196f88a
IK
7865 * net/shr.el (shr-browse-url): Fix interactive spec.
7866
71d4c19d
IK
7867 * net/eww.el (eww): Add a trailing slash to domain names.
7868
ae36ca55
JB
78692013-06-24 Juanma Barranquero <lekktu@gmail.com>
7870
7871 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7872
0ebd92a3
LMI
78732013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7874
bdaa086b
LMI
7875 * net/shr.el (shr-browse-url): Use an external browser if given a
7876 prefix.
7877
c763842b 7878 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7879
b89fc156
IK
78802013-06-24 Ivan Kanis <ivan@kanis.fr>
7881
7882 * net/eww.el (eww): Work more correctly for file: URLs.
7883 (eww-detect-charset): Allow quoted charsets.
7884 (eww-yank-page-url): New command and keystroke.
7885
18eb4bca
DU
78862013-06-24 Daiki Ueno <ueno@gnu.org>
7887
7888 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7889 file name of gpg executable.
7890 (epg-context-program): New function.
7891 (epg-context-home-directory): New function.
7892 (epg-context-set-program): New function.
7893 (epg-context-set-home-directory): New function.
7894 (epg--start): Use `epg-context-program' instead of
7895 'epg-gpg-program'.
7896 (epg--list-keys-1): Likewise.
7897
6c6268c8
LL
78982013-06-24 Leo Liu <sdl.web@gmail.com>
7899
7900 * ido.el (ido-read-internal): Fix bug#14620.
7901
5e400cb3
JB
79022013-06-23 Juanma Barranquero <lekktu@gmail.com>
7903
7904 * faces.el (face-documentation): Simplify.
7905 (read-face-attribute, tty-find-type, x-resolve-font-name):
7906 Use `string-match-p'.
7907 (list-faces-display): Use `string-match-p'. Simplify.
7908 (face-spec-recalc): Check face to avoid face alias loops.
7909 (read-color): Use `string-match-p' and non-capturing parenthesis.
7910
f3f9606c
LMI
79112013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7912
7913 * net/shr.el (shr-rescale-image): Use the new
7914 :max-width/:max-height functionality.
7915
a3ca09b9
IK
79162013-06-23 Ivan Kanis <ivan@kanis.fr>
7917
7918 * net/eww.el (eww-search-prefix): New variable.
7919 (eww): Use it.
f865b474
IK
7920 (eww-external-browser): New variable.
7921 (eww-mode-map): New keystroke.
7922 (eww-browse-with-external-browser): New command.
a3ca09b9 7923
e854cfc7
IK
7924 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7925
18bb9e21
JB
79262013-06-23 Juanma Barranquero <lekktu@gmail.com>
7927
7928 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7929 Don't skip aligning the next header field when padding is 0;
7930 otherwise, field width is not respected unless the title is as
7931 wide as the field.
7932
5b165ade
SM
79332013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7934
7935 * emacs-lisp/package.el (package-el-version): Remove.
7936 (package-process-define-package): Fix inf-loop.
7937 (package-install): Allow symbols as arguments again.
7938
12adebe9
DG
79392013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7940
7941 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7942 add some more keyword-like methods.
7943 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7944
388573ee
JB
79452013-06-22 Juanma Barranquero <lekktu@gmail.com>
7946
7947 * bs.el (bs-buffer-show-mark): Make defvar-local.
7948 (bs-mode): Use setq-local.
7949
7950 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7951 (emacs-lock--try-unlocking): Make defvar-local.
7952
4582a01c 79532013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7954
2663dd23
GM
7955 * play/cookie1.el (cookie-apropos): Minor simplification.
7956
3d94f3ad
GM
7957 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7958
f72e2fdb
DG
79592013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7960
7961 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7962 `regexp-opt', it breaks the build during dumping.
7963
73eab938
DG
79642013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7965
c763842b
SM
7966 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7967 Highlight keyword-like methods on Kernel and Module with
73eab938 7968 font-lock-builtin-face.
5cf8176d
DG
7969 (auto-mode-alist): Consolidate different entries into one regexp
7970 and add more *file-s.
73eab938 7971
d26255f6
SB
79722013-06-21 Stephen Berman <stephen.berman@gmx.net>
7973
7974 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7975
7976 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7977 (diary-entry): Use it in the action of this button type instead of
7978 diary-goto-entry.
7979
7980 * calendar/todo-mode.el: New version.
7981 (todo-add-category): Append new category to end of file and give
7982 it the highest number, instead of putting it at the beginning and
7983 giving it 0. Incorporate noninteractive functionality.
7984 (todo-forward-category): Adapt to 1-based category numbering.
7985 Allow skipping over archived categories.
7986 (todo-backward-category): Derive from todo-forward-category.
7987 (todo-backward-item, todo-forward-item): Make noninteractive and
7988 delegate interactive part to new commands. Make sensitive to done items.
7989 (todo-categories): Make value an alist of category names and
7990 vectors of item counts.
7991 (todo-category-beg): Make a defconst.
7992 (todo-category-number): Use 1 instead of 0 as initial value.
7993 (todo-category-select): Make sensitive to overlays, optional item
7994 highlighting and done items.
7995 (todo-delete-item): Make sensitive to overlays and marked and done items.
7996 (todo-edit-item): Make sensitive to overlays and editing of
7997 date/time header optional. Add format checks.
7998 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7999 no-op if point is not on an item. Advertise using todo-edit-quit.
8000 (todo-edit-mode): Make sensitive to new format, font-locking, and
8001 multiple todo files.
8002 (todo-insert-item, todo-insert-item-here): Derive from
8003 todo-basic-insert-item and extend functionality.
8004 (todo-item-end, todo-item-start): Make sensitive to done items.
8005 (todo-item-string): Don't return text properties. Restore point.
8006 (todo-jump-to-category): Make sensitive to multiple todo files and
8007 todo archives. Use extended category completion.
8008 (todo-lower-item, todo-raise-item): Rename to *-priority and
8009 derive from todo-set-item-priority.
8010 (todo-mode): Derive from special-mode. Make sensitive to new
8011 format, font-locking and multiple todo files. Make read-only.
8012 (todo-mode-map): Don't suppress digit keys, so they can supply
8013 prefix arguments. Add many new key bindings.
8014 (todo-prefix): Insert as an overlay instead of file text.
8015 Change semantics from diary date expression to purely visual mark.
8016 (todo-print): Rename to todo-print-buffer. Make buffer display
8017 features printable. Remove option to restrict number of items
8018 printed. Add option to print to file.
8019 (todo-print-function): Rename to todo-print-buffer-function.
8020 (todo-quit): Extend to handle exiting new todo modes.
8021 (todo-remove-item): Make sensitive to overlays.
8022 (todo-save): Extend to buffers of filtered items.
8023 (todo-show): Make sensitive to done items, multiple todo files and
8024 new todo modes. Offer to convert legacy todo file before creating
8025 first new todo file.
8026 (todo-show-priorities): Rename to todo-top-priorities.
8027 Change semantics of value 0.
8028 (todo-top-priorities): Rename to todo-filter-top-priorities,
8029 derive from todo-filter-items and extend functionality.
8030 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8031 and extend functionality to other types of filtered items.
8032 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8033 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8034 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8035 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8036 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8037 (todo-edit-mode-hook, todo-entry-prefix-function)
8038 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8039 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8040 (todo-initials, todo-insert-threshold, todo-item-string-start)
8041 (todo-line-string, todo-menu, todo-mode-hook)
8042 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8043 (todo-print-priorities, todo-remove-separator)
8044 (todo-save-top-priorities-too, todo-string-count-lines)
8045 (todo-string-multiline-p, todo-time-string-format)
8046 (todo-tmp-buffer-name): Remove.
8047 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8048 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8049 (todo-edit-category-diary-inclusion)
8050 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8051 (todo-edit-file, todo-edit-item-date-day)
8052 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8053 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8054 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8055 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8056 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8057 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8058 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8059 (todo-filter-top-priorities-multifile, todo-find-archive)
8060 (todo-find-filtered-items-file, todo-go-to-source-item)
8061 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8062 (todo-jump-to-archive-category, todo-lower-category)
8063 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8064 (todo-move-category, todo-move-item, todo-next-button)
8065 (todo-next-item, todo-padded-string, todo-powerset)
8066 (todo-previous-button, todo-previous-item)
8067 (todo-print-buffer-to-file, todo-raise-category)
8068 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8069 (todo-set-category-number, todo-set-item-priority)
8070 (todo-set-top-priorities-in-category)
8071 (todo-set-top-priorities-in-file, todo-show-categories-table)
8072 (todo-sort-categories-alphabetically-or-numerically)
8073 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8074 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8075 (todo-toggle-item-header, todo-toggle-item-highlighting)
8076 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8077 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8078 (todo-unarchive-items, todo-unmark-category): New commands.
8079 (todo-absolute-file-name, todo-add-to-buffer-list)
8080 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8081 (todo-basic-insert-item, todo-category-completions)
8082 (todo-category-number, todo-category-string-matcher-1)
8083 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8084 (todo-check-format, todo-clear-matches)
8085 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8086 (todo-current-category, todo-date-string-matcher)
8087 (todo-define-insertion-command, todo-diary-expired-matcher)
8088 (todo-diary-goto-entry, todo-diary-item-p)
8089 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8090 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8091 (todo-done-item-section-p, todo-done-separator)
8092 (todo-done-string-matcher, todo-files, todo-filter-items)
8093 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8094 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8095 (todo-insert-category-line, todo-insert-item-from-calendar)
8096 (todo-insert-sort-button, todo-insert-with-overlays)
8097 (todo-insertion-command-name, todo-insertion-key-bindings)
8098 (todo-label-to-key, todo-longest-category-name-length)
8099 (todo-make-categories-list, todo-mode-external-set)
8100 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8101 (todo-modes-set-3, todo-multiple-filter-files)
8102 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8103 (todo-read-category, todo-read-date, todo-read-dayname)
8104 (todo-read-file-name, todo-read-time)
8105 (todo-reevaluate-category-completions-files-defcustom)
8106 (todo-reevaluate-default-file-defcustom)
8107 (todo-reevaluate-filelist-defcustoms)
8108 (todo-reevaluate-filter-files-defcustom)
8109 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8110 (todo-reset-done-separator, todo-reset-done-separator-string)
8111 (todo-reset-done-string, todo-reset-global-current-todo-file)
8112 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8113 (todo-reset-prefix, todo-set-categories)
8114 (todo-set-date-from-calendar, todo-set-show-current-file)
8115 (todo-set-top-priorities, todo-short-file-name)
8116 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8117 (todo-total-item-counts, todo-update-buffer-list)
8118 (todo-update-categories-display, todo-update-categories-sexp)
8119 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8120 New functions.
8121 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8122 New major modes.
8123 (todo-categories, todo-display, todo-edit, todo-faces)
8124 (todo-filtered): New defgroups.
8125 (todo-archived-only, todo-button, todo-category-string, todo-date)
8126 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8127 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8128 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8129 (todo-add-item-if-new-category, todo-always-add-time-string)
8130 (todo-categories-align, todo-categories-archived-label)
8131 (todo-categories-category-label, todo-categories-diary-label)
8132 (todo-categories-done-label, todo-categories-number-separator)
8133 (todo-categories-todo-label, todo-categories-totals-label)
8134 (todo-category-completions-files, todo-completion-ignore-case)
8135 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8136 (todo-done-separator-string, todo-done-string)
8137 (todo-files-function, todo-filter-done-items, todo-filter-files)
8138 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8139 (todo-initial-category, todo-initial-file, todo-item-mark)
8140 (todo-legacy-date-time-regexp, todo-mode-line-function)
8141 (todo-nondiary-marker, todo-number-prefix)
8142 (todo-print-buffer-function, todo-show-current-file)
8143 (todo-show-done-only, todo-show-first, todo-show-with-done)
8144 (todo-skip-archived-categories, todo-top-priorities-overrides)
8145 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8146 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8147 New defcustoms.
8148 (todo-category-done, todo-date-pattern, todo-date-string-start)
8149 (todo-diary-items-buffer, todo-done-string-start)
8150 (todo-filtered-items-buffer, todo-item-start)
8151 (todo-month-abbrev-array, todo-month-name-array)
8152 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8153 (todo-top-priorities-buffer): New defconsts.
8154 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8155 (todo-categories-with-marks, todo-category-string-face)
8156 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8157 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8158 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8159 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8160 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8161 (todo-font-lock-keywords, todo-global-current-todo-file)
8162 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8163 (todo-insertion-commands-args)
8164 (todo-insertion-commands-args-genlist)
8165 (todo-insertion-commands-names, todo-insertion-map)
8166 (todo-key-bindings-t, todo-key-bindings-t+a)
8167 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8168 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8169 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8170 (todo-visited): New variables.
8171
cad5d1cb
GM
81722013-06-21 Glenn Morris <rgm@gnu.org>
8173
8174 * play/cookie1.el (cookie-apropos): Add optional display argument.
8175 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8176 (psychoanalyze-pinhead): Use cookie-doctor.
8177
9e277302
JB
81782013-06-21 Juanma Barranquero <lekktu@gmail.com>
8179
8180 * emacs-lisp/package.el (tar-get-file-descriptor)
8181 (tar--extract): Declare.
8182
c5b0993e
EW
81832013-06-21 Eduard Wiebe <usenet@pusto.de>
8184
8185 Extend flymake's warning predicate to be a function (bug#14217).
8186 * progmodes/flymake.el (flymake-warning-predicate): New.
8187 (flymake-parse-line): Use it.
8188 (flymake-warning-re): Make obsolete alias to
8189 `flymake-warning-predicate'.
8190
a7d2d465
SM
81912013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8194 (package-obsolete-list): Remove.
8195 (package-activate): Remove min-version argument. Add `force' argument.
8196 Adjust to new package-alist format.
8197 (package-mark-obsolete): Remove.
8198 (package-unpack): Force reload of the package's autoloads.
8199 (package-installed-p): Check builtins if the installed package is not
8200 recent enough.
8201 (package-initialize): Don't reset package-obsolete-list.
8202 Don't specify which package version to activate.
8203 (package-process-define-package, describe-package-1)
8204 (package-menu--generate): Adjust to new package-alist format.
8205
cedf5c9d
JB
82062013-06-21 Juanma Barranquero <lekktu@gmail.com>
8207
8208 * allout-widgets.el (allout-widgets-mode-off)
8209 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8210 (allout-widgets-post-command-business)
8211 (allout-widgets-after-copy-or-kill-function)
8212 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8213 (allout-decorate-item-and-context)
8214 (allout-graphics-modification-handler): Fix typos in docstrings.
8215 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8216
8217 * cmuscheme.el (scheme-start-file): Doc fix.
8218 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8219 (scheme-input-filter): Use `string-match-p'.
8220
8221 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8222
8223 * dired-x.el: Use Dired consistently in docstrings.
8224
8225 * dired.el: Use Dired consistently in docstrings.
8226 (dired-readin, dired-mode): Use `setq-local'.
8227 (dired-switches-alist): Make defvar-local.
8228 (dired-buffers-for-dir): Use `zerop'.
8229 (dired-safe-switches-p, dired-switches-escape-p)
8230 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8231 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8232 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8233 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8234 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8235 (dired-toggle-marks, dired-mark-files-containing-regexp)
8236 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8237 (dired-flag-auto-save-files, dired-flag-backup-files):
8238 Use `looking-at-p'.
8239 (dired-mark-files-regexp, dired-build-subdir-alist):
8240 Use `string-match-p', `looking-at-p'.
8241
8242 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8243 (direct-print-region-helper): Use `string-match-p'.
8244
aed838b5
LL
82452013-06-21 Leo Liu <sdl.web@gmail.com>
8246
cedf5c9d
JB
8247 * comint.el (comint-redirect-results-list-from-process):
8248 Fix infinite loop.
aed838b5 8249
d80a808f
LMI
82502013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8251
8252 * net/eww.el (eww-update-header-line-format): Quote % characters.
8253
e7a526e3
GM
82542013-06-21 Glenn Morris <rgm@gnu.org>
8255
8256 * play/cookie1.el (cookie): New custom group.
8257 (cookie-file): New option.
8258 (cookie-check-file): New function.
8259 (cookie): Make it interactive. Make start and end messages optional.
8260 Interactively, display the result. Default to cookie-file.
8261 (cookie-insert): Default to cookie-file.
8262 (cookie-snarf): Make start and end messages optional.
8263 Default to cookie-file. Use with-temp-buffer.
8264 (cookie-read): Rename from read-cookie.
8265 Make start and end messages optional. Default to cookie-file.
8266 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8267 Do not autoload it.
e7a526e3
GM
8268 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8269 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8270
62efb35e
LL
82712013-06-21 Leo Liu <sdl.web@gmail.com>
8272
8273 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8274
21e3f963
GM
82752013-06-21 Glenn Morris <rgm@gnu.org>
8276
8277 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8278
fd846ab4
SM
82792013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8280 Daniel Hackney <dan@haxney.org>
8281
8282 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8283 Consolidate the single-file vs tarball code.
8284 (package-desc-suffix): New function.
8285 (package-desc-full-name): Don't bother inlining it.
8286 (package-load-descriptor): Return the new package-desc.
8287 (package-mark-obsolete): Remove unused arg `package'.
8288 (package-unpack): Make it work for single files as well.
8289 Make it update package-alist.
8290 (package--make-autoloads-and-stuff): Rename from
8291 package--make-autoloads-and-compile. Don't compile any more.
8292 (package--compile): New function.
8293 (package-generate-description-file): New function, extracted from
8294 package-unpack-single.
8295 (package-unpack-single): Remove.
8296 (package--with-work-buffer): Add indentation and debugging info.
8297 (package-download-single): Remove.
8298 (package-install-from-archive): Rename from package-download-tar, make
8299 it take a pkg-desc, and make it work for single files as well.
8300 (package-download-transaction): Simplify.
8301 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8302 external tar program.
8303 (package-install-from-buffer): Remove `pkg-desc' argument.
8304 Use package-tar-file-info for tar-mode buffers.
8305 (package-install-file): Simplify accordingly.
8306 (package-archive-base): Change to take a pkg-desc.
8307 * tar-mode.el (tar--check-descriptor): New function, extracted from
8308 tar-get-descriptor.
8309 (tar-get-descriptor): Use it.
8310 (tar-get-file-descriptor): New function.
8311 (tar--extract): New function, extracted from tar-extract.
8312 (tar--extract): Use it.
8313 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8314 case the summary uses non-ascii. Adjust to new calling convention of
8315 package-tar-file-info.
8316
b7deae5e
LL
83172013-06-21 Leo Liu <sdl.web@gmail.com>
8318
fd846ab4
SM
8319 * comint.el (comint-redirect-results-list-from-process):
8320 Fix random delay. (Bug#14681)
b7deae5e 8321
7a65a0b2
JB
83222013-06-21 Juanma Barranquero <lekktu@gmail.com>
8323
8324 * profiler.el (profiler-format-number): Use log, not log10.
8325
1493c2af
JB
83262013-06-20 Juanma Barranquero <lekktu@gmail.com>
8327
8328 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8329
aff6371e
SM
83302013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8333 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8334 yet available.
8335 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8336 (AUTOGENEL): ... here.
8337 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8338 (cl--defsubst-expand): Use it.
8339
89561f72
PE
83402013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8341
8342 * subr.el (log10): Move here from C code, and declare as obsolete.
8343 All uses of (log10 X) replaced with (log X 10).
8344
47199123
JB
83452013-06-20 Juanma Barranquero <lekktu@gmail.com>
8346
8347 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8348 Declare with `defvar-local'.
8349 (tabulated-list-use-header-line, tabulated-list-entries)
8350 (tabulated-list-padding, tabulated-list-printer)
8351 (tabulated-list-sort-key): Declare with `defvar-local'.
8352 (tabulated-list-init-header, tabulated-list-print-fake-header):
8353 Use `setq-local'.
8354
4a172eab
MA
83552013-06-20 Michael Albinus <michael.albinus@gmx.de>
8356
47199123
JB
8357 * arc-mode.el (archive-mode): Add `archive-write-file' to
8358 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8359
5fc0acc0
JB
83602013-06-20 Juanma Barranquero <lekktu@gmail.com>
8361
d5b27848
JB
8362 * cus-edit.el (custom-commands): Fix typos.
8363 (custom-display): Fix tooltip text.
8364 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8365 Fix typos in docstrings.
8366 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8367 (custom-unlispify-menu-entry, custom-magic-value-create)
8368 (custom-add-see-also, custom-group-value-create): Use ?\s.
8369 (custom-guess-type, customize-apropos, editable-field)
8370 (custom-face-value-create): Use `string-match-p'.
8371 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8372
8373 * custom.el (custom-load-symbol): Use `string-match-p'.
8374
a5c581d8
JB
8375 * ansi-color.el: Convert to lexical binding.
8376 (ansi-colors): Fix URL.
8377 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8378 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8379 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8380
970ad972
G
83812013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8382
8383 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8384
8385 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8386
83872013-06-19 Tom Tromey <tromey@redhat.com>
8388
8389 * net/eww.el (eww-top-url): Remove.
8390 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8391 (eww-render): Set new variables. Don't set eww-top-url.
8392 (eww-handle-link): Handle "prev", "home", and "contents".
8393 Downcase the rel text.
8394 (eww-top-url): Choose best top URL.
8395
83962013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8397
8398 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8399 relying in widget.el. Using widget.el leads to too many
8400 user interface inconsistencies.
8401 (eww-self-insert): Implement entering commands in text fields.
8402 (eww-process-text-input): New function to make text input field editing
8403 work.
8404 (eww-submit): Rewrite to use the new-style form methods.
8405 (eww-select-display): Display the correct selected item.
8406 (eww-change-select): Implement changing the select value.
8407 (eww-toggle-checkbox): Implement radio/checkboxes.
8408 (eww-update-field): Fix compilation error.
8409 (eww-tag-textarea): Implement <textarea>.
8410
8411 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8412 we don't shadow mode-specific bindings.
8413
8414 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8415 nothing to push.
8416
8417 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8418
4582a01c 84192013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8420
8421 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8422
15b263dc
MA
84232013-06-19 Michael Albinus <michael.albinus@gmx.de>
8424
8425 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8426 not needed.
8427
8428 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8429
8f5297f7
LMI
84302013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8431
8432 * net/browse-url.el (browse-url-browser-function):
8433 `eww-browse-url' has the right calling signature, `eww' does not.
8434
011c4552
GM
84352013-06-19 Glenn Morris <rgm@gnu.org>
8436
2285bd27
GM
8437 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8438 Only eval autoloaded macros.
8439 (byte-compile-autoload): Only give the macro warning for macros.
8440
1d653303
GM
8441 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8442 (ps-underlined-faces): Declare.
8443
bdd779ec
GM
8444 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8445 (speedbar-add-supported-extension): Declare.
8446
011c4552
GM
8447 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8448 Don't include a date stamp in the header of the generated file;
8449 it leads to needless differences between output files.
8450
e59dfb0e
MA
84512013-06-19 Michael Albinus <michael.albinus@gmx.de>
8452
c763842b
SM
8453 * net/secrets.el (secrets-struct-secret-content-type):
8454 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8455 Some servers do not offer introspection.
e59dfb0e 8456
102626e2
SM
84572013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * electric.el (electric-pair-mode): Improve interaction with
8460 electric-layout-mode.
8461 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8462 (electric-pair-syntax): Use text-mode-syntax-table in comments
8463 and strings.
8464 (electric-pair--insert): New function.
8465 (electric-pair-post-self-insert-function): Use it and
8466 electric--after-char-pos.
8467
ad528125
LL
84682013-06-19 Leo Liu <sdl.web@gmail.com>
8469
8470 * progmodes/octave.el (octave-help): Fix regexp.
8471
924d6997
G
84722013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8473
8474 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8475 (shr-table-horizontal-line): Allow nil as a value, and change the
8476 default.
8477 (shr-insert-table-ruler): Respect the nil value.
8478
84792013-06-18 Tom Tromey <tromey@barimba>
8480
8481 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8482 New defvars.
8483 (eww-open-file): New defun.
8484 (eww-render): Initialize new variables.
8485 (eww-display-html): Handle "link" and "a".
8486 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8487 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8488 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8489 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8490 New defuns.
924d6997 8491
d1bbba4f
DG
84922013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8493
8494 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8495 Distinguish ternary operator tokens from slash symbol and slash
8496 char literal.
8497
14dd22d2
JB
84982013-06-18 Juanma Barranquero <lekktu@gmail.com>
8499
8500 Convert symbol prettification into minor mode and global minor mode.
8501
8502 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8503 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8504 (prettify-symbols--keywords): Rename from
8505 `prog-prettify-symbols-alist' and make a local defvar.
8506 (prettify-symbols--compose-symbol): Rename from
8507 `prog--prettify-font-lock-compose-symbol'.
8508 (prettify-symbols--make-keywords): Rename from
8509 `prog-prettify-font-lock-symbols-keywords' and simplify.
8510 (prog-prettify-install): Remove.
8511 (prettify-symbols-mode): New minor mode, based on
8512 `prog-prettify-install'.
8513 (turn-on-prettify-symbols-mode): New function.
8514 (global-prettify-symbols-mode): New globalized minor mode.
8515
8516 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8517 * progmodes/cfengine.el (cfengine3-mode):
8518 * progmodes/perl-mode.el (perl-mode): Don't call
8519 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8520
292c880c
JL
85212013-06-18 Juri Linkov <juri@jurta.org>
8522
8523 * files-x.el (modify-file-local-variable-message): New function.
8524 (modify-file-local-variable)
8525 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8526 and call `modify-file-local-variable-message' when it's non-nil.
8527 (add-file-local-variable, delete-file-local-variable)
8528 (add-file-local-variable-prop-line)
8529 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8530 and use it. (Bug#9820)
8531
0950aa27
JL
85322013-06-18 Juri Linkov <juri@jurta.org>
8533
8534 * emulation/vi.el (vi-shell-op):
8535 * emulation/vip.el (vip-execute-com, ex-command):
8536 * emulation/viper-cmd.el (viper-exec-bang):
8537 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8538 the call of `shell-command-on-region'. (Bug#14637)
8539
8540 * simple.el (shell-command-on-region): Doc fix.
8541
8fbcca16
SM
85422013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8545 (bug#14633).
8546
dd7426ea
GM
85472013-06-18 Glenn Morris <rgm@gnu.org>
8548
4ba54f7d
GM
8549 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8550
dd7426ea
GM
8551 * newcomment.el (comment-search-forward, comment-search-backward):
8552 Doc fix. (Bug#14376)
8553
58aa805b
JB
85542013-06-18 Juanma Barranquero <lekktu@gmail.com>
8555
8556 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8557 (buffer-face-mode-invoke): Doc fix.
8558
9a08a617
MM
85592013-06-18 Matthias Meulien <orontee@gmail.com>
8560
8561 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8562 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8563
f2f426ca
GM
85642013-06-18 Glenn Morris <rgm@gnu.org>
8565
9445f99b
GM
8566 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8567 Replace obsolete function generic-make-keywords with its expansion.
8568
e0df2d14
GM
8569 * progmodes/python.el (ffap-alist): Declare.
8570
f2f426ca
GM
8571 * textmodes/reftex.el (bibtex-mode-map): Declare.
8572
f7f9a720
SM
85732013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8576 (package-unpack, package-unpack-single): Return the pkg-dir.
8577 (package-download-transaction): Use it to update package-alist.
8578
57ff04e0
LMI
85792013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8580
8581 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8582 possible choice.
8583
c048c022
JL
85842013-06-17 Juri Linkov <juri@jurta.org>
8585
8586 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8587
b5bcaee5
DG
85882013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8589
a020afb9
JB
8590 * emacs-lisp/package.el (package-load-descriptor):
8591 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8592 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8593
551e07e5
JB
85942013-06-17 Juanma Barranquero <lekktu@gmail.com>
8595
8596 * startup.el (command-line): Expand package name returned by
8597 `package--description-file' (bug#14639).
8598
d363bffb
DG
85992013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8600
8601 * emacs-lisp/package.el (package-load-descriptor): Do not call
8602 `emacs-lisp-mode', just use its syntax table.
8603
f612933b
JB
86042013-06-17 Juanma Barranquero <lekktu@gmail.com>
8605
8606 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8607 `font-lock-extra-managed-props' if any prettifying keyword is added.
8608 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8609 (prog-mode): Use `setq-local'.
8610
db3b7db5
SM
86112013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8612
8613 * international/characters.el (standard-case-table): Set syntax of ?»
8614 and ?« to punctuation.
8615
f3d674df
JB
86162013-06-16 Juanma Barranquero <lekktu@gmail.com>
8617
8618 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8619 Save relevant match data before calling `syntax-ppss' (bug#14595).
8620
31489a32
JL
86212013-06-15 Juri Linkov <juri@jurta.org>
8622
8623 * files-x.el (modify-file-local-variable-prop-line): Add local
8624 variables to the end of the existing comment on the first line.
8625 Use `file-auto-mode-skip' to skip interpreter magic line,
8626 and also skip XML declaration.
8627
66bd25ab
SM
86282013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8629
8630 * startup.el (package--builtin-versions): New var.
8631 (package-subdirectory-regexp): Remove.
8632 (package--description-file): Hard code its value instead.
8633
8634 * emacs-lisp/package.el: Don't activate packages older than builtin.
8635 (package-obsolete-list): Rename from package-obsolete-alist, and make
8636 it into a simple list of package-desc.
8637 (package-strip-version): Remove.
8638 (package-built-in-p): Use package--builtin-versions.
8639 (package-mark-obsolete): Simplify.
8640 (package-process-define-package): Mark it obsolete if older than the
8641 builtin version.
8642 (package-handle-response): Use line-end-position.
8643 (package-read-archive-contents, package--download-one-archive):
8644 Simplify.
8645 (package--add-to-archive-contents): Skip if older than the builtin or
8646 installed version.
8647 (package-menu-describe-package): Fix last change.
8648 (package-list-unversioned): New var.
8649 (package-menu--generate): Use it.
8650
8651 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8652 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8653 (autoload-builtin-package-versions): New variable.
8654 (autoload-generate-file-autoloads): Use them.
8655 Remove the list of autoloaded functions/macros from the
8656 (autoload...) comments.
8657
8658 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8659
9583ec36
EZ
86602013-06-15 Eli Zaretskii <eliz@gnu.org>
8661
8662 * simple.el (line-move-partial): Don't jump to the next screen
8663 line as soon as it becomes visible. Instead, continue enlarging
8664 the vscroll until the portion of a tall screen line that's left on
8665 display is about the height of the frame's default font.
8666 (Bug#14567)
8667
f0100d8a
GM
86682013-06-15 Glenn Morris <rgm@gnu.org>
8669
b86a85ca
GM
8670 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8671 compilation-error-regexp-alist void, or local while let-bound.
8672
f0100d8a
GM
8673 * progmodes/make-mode.el (makefile-mode-syntax-table):
8674 Treat "=" as punctuation. (Bug#14614)
8675
05e7ce90
JB
86762013-06-15 Juanma Barranquero <lekktu@gmail.com>
8677
8678 * help-fns.el (describe-variable):
8679 Add extra line for permanent-local variables.
8680
12e5e86e
SH
86812013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8682
8683 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8684 Add export, import, library. (Bug#9164)
8685 (library): Set indent function.
8686
230dcbaf
GM
86872013-06-14 Glenn Morris <rgm@gnu.org>
8688
8689 * term/xterm.el (xterm--query):
8690 Stop after first matching handler. (Bug#14615)
8691
e36b2d20 86922013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8693
8694 Add support for dired in saveplace.
8695 * dired.el (dired-initial-position-hook): New variable.
8696 (dired-initial-position): Call hook to place cursor position.
8697 * saveplace.el (save-place-to-alist): Add dired position.
8698 (save-place-dired-hook): New function.
8699
0b31660d
SM
87002013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8701
bf1e6ae8
SM
8702 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8703 through a symbol rather than letrec.
8704
1b8dff23
SM
8705 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8706 (package-desc): Add `dir' field.
8707 (package-desc-full-name): New function.
8708 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8709 (package-maybe-load-descriptor): Remove.
8710 (package-load-all-descriptors): Just call package-load-descriptor.
8711 (package--disabled-p): New function.
8712 (package-desc-vers, package-desc-doc): Remove aliases.
8713 (package--dir): Remove function.
8714 (package-activate): Check if a package is disabled.
8715 (package-process-define-package): New function, extracted from
8716 define-package.
8717 (define-package): Turn into a place holder.
8718 (package-unpack-single, package-tar-file-info):
8719 Use package--description-file.
8720 (package-compute-transaction): Use package--disabled-p.
8721 (package-download-transaction): Don't call
8722 package-maybe-load-descriptor since they're all loaded anyway.
8723 (package-install): Change argument to be a pkg-desc.
8724 (package-delete): Use a single pkg-desc argument.
8725 (describe-package-1): Use package-desc-dir instead of package--dir.
8726 Use package-desc property instead of package-symbol.
8727 (package-install-button-action): Adjust accordingly.
8728 (package--push): Rewrite.
8729 (package-menu--print-info): Adjust accordingly. Change the ID format
8730 to be a pkg-desc.
8731 (package-menu-describe-package, package-menu-get-status)
8732 (package-menu--find-upgrades, package-menu-mark-upgrades)
8733 (package-menu-execute, package-menu--name-predicate):
8734 Adjust accordingly.
8735 * startup.el (package--description-file): New function.
8736 (command-line): Use it.
8737 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8738 Use package-desc-version.
8739
0b31660d
SM
8740 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8741 (byte-compile-preprocess): Use it.
8742 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8743 can't quite recognize.
8744 (byte-compile-add-to-list): Remove.
8745 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8746 (cconv-closure-convert): Add assertion.
8747
8748 * emacs-lisp/map-ynp.el: Use lexical-binding.
8749 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8750 Factor out some repeated code.
8751
de0503df
SM
87522013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * subr.el (with-eval-after-load): New macro.
8755 (eval-after-load): Allow form to be a function.
8756 take advantage of lexical-binding.
8757 (do-after-load-evaluation): Use dolist and adjust to new format.
8758 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8759
bc5c8c5a
JL
87602013-06-13 Juri Linkov <juri@jurta.org>
8761
8762 * replace.el (perform-replace): Display "symbol " and other search
8763 modes from `isearch-message-prefix' in the *Help* buffer.
8764
8765 * isearch.el (isearch-query-replace): Add " symbol" and other
8766 possible search modes from `isearch-message-prefix' to the prompt.
8767 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8768 when reading a regexp to collect.
8769
a22289f7
JL
87702013-06-13 Juri Linkov <juri@jurta.org>
8771
8772 * isearch.el (word-search-regexp): Match whitespace if the search
8773 string begins or ends in whitespace. The LAX arg is applied to
8774 both ends of the search string. Use `regexp-quote' and explicit
8775 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8776 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8777 boundaries are replaced with symbol boundaries, and characters
8778 between symbols match non-word non-symbol syntax. (Bug#14602)
8779
cb89acab
JL
87802013-06-13 Juri Linkov <juri@jurta.org>
8781
8782 * isearch.el (isearch-del-char): Don't exceed the length of
8783 `isearch-string' by the prefix arg. (Bug#14563)
8784
6e8cfc81
JL
87852013-06-13 Juri Linkov <juri@jurta.org>
8786
8787 * isearch.el (isearch-yank-word, isearch-yank-line)
8788 (isearch-char-by-name, isearch-quote-char)
8789 (isearch-printing-char, isearch-process-search-char):
8790 Add optional count prefix arg. (Bug#14563)
8791
8792 * international/isearch-x.el
8793 (isearch-process-search-multibyte-characters):
8794 Add optional count prefix arg.
8795
c23d55f4
VS
87962013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8797
8798 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8799 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8800 lexical-binding.
8801
88022013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8803
8804 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8805
ba947bc4
GM
88062013-06-13 Glenn Morris <rgm@gnu.org>
8807
8baeb37a
GM
8808 * startup.el (tty-handle-args):
8809 Don't just discard "--" and anything after. (Bug#14608)
8810
ba947bc4
GM
8811 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8812
9abefce4
MA
88132013-06-13 Michael Albinus <michael.albinus@gmx.de>
8814
8815 Implement changes in Secret Service API. Make it backward compatible.
8816 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8817 (secrets-create-item): Use it. Prefix properties with interface.
8818
5755011f
MH
88192013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8820
8821 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8822 (term-emulate-terminal): Respect term-suppress-hard-newline.
8823
1261d2da
S
88242013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8825
8826 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8827 Only remove a `thumb-file' overlay. (Bug#14548)
8828
868490bb
GJ
88292013-06-12 Grégoire Jadi <daimrod@gmail.com>
8830
8831 * mail/reporter.el (reporter-submit-bug-report):
8832 Handle missing package-name. (Bug#14600)
8833
79d7167f
TH
88342013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8835
8836 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8837 (reftex-citation-prompt, reftex-default-bibliography)
8838 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8839 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8840 (reftex-bib-sort-author, reftex-bib-sort-year)
8841 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8842 (reftex-extract-bib-entries-from-thebibliography)
8843 (reftex-get-bibkey-default, reftex-get-bib-names)
8844 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8845 (reftex-format-bib-entry, reftex-parse-bibitem)
8846 (reftex-format-bibitem, reftex-do-citation)
8847 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8848 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8849 (reftex-insert-bib-matches, reftex-format-citation)
8850 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8851 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8852 existing comments into docstrings.
8853
5f9dbd7a
XF
88542013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8855
8856 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8857
94df41ab
AS
88582013-06-12 Andreas Schwab <schwab@suse.de>
8859
8860 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8861 for auto-save files.
8862
a7f3fecc
GM
88632013-06-12 Glenn Morris <rgm@gnu.org>
8864
001809f6
GM
8865 * ido.el (ido-delete-ignored-files): Remove.
8866 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8867 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8868
834b5ded
EL
88692013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8870
08c73ed2
EL
8871 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8872
834b5ded
EL
8873 * ido.el (ido-delete-ignored-files): New function,
8874 split from ido-make-file-list-1.
8875 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8876 (ido-make-file-list-1): Use ido-delete-ignored-files.
8877
daabf15a
LL
88782013-06-12 Leo Liu <sdl.web@gmail.com>
8879
8880 * progmodes/octave.el (inferior-octave-startup)
8881 (inferior-octave-completion-table)
8882 (inferior-octave-track-window-width-change)
8883 (octave-eldoc-function-signatures, octave-help)
8884 (octave-find-definition): Use single quoted strings.
8885 (inferior-octave-startup-args): Change default value.
8886 (inferior-octave-startup): Do not hard code "-i" and
8887 "--no-line-editing".
8888 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8889 (inferior-octave-directory-tracker): Use it.
8890 (octave-goto-function-definition): Robustify.
8891 (octave-help): Support highlighting operators in 'See also'.
8892 (octave-find-definition): Find subfunctions only in Octave mode.
8893
cf4e5178
SM
88942013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8895
8896 * help-fns.el (help-fns--compiler-macro): If the handler function is
8897 named, then put a link to it.
8898 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8899 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8900 (cl-typep): Use it.
8901 (cl-eval-when): Simplify debug spec.
8902 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8903 compiler-macro function instead of setting `compiler-macro-file'.
8904
99c81280 89052013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8906
8907 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8908 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8909
f56be016
SM
89102013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8911 Daniel Hackney <dan@haxney.org>
8912
8913 First part of Daniel Hackney's patch to package.el.
8914 * emacs-lisp/package.el: Use defstruct.
8915 (package-desc): New, main struct.
8916 (package--bi-desc, package--ac-desc): New structs, used to describe the
8917 format in external files.
8918 (package-desc-vers): Replace with package-desc-version accessor.
8919 (package-desc-doc): Replace with package-desc-summary accessor.
8920 (package-activate-1): Remove `package' arg since the pkg-vec now
8921 includes the name.
8922 (define-package): Use package-desc-from-define.
8923 (package-unpack-single): Change file-name arg to be a symbol.
8924 (package--add-to-archive-contents): Use package-desc-create and new
8925 accessor functions to package--ac-desc.
8926 (package-buffer-info, package-tar-file-info): Return a package-desc.
8927 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8928 arg to be a package-desc.
8929 (package-install-file): Adjust accordingly. Use \' to match EOS.
8930 (package--from-builtin): New function.
8931 (describe-package-1, package-menu--generate): Use it.
8932 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8933 (package-generate-autoloads): Idem and return the name of the file.
8934 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8935 Change pkg-info arg to be a package-desc.
8936 Use package-make-ac-desc.
8937 (package-upload-file): Use \' to match EOS.
8938 * finder.el (finder-compile-keywords): Use package-make-builtin.
8939
31119d63
SM
89402013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8941
931a2762
SM
8942 * vc/vc.el (vc-deduce-fileset): Change error message.
8943 (vc-read-backend): New function.
8944 (vc-next-action): Use it.
8945
5a3eb0c6
SM
8946 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8947
e3eb1bb7
SM
8948 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8949 (prolog-font-lock-keywords): Use regexp-opt instead.
8950 Don't manually highlight strings.
8951 (prolog-mode-variables): Simplify comment-start-skip.
8952 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8953
31119d63
SM
8954 * emacs-lisp/generic.el (generic--normalise-comments)
8955 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8956 (generic-mode-set-comments): Use them.
8957 (generic-bracket-support): Use setq-local.
8958 (generic-make-keywords-list): Declare obsolete.
8959
7de135d0
GM
89602013-06-11 Glenn Morris <rgm@gnu.org>
8961
8962 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8963 Prettify after setting font-lock-defaults. (Bug#14574)
8964
fa6bc6fd
JB
89652013-06-11 Juanma Barranquero <lekktu@gmail.com>
8966
8967 * replace.el (query-replace, occur-read-regexp-defaults-function)
8968 (replace-search):
8969 * subr.el (declare-function, number-sequence, local-set-key)
8970 (substitute-key-definition, locate-user-emacs-file)
8971 (with-silent-modifications, split-string, eval-after-load):
8972 Fix typos, remove unneeded backslashes and reflow some docstrings.
8973
cf1f9b9a
SM
89742013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8975
8976 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8977 default for Elisp files.
8978
56602a4b
GM
89792013-06-11 Glenn Morris <rgm@gnu.org>
8980
8981 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8982 although define-derived-mode was doing this anyway. (Bug#14583)
8983
30ae0b2c
JB
89842013-06-10 Juanma Barranquero <lekktu@gmail.com>
8985
8986 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8987 Fix make-variable-buffer-local call to refer to the correct variable.
8988
fa472906
AG
89892013-06-10 Aidan Gauland <aidalgol@amuri.net>
8990
8991 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8992 (eshell-visual-subcommands, eshell-visual-options):
8993 Add summary line to docstrings. Add cross-references.
fa472906 8994
ff4871b9
GM
89952013-06-10 Glenn Morris <rgm@gnu.org>
8996
8997 * epa.el (epa-read-file-name): New function. (Bug#14510)
8998 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8999
04fcf1b0
AG
90002013-06-09 Aidan Gauland <aidalgol@amuri.net>
9001
9002 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9003 output redirection to be ignored with visual commands.
9004
88b00caa
AG
90052013-06-09 Aidan Gauland <aidalgol@amuri.net>
9006
9007 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9008 (eshell-term-initialize): Move long lambda to separate function
9009 eshell-visual-command-p.
e7b41c4c
JB
9010 * eshell/em-dirs.el (eshell-dirs-initialise):
9011 * eshell/em-script.el (eshell-script-initialize):
9012 Add missing #' to lambda.
88b00caa 9013
fda74125
LL
90142013-06-08 Leo Liu <sdl.web@gmail.com>
9015
9016 * progmodes/octave.el (octave-add-log-current-defun): New function.
9017 (octave-mode): Set add-log-current-defun-function.
9018 (octave-goto-function-definition): Do not move point if not found.
9019 (octave-find-definition): Enhance to try subfunctions first.
9020
467f3b33
GM
90212013-06-08 Glenn Morris <rgm@gnu.org>
9022
9023 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9024 (byte-compile-backward-char, byte-compile-backward-word):
9025 Improve previous change, to handle non-explicit nil.
9026
544badc3
SM
90272013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9030 (smie--opener/closer-at-point): New function.
9031 (smie--matching-block-data): Use it. Don't match from right after an
9032 opener or right before a closer. Obey smie-blink-matching-inners.
9033 Don't signal a mismatch for repeated inners like "switch..case..case".
9034
a175bf33
LL
90352013-06-07 Leo Liu <sdl.web@gmail.com>
9036
9037 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9038 to t. (Bug#14303)
ce8209d4
LL
9039 (octave-function-header-regexp): Fix. (Bug#14570)
9040 (octave-help-mode-finish-hook, octave-help-mode-finish):
9041 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9042
9043 * newcomment.el (comment-search-backward): Revert last change.
9044 (Bug#14434)
9045
9046 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9047
a822acff
EZ
90482013-06-07 Eli Zaretskii <eliz@gnu.org>
9049
9050 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9051 through xargs, to avoid failure due to MS-Windows limitations on
9052 command-line length.
9053
961166f5
GM
90542013-06-06 Glenn Morris <rgm@gnu.org>
9055
d0341459
GM
9056 * font-lock.el (lisp-font-lock-keywords-2):
9057 Treat user-error like error.
9058
961166f5
GM
9059 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9060 (byte-compile-backward-char, byte-compile-backward-word):
9061 Handle explicit nil arguments. (Bug#14565)
9062
80fa505f
AM
90632013-06-05 Alan Mackenzie <acm@muc.de>
9064
9065 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9066 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9067 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9068 (Bug#9706)
80fa505f 9069
fccdc796
SM
90702013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * autorevert.el (auto-revert-notify-handler): Use memq.
9073 Hide assertion failure.
9074
9075 * skeleton.el: Use cl-lib.
9076 (skeleton-further-elements): Use defvar-local.
9077 (skeleton-insert): Use cl-progv.
9078
9bfff84b
TZ
90792013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9080
9081 * progmodes/prog-mode.el (prog-prettify-symbols)
9082 (prog-prettify-install): Update docstrings.
9083
55577e7c
SM
90842013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * simple.el: Move all the prog-mode code to prog-mode.el.
9087 * progmodes/prog-mode.el: New file.
9088 * loadup.el: Add prog-mode.el.
9089
8fc57765
TZ
90902013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9091
9092 * simple.el (prog-prettify-symbols): Add version.
9093 (prog-prettify-install): Add convenience function to prettify symbols.
9094
9095 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9096 (perl--augmented-font-lock-keywords-1)
9097 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9098 variables and use it.
9099
9100 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9101 (cfengine3-mode): Remove unneeded variable and use it.
9102
9103 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9104 (lisp--augmented-font-lock-keywords-1)
9105 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9106 Remove unneeded variables and use it.
9107
650645d5 91082013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9109
9110 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9111 to point when opening the connection. (Bug#14380)
28f5da6d 9112
781b4af6
SM
91132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * subr.el (load-history-regexp, load-history-filename-element)
9116 (eval-after-load, after-load-functions, do-after-load-evaluation)
9117 (eval-next-after-load, display-delayed-warnings)
9118 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9119 definition of save-match-data.
9120 (overriding-local-map): Remove accidental obsolescence declaration.
9121
9122 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9123
3ca0d0b4
TZ
91242013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9125
9126 Generalize symbol prettify support to prog-mode and implement it
9127 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9128 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9129 (prog--prettify-font-lock-compose-symbol)
9130 (prog-prettify-font-lock-symbols-keywords): New variables and
9131 functions to support symbol prettification.
9132 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9133 (lisp--augmented-font-lock-keywords-1)
9134 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9135 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9136 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9137 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9138 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9139 * progmodes/perl-mode.el (perl-prettify-symbols)
9140 (perl--font-lock-compose-symbol)
9141 (perl--font-lock-symbols-keywords): Move to prog-mode.
9142 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9143 (perl-font-lock-keywords-1)
9144 (perl-font-lock-keywords-2): Remove explicit prettify support.
9145 (perl--augmented-font-lock-keywords)
9146 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9147 (perl--augmented-font-lock-keywords-2, perl-mode):
9148 Implement prettify support.
3ca0d0b4 9149
976cb066
LL
91502013-06-05 Leo Liu <sdl.web@gmail.com>
9151
9152 Re-implement smie matching block highlight using
9153 show-paren-data-function. (Bug#14395)
9154 * emacs-lisp/smie.el (smie-matching-block-highlight)
9155 (smie--highlight-matching-block-overlay)
9156 (smie--highlight-matching-block-lastpos)
9157 (smie-highlight-matching-block)
9158 (smie-highlight-matching-block-mode): Remove.
9159 (smie--matching-block-data-cache): New variable.
9160 (smie--matching-block-data): New function.
9161 (smie-setup): Use smie--matching-block-data for
9162 show-paren-data-function.
9163
9164 * progmodes/octave.el (octave-mode-menu): Fix.
9165 (octave-find-definition): Skip garbage lines.
9166
208d0342
SM
91672013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 Fix compilation error with simultaneous dynamic+lexical scoping.
9170 Add warning when a defvar appears after the first let-binding.
9171 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9172 (byte-compile-close-variables): Initialize it.
9173 (byte-compile--declare-var): New function.
9174 (byte-compile-file-form-defvar)
9175 (byte-compile-file-form-define-abbrev-table)
9176 (byte-compile-file-form-custom-declare-variable): Use it.
9177 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9178 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9179 (byte-compile-bind): Handle dynamic bindings that shadow
9180 lexical bindings.
9181 (byte-compile-unbind): Make arg non-optional.
9182 (byte-compile-let): Simplify.
9183 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9184 (cconv--analyse-function, cconv-analyse-form): Populate it.
9185 Protect byte-compile-bound-variables to limit the scope of defvars.
9186 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9187 Remove unneeded rule for `declare'.
9188
9189 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9190 so as to avoid depending on cl-adjoin at run-time.
9191 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9192
9193 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9194 (macroexp--warn-and-return): Use it.
9195
1ac2891e
GM
91962013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9197
a12bf61e 9198 * subr.el: Convert to lexical binding.
1ac2891e
GM
9199 (overriding-local-map): Make obsolete.
9200 (add-to-list): Doc fix. Add compiler macro.
9201 (read-key): Swap values of local maps.
9202
2587b005
LL
92032013-06-05 Leo Liu <sdl.web@gmail.com>
9204
9205 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9206
f1da3c88
LL
92072013-06-04 Leo Liu <sdl.web@gmail.com>
9208
9209 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9210 (compilation-auto-jump): Suppress the "Mark set" message to give
9211 way to exit message.
9212
3caa391f
AM
92132013-06-04 Alan Mackenzie <acm@muc.de>
9214
9215 Remove faulty optimisation from indentation calculation.
9216 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9217 search limit based on 2000 characters back from indent-point.
9218
068922a2
TH
92192013-06-03 Tassilo Horn <tsdh@gnu.org>
9220
9221 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9222
1f8fdd53
SM
92232013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9224
bbcc4d97
SM
9225 * emacs-lisp/lisp.el: Use lexical-binding.
9226 (lisp--local-variables-1, lisp--local-variables): New functions.
9227 (lisp--local-variables-completion-table): New var.
208d0342 9228 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9229
1f8fdd53
SM
9230 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9231 eagerly (bug#14422).
9232
c9628c79
MA
92332013-06-03 Michael Albinus <michael.albinus@gmx.de>
9234
9235 * autorevert.el (auto-revert-notify-enabled)
9236 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9237 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9238 (auto-revert-notify-handler): Handle also gfilenotify.
9239
e7b41c4c 9240 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9241 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9242 Remove.
c9628c79 9243
e5e4a942
JL
92442013-06-03 Juri Linkov <juri@jurta.org>
9245
9246 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9247 `M-s h .'. (Bug#14427)
9248
9249 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9250 command `hi-lock-face-symbol-at-point'.
9251 (hi-lock-face-symbol-at-point): New command.
9252 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9253 (hi-lock-menu): Add `highlight-symbol-at-point'.
9254 (hi-lock-mode): Doc fix.
9255
9256 * isearch.el (isearch-forward-symbol-at-point): New command.
9257 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9258 (isearch-highlight-regexp): Add a regexp which matches
9259 words/symbols for word/symbol mode.
9260
9261 * subr.el (find-tag-default-bounds): New function with the body
9262 mostly moved from `find-tag-default'.
9263 (find-tag-default): Move most code to `find-tag-default-bounds',
9264 call it and apply `buffer-substring-no-properties' afterwards.
9265
26b3353a
TH
92662013-06-03 Tassilo Horn <tsdh@gnu.org>
9267
781b4af6
SM
9268 * eshell/em-term.el (eshell-term-initialize):
9269 Use `cl-intersection' rather than `intersection'.
26b3353a 9270
51b60f53
XF
92712013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9272
fe054b63 9273 * vc/log-view.el: Doc fix.
d3ffe17c 9274 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9275
a0eb10b3 92762013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9277
9278 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9279 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9280 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9281 (eieio-unbound, eieio-default-superclass)
9282 (eieio--define-field-accessors, method-static, method-before)
9283 (method-primary, method-after, method-num-lists)
9284 (method-generic-before, method-generic-primary)
9285 (method-generic-after, method-num-slots)
9286 (eieio-specialized-key-to-generic-key)
9287 (eieio--check-type, class-v, class-p)
9288 (eieio-class-name, define-obsolete-function-alias)
9289 (eieio-class-parents-fast, eieio-class-children-fast)
9290 (same-class-fast-p, class-constructor, generic-p)
9291 (generic-primary-only-p, generic-primary-only-one-p)
9292 (class-option-assoc, class-option, eieio-object-p)
9293 (class-abstract-p, class-method-invocation-order)
9294 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9295 (eieio-class-un-autoload, eieio-defclass)
9296 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9297 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9298 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9299 (eieio-defgeneric-reset-generic-form)
9300 (eieio-defgeneric-form-primary-only)
9301 (eieio-defgeneric-reset-generic-form-primary-only)
9302 (eieio-defgeneric-form-primary-only-one)
9303 (eieio-defgeneric-reset-generic-form-primary-only-one)
9304 (eieio-unbind-method-implementations)
9305 (eieio--defmethod, eieio--typep)
9306 (eieio-perform-slot-validation, eieio-validate-slot-value)
9307 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9308 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9309 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9310 (eieio-slot-name-index, eieio-class-slot-name-index)
9311 (eieio-set-defaults, eieio-initarg-to-attribute)
9312 (eieio-attribute-to-initarg, eieio-c3-candidate)
9313 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9314 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9315 (eieio-class-precedence-list, eieio-generic-call-methodname)
9316 (eieio-generic-call-arglst, eieio-generic-call-key)
9317 (eieio-generic-call-next-method-list)
9318 (eieio-pre-method-execution-functions, eieio-generic-call)
9319 (eieio-generic-call-primary-only, eieiomt-method-list)
9320 (eieiomt-optimizing-obarray, eieiomt-install)
9321 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9322 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9323 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9324 (defclass): Remove `eval-and-compile' from macro.
9325 (call-next-method, shared-initialize): Instead of using
9326 `scoped-class' variable, use new eieio--scoped-class, and
9327 eieio--with-scoped-class.
9328 (initialize-instance): Rename local variable 'scoped-class' to
9329 'this-class' to remove ambiguitity from old global.
9330
9331 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9332 eieio.el.
4f405069
JB
9333 (eieio--scoped-class-stack): New variable.
9334 (eieio--scoped-class): New fcn.
890f7890
DE
9335 (eieio--with-scoped-class): New scoping macro.
9336 (eieio-defclass): Use pushnew instead of add-to-list.
9337 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9338 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9339 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9340 `scoped-class' variable, use new eieio--scoped-class, and
9341 eieio--with-scoped-class.
9342
9343 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9344
d105b0e2
TH
93452013-06-02 Tassilo Horn <tsdh@gnu.org>
9346
9347 * eshell/esh-ext.el (eshell-external-command): Pass args to
9348 `eshell-find-interpreter'.
9349 (eshell-find-interpreter): Add new second parameter ARGS.
9350
9351 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9352 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9353
9354 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9355 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9356
9357 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9358 (eshell-visual-options): New defcustom.
9359 (eshell-escape-control-x): Adapt docstring.
9360 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9361 `eshell-visual-options' in addition to `eshell-visual-commands'.
9362 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9363
f46305c8 93642013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9365
9366 * progmodes/python.el (python-indent-block-enders): Add break,
9367 continue and raise keywords.
9368
d870df21
GM
93692013-06-01 Glenn Morris <rgm@gnu.org>
9370
9133b82e
GM
9371 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9372
02c992ec 9373 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9374 * progmodes/cc-cmds.el (delete-forward-p):
9375 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9376 * progmodes/cc-engine.el (buffer-syntactic-context):
9377 * progmodes/cc-fonts.el (face-property-instance):
9378 * progmodes/cc-mode.el (set-keymap-parents):
9379 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9380 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9381 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9382 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9383 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9384
31e7b090
GM
9385 * progmodes/cc-vars.el (other): Emacs has this widget since
9386 at least 21.1, so don't (re)define it.
9387
d870df21
GM
9388 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9389 Replace the obsolete alias pcomplete-arg-quote-list.
9390
c75c93c7
LL
93912013-06-01 Leo Liu <sdl.web@gmail.com>
9392
9393 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9394 punctuation syntax.
9395 (inferior-octave-minimal-columns)
9396 (inferior-octave-last-column-width): New variables.
9397 (inferior-octave-track-window-width-change): New function.
9398 (inferior-octave-mode): Adjust column width so that Octave output,
9399 for example from 'ls', can fit into the window nicely.
9400
973d1e12
DG
94012013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9402
9403 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9404 Highlight expansions inside regexp literals.
9405
0888c286
GM
94062013-05-31 Glenn Morris <rgm@gnu.org>
9407
e26aac1f
GM
9408 * obsolete/sym-comp.el (symbol-complete):
9409 Replace obsolete completion-annotate-function.
9410
0888c286
GM
9411 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9412
19bb8e62
DG
94132013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9414
781b4af6
SM
9415 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9416 New function, checks if point is inside a literal that allows
19bb8e62
DG
9417 expression expansion.
9418 (ruby-syntax-propertize-expansion): Use it.
9419 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9420 around the body.
9421
01dea85f
JL
94222013-05-30 Juri Linkov <juri@jurta.org>
9423
9424 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9425 to "\M-si".
9426 (isearch-invisible): New variable.
9427 (isearch-forward): Doc fix.
9428 (isearch-mode): Set `isearch-invisible'
9429 to the value of `search-invisible'.
9430 (isearch-toggle-case-fold): Doc fix.
9431 (isearch-toggle-invisible): New command.
9432 (isearch-query-replace): Let-bind `search-invisible'
9433 to the value of `isearch-invisible'.
9434 (isearch-search): Use `isearch-invisible' instead of
9435 `search-invisible'. Let-bind `search-invisible'
9436 to the value of `isearch-invisible'. (Bug#11378)
9437
ab1bdce5
JL
94382013-05-30 Juri Linkov <juri@jurta.org>
9439
9440 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9441 call when `query-flag' is nil and `search-invisible' is non-nil.
9442 (Bug#11746)
9443
d6d236e2
GM
94442013-05-30 Glenn Morris <rgm@gnu.org>
9445
8accd027
GM
9446 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9447
2a8bed1c
GM
9448 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9449 (cc-require): Suppress spurious "noruntime" warnings.
9450 (cc-require-when-compile): Use fboundp, for sake of compiler.
9451
d6d236e2
GM
9452 * progmodes/cc-mode.el: Move load of cc-vars before that of
9453 cc-langs (which in turn loads cc-vars), to quieten compiler.
9454
9190b35b
SM
94552013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * paren.el: Simplify the code.
9458 (show-paren-mode): Always start the timer.
9459 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9460 (show-paren--overlay, show-paren--overlay-1): Rename from
9461 show-paren-overlay and show-paren-overlay-1, and initialize to an
9462 overlay rather than to nil.
9463 (show-paren-function): Misc cleanup and simplifications.
9464
4f8d1cf6
SM
94652013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * paren.el (show-paren-data-function): New hook.
9468 (show-paren--default): New function, extracted from show-paren-function.
9469 (show-paren-function): Use show-paren-data-function.
9470
02d844b5
GM
94712013-05-30 Glenn Morris <rgm@gnu.org>
9472
d209d4a9
GM
9473 * ielm.el (ielm-map, ielm-complete-symbol):
9474 Use completion-at-point rather than obsolete functions.
9475 (inferior-emacs-lisp-mode): Doc fix.
9476 Set completion-at-point-functions, rather than
9477 comint-dynamic-complete-functions.
9478
2082faa6
GM
9479 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9480 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9481 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9482
dd8620de
GM
9483 * image.el (image-animated-p): Tweak definition.
9484
ceca95b1
GM
9485 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9486 (rlogin-process-connection-type): Tweak default. Add set-after.
9487 (rlogin-host): Doc fix.
9488 (rlogin): Tweak prompt.
9489 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9490
ee9f1acc
GM
9491 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9492 * progmodes/tcl.el (inferior-tcl-mode-map):
9493 Use completion-at-point rather than obsolete alias.
9494
45ce222e
GM
9495 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9496
02d844b5
GM
9497 * minibuffer.el (read-file-name-completion-ignore-case):
9498 Move before completion--in-region, for eager macro expansion.
9499
ac44d6c1
JL
95002013-05-29 Juri Linkov <juri@jurta.org>
9501
9502 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9503 for total count of matching lines. Add `global-matches' for total
9504 count of matches. Rename `matches' to `lines' for count of
9505 matching lines. Add `matches' for count of matches.
9506 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9507 to `prev-line' for line number of prev match endpt.
9508 Increment `matches' for every match. Print the number of
9509 matching lines in the header.
9510 (occur-context-lines): Rename `lines' to `curr-line'.
9511 Rename `prev-lines' to `prev-line'. (Bug#14017)
9512
3c9c9d38
JL
95132013-05-29 Juri Linkov <juri@jurta.org>
9514
9515 * replace.el (perform-replace): Add `skip-read-only-count',
9516 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9517 Increment them for corresponding conditions and report the number
9518 of skipped occurrences in the final message. (Bug#11746)
9519 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9520 (replace-string, replace-regexp): Doc fix.
9521
33e249a2
SM
95222013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9523
8e399682
SM
9524 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9525
33e249a2 9526 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9527 prog-mode-map (bug#14504).
33e249a2 9528
f236dd84
LL
95292013-05-29 Leo Liu <sdl.web@gmail.com>
9530
9531 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9532 (octave-help): Small simplification.
9533
9534 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9535 off the highlight first.
9536
3694d13f
GM
95372013-05-29 Glenn Morris <rgm@gnu.org>
9538
03983bdc
GM
9539 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9540 Handle idlwave-last-system-routine-info-cons-cell being nil.
9541
bc74a74a
GM
9542 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9543 (idlwave-write-paths): Simplify via with-temp-buffer.
9544
8b394200
GM
9545 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9546 * emulation/cua-rect.el: Also load cua-base at run time.
9547
3694d13f
GM
9548 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9549 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9550 (cperl-imenu-on-info): Require imenu.
9551
336d7284
AM
95522013-05-28 Alan Mackenzie <acm@muc.de>
9553
9554 Handle "capitalised keywords" correctly.
33e249a2 9555 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9556
cb29c582
AG
95572013-05-28 Aidan Gauland <aidalgol@amuri.net>
9558
781b4af6 9559 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9560
690e44b2
GM
95612013-05-28 Glenn Morris <rgm@gnu.org>
9562
e658d75c
GM
9563 * vc/vc-arch.el (vc-exec-after): Declare.
9564 (vc-switches): Autoload.
9565 * vc/vc-bzr.el: No need to require vc when compiling.
9566 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9567 (vc-resynch-buffer, vc-dir-refresh): Declare.
9568 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9569 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9570 (vc-resynch-buffer): Declare.
9571 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9572 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9573 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9574 (grep-read-regexp, grep-read-files, grep-expand-template)
9575 (vc-dir-refresh): Declare.
9576 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9577 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9578 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9579 * vc/vc-mtn.el (vc-exec-after): Declare.
9580 (vc-switches): Autoload.
9581 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9582 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9583 (vc-file-tree-walk): Declare.
712b9732
GM
9584 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9585 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9586 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9587 * vc/vc-svn.el (vc-exec-after): Declare.
9588 (vc-switches, vc-setup-buffer): Autoload.
9589 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9590 Autoload.
9591 (vc-resynch-buffer): Declare.
9592
98e87fb3
GM
9593 * obsolete/fast-lock.el (byte-compile-warnings):
9594 Don't warn about obsolete features in this obsolete file.
9595
f5379553
GM
9596 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9597 Move definition before use.
9598
7a20ef83
GM
9599 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9600 (dun-unix-verbs): Remove dun-zippy.
9601 (dun-zippy): Remove function.
9602
690e44b2
GM
9603 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9604
3a52ccf7
JL
96052013-05-27 Juri Linkov <juri@jurta.org>
9606
9607 * replace.el (replace-search): New function with code moved out
9608 from `perform-replace'.
9609 (replace-highlight, replace-dehighlight): Move function definitions
9610 up closer to `replace-search'. (Bug#11746)
9611
d289938a
JL
96122013-05-27 Juri Linkov <juri@jurta.org>
9613
9614 * replace.el (perform-replace): Ignore invisible matches.
9615 In addition to checking `query-replace-skip-read-only', also
9616 filter out matches by calling `run-hook-with-args-until-failure'
9617 on `isearch-filter-predicates', and also check `search-invisible'
9618 for t or call `isearch-range-invisible'.
9619 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9620
66fc57e3
JL
96212013-05-27 Juri Linkov <juri@jurta.org>
9622
9623 * isearch.el (isearch-filter-predicates): Rename from
9624 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9625 (isearch-message-prefix): Display text from the property
9626 `isearch-message-prefix' of the currently active filters.
9627 (isearch-search): Don't compare `isearch-filter-predicate' with
9628 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9629 on `isearch-filter-predicates'. Also check `search-invisible' for t
9630 or call `isearch-range-invisible'.
9631 (isearch-filter-visible): Make obsolete.
9632 (isearch-lazy-highlight-search):
9633 Call `run-hook-with-args-until-failure' on
9634 `isearch-filter-predicates' and use `isearch-range-invisible'.
9635
9636 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9637 `isearch-filter-predicates' instead of `funcall'ing
9638 `isearch-filter-predicate'.
9639 (Info-mode): Set `Info-isearch-filter' to
9640 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9641
9642 * dired-aux.el (dired-isearch-filter-predicate-orig):
9643 Remove variable.
9644 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9645 (dired-isearch-filenames-end): Add and remove
9646 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9647 instead of changing the value of `isearch-filter-predicate'.
9648 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9649 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9650 Put property `isearch-message-prefix' to "filename " on
9651 `dired-isearch-filter-filenames'.
9652
9653 * wdired.el (wdired-change-to-wdired-mode):
9654 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9655 locally instead of changing `isearch-filter-predicate'.
9656 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9657
f1a60a0f
DG
96582013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9659
9660 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9661 return the commit hash (Bug#14459). Also set the
9662 `vc-git-detached' property.
9663 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9664 (vc-git-mode-line-string): Use the same help-echo format whether
9665 in detached mode or not, because we know the actual revision now.
9666 When in detached mode, shorten the revision to 7 chars.
9667
7f17cc40
SM
96682013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9669
9670 * emacs-lisp/easy-mmode.el (define-minor-mode):
9671 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9672 mode hook and provide a docstring.
9673
25c8401c
AM
96742013-05-27 Alan Mackenzie <acm@muc.de>
9675
9676 Remove spurious syntax-table text properties inserted by C-y.
9677 * progmodes/cc-mode.el (c-after-change): Also clear hard
9678 syntax-table property with value nil.
9679
dde84790
MA
96802013-05-27 Michael Albinus <michael.albinus@gmx.de>
9681
9682 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9683 when reading the events; the buffer layout shall not be changed.
9684
837fd9af
LL
96852013-05-27 Leo Liu <sdl.web@gmail.com>
9686
9687 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9688 New variable.
9689 (inferior-octave-directory-tracker): Automatically re-sync
9690 default-directory.
9691 (octave-help): Improve handling of 'See also'.
9692
4fd996b3
SM
96932013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9694
416f1802
SM
9695 * doc-view.el: Minor naming convention tweaks.
9696 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9697
4fd996b3
SM
9698 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9699 even if there's no `display' property yet (bug#14435).
9700
a052ef3b
EZ
97012013-05-25 Eli Zaretskii <eliz@gnu.org>
9702
4fd996b3 9703 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9704
9705 * Makefile.in (custom-deps, finder-data, autoloads)
9706 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9707 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9708 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9709
c9023370
SM
97102013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9711
9712 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9713 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9714 Don't burp at EOB.
c9023370 9715
24d699fa
LL
97162013-05-25 Leo Liu <sdl.web@gmail.com>
9717
9718 * comint.el (comint-previous-matching-input): Do not flood the
9719 *Messages* buffer with trivial messages.
9720
17e5c0cc
SM
97212013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9722
9723 * progmodes/flymake.el (flymake-nop): Don't return a string.
9724 (flymake-set-at): Fix typo.
9725
9726 * simple.el (read--expression): New function, extracted from
9727 eval-expression. Set completion-at-point-functions (bug#14465).
9728 (eval-expression, eval-minibuffer): Use it.
9729
5d028165
XF
97302013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9731
9732 * progmodes/flymake.el (flymake-save-buffer-in-file)
9733 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9734 (flymake-selected-frame, flymake-log, flymake-ins-after)
9735 (flymake-set-at, flymake-get-buildfile-from-cache)
9736 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9737 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9738 Refine the doc string.
9739 (flymake-get-file-name-mode-and-masks): Reformat.
9740 (flymake-get-real-file-name-function): Fix a minor bug.
9741
7a1d7ba7
JL
97422013-05-24 Juri Linkov <juri@jurta.org>
9743
9744 * progmodes/grep.el (grep-mode-font-lock-keywords):
9745 Support =linenumber= format used by git-grep for lines with
9746 function names. (Bug#13549)
9747
650cff3d
SM
97482013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9751 0 after a semi-colon; it works better for smie-auto-fill.
9752 (octave--indent-new-comment-line): New function.
9753 (octave-indent-new-comment-line): Use it (indirectly).
9754 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9755 modify comment-line-break-function.
9756
9757 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9758 (smie-setup): Use add-function to set it.
9759
9631677d
SS
97602013-05-24 Sam Steingold <sds@gnu.org>
9761
9762 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9763 argument (before the `interactive' argument).
9764
50105835
SM
97652013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * image-mode.el (image-mode-winprops): Add winprops to
9768 image-mode-winprops-alist before running
9769 image-mode-new-window-functions.
9770 * doc-view.el (doc-view-new-window-function): Don't delay
9771 doc-view-goto-page via timers (bug#14435).
9772
57b9823e
TH
97732013-05-24 Tassilo Horn <tsdh@gnu.org>
9774
9775 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9776 (doc-view-desktop-save-buffer): New function.
9777 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9778 (desktop-buffer-mode-handlers):
9779 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9780 handler.
9781 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9782 `desktop-save-buffer' function.
9783
91aafa16
MA
97842013-05-24 Michael Albinus <michael.albinus@gmx.de>
9785
9786 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9787 (tramp-gvfs-file-name-handler): Raise a user error when
9788 `tramp-gvfs-enabled' is nil.
9789 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9790 Do not raise a user error when loading package. (Bug#14447)
9791
ec076379
MA
9792 * net/xesam.el: Move to obsolete/.
9793
db785726
GM
97942013-05-24 Glenn Morris <rgm@gnu.org>
9795
af5c7606
GM
9796 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9797
e5d1916a
GM
9798 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9799
ded62b08
GM
9800 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9801 (Info-find-node, Man-getpage-in-background): Declare.
9802
9e614a3f
GM
9803 * mail/unrmail.el (unrmail):
9804 Replace obsolete detect-coding-with-priority.
9805
892f8ca3
GM
9806 * net/socks.el (socks-split-string): Use this rather than split-string.
9807 (socks-nslookup-host): Update for above change.
9808 (dynamic-choice, s5-dynamic-choice-match)
9809 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9810 Comment out unused code.
9811
3c291973
GM
9812 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9813 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9814 (gud-tooltip-echo-area): Make obsolete.
9815 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9816
43cc956b
GM
9817 * progmodes/js.el (js--optimize-arglist): Declare.
9818
dab49a3b
GM
9819 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9820
36b9d085
GM
9821 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9822 (ediff-window-C): Declare.
9823
e354ae76
GM
9824 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9825 Tweak requires to silence compiler.
9826
b8e57bf4
GM
9827 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9828 (he-search-string, he-tried-table, he-expand-list)
9829 (he-init-string, he-string-member, he-substitute-string)
9830 (he-reset-string): Declare.
9831
db785726
GM
9832 * obsolete/options.el (list-options): Use custom-variable-p,
9833 rather than obsolete alias.
9834
b3531901
SS
98352013-05-23 Sam Steingold <sds@gnu.org>
9836
9837 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9838 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9839 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9840
bdda4c66
SM
98412013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * emacs-lisp/smie.el (smie-indent-forward-token)
9844 (smie-indent-backward-token): Handle string tokens (bug#14381).
9845
c43d45f9
TH
98462013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9847
fe1eb856
RS
9848 * ielm.el (ielm-menu): New menu.
9849 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9850
fe1eb856
RS
98512013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9852
a12bf61e 9853 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
9854 Fix deactivate action.
9855
a12bf61e 9856 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 9857 Add cleveref macros.
074dd971 9858
a12bf61e 9859 * textmodes/reftex-parse.el
c43d45f9
TH
9860 (reftex-locate-bibliography-files): Accept options for
9861 bibliography commands.
a12bf61e 9862 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
9863 Add addbibresource. Basic Biblatex support.
9864
7764286e
MA
98652013-05-23 Michael Albinus <michael.albinus@gmx.de>
9866
9867 * net/tramp-gvfs.el (top):
9868 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9869 when loading package. (Bug#14447)
9870
d361bc10
GM
98712013-05-23 Glenn Morris <rgm@gnu.org>
9872
8fa23984
GM
9873 * progmodes/js.el: No need to load comint when compiling.
9874 (ring-insert, comint-send-string, comint-send-input)
9875 (comint-last-input-end, ido-chop): Declare.
9876
a5c7df1a
GM
9877 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9878 * vc/ediff-mult.el: Adjust requires.
9879 (ediff-directories-internal, ediff-directory-revisions-internal)
9880 (ediff-patch-file-internal): Declare.
9881 * vc/ediff-ptch.el: Adjust requires.
9882 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9883 (ediff-find-file): Autoload.
9884 * vc/ediff-util.el: No need to load ediff when compiling.
9885 (ediff-regions-internal): Declare.
9886 * vc/ediff-wind.el: Adjust requires.
9887 (ediff-compute-toolbar-width): Define when compiling.
9888 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9889 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9890 (dired-get-filename, dired-get-marked-files)
9891 (ediff-last-dir-patch, ediff-patch-default-directory)
9892 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9893 (ediff-patch-buffer-internal): Declare.
9894
e2aec513
GM
9895 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9896 (ispell-process, ispell-buffer-local-words, lm-summary)
9897 (lm-section-start, lm-section-end): Declare.
9898 (checkdoc-ispell-init): Simplify.
9899
e68bbd7c
GM
9900 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9901 (he-string-member, he-reset-string, he-substitute-string): Declare.
9902
7efe0991
GM
9903 * eshell/em-ls.el: Adjust requires.
9904 (eshell-glob-regexp): Declare.
f87b1284
GM
9905 * eshell/em-tramp.el: Adjust requires.
9906 (eshell-parse-command): Autoload.
9907 * eshell/em-xtra.el: Adjust requires.
9908 (eshell-parse-command): Autoload.
9909 * eshell/esh-ext.el: Adjust requires.
9910 (eshell-parse-command, eshell-close-handles): Autoload.
9911 * eshell/esh-io.el: Adjust requires.
9912 (eshell-output-filter): Autoload.
9913 * eshell/esh-util.el: No need to load tramp when compiling.
9914 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9915 Declare.
9916 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9917 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9918 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9919 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9920 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9921 * eshell/esh-opt.el, eshell/esh-proc.el:
9922 * eshell/esh-var.el: Adjust requires.
9923 * eshell/eshell.el: Do not require esh-util twice.
9924 (eshell-add-input-to-history): Declare.
9925 (eshell-command): Check history module is active before using it.
9926
d361bc10
GM
9927 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9928
85d090a9
LL
99292013-05-22 Leo Liu <sdl.web@gmail.com>
9930
9931 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9932
5d0acd9d
MA
99332013-05-22 Michael Albinus <michael.albinus@gmx.de>
9934
9935 * autorevert.el (auto-revert-notify-add-watch)
9936 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9937 it indicates changes in file modification time.
9938
0cdffd7d
GM
99392013-05-22 Glenn Morris <rgm@gnu.org>
9940
ca5995ec
GM
9941 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9942 Always delete the autoloaded function from the noruntime and
9943 unresolved functions lists.
9944
6450907e
GM
9945 * allout.el: No need to load epa, epg, overlay when compiling.
9946 (epg-context-set-passphrase-callback, epg-list-keys)
9947 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9948 (epg-key-user-id-list): Declare.
9949
9c6906f6
GM
9950 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9951 (viper-set-parsing-style-toggling-macro)
9952 (viper-set-emacs-state-searchstyle-macros):
9953 Use called-interactively-p on Emacs.
9954 (viper-looking-back): Make it an obsolete alias. Update callers.
9955 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9956 Use looking-back rather than viper-looking-back.
9957 (viper-tmp-insert-at-eob, viper-enlarge-region)
9958 (viper-read-string-with-history, viper-register-to-point)
9959 (viper-append-to-register, viper-change-state-to-vi)
9960 (viper-backward-char-carefully, viper-forward-char-carefully)
9961 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9962 (viper-change-state-to-emacs): Declare.
9963 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9964 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9965 * emulation/viper-mous.el: Do not load viper-cmd.
9966 (viper-backward-char-carefully, viper-forward-char-carefully)
9967 (viper-forward-word, viper-adjust-window): Declare.
9968
5f70c169
GM
9969 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9970
b1b7f300
GM
9971 * progmodes/idlw-help.el (idlwave-help-fontify):
9972 Use called-interactively-p.
9973
f6ebbb46
GM
9974 * term/w32console.el (w32-get-console-codepage)
9975 (w32-get-console-output-codepage): Declare.
9976
0cdffd7d
GM
9977 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9978 Remove unnecessary declarations.
9979 (dframe-message): Doc fix.
9980
9981 * info.el (dframe-select-attached-frame, dframe-current-frame):
9982 Declare.
9983
9984 * speedbar.el (speedbar-message): Make it an obsolete alias.
9985 Update all callers.
9986 (speedbar-with-attached-buffer)
9987 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9988 (speedbar-with-writable): Use backquote.
9989 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9990 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9991 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9992 rather than speedbar- aliases.
9993 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9994 (speedbar-make-specialized-keymap, speedbar-insert-button)
9995 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9996 (speedbar-do-function-pointer): Declare.
9997 (rmail-speedbar-button, rmail-speedbar-find-file)
9998 (rmail-speedbar-move-message):
9999 Use dframe-with-attached-buffer rather than speedbar- alias.
10000 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10001 (dframe-message, speedbar-make-specialized-keymap)
10002 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10003 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10004 (speedbar-insert-button, dframe-select-attached-frame)
10005 (dframe-maybee-jump-to-attached-frame)
10006 (speedbar-change-initial-expansion-list)
10007 (speedbar-previously-used-expansion-list-name): Declare.
10008 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10009 Use dframe-message, dframe-with-attached-buffer rather than
10010 speedbar- aliases.
10011 (gud-sentinel): Silence compiler.
10012 * progmodes/vhdl-mode.el (speedbar-refresh)
10013 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10014 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10015 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10016 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10017 (speedbar-file-lists, speedbar-make-tag-line)
10018 (speedbar-line-directory, speedbar-goto-this-file)
10019 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10020 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10021 (speedbar-make-button, speedbar-reset-scanners)
10022 (speedbar-files-item-info, speedbar-line-text)
10023 (speedbar-find-file-in-frame, speedbar-set-timer)
10024 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10025 (speedbar-with-writable): Do not (re)define it.
10026 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10027 rather than speedbar- alias.
10028
ee44b62a
LL
100292013-05-21 Leo Liu <sdl.web@gmail.com>
10030
10031 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10032 menu items.
10033 (octave-mode): Tweak fill-nobreak-predicate.
10034 (inferior-octave-startup): Check process to avoid infinite loop.
10035 (inferior-octave): Pop to buffer first to show abornmal process
10036 exit information.
10037
640f050f
GM
100382013-05-21 Glenn Morris <rgm@gnu.org>
10039
79458038
GM
10040 * printing.el (pr-menu-bar): Define when compiling.
10041
9cc3e83f
LL
100422013-05-21 Leo Liu <sdl.web@gmail.com>
10043
10044 * progmodes/octave.el (octave-auto-fill): Remove.
10045 (octave-indent-new-comment-line): Improve.
10046 (octave-mode): Use auto fill mode through
4f405069 10047 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10048 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10049 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10050 (octave-help): Show parent directory.
10051
f440830d
GM
100522013-05-21 Glenn Morris <rgm@gnu.org>
10053
10054 * files.el (dired-unmark):
10055 * progmodes/gud.el (gdb-input): Update declarations.
10056
10057 * calculator.el (electric, ehelp): No need to load when compiling.
10058 (Electric-command-loop, electric-describe-mode): Declare.
10059
10060 * doc-view.el (doc-view-current-converter-processes): Move before use.
10061
10062 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10063 Move MODE-set-explicitly definition before use.
10064
10065 * international/mule-diag.el (mule-diag):
10066 Don't use obsolete window-system-version.
10067
10068 * mail/feedmail.el (smtpmail): No need to load when compiling.
10069 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10070
10071 * mail/mail-utils.el (rfc822): No need to load when compiling.
10072 (rfc822-addresses): Autoload it.
10073 (mail-strip-quoted-names): Trivial simplification.
10074
10075 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10076 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10077
10078 * net/snmp-mode.el (tempo): Don't duplicate requires.
10079
10080 * progmodes/prolog.el (info): No need to load when compiling.
10081 (comint): Require before shell requires it.
10082 (Info-goto-node): Autoload it.
10083 (Info-follow-nearest-node): Declare.
10084 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10085
10086 * textmodes/artist.el (picture-mode-exit): Declare.
10087
10088 * textmodes/reftex-parse.el (reftex-parse-from-file):
10089 Trivial rewrite so the compiler can parse it better.
10090
b4da2cbb
LL
100912013-05-20 Leo Liu <sdl.web@gmail.com>
10092
10093 * progmodes/octave.el (octave-help-mode-map)
10094 (octave-help-mode-finish-hook): New variables.
10095 (octave-help-mode, octave-help-mode-finish): New functions.
10096 (octave-help): Use octave-help-mode.
10097
33c0f65b
GM
100982013-05-20 Glenn Morris <rgm@gnu.org>
10099
10100 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10101
1a0a0a8a
DG
101022013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10103
10104 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10105 start at point, so that expansion starting right after opening
10106 slash in a regexp is recognized.
10107 (ruby-syntax-before-regexp-re): New defvar, extracted from
10108 ruby-syntax-propertize-function. Since the value of this regexp
10109 is looked up at runtime now, we should be able to turn
10110 `ruby-syntax-methods-before-regexp' into a defcustom later.
10111 (ruby-syntax-propertize-function): Split regexp matching into two
10112 parts, for opening and closing slashes. That allows us to skip
10113 over string interpolations and support multiline regexps.
10114 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10115 for them, which calls `ruby-syntax-propertize-expansion'.
10116 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10117 call to `ruby-syntax-propertize-function'.
10118 (ruby-syntax-propertize-expansion): Extracted from
10119 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10120 (ruby-syntax-propertize-percent-literal): Leave point right after
10121 the percent symbol, so that the expression expansion rule can
10122 propertize the contents.
462388b6
DG
10123 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10124 heredoc openers.
10125 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10126
c1a6c0a4
JL
101272013-05-18 Juri Linkov <juri@jurta.org>
10128
10129 * man.el (Man-default-man-entry): Remove `-' from the end
10130 of the default value. (Bug#14400)
10131
8051fccd
GM
101322013-05-18 Glenn Morris <rgm@gnu.org>
10133
10134 * comint.el (comint-password-prompt-regexp):
10135 Allow "password for XXX" where XXX contains colons (eg https://...).
10136
5e80b74f
LL
101372013-05-18 Leo Liu <sdl.web@gmail.com>
10138
10139 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10140 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10141 (octave-source-directories): Don't check process.
10142 (octave-source-directories, octave-find-definition): Doc fix.
10143
521a54c5
GM
101442013-05-18 Glenn Morris <rgm@gnu.org>
10145
86a94b05
GM
10146 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10147 Remove backspace/delete bindings. (Bug#14392)
10148
521a54c5
GM
10149 * cus-dep.el (custom-make-dependencies): Sort the output.
10150 (custom-versions-load-alist): Convert comment to doc.
10151
42caeb89
LL
101522013-05-17 Leo Liu <sdl.web@gmail.com>
10153
10154 * newcomment.el (comment-search-backward): Stricter in finding
10155 comment start. (Bug#14303)
10156
10157 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10158 (octave-comment-start-skip): Properly anchored.
10159
e219dd97
LL
101602013-05-17 Leo Liu <sdl.web@gmail.com>
10161
fe1eb856
RS
10162 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10163 Clean up when turned off. (Bug#14395)
e219dd97
LL
10164 (smie--highlight-matching-block-overlay): No longer buffer-local.
10165 (smie-highlight-matching-block): Adjust.
10166
dc5dcb4b
PE
101672013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10168
10169 Doc string fix for "nanoseconds" (Bug#14406).
10170 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10171 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10172
1db165f0
JB
101732013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10174
10175 * calc/calc-units.el (math-extract-units): Preserve powers
10176 of units.
10177
c7a8fcac
LL
101782013-05-17 Leo Liu <sdl.web@gmail.com>
10179
10180 * subr.el (delete-consecutive-dups): New function.
10181 * ido.el (ido-set-matches-1): Use it.
10182 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10183 * ido.el (ido-remove-consecutive-dups): Remove.
10184
f678b18a
SM
101852013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10188 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10189 regexp-opt's `words'.
10190
ebfe68e8
LL
101912013-05-16 Leo Liu <sdl.web@gmail.com>
10192
10193 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10194 (smie--highlight-matching-block-overlay)
10195 (smie--highlight-matching-block-lastpos)
10196 (smie--highlight-matching-block-timer): New variables.
10197 (smie-highlight-matching-block): New function.
10198 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10199 (smie-setup): Conditionally enable smie-blink-matching-open.
10200
bc8bc17d
WS
102012013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10202
10203 Sync with upstream verilog-mode r840.
10204 * progmodes/verilog-mode.el (verilog-mode-version)
10205 (verilog-mode-release-date): Update.
10206 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10207 (verilog-sig-tieoff): Fix string error on
10208 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10209 (verilog-read-decls): Fix parameters confusing
10210 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10211
df065a0b
EZ
102122013-05-16 Eli Zaretskii <eliz@gnu.org>
10213
10214 * subr.el (reveal-filename): New function.
10215
10216 * loadup.el: Compute Emacs executable versions on MS-Windows,
10217 where executables have the .exe extension. Add a hard link
10218 emacs-XX.YY.ZZ.exe on MS-Windows.
10219
10220 * Makefile.in (XARGS_LIMIT): New variable.
10221 (custom-deps, finder-data, autoloads)
10222 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10223 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10224 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10225 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10226
2d4bf34b
LL
102272013-05-16 Leo Liu <sdl.web@gmail.com>
10228
10229 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10230 (octave-mode-menu, octave-mode-map): Remove its uses.
10231
6b9c2d85
RZ
102322013-05-16 Reto Zimmermann <reto@gnu.org>
10233
10234 Sync with upstream vhdl mode v3.34.2.
10235 * progmodes/vhdl-mode.el: Use `push' throughout.
10236 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10237 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10238 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10239 (vhdl-actual-generic-name): New option to derive actual generic name.
10240 (vhdl-port-paste-signals): Replace formal by actual generics.
10241 (vhdl-beautify): New name for old group vhdl-align. Update users.
10242 (vhdl-beautify-options): New option.
10243 (vhdl-last-input-event): New compat alias. Use throughout.
10244 (vhdl-goto-line): Replace user level function `goto-line'.
10245 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10246 vhdl-fix-statement-buffer.
10247 (vhdl-create-mode-menu): Add some entries.
10248 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10249 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10250 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10251 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10252 to force statements on one line.
10253 (vhdl-remove-trailing-spaces-region):
10254 New, split from vhdl-remove-trailing-spaces.
10255 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10256 Respect vhdl-beautify-options.
10257 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10258 (vhdl-update-sensitivity-list): Not add with index if exists without.
10259 Not include array index with signal. Ignore keywords in comments.
10260 (vhdl-get-visible-signals): Regexp tweaks.
10261 (vhdl-template-component-inst): Handle empty library.
10262 (vhdl-template-type): Add template for 'enum' type.
10263 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10264 Use vhdl-replace-string.
10265 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10266 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10267 (vhdl-speedbar-initialize): Update for above name change.
10268 (vhdl-compose-wire-components): Fix in handling of constants.
10269 (vhdl-error-regexp-emacs-alist): New variable.
10270 (vhdl-error-regexp-add-emacs): New function;
10271 adds support for new compile.el (Emacs 22+)
10272 (vhdl-generate-makefile-1): Change target order for single lib. units.
10273 Allow use of absolute file names.
10274
9df4ec5e
LL
102752013-05-16 Leo Liu <sdl.web@gmail.com>
10276
10277 * simple.el (prog-indent-sexp): Indent enclosing defun.
10278
f5ba00a6
GM
102792013-05-15 Glenn Morris <rgm@gnu.org>
10280
ed8be7ff
GM
10281 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10282 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10283 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10284 (whitespace-highlight): Move to whitespace group.
10285
10286 * comint.el (comint-source):
10287 * pcmpl-linux.el (pcmpl-linux):
10288 * shell.el (shell-faces):
10289 * eshell/esh-opt.el (eshell-opt):
10290 * international/ccl.el (ccl): Remove empty custom groups.
10291
10292 * completion.el (dynamic-completion-mode):
10293 * jit-lock.el (jit-lock-debug-mode):
10294 * minibuffer.el (completion-in-region-mode):
10295 * type-break.el (type-break-mode-line-message-mode)
10296 (type-break-query-mode):
10297 * emulation/tpu-edt.el (tpu-edt-mode):
10298 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10299 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10300 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10301
10302 * term/xterm.el (xterm): Change parent group to terminals.
10303
10304 * master.el (master): Remove empty custom group.
10305 (master-mode): Remove unused :group argument.
10306 * textmodes/refill.el (refill): Remove empty custom group.
10307 (refill-mode): Remove unused :group argument.
10308
10309 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10310
82a7c41b
GM
10311 * cus-dep.el: Provide a feature.
10312 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10313 Don't mistakenly ignore files whose basenames match a basename
10314 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10315 Add a fallback method for getting :group.
f5ba00a6 10316
6d65486d
JL
103172013-05-15 Juri Linkov <juri@jurta.org>
10318
da547b32
JL
10319 * isearch.el (isearch-char-by-name): Rename from
10320 `isearch-insert-char-by-name'. Doc fix.
10321 (isearch-forward): Mention `isearch-char-by-name' in
10322 the docstring. (Bug#13348)
10323
6d65486d
JL
10324 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10325 `exit-minibuffer' instead of
10326 `isearch-nonincremental-exit-minibuffer'.
10327 (isearch-edit-string): Remove mention of
10328 `isearch-nonincremental-exit-minibuffer' from docstring.
10329 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10330 (isearch-forward-exit-minibuffer)
10331 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10332
c9990474
SM
103332013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10334
6e911150
SM
10335 * loadup.el: Just use unversioned DOC.
10336
c9990474
SM
10337 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10338 literals as extending to EOB.
10339 (nxml-last-fontify-end): Remove unused variable.
10340 (nxml-after-change1): Use with-silent-modifications.
10341 (nxml-extend-after-change-region): Simplify.
10342 (nxml-extend-after-change-region1): Remove function.
10343 (nxml-after-change1): Don't adjust for dependent regions.
10344 (nxml-fontify-matcher): Simplify.
10345 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10346 (xmltok-add-dependent): Remove function.
10347 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10348 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10349 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10350 unclosed <[[, <?, comment, and other literals as extending to EOB.
10351 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10352 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10353 Remove functions.
10354 (rng-do-some-validation-1): Don't mark dependent regions.
10355 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10356 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10357 (nxml-clear-dependent-regions): Remove functions.
10358 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10359 (nxml-ensure-scan-up-to-date):
10360 Don't clear&mark dependent regions.
10361
e3772e98
LL
103622013-05-15 Leo Liu <sdl.web@gmail.com>
10363
c9990474
SM
10364 * progmodes/octave.el (octave-goto-function-definition):
10365 Improve and fix callers.
e3772e98 10366
5ac2eb34
SM
103672013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10368
c46c57b0
SM
10369 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10370 the setter (bug#14387).
10371
5ac2eb34
SM
10372 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10373 surrounding group (bug#14402).
10374
180ed218
JL
103752013-05-14 Juri Linkov <juri@jurta.org>
10376
10377 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10378 (Bug#14390)
10379
0ac0fecb
GM
103802013-05-14 Glenn Morris <rgm@gnu.org>
10381
10382 * progmodes/f90.el (f90-imenu-generic-expression):
10383 Fix typo in 2013-05-08 change. (Bug#14402)
10384
2e78e6a7
JPG
103852013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10386
5ac2eb34
SM
10387 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10388 Remove signals for which replies are never received.
2e78e6a7 10389
53267cca
JPG
103902013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10391
10392 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10393 (gdb-handler-alist, gdb-handler-number): Remove variables.
10394 (gdb-handler-list): New variable.
10395 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10396 (gdb-pending-handler-p, gdb-handle-reply)
10397 (gdb-remove-all-pending-triggers): New functions.
10398 (gdb-discard-unordered-replies): New defcustom.
10399 (gdb-handler): New defstruct.
10400 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10401 instead of gdb-pending-triggers. Update docstring.
10402 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10403 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10404 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10405 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10406 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10407 (gdb-frame-handler): Pending triggers are now automatically managed.
10408 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10409 Remove argument.
10410 (gdb-input): Automatically handles pending triggers. Update docstring.
10411 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10412 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10413 Update comments.
10414 (gdb-done-or-error): Now use gdb-handle-reply.
10415
d04ce803
JPG
104162013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10417
10418 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10419 gdb-debug-log.
10420
0114073a
GM
104212013-05-14 Glenn Morris <rgm@gnu.org>
10422
10423 * subr.el (user-emacs-directory-warning): New option.
10424 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10425
4d25fd7e
LL
104262013-05-14 Leo Liu <sdl.web@gmail.com>
10427
10428 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10429 during redisplay.
10430 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10431 (octave-font-lock-texinfo-comment): Fix invalid search bound
10432 error: wrong side of point.
4d25fd7e 10433
27c8b6eb
GM
104342013-05-14 Glenn Morris <rgm@gnu.org>
10435
61aaeb01
GM
10436 * progmodes/flymake.el (flymake-xml-program): New option.
10437 (flymake-xml-init): Use it.
10438
5bf90bc5
GM
10439 * term/xterm.el: Provide a feature.
10440
10441 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10442
f4c7dfd2
GM
104432013-05-13 Glenn Morris <rgm@gnu.org>
10444
10445 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10446 Add compat aliases as a hack workaround. (Bug#14384)
10447
2aeb3a1d
LL
104482013-05-13 Leo Liu <sdl.web@gmail.com>
10449
b0e069c2
LL
10450 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10451 ###, and %!.
f5a9432f
LL
10452 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10453 C-M-q.
b0e069c2
LL
10454 (octave-comment-start-skip): Include %!.
10455 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10456
30ea8374
LL
104572013-05-12 Leo Liu <sdl.web@gmail.com>
10458
10459 * progmodes/octave.el (inferior-octave-startup): Store the value
10460 of __octave_srcdir__ for octave-source-directories.
10461 (inferior-octave-check-process): New function refactored out of
10462 inferior-octave-send-list-and-digest.
10463 (octave-source-directories)
10464 (octave-find-definition-filename-function): New variables.
10465 (octave-source-directories)
10466 (octave-find-definition-default-filename): New functions.
10467 (octave-find-definition): Improve to find functions implemented in C++.
10468
472a3834
GM
104692013-05-12 Glenn Morris <rgm@gnu.org>
10470
10471 * calendar/diary-lib.el (diary-outlook-format-1):
10472 Don't include dayname in the output. (Bug#14349)
10473
3191b52f
GM
104742013-05-11 Glenn Morris <rgm@gnu.org>
10475
0060ac73
GM
10476 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10477
3191b52f
GM
10478 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10479 Treat cc-provide like provide.
10480
e065ba74
KR
104812013-05-11 Kevin Ryde <user42@zip.com.au>
10482
10483 * cus-dep.el (custom-make-dependencies):
10484 Use generated-autoload-load-name for the sake of files such
10485 such cedet/semantic/bovine/c.el, where the base file name
10486 is not in load-path. (Bug#5277)
10487
36f84c37
GM
104882013-05-11 Glenn Morris <rgm@gnu.org>
10489
10490 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10491 Provide features.
10492
c8730c3a
LL
104932013-05-11 Leo Liu <sdl.web@gmail.com>
10494
10495 * progmodes/octave.el (octave-indent-comment): Improve.
10496 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10497 (octave-eldoc-function-signatures, octave-eldoc-function):
10498 New functions.
c8730c3a
LL
10499 (octave-mode, inferior-octave-mode): Add eldoc support.
10500
212e29f2
RS
105012013-05-11 Richard Stallman <rms@gnu.org>
10502
10503 * epa.el (epa-decrypt-file): Take output file name as argument
10504 and read it using `interactive'.
10505
083fe0d7
LL
105062013-05-11 Leo Liu <sdl.web@gmail.com>
10507
10508 * progmodes/octave.el (octave-beginning-of-line)
10509 (octave-end-of-line): Check before using up-list because it jumps
10510 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10511 (octave-indent-comment): New function.
10512 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10513 (octave-begin-keywords, octave-end-keywords)
10514 (octave-reserved-words, octave-smie-bnf-table)
10515 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10516
8582e4c4
GM
105172013-05-11 Glenn Morris <rgm@gnu.org>
10518
f20def1f
GM
10519 * faces.el (internal-face-x-get-resource):
10520 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10521 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10522 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10523 Fix declarations.
f20def1f 10524
445f95e2
GM
10525 * calc/calc-menu.el: Make it loadable in isolation.
10526
10527 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10528 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10529 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10530 (eudc-bbdb-query-internal): Require 'bbdb.
10531
99fb2756
GM
10532 * lpr.el (lpr-headers-switches):
10533 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10534
10535 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10536
0da7ad96
GM
10537 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10538
8582e4c4
GM
10539 * term.el (term-set-escape-char): Make it idempotent.
10540
f71c50d0
LL
105412013-05-10 Leo Liu <sdl.web@gmail.com>
10542
5ac2eb34
SM
10543 * progmodes/octave.el (inferior-octave-completion-table):
10544 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10545 completion due to bug#11906.
10546 (octave-beginning-of-defun): Re-write to be more general.
10547
d5837773
GM
105482013-05-10 Glenn Morris <rgm@gnu.org>
10549
10550 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10551
027c0f75
SM
105522013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * comint.el (comint-redirect-send-command-to-process): Use :around
10555 rather than :override for comint-redirect-filter.
10556 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10557 Call it instead of comint-redirect-original-filter-function (which
10558 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10559
4465bfb4
JD
105602013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10561
10562 * frame.el (display-monitor-attributes-list): Add NS case.
10563 (ns-display-monitor-attributes-list): Declare.
10564
2d809ffa 105652013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10566
10567 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10568
e54eeb9b
GM
105692013-05-09 Glenn Morris <rgm@gnu.org>
10570
56cd351d
GM
10571 * international/fontset.el (vertical-centering-font-regexp):
10572 Set standard-value.
10573
d84b6108
GM
10574 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10575
a931698a
GM
10576 * bookmark.el (bookmark-search-delay):
10577 * cus-start.el (vertical-centering-font-regexp):
10578 * ps-mule.el (ps-mule-font-info-database-default):
10579 * ps-print.el (ps-default-fg, ps-default-bg):
10580 * type-break.el (type-break-good-break-interval):
10581 * whitespace.el (whitespace-indentation-regexp)
10582 (whitespace-space-after-tab-regexp):
10583 * emacs-lisp/testcover.el (testcover-1value-functions)
10584 (testcover-noreturn-functions, testcover-progn-functions)
10585 (testcover-prog1-functions):
10586 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10587 * eshell/em-glob.el (eshell-glob-translate-alist):
10588 * play/tetris.el (tetris-tty-colors):
10589 * progmodes/cpp.el (cpp-face-default-list):
10590 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10591 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10592 (idlwave-help-browser-generic-args):
10593 * progmodes/make-mode.el (makefile-special-targets-list):
10594 * progmodes/python.el (python-shell-virtualenv-path):
10595 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10596 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10597 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10598 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10599 * textmodes/reftex-vars.el (reftex-format-label-function):
10600 * textmodes/remember.el (remember-diary-file): Fix custom types.
10601
e54eeb9b
GM
10602 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10603 Add :version.
10604
455851dd
LL
106052013-05-09 Leo Liu <sdl.web@gmail.com>
10606
10607 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10608 Restore file completion. (Bug#14300)
455851dd
LL
10609 (inferior-octave-startup): Fix incorrect highlighting for the
10610 first prompt.
10611
a9e4425b
SM
106122013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * progmodes/ruby-mode.el: First cut at SMIE support.
10615 (ruby-use-smie): New var.
10616 (ruby-smie-grammar): New constant.
10617 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10618 (ruby-smie--forward-token, ruby-smie--backward-token)
10619 (ruby-smie-rules): New functions.
10620 (ruby-mode-variables): Setup SMIE if applicable.
10621
060ca408
EZ
106222013-05-08 Eli Zaretskii <eliz@gnu.org>
10623
10624 * simple.el (line-move-visual): Signal beginning/end of buffer
10625 only if vertical-motion moved less than it was requested. Avoids
10626 silly incorrect error messages when there are display strings with
10627 multiple newlines at EOL.
10628
1d5963cc
SM
106292013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10630
10631 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10632 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10633 (prolog-char-quote-workaround):
10634 * progmodes/cperl-mode.el (cperl-under-as-char):
10635 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10636 Mark as obsolete.
10637 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10638 their declaration.
10639 (vhdl-mode-syntax-table-init): Remove.
10640
c9990474
SM
10641 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10642 last change.
1d5963cc
SM
10643
10644 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10645 syntax for "_".
10646 (ld-script-font-lock-keywords):
10647 Change regexps to use things like \_< and \_>.
10648
10649 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10650 Change all regexps to use things like \_< and \_>.
10651
10652 * progmodes/autoconf.el (autoconf-definition-regexp)
10653 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10654 Handle a _ with symbol syntax.
10655 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10656
c9990474
SM
10657 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10658 Consolidate declaration.
1d5963cc
SM
10659 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10660 the declaration.
10661 (ada-create-syntax-table): Remove.
10662 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10663 already has the right syntax nowadays.
10664 (ada-goto-next-word): Don't change the syntax of "_".
10665
10666 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10667 with-wrapper-hook.
10668
72d3cfca
SS
106692013-05-08 Sam Steingold <sds@gnu.org>
10670
10671 * thingatpt.el (thing-at-point): Accept optional second argument
10672 NO-PROPERTIES to strip the text properties from the return value.
10673 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10674 to `thing-at-point' instead of stripping the properties ourselves.
10675 Also, when `thing-at-point' fails to find a url, prepend "http://"
10676 to the filename at point on the assumption that the user is
10677 pointing at something like gnu.org/gnu.
10678
5cb15713
JB
106792013-05-08 Juanma Barranquero <lekktu@gmail.com>
10680
10681 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10682 * faces.el (crm-separator):
10683 Silence byte-compiler.
10684
10685 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10686 (tool-bar-map): Remove unneeded defvars.
10687
ea78b95b
LL
106882013-05-08 Leo Liu <sdl.web@gmail.com>
10689
10690 Re-work a fix for bug#10994 based on Le Wang's patch.
10691 * ido.el (ido-remove-consecutive-dups): New helper.
10692 (ido-completing-read): Use it.
10693 (ido-chop): Revert fix for bug#10994.
10694
dc7466df
AS
106952013-05-08 Adam Spiers <emacs@adamspiers.org>
10696
10697 * cus-edit.el (custom-save-variables):
10698 Pretty-print long values. (Bug#14187)
10699
9ecf672a
GM
107002013-05-08 Glenn Morris <rgm@gnu.org>
10701
10702 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10703 (m4-mode-syntax-table): Init in the defvar.
10704 (m4-mode-abbrev-table): Let define-derived-mode define it.
10705
3f555be8
TT
107062013-05-08 Tom Tromey <tromey@redhat.com>
10707
10708 * progmodes/m4-mode.el (m4-mode-syntax-table):
10709 Do not treat "_" as word constituent. (Bug#14167)
10710
7cc8ae06
GM
107112013-05-07 Glenn Morris <rgm@gnu.org>
10712
4f58bc06
GM
10713 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10714 Remove explicit eshell-isearch-cancel-map.
10715
7cc8ae06
GM
10716 * progmodes/f90.el (f90-smart-end-names): New option.
10717 (f90-smart-end): Doc fix.
10718 (f90-end-block-optional-name): New constant.
10719 (f90-block-match): Respect f90-smart-end-names.
10720
ceb57e59
SM
107212013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10724 about implicit semi-colons (bug#14218).
10725
4e3f9230
YM
107262013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10727
10728 * frame.el (display-monitor-attributes-list)
10729 (frame-monitor-attributes): New functions.
10730
203a5572
LL
107312013-05-06 Leo Liu <sdl.web@gmail.com>
10732
10733 * progmodes/octave.el (octave-syntax-propertize-function): Change
10734 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10735 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10736 (octave-completion-at-point): Rename from
203a5572
LL
10737 octave-completion-at-point-function.
10738 (inferior-octave-directory-tracker): Robustify.
10739 (octave-text-functions): Remove and fix its uses. No such things
10740 any more.
10741
ee6cff99
SM
107422013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10743
10744 * emacs-lisp/trace.el (trace--display-buffer): New function.
10745 (trace-make-advice): Use it.
10746
32985194
JL
107472013-05-06 Juri Linkov <juri@jurta.org>
10748
10749 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10750 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10751 Doc fix.
10752 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10753 in the help string. (Bug#12985)
10754
a1c700de
KD
107552013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10756
10757 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10758
c67c0839
SM
107592013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10760
323885fd
SM
10761 * progmodes/perl-mode.el: Add support for here documents.
10762 (perl-syntax-propertize-function): Match here-doc markers.
10763 (perl-syntax-propertize-special-constructs): Find their end.
10764 (perl-imenu-generic-expression): Use [:alnum:].
10765
c67c0839
SM
10766 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10767 (advice--add-function): Refresh the advice if already present
10768 (bug#14317).
10769
d491e7a8
IA
107702013-05-06 Ivan Andrus <darthandrus@gmail.com>
10771
10772 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10773
ddf9925e
GM
107742013-05-06 Glenn Morris <rgm@gnu.org>
10775
7cc3af27
GM
10776 * w32-fns.el (w32-charset-info-alist): Declare.
10777
16e343d6
GM
10778 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10779 of its defcustom properties.
10780 (eshell-cmpl-initialize): No need to load pcomplete.
10781
7d889a47
GM
10782 * generic-x.el: No need to require comint when compiling.
10783
ddf9925e
GM
10784 * net/eudc-export.el: Make it loadable without bbdb.
10785 (top-level): Use require rather than load-library.
10786 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10787 (eudc-batch-export-records-to-bbdb)
10788 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10789 Require bbdb.
10790
1e2c18df
SM
107912013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10794 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10795 some tweaks, instead.
10796
02502a5f
LL
107972013-05-05 Leo Liu <sdl.web@gmail.com>
10798
10799 * progmodes/octave.el (octave-font-lock-keywords)
10800 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10801 (inferior-octave-send-list-and-digest): Improve error message.
10802 (octave-mode, inferior-octave-mode): Use setq-local.
10803 (octave-help): Set info-lookup-mode.
10804
0dc04f42
RS
108052013-05-05 Richard Stallman <rms@gnu.org>
10806
6c54491c
RS
10807 * vc/compare-w.el (compare-windows-whitespace):
10808 Treat no-break space as whitespace.
10809
0dc04f42
RS
10810 * mail/rmailsum.el (rmail-summary-rmail-update):
10811 Detect empty summary and don't change selected message.
10812 (rmail-summary-goto-msg): Likewise.
10813
df8f35df
RS
10814 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10815 Doc fixes, rename args.
10816
5356e1a3
AM
108172013-05-05 Alan Mackenzie <acm@muc.de>
10818
10819 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10820
d44014cb
JL
108212013-05-05 Juri Linkov <juri@jurta.org>
10822
10823 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10824 to not add the length of the summary segment to the return value.
10825 (Bug#14125)
10826
c129b51f
LL
108272013-05-05 Leo Liu <sdl.web@gmail.com>
10828
10829 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10830 (inferior-octave-output-filter): Remove.
10831 (octave-send-region, inferior-octave-startup): Fix callers.
10832 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10833 (octave-binary-file-extensions): New user variable.
10834 (octave-find-definition): Confirm if opening binary files.
10835 (octave-help-file): Use octave-find-definition to get the binary
10836 confirmation.
10837 (octave-help): Adjust for octave-help-file change.
10838
aa7dab97
SM
108392013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10840
10841 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10842 Merge the two entries that handle function definitions.
10843 (pascal--syntax-propertize): New const.
10844 (pascal-mode): Use it. Use setq-local.
10845
fd3a9a6b
GM
108462013-05-04 Glenn Morris <rgm@gnu.org>
10847
10848 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10849 (diary-from-outlook): Respect diary-from-outlook-function.
10850
30c7e542
SM
108512013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10854 Move the declaration from C.
10855 (read-minibuffer, eval-minibuffer): Move from C.
10856 (completion-setup-function): Avoid minibuffer-completion-contents.
10857
b54f978b
LL
108582013-05-03 Leo Liu <sdl.web@gmail.com>
10859
10860 * progmodes/octave.el (octave-font-lock-keywords): Do not
10861 dehighlight 'end' in comments or strings.
30c7e542
SM
10862 (octave-completing-read, octave-goto-function-definition):
10863 New helpers.
d4d0f9b3
LL
10864 (octave-help-buffer): New user variable.
10865 (octave-help-file, octave-help-function): New button types.
10866 (octave-help): New command and bind it to C-h ;.
10867 (octave-find-definition): New command and bind it to M-.
d74a1581 10868 (user-error): Alias to error if not defined.
b54f978b 10869
27135018
LL
108702013-05-02 Leo Liu <sdl.web@gmail.com>
10871
10872 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10873 for \. (bug#14332)
10874 (octave-font-lock-keywords): Include [ and {.
10875
0d634d3a
LL
108762013-05-02 Leo Liu <sdl.web@gmail.com>
10877
10878 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10879 (inferior-octave): Remove calling comint-mode and return the buffer.
10880 (inferior-octave-startup): Cosmetic changes.
10881
b4c8295e
LL
108822013-05-02 Leo Liu <sdl.web@gmail.com>
10883
30c7e542
SM
10884 * progmodes/octave.el (octave-syntax-propertize-function):
10885 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10886
f12ad6ec
GM
108872013-05-02 Glenn Morris <rgm@gnu.org>
10888
10889 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10890 * desktop.el (vc-dir-mode): Just autoload it here.
10891
30cac1e0
AM
108922013-05-02 Alan Mackenzie <acm@muc.de>
10893
10894 Eliminate variable c-standard-font-lock-fontify-region-function.
10895 * progmodes/cc-mode.el
10896 (c-standard-font-lock-fontify-region-function): Remove.
10897 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10898
d8ef28b1
LL
108992013-05-01 Leo Liu <sdl.web@gmail.com>
10900
2640d52e 10901 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10902 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10903 variables were removed from Octave in 2007.
d8ef28b1
LL
10904 (inferior-octave-startup): Fix uses.
10905 (comint-line-beginning-position): Remove compatibility code for
10906 emacs 21.
10907
ac63ec89
JL
109082013-05-01 Juri Linkov <juri@jurta.org>
10909
10910 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10911
9e9be37c
JL
109122013-05-01 Juri Linkov <juri@jurta.org>
10913
10914 * comint.el (comint-previous-matching-input): Don't print message
10915 "History item: %d" when `isearch-mode' is active.
10916 (comint-history-isearch-message): Print message "History item: %d"
10917 when `comint-input-ring-index' is not empty and this function is
10918 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10919
9b92c13b
LL
109202013-05-01 Leo Liu <sdl.web@gmail.com>
10921
10922 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10923 definitions. Use completion-at-point to insert keywords.
10924 (octave-abbrev-start): Remove.
10925 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10926
b12d33d7
LL
109272013-04-30 Leo Liu <sdl.web@gmail.com>
10928
10929 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10930 change.
10931
3d1c39fa
AM
109322013-04-30 Alan Mackenzie <acm@muc.de>
10933
10934 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10935 * progmodes/cc-engine.el (c-back-over-member-initializers):
10936 new function.
3d1c39fa
AM
10937 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10938 (most) member init lists.
10939
5147fc17
RS
109402013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10941
10942 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10943 variable.
10944
5b78d7fc
LL
109452013-04-30 Leo Liu <sdl.web@gmail.com>
10946
10947 * progmodes/octave.el (octave-variables): Remove. No builtin
10948 variables any more. All converted to functions.
10949 (octave-font-lock-keywords, octave-completion-at-point-function):
10950 Fix uses.
10951 (octave-font-lock-texinfo-comment): New user variable.
10952 (octave-texinfo-font-lock-keywords): New variable for texinfo
10953 comment block.
10954 (octave-function-comment-block): New face.
10955 (octave-font-lock-texinfo-comment): New function.
10956 (octave-mode): Font lock texinfo comment block.
10957
38d8527b
LL
109582013-04-29 Leo Liu <sdl.web@gmail.com>
10959
10960 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10961 indexing expression.
10962 (octave-continuation-string): Do not use \.
10963 (inferior-octave-complete-impossible): Remove.
10964 (inferior-octave-completion-table)
10965 (inferior-octave-completion-at-point): Remove its uses.
10966 (inferior-octave-startup): completion_matches was introduced to
10967 Octave in 1996 so safe to assume it.
10968 (octave-function-file-comment): Improve to follow how Octave does it.
10969 (octave-update-function-file-comment): Tweak.
10970
2ec12cb0
LL
109712013-04-29 Leo Liu <sdl.web@gmail.com>
10972
10973 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10974 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10975 (octave-function-file-comment): Fix typo.
10976 (octave-sync-function-file-names): Use read-char-choice.
10977
6eaed048
JB
109782013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10979
10980 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10981 to t for the less important warnings.
10982
3ffa2d4f
DH
109832013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10984
10985 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10986
685c9501
GM
109872013-04-27 Glenn Morris <rgm@gnu.org>
10988
10989 * vc/log-view.el (log-view-current-entry):
10990 Treat "---" separator lines as part of the following rev. (Bug#14169)
10991
0208ede7
JL
109922013-04-27 Juri Linkov <juri@jurta.org>
10993
10994 * subr.el (read-number): Doc fix about using it by interactive
10995 code letter `n'. (Bug#14254)
10996
5db9dace
JL
109972013-04-27 Juri Linkov <juri@jurta.org>
10998
10999 * desktop.el (desktop-auto-save-timeout): New option.
11000 (desktop-file-checksum): New variable.
11001 (desktop-save): Add optional arg `auto-save' and don't auto-save
11002 if nothing changed.
11003 (desktop-auto-save-timer): New variable.
11004 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11005 (after-init-hook): Call `desktop-auto-save-set-timer'.
11006 Suggested by Reuben Thomas <rrt@sc3d.org> in
11007 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11008
b7260dd4
LL
110092013-04-27 Leo Liu <sdl.web@gmail.com>
11010
11011 * progmodes/octave.el (octave-function-file-p)
11012 (octave-skip-comment-forward, octave-function-file-comment)
11013 (octave-update-function-file-comment): New functions.
11014 (octave-mode-map): Bind C-c ; to
11015 octave-update-function-file-comment.
11016 (octave-mode-menu): Add octave-update-function-file-comment.
11017 (octave-mode, inferior-octave-mode): Fix doc-string.
11018 (octave-insert-defun): Conform to Octave's coding convention.
11019 (Bug#14285)
11020
11021 * files.el (basic-save-buffer): Don't let errors in
11022 before-save-hook prevent saving buffer.
11023
c46da669
RW
110242013-04-20 Roland Winkler <winkler@gnu.org>
11025
11026 * faces.el (read-face-name): Use completing-read if arg multiple
11027 is nil.
11028
a81ee1eb
IL
110292013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11030
11031 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11032 displayed, move point to after the totals line.
11033 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11034 for the details.
11035
4fac34ce
SM
110362013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11039 Add current dir to the load-path.
11040 (package-generate-autoloads): Don't rely on
11041 autoload-ensure-default-file.
11042
f6bfc063
RT
110432013-04-26 Reuben Thomas <rrt@sc3d.org>
11044
d40ab5cf
BG
11045 * textmodes/remember.el (remember-store-in-files): Document that
11046 the file name format is passed to `format-time-string'.
f6bfc063 11047
e55d3b04
LL
110482013-04-26 Leo Liu <sdl.web@gmail.com>
11049
11050 * progmodes/octave.el (octave-sync-function-file-names): New function.
11051 (octave-mode): Use it in before-save-hook.
11052
e53052d3
SM
110532013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11054
140ef50c
SM
11055 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11056 (bug#14274).
11057
e53052d3
SM
11058 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11059 \n and comment, even if it's not an implicit ; (bug#14218).
11060
af80458d 110612013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11062
11063 * subr.el (read-number): Once more use `read' rather than
11064 `string-to-number', to trap non-numeric input. (Bug#14254)
11065
af80458d 110662013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11067
11068 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11069 Use `syntax-multiline' text property consistently instead of
8a621d53 11070 `font-lock-multiline'. (Bug#14237)
70203c2e 11071
e6ea1f6c
GM
110722013-04-26 Glenn Morris <rgm@gnu.org>
11073
11074 * emacs-lisp/shadow.el (list-load-path-shadows):
11075 No longer necessary to check for duplicate simple.el, since
11076 2012-07-07 change to init_lread to not include installation lisp
11077 directories in load-path when running uninstalled. (Bug#14270)
11078
070ccca4
LL
110792013-04-26 Leo Liu <sdl.web@gmail.com>
11080
11081 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11082 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11083 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11084 octave-in-string-or-comment-p.
11085 (octave-in-comment-p, octave-in-string-p)
11086 (octave-in-string-or-comment-p): Replace defsubst with defun.
11087
9d1c5fb6
PE
110882013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11089
11090 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11091
c034abda
BG
110922013-04-25 Bastien Guerry <bzg@gnu.org>
11093
11094 * textmodes/remember.el (remember-data-directory)
11095 (remember-directory-file-name-format): Fix custom types.
11096
584ea277
LL
110972013-04-25 Leo Liu <sdl.web@gmail.com>
11098
e53052d3
SM
11099 * progmodes/octave.el (octave-completion-at-point-function):
11100 Make use of inferior octave process.
584ea277
LL
11101 (octave-initialize-completions): Remove.
11102 (inferior-octave-completion-table): New function.
11103 (inferior-octave-completion-at-point): Use it.
11104 (octave-completion-alist): Remove.
11105
1693b06a
SM
111062013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11107
11108 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11109 (opascal-mode-syntax-table): New var.
11110 (opascal-literal-kind, opascal-is-literal-end)
11111 (opascal-literal-token-at): Rewrite.
11112 (opascal--literal-start-re, opascal-font-lock-keywords)
11113 (opascal--syntax-propertize): New constants.
11114 (opascal-font-lock-defaults): Adjust.
11115 (opascal-mode): Use them. Set comment-<foo> variables as well.
11116 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11117 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11118 (delphi-other-face, opascal-other-face): Remove face variables.
11119 (opascal-save-state): Remove macro.
11120 (opascal-fontifying-progress-step): Remove constant.
11121 (opascal--ignore-changes): Remove var.
11122 (opascal-set-token-property, opascal-parse-next-literal)
11123 (opascal-is-stable-literal, opascal-complete-literal)
11124 (opascal-is-literal-start, opascal-face-of)
11125 (opascal-parse-region, opascal-parse-region-until-stable)
11126 (opascal-fontify-region, opascal-after-change)
11127 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11128 (opascal-debug-parse-region, opascal-debug-parse-window)
11129 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11130 (opascal-debug-fontify-buffer): Remove.
11131 (opascal-debug-mode-map): Adjust accordingly.
11132
be64c05d
LL
111332013-04-25 Leo Liu <sdl.web@gmail.com>
11134
11135 Merge octave-mod.el and octave-inf.el into octave.el with some
11136 cleanups.
11137 * progmodes/octave.el: New file renamed from octave-mod.el.
11138 * progmodes/octave-inf.el: Merged into octave.el.
11139 * progmodes/octave-mod.el: Renamed to octave.el.
11140
d79d37bd
TH
111412013-04-25 Tassilo Horn <tsdh@gnu.org>
11142
11143 * textmodes/reftex-vars.el
11144 (reftex-label-ignored-macros-and-environments): New defcustom.
11145
11146 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11147
ced3fc5d
SM
111482013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11149
11150 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11151 (smie-indent-keyword): Improve the check to ensure that the next
11152 comment is really on the same line.
11153 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11154
11155 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11156 semi-colons if the line is not otherwise empty (bug#14218).
11157
1c141dad
GM
111582013-04-25 Glenn Morris <rgm@gnu.org>
11159
11160 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11161
5058062a
SM
111622013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * progmodes/opascal.el (opascal-set-token-property): Rename from
11165 opascal-set-text-properties and only set `token' (bug#14134).
11166 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11167 (opascal-literal-text-properties): Remove.
11168 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11169 Adjust callers.
11170
5db9dace 111712013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11172
11173 * textmodes/remember.el (remember-handler-functions): Add an
11174 option for a new handler `remember-store-in-files'.
11175 (remember-data-directory, remember-directory-file-name-format):
11176 New options.
11177 (remember-store-in-files): New function to store remember notes
11178 as separate files within a directory.
11179
4391916c
MH
111802013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11181
11182 * progmodes/compile.el (compilation-next-error-function):
11183 Pass "formats" to compilation-find-file (bug#11777).
11184
bb7cdf58
GM
111852013-04-24 Glenn Morris <rgm@gnu.org>
11186
3b8fe752 11187 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11188 * vc/vc-hg.el (vc-hg-print-log):
11189 * vc/vc-svn.el (vc-svn-print-log):
11190 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11191
bb7cdf58
GM
11192 * vc/vc-bzr.el (vc-bzr-print-log):
11193 * vc/vc-cvs.el (vc-cvs-print-log):
11194 * vc/vc-git.el (vc-git-print-log):
11195 * vc/vc-hg.el (vc-hg-print-log):
11196 * vc/vc-mtn.el (vc-mtn-print-log):
11197 * vc/vc-rcs.el (vc-rcs-print-log):
11198 * vc/vc-sccs.el (vc-sccs-print-log):
11199 * vc/vc-svn.el (vc-svn-print-log):
11200 * vc/vc.el (vc-print-log-internal): Doc fixes.
11201
b46a056e
GM
112022013-04-23 Glenn Morris <rgm@gnu.org>
11203
11204 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11205 Remove venerable code attempting to avoid substitute-command-keys.
11206
0aecf718
TH
112072013-04-23 Tassilo Horn <tsdh@gnu.org>
11208
4391916c
MH
11209 * textmodes/reftex-vars.el (reftex-label-regexps):
11210 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11211
117f94cf
SM
112122013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11213
4391916c 11214 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11215 Use lexical-binding.
11216 (jit-lock-force-redisplay): Use markers, check buffer's continued
11217 existence and beware narrowed buffers.
11218 (jit-lock-fontify-now): Adjust call accordingly.
11219
1d829c64
SM
112202013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11223 to avoid misleading the user.
11224
72d548a9
LL
112252013-04-22 Leo Liu <sdl.web@gmail.com>
11226
11227 * info-look.el: Prefer latex2e.info. (Bug#14240)
11228
d0853629
MA
112292013-04-22 Michael Albinus <michael.albinus@gmx.de>
11230
11231 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11232
11233 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11234 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11235 (tramp-set-completion-function, tramp-parse-putty):
11236 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11237 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11238 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11239 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11240 (tramp-call-local-coding-command): Use `tramp-call-process'
11241 instead of `tramp-compat-call-process'.
11242
11243 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11244 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11245 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11246 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11247 (tramp-maybe-send-script): Check for Perl binary.
11248 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11249
38cc0210
DU
112502013-04-22 Daiki Ueno <ueno@gnu.org>
11251
11252 * epg.el (epg-context-pinentry-mode): New function.
11253 (epg-context-set-pinentry-mode): New function.
11254 (epg--start): Pass --pinentry-mode option to gpg command.
11255
cc641ee1
XF
112562013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11257
02d844b5 11258 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11259 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11260 `completion-at-point'. (Bug#13774)
5d4e5c31 11261
cc641ee1
XF
11262 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11263 default key binding for `describe-distribution' has been moved to
11264 `C-h C-o'. (Bug#13970)
11265
1b42ee43
GM
112662013-04-21 Glenn Morris <rgm@gnu.org>
11267
11268 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11269 Add doc strings.
11270 (vc-print-log): Clarify interactive prompt.
11271
a6d63d97
GM
112722013-04-20 Glenn Morris <rgm@gnu.org>
11273
11274 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11275 No longer include timestamp etc information.
11276
d7f5c16f
RW
112772013-04-20 Roland Winkler <winkler@gnu.org>
11278
11279 * faces.el (read-face-name): Bug fix, return just one face if arg
11280 multiple is nil. (Bug#14209)
11281
bcd7a0a4
SM
112822013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11285 (remove-function): Autoload.
11286
11287 * comint.el (comint-redirect-original-filter-function): Remove.
11288 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11289 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11290 (vc-cvs-annotate-command):
bcd7a0a4
SM
11291 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11292 * progmodes/prolog.el (prolog-consult-compile):
11293 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11294 Use add/remove-function instead.
11295 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11296 (gud-tooltip-process-output, gud-tooltip-tips):
11297 Use add/remove-function instead.
11298 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11299 (scheme-interaction-mode, exit-scheme-interaction-mode):
11300 Use add/remove-function instead.
11301
11302 * vc/vc-dispatcher.el: Use lexical-binding.
11303 (vc--process-sentinel): Rename from vc-process-sentinel.
11304 Change last arg to be the code to run. Don't use vc-previous-sentinel
11305 and vc-sentinel-commands any more.
11306 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11307 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11308
e36b2d20 113092013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11310
bcd7a0a4 11311 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11312 Handle function names with a single character. (Bug#14111)
4d3268ba 11313
781b4af6 113142013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11315
11316 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11317 for subroutines defined in an eval (bug#14182).
11318
7d688336
TV
113192013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11320
11321 * bookmark.el (bookmark-completing-read): Improve handling of empty
11322 string (bug#14176).
11323
31dcede0
SM
113242013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11325
11326 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11327
adc31213
FEG
113282013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11329
11330 New faster Imenu implementation (bug#14058).
11331 * progmodes/python.el:
11332 (python-imenu-prev-index-position):
11333 (python-imenu-format-item-label-function)
11334 (python-imenu-format-parent-item-label-function)
11335 (python-imenu-format-parent-item-jump-label-function):
11336 New vars.
11337 (python-imenu-format-item-label)
11338 (python-imenu-format-parent-item-label)
11339 (python-imenu-format-parent-item-jump-label)
11340 (python-imenu--put-parent, python-imenu--build-tree)
11341 (python-imenu-create-index, python-imenu-create-flat-index)
11342 (python-util-popn): New functions.
11343 (python-mode): Set imenu-create-index-function to
11344 python-imenu-create-index.
11345
cdca8255
SM
113462013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11347
11348 * winner.el (winner-active-region): Use region-active-p, activate-mark
11349 and deactivate-mark (bug#14225).
11350
11351 * simple.el (deactivate-mark): Don't inline it.
11352
beb42340
MA
113532013-04-18 Michael Albinus <michael.albinus@gmx.de>
11354
11355 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11356
fc7f4d7e
TH
113572013-04-18 Tassilo Horn <tsdh@gnu.org>
11358
11359 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11360 file extensions from the archive-mode entry in order to prefer
11361 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11362
29f47822
LL
113632013-04-18 Leo Liu <sdl.web@gmail.com>
11364
11365 * bindings.el (help-event-list): Add ?\?.
11366
d36ed1c8
SM
113672013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * subr.el (with-wrapper-hook): Declare obsolete.
11370 * simple.el (filter-buffer-substring-function): New hook.
11371 (filter-buffer-substring): Use it.
11372 (filter-buffer-substring-functions): Mark obsolete.
11373 * minibuffer.el (completion-in-region-function): New hook.
11374 (completion-in-region): Use it.
11375 (completion-in-region-functions): Mark obsolete.
11376 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11377 * abbrev.el (abbrev-expand-function): New hook.
11378 (expand-abbrev): Use it.
11379 (abbrev-expand-functions): Mark obsolete.
11380 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11381 and :filter-return.
11382
04754d36
FEG
113832013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11384
11385 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11386 and do not care about match data.
11387
dd8791e9
SM
113882013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11389
11390 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11391 completion tables when completing error conditions and
11392 `declare' arguments.
11393 (lisp-complete-symbol, field-complete): Mark as obsolete.
11394 (check-parens): Unmatched parens are user errors.
11395 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11396
ffe54a13
AM
113972013-04-17 Michal Nazarewicz <mina86@mina86.com>
11398
dd8791e9
SM
11399 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11400 command changed buffer (ie. `flyspell-pre-buffer' is not current
11401 buffer), which prevents making decisions based on invalid value of
11402 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11403 cause an error when `flyspell-pre-point' was nil after switching
11404 buffers.
11405 (flyspell-post-command-hook): No longer needs to change buffers when
11406 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11407
ec7e39f2
AM
114082013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11409
11410 * textmodes/ispell.el (ispell-add-per-file-word-list):
11411 Fix `flyspell-correct-word-before-point' error when accepting
11412 words and `coment-padding' is an integer by using
11413 `comment-normalize-vars' (Bug #14214).
11414
083850a6
FEG
114152013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11416
11417 New defun movement commands.
11418 * progmodes/python.el (python-nav--syntactically)
11419 (python-nav--forward-defun, python-nav-backward-defun)
11420 (python-nav-forward-defun): New functions.
11421
619ed6e1
FEG
114222013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11423
11424 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11425 (python-syntax-context): Use named compiler-macro for backwards
11426 compatibility with Emacs 24.x.
11427
7a1beb6c
LL
114282013-04-17 Leo Liu <sdl.web@gmail.com>
11429
11430 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11431 octave-hide-process-buffer.
11432
2d3fa3e5
SM
114332013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11436 (bug#14216).
11437
7ce5be54
JPG
114382013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11439
11440 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11441 Fix adjustment of offset when receiving incomplete responses from GDB
11442 (bug#14129).
11443
351edece
SM
114442013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11445
11446 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11447 python-mode-abbrev-table.
11448 (python-skeleton-define): Adjust accordingly.
11449 (python-mode-abbrev-table): New table that inherits from it so that
11450 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11451
11452 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11453 (abbrev-symbol): Use it.
11454 (abbrev--before-point): Use it since we already handle inheritance.
11455
613f9481
LL
114562013-04-16 Leo Liu <sdl.web@gmail.com>
11457
11458 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11459 binding to info-lookup-symbol.
11460
51646b62
JB
114612013-04-16 Juanma Barranquero <lekktu@gmail.com>
11462
11463 * minibuffer.el (completion--twq-all):
11464 * term/ns-win.el (ns-initialize-window-system):
11465 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11466
efb3f01d
SM
114672013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11468
36c0a301
SM
11469 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11470 global bindings.
11471
efb3f01d
SM
11472 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11473
fb549d64
DG
114742013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11475
11476 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11477 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11478 to nil.
11479 (ruby-end-of-defun): Remove the unused arg, change the docstring
11480 to reflect that this function is only used as the value of
11481 `end-of-defun-function'.
11482 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11483 to reflect an earlier change that beginning/end-of-defun functions
11484 jump between methods in a class definition, as well as top-level
11485 functions.
11486
21e8fe2f
SM
114872013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * minibuffer.el (minibuffer-complete): Don't just scroll
11490 a *Completions* that's been iconified.
11491 (minibuffer-force-complete): Make sure repetitions do cycle when going
11492 through completion-in-region -> minibuffer-complete.
11493
20e527d0
AM
114942013-04-15 Alan Mackenzie <acm@muc.de>
11495
11496 Correct the placement of c-cpp-delimiters when there're #s not at
11497 col 0.
11498
11499 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11500 place a submatch around the #.
21e8fe2f
SM
11501 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11502 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11503 on the #, not BOL.
11504
dabefae5
SM
115052013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11506
11507 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11508 (advice--member-p): New arg `name'.
11509 (advice--add-function, advice-member-p): Use it (bug#14202).
11510
85c9ab64
AM
115112013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11512
11513 Reformulate java imenu-generic-expression.
11514 The old expression contained ill formed regexps.
11515
11516 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11517 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11518 (cc-imenu-java-method-arg-regexp): New defconsts.
11519 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11520 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11521 handling of spaces in the regexp.
11522
0f821d99
AM
115232013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11524
11525 * textmodes/ispell.el (ispell-command-loop): Remove
11526 flyspell highlight of a word when ispell accepts it (bug #14178).
11527
eb922adf
MA
115282013-04-15 Michael Albinus <michael.albinus@gmx.de>
11529
11530 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11531 uses code from the previous `ange-ftp-run-real-handler'.
11532 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11533 only in case that function exist. This is needed for proper
11534 unloading of Tramp.
11535
4d9a0979
TH
115362013-04-15 Tassilo Horn <tsdh@gnu.org>
11537
11538 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11539
11540 * textmodes/reftex.el (reftex-compile-variables): Use it.
11541
a829b0dc
SM
115422013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11543
91e8293c
SM
11544 * files.el (normal-mode): Only use default major-mode if no other mode
11545 was specified.
11546
830aed4d
SM
11547 * emacs-lisp/trace.el (trace-values): New function.
11548
a829b0dc
SM
11549 * files.el: Allow : in local variables (bug#14089).
11550 (hack-local-variable-regexp): New var.
11551 (hack-local-variables-prop-line, hack-local-variables): Use it.
11552
7ae9f0fb
RW
115532013-04-13 Roland Winkler <winkler@gnu.org>
11554
11555 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11556 data before it gets modified by bibtex-beginning-of-entry.
11557
6646e848
RW
115582013-04-13 Roland Winkler <winkler@gnu.org>
11559
11560 * textmodes/bibtex.el (bibtex-url): Doc fix.
11561
115622013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11563
11564 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11565 does not visit a BibTeX file, exclude it from the list of buffers
11566 returned by bibtex-initialize.
11567
0aa3616e
SB
115682013-04-13 Stephen Berman <stephen.berman@gmx.net>
11569
11570 * window.el (split-window): Remove interactive form, since as a
11571 command this function is a special case of split-window-below.
11572 Correct doc string.
11573
011cddd6
RW
115742013-04-12 Roland Winkler <winkler@gnu.org>
11575
11576 * faces.el (read-face-name): Do not override value of arg default.
11577 Allow single faces and strings as default values. Remove those
11578 elements from return value that are not faces.
11579 (describe-face): Simplify.
11580 (face-at-point): New optional args thing and multiple so that this
11581 function can provide the same functionality previously provided by
11582 read-face-name.
11583 (make-face-bold, make-face-unbold, make-face-italic)
11584 (make-face-unitalic, make-face-bold-italic, invert-face)
11585 (modify-face, read-face-and-attribute): Use face-at-point.
11586
11587 * cus-edit.el (customize-face, customize-face-other-window)
11588 * cus-theme.el (custom-theme-add-face)
11589 * face-remap.el (buffer-face-set)
11590 * facemenu.el (facemenu-set-face): Use face-at-point.
11591
f24e0036
MA
115922013-04-12 Michael Albinus <michael.albinus@gmx.de>
11593
11594 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11595
da3cda2d
TH
115962013-04-10 Tassilo Horn <tsdh@gnu.org>
11597
11598 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11599 off leading { and trailing } from field values.
11600
15e54145
SM
116012013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11602
78ce603d
SM
11603 * emacs-lisp/timer.el (timer--check): New function.
11604 (timer--time, timer-set-function, timer-event-handler): Use it.
11605 (timer-set-idle-time): Simplify.
11606 (timer--activate): CSE.
11607 (timer-event-handler): Give more info in error message.
11608 (internal-timer-start-idle): New function, moved from C.
11609
15e54145
SM
11610 * mpc.el (mpc-proc): Add `restart' argument.
11611 (mpc-proc-cmd): Use it.
11612 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11613 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11614 less often.
11615
7144c627
MY
116162013-04-10 Masatake YAMATO <yamato@redhat.com>
11617
11618 * progmodes/sh-script.el: Implement `sh-mode' own
11619 `add-log-current-defun-function' (bug#14112).
11620 (sh-current-defun-name): New function.
11621 (sh-mode): Use the function.
11622
b39792eb
BG
116232013-04-09 Bastien Guerry <bzg@gnu.org>
11624
11625 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11626
8acdeb71
SM
116272013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11628
6fcdab68
SM
11629 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11630
8acdeb71
SM
11631 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11632 timer (bug#14156).
11633
e3e7b504
NF
116342013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11635
11636 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11637 declaration.
11638
201bb296
LL
116392013-04-07 Leo Liu <sdl.web@gmail.com>
11640
11641 * pcmpl-x.el: New file.
11642
ebb19708
DA
116432013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11644
11645 Do not set x-display-name until X connection is established.
11646 This is needed to prevent from weird situation described at
11647 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11648 * frame.el (make-frame): Set x-display-name after call to
11649 window system initialization function, not before.
11650 * term/x-win.el (x-initialize-window-system): Add optional
11651 display argument and use it.
11652 * term/w32-win.el (w32-initialize-window-system):
11653 * term/ns-win.el (ns-initialize-window-system):
11654 * term/pc-win.el (msdos-initialize-window-system):
11655 Add compatible optional display argument.
11656
33bb237a
EZ
116572013-04-06 Eli Zaretskii <eliz@gnu.org>
11658
11659 * files.el (normal-backup-enable-predicate): On MS-Windows and
11660 MS-DOS compare truenames of temporary-file-directory and of the
11661 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11662 don't fail comparison by compare-strings. Also, compare file
11663 names case-insensitively on MS-Windows and MS-DOS.
11664
134abf1f
SM
116652013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11666
11667 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11668 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11669
d695cb94
DG
116702013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11671
e3e7b504
NF
11672 * whitespace.el (whitespace-color-on, whitespace-color-off):
11673 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11674
f4ad7ea1 116752013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11676
11677 * ispell.el (ispell-set-spellchecker-params):
11678 Really set `ispell-args' for all equivs.
11679
632556e4
SM
116802013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11681
11682 * ido.el (ido-completions): Use extra elements of ido-decorations
11683 (bug#14143).
11684 (ido-decorations): Update docstring.
11685
2a417372
MA
116862013-04-05 Michael Albinus <michael.albinus@gmx.de>
11687
11688 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11689 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11690 nil during initialization, in order not to miss changes since the
11691 file was opened. (Bug#14140)
11692
fc164b0c
LL
116932013-04-05 Leo Liu <sdl.web@gmail.com>
11694
11695 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11696
0ccecc08
JB
116972013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11698
11699 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11700
51af1aa2
GM
117012013-04-04 Glenn Morris <rgm@gnu.org>
11702
11703 * electric.el (electric-pair-inhibit-predicate): Add :version.
11704
b208ebc6
SM
117052013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11706
11707 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11708 when a package is required several times (bug#14082).
11709
f3d3eaf0
RW
117102013-04-04 Roland Winkler <winkler@gnu.org>
11711
11712 * faces.el (read-face-name): Behave as promised by the docstring.
11713 Assume that arg default is a list of faces.
11714 (describe-face): Call read-face-name with list of default faces.
11715
2575da50
TV
117162013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11717
11718 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11719 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11720 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11721 the header.
11722 (bookmark-exit-hook-internal): Save even if list is empty.
11723
397703b4
YH
117242013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11725
11726 * emacs-lisp/package.el (package-pinned-packages): New var.
11727 (package--add-to-archive-contents): Obey it (bug#14118).
11728
691e26ae
AM
117292013-04-03 Alan Mackenzie <acm@muc.de>
11730
8a621d53
JB
11731 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11732 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11733
11734 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11735 parameter `not-in-delimiter'. Handle being inside comment opener.
11736 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11737 character in case we're typing a '*' after a '/'.
11738 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11739 instead by passing the parameter to c-state-pp-to-literal.
11740
11741 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11742 for elt. 7 of a parse state.
11743
4b725a70
PE
117442013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11745
11746 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11747 * international/latin1-disp.el, international/mule-util.el:
11748 * language/cyril-util.el, language/european.el, language/ind-util.el:
11749 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11750 * language/tibetan.el, language/viet-util.el:
11751 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11752
15c579f0
SM
117532013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11756 (electric-pair-post-self-insert-function): Use it.
11757 (electric-pair-default-inhibit): New function, extracted from
11758 electric-pair-post-self-insert-function.
11759
a77e2924
RW
117602013-03-31 Roland Winkler <winkler@gnu.org>
11761
11762 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11763
2bd8a4a8
SM
117642013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11767
8d3655be 117682013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11769
11770 Un-indent after "pass" and "return" statements (Bug#13888)
11771 * progmodes/python.el (python-indent-block-enders): New var.
11772 (python-indent-calculate-indentation): Use it.
11773
8d3655be 117742013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11775
11776 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11777 defun. Defining it as defalias could introduce too eager
11778 byte-compiler optimization. (Bug#14030)
11779
8d3655be 117802013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11781
11782 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11783
0b1619da
LL
117842013-03-30 Leo Liu <sdl.web@gmail.com>
11785
11786 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11787 (kmacro-execute-from-register): Pass the keyboard macro to
11788 kmacro-call-macro or repeating won't work correctly.
11789
0b938190
TZ
117902013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11791
11792 * progmodes/subword.el: Back to using `forward-symbol'.
11793
11794 * subr.el (forward-whitespace, forward-symbol)
11795 (forward-same-syntax): Move from thingatpt.el.
11796
35710234
LL
117972013-03-29 Leo Liu <sdl.web@gmail.com>
11798
11799 * kmacro.el (kmacro-to-register): New command.
11800 (kmacro-execute-from-register): New function.
11801 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11802
efc0bb73
SM
118032013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11804
11805 * mpc.el: Use defvar-local and setq-local.
11806 (mpc--proc-connect): Connection failures are not bugs.
11807 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11808 (mpc-volume-map): Bind to the up-events.
11809
75a2f981
TZ
118102013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11811
11812 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11813 instead of `forward-symbol'.
11814
17c781d1
SM
118152013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11818 (edebug--recursive-edit): Use it.
11819 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11820 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11821
f67bfbcf
LL
118222013-03-28 Leo Liu <sdl.web@gmail.com>
11823
11824 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11825
b59f639d
EZ
118262013-03-27 Eli Zaretskii <eliz@gnu.org>
11827
11828 * facemenu.el (list-colors-callback): New defvar.
11829 (list-colors-redisplay): New function.
11830 (list-colors-display): Install list-colors-redisplay as the
11831 revert-buffer-function. (Bug#14063)
11832
f557c1b1
SM
118332013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11834
b1da2957
SM
11835 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11836 and suffixes don't overlap (bug#14061).
11837
f557c1b1
SM
11838 * case-table.el: Use lexical-binding.
11839 (case-table-get-table): New function.
11840 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11841
002668e1
TZ
118422013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11843
11844 * progmodes/subword.el: Add `superword-mode' to do word motion
11845 over symbol_words (parallels and leverages `subword-mode' which
11846 does word motion inside MixedCaseWords).
11847
73572c72
AG
118482013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11849
78b8f320 11850 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11851 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11852
69b2c07e
SM
118532013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11854
11855 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11856 Change return value to be a sexp. Delay `get-buffer' to after
11857 restoring the desktop (bug#13951).
11858
08bb5ee2
LL
118592013-03-26 Leo Liu <sdl.web@gmail.com>
11860
11861 * register.el: Move semantic tag handling back to
11862 cedet/semantic/senator.el. (Bug#14052)
11863
8d4c974e
SM
118642013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11865
11866 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11867 into the prompt either (bug#13963).
11868
b234d92c
SM
118692013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11870
11871 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11872 part of "(error-foo)".
11873
ddfa3cb4
JL
118742013-03-24 Juri Linkov <juri@jurta.org>
11875
11876 * replace.el (list-matching-lines-prefix-face): New defcustom.
11877 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11878 `occur-engine' if `face-differs-from-default-p' returns t.
11879 (occur-engine): Add `,' inside backquote construct to evaluate
11880 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11881 Pass `prefix-face' to the functions `occur-context-lines' and
11882 `occur-engine-add-prefix'.
11883 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11884 `prefix-face' and propertize the prefix with `prefix-face'.
11885 (Bug#14017)
11886
7b0e2f85
LL
118872013-03-24 Leo Liu <sdl.web@gmail.com>
11888
11889 * nxml/rng-valid.el (rng-validate-while-idle)
11890 (rng-validate-quick-while-idle): Guard against deleted buffer.
11891 (Bug#13999)
11892
11893 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11894 is the last entry in kill-buffer-hook.
11895
11896 * files.el (kill-buffer-hook): Doc fix.
11897
b3082f49
DG
118982013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11899
b234d92c
SM
11900 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11901 Make it safe-local.
bde73d27 11902
b3082f49
DG
11903 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11904
a320a2db
LL
119052013-03-23 Leo Liu <sdl.web@gmail.com>
11906
7e74b0fb
LL
11907 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11908 Remove.
11909
11910 * nxml/rng-valid.el (rng-validate-mode)
11911 (rng-after-change-function, rng-do-some-validation):
11912 * nxml/rng-maint.el (rng-validate-buffer):
11913 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11914 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11915 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11916 (nxml-extend-after-change-region): Use with-silent-modifications.
11917
a320a2db
LL
11918 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11919 timer-idle-list.
11920
11921 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11922 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11923 timer-idle-list. (Bug#13999)
11924
e38e6780
JL
119252013-03-23 Juri Linkov <juri@jurta.org>
11926
11927 * info.el (info-index-match): New face.
11928 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11929 main pattern and add text properties with the new face to matches
11930 in index entries relative to the beginning of the index entry.
11931 (Bug#14015)
11932
e8cc7880
DE
119332013-03-21 Eric Ludlam <zappo@gnu.org>
11934
11935 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11936 Inhibit read only while inserting objects.
11937
9bb0d822
TZ
119382013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11939
11940 * progmodes/cfengine.el: Update docs to mention
11941 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11942 symbol motion. Remove "_" from the word syntax.
11943
aa703640
TZ
119442013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11945
11946 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11947 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11948
afff09d0
JL
119492013-03-20 Juri Linkov <juri@jurta.org>
11950
11951 * info.el (Info-next-reference-or-link)
11952 (Info-prev-reference-or-link): New functions.
11953 (Info-next-reference, Info-prev-reference): Use them.
11954 (Info-try-follow-nearest-node): Handle footnote navigation.
11955 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11956
9a1ff164
SM
119572013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11958
11959 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11960 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11961
2667d15d
PE
119622013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11963
11964 Suppress unnecessary non-ASCII chatter during build process.
11965 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11966 (batch-skkdic-convert): Suppress most of the chatter.
11967 It's not needed so much now that machines are faster,
11968 and its non-ASCII component was confusing; see Dmitry Gutov in
11969 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11970
438b0579
LL
119712013-03-20 Leo Liu <sdl.web@gmail.com>
11972
11973 * ido.el (ido-chop): Fix bug#10994.
11974
c128ab07
DG
119752013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11976
11977 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11978 Remove vars.
9a1ff164
SM
11979 (whitespace-color-on, whitespace-color-off):
11980 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11981
0e6008c5
SM
119822013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11985 remapping in mode-line.
11986 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11987
627b52b0
DG
119882013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11989
11990 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11991 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11992 (whitespace-font-lock-keywords): Change description.
11993 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11994 the constructed keywords instead.
11995 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11996
50c3a20b
LL
119972013-03-19 Leo Liu <sdl.web@gmail.com>
11998
11999 * progmodes/compile.el (compilation-display-error): New command.
12000 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12001 C-o. (Bug#13992)
12002
2aa2157b
PE
120032013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12004
12005 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12006
e477dbfa
JD
120072013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12008
12009 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12010
64ab82d1
MA
120112013-03-18 Michael Albinus <michael.albinus@gmx.de>
12012
12013 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12014
12015 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12016 * net/tramp-gvfs.el (top):
12017 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12018 (tramp-handle-shell-command): Use it.
12019 (tramp-dissect-file-name): Raise an error when hostname is a
12020 method name, and neither method nor user is specified.
12021
12022 * net/trampver.el: Update release number.
12023
33cef733
LL
120242013-03-18 Leo Liu <sdl.web@gmail.com>
12025
12026 Make sure eldoc can be turned off properly.
12027 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12028 eldoc-mode.
12029 (eldoc-display-message-p): Revert last change.
12030 (eldoc-display-message-no-interference-p)
12031 (eldoc-print-current-symbol-info): Tweak.
12032
2167b7b2
TH
120332013-03-18 Tassilo Horn <tsdh@gnu.org>
12034
12035 * doc-view.el (doc-view-new-window-function): Check the new window
12036 overlay's display property instead the char property of the
12037 buffer's first char. Use `with-selected-window' instead of
12038 `save-window-excursion' with `select-window'.
12039 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12040 display property instead the char property of the buffer's first char.
2167b7b2 12041
982efbcd
PE
120422013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12043
12044 Automate the build of ja-dic.el (Bug#13984).
12045 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12046 from the input, rather than assume that it's been done for us by the
12047 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12048 the current date into a ja-dic.el comment, as that complicates
12049 regression testing.
12050
2fcc7665
SM
120512013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12052
12053 * whitespace.el: Fix double evaluation.
12054 (whitespace-space, whitespace-hspace, whitespace-tab)
12055 (whitespace-newline, whitespace-trailing, whitespace-line)
12056 (whitespace-space-before-tab, whitespace-indentation)
12057 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12058 obsolete defvars.
12059 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12060 (whitespace-color-on): Use a single font-lock-add-keywords call.
12061 Fix double-evaluation of face variables.
12062
67c0a6e6
MA
120632013-03-17 Michael Albinus <michael.albinus@gmx.de>
12064
2fcc7665
SM
12065 * net/tramp-adb.el (tramp-adb-parse-device-names):
12066 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12067 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12068
69489f1d
LL
120692013-03-17 Leo Liu <sdl.web@gmail.com>
12070
12071 Extend eldoc to display info in the mode-line. (Bug#13978)
12072 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12073 (eldoc-mode-line-string): New variable.
12074 (eldoc-minibuffer-message): New function.
12075 (eldoc-message-function): New variable.
12076 (eldoc-message): Use it.
12077 (eldoc-display-message-p)
2fcc7665
SM
12078 (eldoc-display-message-no-interference-p):
12079 Support eldoc-post-insert-mode.
69489f1d
LL
12080
12081 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12082 (eval-expression): Run it.
12083
9c44569e
RW
120842013-03-17 Roland Winkler <winkler@gnu.org>
12085
12086 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12087 strings in the list of return values.
12088
327f1f6f
JB
120892013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12090
12091 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12092 radix before checking for HMS forms.
12093
67ed8fcd
LL
120942013-03-16 Leo Liu <sdl.web@gmail.com>
12095
12096 * progmodes/scheme.el: Add indentation and font-locking for λ.
12097 (Bug#13975)
12098
78be8b64 120992013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12100
12101 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12102 token before point (bug#13942).
12103
78be8b64 121042013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12105
95b43468 12106 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12107
98e775e6
EZ
121082013-03-16 Eli Zaretskii <eliz@gnu.org>
12109
12110 * startup.el (command-line-normalize-file-name): Fix handling of
12111 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12112 <xfq.free@gmail.com> in
12113 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12114
2edd6029
MA
121152013-03-15 Michael Albinus <michael.albinus@gmx.de>
12116
12117 Sync with Tramp 2.2.7.
12118
12119 * net/trampver.el: Update release number.
12120
d35f5864
TH
121212013-03-14 Tassilo Horn <tsdh@gnu.org>
12122
e903c210 12123 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12124 (doc-view-insert-image): Don't modify overlay associated to
12125 non-live windows, and implement horizontal centering of image in
12126 case it's smaller than the window.
12127 (doc-view-new-window-function): Force redisplay of new windows on
12128 doc-view buffers.
d35f5864 12129
1c4a85ed
KF
121302013-03-13 Karl Fogel <kfogel@red-bean.com>
12131
12132 * saveplace.el (save-place-alist-to-file): Don't sort
12133 `save-place-alist', just pretty-print it (bug#13882).
12134
85b66a21
MA
121352013-03-13 Michael Albinus <michael.albinus@gmx.de>
12136
a020afb9
JB
12137 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12138 Check whether `default-file-name-coding-system' is bound.
12139 It isn't in XEmacs.
85b66a21 12140
175600da
SM
121412013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12142
e7f7cb1a
SM
12143 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12144 backquotes for `obsolete' (bug#13929).
12145
175600da
SM
12146 * international/mule.el (find-auto-coding): Include file name in
12147 obsolescence warning (bug#13922).
12148
ca68a22e
TZ
121492013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12150
12151 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12152 for CFEngine 3-specific indentation.
12153 (cfengine3-indent-line): Use it. Fix up category regex.
12154 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12155
940e5099
SM
121562013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12157
12158 * type-break.el (type-break-file-name):
12159 * textmodes/remember.el (remember-data-file):
12160 * strokes.el (strokes-file):
12161 * shadowfile.el (shadow-initialize):
12162 * saveplace.el (save-place-file):
12163 * ps-bdf.el (bdf-cache-file):
12164 * progmodes/idlwave.el (idlwave-config-directory):
12165 * net/quickurl.el (quickurl-url-file):
12166 * international/kkc.el (kkc-init-file-name):
12167 * ido.el (ido-save-directory-list-file):
12168 * emulation/viper.el (viper-custom-file-name):
12169 * emulation/vip.el (vip-startup-file):
12170 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12171 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12172
cc725808
PE
121732013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12174
12175 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12176 * language/thai-word.el: Switch to UTF-8.
12177
a020afb9 12178See ChangeLog.16 for earlier changes.
e3d51b27
MR
12179
12180;; Local Variables:
12181;; coding: utf-8
e3d51b27
MR
12182;; End:
12183
ba318903 12184 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12185
12186 This file is part of GNU Emacs.
12187
12188 GNU Emacs is free software: you can redistribute it and/or modify
12189 it under the terms of the GNU General Public License as published by
12190 the Free Software Foundation, either version 3 of the License, or
12191 (at your option) any later version.
12192
12193 GNU Emacs is distributed in the hope that it will be useful,
12194 but WITHOUT ANY WARRANTY; without even the implied warranty of
12195 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12196 GNU General Public License for more details.
12197
12198 You should have received a copy of the GNU General Public License
12199 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.