711ceedab8aaace69ab1aa17653a6c25e32e0fae
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2
3 In preparation for the move to git, sanitize out some
4 Bazaar-specific names.
5
6 * version.el (emacs-bzr-version): Name changed to
7 emacs-repository-version.
8 * loadup.el: Follow through on this name change.
9 * lisp/mail/emacsbug.el (report-emacs-bug): Factor out any
10 assumption about the version control system in use.
11
12 2014-01-08 David Engster <deng@randomsample.de>
13
14 * help-fns.el (help-fns-describe-function-functions): New
15 variable to call functions for augmenting help buffers.
16 (describe-function-1): Remove explicit calls to
17 `help-fns--compiler-macro', `help-fns--parent-mode' and
18 `help-fns--obsolete'. Put them in above new variable instead, and
19 call them through `run-hook-with-args'.
20 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
21 `eieio-describe-class'. Not meant for interactive use anymore,
22 but to augment existing help buffers. Remove optional second
23 argument. Create proper button for file location. Rewrite
24 function to use `insert' instead of `princ' and `prin1' where
25 possible.
26 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
27 (eieio-method-def, eieio-class-def): Move further up.
28 (describe-method, describe-generic, eieio-describe-method): Remove
29 aliases.
30 (eieio-help-constructor, eieio-help-generic): Rename from
31 `eieio-describe-constructor' and `eieio-describe-generic', resp.
32 Rewrite to use `insert' in the current buffer and use proper help
33 buttons.
34 (eieio-help-find-method-definition)
35 (eieio-help-find-class-definition): Also accept symbols as
36 arguments.
37 (eieio-help-mode-augmentation-maybee): Remove.
38 (eieio-describe-class-sb): Use `describe-function'.
39 * emacs-lisp/eieio.el (help-fns-describe-function-functions): Add
40 `eieio-help-generic' and `eieio-help-constructor'.
41
42 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
43
44 Spelling fixes.
45 * language/china-util.el (hz-ascii-designation):
46 Rename from hz-ascii-designnation.
47 (hz-ascii-designation): Rename from hz-ascii-designnation.
48 All uses changed.
49
50 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
53 package-alist.
54
55 2014-01-08 Bastien Guerry <bzg@gnu.org>
56
57 * emacs-lisp/package.el (package-delete):
58 Correctly delete the package from package-alist.
59
60 2014-01-08 Daiki Ueno <ueno@gnu.org>
61
62 * emacs-lisp/package.el (url-recreate-url): Declare.
63 (url-http-target-url): Declare.
64 (package-handle-response): Include requested URL in the error message.
65 (package--check-signature): Don't re-signal errors from
66 package--with-work-buffer. Suggested by Stefan Monnier.
67
68 2014-01-07 Bastien Guerry <bzg@gnu.org>
69
70 * minibuffer.el (completion--try-word-completion): When both a
71 hyphen and a space are possible candidates for the character
72 following a word, display both candidates. (Bug#15980)
73
74 2014-01-07 Martin Rudalics <rudalics@gmx.at>
75
76 * window.el (balance-windows-2): While rounding don't give a
77 window more than the remainder. Bug#16351, Bug#16383.
78
79 2014-01-07 Glenn Morris <rgm@gnu.org>
80
81 * menu-bar.el (menu-bar-help-extra-packages): Remove.
82 (menu-bar-help-menu): Use view-external-packages instead.
83
84 2014-01-07 Bastien Guerry <bzg@gnu.org>
85
86 * emacs-lisp/package.el (package-delete): Also delete the package
87 name from `package-alist', not its description only.
88
89 2014-01-07 Glenn Morris <rgm@gnu.org>
90
91 * help.el (view-external-packages):
92 * menu-bar.el (menu-bar-help-extra-packages):
93 Visit efaq.info rather than etc/MORE.STUFF.
94
95 2014-01-07 Juri Linkov <juri@jurta.org>
96
97 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
98 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
99
100 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
101 that shadows RET. (Bug#16342)
102
103 2014-01-07 Chong Yidong <cyd@gnu.org>
104
105 * isearch.el (isearch-yank-char, isearch-yank-word)
106 (isearch-yank-line): Doc fix.
107
108 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
111 * emacs-lisp/elint.el (elint-find-builtins):
112 * emacs-lisp/eldoc.el (eldoc-symbol-function):
113 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
114 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
115 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
116 * apropos.el (apropos-safe-documentation):
117 * subr.el (symbol-file): Remove redundant fboundp.
118 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
119
120 2014-01-06 Bastien Guerry <bzg@gnu.org>
121
122 * hl-line.el (global-hl-line-overlay): Make a local variable.
123 (global-hl-line-overlays): New variable to store all overlays.
124 (global-hl-line-mode): Don't delete overlays from the current
125 buffer when `global-hl-line-sticky-flag' is non-nil.
126 (global-hl-line-highlight): Add new overlays to
127 `global-hl-line-overlays'.
128 (global-hl-line-unhighlight-all): New function to delete all
129 overlays when turning off `global-hl-line-mode'.
130 This fixes Bug#16183.
131
132 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * subr.el (set-transient-map): Fix nested case and docstring.
135
136 2014-01-06 Tassilo Horn <tsdh@gnu.org>
137
138 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
139 `Texinfo' entry.
140
141 2014-01-06 Daniel Colascione <dancol@dancol.org>
142
143 Fix defun navigation in vc log view.
144
145 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
146 like `beginning-of-defun'.
147 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
148 log-view-end-of-defun to log-view-end-of-defun-1. Replace
149 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
150 (log-view-extract-comment): Call `log-view-current-entry' directly
151 instead of relying on broken `log-view-beginning-of-defun' behavior.
152
153 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
154
155 Spelling fixes.
156 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
157 * emacs-lisp/debug.el (cancel-debug-on-entry):
158 * epg.el (epg-error-to-string):
159 * files.el (recover-file):
160 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
161 * mail/emacsbug.el (report-emacs-bug-hook):
162 * mail/sendmail.el (mail-recover):
163 * ses.el (ses-yank-resize):
164 * term/ns-win.el (ns-print-buffer):
165 Spelling fixes in diagnostics, mostly for "canceled" with one L.
166 * epg.el (epg-key-capability-alist): Rename from misspelled version.
167 All uses changed.
168 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
169
170 2014-01-06 Leo Liu <sdl.web@gmail.com>
171
172 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
173 to avoid shadowning global key. (Bug#16354)
174
175 2014-01-06 Daniel Colascione <dancol@dancol.org>
176
177 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
178 rst-mode.
179
180 2014-01-05 Martin Rudalics <rudalics@gmx.at>
181
182 * window.el (balance-windows): Add mising t to fix Bug#16351.
183
184 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
185
186 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
187 (bug#16285).
188 (shr-insert): If we have a word that's longer than `shr-width',
189 break after it anyway. Otherwise we'll do no breaking once we get
190 such a long word.
191
192 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
193
194 * net/eww.el (eww): Support single/double quote for search.
195 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
196 (eww-history-quit): Delete and use quit-window.
197 (eww-history-kill): Delete, because it doesn't work well and
198 not necessary.
199 (eww-history-mode-map): Delete some keys and add easy-menu.
200
201 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
202
203 Fix misspelling of 'chinese' in rx (Bug#16237).
204 * emacs-lisp/rx.el (rx-categories): Correct spelling of
205 chinese-two-byte.
206
207 Change subword regexps back to vars (Bug#16296).
208 * progmodes/subword.el (subword-forward-regexp)
209 (subword-backward-regexp): Change these back to variables.
210
211 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
214 syntax-begin-function (bug#16247).
215
216 2014-01-03 Chong Yidong <cyd@gnu.org>
217
218 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
219 (advice--docstring): Delete variable.
220 (advice--make-1): Leave the docstring empty.
221 (advice-add): Use function-documentation for advised docstring.
222
223 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
224 Ignore function-documentation property when getting documentation.
225 (ad-activate-advised-definition): Use function-documentation
226 generate the docstring.
227 (ad-make-advised-definition): Don't call
228 ad-make-advised-definition-docstring.
229 (ad-make-advised-definition-docstring, ad-advised-definition-p):
230 Delete functions.
231
232 * progmodes/sql.el (sql-help): Use function-documentation instead
233 of dynamic-docstring-function property. No need to autoload now.
234 (sql--help-docstring): New variable.
235 (sql--make-help-docstring): Use it.
236
237 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
238
239 * ielm.el (ielm-tab): Retarget.
240 (ielm-map): Use ielm-tab for tab.
241 (ielm-complete-filename): Use comint-filename-completion.
242 (ielm-complete-symbol): Remove.
243 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
244 remove ielm-tab from completion-at-point-functions (bug#16224).
245
246 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
247 Beware signals raised by predicates (bug#16201).
248
249 2014-01-02 Richard Stallman <rms@gnu.org>
250
251 * dired-aux.el (dired-do-print): Handle printer-name.
252
253 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
254 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
255 (rmail-epa-decrypt): Turn off mime processing.
256
257 * mail/rmail.el (rmail-make-in-reply-to-field):
258 Add parens in message-id.
259
260 * mail/rmail.el (rmail-get-coding-function): Variable.
261 (rmail-get-coding-system): Use it.
262
263 2013-12-31 Eli Zaretskii <eliz@gnu.org>
264
265 * international/mule-conf.el: Unify the charset indian-is13194.
266 (indian-is13194): Specify unify-map.
267
268 2013-12-31 Leo Liu <sdl.web@gmail.com>
269
270 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
271
272 2013-12-30 Daniel Colascione <dancol@dancol.org>
273
274 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
275 of printing a useless when we resume from sleep.
276
277 * progmodes/sh-script.el
278 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
279 in indentation code. (Bug#16233)
280
281 2013-12-28 João Távora <joaotavora@gmail.com>
282
283 * elec-pair.el (electric-pair-post-self-insert-function):
284 Don't open extra newlines at beginning of buffer. (Bug#16272)
285
286 2013-12-28 Eli Zaretskii <eliz@gnu.org>
287
288 * frame.el (window-system-for-display): Don't allow to create a
289 GUI frame from a -nw session on MS-Windows. (Bug#14739)
290
291 2013-12-28 Glenn Morris <rgm@gnu.org>
292
293 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
294 Update callers.
295
296 * apropos.el (apropos-match-face):
297 * calculator.el (calculator-displayer):
298 * dabbrev.el (dabbrev-search-these-buffers-only):
299 * face-remap.el (buffer-face-mode-face):
300 * simple.el (yank-handled-properties):
301 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
302 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
303 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
304 (hashcash-double-spend-database):
305 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
306 (ruby-deep-indent-paren-style):
307 * textmodes/flyspell.el (flyspell-auto-correct-binding):
308 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
309 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
310 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
311 Specify custom types.
312
313 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
314 * bookmark.el (bookmark-bmenu-use-header-line):
315 * doc-view.el (doc-view-scale-internally):
316 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
317 * register.el (register-preview-delay):
318 * net/shr.el (shr-bullet):
319 * progmodes/cfengine.el (cfengine-cf-promises)
320 (cfengine-parameters-indent):
321 * progmodes/octave.el (inferior-octave-error-regexp-alist):
322 * textmodes/reftex-vars.el (reftex-label-regexps):
323 * vc/log-edit.el (log-edit-setup-add-author): Add version.
324
325 * net/tls.el (tls-certtool-program): Fix default value.
326
327 * desktop.el (desktop-restore-in-current-display):
328 * newcomment.el (comment-empty-lines):
329 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
330 (idlwave-pad-keyword):
331 * progmodes/tcl.el (tcl-tab-always-indent):
332 * textmodes/reftex-vars.el (reftex-index-default-tag):
333 * elec-pair.el (electric-pair-skip-whitespace):
334 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
335
336 * emacs-lisp/authors.el (authors-ignored-files)
337 (authors-valid-file-names, authors-renamed-files-alist): Additions.
338
339 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
340
341 * shell.el (shell-dynamic-complete-command): Doc fix.
342 (shell--command-completion-data): Shell completion now matches
343 executable filenames from the current buffer's directory, on
344 systems in which this behavior is the default (windows-nt, ms-dos).
345
346 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
347
348 * net/shr.el (shr-insert): Don't infloop if the width is zero.
349
350 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
353 (bug#16251).
354
355 * electric.el: Move all electric-pair-* to elec-pair.el.
356 * elec-pair.el: New file, split from electric.el.
357
358 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
359
360 * net/shr.el (shr-find-fill-point): Don't try to fill if the
361 indentation level is larger than the width, because that will
362 infloop.
363 (shr-insert): Fill repeatedly long texts, so that Japanese is
364 formatted correctly (bug#16263).
365 (shr-find-fill-point): Off by one error in comparison with the
366 indentation.
367
368 2013-12-26 João Távora <joaotavora@gmail.com>
369
370 * electric.el (electric-pair-mode): More flexible engine for skip-
371 and inhibit predicates, new options for pairing-related functionality.
372 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
373 if that keeps or improves their balance in buffers.
374 (electric-pair-delete-adjacent-pairs): Delete the pair when
375 backspacing over adjacent matched delimiters.
376 (electric-pair-open-extra-newline): Open extra newline when
377 inserting newlines between adjacent matched delimiters.
378 (electric--sort-post-self-insertion-hook):
379 Sort post-self-insert-hook according to priority values when
380 minor-modes are activated.
381 * simple.el (newline-and-indent): Call newline with interactive
382 set to t.
383 (blink-paren-post-self-insert-function): Set priority to 100.
384 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
385 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
386 comments. Locally set electric-pair-skip-whitespace to 'chomp and
387 electric-pair-open-newline-between-pairs to nil.
388
389 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
390
391 * progmodes/python.el: Use lexical-binding.
392 (python-nav-beginning-of-defun): Stop searching ASAP.
393
394 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
395
396 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
397 Fix interactive spec. Doc fix. (Bug#15754)
398
399 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
400
401 * emacs-lisp/byte-run.el (eval-when-compile):
402 * progmodes/cc-defs.el (cc-eval-when-compile):
403 Fix edebug spec (bug#16184).
404
405 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
406
407 * net/shr.el (shr-visit-file): Remove debugging function.
408 (shr-insert): Don't infloop if we can't find a good place to break
409 the line (bug#16256).
410
411 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
412
413 * progmodes/python.el:
414 (python-nav--lisp-forward-sexp): New function.
415 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
416 python-nav-lisp-forward-sexp-safe.
417 (python-nav--forward-sexp): New argument SAFE allows switching
418 forward sexp movement behavior for parens.
419 (python-nav-forward-sexp): Throw errors on unterminated parens
420 (Bug#16191).
421 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
422 (python-nav-backward-sexp-safe): New functions.
423 (python-shell-buffer-substring):
424 Use `python-nav-forward-sexp-safe'.
425
426 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
427
428 * net/shr.el (shr-find-fill-point): Don't break lines before a
429 quotation mark.
430 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
431 (shr-find-fill-point): Remove the special checks for the quotation
432 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
433
434 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
435
436 * net/eww.el (eww-form-textarea): Use a different face for
437 textareas than text input since they have different keymaps
438 (bug#16142).
439
440 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
441
442 * progmodes/python.el (python-nav-beginning-of-statement):
443 Speed up (Bug#15295).
444
445 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
446
447 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
448 the window configuration.
449
450 2013-12-24 Eli Zaretskii <eliz@gnu.org>
451
452 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
453 we run on MS-Windows or MS-DOS.
454
455 2013-12-24 Martin Rudalics <rudalics@gmx.at>
456
457 * window.el (balance-windows-area): Call window-size instead of
458 window-height and window-width. Bug#16241.
459
460 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
461
462 * net/eww.el (eww-bookmark-quit): Remove.
463 (eww-bookmark-browse): Restore the window configuration when you
464 choose a bookmark (bug#16144).
465
466 2013-12-24 Daniel Colascione <dancol@dancol.org>
467
468 * icomplete.el: Remove redundant :group arguments to `defcustom'
469 throughout.
470 (icomplete-show-matches-on-no-input): New customizable variable.
471 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
472 we have something to show.
473 (icomplete-exhibit): Compute completions even if we have no user input.
474
475 2013-12-23 Daniel Colascione <dancol@dancol.org>
476
477 * icomplete.el: Move `provide' to end of file.
478
479 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
480
481 * net/gnutls.el (gnutls-verify-error): Add version tag.
482
483 2013-12-23 Chong Yidong <cyd@gnu.org>
484
485 * subr.el (set-transient-map): Rename from
486 set-temporary-overlay-map. Doc fix.
487
488 * face-remap.el (text-scale-adjust):
489 * indent.el (indent-rigidly):
490 * kmacro.el (kmacro-call-macro):
491 * minibuffer.el (minibuffer-force-complete):
492 * repeat.el (repeat):
493 * simple.el (universal-argument--mode):
494 * calendar/todo-mode.el (todo-insert-item--next-param):
495 * progmodes/f90.el (f90-abbrev-start): Callers changed.
496
497 * indent.el (indent-rigidly): Use substitute-command-keys.
498
499 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
500
501 * net/eww.el (eww-tag-select): Add text-property to jump to next
502 select field.
503 (eww): Add non-supported ftp error.
504
505 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
506
507 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
508 comments. Handle electric indent after typing `?' and `!'.
509
510 2013-12-22 Chong Yidong <cyd@gnu.org>
511
512 * faces.el (face-spec-recalc): If the theme specs are not
513 applicable to a frame, fall back on the defface spec.
514 This prevents themes from obliterating faces on low-color terminals.
515
516 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
517
518 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
519 after `{'. We need it after block openers, and it doesn't seem
520 to hurt after hash openers.
521
522 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
523
524 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
525 extracted from `ruby-smie-rules'.
526 (ruby--electric-indent-chars): New variable.
527 (ruby--electric-indent-p): New function.
528 (ruby-mode): Use `electric-indent-functions' instead of
529 `electric-indent-chars'.
530
531 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
532
533 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
534 docstring.
535 (ruby-smie-rules): Indent plus one level after `=>'.
536
537 2013-12-21 Richard Stallman <rms@gnu.org>
538
539 * simple.el (newline): Doc fix.
540
541 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
542
543 * net/eww.el (eww-list-histories, eww-list-histories)
544 (eww-history-browse, eww-history-quit, eww-history-kill)
545 (eww-history-mode-map, eww-history-mode): New command and
546 functions to list browser histories.
547 (eww-form-text): Support text form with disabled
548 and readonly attributes.
549 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
550
551 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
552
553 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
554 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
555 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
556 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
557 Use `user-error'.
558 (eww-bookmark-mode-map): Add menu.
559 (eww-render, eww-mode): Use `setq-local'.
560 (eww-tool-bar-map): New variable.
561 (eww-mode): Set `tool-bar-map'.
562 (eww-view-source): Check for `html-mode' with `fboundp'.
563
564 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
565
566 * net/shr.el (shr--extract-best-source): Don't bug out on audio
567 elements with text inside. Also remove debugging.
568
569 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
570
571 * cus-start.el (all): Add ns-use-srgb-colorspace.
572
573 2013-12-21 Chong Yidong <cyd@gnu.org>
574
575 * custom.el (custom-theme-recalc-face): Do nothing if the face is
576 undefined. Thus, theme settings for undefined faces do not take
577 effect until the faces are defined with defface, the same as with
578 theme variables.
579
580 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
581 (face-spec-reset-face): Don't assign extra properties in temacs.
582 (face-spec-recalc): Apply X resources too.
583
584 2013-12-21 Chong Yidong <cyd@gnu.org>
585
586 * faces.el (face-spec-set):
587 * cus-face.el (custom-theme-set-faces, custom-set-faces):
588 * custom.el (defface): Doc fixes (Bug#16203).
589
590 * indent.el (indent-rigidly-map): Add docstring, and move commands
591 into named functions.
592 (indent-rigidly-left, indent-rigidly-right)
593 (indent-rigidly-left-to-tab-stop)
594 (indent-rigidly-right-to-tab-stop): New functions. Decide on
595 indentation direction based on bidi direction, and accumulate
596 sequential commands in a single undo boundary.
597 (indent-rigidly--pop-undo): New utility function.
598
599 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
600
601 * faces.el (read-face-name): Require crm.el when using crm-separator.
602
603 2013-12-20 Daniel Colascione <dancol@dancol.org>
604
605 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
606 so that we don't reflow comments into the shebang line.
607
608 2013-12-20 Juri Linkov <juri@jurta.org>
609
610 * saveplace.el (save-place-to-alist): Add `dired-filename' as
611 a position when `dired-directory' is non-nil. Check integer
612 positions with `integerp'.
613 (toggle-save-place, save-places-to-alist): Add check for
614 `dired-directory'.
615 (save-place-find-file-hook): Check integer positions with
616 `integerp'.
617 (save-place-dired-hook): Use `dired-goto-file' when
618 `dired-filename' is found in the assoc list. Check integer
619 positions with `integerp'.
620 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
621
622 * dired.el (dired-initial-position-hook): Rename back from
623 `dired-initial-point-hook'.
624 (dired-initial-position): Rename `dired-initial-point-hook' to
625 `dired-initial-position-hook'.
626 (dired-file-name-at-point): Doc fix. (Bug#15329)
627
628 2013-12-20 Juri Linkov <juri@jurta.org>
629
630 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
631 (read-regexp-suggestions): New function.
632 (read-regexp): Use `read-regexp-defaults-function' to get default values.
633 Use `read-regexp-suggestions'. Add non-empty default to history
634 for empty input.
635 (occur-read-regexp-defaults-function): Remove function.
636 (occur-read-primary-args): Use `regexp-history-last' instead of
637 `occur-read-regexp-defaults-function'.
638
639 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
640 (hi-lock-line-face-buffer, hi-lock-face-buffer)
641 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
642 `hi-lock-read-regexp-defaults-function'. Doc fix.
643 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
644 with `find-tag-default-as-symbol-regexp'. Doc fix.
645 (hi-lock-read-regexp-defaults): Remove function.
646 (hi-lock-regexp-okay): Add check for null.
647
648 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
649 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
650
651 * subr.el (find-tag-default-as-symbol-regexp): New function.
652 (find-tag-default-as-regexp): Move symbol regexp formatting to
653 `find-tag-default-as-symbol-regexp'.
654
655 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
656
657 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
658 (Bug#14179)
659
660 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
661
662 * calendar/todo-mode.el: New implementation of item insertion
663 commands and key bindings.
664 (todo-key-prompt): New face.
665 (todo-insert-item): New command.
666 (todo-insert-item--parameters): New defconst, replacing defvar
667 todo-insertion-commands-args-genlist.
668 (todo-insert-item--param-key-alist): New defconst, replacing
669 defvar todo-insertion-commands-arg-key-list.
670 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
671 (todo-insert-item--argsleft, todo-insert-item--apply-args)
672 (todo-insert-item--next-param): New functions.
673 (todo-insert-item--args, todo-insert-item--argleft)
674 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
675 New variables.
676 (todo-key-bindings-t): Change binding of "i" from
677 todo-insertion-map to todo-insert-item.
678 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
679 (todo-insertion-command-name, todo-insertion-commands-names)
680 (todo-define-insertion-command, todo-insertion-commands)
681 (todo-insertion-key-bindings, todo-insertion-map): Remove.
682
683 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
684
685 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
686 (todo-toggle-item-highlighting): Use eval-and-compile instead of
687 eval-when-compile.
688 (todo-move-category): Allow choosing a non-existing todo file to
689 move the category to, and create that file.
690 (todo-default-priority): New user option.
691 (todo-set-item-priority): Use it.
692 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
693 (desktop-restore-file-buffer): Declare.
694 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
695 (todo-modes-set-2): Locally set desktop-save-buffer to
696 todo-desktop-save-buffer.
697 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
698 (auto-mode-alist): Add autoload cookie.
699
700 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
701
702 * emacs-lisp/subr-x.el: Renamed from helpers.el.
703 helpers.el was a poor choice of name.
704 (string-remove-prefix): New function.
705 (string-remove-suffix): New function.
706
707 2013-12-20 Martin Rudalics <rudalics@gmx.at>
708
709 Fix assignment for new window total sizes.
710 * window.el (window--pixel-to-size): Remove function.
711 (window--pixel-to-total-1, window--pixel-to-total):
712 Fix calculation of new total sizes.
713
714 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
715
716 * comint.el (comint-output-filter): Fix rear-nonsticky property
717 placement (Bug#16010).
718
719 2013-12-20 Chong Yidong <cyd@gnu.org>
720
721 * faces.el (read-color): Minor fix for completion function.
722
723 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
724
725 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
726 New option. (Bug#16182)
727 (ruby-smie--indent-to-stmt-p): Use it.
728 (ruby-smie-rules): Revert the logic in the handling of `when'.
729 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
730 (ruby-deep-arglist, ruby-deep-indent-paren)
731 (ruby-deep-indent-paren-style): Update docstrings to note that the
732 vars don't have any effect with SMIE.
733
734 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
735
736 * calc/calc.el (calc-enter, calc-pop): Use the variable
737 `calc-context-sensitive-enter'.
738
739 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
740
741 * net/shr.el (shr-insert): Protect against infloops in degenerate
742 tables.
743
744 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
745
746 * progmodes/octave.el (octave): Add link to manual and octave
747 homepage.
748 (octave-mode-menu): Link to octave-mode manual.
749
750 2013-12-20 Leo Liu <sdl.web@gmail.com>
751
752 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
753 insertion using skeleton-end-newline. (Bug#16138)
754
755 2013-12-20 Juri Linkov <juri@jurta.org>
756
757 * replace.el (occur-engine): Use `add-face-text-property'
758 to add the face property to matches and titles. (Bug#14645)
759
760 * hi-lock.el (hi-green): Use lighter color "light green" closer to
761 the palette of other hi-lock colors.
762 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
763
764 2013-12-19 Juri Linkov <juri@jurta.org>
765
766 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
767 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
768 (minibuffer-history-symbol): Move variable declaration closer to
769 its usage.
770
771 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
772 (Bug#14785)
773
774 2013-12-19 Juri Linkov <juri@jurta.org>
775
776 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
777 New function.
778 (log-edit-hook): Add it to :options. (Bug#16170)
779
780 2013-12-19 Juri Linkov <juri@jurta.org>
781
782 * simple.el (eval-expression-print-format): Don't check for
783 command names and the last command. Always display additional
784 formats of the integer result in the echo area, and insert them
785 to the current buffer only with a zero prefix arg.
786 Display character when char-displayable-p is non-nil.
787 (eval-expression): With a zero prefix arg, set `print-length' and
788 `print-level' to nil, and insert the integer values from
789 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
790
791 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
792 `eval-last-sexp-arg-internal'. Doc fix.
793 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
794 `eval-last-sexp-print-value'. Doc fix.
795 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
796 Set `print-length' and `print-level' to nil when arg is zero.
797 (eval-last-sexp): Doc fix.
798 (eval-defun-2): Print the integer values from
799 `eval-expression-print-format' at the end.
800
801 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
802 values from `eval-expression-print-format' at the end.
803
804 * ielm.el (ielm-eval-input): Print the integer
805 values from `eval-expression-print-format' at the end.
806
807 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
808
809 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
810 2013-12-11T19:01:44Z!tzz@lifelogs.com.
811
812 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
813
814 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
815 (hl-line-highlight, global-hl-line-highlight): Use it.
816 (hl-line-overlay): Use defvar-local.
817
818 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
819
820 * term/ns-win.el: Require dnd.
821 (global-map): Remove drag items.
822 (ns-insert-text, ns-set-foreground-at-mouse)
823 (ns-set-background-at-mouse):
824 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
825 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
826 New functions.
827
828 2013-12-19 Glenn Morris <rgm@gnu.org>
829
830 * emacs-lisp/ert.el (ert-select-tests):
831 Fix string/symbol mixup. (Bug#16121)
832
833 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
834
835 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
836 keywords to their parent.
837
838 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
839
840 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
841 first arg to be a string (fixed dead code), or an operator symbol.
842 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
843 operator symbols.
844 (ruby-smie-rules): Remove parent token check in the `.' clause, it
845 did nothing. Don't respond to `(:after ".")', it will be called
846 with :before anyway. Remove the ` @ ' rule, it didn't seem to
847 change anything. Only return indentation for binary operators
848 when they are hanging. De-dent opening paren when its parent is
849 `.', otherwise it looks bad when the dot is not at bol or eol
850 (bug#16182).
851
852 2013-12-19 Juri Linkov <juri@jurta.org>
853
854 * replace.el (query-replace-read-args): Split a non-negative arg
855 and a negative arg into separate elements.
856 (query-replace, query-replace-regexp, replace-string)
857 (replace-regexp): Add arg `backward'. Doc fix.
858 (replace-match-maybe-edit): When new arg `backward' is non-nil,
859 move point to the beginning of the match.
860 (replace-search, replace-highlight): Use new arg `backward'
861 to set the value of `isearch-forward'.
862 (perform-replace): Add arg `backward' and use it to perform
863 replacement backward. (Bug#14979)
864
865 * isearch.el (isearch-query-replace): Use a negative prefix arg
866 to call `perform-replace' with a non-nil arg `backward'.
867
868 2013-12-18 Juri Linkov <juri@jurta.org>
869
870 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
871 to the default list. Move `log-edit-show-files' to the end.
872 Add more available functions to options.
873 (log-edit): Move default specific settings to
874 `log-edit-insert-message-template'. Don't move point.
875 (log-edit-insert-message-template): New function.
876 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
877 (Bug#16170)
878
879 2013-12-18 Juri Linkov <juri@jurta.org>
880
881 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
882 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
883
884 2013-12-18 Leo Liu <sdl.web@gmail.com>
885
886 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
887 (Bug#16186)
888
889 2013-12-18 Eli Zaretskii <eliz@gnu.org>
890
891 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
892 formats for displaying file sizes when the -s switch is given.
893 Instead, compute a separate format for displaying the size in
894 blocks, which is displayed in addition to the "regular" size.
895 When -h is given in addition to -s, produce size in blocks in
896 human-readable form as well. (Bug#16179)
897
898 2013-12-18 Tassilo Horn <tsdh@gnu.org>
899
900 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
901 Reference tables with ~\ref{...} instead of only \ref{...}.
902
903 2013-12-18 Chong Yidong <cyd@gnu.org>
904
905 * cus-edit.el (custom-magic-alist): Fix "themed" description
906 (Bug#14348).
907
908 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
909 is non-nil, do not create a new entry in the symbol's theme-value
910 or theme-face property; update theme-settings only (Bug#14664).
911 (custom-available-themes): Doc fix.
912
913 * cus-theme.el (custom-new-theme-mode-map): Add bindings
914 (Bug#15674).
915
916 * replace.el (occur-engine): Avoid infloop (Bug#7593).
917
918 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
919
920 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
921 (Bug#13914).
922
923 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
924
925 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
926
927 2013-12-18 Glenn Morris <rgm@gnu.org>
928
929 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
930 * cus-start.el (load-prefer-newer): New option.
931
932 2013-12-18 Le Wang <l26wang@gmail.com>
933
934 * comint.el (comint-previous-matching-input-from-input):
935 Retain point (Bug#13404).
936
937 2013-12-18 Chong Yidong <cyd@gnu.org>
938
939 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
940
941 2013-12-18 Glenn Morris <rgm@gnu.org>
942
943 * mail/emacsbug.el (report-emacs-bug):
944 Only mention enable-multibyte-characters if non-standard.
945
946 2013-12-17 Juri Linkov <juri@jurta.org>
947
948 * arc-mode.el (archive-extract-by-file): Check if directory exists
949 before deletion to not show irrelevant errors if it doesn't exist.
950
951 2013-12-17 Juri Linkov <juri@jurta.org>
952
953 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
954 (Bug#14751)
955
956 * net/eww.el (browse-web): Add alias to `eww'.
957 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
958 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
959
960 * net/browse-url.el (browse-url-browser-function): Move `eww'
961 closer to similar functions.
962
963 * startup.el (fancy-startup-screen, fancy-about-screen):
964 Set browse-url-browser-function to eww-browse-url locally.
965 (Bug#14751)
966
967 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * window.el (window--pixel-to-total): Remove unused `mini' var.
970 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
971 (split-window): Remove unused `new' var.
972 (window--display-buffer): Remove unused `frame' and `delta' vars.
973 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
974 and display-width'.
975
976 2013-12-17 Martin Rudalics <rudalics@gmx.at>
977
978 * dired.el (dired-mark-pop-up):
979 * register.el (register-preview): Don't bind
980 split-height-threshold here since it's now done in
981 display-buffer-below-selected.
982
983 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
984
985 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
986 xterm-rgb-convert-to-16bit.
987 (rxvt-register-default-colors): Standardize with
988 xterm-register-default-colors (Bug#14078).
989
990 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
991
992 * simple.el (kill-region): Pass mark first, then point, so that
993 kill-append works right (Bug#12819).
994 (copy-region-as-kill, kill-ring-save): Likewise.
995
996 2013-12-17 Leo Liu <sdl.web@gmail.com>
997
998 * net/rcirc.el (rcirc-add-face):
999 * eshell/em-prompt.el (eshell-emit-prompt):
1000 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1001 (Bug#16167)
1002
1003 2013-12-17 Chong Yidong <cyd@gnu.org>
1004
1005 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1006 Suggested by Xue Fuqiao.
1007
1008 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1009
1010 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1011
1012 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * net/shr.el (shr-insert-document): Remove unused var
1015 `shr-preliminary-table-render'.
1016 (shr-rescale-image): Remove unused arg `force'.
1017 (shr-put-image): Update calls accordingly.
1018 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1019
1020 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1021
1022 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1023 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1024 :close-all, to see which indentation method to use (Bug#16116).
1025 (smie-rules-function): Document the method :close-all.
1026
1027 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1028
1029 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1030
1031 * net/eww.el (eww-display-html): If we can't find the anchor we're
1032 looking for, then go to point-min.
1033
1034 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1035
1036 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1037 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1038 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1039 Expand dir too, in case it's relative.
1040
1041 2013-12-16 Juri Linkov <juri@jurta.org>
1042
1043 * desktop.el (desktop-auto-save-timeout): Change default to
1044 `auto-save-timeout'. Doc fix.
1045 (desktop-save): Skip the timestamp in desktop-saved-frameset
1046 when checking for auto-save changes.
1047 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1048 `desktop-auto-save' is called repeatedly by the idle timer.
1049 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1050 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1051 (Bug#15331)
1052
1053 2013-12-16 Juri Linkov <juri@jurta.org>
1054
1055 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1056 (Bug#16035)
1057 (isearch-pre-command-hook): Check `this-command' for symbolp.
1058
1059 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1062
1063 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1064
1065 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1066 (cfengine3--current-function): Bring in the current-function
1067 functionality from `cfengine3--current-word'.
1068 (cfengine3-completion-function): Bring in the
1069 bounds-of-current-word functionality from
1070 `cfengine3--current-word'.
1071
1072 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1073
1074 * window.el (display-buffer-below-selected):
1075 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1076
1077 2013-12-16 Leo Liu <sdl.web@gmail.com>
1078
1079 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1080 Remove NOMSG arg and all uses changed.
1081
1082 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1085 (cua--deactivate-rectangle): Don't deactivate the mark.
1086 (cua-set-rectangle-mark): Don't set mark-active since
1087 cua--activate-rectangle already does it for us.
1088 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1089 non-rectangular region.
1090
1091 * emulation/cua-base.el (cua-repeat-replace-region):
1092 Use with-current-buffer.
1093
1094 * net/gnutls.el: Use cl-lib.
1095 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1096
1097 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1098
1099 * emacs-lisp/package.el (package-built-in-p): Support both
1100 built-in and the package.el converted package descriptions.
1101 (package-show-package-list): Allow keywords.
1102 (package-keyword-button-action): Use it instead of
1103 `finder-list-matches'.
1104 (package-menu-filter-interactive): Interactive filtering (by
1105 keyword) function.
1106 (package-menu--generate): Support keywords and change keymappings
1107 and headers when they are given.
1108 (package--has-keyword-p): Helper function.
1109 (package-menu--refresh): Use it.
1110 (package--mapc): Helper function.
1111 (package-all-keywords): Use it.
1112 (package-menu-mode-map): Set up menu items and keybindings to
1113 provide a filtering UI.
1114
1115 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1116
1117 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1118 the behavior when a certificate fails validation. Defaults to
1119 old behavior: never abort, just warn.
1120 (gnutls-negotiate): Use it.
1121
1122 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1123
1124 * window.el (display-buffer-below-selected): Never split window
1125 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1126
1127 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1128
1129 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1130 (package-buffer-info): Use it (bug#15108).
1131
1132 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * icomplete.el (icomplete-completions): Make sure the prefix is already
1135 displayed elsewhere before hiding it (bug#16219).
1136
1137 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1138
1139 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1140 open-paren tokens when preceded by a open-paren, too.
1141 (ruby-smie-rules): Handle virtual indentation after open-paren
1142 tokens specially. If there is code between it and eol, return the
1143 column where is starts (Bug#16118).
1144
1145 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1146
1147 * progmodes/cfengine.el: Fix `add-hook' doc.
1148 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1149 (cfengine3--current-word): Fix parameters.
1150 (cfengine3-make-syntax-cache): Simplify further.
1151 (cfengine3-completion-function, cfengine3--current-function):
1152 Use `assq' for symbols.
1153 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1154
1155 2013-12-13 Glenn Morris <rgm@gnu.org>
1156
1157 * loadup.el (load-path): Warn if site-load or site-init changes it.
1158 No more need to reset it when bootstrapping.
1159
1160 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1161
1162 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1163 locations for cf-promises.
1164 (cfengine-mode-syntax-functions-regex): New caching variable.
1165 (cfengine3-fallback-syntax): Fallback syntax for cases where
1166 cf-promises doesn't run.
1167 (cfengine3--current-word): Reimplement using
1168 `cfengine-mode-syntax-functions-regex'.
1169 (cfengine3-completion-function, cfengine3--current-function):
1170 Use `cfengine3-make-syntax-cache' directly.
1171 (cfengine3-clear-syntax-cache): New function.
1172 (cfengine3-make-syntax-cache): Simplify and create
1173 `cfengine-mode-syntax-functions-regex' on demand.
1174 (cfengine3-format-function-docstring): Don't call
1175 `cfengine3-make-syntax-cache' explicitly.
1176
1177 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1178
1179 Fix windmove-find-other-window broken after pixelwise resizing
1180 (Bug#16017).
1181 * windmove.el (windmove-other-window-loc): Revert change from
1182 2013-12-04.
1183 (windmove-find-other-window): Call window-in-direction.
1184 * window.el (window-in-direction): New arguments SIGN, WRAP and
1185 MINI to emulate original windmove-find-other-window behavior.
1186
1187 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1188
1189 * simple.el (blink-matching--overlay): New variable.
1190 (blink-matching-open): Instead of moving point, highlight the
1191 matching paren with an overlay
1192 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1193
1194 * faces.el (paren-showing-faces, show-paren-match)
1195 (show-paren-mismatch): Move from paren.el.
1196
1197 2013-12-13 Leo Liu <sdl.web@gmail.com>
1198
1199 * indent.el (indent-region): Disable progress reporter in
1200 minibuffer. (Bug#16108)
1201
1202 * bindings.el (visual-order-cursor-movement): Fix version.
1203
1204 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1205
1206 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1207 Also match after beginning of line.
1208 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1209 files. Thanks to Russell Sim. (Bug#15378)
1210
1211 2013-12-13 Juri Linkov <juri@jurta.org>
1212
1213 * simple.el <Keypad support>: Remove key bindings duplicated
1214 with bindings.el. (Bug#14397)
1215
1216 2013-12-13 Juri Linkov <juri@jurta.org>
1217
1218 * comint.el (comint-mode-map): Replace `delete-char' with
1219 `delete-forward-char'. (Bug#16109)
1220
1221 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1222
1223 * progmodes/python.el (python-indent-calculate-indentation):
1224 Fix de-denters cornercase. (Bug#15731)
1225
1226 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1229 (advice--make): Pay attention to `depth'.
1230 (advice--make-1): Don't autoload commands eagerly.
1231 * emacs-lisp/elp.el (elp-instrument-function):
1232 * emacs-lisp/trace.el (trace-function-internal):
1233 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1234
1235 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1236
1237 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1238
1239 * term/w32-win.el (w32-handle-dropped-file):
1240 * startup.el (normal-top-level):
1241 * net/browse-url.el (browse-url-file-url):
1242 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1243 decode file names using 'utf-8' rather than
1244 file-name-coding-system.
1245
1246 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1247
1248 * progmodes/python.el (python-indent-context)
1249 (python-indent-calculate-indentation): Fix auto-identation
1250 behavior for comment blocks. (Bug#15916)
1251
1252 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1253
1254 * progmodes/python.el (python-indent-calculate-indentation):
1255 When determining indentation, don't treat "return", "pass", etc., as
1256 operators when they are just string constituents. (Bug#15812)
1257
1258 2013-12-12 Juri Linkov <juri@jurta.org>
1259
1260 * uniquify.el (uniquify-buffer-name-style): Change default to
1261 `post-forward-angle-brackets'.
1262
1263 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1264 `uniquify'. Change default to `post-forward-angle-brackets'.
1265
1266 2013-12-11 Glenn Morris <rgm@gnu.org>
1267
1268 * emacs-lisp/package.el (finder-list-matches):
1269 Autoload rather than falsely declaring.
1270
1271 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1272
1273 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1274 (eww-mode-map): Use them.
1275
1276 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1277
1278 * window.el (display-buffer-in-side-window): Fix doc-string
1279 (Bug#16115).
1280
1281 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1282
1283 * vc/vc-git.el: Silence byte-compiler warnings.
1284 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1285 (log-edit-set-header): Declare.
1286
1287 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1288
1289 * Makefile.in (custom-deps, finder-data): Run output file names
1290 through unmsys--file-name. (Bug#16099)
1291
1292 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1295 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1296
1297 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1298 instead of deleting the selection "by hand" (bug#16098).
1299 Rely on insert-for-yank to yank rectangles.
1300 (cua-highlight-region-shift-only): Mark obsolete.
1301 (cua-mode): Don't enable/disable transient-mark-mode,
1302 shift-select-mode (cua-mode works both with and without them), and
1303 pc-selection-mode (obsolete).
1304 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1305 (cua--deactivate-rectangle): Deactivate it.
1306
1307 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1308 (delete-selection-helper): Make sure yank starts at the top of the
1309 deleted region.
1310 (minibuffer-keyboard-quit): Use region-active-p.
1311
1312 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1313
1314 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1315 to `delete' (bug#16109).
1316
1317 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1318
1319 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1320 info manual and show keybindings and set `:group' keyword.
1321
1322 2013-12-11 Juri Linkov <juri@jurta.org>
1323
1324 * delsel.el (delete-active-region): Let-bind `this-command'
1325 to prevent `kill-region' from changing its original value.
1326 (delete-selection-helper): Handle `overwrite-mode' for the type
1327 `kill' exactly the same way as for the type `t'.
1328 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1329 Support more commands. (Bug#13312)
1330
1331 2013-12-11 Juri Linkov <juri@jurta.org>
1332
1333 * bindings.el: Map kp keys to non-kp keys systematically
1334 with basic modifiers control, meta and shift. (Bug#14397)
1335
1336 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1337
1338 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1339 "Close browser" menu items. Fix wrong function of "List
1340 bookmarks".
1341
1342 2013-12-11 Juri Linkov <juri@jurta.org>
1343
1344 * misearch.el (multi-isearch-buffers): Set the value of
1345 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1346 arg of isearch-forward to t.
1347 (multi-isearch-buffers-regexp): Set the value of
1348 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1349 arg of isearch-forward-regexp to t.
1350 (multi-isearch-files): Set the value of
1351 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1352 arg of isearch-forward to t.
1353 (multi-isearch-files-regexp): Set the value of
1354 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1355 arg of isearch-forward-regexp to t. (Bug#16035)
1356
1357 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1358 arg of isearch-forward to t.
1359 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1360 arg of isearch-forward-regexp to t.
1361 (dired-isearch-filter-filenames): Remove unnecessary check for
1362 `dired-isearch-filenames'.
1363
1364 * comint.el (comint-history-isearch-backward):
1365 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1366 (comint-history-isearch-backward-regexp):
1367 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1368
1369 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1370
1371 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1372 unmsys--file-name. (Bug#16099)
1373
1374 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1375
1376 * emacs-lisp/package.el (package-keyword-button-action):
1377 Remove finder.el require dependency.
1378
1379 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1380
1381 * emacs-lisp/package.el: Require finder.el.
1382 (describe-package-1): Add keyword buttons.
1383 (package-make-button): New convenience function.
1384 (package-keyword-button-action): Keyword button action using
1385 `finder-list-matches'.
1386
1387 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1388
1389 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1390 last commit.
1391
1392 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1393
1394 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1395 symlinked files.
1396
1397 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1398
1399 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1400 after the end of a percent literal.
1401
1402 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1403
1404 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1405 Handle caret-delimited strings (Bug#16079).
1406
1407 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1408
1409 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1410 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1411 `ruby-parse-partial' (Bug#16078).
1412
1413 2013-12-09 Leo Liu <sdl.web@gmail.com>
1414
1415 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1416
1417 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1418
1419 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1420 (js-switch-indent-offset): New option.
1421 (js--proper-indentation): Use it. And handle the case when
1422 "default" is actually a key in an object literal.
1423 (js--same-line): New function.
1424 (js--multi-line-declaration-indentation): Use it.
1425 (js--indent-in-array-comp, js--array-comp-indentation):
1426 New functions.
1427 (js--proper-indentation): Use them, to handle array comprehension
1428 continuations.
1429
1430 2013-12-08 Leo Liu <sdl.web@gmail.com>
1431
1432 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1433 (flymake-make-overlay): Remove arg MOUSE-FACE.
1434 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1435
1436 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1437
1438 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1439 New function.
1440 (redisplay-highlight-region-function): Use it.
1441
1442 * emulation/cua-base.el (cua--explicit-region-start)
1443 (cua--last-region-shifted): Remove.
1444 (cua--deactivate): Use deactivate-mark.
1445 (cua--pre-command-handler-1): Don't handle shift-selection.
1446 (cua--post-command-handler-1): Don't change transient-mark-mode.
1447 (cua--select-keymaps): Use region-active-p rather than
1448 cua--explicit-region-start or cua--last-region-shifted.
1449 (cua-mode): Enable shift-select-mode.
1450
1451 2013-12-08 Leo Liu <sdl.web@gmail.com>
1452
1453 * progmodes/flymake.el (flymake-popup-current-error-menu):
1454 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1455 (flymake-posn-at-point-as-event, flymake-popup-menu)
1456 (flymake-make-emacs-menu): Remove. (Bug#16077)
1457
1458 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * rect.el (rectangle-mark-mode): Activate mark even if
1461 transient-mark-mode is off (bug#16066).
1462 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1463 is > mark and at bolp.
1464
1465 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1466 (region-extract-function): Use it.
1467 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1468 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1469 Delete functions.
1470 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1471 kill-ring-save, kill-region, delete-char, delete-forward-char.
1472 Ignore self-insert-iso.
1473
1474 * emulation/cua-gmrk.el (cua--init-global-mark):
1475 Ignore `self-insert-iso'.
1476
1477 * emulation/cua-base.el (cua--prefix-copy-handler)
1478 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1479 checking cua--rectangle.
1480 (cua-delete-region): Use region-extract-function.
1481 (cua-replace-region): Delete function.
1482 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1483 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1484 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1485 (cua--init-keymaps): Don't remap delete-selection commands.
1486 (cua-mode): Use delete-selection-mode instead of rolling our own
1487 (bug#16085).
1488
1489 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1490 Obey region-extract-function.
1491
1492 Make registers and delete-selection-mode work on rectangles.
1493 * register.el (describe-register-1): Don't modify the register's value.
1494 (copy-to-register): Obey region-extract-function.
1495 * delsel.el (delete-active-region): Obey region-extract-function.
1496
1497 2013-12-08 Leo Liu <sdl.web@gmail.com>
1498
1499 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1500 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1501 (flymake-compilation-prevents-syntax-check)
1502 (flymake-start-syntax-check-on-newline)
1503 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1504 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1505 (flymake-xml-program, flymake-master-file-dirs)
1506 (flymake-master-file-count-limit)
1507 (flymake-allowed-file-name-masks): Relocate.
1508 (flymake-makehash, flymake-float-time)
1509 (flymake-replace-regexp-in-string, flymake-split-string)
1510 (flymake-get-temp-dir): Remove.
1511 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1512 (flymake-current-row, flymake-selected-frame)
1513 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1514 related functions. (Bug#16077)
1515
1516 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1517
1518 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1519
1520 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1521
1522 * help-fns.el (describe-function-1): Use new advice-* functions
1523 rather than old ad-* functions. Fix function type description and
1524 source links for advised functions and subrs.
1525
1526 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1527
1528 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1529
1530 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1531
1532 * progmodes/compile.el (compilation-start):
1533 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1534
1535 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1536 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1537
1538 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1539
1540 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1541 Touch up the last change.
1542
1543 2013-12-06 Leo Liu <sdl.web@gmail.com>
1544
1545 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1546 (inferior-octave-startup): Always use "octave> " for prompt.
1547 (octave-goto-function-definition)
1548 (octave-sync-function-file-names)
1549 (octave-find-definition-default-filename): Remove redundant backquotes.
1550
1551 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1552
1553 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1554 syntax for `?'.
1555 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1556 where appropriate already.
1557 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1558 end of method names (Bug#15874).
1559
1560 2013-12-06 Juri Linkov <juri@jurta.org>
1561
1562 * isearch.el (isearch--saved-overriding-local-map):
1563 New internal variable.
1564 (isearch-mode): Set it to the initial value of
1565 `overriding-terminal-local-map'.
1566 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1567 with `isearch--saved-overriding-local-map'. (Bug#16035)
1568
1569 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1570
1571 * progmodes/octave.el (inferior-octave-completion-table):
1572 Turn back into function, use `completion-table-with-cache'
1573 (Bug#11906). Update all references.
1574
1575 * minibuffer.el (completion-table-with-cache): New function.
1576
1577 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1578
1579 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1580
1581 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1582
1583 * net/eww.el (eww-current-source): New variable to store page
1584 source.
1585 (eww-display-html, eww-mode, eww-save-history)
1586 (eww-restore-history): Use it.
1587 (eww-view-source): New command to view page source.
1588 Opportunistically uses `html-mode' to highlight the buffer.
1589 (eww-mode-map): Install it.
1590
1591 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1592
1593 * net/dbus.el (dbus-unregister-service)
1594 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1595 Fix docstring.
1596 (dbus-unregister-service): Skip :serial entries in
1597 `dbus-registered-objects-table'.
1598 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1599
1600 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1601
1602 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1603 around keywords with extra `split-string' argument.
1604
1605 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1606
1607 * windmove.el (windmove-other-window-loc): Handle navigation
1608 between windows (excluding the minibuffer window - Bug#16017).
1609
1610 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1611
1612 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1613 in D-Bus type syntax.
1614 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1615 preserve unibyte strings. (Bug#16048)
1616
1617 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1620 Call force-mode-line-update is the proper buffer (bug#16042).
1621
1622 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1623
1624 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1625 `log-edit-remember-comment', make argument optional. Adjust all
1626 callers.
1627 (log-edit-mode): Add `log-edit-remember-comment' to
1628 `kill-buffer-hook' locally.
1629 (log-edit-kill-buffer): Don't remember comment explicitly since
1630 the buffer is killed anyway.
1631
1632 2013-12-04 Juri Linkov <juri@jurta.org>
1633
1634 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1635 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1636
1637 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1638
1639 * notifications.el (notifications-close-notification): Call the
1640 D-Bus method with ID being a `:uint32'. (Bug#16030)
1641
1642 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1643
1644 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1645
1646 2013-12-03 Juri Linkov <juri@jurta.org>
1647
1648 * progmodes/compile.el (compilation-start): Rename window alist
1649 entry `no-display-ok' to `allow-no-window'.
1650
1651 * simple.el (shell-command): Add window alist entry
1652 `allow-no-window' to `display-buffer'.
1653 (async-shell-command): Doc fix.
1654
1655 * window.el (display-buffer-no-window): New action function.
1656 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1657
1658 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1659
1660 * vc/log-edit.el (log-edit-set-header): Extract from
1661 `log-edit-toggle-header'.
1662 (log-edit-extract-headers): Separate the summary, when extracted
1663 from header, from the rest of the message with an empty line.
1664
1665 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1666 line, if present, to the Summary header.
1667
1668 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1669
1670 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1671 in current-buffer (bug#16029).
1672
1673 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1674
1675 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1676 (debugger-mode-map): Bind it.
1677 (debugger--backtrace-base): New function.
1678 (debugger-eval-expression): Use it.
1679 (debugger-frame-number): Skip local vars when present.
1680 (debugger--locals-visible-p, debugger--insert-locals)
1681 (debugger--show-locals, debugger--hide-locals): New functions.
1682
1683 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1684
1685 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1686 "LC_ALL".
1687 (tramp-get-remote-locale): New defun.
1688 (tramp-open-connection-setup-interactive-shell): Use it.
1689
1690 2013-12-02 Leo Liu <sdl.web@gmail.com>
1691
1692 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1693
1694 * progmodes/sh-script.el (sh-shell-process):
1695 * progmodes/octave.el (inferior-octave-process-live-p):
1696 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1697 (gdb-inferior-io-sentinel):
1698 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1699
1700 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1701
1702 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1703 `save-selected-window' to `log-edit-hide-buf'. This makes
1704 `log-edit-show-files' idempotent.
1705 (log-edit-show-files): Mark the new window as dedicated.
1706
1707 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1708
1709 * vc/log-edit.el (log-edit-mode-map): Add binding for
1710 `log-edit-kill-biffer'.
1711 (log-edit-hide-buf): Add a FIXME comment.
1712 (log-edit-add-new-comment): New function, extracted from
1713 `log-edit-done'.
1714 (log-edit-done, log-edit-add-to-changelog): Use it.
1715 (log-edit-kill-buffer): New command.
1716
1717 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1718
1719 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1720 instead of killing the buffer.
1721
1722 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1725
1726 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1727
1728 * net/eww.el (eww-form-checkbox-selected-symbol)
1729 (eww-form-checkbox-symbol): New customizable variable.
1730 (eww-form-checkbox, eww-toggle-checkbox):
1731 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1732
1733 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1734 (shr--get-media-pref, shr--extract-best-source): New function.
1735 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1736 no :src tag was specified.
1737
1738 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1739 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1740 Use \\` to match beginning of string instead of ^.
1741 (eww-browse-with-external-browser): Provide optional URL parameter.
1742 (eww-render): Set `eww-current-title' back to "".
1743
1744 * net/shr.el (shr-tag-video): Display content for video if no
1745 poster is available.
1746 (shr-tag-audio): Add support for <audio> tag.
1747
1748 * net/eww.el (eww-text-input-types): New const.
1749 (eww-process-text-input): Treat input types in
1750 `eww-text-input-types' as text.
1751
1752 * net/shr.el (shr-tag-table): Fix comment typo.
1753
1754 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1755
1756 * net/eww.el (eww-follow-link): New command to avoid reloading
1757 pages when we follow #target links (bug#15243).
1758 (eww-quit): Special mode buffers shouldn't query before exiting.
1759
1760 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1761
1762 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1763 forms.
1764
1765 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1766
1767 * net/eww.el (eww-restore-history): Update the window title after
1768 moving in the history.
1769 (eww-current-dom): New variable used to save the current DOM.
1770
1771 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1772
1773 * vc/log-edit.el (log-edit-mode-map): Add binding for
1774 `log-edit-beginning-of-line'.
1775 (log-edit-setup-add-author): New user option.
1776 (log-edit-beginning-of-line): New command.
1777 (log-edit): Move major mode call above the contents setup so that
1778 the local variable values are already applied.
1779 (log-edit): Only insert "Author: " when
1780 `log-edit-setup-add-author' is non-nil.
1781 (log-edit): When SETUP is non-nil, position point after ": "
1782 instead of point-min.
1783
1784 2013-12-01 Glenn Morris <rgm@gnu.org>
1785
1786 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1787
1788 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1789
1790 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1791 redisplay to make sure the initial frame gets a chance to become
1792 visible. (Bug#16014)
1793
1794 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1795
1796 Support resizing frames and windows pixelwise.
1797 * cus-start.el (frame-resize-pixelwise)
1798 (window-resize-pixelwise): New entries.
1799 * emacs-lisp/debug.el (debug): Use window-total-height instead
1800 of window-total-size.
1801 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1802 * help.el (describe-bindings-internal): Call help-buffer
1803 (temp-buffer-max-width): New option.
1804 (resize-temp-buffer-window, help-window-setup)
1805 (with-help-window): Rewrite.
1806 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1807 dragging dividers.
1808 * window.el (frame-char-size, window-min-pixel-height)
1809 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1810 (window-min-pixel-width, window-safe-min-pixel-size)
1811 (window-combination-p, window-safe-min-size)
1812 (window-resizable-p, window--size-to-pixel)
1813 (window--pixel-to-size, window--resize-apply-p): New functions.
1814 (window-safe-min-height): Fix doc-string.
1815 (window-size, window-min-size, window--min-size-1)
1816 (window-sizable, window-sizable-p, window--min-delta-1)
1817 (window-min-delta, window--max-delta-1, window-max-delta)
1818 (window--resizable, window--resizable-p, window-resizable)
1819 (window-full-height-p, window-full-width-p, window-at-side-p)
1820 (window--in-direction-2, window-in-direction)
1821 (window--resize-reset-1, window--resize-mini-window)
1822 (window-resize, window-resize-no-error)
1823 (window--resize-child-windows-normal)
1824 (window--resize-child-windows, window--resize-siblings)
1825 (window--resize-this-window, window--resize-root-window)
1826 (window--resize-root-window-vertically)
1827 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1828 (maximize-window, minimize-window, delete-window)
1829 (quit-restore-window, window-split-min-size, split-window)
1830 (balance-windows-2, balance-windows)
1831 (balance-windows-area-adjust, balance-windows-area)
1832 (window--state-get-1, window-state-get, window--state-put-1)
1833 (window--state-put-2, window-state-put)
1834 (display-buffer-record-window, window--display-buffer):
1835 Make functions handle pixelwise sizing of windows.
1836 (display-buffer--action-function-custom-type)
1837 (display-buffer-fallback-action):
1838 Add display-buffer-in-previous-window.
1839 (display-buffer-use-some-window): Resize window to height it had
1840 before.
1841 (fit-window-to-buffer-horizontally): New option.
1842 (fit-frame-to-buffer): Describe new values.
1843 (fit-frame-to-buffer-bottom-margin): Replace with
1844 fit-frame-to-buffer-margins.
1845 (window--sanitize-margin): New function.
1846 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1847 using window-text-pixel-size.
1848
1849 2013-11-30 Glenn Morris <rgm@gnu.org>
1850
1851 * emacs-lisp/bytecomp.el (byte-compile-form):
1852 Make the `interactive-only' warning like the `obsolete' one.
1853 * comint.el (comint-run):
1854 * files.el (insert-file-literally, insert-file):
1855 * replace.el (replace-string, replace-regexp):
1856 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1857 (goto-line, insert-buffer, next-line, previous-line):
1858 Tweak `interactive-only' spec.
1859
1860 Stop keeping (most) generated cedet grammar files in the repository.
1861 * Makefile.in (semantic): New.
1862 (compile-main): Depend on semantic.
1863
1864 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1867 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1868
1869 * uniquify.el (uniquify-buffer-name-style): Change default.
1870
1871 * loadup.el: Preload "uniquify".
1872
1873 * time.el (display-time-update): Update all mode lines (bug#15999).
1874
1875 * electric.el (electric-indent-mode): Enable by default.
1876 * loadup.el: Preload "electric".
1877
1878 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1879
1880 * emacs-lisp/helpers.el (string-empty-p): New function.
1881 (string-blank-p): New function.
1882
1883 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1884
1885 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1886 (Bug#14029).
1887
1888 2013-11-29 Andreas Politz <politza@fh-trier.de>
1889 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1890 allow non-lambda lists as functions.
1891 (imenu--in-alist): Don't recurse into non-subalists.
1892 (imenu): Don't pass function itself as an argument (Bug#14029).
1893
1894 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * progmodes/python.el (python-mode-map): Remove binding for ":".
1897 (python-indent-electric-colon): Remove command.
1898 (python-indent-post-self-insert-function): Integrate the previous code
1899 of python-indent-electric-colon. Make it conditional on
1900 electric-indent-mode.
1901 (python-mode): Add ?: to electric-indent-chars.
1902 Move python-indent-post-self-insert-function to the end of
1903 post-self-insert-hook.
1904
1905 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * doc-view.el (doc-view-goto-page): Update mode-line.
1908
1909 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1910
1911 2013-11-27 Glenn Morris <rgm@gnu.org>
1912
1913 * international/charprop.el, international/uni-bidi.el:
1914 * international/uni-category.el, international/uni-combining.el:
1915 * international/uni-comment.el, international/uni-decimal.el:
1916 * international/uni-decomposition.el, international/uni-digit.el:
1917 * international/uni-lowercase.el, international/uni-mirrored.el:
1918 * international/uni-name.el, international/uni-numeric.el:
1919 * international/uni-old-name.el, international/uni-titlecase.el:
1920 * international/uni-uppercase.el:
1921 Remove generated files from VCS repository.
1922
1923 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1924
1925 * filenotify.el (file-notify-add-watch): Don't special-case
1926 w32notify when computing the directory to watch.
1927
1928 2013-11-27 Glenn Morris <rgm@gnu.org>
1929
1930 Make bootstrap without generated uni-*.el files possible again.
1931 * loadup.el: Update command-line-args checking for unidata-gen.
1932 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1933 * composite.el, international/characters.el:
1934 Handle unicode tables being undefined.
1935
1936 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1937 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1938 (compile-main): Depend on leim rule.
1939 (leim): New rule.
1940 * loadup.el: Move leim-list.el to leim/ subdirectory.
1941 * startup.el (normal-top-level): No more leim directory.
1942 * international/ja-dic-cnv.el (skkdic-convert):
1943 Disable version-control and autoloads in output files.
1944 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1945 Disable version-control and autoloads in output files.
1946 * leim/quail: Move here from ../leim.
1947 * leim/quail/hangul.el (hangul-input-method-activate):
1948 Add autoload cookie.
1949 (generated-autoload-load-name): Set file-local value.
1950 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1951 (generated-autoload-load-name): Set file-local value.
1952
1953 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1954
1955 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1956 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1957 (eww-quit): Ask confirmation before quitting eww.
1958
1959 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1960
1961 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1962 reading output from Diff on MS-Windows and MS-DOS.
1963
1964 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1965
1966 * emacs-lisp/helpers.el (string-reverse): New function.
1967
1968 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1969
1970 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1971 names on MS Windows, like "/[::1]:".
1972
1973 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1974 SWITCHES.
1975
1976 2013-11-26 Glenn Morris <rgm@gnu.org>
1977
1978 * progmodes/python.el (python-indent-guess-indent-offset):
1979 Avoid corner-case error. (Bug#15975)
1980
1981 Preload leim-list.el. (Bug#4789)
1982 * loadup.el: Load leim-list.el when found.
1983 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1984
1985 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1986
1987 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1988
1989 * emacs-lisp/helpers.el (string-join): New function.
1990
1991 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1992
1993 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1994 Mark as obsolete and replace it with a symbol property.
1995 (byte-compile-form): Use new 'interactive-only property.
1996 * comint.el, files.el, replace.el, simple.el:
1997 Apply new 'interactive-only properly.
1998
1999 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2000
2001 * window.el (display-buffer-at-bottom): Make sure that
2002 split-window-sensibly creates the new window on bottom
2003 (Bug#15961).
2004
2005 2013-11-23 David Kastrup <dak@gnu.org>
2006
2007 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2008 on the conflict markers when available.
2009 (smerge--get-marker): New function.
2010 (smerge-end-re, smerge-base-re): Add subgroup.
2011
2012 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2013
2014 * frame.el (handle-focus-in, handle-focus-out): Add missing
2015 interactive spec.
2016
2017 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2018
2019 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2020 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2021
2022 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2025 (gomoku--last-pos): New var.
2026 (gomoku--intangible-chars): New const.
2027 (gomoku--intangible): New function.
2028 (gomoku-mode): Use it. Derive from special-mode.
2029 (gomoku-move-up): Adjust line count.
2030 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2031 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2032 Simplify accordingly.
2033
2034 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2035 Remove blink-cursor code.
2036 (blink-cursor-timer-function, blink-cursor-suspend):
2037 Don't special-case GUIs.
2038 (blink-cursor-mode): Use focus-in/out-hook.
2039
2040 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2041
2042 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2043 work when annotation is invisible (Bug#13886).
2044
2045 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2046
2047 * json.el (json-alist-p): Only return non-nil if the alist has
2048 simple keys (Bug#13518).
2049
2050 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2051
2052 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2053 when control-statement is the first statement in a buffer (Bug#15956).
2054
2055 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2056
2057 * imenu.el (imenu-generic-skip-comments-and-strings):
2058 New option (Bug#15560).
2059 (imenu--generic-function): Use it.
2060
2061 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2062
2063 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2064 (Bug#13898)
2065
2066 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2067
2068 * emacs-lisp/helpers.el: Add some string helpers.
2069 (string-trim-left): Removes leading whitespace.
2070 (string-trim-right): Removes trailing whitespace.
2071 (string-trim): Removes leading and trailing whitespace.
2072
2073 * subr.el (string-suffix-p): New function.
2074
2075 2013-11-23 Glenn Morris <rgm@gnu.org>
2076
2077 * progmodes/python.el (python-shell-send-file):
2078 Add option to delete file when done. (Bug#15647)
2079 (python-shell-send-string, python-shell-send-region): Use it.
2080
2081 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2082
2083 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2084 to set buffer-read-only to t, never to nil. (Bug#15938)
2085
2086 * textmodes/tex-mode.el (latex-noindent-environments):
2087 Add safe-local-variable property. (Bug#15936)
2088
2089 2013-11-23 Glenn Morris <rgm@gnu.org>
2090
2091 * textmodes/enriched.el (enriched-mode): Doc fix.
2092 * emacs-lisp/authors.el (authors-renamed-files-alist):
2093 Add enriched.doc -> enriched.txt.
2094
2095 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2096
2097 2013-11-22 Leo Liu <sdl.web@gmail.com>
2098
2099 * progmodes/octave.el (inferior-octave-startup): Spit out error
2100 message.
2101
2102 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2103
2104 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2105 Improve docstring.
2106 Add :version.
2107 (ruby-encoding-magic-comment-style): Add :version.
2108
2109 2013-11-22 Leo Liu <sdl.web@gmail.com>
2110
2111 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2112 (Bug#15076)
2113 (octave-help-mode): Adapt to change to help-mode-finish to use
2114 derived-mode-p on 2013-09-17.
2115 (inferior-octave-prompt): Also match octave-gui.
2116 (octave-kill-process): Don't ask twice. (Bug#10564)
2117
2118 2013-11-22 Leo Liu <sdl.web@gmail.com>
2119
2120 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2121 (inferior-octave-startup, inferior-octave-check-process)
2122 (inferior-octave-track-window-width-change)
2123 (octave-completion-at-point, octave-eldoc-function): Use it.
2124 (octave-kill-process): Provide confirmation. (Bug#10564)
2125
2126 2013-11-21 Leo Liu <sdl.web@gmail.com>
2127
2128 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2129 Fix obsolete variable comment-use-global-state.
2130
2131 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2132
2133 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2134 Add `octave-source-file'.
2135 (octave-source-file): New function. (Bug#15935)
2136
2137 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2138
2139 * net/eww.el (eww-local-regex): New variable.
2140 (eww): Use it to detect localhost and similar.
2141
2142 2013-11-21 Leo Liu <sdl.web@gmail.com>
2143
2144 Add completion for command `ag'.
2145 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2146 (pcomplete/ag): New function.
2147 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2148
2149 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2152 (bug#14646).
2153 (make-obsolete): Remove interactive spec.
2154
2155 2013-11-21 Glenn Morris <rgm@gnu.org>
2156
2157 * startup.el (command-line-1): Use path-separator with -L.
2158
2159 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2160
2161 * emacs-lisp/package.el (describe-package-1): Add package archive
2162 to shown fields.
2163
2164 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2165
2166 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2167 Change default to "# encoding: %s" to differentiate it from the
2168 default Ruby encoding comment template.
2169
2170 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2171
2172 * ses.el (ses-mode): Doc fix. (Bug#14748)
2173
2174 2013-11-20 Leo Liu <sdl.web@gmail.com>
2175
2176 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2177
2178 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2179
2180 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2181 when rebase or bisect are in progress.
2182
2183 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2184
2185 * filenotify.el (file-notify-add-watch): Doc fix.
2186
2187 2013-11-19 Leo Liu <sdl.web@gmail.com>
2188
2189 * obsolete/rcompile.el: Mark obsolete.
2190
2191 * progmodes/compile.el (compilation-start)
2192 (compilation-goto-locus, compilation-find-file):
2193 Pass no-display-ok and handle nil value from display-buffer.
2194 (Bug#13594)
2195
2196 * window.el (display-buffer-alist, display-buffer): Document the
2197 new parameter no-display-ok. Return either a window or nil
2198 but never a non-window value.
2199
2200 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * electric.el (electric-indent-mode-map): Remove.
2203 (electric-indent-mode): Change the global-map instead (bug#15915).
2204
2205 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2206 Use add-function.
2207
2208 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * emacs-lisp/nadvice.el (remove-function): Align with
2211 add-function's behavior.
2212
2213 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2214 (gdb--string-regexp): New constant.
2215 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2216 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2217 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2218 submatch 1.
2219 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2220 Adjust use accordingly.
2221 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2222
2223 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2224
2225 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2226 interpolation curlies (Bug#15914).
2227
2228 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2229
2230 * calc/calc.el (calc-context-sensitive-enter): New variable.
2231 (calc-enter): Use `calc-context-sensitive-enter'.
2232
2233 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2234
2235 * progmodes/cfengine.el: Version bump.
2236 (cfengine-cf-promises): New defcustom to locate cf-promises.
2237 (cfengine3-vartypes): Add new "data" type.
2238 (cfengine3--current-word): New function to get current name-like
2239 word or its bounds.
2240 (cfengine3--current-function): New function to look up a CFEngine
2241 function's definition.
2242 (cfengine3-format-function-docstring): New function.
2243 (cfengine3-make-syntax-cache): New function.
2244 (cfengine3-documentation-function): New function: ElDoc glue.
2245 (cfengine3-completion-function): New function: completion glue.
2246 (cfengine3-mode): Set `compile-command',
2247 `eldoc-documentation-function', and add to
2248 `completion-at-point-functions'.
2249
2250 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2251
2252 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2253 `tramp-current-connection'.
2254
2255 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2256
2257 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2258 nil/self/true/false with "end of symbol".
2259
2260 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2261
2262 * subr.el (version-regexp-alist): Fix a typo.
2263
2264 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2265
2266 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2267 "en_US.utf8" and "LC_CTYPE" to "".
2268 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2269 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2270
2271 2013-11-15 Leo Liu <sdl.web@gmail.com>
2272
2273 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2274
2275 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * progmodes/gud.el (ctl-x-map):
2278 Remove C-x SPC binding. (Bug#12342)
2279 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2280
2281 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2282
2283 * subr.el (version-regexp-alist):
2284 Recognize hg, svn and darcs versions as snapshot versions.
2285
2286 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2287 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2288 (ruby--encoding-comment-required-p): Extract from
2289 `ruby-mode-set-encoding'.
2290 (ruby-mode-set-encoding): Add the ability to always insert an
2291 utf-8 encoding comment. Fix and simplify coding comment update
2292 logic.
2293
2294 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2295
2296 * net/tramp-gvfs.el (top): Run init code only when
2297 `tramp-gvfs-enabled' is not nil.
2298 (tramp-gvfs-enabled): Check also :system bus.
2299
2300 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 Sync with upstream verilog-mode revision 78e66ba.
2303 * progmodes/verilog-mode.el (verilog-end-of-defun)
2304 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2305 (verilog-get-end-of-defun): Remove unused argument.
2306 (verilog-comment-depth): Remove unused local `e'.
2307 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2308 Don't pass arg to verilog-get-end-of-defun.
2309
2310 2013-11-14 Glenn Morris <rgm@gnu.org>
2311
2312 * obsolete/assoc.el (aget): Prefix dynamic variable.
2313
2314 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2315
2316 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * widget.el, hfy-cmap.el: Remove bogus package version number.
2319
2320 2013-11-13 Glenn Morris <rgm@gnu.org>
2321
2322 * replace.el (replace-eval-replacement):
2323 Try to give more helpful error message. (Bug#15836)
2324
2325 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2326 (archive-7z-update): Avoid custom type mismatches.
2327
2328 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2329
2330 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2331
2332 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2333 address can be empty.
2334
2335 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2336 Accept nil SWITCHES.
2337 (tramp-gvfs-handle-write-region): Implement APPEND.
2338
2339 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2340
2341 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2342 binary "|" operator and closing block args delimiter.
2343 Remove FIXME comment referring to Ruby 1.8-only syntax.
2344 (ruby-smie--implicit-semi-p): Not after "|" operator.
2345 (ruby-smie--closing-pipe-p): New function.
2346 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2347 (ruby-smie-rules): Indent after "|".
2348
2349 2013-11-12 Glenn Morris <rgm@gnu.org>
2350
2351 * ps-print.el (ps-face-attribute-list):
2352 Handle anonymous faces. (Bug#15827)
2353
2354 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2355
2356 * window.el (display-buffer-other-frame): Fix doc-string.
2357 (Bug#15868)
2358
2359 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2362
2363 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2364
2365 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2366 (tramp-sh-handle-file-local-copy): Don't write a message when
2367 saving temporary files.
2368
2369 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2370 both directories are remote.
2371 (tramp-smb-handle-directory-files): Do not return double entries.
2372 Do not expand full file names.
2373 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2374 (tramp-smb-handle-write-region): Implement APPEND.
2375 (tramp-smb-get-stat-capability): Fix a stupid bug.
2376
2377 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2378
2379 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2380
2381 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2382
2383 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2384 throwing error over malformed let/let* (bug#15814).
2385
2386 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * iswitchb.el (iswitchb-mode): Mark obsolete.
2389
2390 2013-11-11 Glenn Morris <rgm@gnu.org>
2391
2392 * international/uni-bidi.el, international/uni-category.el:
2393 * international/uni-name.el, international/uni-numeric.el:
2394 Regenerate for Unicode 6.3.0.
2395
2396 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2397
2398 * net/tramp.el (tramp-methods):
2399 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2400 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2401
2402 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2403
2404 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2405 Force highlighting text after Summary keyword in doc face for rpm.
2406
2407 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2408
2409 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2410 available and the word has no wildcards, append one to the grep pattern.
2411 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2412 (ispell-complete-word): Call `ispell-lookup-words' with the value
2413 independent of `ispell-look-p'.
2414
2415 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2416
2417 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2418 Not after "||".
2419 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2420 their parent.
2421
2422 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2423
2424 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2425 (ruby-font-lock-keywords): Use backquote.
2426
2427 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2428
2429 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2430 (ruby-smie--backward-token): Only consider full-string matches.
2431
2432 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2433
2434 * faces.el (describe-face): Add distant-foreground.
2435
2436 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2437
2438 * progmodes/ruby-mode.el: Improve encoding comment handling.
2439 (ruby-encoding-magic-comment-style): New option.
2440 (ruby-custom-encoding-magic-comment-template): New option.
2441 (ruby--insert-coding-comment, ruby--detect-encoding):
2442 New functions extracted from `ruby-mode-set-encoding'.
2443 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2444 to control the style of the auto-inserted encoding comment.
2445
2446 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2447
2448 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2449 Use `smie-backward-sexp' with token argument.
2450
2451 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2452
2453 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2454 Remove instrumentation code.
2455
2456 2013-11-08 Glenn Morris <rgm@gnu.org>
2457
2458 * progmodes/autoconf.el (autoconf-mode):
2459 Tweak comment-start-skip. (Bug#15822)
2460
2461 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2464 at bobp (bug#15826).
2465 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2466
2467 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2468
2469 * man.el (Man-start-calling): New macro, extracted from
2470 Man-getpage-in-background.
2471 (Man-getpage-in-background): Use it.
2472 (Man-update-manpage): New command.
2473 (Man-mode-map): Bind it.
2474
2475 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2476
2477 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2478 of "and", "or", "&&" and "||".
2479 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2480 argument. Prohibit opening curly brace because it could only be a
2481 block opener in that position.
2482 (ruby-smie--forward-token, ruby-smie--backward-token):
2483 Separate "|" from "&" or "*" going after it. That can happen in block
2484 arguments.
2485 (ruby-smie--indent-to-stmt): New function, seeks the end of
2486 previous statement or beginning of buffer.
2487 (ruby-smie-rules): Use it.
2488 (ruby-smie-rules): Check if there's a ":" before a curly block
2489 opener candidate; if there is, it's a hash.
2490
2491 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2494 (cl--block-wrapper): Fix last accidental change.
2495
2496 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2497
2498 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2499 Instrument, in order to hunt failure on hydra.
2500
2501 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2502
2503 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2504 malformed bindings form (bug#15814).
2505
2506 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2507
2508 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2509 "." compared to " @ ". This incidentally fixes some indentation
2510 examples with "do".
2511 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2512 (ruby-smie-grammar): New tokens: "and" and "or".
2513 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2514 Exclude "and" and "or". Remove "do" in order to work around token
2515 priorities.
2516 (ruby-smie-rules): Add all infix tokens. Handle the case of
2517 beginning-of-buffer.
2518
2519 2013-11-06 Glenn Morris <rgm@gnu.org>
2520
2521 * Makefile.in (setwins_almost, setwins_for_subdirs):
2522 Avoid accidental matches.
2523
2524 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * menu-bar.el (popup-menu): Use key-binding.
2527
2528 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2529
2530 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2531 menus, support also the menus produced by minor modes.
2532 (Bug#15817)
2533
2534 2013-11-06 Leo Liu <sdl.web@gmail.com>
2535
2536 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2537 DISTANCE to bound the search. All uses changed. (Bug#15808)
2538
2539 2013-11-06 Glenn Morris <rgm@gnu.org>
2540
2541 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2542 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2543 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2544
2545 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * electric.el (electric-indent-just-newline): New command.
2548 (electric-indent-mode-map): New keymap.
2549 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2550 Re-add :group which weren't redundant.
2551
2552 * electric.el (electric-indent-local-mode): New minor mode.
2553 (electric-indent-functions-without-reindent): New var.
2554 (electric-indent-post-self-insert-function): Use it.
2555 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2556
2557 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2558
2559 * international/quail.el (quail-help): Be more explicit about the
2560 meaning of the labels shown on the keys. (Bug#15800)
2561
2562 * startup.el (normal-top-level): Load the subdirs.el files before
2563 setting the locale environment. (Bug#15805)
2564
2565 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2568 via arguments so as to get the right ones (bug#15418).
2569
2570 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2571
2572 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2573
2574 Fix problems found while writing a test suite.
2575
2576 * net/tramp-compat.el (tramp-compat-load): New defun.
2577 * net/tramp.el (tramp-handle-load): Use it.
2578
2579 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2580 "(numberp ok-if-already-exists)" correctly.
2581
2582 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2583
2584 * international/characters.el (glyphless-char-display-control):
2585 Add usage note.
2586
2587 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2588
2589 * progmodes/python.el (python-mode):
2590 * progmodes/scheme.el (scheme-mode):
2591 * progmodes/prolog.el (prolog-mode):
2592 * progmodes/ruby-mode.el (ruby-mode):
2593 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2594 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2595
2596 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * rect.el (rectangle--highlight-for-redisplay):
2599 * emacs-lisp/smie.el (smie--next-indent-change):
2600 Use buffer-chars-modified-tick.
2601
2602 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2603
2604 * electric.el (electric-indent-post-self-insert-function):
2605 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2606
2607 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2608
2609 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2610
2611 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2612
2613 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2614 (bug#15786).
2615
2616 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2619
2620 * progmodes/python.el: Fix up last change.
2621 (python-shell--save-temp-file): New function.
2622 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2623 `string' comes from the current buffer.
2624 (python-shell-send-string-no-output): Remove `msg' arg.
2625 (python--use-fake-loc): New var.
2626 (python-shell-buffer-substring): Obey it. Try to compensate for the
2627 extra coding line added by python-shell--save-temp-file.
2628 (python-shell-send-region): Use python-shell--save-temp-file and
2629 python-shell-send-file directly. Add `nomain' argument.
2630 (python-shell-send-buffer): Use python-shell-send-region.
2631 (python-electric-pair-string-delimiter): New function.
2632 (python-mode): Use it.
2633
2634 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2635
2636 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2637 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2638 environment and decoding all of the default-directory's to here
2639 from command-line.
2640 (command-line): Decode also argv[0].
2641
2642 * loadup.el: Error out if default-directory is a multibyte string
2643 when we are dumping.
2644
2645 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2646
2647 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2648
2649 * emacs-lisp/package.el (package-menu-mode)
2650 (package-menu--print-info, package-menu--archive-predicate):
2651 Add Archive column to package list.
2652
2653 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2654
2655 Fix problems found while writing a test suite.
2656
2657 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2658 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2659 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2660 to nil when running original file name handler. Otherwise,
2661 there are problems with constructs like "$$FOO".
2662
2663 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2664 for `localname'.
2665
2666 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2667
2668 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2669
2670 * subr.el (version<, version<=, version=):
2671 Update docstrings with information for snapshot versions.
2672
2673 * helpers.el: New library for misc helper functions.
2674 (hash-table-keys): New function returning a list of hash keys.
2675 (hash-table-values): New function returning a list of hash values.
2676
2677 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2678
2679 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2680 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2681
2682 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2683
2684 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2685 checking whether point is after a 1-letter word.
2686
2687 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2688
2689 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2690 Don't infloop when expanding region over `multiline' syntax-type that
2691 begins a line (bug#15778).
2692
2693 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2694
2695 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2696 Make it into a proper minor mode.
2697 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2698 (rectangle-mark-mode-map): New keymap.
2699 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2700
2701 2013-11-04 Glenn Morris <rgm@gnu.org>
2702
2703 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2704
2705 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2706
2707 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2708 (ruby-smie-rules): Use smie-rule-parent instead.
2709
2710 * emacs-lisp/smie.el (smie-rule-parent): Always call
2711 smie-indent-virtual rather than only for hanging tokens.
2712 (smie--next-indent-change): New helper command.
2713
2714 2013-11-03 Glenn Morris <rgm@gnu.org>
2715
2716 * Makefile.in (abs_srcdir): Remove.
2717 (emacs): Unset EMACSLOADPATH.
2718
2719 2013-11-02 Glenn Morris <rgm@gnu.org>
2720
2721 * Makefile.in (EMACS): Use a relative filename.
2722 (abs_top_builddir): Remove.
2723 (custom-deps, finder-data, autoloads): Use --chdir.
2724
2725 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2726
2727 Use relative filenames in TAGS files.
2728 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2729 (lisptagsfiles4, TAGS): Use relative file names.
2730 (TAGS-LISP): Remove.
2731 (maintainer-clean): No more TAGS-LISP file.
2732
2733 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2734 (lisptagsfiles4): Use absolute filenames again.
2735 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2736 Remove all *loaddefs files, not just the first. Remove esh-groups.
2737 (maintainer-clean): Delete TAGS, TAGS-LISP.
2738
2739 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2740
2741 * emacs-lisp/package.el (package-version-join):
2742 Recognize snapshot versions.
2743
2744 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2745
2746 * subr.el (version-regexp-alist): Add support for snapshot versions.
2747
2748 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2749
2750 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2751 New function, replacement for `smie-rule-parent' for when we want to
2752 skip over our direct parent if it's an assignment token..
2753 (ruby-smie-rules): Use it.
2754
2755 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2756
2757 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2758 unconditionally. Remove now unnecessary forward declarations.
2759 Remove XEmacs-specific setup.
2760 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2761 (ruby-font-lock-syntactic-keywords)
2762 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2763 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2764 (ruby-here-doc-end-syntax): Remove.
2765 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2766 defined as function.
2767
2768 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2769
2770 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2771
2772 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2773
2774 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2775 table and abbrev table, `define-derived-mode' does that for us
2776 anyway.
2777
2778 2013-11-01 Glenn Morris <rgm@gnu.org>
2779
2780 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2781 files is atomic for some time, so no parallel compilation issues).
2782
2783 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2784
2785 * faces.el (face-x-resources): Add :distant-foreground.
2786 (region): Use :distant-foreground for gtk and ns.
2787
2788 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2789
2790 Allow multiple bibliographies when BibLaTeX is used rather than
2791 BibTeX.
2792 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2793 (reftex-locate-bibliography-files): Us it.
2794
2795 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2796
2797 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2798 allow comments in pbm files.
2799
2800 * term/w32-win.el (dynamic-library-alist): Support newer versions
2801 of libjpeg starting with v7: look only for the DLL from the
2802 version against which Emacs was built.
2803 Support versions of libpng beyond 1.4.x.
2804 Support libtiff v4.x.
2805
2806 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2807
2808 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2809 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2810 Add property :safe.
2811 (ruby-deep-arglist): Add property :type.
2812
2813 2013-10-31 Glenn Morris <rgm@gnu.org>
2814
2815 * Makefile.in (custom-deps, finder-data): No need to setq the target
2816 variables, we are in the right directory and the defaults work fine.
2817
2818 2013-10-30 Glenn Morris <rgm@gnu.org>
2819
2820 * Makefile.in (autoloads): Do not use abs_lisp.
2821
2822 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2823 `newline' does not respect `standard-output', so use `princ'.
2824
2825 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2826
2827 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2828 * buff-menu.el (Buffer-menu--unmark): New function.
2829 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2830
2831 2013-10-30 Glenn Morris <rgm@gnu.org>
2832
2833 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2834
2835 * emacs-lisp/package.el (lm-homepage): Declare.
2836
2837 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2838 Fix doc typos.
2839
2840 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2841
2842 * Makefile.in (finder-data, autoloads, update-subdirs)
2843 (compile-main, compile-clean, compile-always, bootstrap-clean):
2844 Check return value of cd.
2845 (compile-calc): Remove.
2846
2847 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2850
2851 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2852 (byte-compile-and-folded): New function.
2853 (=, <, >, <=, >=): Use it.
2854
2855 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2856 (path-separator, null-device, buffer-file-coding-system)
2857 (lpr-headers-switches): Check system-type before modifying them.
2858 (find-buffer-file-type-coding-system): Mark obsolete.
2859 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2860 find-file-not-found-set-buffer-file-coding-system.
2861 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2862 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2863 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2864 (w32-direct-print-region-helper, w32-direct-print-region-function)
2865 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2866 * startup.el (normal-top-level-add-subdirs-to-load-path):
2867 * ps-print.el (ps-print-region-function):
2868 * lpr.el (print-region-function): Use new name.
2869
2870 * subr.el (custom-declare-variable-early): Remove function.
2871 (custom-declare-variable-list): Remove var.
2872 (error, user-error): Remove `while' loop.
2873 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2874 (user-emacs-directory-warning, locate-user-emacs-file):
2875 Move to files.el.
2876 * simple.el (read-quoted-char-radix, read-quoted-char):
2877 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2878 Move from subr.el.
2879 * custom.el (custom-declare-variable-list): Don't process
2880 custom-declare-variable-list.
2881
2882 * progmodes/python.el (python-shell-get-buffer): New function.
2883 (python-shell-get-process): Use it.
2884 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2885 Python which encoding was used. Don't split-string since we only care
2886 about the first line. Return the temp-file, if applicable.
2887 (python-shell-send-region): Tell compile.el how to turn locations in
2888 the temp-file into locations in the source buffer.
2889
2890 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 * subr.el (undefined): Add missing behavior from the C code for
2893 unbound keys.
2894
2895 * rect.el: Use lexical-binding. Add new rectangular region support.
2896 (rectangle-mark): New command.
2897 (rectangle--region): New var.
2898 (deactivate-mark-hook): Reset rectangle--region.
2899 (rectangle--extract-region, rectangle--insert-for-yank)
2900 (rectangle--highlight-for-redisplay)
2901 (rectangle--unhighlight-for-redisplay): New functions.
2902 (region-extract-function, redisplay-unhighlight-region-function)
2903 (redisplay-highlight-region-function): Use them to handle
2904 rectangular region.
2905 * simple.el (region-extract-function): New var.
2906 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2907 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2908 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2909 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2910 (redisplay-unhighlight-region-function)
2911 (redisplay-highlight-region-function): New vars.
2912 (redisplay--update-region-highlight): New function.
2913 (pre-redisplay-function): Use it.
2914 (exchange-point-and-mark): Don't deactivate the mark before
2915 reactivate-it anyway.
2916 * comint.el (comint-kill-region): Remove yank-handler argument.
2917 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2918 (delete-char): Remove property, since it's now part of their
2919 default behavior.
2920 (self-insert-iso): Remove property since this command doesn't exist.
2921
2922 * emacs-lisp/package.el (package--download-one-archive)
2923 (describe-package-1): Don't query the user about final newline.
2924
2925 2013-10-29 Daniel Colascione <dancol@dancol.org>
2926
2927 * net/tramp.el (tramp-methods): Document new functionality.
2928 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2929 tramp-hostname-checker if method provides one instead of scanning
2930 argument list for "%h" to decide hostname acceptability.
2931
2932 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2933
2934 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2935 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2936 Handle COPY-CONTENTS. (Bug#15737)
2937
2938 2013-10-28 Daiki Ueno <ueno@gnu.org>
2939
2940 * epa-file.el
2941 (epa-file-cache-passphrase-for-symmetric-encryption):
2942 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2943
2944 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2945
2946 * image.el (defimage):
2947 (image-load-path): Doc fixes.
2948
2949 2013-10-27 Alan Mackenzie <acm@muc.de>
2950
2951 Indent statements in macros following "##" correctly.
2952 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2953 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2954
2955 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2956
2957 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2958
2959 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2960
2961 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2962 after `=' is probably a new expression.
2963
2964 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2965
2966 * man.el (man-imenu-title): New option.
2967 (Man-mode-map): Add menu. (Bug#15722)
2968 (Man-mode): Add imenu to menu.
2969
2970 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2971
2972 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2973 specific in what the first arg can be: a non-keyword word,
2974 string/regexp/percent literal opener, opening paren, or unary
2975 operator followed directly by word.
2976
2977 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2978
2979 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2980 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2981 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2982 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2983 Remove vars, they do not apply any more.
2984 (prolog-mode-abbrev-table): Remove redundant declaration.
2985 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2986 (prolog-use-smie): Remove.
2987 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2988 supported by prolog-electric-if-then-else-flag.
2989 (prolog-mode-variables, prolog-menu): Use setq-local.
2990 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2991 Remove binding to `Backspace' since this key doesn't exist anyway.
2992 Remove bindings for electric self-inserting keys.
2993 (prog-mode): Assume it's defined.
2994 (prolog-post-self-insert): New function.
2995 (prolog-mode): Use it.
2996 (prolog-indent-line, prolog-indent-level)
2997 (prolog-find-indent-of-matching-paren)
2998 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2999 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3000 (prolog-goto-next-paren, prolog-in-string-or-comment)
3001 (prolog-tokenize, prolog-inside-mline-comment)
3002 (prolog-find-start-of-mline-comment): Remove functions.
3003 (prolog-find-unmatched-paren, prolog-clause-end)
3004 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3005 (prolog-electric--if-then-else): Rename from
3006 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3007 (prolog-tokenize-searchkey): Remove const.
3008 (prolog-clause-info): Use forward-sexp.
3009 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3010 (prolog-electric-if-then-else): Remove commands.
3011 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3012 for use in post-self-insert-hook.
3013 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3014 for use in post-self-insert-hook.
3015 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3016 for use in post-self-insert-hook.
3017 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3018 adapt it for use in post-self-insert-hook.
3019
3020 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3021
3022 * emacs-lisp/ert.el (ert-run-tests-interactively):
3023 Use `completing-read'. (Bug#9756)
3024
3025 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3026
3027 * simple.el (line-move): Call line-move-1 instead of
3028 line-move-visual when the current window hscroll is zero, but
3029 temporary-goal-column indicates we will need to hscroll as result
3030 of the movement. (Bug#15712)
3031
3032 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3033
3034 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3035 capitalization. Use :visible instead of :active.
3036 Fix `ruby-indent-exp' reference. Add menu items for the generic
3037 commands that are used with SMIE.
3038 (ruby-do-end-to-brace): Insert space after `{'.
3039
3040 2013-10-25 John Anthony <john@jo.hnanthony.com>
3041
3042 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3043
3044 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3045
3046 2013-10-25 Glenn Morris <rgm@gnu.org>
3047
3048 * vc/vc.el (vc-print-log): Don't use a working revision unless
3049 one was explicitly specified. (Bug#15322)
3050
3051 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * subr.el (add-to-list): Preserve return value in compiler-macro
3054 (bug#15692).
3055
3056 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3057
3058 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3059 result. Ask user to retry using '-all' flag. (Bug#15701)
3060
3061 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * emacs-lisp/smie.el: New smie-config system.
3064 (smie-config): New defcustom.
3065 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3066 (smie-config-guess, smie-config-save): New commands.
3067 (smie-config--mode-local, smie-config--buffer-local)
3068 (smie-config--trace, smie-config--modefuns): New vars.
3069 (smie-config--advice, smie-config--mode-hook)
3070 (smie-config--setter, smie-config-local, smie-config--get-trace)
3071 (smie-config--guess-value, smie-config--guess): New functions.
3072 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3073 text properties. Treat "string fence" syntax like string syntax.
3074
3075 * progmodes/sh-script.el (sh-use-smie): Change default.
3076 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3077 (sh-var-value): Simplify by CSE.
3078 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3079 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3080 is used.
3081 (sh-guess-basic-offset): Use cl-incf.
3082 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3083
3084 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3085
3086 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3087 (bug#15699).
3088
3089 2013-10-24 Glenn Morris <rgm@gnu.org>
3090
3091 * Makefile.in (abs_top_srcdir): Remove.
3092 (update-subdirs): Use relative path to update-subdirs.
3093
3094 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3095
3096 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3097 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3098 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3099 Call unmsys--file-name before expand-file-name, not after it.
3100
3101 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3102
3103 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3104 (ert-test-skipped): New error.
3105 (ert-skip, ert-stats-skipped): New defuns.
3106 (ert--skip-unless): New macro.
3107 (ert-test-skipped): New struct.
3108 (ert--run-test-debugger, ert-test-result-type-p)
3109 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3110 (ert--stats-set-test-and-result, ert-char-for-test-result)
3111 (ert-string-for-test-result, ert-run-tests-batch)
3112 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3113 Handle skipped tests. (Bug#9803)
3114
3115 2013-10-24 Glenn Morris <rgm@gnu.org>
3116
3117 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3118
3119 * Makefile.in (abs_top_srcdir): New, set by configure.
3120 (update-subdirs): Correct build-aux location.
3121
3122 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3123
3124 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3125 value, whether we could auto-deduce `backend', or not.
3126
3127 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3128 with parameters" example. Simplify the "is it block or is it
3129 hash" check, but also make it more thorough.
3130
3131 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3132
3133 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3134
3135 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3138 { if it is hanging.
3139
3140 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3141 :before ";".
3142
3143 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3144
3145 * progmodes/compile.el (compilation-directory-matcher)
3146 (compilation-page-delimiter):
3147 Support GNU Make-4.0 directory quoting. (Bug#15678)
3148
3149 2013-10-23 Leo Liu <sdl.web@gmail.com>
3150
3151 * ido.el (ido-tidy): Handle read-only text.
3152
3153 2013-10-23 Glenn Morris <rgm@gnu.org>
3154
3155 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3156 (emacs, compile, compile-always):
3157 Quote entities that might contain whitespace.
3158 (custom-deps, finder-data, autoloads): Use abs_lisp.
3159 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3160 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3161 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3162
3163 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3164
3165 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3166 Use `following-char'.
3167
3168 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3171 * progmodes/ruby-mode.el (ruby-smie-rules):
3172 Remove corresponding workaround. Fix indentation rule of ";" so it
3173 also applies when ";" is the parent.
3174
3175 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3176
3177 * frame.el (display-screens, display-pixel-height)
3178 (display-pixel-width, display-mm-width, display-backing-store)
3179 (display-save-under, display-planes, display-color-cells)
3180 (display-visual-class, display-monitor-attributes-list):
3181 Mention the optional ‘display’ argument in doc strings.
3182
3183 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3184
3185 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3186 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3187
3188 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3189
3190 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3191 TODO. Add "." after " @ ".
3192 (ruby-smie--at-dot-call): New function. Checks if point at method
3193 call with explicit target.
3194 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3195 to the method name tokens when it precedes them.
3196 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3197 (ruby-smie-rules): Add rule for indentation before and after "."
3198 token.
3199
3200 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * textmodes/remember.el (remember-diary-extract-entries):
3203 Avoid add-to-list.
3204
3205 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3206 an instruction.
3207
3208 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3209
3210 * progmodes/ruby-mode.el (ruby-smie-grammar):
3211 Add (almost) all infix operators.
3212 (ruby-smie--implicit-semi-p): Add new operator chars.
3213
3214 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3215 `smie-down-list'.
3216 (ruby-smie--args-separator-p): Check that there's no newline
3217 between method call and its arguments.
3218
3219 2013-10-20 Alan Mackenzie <acm@muc.de>
3220
3221 Allow comma separated lists after Java "implements".
3222
3223 * progmodes/cc-engine.el (c-backward-over-enum-header):
3224 Parse commas.
3225 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3226 from a "disallowed" list in enum fontification.
3227
3228 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3229
3230 * startup.el (default-frame-background-mode): Remove unused defvar.
3231
3232 * progmodes/verilog-mode.el (verilog-mode): Don't set
3233 comment-indent-function globally.
3234
3235 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3236
3237 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3238 Move Info menu item creation to ns-win.el.
3239
3240 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3241 in menu bar.
3242
3243 * menu-bar.el: Move GNUStep specific menus...
3244
3245 * term/ns-win.el (ns-initialize-window-system): ... to here.
3246
3247 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 * simple.el (newline): Only run post-self-insert-hook when
3250 called interactively.
3251
3252 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3253
3254 * icomplete.el (icomplete-with-completion-tables): Add :version.
3255
3256 2013-10-19 Alan Mackenzie <acm@muc.de>
3257
3258 Fix fontification bugs with constructors and const.
3259
3260 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3261 CASE 2) Remove the check for the absence of a suffix construct
3262 after a function declaration with only types (no identifiers) in
3263 the parentheses. Also, accept a function declaration with just a
3264 type inside the parentheses, if this type can be positively
3265 recognised as such, or if a prefix keyword like "explicit" nails
3266 down the construct as a declaration.
3267
3268 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3269
3270 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3271 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3272 the problem whereby selecting a menu item that leads to a
3273 minibuffer prompt moves the cursor out of the minibuffer window,
3274 making it hard to type at the prompt. Suggested by Stefan Monnier
3275 <monnier@iro.umontreal.ca>.
3276
3277 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3278
3279 * menu-bar.el: Don't make Services menu.
3280
3281 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3282
3283 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3284 (ffap-alist): Use ffap-c++-mode for c++-mode.
3285 (ffap-c++-path): New variable.
3286 (ffap-c++-mode): New function.
3287
3288 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3289
3290 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3291
3292 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3293
3294 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3295 introduced on 2013-09-08, which results in an infinite loop
3296 requesting a password.
3297
3298 2013-10-18 Glenn Morris <rgm@gnu.org>
3299
3300 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3301
3302 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3303
3304 Sync with upstream verilog-mode revision 1a6ecec7.
3305 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3306 (verilog-mode-release-date): Remove.
3307 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3308 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3309 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3310 (verilog-auto-tieoff-ignore-regexp)
3311 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3312 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3313 (verilog-signals-with, verilog-dir-cache-preserving)
3314 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3315 Doc fixes.
3316 (verilog-case-fold): New option, to control case folding in
3317 regexp searches, bug597.
3318 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3319 (verilog-string-match-fold, verilog-in-paren-count)
3320 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3321 (verilog-at-close-struct-p): New functions.
3322 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3323 (verilog-forward-sexp, verilog-set-auto-endcomments):
3324 (verilog-leap-to-case-head): Handle "unique0" case.
3325 (verilog-in-constraint-re): New constant.
3326 (verilog-keywords, verilog-type-font-keywords):
3327 Add some SystemVerilog 1800-2012 keywords.
3328 (verilog-label-be): Remove unimplemented argument, bug669.
3329 (verilog-batch-execute-func): When batch expanding clear
3330 create-lockfiles to prevent spurious user locks when a file ends
3331 up not changing.
3332 (verilog-calculate-indent, verilog-calc-1)
3333 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3334 (verilog-do-indent): Fix indentation of nested constraints
3335 and structures.
3336 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3337 (verilog-auto-inst-param): Use verilog-string-match-fold.
3338 (verilog-read-inst-module-matcher):
3339 Fix AUTOINST on gate primitives with #1.
3340 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3341 Reads all user-defined typed variables.
3342 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3343 (verilog-signals-matching-regexp)
3344 (verilog-signals-not-matching-regexp, verilog-auto):
3345 Respect verilog-case-fold.
3346 (verilog-diff-report): Fix line count.
3347 (verilog-auto-assign-modport): Remove unused local `modi'.
3348 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3349 better handle multidimensional arrays.
3350 Fix packed array ports misadding bit index in AUTOINST, bug637.
3351 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3352 to not double-declare existing outputs and inputs, respectively.
3353 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3354 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3355 (verilog-sk-uvm-component): New skeleton.
3356 (verilog-submit-bug-report): Add verilog-case-fold,
3357 remove verilog-mode-release-date.
3358
3359 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3360
3361 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3362 as before.
3363
3364 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3365
3366 * textmodes/remember.el (remember): Set buffer-offer-save in
3367 remember buffers (bug#13566).
3368
3369 2013-10-18 Daniel Colascione <dancol@dancol.org>
3370
3371 When evaluating forms in ielm, direct standard output to ielm
3372 buffer. Add new ielm-return-for-effect command. Remove trailing
3373 whitespace throughout.
3374
3375 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3376 (ielm-return-for-effect): New command.
3377 (ielm-send-input): Accept optional `for-effect' parameter.
3378 (ielm-eval-input): Accept optional `for-effect' parameter.
3379 Bind `standard-output' to stream we create using
3380 `ielm-standard-output-impl'. Suppress printing result when
3381 `for-effect'.
3382 (ielm-standard-output-impl): New function.
3383 (inferior-emacs-lisp-mode): Explain new features in documentation.
3384
3385 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3386
3387 Code cleanup.
3388
3389 * net/tramp.el (tramp-debug-message): Do not check for connection
3390 buffer.
3391 (tramp-message): Use "vector" connection property.
3392
3393 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3394 (tramp-equal-remote, tramp-eshell-directory-change)
3395 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3396 (tramp-adb-handle-rename-file)
3397 * net/tramp-cmds.el (tramp-list-remote-buffers)
3398 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3399 * net/tramp-compat.el (tramp-compat-process-running-p)
3400 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3401 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3402 (tramp-gvfs-handle-rename-file)
3403 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3404 (tramp-set-file-uid-gid)
3405 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3406 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3407 of `file-remote-p'.
3408
3409 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3410 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3411 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3412 (tramp-gw-open-network-stream): Suppress unrelated traces.
3413
3414 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3415 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3416 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3417 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3418 connection property.
3419
3420 * net/tramp-cache.el (top): Suppress traces when reading
3421 persistency file.
3422
3423 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3424 Refactor common code. Improve debug message.
3425 (tramp-maybe-open-connection)
3426 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3427 connection buffer too early.
3428
3429 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3430 from `tramp-smb-actions-with-acl'.
3431 (tramp-smb-actions-set-acl): New defconst.
3432 (tramp-smb-handle-copy-directory)
3433 (tramp-smb-action-get-acl): New defun, renamed from
3434 `tramp-smb-action-with-acl'.
3435 (tramp-smb-action-set-acl): New defun.
3436 (tramp-smb-handle-set-file-acl): Rewrite.
3437
3438 2013-10-17 Glenn Morris <rgm@gnu.org>
3439
3440 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3441
3442 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * skeleton.el (skeleton-newline): Remove.
3445 (skeleton-internal-1): Use (insert "\n") instead.
3446
3447 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3448 let-bindings.
3449
3450 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3451 forward-sexp-function while we redo its job (bug#15613).
3452
3453 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3454
3455 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3456 represented by lists.
3457
3458 2013-10-16 Glenn Morris <rgm@gnu.org>
3459
3460 * tmm.el (tmm--history): New dynamic variable.
3461 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3462
3463 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3464
3465 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3466 (tramp-smb-errors): Add error messages.
3467 (tramp-smb-actions-with-acl): New defconst.
3468 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3469 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3470 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3471 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3472 (tramp-smb-get-stat-capability): Fix tests.
3473
3474 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3475
3476 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3477 (bug#15580).
3478
3479 2013-10-16 Glenn Morris <rgm@gnu.org>
3480
3481 * ansi-color.el (ansi-color-drop-regexp):
3482 Add 1J, 1K, 2K. (Bug#15617)
3483
3484 * files.el (hack-local-variables--warned-lexical): New.
3485 (hack-local-variables):
3486 Warn about misplaced lexical-binding. (Bug#15616)
3487
3488 * net/eww.el (eww-render): Always set eww-current-url,
3489 and update header line. (Bug#15622)
3490 (eww-display-html): ... Rather than just doing it here.
3491
3492 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3493
3494 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3495 menu navigations commands.
3496
3497 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3498
3499 * progmodes/subword.el (subword-capitalize): Be careful when
3500 the search for [[:alpha:]] fails (bug#15580).
3501
3502 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3503
3504 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3505 to commands that scroll the menu.
3506
3507 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3508
3509 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3510 Handle methods ending with `?' and `!'.
3511
3512 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3513
3514 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3515 `japanese-cp932' to `cp932' to fix the problem where saving a
3516 source file written in Shift_JIS twice would end up having
3517 `coding: japanese-cp932' which Ruby could not recognize.
3518 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3519 in `ruby-encoding-map'.
3520 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3521 doesn't need to be explicitly declared in magic comment.
3522 (ruby-encoding-map): Add type declaration for better customize UI.
3523
3524 2013-10-13 Glenn Morris <rgm@gnu.org>
3525
3526 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3527 Occur buffers are read-only. http://bugs.debian.org/720775
3528
3529 * emacs-lisp/authors.el (authors-fixed-entries):
3530 Comment out old alpha stuff.
3531
3532 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3533
3534 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3535 to `after-save-hook' instead of `before-save-hook'.
3536 (ruby-mode-set-encoding): Use the value of coding system used to
3537 write the file. Call `basic-save-buffer-1' after modifying the
3538 buffer.
3539
3540 2013-10-13 Alan Mackenzie <acm@muc.de>
3541
3542 Fix indentation/fontification of Java enum with
3543 "implements"/generic.
3544
3545 * progmodes/cc-engine.el (c-backward-over-enum-header):
3546 Extracted from the three other places and enhanced to handle generics.
3547 (c-inside-bracelist-p): Uses new function above.
3548 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3549 function above.
3550 (c-font-lock-enum-tail): Uses new function above.
3551
3552 2013-10-13 Kenichi Handa <handa@gnu.org>
3553
3554 * international/mule-cmds.el (select-safe-coding-system): Remove a
3555 superfluous condition in chekcing whether a coding system is safe
3556 or not.
3557
3558 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3559
3560 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3561
3562 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3563
3564 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3565
3566 2013-10-13 Glenn Morris <rgm@gnu.org>
3567
3568 * menu-bar.el (menu-bar-update-buffers):
3569 Unify Buffers menu prompt string. (Bug#15576)
3570
3571 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3572
3573 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3574 Add some entries.
3575 (authors-fixed-entries): Use accented form of name.
3576
3577 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3580 method calls (bug#15594).
3581 (ruby-smie--args-separator-p): New function.
3582 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3583 recognize paren-free method calls.
3584
3585 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3586 internals of universal-argument.
3587
3588 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3589
3590 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3591 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3592 dropped menu on second mouse click on the menu bar.
3593
3594 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3595
3596 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3597 (explicit-shell-file-name): Declare.
3598 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3599 (sh-completion-at-point-function): New function.
3600 (sh-mode): Use it.
3601 (sh-smie--keyword-p): Remove unused argument.
3602 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3603 vars.
3604 (sh-set-shell): Always setup SMIE, even if we use the
3605 old indentation code.
3606
3607 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3608
3609 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3610 cases of ? and =.
3611 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3612 predicate would return nil are almost non-existent.
3613 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3614
3615 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3616 cache also after commands that modify the buffer but don't move
3617 point.
3618
3619 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * env.el (substitute-env-in-file-name): New function.
3622 (substitute-env-vars): Extend the meaning of the optional arg.
3623
3624 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3625
3626 * term/w32-win.el (dynamic-library-alist): Define separate lists
3627 of GIF DLLs for versions before and after 5.0.0 of giflib.
3628 (Bug#15531)
3629
3630 2013-10-10 João Távora <joaotavora@gmail.com>
3631
3632 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3633 not locked, use last revision and current source as
3634 defaults. (Bug#15569)
3635
3636 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3637
3638 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3639 menu-bar is hidden.
3640
3641 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3642
3643 * window.el (pop-to-buffer-same-window): Fix doc-string.
3644 (Bug#15492)
3645
3646 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3649
3650 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3651
3652 * calendar/icalendar.el (icalendar-import-file):
3653 Fix interactive spec. (Bug#15482)
3654
3655 2013-10-10 Glenn Morris <rgm@gnu.org>
3656
3657 * desktop.el (desktop-save): Default to saving in .emacs.d,
3658 since PWD is no longer in desktop-path by default. (Bug#15319)
3659
3660 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3661 now that text mode has a menu with the same entry.
3662 (menu-bar-text-mode-auto-fill): Remove now unused func.
3663 * textmodes/text-mode.el (text-mode-map):
3664 Use auto-fill help text from menu-bar.el.
3665
3666 2013-10-10 John Anthony <john@jo.hnanthony.com>
3667
3668 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3669
3670 2013-10-09 Juri Linkov <juri@jurta.org>
3671
3672 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3673 instead of this-command-keys. Add universal-argument-more and
3674 universal-argument-minus to the list of prefix commands. (Bug#15568)
3675
3676 2013-10-09 Glenn Morris <rgm@gnu.org>
3677
3678 * vc/vc-svn.el (vc-svn-create-repo):
3679 Expand paths in file://... url. (Bug#15446)
3680
3681 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3682 Add some entries.
3683 (authors): Remove unused local variables.
3684
3685 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * profiler.el: Create a more coherent calltree from partial backtraces.
3688 (profiler-format): Hide the tail with `invisible' so that C-s can still
3689 find the hidden elements.
3690 (profiler-calltree-depth): Don't recurse so enthusiastically.
3691 (profiler-function-equal): New hash-table-test.
3692 (profiler-calltree-build-unified): New function.
3693 (profiler-calltree-build): Use it.
3694 (profiler-report-make-name-part): Indent the calltree less.
3695 (profiler-report-mode): Add visibility specs for profiler-format.
3696 (profiler-report-expand-entry, profiler-report-toggle-entry):
3697 Expand the whole subtree when provided with a prefix arg.
3698
3699 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3700
3701 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3702 iuwu-mod token.
3703 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3704 hanging iuwu-mod token.
3705 (ruby-smie--forward-token): Do not include a dot after a token in
3706 that token.
3707 (ruby-smie--backward-token): Likewise.
3708
3709 2013-10-08 Juri Linkov <juri@jurta.org>
3710
3711 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3712 to isearch-other-control-char.
3713 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3714 and isearch-post-command-hook to post-command-hook.
3715 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3716 and isearch-post-command-hook from post-command-hook.
3717 (isearch-unread-key-sequence)
3718 (isearch-reread-key-sequence-naturally)
3719 (isearch-lookup-scroll-key, isearch-other-control-char)
3720 (isearch-other-meta-char): Remove functions.
3721 (isearch-pre-command-hook, isearch-post-command-hook):
3722 New functions based on isearch-other-meta-char rewritten
3723 relying on the new behavior of overriding-terminal-local-map
3724 that does not replace the local keymaps any more. (Bug#15200)
3725
3726 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3727
3728 Support menus on text-mode terminals.
3729 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3730 functionality.
3731
3732 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3733
3734 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3735 Move here from mouse.el.
3736 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3737 and arrow keys.
3738 (tty-menu-navigation-map): New map for TTY menu navigation.
3739
3740 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3741
3742 * frame.el (display-mouse-p): Report text-mode mouse as available
3743 on w32.
3744 (display-popup-menus-p): Report availability if mouse is
3745 available; don't condition on window-system.
3746
3747 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3748 (tty-menu-selected-face): New faces.
3749
3750 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3753 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3754 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3755 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3756 New constants.
3757 (lisp-mode-variables): New `elisp' argument.
3758 (emacs-lisp-mode): Use it.
3759 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3760 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3761
3762 * indent.el: Use lexical-binding.
3763 (indent-region): Add progress reporter.
3764 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3765 last step.
3766 (indent--next-tab-stop): New function to implement this behavior.
3767 (tab-to-tab-stop, move-to-tab-stop): Use it.
3768
3769 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3770
3771 * indent.el (indent-rigidly--current-indentation): New function.
3772 (indent-rigidly-map): New var.
3773 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3774
3775 2013-10-08 Bastien Guerry <bzg@gnu.org>
3776
3777 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3778
3779 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 * progmodes/perl-mode.el: Use lexical-binding.
3782 Remove redundant :group args.
3783 (perl-nochange): Change default to be closer to other major modes's
3784 standard behavior.
3785 (perl-indent-line): Don't consider text on current line as a
3786 valid beginning of function from which to indent.
3787
3788 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3789 with more than one argument (bug#15538).
3790
3791 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3792
3793 * vc/pcvs.el: Use lexical-binding.
3794 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3795 environment of `eval'.
3796 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3797 than a list of expressions. Adjust callers.
3798 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3799
3800 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3801
3802 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3803 case of the dot in a chained method call being on the following line.
3804
3805 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * electric.el (electric-indent-inhibit): New var.
3808 (electric-indent-post-self-insert-function): Use it.
3809 * progmodes/python.el (python-mode): Set it.
3810
3811 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3812 open braces.
3813
3814 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3815
3816 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3817 (css-mode): Use electric-indent-chars.
3818
3819 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3820 (font-lock-beg, font-lock-end): Move before first use.
3821 (nxml-mode): Use syntax-propertize-function.
3822 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3823 (nxml-extend-after-change-region): Remove.
3824 * nxml/xmltok.el: Use lexical-binding.
3825 (xmltok-save): Use `declare'.
3826 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3827 * nxml/nxml-util.el: Use lexical-binding.
3828 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3829 Use `declare'.
3830 * nxml/nxml-ns.el: Use lexical-binding.
3831 (nxml-ns-save): Use `declare'.
3832 (nxml-ns-prefixes-for): Avoid add-to-list.
3833 * nxml/rng-match.el: Use lexical-binding.
3834 (rng--ipattern): Use cl-defstruct.
3835 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3836 (rng-cons-group-after, rng-subst-group-after)
3837 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3838 Use closures instead of `(lambda...).
3839
3840 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3841
3842 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3843 of BEG and END.
3844
3845 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3846 Use `tramp-handle-insert-file-contents'.
3847 (tramp-gvfs-handle-insert-file-contents): Remove function.
3848
3849 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3850 Use `save-restriction' in order to keep markers.
3851
3852 * net/trampver.el: Update release number.
3853
3854 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * progmodes/compile.el (compilation-parse-errors):
3857 Use compilation--put-prop.
3858 (compilation--ensure-parse): Check compilation-multiline.
3859
3860 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3861
3862 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3863 lexical-binding.
3864
3865 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3866
3867 * progmodes/ruby-mode.el: Fix recently added tests.
3868 (ruby-smie-grammar): Add - and +.
3869 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3870 (ruby-smie--backward-id): New functions.
3871 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3872 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3873 any more.
3874
3875 2013-10-07 Leo Liu <sdl.web@gmail.com>
3876
3877 * register.el (register-preview-delay)
3878 (register-preview-functions): New variables.
3879 (register-read-with-preview, register-preview)
3880 (register-describe-oneline): New functions.
3881 (point-to-register, window-configuration-to-register)
3882 (frame-configuration-to-register, jump-to-register)
3883 (number-to-register, view-register, insert-register)
3884 (copy-to-register, append-to-register, prepend-to-register)
3885 (copy-rectangle-to-register): Use register-read-with-preview to
3886 read register. (Bug#15525)
3887
3888 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3889
3890 * net/network-stream.el (network-stream-open-starttls): Don't add
3891 --insecure if it's already present, because that gnutls-cli
3892 rejects getting that parameter twice.
3893
3894 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3895
3896 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3897 keyword, too.
3898
3899 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3900
3901 * newcomment.el (comment-use-global-state): Change default value
3902 to t, mark obsolete (Bug#15251).
3903 (comment-beginning): In addition to `comment-to-syntax', check the
3904 value of `comment-use-global-state'.
3905
3906 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3909 (ruby-comment-column): Follow the global default, by default.
3910 (ruby-smie-grammar): Add assignment syntax.
3911 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3912 open-paren, a comma, or a \.
3913 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3914 and line continuations.
3915 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3916 followed by implicit semi-colons. Add rule for string concatenation
3917 and for indentation at BOB.
3918 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3919
3920 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3921 calling next-sexp, since next-token may have skipped chars which
3922 next-sexp doesn't know should be skipped!
3923
3924 2013-10-05 Leo Liu <sdl.web@gmail.com>
3925
3926 * progmodes/octave.el (octave-send-region):
3927 Call compilation-forget-errors.
3928
3929 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3930
3931 * vc/vc-svn.el (vc-svn-find-admin-dir):
3932 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3933 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3934 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3935 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3936
3937 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3940
3941 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * subr.el (read-passwd): Hide chars even when called within a context
3944 where after-change-functions is disabled (bug#15501).
3945 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3946 until we removed ourself from overriding-terminal-local-map.
3947
3948 2013-10-04 Leo Liu <sdl.web@gmail.com>
3949
3950 * progmodes/octave.el (inferior-octave-mode):
3951 Call compilation-forget-errors.
3952
3953 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3954
3955 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3956
3957 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3958
3959 * net/secrets.el (secrets-create-collection): Add optional
3960 argument ALIAS. Use proper Label keyword. Append ALIAS as
3961 dbus-call-method argument. (Bug#15516)
3962
3963 2013-10-04 Leo Liu <sdl.web@gmail.com>
3964
3965 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3966 (inferior-octave-compilation-font-lock-keywords): New variables.
3967 (compilation-error-regexp-alist)
3968 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3969 (inferior-octave-mode): Use compilation-shell-minor-mode.
3970
3971 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3972
3973 * minibuffer.el (completion--replace): Be careful that `end' might be
3974 a marker.
3975
3976 2013-10-03 Daiki Ueno <ueno@gnu.org>
3977
3978 Add support for package signature checking.
3979 * emacs-lisp/package.el (url-http-file-exists-p)
3980 (epg-make-context, epg-context-set-home-directory)
3981 (epg-verify-string, epg-context-result-for)
3982 (epg-signature-status, epg-signature-to-string)
3983 (epg-check-configuration, epg-configuration)
3984 (epg-import-keys-from-file): Declare.
3985 (package-check-signature): New user option.
3986 (package-unsigned-archives): New user option.
3987 (package-desc): Add `signed' field.
3988 (package-load-descriptor): Set `signed' field if .signed file exists.
3989 (package--archive-file-exists-p): New function.
3990 (package--check-signature): New function.
3991 (package-install-from-archive): Check package signature.
3992 (package--download-one-archive): Check archive signature.
3993 (package-delete): Remove .signed file.
3994 (package-import-keyring): New command.
3995 (package-refresh-contents): Import default keyring.
3996 (package-desc-status): Add "unsigned" status.
3997 (describe-package-1, package-menu--print-info)
3998 (package-menu-mark-delete, package-menu--find-upgrades)
3999 (package-menu--status-predicate): Support "unsigned" status.
4000
4001 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4004 the new compilation scheme using the new byte-codes.
4005
4006 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4007 (byte-pophandler): New byte codes.
4008 (byte-goto-ops): Adjust accordingly.
4009 (byte-compile--use-old-handlers): New var.
4010 (byte-compile-catch): Use new byte codes depending on
4011 byte-compile--use-old-handlers.
4012 (byte-compile-condition-case--old): Rename from
4013 byte-compile-condition-case.
4014 (byte-compile-condition-case--new): New function.
4015 (byte-compile-condition-case): New function that dispatches depending
4016 on byte-compile--use-old-handlers.
4017 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4018 when we can.
4019
4020 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4021 Optimize under `condition-case' and `catch' if
4022 byte-compile--use-old-handlers is nil.
4023 (disassemble-offset): Handle new bytecodes.
4024
4025 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * subr.el (error): Use `declare'.
4028 (decode-char, encode-char): Use advertised-calling-convention instead
4029 of the docstring to discourage use of the `restriction' arg.
4030
4031 2013-10-03 Daiki Ueno <ueno@gnu.org>
4032
4033 * epg.el (epg-verify-file): Add a comment saying that it does not
4034 notify verification error as a return value nor a signal.
4035 (epg-verify-string): Ditto.
4036
4037 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4038
4039 * progmodes/compile.el (compilation-start): Try globbing the arg to
4040 `cd' (bug#15417).
4041
4042 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4043
4044 Sync with Tramp 2.2.8.
4045
4046 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4047 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4048 * net/trampver.el: Update release number.
4049
4050 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4051
4052 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4053 and default-process-coding-system for darwin only.
4054
4055 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4058
4059 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4060
4061 * vc/vc-git.el (vc-git-grep): Disable pager.
4062
4063 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4064
4065 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4066 Use :url instead of :homepage, as per
4067 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4068
4069 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4070 non-nil, use `syntax-ppss' (Bug#15251).
4071
4072 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4073
4074 * progmodes/octave.el (inferior-octave-startup-file):
4075 Prefer ~/.emacs.d/init_octave.m.
4076
4077 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4078
4079 * emacs-lisp/package.el (package-desc-from-define):
4080 Accept additional arguments as plist, convert them to an alist and store
4081 them in the `extras' slot.
4082 (package-generate-description-file): Convert extras alist back to
4083 plist and append to the `define-package' form arguments.
4084 (package--alist-to-plist): New function.
4085 (package--ac-desc): Add `extras' slot.
4086 (package--add-to-archive-contents): Check if the archive-contents
4087 vector is long enough, and if it is, pass its `extras' slot value
4088 to `package-desc-create'.
4089 (package-buffer-info): Call `lm-homepage', pass the returned value
4090 to `package-desc-from-define'.
4091 (describe-package-1): Render the homepage button (Bug#13291).
4092
4093 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4094 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4095
4096 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4097
4098 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4099 and default-process-coding-system to utf-8-unix (Bug#15402).
4100
4101 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4102
4103 * subr.el (looking-back): Do not recommend using looking-back.
4104
4105 2013-09-28 Alan Mackenzie <acm@muc.de>
4106
4107 Fix indentation/fontification of Java enum with "implements".
4108
4109 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4110 regexp which matches "implements", etc., in Java.
4111 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4112 specifier clauses coming after "enum".
4113 * progmodes/cc-fonts.el (c-font-lock-declarations)
4114 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4115 after "enum".
4116
4117 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4118
4119 * faces.el (region): Change ns_selection_color to
4120 ns_selection_fg_color, add ns_selection_bg_color.
4121
4122 2013-09-28 Leo Liu <sdl.web@gmail.com>
4123
4124 * progmodes/octave.el (inferior-octave-completion-table)
4125 (inferior-octave-completion-at-point): Minor tweaks.
4126
4127 * textmodes/ispell.el (ispell-lookup-words): Rename from
4128 lookup-words. (Bug#15460)
4129 (lookup-words): Obsolete.
4130 (ispell-complete-word, ispell-command-loop): All uses changed.
4131
4132 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4133
4134 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4135 (octave-mode-menu): Add octave-send-buffer.
4136 (octave-send-buffer): New function.
4137
4138 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4139
4140 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
4141 octave-lookfor.
4142 (octave-mode-menu): Add octave-lookfor.
4143 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4144 octave-lookfor.
4145 (octave-lookfor): New function.
4146
4147 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * emacs-lisp/cl-macs.el:
4150 (cl--loop-destr-temps): Remove.
4151 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4152 its convention.
4153 (cl--loop-set-iterator-function): New function.
4154 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4155 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4156 Bind `it' with `let' instead of substituting it with `cl-subst'.
4157 (cl--unused-var-p): New function.
4158 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4159 Eliminate some unused variable warnings (bug#15326).
4160
4161 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4162
4163 * doc-view.el (doc-view-scale-reset): Rename from
4164 `doc-view-reset-zoom-level'.
4165 (doc-view-scale-adjust): New command.
4166 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4167 `doc-view-scale-adjust'.
4168
4169 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4170
4171 * doc-view.el (doc-view-reset-zoom-level): New command.
4172 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4173 zoom commands (bug#15466).
4174
4175 2013-09-26 Kenichi Handa <handa@gnu.org>
4176
4177 * international/quail.el (quail-help): Make it not a command.
4178
4179 2013-09-26 Leo Liu <sdl.web@gmail.com>
4180
4181 * minibuffer.el (completion-all-sorted-completions): Make args
4182 optional as they are.
4183
4184 2013-09-25 Daniel Colascione <dancol@dancol.org>
4185
4186 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4187 specs are and that they're not evaluated.
4188
4189 2013-09-24 Sam Steingold <sds@gnu.org>
4190
4191 * midnight.el (clean-buffer-list-kill-regexps)
4192 (clean-buffer-list-kill-buffer-names): Update for the new Man
4193 buffer naming which includes the object name.
4194
4195 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4198 (eshell-parse-command, eshell-parse-pipeline): Use it since
4199 eshell-separate-commands requires a dynamic scoped var.
4200 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4201
4202 2013-09-23 Leo Liu <sdl.web@gmail.com>
4203
4204 * autoinsert.el (auto-insert-alist): Make the value of
4205 lexical-binding match its file setting.
4206
4207 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4208
4209 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4210
4211 * autoarg.el (autoarg-kp-digit-argument):
4212 * electric.el (Electric-command-loop):
4213 * kmacro.el (kmacro-step-edit-insert):
4214 Do not set universal-argument-num-events.
4215
4216 2013-09-22 Leo Liu <sdl.web@gmail.com>
4217
4218 * files.el (interpreter-mode-alist): Add octave.
4219
4220 2013-09-21 Alan Mackenzie <acm@muc.de>
4221
4222 C++: fontify identifier in declaration following "public:" correctly.
4223 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4224 to match "public", etc.
4225 (c-decl-prefix-re): Add ":" into the C++ value.
4226 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4227 bit. Add a check for a ":" preceded by "public", etc.
4228
4229 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4230
4231 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4232 recognized by GDB 7.5 and later.
4233
4234 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4235
4236 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4237
4238 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4239
4240 * subr.el (internal--call-interactively): New const.
4241 (called-interactively-p): Use it (bug#3984).
4242
4243 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4244
4245 * vc/pcvs.el (cvs-mode-ignore):
4246 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4247 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4248
4249 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4252 (eshell-ls-orig-insert-directory): Remove.
4253 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4254 (eshell-ls-use-in-dired): Use advice-add/remove.
4255 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4256 Add `orig-fun' arg for use in :around advice.
4257 Make it check (redundantly) eshell-ls-use-in-dired.
4258
4259 2013-09-19 Glenn Morris <rgm@gnu.org>
4260
4261 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4262
4263 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4264
4265 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4266
4267 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4268
4269 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4270 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4271 (tramp-get-remote-python): New defuns.
4272 (tramp-get-remote-uid-with-perl)
4273 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4274 contributed by yary <not.com@gmail.com> (tiny change).
4275 (tramp-get-remote-uid-with-python)
4276 (tramp-get-remote-gid-with-python): New defuns. Python code
4277 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4278 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4279
4280 2013-09-19 Glenn Morris <rgm@gnu.org>
4281
4282 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4283
4284 * eshell/em-unix.el (eshell-remove-entries):
4285 Rename argument to avoid name-clash with global `top-level'.
4286
4287 * eshell/esh-proc.el (eshell-kill-process-function):
4288 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4289 (eshell-reset-after-proc): Remove unused arg `proc'.
4290
4291 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4292 (directory-files-and-attributes): Mark unused arg.
4293
4294 * eshell/em-unix.el (eshell-remove-entries):
4295 Remove unused arg `path'. Update callers.
4296
4297 * eshell/em-hist.el (eshell-hist-parse-arguments):
4298 Remove unused arg `silent'. Update callers.
4299
4300 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4301 Fix (f)boundp mix-up.
4302
4303 * eshell/em-smart.el (eshell-smart-scroll-window)
4304 (eshell-disable-after-change):
4305 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4306
4307 2013-09-18 Alan Mackenzie <acm@muc.de>
4308
4309 Fix fontification of type when followed by "const".
4310 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4311 "known" types from fontification.
4312
4313 2013-09-18 Glenn Morris <rgm@gnu.org>
4314
4315 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4316 (chart-face-list): Drop Emacsen without display-color-p.
4317
4318 * net/eww.el (libxml-parse-html-region): Declare.
4319 (eww-display-html): Explicit error if no libxml2 support.
4320
4321 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4322
4323 * image.el (image-type-from-buffer, image-multi-frame-p):
4324 Remove --without-x warning/error.
4325
4326 * mouse.el (mouse-yank-primary):
4327 * term.el (term-mouse-paste):
4328 Reorder to silence --without-x compilation.
4329
4330 * mpc.el (doc-view-mode): Silence --without-x compilation.
4331
4332 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4333 Silence --without-x compilation.
4334
4335 * progmodes/gud.el (gud-find-file, gud-mode):
4336 Silence --without-x compilation.
4337 (tooltip-mode): Declare.
4338
4339 * wdired.el (dired-backup-overwrite): Remove declaration.
4340 (wdired-mode-map): Add doc string.
4341
4342 * custom.el (x-get-resource): Declare.
4343
4344 * eshell/em-glob.el (ange-cache):
4345 * eshell/em-unix.el (ange-cache): Declare.
4346
4347 * faces.el (x-display-list, x-open-connection, x-get-resource):
4348 Declare.
4349
4350 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4351 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4352 Declare.
4353
4354 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4355
4356 * net/gnutls.el (gnutls-log-level): Declare.
4357
4358 * net/shr.el (image-size, image-animate): Declare.
4359
4360 * simple.el (font-info): Declare.
4361
4362 * subr.el (x-popup-dialog): Declare.
4363
4364 * term/common-win.el (x-select-enable-primary)
4365 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4366 Declare.
4367
4368 * term/ns-win.el (x-handle-args): Declare.
4369
4370 * term/x-win.el (x-select-enable-clipboard): Declare.
4371
4372 * term/w32-win.el (create-default-fontset): Declare.
4373
4374 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4375 Declare.
4376
4377 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4378 (fit-frame-to-buffer): Explicit error if --without-x.
4379 (mouse-autoselect-window-select): Silence compiler.
4380
4381 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4382
4383 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4384 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4385 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4386 * eshell/esh-util.el (eshell-sublist):
4387 Remove unused local variables.
4388
4389 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4390
4391 * textmodes/two-column.el: Make 2C-split work for --without-x.
4392 (scroll-bar-columns): Autoload.
4393 (top-level): Require fringe when compiling.
4394
4395 2013-09-18 Leo Liu <sdl.web@gmail.com>
4396
4397 * subr.el (add-hook): Robustify to handle closure as well.
4398
4399 2013-09-17 Glenn Morris <rgm@gnu.org>
4400
4401 * simple.el (messages-buffer-mode-map): Unbind "g".
4402
4403 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * help-mode.el (help-mode-finish): Use derived-mode-p.
4406 Remove obsolete highlighting.
4407
4408 * play/life.el (life-mode): Use define-derived-mode. Derive from
4409 special-mode.
4410 (life): Let-bind inhibit-read-only.
4411 (life-setup): Avoid `setq'. Use `life-mode'.
4412
4413 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4414 which should not be needed any more.
4415 (package-menu-refresh, package-menu-describe-package): Use user-error.
4416
4417 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4418 (eshell-post-rewrite-command-hook): Make obsolete.
4419 (eshell-parse-command): Simplify.
4420 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4421 (eshell--cmd): Declare.
4422 (eshell-parse-pipeline): Remove unused var `final-p'.
4423 Pass a dynvar to eshell-post-rewrite-command-hook.
4424 Implement the new eshell-post-rewrite-command-function.
4425 (eshell-invoke-directly): Remove unused arg `input'.
4426 * eshell/esh-io.el (eshell-io-initialize):
4427 Use eshell-post-rewrite-command-function (bug#15399).
4428 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4429 adjust to new calling convention.
4430 (eshell-create-handles): Rename args to avoid clashing with dynvar
4431 `standard-output'.
4432
4433 2013-09-17 Glenn Morris <rgm@gnu.org>
4434
4435 * simple.el (messages-buffer-mode): New major mode.
4436 (messages-buffer): New function.
4437 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4438 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4439 (ert-run-test): Use `messages-buffer' function.
4440 (ert--force-message-log-buffer-truncation): Ignore read-only.
4441 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4442 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4443
4444 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4447
4448 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4449
4450 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * icomplete.el (icomplete-in-buffer): New var.
4453 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4454 vars and replace them with functions.
4455 (icomplete-minibuffer-setup): Adjust accordingly.
4456 (icomplete--completion-table, icomplete--completion-predicate)
4457 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4458 New functions.
4459 (icomplete-forward-completions, icomplete-backward-completions)
4460 (icomplete-simple-completing-p, icomplete-exhibit)
4461 (icomplete-completions): Use them.
4462 (icomplete--in-region-buffer): New var.
4463 (icomplete--in-region-setup): New function.
4464 (icomplete-mode): Use it.
4465
4466 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4467 (bug#15379).
4468 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4469 return args and options.
4470 (eshell-eval-using-options): Use the new return value of
4471 eshell--do-opts to set the options's vars in their scope.
4472 (eshell--set-option): Rename from eshell-set-option.
4473 Add arg `opt-vals'.
4474 (eshell--process-option): Rename from eshell-process-option.
4475 Add arg `opt-vals'.
4476 (eshell--process-args): Use an `opt-vals' alist to store the options's
4477 values during their processing and return them additionally to the
4478 remaining args.
4479
4480 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4481
4482 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4483 continuation character an operator, as far as indentation is
4484 concerned (Bug#15369).
4485
4486 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4487
4488 * window.el (window--state-put-2): Don't process buffer state
4489 when buffer doesn't exist any more (Bug#15382).
4490
4491 2013-09-15 Glenn Morris <rgm@gnu.org>
4492
4493 * eshell/em-unix.el (eshell/rm):
4494 Make -f ignore missing files. (Bug#15373)
4495
4496 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4497 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4498 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4499
4500 2013-09-14 Glenn Morris <rgm@gnu.org>
4501
4502 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4503
4504 2013-09-13 Glenn Morris <rgm@gnu.org>
4505
4506 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4507 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4508
4509 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4510
4511 * frame.el (x-focus-frame): Mark as declared in frame.c.
4512
4513 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * ls-lisp.el: Use advice-add.
4516 (original-insert-directory): Remove.
4517 (ls-lisp--insert-directory): Rename from insert-directory; add
4518 `orig-fun' argument.
4519 (insert-directory): Advise.
4520
4521 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4522
4523 * term.el (term-emulate-terminal): Decode the command string
4524 before passing it to term-command-hook. (Bug#15337)
4525
4526 2013-09-13 Glenn Morris <rgm@gnu.org>
4527
4528 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4529
4530 * eshell/esh-ext.el (eshell-search-path): Declare.
4531
4532 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4533 Otherwise an error occurs if eshell-dirs module not loaded.
4534
4535 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4536
4537 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4538
4539 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4540 `tramp-check-proper-host'. Check for a valid method name.
4541
4542 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4543 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4544 * net/tramp-sh.el (tramp-maybe-open-connection):
4545 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4546
4547 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4548 also for hash values.
4549
4550 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * term/ns-win.el (parameters): Don't declare as dynamic.
4553 (before-make-frame-hook): Don't add ineffective function.
4554
4555 * eshell/*.el: Use lexical-binding (bug#15231).
4556
4557 2013-09-12 Kenichi Handa <handa@gnu.org>
4558
4559 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4560
4561 2013-09-12 Glenn Morris <rgm@gnu.org>
4562
4563 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4564 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4565
4566 * subr.el (do-after-load-evaluation): Also give compiler warnings
4567 when obsolete files are used (except by obsolete files).
4568
4569 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4570 in the status output, assume `filename' is the first. (Bug#15322)
4571
4572 * vc/vc.el (vc-deduce-fileset): Doc fix.
4573
4574 * calc/calc-help.el (Info-goto-node):
4575 * progmodes/cperl-mode.el (Info-find-node):
4576 * vc/ediff.el (Info-goto-node): Update declarations.
4577
4578 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4579
4580 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4581 (vc-bzr-pull): Require vc-dispatcher.
4582 * vc/vc-git.el (vc-compilation-mode): Declare.
4583 (vc-git-pull): Require vc-dispatcher.
4584
4585 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4586
4587 * progmodes/octave.el (help-button-action): Declare.
4588
4589 * shell.el (shell-directory-tracker): Output error as a message
4590 rather than just returning it as a string.
4591 (shell-process-pushd): Remove useless use of message.
4592
4593 * dframe.el (dframe-timer-fn):
4594 * files.el (dir-locals-read-from-file):
4595 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4596 (mpc-format):
4597 * reveal.el (reveal-post-command):
4598 * saveplace.el (load-save-place-alist-from-file):
4599 * shell.el (shell-resync-dirs):
4600 * w32-common-fns.el (x-get-selection-value):
4601 * emacs-lisp/copyright.el (copyright-find-copyright):
4602 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4603 * emulation/tpu-edt.el (tpu-copy-keyfile):
4604 * play/bubbles.el (bubbles--mark-neighbourhood):
4605 * progmodes/executable.el
4606 (executable-make-buffer-file-executable-if-script-p):
4607 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4608
4609 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 Cleanup Eshell to rely less on dynamic scoping.
4612 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4613 last-value, and ext-command here. Bind `args' closer to `body'.
4614 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4615 (eshell--args): Declare new dynamic var.
4616 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4617 last-value, and ext-command. Pass `args' to `body'.
4618 (eshell-process-args): Bind eshell--args.
4619 (eshell-set-option): Use eshell--args.
4620 * eshell/eshell.el (eshell): Use derived-mode-p.
4621 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4622 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4623 (eshell-glob-function): Declare.
4624 * eshell/esh-util.el: Require cl-lib.
4625 (eshell-read-hosts-file): Avoid add-to-list.
4626 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4627 `err'.
4628 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4629 Declare.
4630 (eshell/diff): Remove unused var `err'.
4631 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4632 `killflag'.
4633 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4634 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4635 first use.
4636 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4637 Move declaration before first use.
4638 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4639 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4640 rely on cl-return.
4641
4642 2013-09-12 Glenn Morris <rgm@gnu.org>
4643
4644 * term/ns-win.el (global-map): Remove binding for ispell-next,
4645 deleted 1999-05-29. (Bug#15357)
4646
4647 2013-09-11 Glenn Morris <rgm@gnu.org>
4648
4649 * echistory.el (electric-command-history): Remove call to deleted func.
4650
4651 * play/landmark.el (landmark-mode): Fix typos.
4652
4653 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4654 Check cvs-sort-ignore-file is bound.
4655
4656 * savehist.el: No need for cl when compiling on Emacs.
4657
4658 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4661 (bug#15338).
4662 (eshell-self-insert-command, eshell-send-invisible):
4663 Remove unused argument.
4664 (eshell-handle-control-codes): Remove unused var `orig'.
4665 Avoid delete-backward-char.
4666
4667 * files.el (set-auto-mode): Simplify a bit further.
4668
4669 2013-09-11 Glenn Morris <rgm@gnu.org>
4670
4671 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4672 (set-auto-mode): Don't regexp-quote elements.
4673 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4674 * progmodes/cc-mode.el (interpreter-mode-alist):
4675 * progmodes/ruby-mode.el (interpreter-mode-alist):
4676 Revert previous change.
4677
4678 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4679
4680 * play/snake.el (snake-mode):
4681 * play/mpuz.el (mpuz-mode):
4682 * play/landmark.el (lm-mode):
4683 * play/blackbox.el (blackbox-mode):
4684 * play/5x5.el (5x5-mode):
4685 * obsolete/options.el (Edit-options-mode):
4686 * net/quickurl.el (quickurl-list-mode):
4687 * net/newst-treeview.el (newsticker-treeview-mode):
4688 * mail/rmailsum.el (rmail-summary-mode):
4689 * mail/mspools.el (mspools-mode):
4690 * locate.el (locate-mode):
4691 * ibuffer.el (ibuffer-mode):
4692 * emulation/ws-mode.el (wordstar-mode):
4693 * emacs-lisp/debug.el (debugger-mode):
4694 * array.el (array-mode):
4695 * net/eudc.el (eudc-mode): Use define-derived-mode.
4696 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4697 Move initialization into declaration.
4698 (mairix-searches-mode): Use define-derived-mode.
4699 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4700 (eudc-edit-hotlist): Use dolist.
4701 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4702 (Man-mode): Use define-derived-mode.
4703 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4704 (Info-edit-mode): Use define-derived-mode.
4705 (Info-cease-edit): Use Info-mode.
4706 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4707 into declaration.
4708 (eshell-mode): Use define-derived-mode.
4709 * chistory.el (command-history-mode-map): Rename from
4710 command-history-map.
4711 (command-history-mode): Use define-derived-mode.
4712 (Command-history-setup): Remove function.
4713 * calc/calc.el (calc-trail-mode-map): New var.
4714 (calc-trail-mode): Use define-derived-mode.
4715 (calc-trail-buffer): Set calc-main-buffer manually.
4716 * bookmark.el (bookmark-insert-annotation): New function.
4717 (bookmark-edit-annotation): Use it.
4718 (bookmark-edit-annotation-mode): Make it a proper major mode.
4719 (bookmark-send-edited-annotation): Use derived-mode-p.
4720 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4721 closer to its ideal place. Use \' to match EOS.
4722
4723 * profiler.el (profiler-calltree-find): Use function-equal.
4724
4725 2013-09-10 Glenn Morris <rgm@gnu.org>
4726
4727 * files.el (interpreter-mode-alist): Convert to regexps.
4728 (set-auto-mode): Adapt for this. (Bug#15306)
4729 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4730 Comment out unused variable.
4731 * progmodes/cc-mode.el (interpreter-mode-alist):
4732 * progmodes/python.el (interpreter-mode-alist):
4733 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4734 * progmodes/sh-script.el (sh-set-shell):
4735 No longer use interpreter-mode-alist to get list of shells.
4736
4737 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4738
4739 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * simple.el: Use set-temporary-overlay-map for universal-argument.
4742 (universal-argument-map): Don't use default-bindings (bug#15317).
4743 Bind switch-frame explicitly. Replace universal-argument-minus with
4744 a conditional binding.
4745 (universal-argument-num-events, saved-overriding-map): Remove.
4746 (restore-overriding-map): Remove.
4747 (universal-argument--mode): Rename from save&set-overriding-map,
4748 and rewrite.
4749 (universal-argument, universal-argument-more, negative-argument)
4750 (digit-argument): Adjust accordingly.
4751 (universal-argument-minus): Remove.
4752 (universal-argument-other-key): Remove.
4753
4754 * subr.el (with-demoted-errors): Add `format' argument.
4755
4756 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4757
4758 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4759 `tramp-cleanup-connection'.
4760
4761 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4762 parameters KEEP-DEBUG and KEEP-PASSWORD.
4763
4764 * net/tramp.el (tramp-file-name-handler):
4765 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4766 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4767 (tramp-maybe-open-connection):
4768 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4769 Use `tramp-cleanup-connection'.
4770
4771 * net/tramp-sh.el (tramp-maybe-open-connection):
4772 Catch 'uname-changed inside the progress reporter.
4773
4774 2013-09-10 Glenn Morris <rgm@gnu.org>
4775
4776 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4777
4778 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4779 returns "alternate access method" in mode (eg "-rw-r--r--.").
4780
4781 2013-09-08 Glenn Morris <rgm@gnu.org>
4782
4783 * saveplace.el (load-save-place-alist-from-file):
4784 Demote errors. (Bug#15305)
4785
4786 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4787
4788 Improve compatibility with older Emacsen, and XEmacs.
4789
4790 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4791 only if it is bound. It isn't for XEmacs.
4792 (with-tramp-progress-reporter): Do not let-bind `result'.
4793 This yields to scoping errors in XEmacs.
4794 (tramp-handle-make-auto-save-file-name): New function, moved from
4795 tramp-sh.el.
4796
4797 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4798 for `make-auto-save-file-name'.
4799 (tramp-adb--gnu-switches-to-ash):
4800 Use `tramp-compat-replace-regexp-in-string'.
4801
4802 * net/tramp-cache.el (tramp-cache-print): Call
4803 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4804
4805 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4806 bound. It isn't for XEmacs.
4807
4808 * net/tramp-compat.el (tramp-compat-copy-file):
4809 Catch `wrong-number-of-arguments' error.
4810 (tramp-compat-replace-regexp-in-string): New defun.
4811
4812 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4813 for `make-auto-save-file-name'.
4814 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4815 `copy-file'.
4816 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4817 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4818 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4819
4820 * net/tramp-gw.el (tramp-gw-open-network-stream):
4821 Use `tramp-compat-replace-regexp-in-string'.
4822
4823 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4824 Call `tramp-handle-make-auto-save-file-name'.
4825 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4826 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4827 (tramp-sh-file-inotifywait-process-filter):
4828 Use `tramp-compat-replace-regexp-in-string'.
4829 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4830
4831 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4832 for `make-auto-save-file-name'.
4833 (tramp-smb-handle-copy-directory):
4834 Call `tramp-compat-replace-regexp-in-string'.
4835 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4836 (tramp-smb-handle-copy-file): Improve error message.
4837 (tramp-smb-handle-rename-file): Rename directly only in case
4838 `newname' does not exist yet. This is a restriction of smbclient.
4839 (tramp-smb-maybe-open-connection): Rerun the function only when
4840 `auth-sources' is non-nil.
4841
4842 2013-09-08 Kenichi Handa <handa@gnu.org>
4843
4844 * international/characters.el: Set category "^" (Combining) for
4845 more characters.
4846
4847 2013-09-07 Alan Mackenzie <acm@muc.de>
4848
4849 Correctly fontify Java class constructors.
4850 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4851 in Java Mode.
4852 (c-recognize-typeless-decls): Set the Java value to t.
4853 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4854 While handling a "(", add a check for, effectively, Java, and handle a
4855 "typeless" declaration there.
4856
4857 2013-09-07 Roland Winkler <winkler@gnu.org>
4858
4859 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4860 field subtitle for entry type book.
4861
4862 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4863
4864 * minibuffer.el: Make minibuffer-complete call completion-in-region
4865 rather than other way around.
4866 (completion--some, completion-pcm--find-all-completions):
4867 Don't delay signals when debugging.
4868 (minibuffer-completion-contents): Beware fields within the
4869 minibuffer contents.
4870 (completion-all-sorted-completions): Use defvar-local.
4871 (completion--do-completion, completion--cache-all-sorted-completions)
4872 (completion-all-sorted-completions, minibuffer-force-complete):
4873 Add args `beg' and `end'.
4874 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4875 (minibuffer-complete): Use completion-in-region.
4876 (completion-complete-and-exit): New fun, extracted from
4877 minibuffer-complete-and-exit.
4878 (minibuffer-complete-and-exit): Use it.
4879 (completion--complete-and-exit): Rename from
4880 minibuffer--complete-and-exit.
4881 (completion-in-region--single-word): New function, extracted from
4882 minibuffer-complete-word.
4883 (minibuffer-complete-word): Use it.
4884 (display-completion-list): Make `common-substring' argument obsolete.
4885 (completion--in-region): Call completion--in-region-1 instead of
4886 minibuffer-complete.
4887 (completion-help-at-point): Pass boundaries to
4888 minibuffer-completion-help as args rather than via an overlay.
4889 (completion-pcm--string->pattern): Use `any-delim'.
4890 (completion-pcm--optimize-pattern): New function.
4891 (completion-pcm--pattern->regex): Handle `any-delim'.
4892 * icomplete.el (icomplete-forward-completions)
4893 (icomplete-backward-completions, icomplete-completions):
4894 Adjust calls to completion-all-sorted-completions and
4895 completion--cache-all-sorted-completions.
4896 (icomplete-with-completion-tables): Default to t.
4897 * emacs-lisp/crm.el (crm--current-element): Rename from
4898 crm--select-current-element. Don't put an overlay but return the
4899 boundaries instead.
4900 (crm--completion-command): Take two new args to bind to the boundaries.
4901 (crm-completion-help): Adjust accordingly.
4902 (crm-complete): Use completion-in-region.
4903 (crm-complete-word): Use completion-in-region--single-word.
4904 (crm-complete-and-exit): Use completion-complete-and-exit.
4905
4906 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4909 than dynamically.
4910
4911 2013-09-06 Juri Linkov <juri@jurta.org>
4912
4913 * info.el (Info-display-images-node): When image file doesn't exist
4914 display text version of the image if it's provided in the Info file.
4915 Otherwise, display the location of missing image from SRC attribute.
4916 Add help-echo text property from ALT attribute. (Bug#15279)
4917
4918 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4921 (edit-abbrevs-mode): Use define-derived-mode.
4922
4923 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4924 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4925 that it's defined.
4926 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4927 Use define-derived-mode.
4928
4929 * epg.el (epg-start-encrypt): Minor CSE simplification.
4930
4931 2013-09-06 William Xu <william.xwl@gmail.com>
4932
4933 * arc-mode.el: Add support for 7za (bug#15264).
4934 (archive-7z-program): New var.
4935 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4936 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4937 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4938
4939 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4940
4941 Remove URL syntax.
4942
4943 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4944 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4945 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4946 (tramp-postfix-host-format, tramp-file-name-regexp)
4947 (tramp-completion-file-name-regexp)
4948 (tramp-completion-dissect-file-name)
4949 (tramp-handle-substitute-in-file-name): Remove 'url case.
4950 (tramp-file-name-regexp-url)
4951 (tramp-completion-file-name-regexp-url): Remove constants.
4952
4953 2013-09-06 Glenn Morris <rgm@gnu.org>
4954
4955 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4956
4957 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4958
4959 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4960 keywords" below "here-doc beginnings" (Bug#15270).
4961
4962 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * subr.el (pop): Use `car-safe'.
4965 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4966 to detect unused `pop' return value.
4967
4968 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4969 var `block-regexp'.
4970 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4971 (python-fill-string): Remove unused var `marker'.
4972 (python-skeleton-add-menu-items): Remove unused var `items'.
4973
4974 * international/mule-cmds.el: Require CL.
4975 (find-coding-systems-for-charsets): Avoid add-to-list.
4976 (sanitize-coding-system-list): New function, extracted from
4977 select-safe-coding-system-interactively.
4978 (select-safe-coding-system-interactively): Use it.
4979 (read-input-method-name): Accept symbols for `default'.
4980
4981 * emacs-lisp/advice.el (defadvice): Add indent rule.
4982
4983 2013-09-05 Daniel Hackney <dan@haxney.org>
4984
4985 * dired-x.el:
4986 * net/ange-ftp.el:
4987 * net/browse-url.el:
4988 * net/dbus.el:
4989 * net/eudc.el:
4990 * net/eudcb-ldap.el:
4991 * net/eww.el:
4992 * net/imap.el:
4993 * printing.el:
4994 * vc/ediff-diff.el:
4995 * vc/ediff-init.el:
4996 * vc/ediff-merg.el:
4997 * vc/ediff-mult.el:
4998 * vc/ediff-util.el:
4999 * vc/ediff-wind.el:
5000 * vc/ediff.el:
5001 * vc/emerge.el:
5002 * vc/pcvs.el:
5003 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5004 byte compiler. Remove some unused let-bound variables.
5005
5006 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5009 a "ref-cell", since it gets better optimized (bug#14883).
5010
5011 2013-09-05 Glenn Morris <rgm@gnu.org>
5012
5013 * progmodes/cc-awk.el (c-forward-sws): Declare.
5014
5015 2013-09-04 Glenn Morris <rgm@gnu.org>
5016
5017 * generic-x.el [rul-generic-mode]: Require cc-mode.
5018 (c++-mode-syntax-table): Declare.
5019 (rul-generic-mode-syntax-table): Init in the defvar.
5020
5021 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5024 (vc-do-command, vc-set-async-update):
5025 * vc/vc-mtn.el (vc-mtn-dir-status):
5026 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5027 (vc-hg-pull, vc-hg-merge-branch):
5028 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5029 (vc-git-merge-branch):
5030 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5031 (vc-cvs-dir-status-files):
5032 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5033 (vc-bzr-dir-status-files):
5034 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5035 * vc/vc-annotate.el: Use lexical-binding.
5036 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5037 (vc-sentinel-movepoint): Declare.
5038 (vc-annotate): Don't use `goto-line'.
5039 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5040 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5041 (vc-sentinel-movepoint): Declare.
5042 * vc/vc-svn.el: Use lexical-binding.
5043 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5044 * vc/vc-sccs.el:
5045 * vc/vc-rcs.el: Use lexical-binding.
5046
5047 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5048 `deleted'. Don't drop errors silently.
5049
5050 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5051
5052 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5053
5054 * vc/vc.el (vc-ignore): Rewrite.
5055 (vc-default-ignore): New function.
5056 (vc-default-ignore-completion-table): Use find-ignore-file.
5057
5058 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5059 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5060 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5061 Remove. Most code moved to vc.el.
5062
5063 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5066 * net/tramp-smb.el (tramp-smb-get-file-entries):
5067 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5068 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5069
5070 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5071 Update call to it.
5072 (eww-change-select): Remove unused var `properties'.
5073 (eww-make-unique-file-name): Remove unused var `base'.
5074
5075 * finder.el (finder-compile-keywords): Don't mess with windows.
5076
5077 * calculator.el (calculator-funcall): Fix typo in last change.
5078
5079 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5080
5081 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5082 <pkg>-autoloads.el file stop us.
5083
5084 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5085 warnings, and factor out common code.
5086
5087 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5088
5089 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5090 two-character operators and whether the character preceding them
5091 changes their meaning (Bug#15208).
5092
5093 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5094
5095 Format code sent to Python shell for robustness.
5096 * progmodes/python.el (python-shell-buffer-substring):
5097 New function.
5098 (python-shell-send-region, python-shell-send-buffer): Use it.
5099
5100 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5101
5102 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5103 * net/tramp.el (tramp-user-error): ... here.
5104 (tramp-find-method, tramp-check-proper-host)
5105 (tramp-dissect-file-name, tramp-debug-message)
5106 (tramp-handle-shell-command):
5107 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5109
5110 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5111
5112 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5113
5114 * avoid.el (mouse-avoidance-point-position)
5115 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5116 returns nil.
5117
5118 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5119
5120 * progmodes/python.el (python-shell-completion-get-completions):
5121 Drop use of deleted `comint-last-prompt-overlay'.
5122 (python-nav-if-name-main): New command.
5123
5124 2013-09-01 Glenn Morris <rgm@gnu.org>
5125
5126 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5127 Avoid leading space in $wins. Otherwise the sed command used by
5128 eg compile-main ends up containing "/*.el". (Bug#15170)
5129
5130 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5131
5132 2013-08-30 Glenn Morris <rgm@gnu.org>
5133
5134 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5135 Fix is-this-a-directory logic. (Bug#15220)
5136
5137 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * textmodes/css-mode.el: Use SMIE.
5140 (css-smie-grammar): New var.
5141 (css-smie--forward-token, css-smie--backward-token)
5142 (css-smie-rules): New functions.
5143 (css-mode): Use them.
5144 (css-navigation-syntax-table): Remove var.
5145 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5146 (css-indent-calculate, css-indent-line): Remove functions.
5147
5148 Misc changes to reduce use of `(lambda...); and other cleanups.
5149 * cus-edit.el: Use lexical-binding.
5150 (customize-push-and-save, customize-apropos)
5151 (custom-buffer-create-internal): Use closures.
5152 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5153 * progmodes/ada-xref.el: Use setq.
5154 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5155 * dframe.el: Use lexical-binding.
5156 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5157 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5158 * descr-text.el: Use lexical-binding.
5159 (describe-text-widget, describe-text-sexp, describe-property-list):
5160 Use closures.
5161 * comint.el (comint-history-isearch-push-state): Use a closure.
5162 * calculator.el: Use lexical-binding.
5163 (calculator-number-to-string): Make it work with lexical-binding.
5164 (calculator-funcall): Same and use cl-letf.
5165
5166 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5167 (lisp--company-doc-string, lisp--company-location): New functions.
5168 (lisp-completion-at-point): Use them to improve Company support.
5169
5170 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5171 params of lambda expressions.
5172 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5173 (ruby-smie--opening-pipe-p): New function.
5174 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5175 symbols and matched |...| for formal params.
5176 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5177 from being treated as hanging. Handle "rescue".
5178
5179 2013-08-29 Glenn Morris <rgm@gnu.org>
5180
5181 * progmodes/cc-engine.el (c-pull-open-brace):
5182 Move definition before use.
5183
5184 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5187 are immutable. Don't use `unsafe' any more.
5188 (cl--defsubst-expand): Don't substitute at the same time as keeping
5189 a residual unused let-binding. Don't use `unsafe' any more.
5190
5191 2013-08-29 Glenn Morris <rgm@gnu.org>
5192
5193 * calendar/cal-china.el (calendar-chinese-year-cache):
5194 Recenter on 2015.
5195
5196 * nxml/nxml-util.el (nxml-debug-clear-inside):
5197 Use cl-loop rather than loop.
5198
5199 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5200
5201 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5202
5203 2013-08-28 Glenn Morris <rgm@gnu.org>
5204
5205 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5206
5207 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5208
5209 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5210
5211 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * simple.el (repeat-complex-command--called-interactively-skip):
5214 New function.
5215 (repeat-complex-command): Use it (bug#14136).
5216
5217 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5218 (c-define-abbrev-table): Add `doc' argument.
5219 (c-mode-abbrev-table, c++-mode-abbrev-table)
5220 (objc-mode-abbrev-table, java-mode-abbrev-table)
5221 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5222 (awk-mode-abbrev-table): Use it.
5223 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5224 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5225 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5226 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5227 Move initialization into the declaration; and remove any
5228 autoload cookie.
5229
5230 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5231 and dynamic let binding.
5232
5233 * vc/smerge-mode.el: Remove redundant :group args.
5234
5235 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5236 to load-path.
5237
5238 2013-08-28 Juri Linkov <juri@jurta.org>
5239
5240 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5241 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5242 (isearch-other-meta-char): Handle an undefined shifted printing
5243 character by downshifting it. (Bug#15200)
5244
5245 2013-08-28 Juri Linkov <juri@jurta.org>
5246
5247 * isearch.el (isearch-search): Change regexp error message for
5248 non-regexp searches. (Bug#15166)
5249
5250 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5251
5252 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5253 for portability to hosts where /bin/sh has problems.
5254
5255 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5256
5257 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5258
5259 2013-08-27 Juri Linkov <juri@jurta.org>
5260
5261 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5262 in the keyboard macro. (Bug#15126)
5263
5264 2013-08-27 Juri Linkov <juri@jurta.org>
5265
5266 * isearch.el (isearch-quote-char): Comment out converting unibyte
5267 to multibyte, thus syncing with its `quoted-insert' counterpart.
5268 (Bug#15166)
5269
5270 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5271
5272 * window.el (display-buffer-use-some-window): Add missing
5273 argument in call of get-largest-window (Bug#15185).
5274 Reported by Stephen Leake.
5275
5276 2013-08-27 Glenn Morris <rgm@gnu.org>
5277
5278 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5279
5280 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5283 from a matcher-function unless there's no more matches (bug#15161).
5284
5285 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5286
5287 * minibuffer.el: Revert change from 2013-08-20.
5288
5289 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5290 with text property `tramp-default', if appropriate.
5291 (tramp-check-proper-host): New defun.
5292 (tramp-dissect-file-name): Do not check hostname. Revert change
5293 of 2013-03-18.
5294 (tramp-backtrace): Make VEC-OR-PROC optional.
5295
5296 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5297 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5298 * net/tramp-sh.el (tramp-maybe-open-connection):
5299 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5300 Apply `tramp-check-proper-host'.
5301
5302 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5303
5304 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5305 lambda expression in order to have `describe-variable' display it.
5306
5307 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5308
5309 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5310 BUF can be optional. (Bug#15186)
5311
5312 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5313
5314 * progmodes/flymake.el (flymake-get-real-file-name-function):
5315 Fix broken customization. (Bug#15184)
5316
5317 2013-08-25 Alan Mackenzie <acm@muc.de>
5318
5319 Improve indentation of bracelists defined by macros (without "=").
5320
5321 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5322 expansion begins with "{", regard it as bracelist when it doesn't
5323 contain a ";".
5324
5325 Parse C++ inher-intro when there's a template split over 2 lines.
5326
5327 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5328 rigorously the search for "class" etc. followed by ":".
5329
5330 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5331 random languages a regexp which never matches rather than nil.
5332
5333 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5334
5335 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5336 (c-awk-regexp-one-line-possibly-open-char-list-re)
5337 (c-awk-one-line-possibly-open-regexp-re)
5338 (c-awk-one-line-non-syn-ws*-re): Remove.
5339 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5340 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5341 (c-awk-space*-unclosed-regexp-/-re): New constants.
5342 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5343 aren't regexp delimiters.
5344
5345 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5346 handling for a rare situation in AWK Mode involving unterminated
5347 strings/regexps.
5348
5349 2013-08-23 Glenn Morris <rgm@gnu.org>
5350
5351 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5352
5353 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5354
5355 * files.el (create-file-buffer): If the result would begin with
5356 spaces, prepend a "|" instead of removing them. (Bug#15162)
5357
5358 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5359
5360 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5361 text-properties (bug#15155).
5362
5363 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5364 exist any more.
5365 (calc-keypad-redraw): Remove unused var `pad'.
5366 (calc-keypad-press): Remove unused var `menu'.
5367
5368 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5369
5370 * window.el (display-buffer-pop-up-frame):
5371 Call pop-up-frame-function with BUFFER current so `make-frame' will
5372 use it as the new frame's buffer (Bug#15133).
5373
5374 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * calendar/timeclock.el: Minor cleanups.
5377 (timeclock-ask-before-exiting, timeclock-use-display-time):
5378 Use `symbol'.
5379 (timeclock-modeline-display): Define as alias before the
5380 actual definition.
5381 (timeclock-mode-line-display): Use define-minor-mode.
5382 (timeclock-day-list-template): Make it a function, add an argument.
5383 (timeclock-day-list-required, timeclock-day-list-length)
5384 (timeclock-day-list-debt, timeclock-day-list-span)
5385 (timeclock-day-list-break): Adjust calls accordingly.
5386
5387 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5390 Use read--expression so that completion works again.
5391
5392 2013-08-21 Sam Steingold <sds@gnu.org>
5393
5394 Add rudimentary inferior shell interaction
5395 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5396 (sh-set-shell): Reset it.
5397 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5398 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5399
5400 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * align.el: Use lexical-binding.
5403 (align-region): Simplify accordingly.
5404
5405 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5406
5407 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5408
5409 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5410 `non-essential' up.
5411
5412 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5413
5414 * net/tramp.el:
5415 * net/tramp-adb.el:
5416 * net/tramp-cmds.el:
5417 * net/tramp-ftp.el:
5418 * net/tramp-gvfs.el:
5419 * net/tramp-gw.el:
5420 * net/tramp-sh.el: Don't wrap external variable declarations by
5421 `eval-when-compile'.
5422
5423 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5424
5425 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5426 now that Emacs supports ImageMagick animations.
5427
5428 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5429
5430 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5431 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5432
5433 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5434
5435 * window.el (mouse-autoselect-window-select): Do autoselect when
5436 mouse pointer is on margin.
5437
5438 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5439
5440 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5441
5442 2013-08-16 Glenn Morris <rgm@gnu.org>
5443
5444 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5445 Handle "Remote Directory" response of some clients. (Bug#15058)
5446
5447 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5448 Tweak warning. (Bug#14926)
5449
5450 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5451 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5452
5453 * image-mode.el (image-mode-map): Add menu items to reverse,
5454 increase, decrease, reset animation speed.
5455 (image--set-speed, image-increase-speed, image-decrease-speed)
5456 (image-reverse-speed, image-reset-speed): New functions.
5457 (image-mode-map): Add bindings for speed commands.
5458
5459 * image.el (image-animate-get-speed, image-animate-set-speed):
5460 New functions.
5461 (image-animate-timeout): Respect image :speed property.
5462
5463 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5466 previous line (bug#15101).
5467 (debugger-eval-expression, debugger-record-expression):
5468 Use read--expression (bug#15102).
5469
5470 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5471
5472 Remove byte compiler warnings, visible when compiling with
5473 `byte-compile-force-lexical-warnings' set to t.
5474
5475 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5476 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5477 (tramp-handle-unhandled-file-name-directory)
5478 (tramp-handle-file-notify-add-watch, tramp-action-login)
5479 (tramp-action-succeed, tramp-action-permission-denied)
5480 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5481 arguments with "_".
5482
5483 * net/tramp-adb.el (tramp-adb-parse-device-names)
5484 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5485 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5486 (tramp-adb-handle-file-truename): Remove unused arguments.
5487
5488 * net/tramp-cache.el (tramp-flush-directory-property)
5489 (tramp-flush-connection-property, tramp-list-connections)
5490 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5491
5492 * net/tramp-compat.el (tramp-compat-make-temp-file):
5493 Rename FILENAME to F.
5494
5495 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5496 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5497 (tramp-zeroconf-parse-workstation-device-names)
5498 (tramp-zeroconf-parse-webdav-device-names)
5499 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5500
5501 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5502 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5503
5504 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5505 arguments.
5506 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5507 (tramp-sh-handle-insert-file-contents-literally)
5508 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5509 with "_".
5510 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5511 Remove unused variables.
5512
5513 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5514 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5515 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5516
5517 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5518 Make them a defconst.
5519 (tramp-uuencode-region): Remove unused variable.
5520
5521 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5522
5523 * frameset.el (frameset--prop-setter): New function.
5524 (frameset-prop): Add gv-setter declaration.
5525 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5526 parameter was already set in FILTERED. Doc fix.
5527 (frameset--record-minibuffer-relationships): Allow saving a
5528 minibufferless frame without its corresponding minibuffer frame.
5529 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5530 frame, if the frame id matches.
5531 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5532 frames before orphaned ones.
5533 (frameset-restore): Warn about orphaned windows, instead of error out.
5534
5535 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5536
5537 * window.el (window-make-atom): Don't overwrite parameter
5538 already present.
5539 (display-buffer-in-atom-window): Handle special case where we
5540 split an already atomic window.
5541 (window--major-non-side-window, display-buffer-in-side-window)
5542 (window--side-check): Ignore minibuffer window when walking
5543 window tree.
5544 (window-deletable-p): Return 'frame only if no other frame uses
5545 our minibuffer window.
5546 (record-window-buffer): Run buffer-list-update-hook.
5547 (split-window): Make sure window--check-frame won't destroy an
5548 existing atomic window in case the new window gets nested
5549 inside.
5550 (display-buffer-at-bottom): Ignore minibuffer window when
5551 walking window tree. Don't split a side window.
5552 (pop-to-buffer): Don't set-buffer here, the select-window call
5553 should do that.
5554 (mouse-autoselect-window-select): Autoselect only if we are in the
5555 text portion of the window.
5556
5557 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5558
5559 * net/shr.el (shr-parse-image-data): New function to grab both the
5560 data itself and the Content-Type.
5561 (shr-put-image): Use it.
5562
5563 * net/eww.el (eww-display-image): Ditto.
5564
5565 * image.el (image-content-type-suffixes): New variable.
5566
5567 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5568
5569 * progmodes/python.el (python-imenu--build-tree)
5570 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5571
5572 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5573
5574 * simple.el (backward-word): Mention the optional argument.
5575
5576 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * frameset.el (frameset--make): Rename constructor from make-frameset.
5579 (frameset-p, frameset-valid-p): Don't autoload.
5580 (frameset-valid-p): Use normal accessors.
5581
5582 2013-08-13 Glenn Morris <rgm@gnu.org>
5583
5584 * progmodes/compile.el (compile-command): Tweak example in doc.
5585 * obsolete/scribe.el (scribe-mode):
5586 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5587
5588 * mail/feedmail.el (feedmail-confirm-outgoing)
5589 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5590
5591 * cus-start.el (truncate-partial-width-windows): Fix type.
5592
5593 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5594
5595 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5596
5597 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * emacs-lisp/timer.el (timer--time-setter): New function.
5600 (timer--time): Use it as gv-setter.
5601
5602 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5603 setter is not a symbol.
5604
5605 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5606
5607 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5608 if sending fails. This makes debugging easier.
5609
5610 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5611
5612 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5613 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5614 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5615
5616 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5617
5618 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5619
5620 2013-08-12 Glenn Morris <rgm@gnu.org>
5621
5622 * format.el (format-annotate-function):
5623 Handle read-only text properties in the source. (Bug#14887)
5624
5625 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5626
5627 * net/eww.el (eww-display-html): Ignore coding system errors.
5628 One web site uses "utf-8lias" as the coding system.
5629
5630 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5631
5632 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5633
5634 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5635
5636 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5637 (tutorial--detailed-help): Remove unused local variables.
5638 (tutorial--save-tutorial-to): Use ignore-errors.
5639 (help-with-tutorial): Use looking-at-p.
5640
5641 * view.el (view-buffer-other-window, view-buffer-other-frame):
5642 Mark unused arguments.
5643
5644 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5645 (woman-select-symbol-fonts, woman, woman-find-file)
5646 (woman-insert-file-contents, woman-non-underline-faces):
5647 Use string-match-p.
5648 (woman1-unquote): Move declaration.
5649
5650 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5651 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5652 argument. Remove unused local variable.
5653 (xml-parse-elem-type): Use string-match-p.
5654 (xml-substitute-numeric-entities): Use ignore-errors.
5655
5656 * calculator.el (calculator): Mark unused argument.
5657 (calculator-paste, calculator-quit, calculator-integer-p):
5658 Use ignore-errors.
5659 (calculator-string-to-number, calculator-decimal, calculator-exp)
5660 (calculator-op-or-exp): Use string-match-p.
5661
5662 * dired.el (dired-buffer-more-recently-used-p): Declare.
5663 (dired-insert-set-properties, dired-insert-old-subdirs):
5664 Use ignore-errors.
5665
5666 * dired-aux.el (dired-compress): Use ignore-errors.
5667 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5668 (dired-do-async-shell-command, dired-do-shell-command)
5669 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5670 (dired-insert-subdir-validate): Use string-match-p.
5671 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5672 (dired-add-entry): Use string-match-p, looking-at-p.
5673 (dired-insert-subdir-newpos): Remove unused local variable.
5674
5675 * filenotify.el (file-notify-callback): Remove unused local variable.
5676
5677 * filesets.el (filesets-error): Mark unused argument.
5678 (filesets-which-command-p, filesets-filter-dir-names)
5679 (filesets-directory-files, filesets-get-external-viewer)
5680 (filesets-ingroup-get-data): Use string-match-p.
5681
5682 * find-file.el (ff-other-file-name, ff-other-file-name)
5683 (ff-find-the-other-file, ff-cc-hh-converter):
5684 Remove unused local variables.
5685 (ff-get-file-name): Use string-match-p.
5686 (ff-all-dirs-under): Use ignore-errors.
5687
5688 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5689 (follow-select-if-visible): Remove unused local variable.
5690
5691 * forms.el (read-file-filter): Move declaration.
5692 (forms--make-format, forms--make-parser, forms-insert-record):
5693 Quote function with #'.
5694 (forms--update): Use string-match-p. Quote function with #'.
5695
5696 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5697 (help-make-xrefs): Use looking-at-p.
5698 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5699
5700 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5701 (ibuffer-confirm-operation-on): Use string-match-p.
5702
5703 * msb.el (msb-item-handler, msb-dired-item-handler):
5704 Mark unused arguments.
5705
5706 * ses.el (ses-decode-cell-symbol)
5707 (ses-kill-override): Remove unused local variable.
5708 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5709 (ses-load): Use ignore-errors, looking-at-p.
5710 (ses-jump-safe): Use ignore-errors.
5711 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5712
5713 * tabify.el (untabify, tabify): Mark unused arguments.
5714
5715 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5716 Mark unused argument.
5717 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5718 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5719
5720 * emacs-lisp/timer.el (timer--time): Define setter with
5721 gv-define-setter to avoid deprecation warning.
5722
5723 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5724 (*record-cmpl-statistics-p*): Remove (was commented out).
5725 (cmpl-statistics-block): Remove (body was commented out).
5726 All callers changed.
5727 (add-completions-from-buffer, load-completions-from-file):
5728 Remove unused variables.
5729
5730 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5731
5732 * filecache.el (file-cache-delete-file-list):
5733 Print message only when told so.
5734 (file-cache-files-matching): Use #' in mapconcat argument.
5735
5736 * ffap.el (ffap-url-at-point): Fix reference to variable
5737 thing-at-point-default-mail-uri-scheme.
5738
5739 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5740
5741 * subr.el (define-error): New function.
5742 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5743 error-file-not-found and define with define-error.
5744 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5745 and define with define-error.
5746 * userlock.el (file-locked, file-supersession):
5747 * simple.el (mark-inactive):
5748 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5749 * progmodes/ada-mode.el (ada-mode-errors):
5750 * play/life.el (life-extinct):
5751 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5752 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5753 * nxml/rng-util.el (rng-error):
5754 * nxml/rng-uri.el (rng-uri-error):
5755 * nxml/rng-match.el (rng-compile-error):
5756 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5757 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5758 * nxml/nxml-rap.el (nxml-scan-error):
5759 * nxml/nxml-outln.el (nxml-outline-error):
5760 * net/soap-client.el (soap-error):
5761 * net/gnutls.el (gnutls-error):
5762 * net/ange-ftp.el (ftp-error):
5763 * mpc.el (mpc-proc-error):
5764 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5765 (json-number-format, json-string-escape, json-string-format)
5766 (json-key-format, json-object-format):
5767 * jka-compr.el (compression-error):
5768 * international/quail.el (quail-error):
5769 * international/kkc.el (kkc-error):
5770 * emacs-lisp/ert.el (ert-test-failed):
5771 * calc/calc.el (calc-error, inexact-result, math-overflow)
5772 (math-underflow):
5773 * bookmark.el (bookmark-error-no-filename):
5774 * epg.el (epg-error): Define with define-error.
5775
5776 * time.el (display-time-event-handler)
5777 (display-time-next-load-average): Don't call sit-for since it seems
5778 unnecessary (bug#15045).
5779
5780 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5781 Use #' instead of ' to quote functions.
5782 (checkdoc-output-mode): Use setq-local.
5783 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5784 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5785 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5786 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5787 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5788 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5789 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5790 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5791
5792 * ido.el (ido-completion-help): Fix up compiler warning.
5793
5794 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5795
5796 * frameset.el (frameset-p): Add autoload cookie.
5797 (frameset--jump-to-register): New function, based on code moved from
5798 register.el.
5799 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5800
5801 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5802 (frameset-restore, frameset-save, frameset-session-filter-alist):
5803 Remove declarations.
5804 (register-alist): Doc fix.
5805 (frameset-to-register): Move to frameset.el.
5806 (jump-to-register, describe-register-1): Remove frameset-specific code.
5807
5808 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5809
5810 * allout-widgets.el (allout-widgets-pre-command-business)
5811 (allout-widgets-post-command-business)
5812 (allout-widgets-after-change-handler)
5813 (allout-decorate-item-and-context, allout-set-boundary-marker)
5814 (allout-body-modification-handler)
5815 (allout-graphics-modification-handler): Mark ignored arguments.
5816 (allout-widgets-post-command-business)
5817 (allout-widgets-exposure-change-processor)
5818 (allout-widgets-exposure-undo-processor)
5819 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5820 (allout-parse-item-at-point, allout-decorate-item-guides)
5821 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5822 * allout.el (epa-passphrase-callback-function): Declare.
5823 (allout-overlay-insert-in-front-handler)
5824 (allout-overlay-interior-modification-handler)
5825 (allout-isearch-end-handler, allout-chart-siblings)
5826 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5827 (allout-yank-processing, allout-process-exposed)
5828 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5829 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5830 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5831 (lisp-indent-defform): Mark ignored arguments.
5832 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5833 (calculate-lisp-indent): Remove unused variables.
5834 * international/characters.el (indian-2-column, arabic-2-column)
5835 (tibetan): Mark ignored arguments.
5836 (use-cjk-char-width-table): Mark ignored arguments.
5837 Remove unused variables.
5838 * international/fontset.el (build-default-fontset-data)
5839 (x-compose-font-name, create-fontset-from-fontset-spec):
5840 Mark ignored arguments.
5841 (fontset-plain-name): Remove unused variables.
5842 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5843 (keyboard-coding-system): Mark ignored arguments.
5844 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5845 * help.el (resize-temp-buffer-window):
5846 * window.el (display-buffer-in-major-side-window)
5847 (display-buffer-in-side-window, display-buffer-in-previous-window):
5848 Remove unused variables.
5849 * isearch.el (isearch-forward-symbol):
5850 * version.el (emacs-bzr-version-bzr):
5851 * international/mule-cmds.el (current-language-environment):
5852 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5853 (x-handle-display):
5854 * term/pc-win.el (x-list-fonts, x-display-planes)
5855 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5856 (x-server-version, x-display-screens, x-display-mm-height)
5857 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5858 (x-selection-owner-p, x-own-selection-internal)
5859 (x-disown-selection-internal, x-get-selection-internal)
5860 (msdos-initialize-window-system):
5861 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5862 * term/x-win.el (x-handle-no-bitmap-icon):
5863 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5864 (vc-default-find-file-hook, vc-default-extra-menu):
5865 Mark ignored arguments.
5866
5867 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5870 break-condition in the context of the debugged code (bug#12685).
5871
5872 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5873
5874 * comint.el:
5875 Do not use an overlay to highlight the last prompt. (Bug#14744)
5876 (comint-mode): Make comint-last-prompt buffer local.
5877 (comint-last-prompt): New variable.
5878 (comint-last-prompt-overlay): Remove. Superseded by
5879 comint-last-prompt.
5880 (comint-snapshot-last-prompt, comint-output-filter):
5881 Use comint-last-prompt.
5882
5883 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5884
5885 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5886 (frameset-save): Check validity of the resulting frameset.
5887
5888 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5889
5890 * ido.el (ido-record-command): Add doc string.
5891
5892 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5893
5894 * frameset.el (frameset): Do not disable creation of the default
5895 frameset-p predicate. Doc fix.
5896 (frameset-valid-p): New function, copied from the old predicate-p.
5897 Add additional checks.
5898 (frameset-restore): Check with frameset-valid-p.
5899 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5900 (frameset-name, frameset-description, frameset-properties)
5901 (frameset-states): Add docstring.
5902 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5903 (frameset-filter-alist): Doc fixes.
5904
5905 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5906
5907 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5908
5909 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5910
5911 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5912 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5913 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5914 (byte-compile-normal-call): Remove obsolescence check.
5915
5916 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5917
5918 * frameset.el (frameset-restore): Doc fix.
5919
5920 * register.el (frameset-frame-id, frameset-frame-with-id)
5921 (frameset-p, frameset-restore, frameset-save): Declare.
5922 (register-alist): Document framesets.
5923 (frameset-session-filter-alist): Declare.
5924 (frameset-to-register): New function.
5925 (jump-to-register): Implement jumping to framesets. Doc fix.
5926 (describe-register-1): Describe framesets.
5927
5928 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5929
5930 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5931
5932 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5933 Use lexical-binding.
5934
5935 * frameset.el (frameset): Use type vector, not list (incompatible
5936 change). Do not declare a new constructor, use the default one.
5937 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5938 `name' and `description', respectively, and add read-only slot
5939 `timestamp'. Doc fixes.
5940 (frameset-copy, frameset-persistent-filter-alist)
5941 (frameset-filter-alist, frameset-switch-to-gui-p)
5942 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5943 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5944 (frameset-filter-iconified, frameset-keep-original-display-p):
5945 Doc fixes.
5946 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5947 Rename from frameset-filter-(save|restore)-param. All callers changed.
5948 Doc fix.
5949 (frameset-p): Adapt to change to vector and be more thorough.
5950 Change arg name to OBJECT. Doc fix.
5951 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5952 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5953 All callers changed.
5954 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5955 All callers changed.
5956 (frameset--record-minibuffer-relationships): Rename from
5957 frameset--process-minibuffer-frames. All callers changed.
5958 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5959 Use new default constructor (again). Doc fix.
5960 (frameset--find-frame-if): Rename from `frameset--find-frame.
5961 All callers changed.
5962 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5963 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5964 Doc fix.
5965 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5966 PARAMETERS and WINDOW-STATE, respectively.
5967 (frameset-restore): Add new keyword argument PREDICATE.
5968 Reset frameset--target-display to nil. Doc fix.
5969
5970 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5973 (bat-mode): Use it.
5974 (bat-mode-syntax-table): Mark \n as end-of-comment.
5975 (bat-font-lock-keywords): Remove comment rule.
5976
5977 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5978 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5979
5980 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5981 (byte-compile-callargs-warn): Use `push'.
5982 (byte-compile-arglist-warn): Ignore higher-order "calls".
5983 (byte-compile-file-form-autoload): Use `pcase'.
5984 (byte-compile-function-form): If quoting a symbol, check that it exists.
5985
5986 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5987
5988 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5989 and add a few popular commands found in batch files.
5990 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5991 (dos-mode): Doc fixes.
5992
5993 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5996 (dos-mode): Use setq-local. Add space after "rem".
5997 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5998 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5999
6000 2013-08-07 Arni Magnusson <arnima@hafro.is>
6001
6002 * progmodes/dos.el: New file.
6003 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6004 dos-mode.
6005
6006 2013-08-06 Glenn Morris <rgm@gnu.org>
6007
6008 * calendar/calendar.el: Add new faces, and day-header-array.
6009 (calendar-weekday-header, calendar-weekend-header)
6010 (calendar-month-header): New faces.
6011 (calendar-day-header-construct): New function.
6012 (calendar-day-header-width): Also :set calendar-day-header-array.
6013 (calendar-american-month-header, calendar-european-month-header)
6014 (calendar-iso-month-header): Use calendar- faces.
6015 (calendar-generate-month):
6016 Use calendar-day-header-array for day headers; apply faces to them.
6017 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6018 (calendar-abbrev-construct): Add optional maxlen argument.
6019 (calendar-day-name-array): Doc fix.
6020 (calendar-day-name-array, calendar-abbrev-length)
6021 (calendar-day-abbrev-array):
6022 Also :set calendar-day-header-array, and maybe redraw.
6023 (calendar-day-header-array): New option. (Bug#15007)
6024 (calendar-font-lock-keywords): Set to nil and make obsolete.
6025 (calendar-day-name): Add option to use header array.
6026
6027 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6028
6029 * net/shr.el (shr-render-td): Remove debugging.
6030 (shr-render-td): Make width computation consistent by defaulting
6031 all zero-width columns to 10 characters. This may not be optimal,
6032 but it's at least consistent.
6033 (shr-make-table-1): Redo last change to fix the real problem in
6034 colspan handling.
6035
6036 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6037
6038 * files.el (cache-long-line-scans):
6039 Make obsolete alias to `cache-long-scans'.
6040
6041 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6042
6043 * frameset.el (frameset, frameset-filter-alist)
6044 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6045 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6046 (frameset-compute-pos): Rename from frameset--compute-pos,
6047 and add docstring.
6048 (frameset-move-onscreen): Use frameset-compute-pos.
6049 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6050
6051 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6052 Fix typos in docstrings.
6053
6054 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6055
6056 * frame.el (get-other-frame): Tiny cleanup.
6057
6058 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6059
6060 * vc/vc.el (vc-default-ignore-completion-table):
6061 Silence byte-compiler warning.
6062
6063 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6064 slot , which can indeed be nil.
6065 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6066 Move entry for `left' from persistent to live filter alist.
6067 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6068 Doc fixes.
6069 (frameset-filter-params): When restoring a frame, copy items added to
6070 `filtered', to avoid unwittingly modifying the original parameters.
6071 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6072 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6073
6074 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6075 to use looking-at-p instead of looking-at. (Bug#15028)
6076
6077 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 Revert introduction of isearch-filter-predicates (bug#14714).
6080 Rely on add-function instead.
6081 * isearch.el (isearch-filter-predicates): Rename it back to
6082 isearch-filter-predicate.
6083 (isearch-message-prefix): Use advice-function-mapc and advice
6084 properties to get the isearch-message-prefix.
6085 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6086 instead of run-hook-with-args-until-failure.
6087 (isearch-filter-visible): Not obsolete any more.
6088 * loadup.el: Preload nadvice.
6089 * replace.el (perform-replace): Revert to funcall
6090 instead of run-hook-with-args-until-failure.
6091 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6092 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6093 dired-isearch-filenames-toggle; make it into a proper minor mode.
6094 Use add/remove-function.
6095 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6096 Call the minor-mode rather than add/remove-hook.
6097 (dired-isearch-filter-filenames):
6098 Remove isearch-message-prefix property.
6099 * info.el (Info--search-loop): New function, extracted from Info-search.
6100 Funcall isearch-filter-predicate instead of
6101 run-hook-with-args-until-failure isearch-filter-predicates.
6102 (Info-search): Use it.
6103 (Info-mode): Use isearch-filter-predicate instead of
6104 isearch-filter-predicates.
6105
6106 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6107
6108 Do not call to `selected-window' where it is assumed by default.
6109 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6110 `window-hscroll', `window-width', `window-height', `window-buffer',
6111 `window-frame', `window-start', `window-point', `next-window'
6112 and `window-display-table'.
6113 * abbrev.el (abbrev--default-expand):
6114 * bs.el (bs--show-with-configuration):
6115 * buff-menu.el (Buffer-menu-mouse-select):
6116 * calc/calc.el (calc):
6117 * calendar/calendar.el (calendar-generate-window):
6118 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6119 (diary-make-entry):
6120 * comint.el (send-invisible, comint-dynamic-complete-filename)
6121 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6122 * completion.el (complete):
6123 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6124 * disp-table.el (describe-current-display-table):
6125 * doc-view.el (doc-view-insert-image):
6126 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6127 * ehelp.el (with-electric-help):
6128 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6129 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6130 * emacs-lisp/helper.el (Helper-help-scroller):
6131 * emulation/cua-base.el (cua--post-command-handler-1):
6132 * eshell/esh-mode.el (eshell-output-filter):
6133 * ffap.el (ffap-gnus-wrapper):
6134 * help-macro.el (make-help-screen):
6135 * hilit-chg.el (highlight-compare-buffers):
6136 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6137 * hl-line.el (global-hl-line-highlight):
6138 * icomplete.el (icomplete-simple-completing-p):
6139 * isearch.el (isearch-done):
6140 * jit-lock.el (jit-lock-stealth-fontify):
6141 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6142 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
6143 * mpc.el (mpc-tagbrowser, mpc):
6144 * net/rcirc.el (rcirc-any-buffer):
6145 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6146 * play/landmark.el (landmark-max-width, landmark-max-height):
6147 * play/zone.el (zone):
6148 * progmodes/compile.el (compilation-goto-locus):
6149 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6150 * progmodes/etags.el (find-tag-other-window):
6151 * progmodes/fortran.el (fortran-column-ruler):
6152 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6153 * progmodes/verilog-mode.el (verilog-point-text):
6154 * reposition.el (reposition-window):
6155 * rot13.el (toggle-rot13-mode):
6156 * server.el (server-switch-buffer):
6157 * shell.el (shell-dynamic-complete-command)
6158 (shell-dynamic-complete-environment-variable):
6159 * simple.el (insert-buffer, set-selective-display)
6160 (delete-completion-window):
6161 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6162 (speedbar-recenter):
6163 * startup.el (fancy-splash-head):
6164 * textmodes/ispell.el (ispell-command-loop):
6165 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6166 * tutorial.el (help-with-tutorial):
6167 * vc/add-log.el (add-change-log-entry):
6168 * vc/compare-w.el (compare-windows):
6169 * vc/ediff-help.el (ediff-indent-help-message):
6170 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6171 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6172 (ediff-setup-control-frame):
6173 * vc/emerge.el (emerge-position-region):
6174 * vc/pcvs-util.el (cvs-bury-buffer):
6175 * window.el (walk-windows, mouse-autoselect-window-select):
6176 * winner.el (winner-set-conf, winner-undo): Related users changed.
6177
6178 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6179
6180 * frameset.el (frameset--set-id): Doc fix.
6181 (frameset-frame-id, frameset-frame-id-equal-p)
6182 (frameset-locate-frame-id): New functions.
6183 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6184 (frameset-restore): Use them.
6185
6186 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6187
6188 Do not call to `selected-frame' where it is assumed by default.
6189 Affected functions are `raise-frame', `redraw-frame',
6190 `frame-first-window', `frame-terminal' and `delete-frame'.
6191 * calendar/appt.el (appt-disp-window):
6192 * epg.el (epg-wait-for-completion):
6193 * follow.el (follow-delete-other-windows-and-split)
6194 (follow-avoid-tail-recenter):
6195 * international/mule.el (set-terminal-coding-system):
6196 * mail/rmail.el (rmail-mail-return):
6197 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6198 * progmodes/f90.el (f90-add-imenu-menu):
6199 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6200 * server.el (server-switch-buffer):
6201 * simple.el (delete-completion-window):
6202 * talk.el (talk):
6203 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6204 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6205 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6206 * vc/ediff.el (ediff-documentation): Related users changed.
6207 * frame.el (selected-terminal): Remove the leftover.
6208
6209 2013-08-05 Glenn Morris <rgm@gnu.org>
6210
6211 * calendar/calendar.el (calendar-generate-month):
6212 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6213 (calendar-generate-month, calendar-font-lock-keywords):
6214 Fix for calendar-day-header-width > length of any day name.
6215
6216 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6217
6218 * desktop.el (desktop-clear): Use new name of sort predicate.
6219
6220 * frameset.el (frameset): Add docstring. Move :version property to its
6221 own `version' slot.
6222 (frameset-copy): Rename from copy-frameset.
6223 (frameset-p): Check more thoroughly.
6224 (frameset-prop): Do not check for :version, which is no longer a prop.
6225 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6226 Use new :never value instead of t.
6227 (frameset-filter-alist): Expand and clarify docstring.
6228 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6229 (frameset-filter-minibuffer, frameset-filter-save-param)
6230 (frameset-filter-restore-param, frameset-filter-iconified):
6231 Add pointer to docstring of frameset-filter-alist.
6232 (frameset-filter-params): Rename filter values to be more meaningful:
6233 :never instead of t, and reverse the meanings of :save and :restore.
6234 (frameset--process-minibuffer-frames): Clarify error message.
6235 (frameset-save): Avoid unnecessary and confusing call to framep.
6236 Use new BOA constructor for framesets.
6237 (frameset--reuse-list): Doc fix.
6238 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6239 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6240 (frameset-minibufferless-first-p): Doc fix.
6241 Rename from frameset-sort-frames-for-deletion.
6242 (frameset-restore): Doc fixes. Use new function names.
6243 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6244
6245 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6246
6247 * desktop.el (desktop-restore-forces-onscreen)
6248 (desktop-restore-reuses-frames): Document :keyword constant values.
6249 (desktop-filter-parameters-alist): Remove, now identical to
6250 frameset-filter-alist.
6251 (desktop--filter-tty*): Remove, moved to frameset.el.
6252 (desktop-save-frameset, desktop-restore-frameset):
6253 Do not pass :filters argument.
6254
6255 * frameset.el (frameset-live-filter-alist)
6256 (frameset-persistent-filter-alist): New variables.
6257 (frameset-filter-alist): Use them. Add autoload cookie.
6258 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6259 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6260 `frameset--id' (it's supposed to be internal to frameset.el).
6261 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6262 (frameset--initial-params): New function.
6263 (frameset--get-frame): Use it. Doc fix.
6264 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6265 Accept :all, not 'all.
6266 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6267 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6268 with fbound symbols. Fix frame id matching, and remove matching ids if
6269 the frame being restored is deleted. Obey :delete.
6270
6271 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * subr.el (macrop): New function.
6274 (text-clone--maintaining): New var.
6275 (text-clone--maintain): Rename from text-clone-maintain. Use it
6276 instead of inhibit-modification-hooks.
6277
6278 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6279 a proxy, so as handle autoloads and redefinitions of the target.
6280 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6281
6282 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6283 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6284 (pcase--mutually-exclusive-p): New function.
6285 (pcase--split-consp): Use it.
6286 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6287 mutually exclusive with the current predicate.
6288
6289 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6290 (edebug-macrop): Remove. Use `macrop' instead.
6291 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6292 (ad-macro-p):
6293 * eshell/esh-cmd.el (eshell-macrop):
6294 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6295
6296 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6299 (advice-mapc): New function, using it.
6300 (advice-function-member-p): New function.
6301 (advice--normalize): Store the cdr in advice--saved-rewrite since
6302 that's the part that will be changed.
6303 (advice--symbol-function): New function.
6304 (advice-remove): Handle removal before the function is defined.
6305 Adjust to new advice--saved-rewrite.
6306 (advice-member-p): Use advice-function-member-p and
6307 advice--symbol-function.
6308
6309 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6310
6311 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6312 (frameset-filter-minibuffer): Doc fix.
6313 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6314 (frameset--set-id, frameset--process-minibuffer-frames)
6315 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6316 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6317
6318 * desktop.el (desktop-clear): Only delete frames when called
6319 interactively and desktop-restore-frames is non-nil. Doc fix.
6320 (desktop-read): Set desktop-saved-frameset to nil.
6321
6322 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6323
6324 * vc/vc.el (vc-ignore): Rewrite.
6325 (vc-default-ignore-completion-table):
6326 (vc--read-lines):
6327 (vc--add-line, vc--remove-regexp): New functions.
6328
6329 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6330 (vc-svn-ignore-completion-table): New function.
6331
6332 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6333 (vc-hg-ignore-completion-table):
6334 (vc-hg-find-ignore-file): New functions.
6335
6336 * vc/vc-git.el (vc-git-ignore): Rewrite.
6337 (vc-git-ignore-completion-table):
6338 (vc-git-find-ignore-file): New functions.
6339
6340 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6341
6342 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6343 (vc-bzr-ignore-completion-table):
6344 (vc-bzr-find-ignore-file): New functions.
6345
6346 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6347
6348 * frameset.el (frameset-prop): New function and setter.
6349 (frameset-save): Do not modify frame list passed by the caller.
6350
6351 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6354
6355 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6358 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6359
6360 * custom.el (custom-initialize-default, custom-initialize-set)
6361 (custom-initialize-reset, custom-initialize-changed): Affect the
6362 toplevel-default-value (bug#6275, bug#14586).
6363 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6364 for bug#6275.
6365
6366 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6367
6368 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6369 Add cl-def* expressions.
6370
6371 * frameset.el (frameset-filter-params): Fix order of arguments.
6372
6373 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6374
6375 Move code related to saving frames to frameset.el.
6376 * desktop.el: Require frameset.
6377 (desktop-restore-frames): Doc fix.
6378 (desktop-restore-reuses-frames): Rename from
6379 desktop-restoring-reuses-frames.
6380 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6381 (desktop-clear): Clear frames too.
6382 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6383 (desktop--filter-tty*, desktop-save, desktop-read):
6384 Use frameset functions.
6385 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6386 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6387 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6388 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6389 (desktop--process-minibuffer-frames, desktop-save-frames)
6390 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6391 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6392 (desktop--sort-states, desktop-restoring-frames-p)
6393 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6394 (desktop-restoring-frameset-p, desktop-restore-frameset)
6395 (desktop--check-dont-save, desktop-save-frameset): New functions.
6396 (desktop--app-id): New constant.
6397 (desktop-first-buffer, desktop-buffer-ok-count)
6398 (desktop-buffer-fail-count): Move before first use.
6399 * frameset.el: New file.
6400
6401 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * files.el: Use lexical-binding.
6404 (dir-locals-read-from-file): Remove unused `err' variable.
6405 (hack-dir-local-variables--warned-coding): New var.
6406 (hack-dir-local-variables): Use it to avoid repeated warnings.
6407 (make-backup-file-name--default-function): New function.
6408 (make-backup-file-name-function): Use it as default.
6409 (buffer-stale--default-function): New function.
6410 (buffer-stale-function): Use it as default.
6411 (revert-buffer-insert-file-contents--default-function): New function.
6412 (revert-buffer-insert-file-contents-function): Use it as default.
6413 (insert-directory): Avoid add-to-list.
6414
6415 * autorevert.el (auto-revert-handler): Simplify.
6416 Use buffer-stale--default-function.
6417
6418 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6419
6420 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6421
6422 * whitespace.el (whitespace-ensure-local-variables): New function.
6423 (whitespace-cleanup-region): Call it.
6424 (whitespace-turn-on): Call it.
6425
6426 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6427
6428 Complete file name handlers.
6429
6430 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6431 (tramp-handle-verify-visited-file-modtime)
6432 (tramp-handle-file-notify-rm-watch): New functions.
6433 (tramp-call-process): Do not bind `default-directory'.
6434
6435 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6436 Order alphabetically.
6437 [access-file, add-name-to-file, dired-call-process]:
6438 [dired-compress-file, file-acl, file-notify-rm-watch]:
6439 [file-ownership-preserved-p, file-selinux-context]:
6440 [make-directory-internal, make-symbolic-link, set-file-acl]:
6441 [set-file-selinux-context, set-visited-file-modtime]:
6442 [verify-visited-file-modtime]: Add handler.
6443 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6444
6445 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6446 [file-notify-add-watch, file-notify-rm-watch]:
6447 [set-file-times, set-visited-file-modtime]:
6448 [verify-visited-file-modtime]: Add handler.
6449 (with-tramp-gvfs-error-message)
6450 (tramp-gvfs-handle-set-visited-file-modtime)
6451 (tramp-gvfs-fuse-file-name): Remove.
6452 (tramp-gvfs-handle-file-notify-add-watch)
6453 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6454 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6455
6456 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6457 Order alphabetically.
6458 [file-notify-rm-watch ]: Use default Tramp handler.
6459 [executable-find]: Remove private handler.
6460 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6461 `default-directory'.
6462 (tramp-sh-handle-executable-find)
6463 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6464 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6465 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6466 Do not use `format' in `tramp-message'.
6467
6468 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6469 [file-notify-rm-watch, set-visited-file-modtime]:
6470 [verify-visited-file-modtime]: Add handler.
6471 (tramp-smb-call-winexe): Do not bind `default-directory'.
6472
6473 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6474
6475 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6476
6477 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6478
6479 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6480 use it.
6481 (log-view-diff-changeset): Same.
6482 (log-view-diff-common): Call backend command `previous-revision'
6483 to find out the previous revision, in both cases. Swap the
6484 variables `to' and `fr', so that `fr' usually refers to the
6485 earlier revision (Bug#14989).
6486
6487 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6488
6489 * ibuf-ext.el (ibuffer-filter-by-filename):
6490 Make it work with dired buffers too.
6491
6492 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6493
6494 * emacs-lisp/re-builder.el (reb-color-display-p):
6495 * files.el (save-buffers-kill-terminal):
6496 * net/browse-url.el (browse-url):
6497 * server.el (server-save-buffers-kill-terminal):
6498 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6499 Prefer nil to selected-frame for the first arg of frame-parameter.
6500
6501 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6502
6503 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6504
6505 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6506
6507 * minibuffer.el (completion--twq-all): Try and preserve each
6508 completion's case choice (bug#14907).
6509
6510 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6511
6512 * net/network-stream.el (open-network-stream): Mention the new
6513 :nogreeting parameter.
6514 (network-stream-open-starttls): Use the :nogreeting parameter
6515 (bug#14938).
6516
6517 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6518
6519 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6520 more natural than popping.
6521
6522 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6523 (shr-urlify): Highlight under mouse.
6524
6525 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6526
6527 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6528
6529 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6530
6531 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6532 buffer for output.
6533
6534 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6535 point-min==1. Fix search string. Fix parentheses missing.
6536
6537 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6538 assume point-min==1. Fix search string. Fix parentheses missing.
6539
6540 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6541
6542 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6543 buffer for output.
6544
6545 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6546
6547 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6548 initial frame is minibuffer-less. (Bug#14841)
6549
6550 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6551
6552 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6553 option.
6554
6555 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6556 (tramp-maybe-open-connection): Use it.
6557
6558 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6559
6560 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6561 minimal set of parameters passed when creating a frame, because
6562 the minibuffer status of a frame cannot be changed later.
6563
6564 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6565
6566 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6567 replace-regexp-in-string and inadvertent omissions in previous change.
6568 (todo-filter-items): Ensure only file names are comma-separated in
6569 name of filtered items buffer.
6570
6571 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6572
6573 * desktop.el: Optionally force offscreen frames back onscreen.
6574 (desktop-restoring-reuses-frames): New option.
6575 (desktop--compute-pos, desktop--move-onscreen): New functions.
6576 (desktop--make-frame): Use desktop--move-onscreen.
6577
6578 2013-07-27 Alan Mackenzie <acm@muc.de>
6579
6580 Fontify a Java generic method as a function.
6581 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6582 value to t.
6583
6584 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6585
6586 * calendar/todo-mode.el: Add command to rename todo files.
6587 (todo-rename-file): New command.
6588 (todo-key-bindings-t): Add key binding for it. Change the
6589 bindings of todo-filter-regexp-items(-multifile) to use `x'
6590 instead of `r', since the latter is better suited to the new
6591 renaming command.
6592
6593 2013-07-27 Alan Mackenzie <acm@muc.de>
6594
6595 Make Java try-with-resources statement parse properly.
6596 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6597 (c-block-stmt-1-2-key): New language constants/variables.
6598 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6599 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6600 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6601 with c-block-stmt-1-2-key.
6602
6603 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6604
6605 * desktop.el (desktop--make-frame): Apply most frame parameters after
6606 creating the frame to force (partially or totally) offscreen frames to
6607 be restored as such.
6608
6609 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6610
6611 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6612 (Bug#14948)
6613
6614 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6617 `base' arg of backtrace-frame.
6618
6619 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6620
6621 * simple.el (list-processes): Doc fix.
6622
6623 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6624
6625 * desktop.el (desktop--select-frame):
6626 Try harder to reuse existing frames.
6627
6628 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6629
6630 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6631 (edebug-eval): Use backtrace-eval.
6632 (edebug--display, edebug--recursive-edit): Don't let-bind the
6633 edebug-outer-* vars that keep track of variables we locally let-bind.
6634 (edebug-outside-excursion): Don't restore outside values of locally
6635 let-bound vars.
6636 (edebug--display): Use user-error.
6637 (cl-lexical-debug, cl-debug-env): Remove.
6638
6639 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6640
6641 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6642 are restored to be sure that they are visible before deleting any
6643 remaining ones.
6644
6645 2013-07-26 Matthias Meulien <orontee@gmail.com>
6646
6647 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6648 vc-print-root-log. (Bug#14948)
6649
6650 2013-07-26 Richard Stallman <rms@gnu.org>
6651
6652 Add aliases for encrypting mail.
6653 * epa.el (epa-mail-aliases): New option.
6654 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6655 Bind inhibit-read-only so read-only text doesn't ruin everything.
6656 (epa-mail-default-recipients): New subroutine broken out.
6657 Handle epa-mail-aliases.
6658
6659 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 Add support for lexical variables to the debugger's `e' command.
6662 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6663 vars, except for debugger-outer-match-data.
6664 (debugger-frame-number): Move check for "on a function call" from
6665 callers into it. Add `skip-base' argument.
6666 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6667 (debugger-env-macro): Only reset the state stored in non-variables,
6668 i.e. current-buffer and match-data.
6669 (debugger-eval-expression): Rewrite using backtrace-eval.
6670 * subr.el (internal--called-interactively-p--get-frame): Remove.
6671 (called-interactively-p):
6672 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6673 `base' arg of backtrace-frame instead.
6674
6675 2013-07-26 Glenn Morris <rgm@gnu.org>
6676
6677 * align.el (align-regexp): Doc fix. (Bug#14857)
6678 (align-region): Explicit error if subexpression missing/does not match.
6679
6680 * simple.el (global-visual-line-mode):
6681 Do not duplicate the mode lighter. (Bug#14858)
6682
6683 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6684
6685 * window.el (display-buffer): In display-buffer bind
6686 split-window-keep-point to t, bug#14829.
6687
6688 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6689
6690 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6691 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6692 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6693 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6694 Change accordingly.
6695 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6696 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6697
6698 2013-07-25 Glenn Morris <rgm@gnu.org>
6699
6700 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6701
6702 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6703
6704 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6705 parameter to modify-frame-parameters if the value has not changed;
6706 this is a workaround for bug#14949.
6707 (desktop--make-frame): On cl-delete-if call, check parameter name,
6708 not full parameter.
6709
6710 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6711
6712 * vc/vc.el (vc-ignore): New function.
6713
6714 * vc/vc-svn.el (vc-svn-ignore): New function.
6715
6716 * vc/vc-hg.el (vc-hg-ignore): New function.
6717
6718 * vc/vc-git.el (vc-git-ignore): New function.
6719
6720 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6721 (vc-dir-ignore): New function.
6722
6723 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6724 (cvs-append-to-ignore): Move here from pcvs.el.
6725
6726 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6727
6728 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6729
6730 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6731
6732 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6733 (desktop-restore-frames): Warn when deleting an existing frame failed.
6734
6735 2013-07-24 Glenn Morris <rgm@gnu.org>
6736
6737 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6738
6739 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6740
6741 * filenotify.el (file-notify-supported-p):
6742 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6743 Remove functions.
6744
6745 * autorevert.el (auto-revert-use-notify):
6746 (auto-revert-notify-add-watch):
6747 * net/tramp.el (tramp-file-name-for-operation):
6748 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6749 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6750 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6751 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6752 Remove `file-notify-supported-p' entry.
6753
6754 2013-07-24 Glenn Morris <rgm@gnu.org>
6755
6756 * printing.el: Replace all uses of deleted ps-windows-system,
6757 ps-lp-system, ps-flatten-list with lpr- versions.
6758
6759 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6762 checked with memq (bug#14935).
6763
6764 * files.el (revert-buffer-function): Use a non-nil default.
6765 (revert-buffer-preserve-modes): Declare var to
6766 provide access to the `preserve-modes' argument.
6767 (revert-buffer): Let-bind it.
6768 (revert-buffer--default): New function, extracted from revert-buffer.
6769
6770 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * lpr.el: Signal print errors more prominently.
6773 (print-region-function): Don't default to nil.
6774 (lpr-print-region): New function, extracted from print-region-1.
6775 Check lpr's return value and signal an error in case of problem.
6776 (print-region-1): Use it.
6777 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6778 versions instead.
6779 (ps-printer-name): Default to nil.
6780 (ps-printer-name-option): Default to lpr-printer-switch.
6781 (ps-print-region-function): Don't default to nil.
6782 (ps-postscript-code-directory): Simplify default.
6783 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6784 (ps-string-list, ps-eval-switch, ps-flatten-list)
6785 (ps-flatten-list-1): Remove.
6786 (ps-multibyte-buffer): Avoid setq.
6787 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6788 (print-region-function, ps-print-region-function): Don't set them here.
6789
6790 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6791
6792 * ido.el (ido-fractionp):
6793 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6794 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6795 (ido-max-directory-size, ido-max-dir-file-cache)
6796 (ido-decorations): Doc fix.
6797
6798 * ansi-color.el: Fix old URL.
6799
6800 2013-07-23 Michael R. Mauger <michael@mauger.com>
6801
6802 * progmodes/sql.el: Version 3.3
6803 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6804 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6805 (sql-interactive-remove-continuation-prompt): Rewrite, use
6806 functions above. Fix continuation prompt and complete output line
6807 handling.
6808 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6809 redirected output buffer.
6810 (sql-mode): Restore deleted code (Bug#13591).
6811
6812 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6813
6814 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6815
6816 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6817
6818 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6819
6820 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6821 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6822 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6823
6824 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6825
6826 * desktop.el (desktop-clear): Simplify; remove useless checks
6827 against invalid buffer names.
6828 (desktop-list*): Use cl-list*.
6829 (desktop-buffer-info, desktop-create-buffer): Simplify.
6830
6831 2013-07-23 Leo Liu <sdl.web@gmail.com>
6832
6833 * bookmark.el (bookmark-make-record): Restore NAME as a default
6834 value. (Bug#14933)
6835
6836 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6837
6838 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6839 extracted from autoload--insert-text.
6840 (autoload--insert-text): Remove.
6841 (autoload--print-cookie-text): New function, extracted from
6842 autoload--insert-cookie-text.
6843 (autoload--insert-cookie-text): Remove.
6844 (autoload-generate-file-autoloads): Adjust calls accordingly.
6845
6846 * winner.el (winner-hook-installed-p): Remove.
6847 (winner-mode): Simplify accordingly.
6848
6849 * subr.el (add-to-list): Fix compiler-macro when `append' is
6850 not constant. Don't use `cl-member' for the base case.
6851
6852 * progmodes/subword.el: Fix boundary case (bug#13758).
6853 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6854 own group.
6855 (subword-backward-regexp): Make it a constant.
6856 (subword-forward-internal): Don't treat a trailing capital as the
6857 beginning of a word.
6858
6859 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6860
6861 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6862 global value of tabulated-list-revert-hook (bug#14930).
6863
6864 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6865
6866 * desktop.el: Require 'cl-lib.
6867 (desktop-before-saving-frames-functions): New hook.
6868 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6869 for frames being saved. Rename from desktop--save-minibuffer-frames.
6870 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6871 Do not save frames with non-nil `desktop-dont-save' parameter.
6872 Filter out deleted frames.
6873 (desktop--find-frame): Use cl-find-if.
6874 (desktop--select-frame): Use cl-(first|second|third) to access values
6875 of desktop-mini.
6876 (desktop--make-frame): Use cl-delete-if.
6877 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6878 (desktop-restore-frames): Use cl-(first|second|third) to access values
6879 of desktop-mini. Look for visible frame at the end, not while
6880 restoring frames.
6881
6882 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6883 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6884 Use string-match-p, looking-at-p (bug#14927).
6885
6886 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6887
6888 * desktop.el (desktop-saved-frame-states):
6889 Rename from desktop--saved-states; all users changed.
6890 (desktop-save-frames): Rename from desktop--save-frames.
6891 Do not save state to desktop file.
6892 (desktop-save): Save desktop-saved-frame-states to desktop file
6893 and reset to nil.
6894 (desktop-restoring-frames-p): New function.
6895 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6896 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6897 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6898
6899 * desktop.el: Correctly restore iconified frames.
6900 (desktop--filter-iconified-position): New function.
6901 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6902
6903 2013-07-20 Glenn Morris <rgm@gnu.org>
6904
6905 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6906 Let `message' do the formatting.
6907 (def-gdb-preempt-display-buffer): Add explicit format.
6908
6909 * image-dired.el (image-dired-track-original-file):
6910 Use with-current-buffer.
6911 (image-dired-track-thumbnail): Use with-current-buffer.
6912 Avoid changing point of wrong window.
6913
6914 * image-dired.el (image-dired-track-original-file):
6915 Avoid changing point of wrong window. (Bug#14909)
6916
6917 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6918
6919 * progmodes/gdb-mi.el (gdb-done-or-error):
6920 Guard against "%" in gdb output. (Bug#14127)
6921
6922 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6923
6924 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6925 (Bug#14826)
6926
6927 * international/mule.el (coding-system-iso-2022-flags): Fix last
6928 change.
6929
6930 2013-07-20 Kenichi Handa <handa@gnu.org>
6931
6932 * international/mule.el (coding-system-iso-2022-flags):
6933 Add `8-bit-level-4'. (Bug#8522)
6934
6935 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6936
6937 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6938 (bug#14815).
6939
6940 * net/eww.el (eww-process-text-input): Allow inputting when the
6941 point is at the start of the line, as the properties aren't
6942 front-sticky.
6943
6944 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6945 degenerate widths.
6946
6947 2013-07-19 Richard Stallman <rms@gnu.org>
6948
6949 * epa.el (epa-popup-info-window): Doc fix.
6950
6951 * subr.el (split-string): New arg TRIM.
6952
6953 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6954
6955 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6956 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6957
6958 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6959
6960 * filenotify.el (file-notify--library): Rename from
6961 `file-notify-support'. Do not autoload. Adapt all uses.
6962 (file-notify-supported-p): New defun.
6963
6964 * autorevert.el (auto-revert-use-notify):
6965 Use `file-notify-supported-p' instead of `file-notify-support'.
6966 Adapt docstring.
6967 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6968
6969 * net/tramp.el (tramp-file-name-for-operation):
6970 Add `file-notify-supported-p'.
6971
6972 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6973 New defun.
6974 (tramp-sh-file-name-handler-alist): Add it as handler for
6975 `file-notify-supported-p '.
6976
6977 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6978 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6979 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6980 Add `ignore' as handler for `file-notify-*' functions.
6981
6982 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6983
6984 * simple.el (line-move-partial, line-move): Don't start vscroll or
6985 scroll-up if the current line is not taller than the window.
6986 (Bug#14881)
6987
6988 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6989
6990 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6991 highlight question marks in the method names as strings.
6992 (ruby-block-beg-keywords): Inline.
6993 (ruby-font-lock-keyword-beg-re): Extract from
6994 `ruby-font-lock-keywords'.
6995
6996 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6997
6998 * frame.el (blink-cursor-blinks): New defcustom.
6999 (blink-cursor-blinks-done): New defvar.
7000 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7001 (blink-cursor-timer-function): Check if number of blinks has been
7002 done on X and NS.
7003 (blink-cursor-suspend, blink-cursor-check): New defuns.
7004
7005 2013-07-15 Glenn Morris <rgm@gnu.org>
7006
7007 * edmacro.el (edmacro-format-keys): Fix previous change.
7008
7009 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7010
7011 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7012 The hack didn't work outside English locales anyway.
7013
7014 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7015
7016 * simple.el (define-alternatives): Rename from alternatives-define,
7017 per RMS' suggestion.
7018
7019 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7020
7021 * desktop.el (desktop-restore-frames): Change default to t.
7022 (desktop-restore-in-current-display): Now offer more options.
7023 (desktop-restoring-reuses-frames): New customization option.
7024 (desktop--saved-states): Doc fix.
7025 (desktop-filter-parameters-alist): New variable, renamed and expanded
7026 from desktop--excluded-frame-parameters.
7027 (desktop--target-display): New variable.
7028 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7029 (desktop--filter-tty*, desktop--filter-*-color)
7030 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7031 (desktop--filter-save-desktop-parm)
7032 (desktop-restore-in-original-display-p): New functions.
7033 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7034 (desktop--save-minibuffer-frames): New function, inspired by a similar
7035 function from Martin Rudalics.
7036 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7037 (desktop--restore-in-this-display-p): Remove.
7038 (desktop--find-frame): Rename from desktop--find-frame-in-display
7039 and add predicate argument.
7040 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7041 (desktop--reuse-list): New variable.
7042 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7043 New functions.
7044 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7045
7046 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7047
7048 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7049
7050 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7051
7052 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7053 Highlight conversion methods on Kernel.
7054
7055 2013-07-13 Alan Mackenzie <acm@muc.de>
7056
7057 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7058 and comment it out. This out-commenting enables certain C++
7059 declarations to be parsed correctly.
7060
7061 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7062
7063 * international/mule.el (define-coding-system): Doc fix.
7064
7065 * simple.el (default-font-height): Don't call font-info if the
7066 frame's default font didn't change since the frame was created.
7067 (Bug#14838)
7068
7069 2013-07-13 Leo Liu <sdl.web@gmail.com>
7070
7071 * ido.el (ido-read-file-name): Guard against non-symbol value.
7072
7073 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7074
7075 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7076 in nested defuns.
7077
7078 2013-07-13 Leo Liu <sdl.web@gmail.com>
7079
7080 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7081 ido-set-matches call. (Bug#6852)
7082
7083 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7084
7085 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7086 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7087 Ruby 2.0.
7088 (ruby-font-lock-keywords): Distinguish calls to functions with
7089 module-like names from module references. Highlight character
7090 literals.
7091
7092 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7093
7094 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7095 (gdb-send): Handle continued commands. (Bug#14847)
7096
7097 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7098
7099 * desktop.el (desktop--v2s): Remove unused local variable.
7100 (desktop-save-buffer): Make defvar-local; adjust docstring.
7101 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7102 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7103
7104 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7105
7106 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7107
7108 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7109
7110 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7111 (Bug#14842)
7112
7113 2013-07-12 Glenn Morris <rgm@gnu.org>
7114
7115 * doc-view.el: Require cl-lib at runtime too.
7116 (doc-view-remove-if): Remove.
7117 (doc-view-search-next-match, doc-view-search-previous-match):
7118 Use cl-remove-if.
7119
7120 * edmacro.el: Require cl-lib at runtime too.
7121 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7122 (edmacro-mismatch, edmacro-subseq): Remove.
7123
7124 * shadowfile.el: Require cl-lib.
7125 (shadow-remove-if): Remove.
7126 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7127 Use cl-remove-if.
7128
7129 * wid-edit.el: Require cl-lib.
7130 (widget-choose): Use cl-remove-if.
7131 (widget-remove-if): Remove.
7132
7133 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7134 (ebrowse-delete-if-not): Remove.
7135 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7136 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7137 Use cl-delete-if-not.
7138
7139 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7140
7141 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7142 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7143
7144 2013-07-12 Leo Liu <sdl.web@gmail.com>
7145
7146 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7147
7148 2013-07-11 Glenn Morris <rgm@gnu.org>
7149
7150 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7151 (edebug-gensym-index, edebug-gensym):
7152 Remove reimplementation of cl-gensym.
7153 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7154
7155 * thumbs.el: Require cl-lib at run-time too.
7156 (thumbs-gensym-counter, thumbs-gensym):
7157 Remove reimplementation of cl-gensym.
7158 (thumbs-temp-file): Use cl-gensym.
7159
7160 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7161 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7162 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7163 (ert--union, ert--gensym-counter, ert--gensym-counter)
7164 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7165 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7166 (ert-make-test-unbound, ert--expand-should-1)
7167 (ert--expand-should, ert--should-error-handle-error)
7168 (should-error, ert--explain-equal-rec)
7169 (ert--plist-difference-explanation, ert-select-tests)
7170 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7171 Use cl-lib functions rather than reimplementations.
7172
7173 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7174
7175 * net/tramp.el (tramp-methods): Extend docstring.
7176 (tramp-connection-timeout): New defcustom.
7177 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7178 (with-tramp-progress-reporter): Simplify.
7179 (tramp-process-actions): Improve messages.
7180
7181 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7182 * net/tramp-sh.el (tramp-maybe-open-connection):
7183 Use `tramp-connection-timeout'.
7184 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7185 (Bug#14808)
7186
7187 2013-07-11 Leo Liu <sdl.web@gmail.com>
7188
7189 * ido.el (ido-read-file-name): Conform to the requirements of
7190 read-file-name. (Bug#11861)
7191 (ido-read-directory-name): Conform to the requirements of
7192 read-directory-name.
7193
7194 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7195
7196 * subr.el (delay-warning): New function.
7197
7198 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7199
7200 * simple.el (default-line-height): New function.
7201 (line-move-partial, line-move): Use it instead of computing the
7202 line height inline.
7203 (line-move-partial): Always compute ROWH. If the last line is
7204 partially-visible, but its text is completely visible, allow
7205 cursor to enter such a partially-visible line.
7206
7207 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7208
7209 Improve error messages. (Bug#14808)
7210
7211 * net/tramp.el (tramp-current-connection): New defvar, moved from
7212 tramp-sh.el.
7213 (tramp-message-show-progress-reporter-message): Remove, not
7214 needed anymore.
7215 (tramp-error-with-buffer): Show message in minibuffer.
7216 Discard input before waiting. Reset connection timestamp.
7217 (with-tramp-progress-reporter): Improve messages.
7218 (tramp-process-actions): Use progress reporter. Delete process in
7219 case of error. Improve messages.
7220
7221 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7222 Call `tramp-error-with-buffer' with vector and buffer.
7223 (tramp-current-connection): Remove.
7224 (tramp-maybe-open-connection): The car of
7225 `tramp-current-connection' are the first 3 slots of the vector.
7226
7227 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7228
7229 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7230 inside continued strings.
7231
7232 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7233
7234 Timestamp fixes for undo (Bug#14824).
7235 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7236
7237 2013-07-10 Leo Liu <sdl.web@gmail.com>
7238
7239 * files.el (require-final-newline): Allow safe local value.
7240 (Bug#14834)
7241
7242 2013-07-09 Leo Liu <sdl.web@gmail.com>
7243
7244 * ido.el (ido-read-directory-name): Handle fallback.
7245 (ido-read-file-name): Update DIR to ido-current-directory.
7246 (Bug#1516)
7247 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7248
7249 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7250
7251 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7252 "autoload". Remove "warn lower camel case" section, previously
7253 commented out. Highlight negation char. Do not highlight the
7254 target in singleton method definitions.
7255
7256 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7257
7258 * faces.el (tty-setup-hook): Declare the hook.
7259
7260 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7261 and detect when a guard/pred depends on local vars (bug#14773).
7262 (pcase--u1): Adjust caller.
7263
7264 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7265
7266 * simple.el (line-move-partial, line-move): Account for
7267 line-spacing.
7268 (line-move-partial): Avoid setting vscroll when the last
7269 partially-visible line in window is of default height.
7270
7271 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7272
7273 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7274 been used a while.
7275
7276 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7277
7278 * subr.el (read-quoted-char): Remove unused local variable `char'.
7279
7280 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7281
7282 * ediff.el (ediff-version): Version update.
7283 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7284 (ediff-merge-with-ancestor-command, ediff-directories-command)
7285 (ediff-directories3-command, ediff-merge-directories-command)
7286 (ediff-merge-directories-with-ancestor-command): New functions.
7287 All are command-line interfaces to ediff: to facilitate calling
7288 Emacs with the appropriate ediff functions invoked.
7289
7290 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7291 (viper-save-kill-buffer): Check if buffer is modified.
7292
7293 * viper.el (viper-version): Version update.
7294 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7295
7296 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7297
7298 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7299 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7300 (viper-intercept-ESC-key): Simplify.
7301 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7302 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7303 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7304 (viper-setup-ESC-to-escape): New functions.
7305 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7306 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7307
7308 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7309
7310 * simple.el (default-font-height, window-screen-lines):
7311 New functions.
7312 (line-move, line-move-partial): Use them instead of
7313 frame-char-height and window-text-height. This makes scrolling
7314 text smoother when the buffer's default face uses a font that is
7315 different from the frame's default font.
7316
7317 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7318
7319 * files.el (write-file): Do not display confirm dialog for NS,
7320 it does its own dialog, which can't be canceled (Bug#14578).
7321
7322 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7323
7324 * simple.el (line-move-partial): Adjust the row returned by
7325 posn-at-point for the current window-vscroll. (Bug#14567)
7326
7327 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7328
7329 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7330 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7331 spaces.
7332
7333 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7334
7335 * window.el (window-state-put-stale-windows): New variable.
7336 (window--state-put-2): Save list of windows without matching buffer.
7337 (window-state-put): Remove "bufferless" windows if possible.
7338
7339 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7340
7341 * simple.el (alternatives-define): Remove leftover :group keyword.
7342 Tweak docstring.
7343
7344 2013-07-06 Leo Liu <sdl.web@gmail.com>
7345
7346 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7347 (ido-enable-virtual-buffers): New variable.
7348 (ido-buffer-internal, ido-toggle-virtual-buffers)
7349 (ido-make-buffer-list): Use it.
7350 (ido-exhibit): Support turning on and off virtual buffers
7351 automatically.
7352
7353 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7354
7355 * simple.el (alternatives-define): New macro.
7356
7357 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * subr.el (read-quoted-char): Use read-key.
7360 (sit-for): Let read-event decode tty input (bug#14782).
7361
7362 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7363
7364 * calendar/todo-mode.el: Add handling of file deletion, both by
7365 mode command and externally. Fix various related bugs.
7366 Clarify Commentary and improve some documentation strings and code.
7367 (todo-delete-file): New command.
7368 (todo-check-file): New function.
7369 (todo-show): Handle external deletion of the file we're trying to
7370 show (bug#14688). Replace called-interactively-p by an optional
7371 prefix argument to avoid problematic interaction with catch form
7372 when byte compiled (bug#14702).
7373 (todo-quit): Handle external deletion of the archive's todo file.
7374 Make sure the buffer that was visiting the archive file is still
7375 live before trying to bury it.
7376 (todo-category-completions): Handle external deletion of any
7377 category completion files.
7378 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7379 of todo files, in case of external deletion.
7380 (todo-add-file): Replace unnecessary setq by let-binding.
7381 (todo-find-archive): Check whether there are any archives.
7382 Replace unnecessary setq by let-binding.
7383 (todo-archive-done-item): Use find-file-noselect to get the
7384 archive buffer whether or not the archive already exists.
7385 Remove superfluous code. Use file size instead of buffer-file-name to
7386 check if the archive is new; if it is, update list of archives.
7387 (todo-default-todo-file): Allow nil to be a valid value for when
7388 there are no todo files.
7389 (todo-reevaluate-default-file-defcustom): Use corrected definition
7390 of todo-default-todo-file.
7391 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7392 (todo-delete-category, todo-show-categories-table)
7393 (todo-category-number): Clarify comment.
7394 (todo-filter-items): Clarify documentation string.
7395 (todo-show-current-file, todo-display-as-todo-file)
7396 (todo-reset-and-enable-done-separator): Tweak documentation string.
7397 (todo-done-separator): Make separator length window-width, since
7398 bug#2749 is now fixed.
7399
7400 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7401
7402 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7403 Support both "gvfs-monitor-dir" and "inotifywait".
7404 (tramp-sh-file-inotifywait-process-filter): Rename from
7405 `tramp-sh-file-notify-process-filter'.
7406 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7407 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7408
7409 2013-07-05 Leo Liu <sdl.web@gmail.com>
7410
7411 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7412
7413 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7414
7415 * frame.el (display-pixel-height, display-pixel-width)
7416 (display-mm-height, display-mm-width): Mention behavior on
7417 multi-monitor setups in docstrings.
7418 (w32-display-monitor-attributes-list): Declare function.
7419 (display-monitor-attributes-list): Use it.
7420
7421 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7422
7423 * filenotify.el: New package.
7424
7425 * autorevert.el (top): Require filenotify.el.
7426 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7427 instead.
7428 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7429 (auto-revert-notify-handler): Use `file-notify-*' functions.
7430
7431 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7432
7433 * net/tramp.el (tramp-file-name-for-operation):
7434 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7435
7436 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7437 for `file-notify-add-watch' and `file-notify-rm-watch'.
7438 (tramp-process-sentinel): Improve trace.
7439 (tramp-sh-handle-file-notify-add-watch)
7440 (tramp-sh-file-notify-process-filter)
7441 (tramp-sh-handle-file-notify-rm-watch)
7442 (tramp-get-remote-inotifywait): New defuns.
7443
7444 2013-07-03 Juri Linkov <juri@jurta.org>
7445
7446 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7447 call of `occur-read-primary-args' to interactive spec.
7448
7449 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7450 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7451
7452 2013-07-03 Matthias Meulien <orontee@gmail.com>
7453
7454 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7455 `Buffer-menu-multi-occur'. Add it to the menu.
7456 (Buffer-menu-mode): Document it in docstring.
7457 (Buffer-menu-multi-occur): New command. (Bug#14673)
7458
7459 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7460
7461 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7462 keywords and built-ins.
7463
7464 2013-07-03 Glenn Morris <rgm@gnu.org>
7465
7466 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7467
7468 Make info-xref checks case-sensitive by default
7469 * info.el (Info-find-node, Info-find-in-tag-table)
7470 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7471 Add option for exact case matching of nodes.
7472 * info-xref.el (info-xref): New custom group.
7473 (info-xref-case-fold): New option.
7474 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7475
7476 2013-07-03 Leo Liu <sdl.web@gmail.com>
7477
7478 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7479
7480 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7481
7482 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7483 middle of block statement initially, lower the depth. Remove
7484 FIXME comment, not longer valid. Remove middle of block statement
7485 detection, no need to do that anymore since we've been using
7486 `ruby-parse-region' here.
7487
7488 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7489
7490 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7491
7492 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7493
7494 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7495
7496 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7497
7498 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7499 (desktop-restore-in-current-display): New customization option.
7500 (desktop--excluded-frame-parameters): Add `font'.
7501 (desktop--save-frames): Rename from desktop--save-windows.
7502 (desktop--restore-in-this-display-p): New function.
7503 (desktop--make-full-frame): Remove unwanted width/height from
7504 full(width|height) frames.
7505 (desktop--restore-frames): Rename from desktop--restore-windows.
7506 Obey desktop-restore-current-display. Do not delete old frames or
7507 select a new frame unless we were able to restore at least one frame.
7508
7509 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7510
7511 * files.el (find-file-noselect): Simplify conditional expression.
7512
7513 * remember.el (remember-append-to-file):
7514 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7515
7516 Add `remember-notes' function to store random notes across Emacs
7517 restarts.
7518 * remember.el (remember-data-file): Add :set callback to affect
7519 notes buffer (if any).
7520 (remember-notes): New command.
7521 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7522 New defcustoms for the `remember-notes' function.
7523 (remember-notes-save-and-bury-buffer): New command.
7524 (remember-notes-mode-map): New variable.
7525 (remember-mode): New minor mode.
7526 (remember-notes--kill-buffer-query): New function.
7527 * startup.el (initial-buffer-choice): Add notes to custom type.
7528
7529 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7530
7531 * bindings.el (right-char, left-char): Don't call sit-for, this is
7532 no longer needed. Use arithmetic comparison only for numerical
7533 arguments.
7534
7535 * international/mule-cmds.el (select-safe-coding-system):
7536 Handle the case of FROM being a string correctly. (Bug#14755)
7537
7538 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7539
7540 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7541 progression on degenerate tables.
7542 (shr-rescale-image): ImageMagick animated images currently don't work.
7543
7544 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7545
7546 Some fixes and improvements for desktop frame restoration.
7547 It is still experimental and disabled by default.
7548 * desktop.el (desktop--save-windows): Put the selected frame at
7549 the head of the list.
7550 (desktop--make-full-frame): New function.
7551 (desktop--restore-windows): Try to re-select the frame that was
7552 selected upon saving. Do not abort if some frames fail to restore,
7553 just show an error message and continue. Set up maximized frames
7554 so they have default non-maximized dimensions.
7555
7556 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7557
7558 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7559 Don't start heredoc inside a string or comment.
7560
7561 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7562
7563 * bindings.el (visual-order-cursor-movement): New defcustom.
7564 (right-char, left-char): Provide visual-order cursor motion by
7565 calling move-point-visually. Update the doc strings.
7566
7567 2013-06-28 Kenichi Handa <handa@gnu.org>
7568
7569 * international/mule.el (define-coding-system): New coding system
7570 properties :inhibit-null-byte-detection,
7571 :inhibit-iso-escape-detection, and :prefer-utf-8.
7572 (set-buffer-file-coding-system): If :charset-list property of
7573 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7574 appropriate for setting.
7575
7576 * international/mule-cmds.el (select-safe-coding-system):
7577 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7578 multibyte characters, return utf-8 (or one of its siblings).
7579
7580 * international/mule-conf.el (prefer-utf-8): New coding system.
7581 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7582 files.
7583
7584 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7585
7586 * net/shr.el (shr-render-region): New function.
7587
7588 * net/eww.el: Autoload `eww-browse-url'.
7589
7590 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7591
7592 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7593 Adapt to `package-desc-version' being a list.
7594 Use `package--ac-desc-version' to retrieve version from a package
7595 archive element.
7596
7597 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7598
7599 New experimental feature to save&restore window and frame setup.
7600 * desktop.el (desktop-save-windows): New defcustom.
7601 (desktop--saved-states): New var.
7602 (desktop--excluded-frame-parameters): New defconst.
7603 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7604 (desktop--restore-windows, desktop--save-windows): New functions.
7605 (desktop-save): Call `desktop--save-windows'.
7606 (desktop-read): Call `desktop--restore-windows'.
7607
7608 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7609
7610 * net/shr.el (add-face-text-property): Remove compat definition.
7611
7612 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7613
7614 * info.el (Info-try-follow-nearest-node): Move search for footnote
7615 above search for node name to prevent missing a footnote (bug#14717).
7616
7617 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7618
7619 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7620
7621 2013-06-27 Leo Liu <sdl.web@gmail.com>
7622
7623 * net/eww.el (eww-read-bookmarks): Check file size.
7624
7625 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7626
7627 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7628 advice--pending if newdef is nil or an autoload (bug#13820).
7629 (advice-mapc): New function.
7630
7631 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7632
7633 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7634 probably.
7635 (eww-mode-map): Add a menu bar.
7636 (eww-add-bookmark): New command.
7637 (eww-bookmark-mode): New mode and commands.
7638 (eww-add-bookmark): Remove newlines from the title.
7639 (eww-bookmark-browse): Don't bug out if it's the only window.
7640
7641 2013-06-26 Glenn Morris <rgm@gnu.org>
7642
7643 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7644 (hfy-size): Handle ttys. (Bug#14668)
7645
7646 * info-xref.el: Update for Texinfo 5 change in *note format.
7647 (info-xref-node-re, info-xref-note-re): New constants.
7648 (info-xref-check-buffer): Use info-xref-note-re.
7649
7650 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7651
7652 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7653
7654 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7655 nil terminate the loop (bug#14718).
7656
7657 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7658
7659 * net/eww.el: Rework history traversal. When going forward/back,
7660 put these actions into the history, too, so that they can be
7661 replayed.
7662 (eww-render): Move the history reset to the correct buffer.
7663
7664 2013-06-25 Juri Linkov <juri@jurta.org>
7665
7666 * files-x.el (modify-dir-local-variable): Change the header comment
7667 in the file with directory local variables. (Bug#14692)
7668
7669 * files-x.el (read-file-local-variable-value): Add `default'.
7670 (Bug#14710)
7671
7672 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7673
7674 * net/eww.el (eww-make-unique-file-name): Create a unique file
7675 name before saving to entering `y' accidentally asynchronously.
7676
7677 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7678
7679 * net/eww.el (eww-download): New command and keystroke.
7680
7681 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7682
7683 * net/eww.el (eww-copy-page-url): Change name of command.
7684
7685 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7686 be more consistent with Info and dired.
7687
7688 * net/eww.el (eww-mode-map): Ditto.
7689
7690 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7693 packages from archives.
7694 (package-archive-contents): Change format; include obsolete packages.
7695 (package-desc): Use `dir' to mark builtin packages.
7696 (package--from-builtin): Set the `dir' field to `builtin'.
7697 (generated-autoload-file, version-control): Declare.
7698 (package-compute-transaction): Change first arg and return value to be
7699 lists of package-descs. Adjust to new package-archive-contents format.
7700 (package--add-to-archive-contents): Adjust to new
7701 package-archive-contents format.
7702 (package-download-transaction): Arg is now a list of package-descs.
7703 (package-install): If `pkg' is a package name, pass it as
7704 a requirement, so it is subject to the usual (e.g. disabled) checks.
7705 (describe-package): Accept package-desc as well.
7706 (describe-package-1): Describe a specific package-desc. Add links to
7707 other package-descs for the same package name.
7708 (package-menu-describe-package): Pass the actual package-desc.
7709 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7710 works correctly.
7711 (package-desc-status): New function.
7712 (package-menu--refresh): New function, extracted
7713 from package-menu--generate.
7714 (package-menu--generate): Use it.
7715 (package-delete): Update package-alist.
7716 (package-menu-execute): Don't call package-initialize.
7717
7718 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7719 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7720 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7721 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7722 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7723 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7724
7725 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7726
7727 * window.el (window--state-get-1): Workaround for bug#14527.
7728 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7729
7730 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7731
7732 * net/eww.el (eww-back-url): Implement the history by stashing all
7733 the data into a list.
7734 (eww-forward-url): Allow going forward in the history, too.
7735
7736 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7737
7738 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7739 for values and use read--expression for expressions (bug#14710).
7740 (read-file-local-variable): Avoid setq.
7741 (read-file-local-variable-mode): Use minor-mode-list.
7742
7743 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7744
7745 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7746 for DOI URLs.
7747
7748 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7749
7750 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7751 Update imenu-support when dialect changes.
7752
7753 2013-06-25 Leo Liu <sdl.web@gmail.com>
7754
7755 * ido.el (ido-read-internal): Allow forward slash on windows.
7756
7757 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7758
7759 * net/eww.el (eww): Start of strings is \\`, not ^.
7760
7761 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7762
7763 * net/shr.el (shr-browse-url): Fix interactive spec.
7764
7765 * net/eww.el (eww): Add a trailing slash to domain names.
7766
7767 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7768
7769 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7770
7771 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7772
7773 * net/shr.el (shr-browse-url): Use an external browser if given a
7774 prefix.
7775
7776 * net/eww.el (eww-external-browser): Move to shr.
7777
7778 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7779
7780 * net/eww.el (eww): Work more correctly for file: URLs.
7781 (eww-detect-charset): Allow quoted charsets.
7782 (eww-yank-page-url): New command and keystroke.
7783
7784 2013-06-24 Daiki Ueno <ueno@gnu.org>
7785
7786 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7787 file name of gpg executable.
7788 (epg-context-program): New function.
7789 (epg-context-home-directory): New function.
7790 (epg-context-set-program): New function.
7791 (epg-context-set-home-directory): New function.
7792 (epg--start): Use `epg-context-program' instead of
7793 'epg-gpg-program'.
7794 (epg--list-keys-1): Likewise.
7795
7796 2013-06-24 Leo Liu <sdl.web@gmail.com>
7797
7798 * ido.el (ido-read-internal): Fix bug#14620.
7799
7800 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7801
7802 * faces.el (face-documentation): Simplify.
7803 (read-face-attribute, tty-find-type, x-resolve-font-name):
7804 Use `string-match-p'.
7805 (list-faces-display): Use `string-match-p'. Simplify.
7806 (face-spec-recalc): Check face to avoid face alias loops.
7807 (read-color): Use `string-match-p' and non-capturing parenthesis.
7808
7809 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7810
7811 * net/shr.el (shr-rescale-image): Use the new
7812 :max-width/:max-height functionality.
7813
7814 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7815
7816 * net/eww.el (eww-search-prefix): New variable.
7817 (eww): Use it.
7818 (eww-external-browser): New variable.
7819 (eww-mode-map): New keystroke.
7820 (eww-browse-with-external-browser): New command.
7821
7822 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7823
7824 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7825
7826 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7827 Don't skip aligning the next header field when padding is 0;
7828 otherwise, field width is not respected unless the title is as
7829 wide as the field.
7830
7831 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * emacs-lisp/package.el (package-el-version): Remove.
7834 (package-process-define-package): Fix inf-loop.
7835 (package-install): Allow symbols as arguments again.
7836
7837 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7838
7839 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7840 add some more keyword-like methods.
7841 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7842
7843 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7844
7845 * bs.el (bs-buffer-show-mark): Make defvar-local.
7846 (bs-mode): Use setq-local.
7847
7848 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7849 (emacs-lock--try-unlocking): Make defvar-local.
7850
7851 2013-06-22 Glenn Morris <rgm@gnu.org>
7852
7853 * play/cookie1.el (cookie-apropos): Minor simplification.
7854
7855 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7856
7857 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7858
7859 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7860 `regexp-opt', it breaks the build during dumping.
7861
7862 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7863
7864 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7865 Highlight keyword-like methods on Kernel and Module with
7866 font-lock-builtin-face.
7867 (auto-mode-alist): Consolidate different entries into one regexp
7868 and add more *file-s.
7869
7870 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7871
7872 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7873
7874 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7875 (diary-entry): Use it in the action of this button type instead of
7876 diary-goto-entry.
7877
7878 * calendar/todo-mode.el: New version.
7879 (todo-add-category): Append new category to end of file and give
7880 it the highest number, instead of putting it at the beginning and
7881 giving it 0. Incorporate noninteractive functionality.
7882 (todo-forward-category): Adapt to 1-based category numbering.
7883 Allow skipping over archived categories.
7884 (todo-backward-category): Derive from todo-forward-category.
7885 (todo-backward-item, todo-forward-item): Make noninteractive and
7886 delegate interactive part to new commands. Make sensitive to done items.
7887 (todo-categories): Make value an alist of category names and
7888 vectors of item counts.
7889 (todo-category-beg): Make a defconst.
7890 (todo-category-number): Use 1 instead of 0 as initial value.
7891 (todo-category-select): Make sensitive to overlays, optional item
7892 highlighting and done items.
7893 (todo-delete-item): Make sensitive to overlays and marked and done items.
7894 (todo-edit-item): Make sensitive to overlays and editing of
7895 date/time header optional. Add format checks.
7896 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7897 no-op if point is not on an item. Advertise using todo-edit-quit.
7898 (todo-edit-mode): Make sensitive to new format, font-locking, and
7899 multiple todo files.
7900 (todo-insert-item, todo-insert-item-here): Derive from
7901 todo-basic-insert-item and extend functionality.
7902 (todo-item-end, todo-item-start): Make sensitive to done items.
7903 (todo-item-string): Don't return text properties. Restore point.
7904 (todo-jump-to-category): Make sensitive to multiple todo files and
7905 todo archives. Use extended category completion.
7906 (todo-lower-item, todo-raise-item): Rename to *-priority and
7907 derive from todo-set-item-priority.
7908 (todo-mode): Derive from special-mode. Make sensitive to new
7909 format, font-locking and multiple todo files. Make read-only.
7910 (todo-mode-map): Don't suppress digit keys, so they can supply
7911 prefix arguments. Add many new key bindings.
7912 (todo-prefix): Insert as an overlay instead of file text.
7913 Change semantics from diary date expression to purely visual mark.
7914 (todo-print): Rename to todo-print-buffer. Make buffer display
7915 features printable. Remove option to restrict number of items
7916 printed. Add option to print to file.
7917 (todo-print-function): Rename to todo-print-buffer-function.
7918 (todo-quit): Extend to handle exiting new todo modes.
7919 (todo-remove-item): Make sensitive to overlays.
7920 (todo-save): Extend to buffers of filtered items.
7921 (todo-show): Make sensitive to done items, multiple todo files and
7922 new todo modes. Offer to convert legacy todo file before creating
7923 first new todo file.
7924 (todo-show-priorities): Rename to todo-top-priorities.
7925 Change semantics of value 0.
7926 (todo-top-priorities): Rename to todo-filter-top-priorities,
7927 derive from todo-filter-items and extend functionality.
7928 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7929 and extend functionality to other types of filtered items.
7930 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7931 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7932 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7933 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7934 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7935 (todo-edit-mode-hook, todo-entry-prefix-function)
7936 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7937 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7938 (todo-initials, todo-insert-threshold, todo-item-string-start)
7939 (todo-line-string, todo-menu, todo-mode-hook)
7940 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7941 (todo-print-priorities, todo-remove-separator)
7942 (todo-save-top-priorities-too, todo-string-count-lines)
7943 (todo-string-multiline-p, todo-time-string-format)
7944 (todo-tmp-buffer-name): Remove.
7945 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7946 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7947 (todo-edit-category-diary-inclusion)
7948 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7949 (todo-edit-file, todo-edit-item-date-day)
7950 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7951 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7952 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7953 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7954 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7955 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7956 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7957 (todo-filter-top-priorities-multifile, todo-find-archive)
7958 (todo-find-filtered-items-file, todo-go-to-source-item)
7959 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7960 (todo-jump-to-archive-category, todo-lower-category)
7961 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7962 (todo-move-category, todo-move-item, todo-next-button)
7963 (todo-next-item, todo-padded-string, todo-powerset)
7964 (todo-previous-button, todo-previous-item)
7965 (todo-print-buffer-to-file, todo-raise-category)
7966 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7967 (todo-set-category-number, todo-set-item-priority)
7968 (todo-set-top-priorities-in-category)
7969 (todo-set-top-priorities-in-file, todo-show-categories-table)
7970 (todo-sort-categories-alphabetically-or-numerically)
7971 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7972 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7973 (todo-toggle-item-header, todo-toggle-item-highlighting)
7974 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7975 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7976 (todo-unarchive-items, todo-unmark-category): New commands.
7977 (todo-absolute-file-name, todo-add-to-buffer-list)
7978 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7979 (todo-basic-insert-item, todo-category-completions)
7980 (todo-category-number, todo-category-string-matcher-1)
7981 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7982 (todo-check-format, todo-clear-matches)
7983 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7984 (todo-current-category, todo-date-string-matcher)
7985 (todo-define-insertion-command, todo-diary-expired-matcher)
7986 (todo-diary-goto-entry, todo-diary-item-p)
7987 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7988 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7989 (todo-done-item-section-p, todo-done-separator)
7990 (todo-done-string-matcher, todo-files, todo-filter-items)
7991 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7992 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7993 (todo-insert-category-line, todo-insert-item-from-calendar)
7994 (todo-insert-sort-button, todo-insert-with-overlays)
7995 (todo-insertion-command-name, todo-insertion-key-bindings)
7996 (todo-label-to-key, todo-longest-category-name-length)
7997 (todo-make-categories-list, todo-mode-external-set)
7998 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7999 (todo-modes-set-3, todo-multiple-filter-files)
8000 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8001 (todo-read-category, todo-read-date, todo-read-dayname)
8002 (todo-read-file-name, todo-read-time)
8003 (todo-reevaluate-category-completions-files-defcustom)
8004 (todo-reevaluate-default-file-defcustom)
8005 (todo-reevaluate-filelist-defcustoms)
8006 (todo-reevaluate-filter-files-defcustom)
8007 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8008 (todo-reset-done-separator, todo-reset-done-separator-string)
8009 (todo-reset-done-string, todo-reset-global-current-todo-file)
8010 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8011 (todo-reset-prefix, todo-set-categories)
8012 (todo-set-date-from-calendar, todo-set-show-current-file)
8013 (todo-set-top-priorities, todo-short-file-name)
8014 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8015 (todo-total-item-counts, todo-update-buffer-list)
8016 (todo-update-categories-display, todo-update-categories-sexp)
8017 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8018 New functions.
8019 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8020 New major modes.
8021 (todo-categories, todo-display, todo-edit, todo-faces)
8022 (todo-filtered): New defgroups.
8023 (todo-archived-only, todo-button, todo-category-string, todo-date)
8024 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8025 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8026 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8027 (todo-add-item-if-new-category, todo-always-add-time-string)
8028 (todo-categories-align, todo-categories-archived-label)
8029 (todo-categories-category-label, todo-categories-diary-label)
8030 (todo-categories-done-label, todo-categories-number-separator)
8031 (todo-categories-todo-label, todo-categories-totals-label)
8032 (todo-category-completions-files, todo-completion-ignore-case)
8033 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8034 (todo-done-separator-string, todo-done-string)
8035 (todo-files-function, todo-filter-done-items, todo-filter-files)
8036 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8037 (todo-initial-category, todo-initial-file, todo-item-mark)
8038 (todo-legacy-date-time-regexp, todo-mode-line-function)
8039 (todo-nondiary-marker, todo-number-prefix)
8040 (todo-print-buffer-function, todo-show-current-file)
8041 (todo-show-done-only, todo-show-first, todo-show-with-done)
8042 (todo-skip-archived-categories, todo-top-priorities-overrides)
8043 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8044 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8045 New defcustoms.
8046 (todo-category-done, todo-date-pattern, todo-date-string-start)
8047 (todo-diary-items-buffer, todo-done-string-start)
8048 (todo-filtered-items-buffer, todo-item-start)
8049 (todo-month-abbrev-array, todo-month-name-array)
8050 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8051 (todo-top-priorities-buffer): New defconsts.
8052 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8053 (todo-categories-with-marks, todo-category-string-face)
8054 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8055 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8056 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8057 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8058 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8059 (todo-font-lock-keywords, todo-global-current-todo-file)
8060 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8061 (todo-insertion-commands-args)
8062 (todo-insertion-commands-args-genlist)
8063 (todo-insertion-commands-names, todo-insertion-map)
8064 (todo-key-bindings-t, todo-key-bindings-t+a)
8065 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8066 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8067 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8068 (todo-visited): New variables.
8069
8070 2013-06-21 Glenn Morris <rgm@gnu.org>
8071
8072 * play/cookie1.el (cookie-apropos): Add optional display argument.
8073 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8074 (psychoanalyze-pinhead): Use cookie-doctor.
8075
8076 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8077
8078 * emacs-lisp/package.el (tar-get-file-descriptor)
8079 (tar--extract): Declare.
8080
8081 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8082
8083 Extend flymake's warning predicate to be a function (bug#14217).
8084 * progmodes/flymake.el (flymake-warning-predicate): New.
8085 (flymake-parse-line): Use it.
8086 (flymake-warning-re): Make obsolete alias to
8087 `flymake-warning-predicate'.
8088
8089 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8092 (package-obsolete-list): Remove.
8093 (package-activate): Remove min-version argument. Add `force' argument.
8094 Adjust to new package-alist format.
8095 (package-mark-obsolete): Remove.
8096 (package-unpack): Force reload of the package's autoloads.
8097 (package-installed-p): Check builtins if the installed package is not
8098 recent enough.
8099 (package-initialize): Don't reset package-obsolete-list.
8100 Don't specify which package version to activate.
8101 (package-process-define-package, describe-package-1)
8102 (package-menu--generate): Adjust to new package-alist format.
8103
8104 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8105
8106 * allout-widgets.el (allout-widgets-mode-off)
8107 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8108 (allout-widgets-post-command-business)
8109 (allout-widgets-after-copy-or-kill-function)
8110 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8111 (allout-decorate-item-and-context)
8112 (allout-graphics-modification-handler): Fix typos in docstrings.
8113 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8114
8115 * cmuscheme.el (scheme-start-file): Doc fix.
8116 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8117 (scheme-input-filter): Use `string-match-p'.
8118
8119 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8120
8121 * dired-x.el: Use Dired consistently in docstrings.
8122
8123 * dired.el: Use Dired consistently in docstrings.
8124 (dired-readin, dired-mode): Use `setq-local'.
8125 (dired-switches-alist): Make defvar-local.
8126 (dired-buffers-for-dir): Use `zerop'.
8127 (dired-safe-switches-p, dired-switches-escape-p)
8128 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8129 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8130 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8131 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8132 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8133 (dired-toggle-marks, dired-mark-files-containing-regexp)
8134 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8135 (dired-flag-auto-save-files, dired-flag-backup-files):
8136 Use `looking-at-p'.
8137 (dired-mark-files-regexp, dired-build-subdir-alist):
8138 Use `string-match-p', `looking-at-p'.
8139
8140 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8141 (direct-print-region-helper): Use `string-match-p'.
8142
8143 2013-06-21 Leo Liu <sdl.web@gmail.com>
8144
8145 * comint.el (comint-redirect-results-list-from-process):
8146 Fix infinite loop.
8147
8148 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8149
8150 * net/eww.el (eww-update-header-line-format): Quote % characters.
8151
8152 2013-06-21 Glenn Morris <rgm@gnu.org>
8153
8154 * play/cookie1.el (cookie): New custom group.
8155 (cookie-file): New option.
8156 (cookie-check-file): New function.
8157 (cookie): Make it interactive. Make start and end messages optional.
8158 Interactively, display the result. Default to cookie-file.
8159 (cookie-insert): Default to cookie-file.
8160 (cookie-snarf): Make start and end messages optional.
8161 Default to cookie-file. Use with-temp-buffer.
8162 (cookie-read): Rename from read-cookie.
8163 Make start and end messages optional. Default to cookie-file.
8164 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8165 Do not autoload it.
8166 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8167 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8168
8169 2013-06-21 Leo Liu <sdl.web@gmail.com>
8170
8171 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8172
8173 2013-06-21 Glenn Morris <rgm@gnu.org>
8174
8175 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8176
8177 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8178 Daniel Hackney <dan@haxney.org>
8179
8180 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8181 Consolidate the single-file vs tarball code.
8182 (package-desc-suffix): New function.
8183 (package-desc-full-name): Don't bother inlining it.
8184 (package-load-descriptor): Return the new package-desc.
8185 (package-mark-obsolete): Remove unused arg `package'.
8186 (package-unpack): Make it work for single files as well.
8187 Make it update package-alist.
8188 (package--make-autoloads-and-stuff): Rename from
8189 package--make-autoloads-and-compile. Don't compile any more.
8190 (package--compile): New function.
8191 (package-generate-description-file): New function, extracted from
8192 package-unpack-single.
8193 (package-unpack-single): Remove.
8194 (package--with-work-buffer): Add indentation and debugging info.
8195 (package-download-single): Remove.
8196 (package-install-from-archive): Rename from package-download-tar, make
8197 it take a pkg-desc, and make it work for single files as well.
8198 (package-download-transaction): Simplify.
8199 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8200 external tar program.
8201 (package-install-from-buffer): Remove `pkg-desc' argument.
8202 Use package-tar-file-info for tar-mode buffers.
8203 (package-install-file): Simplify accordingly.
8204 (package-archive-base): Change to take a pkg-desc.
8205 * tar-mode.el (tar--check-descriptor): New function, extracted from
8206 tar-get-descriptor.
8207 (tar-get-descriptor): Use it.
8208 (tar-get-file-descriptor): New function.
8209 (tar--extract): New function, extracted from tar-extract.
8210 (tar--extract): Use it.
8211 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8212 case the summary uses non-ascii. Adjust to new calling convention of
8213 package-tar-file-info.
8214
8215 2013-06-21 Leo Liu <sdl.web@gmail.com>
8216
8217 * comint.el (comint-redirect-results-list-from-process):
8218 Fix random delay. (Bug#14681)
8219
8220 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8221
8222 * profiler.el (profiler-format-number): Use log, not log10.
8223
8224 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8225
8226 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8227
8228 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8231 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8232 yet available.
8233 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8234 (AUTOGENEL): ... here.
8235 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8236 (cl--defsubst-expand): Use it.
8237
8238 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8239
8240 * subr.el (log10): Move here from C code, and declare as obsolete.
8241 All uses of (log10 X) replaced with (log X 10).
8242
8243 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8246 Declare with `defvar-local'.
8247 (tabulated-list-use-header-line, tabulated-list-entries)
8248 (tabulated-list-padding, tabulated-list-printer)
8249 (tabulated-list-sort-key): Declare with `defvar-local'.
8250 (tabulated-list-init-header, tabulated-list-print-fake-header):
8251 Use `setq-local'.
8252
8253 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8254
8255 * arc-mode.el (archive-mode): Add `archive-write-file' to
8256 `write-contents-functions' also for remote files. (Bug#14652)
8257
8258 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8259
8260 * cus-edit.el (custom-commands): Fix typos.
8261 (custom-display): Fix tooltip text.
8262 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8263 Fix typos in docstrings.
8264 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8265 (custom-unlispify-menu-entry, custom-magic-value-create)
8266 (custom-add-see-also, custom-group-value-create): Use ?\s.
8267 (custom-guess-type, customize-apropos, editable-field)
8268 (custom-face-value-create): Use `string-match-p'.
8269 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8270
8271 * custom.el (custom-load-symbol): Use `string-match-p'.
8272
8273 * ansi-color.el: Convert to lexical binding.
8274 (ansi-colors): Fix URL.
8275 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8276 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8277 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8278
8279 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8280
8281 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8282
8283 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8284
8285 2013-06-19 Tom Tromey <tromey@redhat.com>
8286
8287 * net/eww.el (eww-top-url): Remove.
8288 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8289 (eww-render): Set new variables. Don't set eww-top-url.
8290 (eww-handle-link): Handle "prev", "home", and "contents".
8291 Downcase the rel text.
8292 (eww-top-url): Choose best top URL.
8293
8294 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8295
8296 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8297 relying in widget.el. Using widget.el leads to too many
8298 user interface inconsistencies.
8299 (eww-self-insert): Implement entering commands in text fields.
8300 (eww-process-text-input): New function to make text input field editing
8301 work.
8302 (eww-submit): Rewrite to use the new-style form methods.
8303 (eww-select-display): Display the correct selected item.
8304 (eww-change-select): Implement changing the select value.
8305 (eww-toggle-checkbox): Implement radio/checkboxes.
8306 (eww-update-field): Fix compilation error.
8307 (eww-tag-textarea): Implement <textarea>.
8308
8309 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8310 we don't shadow mode-specific bindings.
8311
8312 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8313 nothing to push.
8314
8315 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8316
8317 2013-06-19 Glenn Morris <rgm@gnu.org>
8318
8319 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8320
8321 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8322
8323 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8324 not needed.
8325
8326 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8327
8328 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8329
8330 * net/browse-url.el (browse-url-browser-function):
8331 `eww-browse-url' has the right calling signature, `eww' does not.
8332
8333 2013-06-19 Glenn Morris <rgm@gnu.org>
8334
8335 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8336 Only eval autoloaded macros.
8337 (byte-compile-autoload): Only give the macro warning for macros.
8338
8339 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8340 (ps-underlined-faces): Declare.
8341
8342 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8343 (speedbar-add-supported-extension): Declare.
8344
8345 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8346 Don't include a date stamp in the header of the generated file;
8347 it leads to needless differences between output files.
8348
8349 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8350
8351 * net/secrets.el (secrets-struct-secret-content-type):
8352 Replace check of introspection data by a test call of "CreateItem".
8353 Some servers do not offer introspection.
8354
8355 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * electric.el (electric-pair-mode): Improve interaction with
8358 electric-layout-mode.
8359 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8360 (electric-pair-syntax): Use text-mode-syntax-table in comments
8361 and strings.
8362 (electric-pair--insert): New function.
8363 (electric-pair-post-self-insert-function): Use it and
8364 electric--after-char-pos.
8365
8366 2013-06-19 Leo Liu <sdl.web@gmail.com>
8367
8368 * progmodes/octave.el (octave-help): Fix regexp.
8369
8370 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8371
8372 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8373 (shr-table-horizontal-line): Allow nil as a value, and change the
8374 default.
8375 (shr-insert-table-ruler): Respect the nil value.
8376
8377 2013-06-18 Tom Tromey <tromey@barimba>
8378
8379 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8380 New defvars.
8381 (eww-open-file): New defun.
8382 (eww-render): Initialize new variables.
8383 (eww-display-html): Handle "link" and "a".
8384 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8385 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8386 (eww-back-url): Rename from eww-previous-url.
8387 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8388 New defuns.
8389
8390 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8391
8392 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8393 Distinguish ternary operator tokens from slash symbol and slash
8394 char literal.
8395
8396 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8397
8398 Convert symbol prettification into minor mode and global minor mode.
8399
8400 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8401 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8402 (prettify-symbols--keywords): Rename from
8403 `prog-prettify-symbols-alist' and make a local defvar.
8404 (prettify-symbols--compose-symbol): Rename from
8405 `prog--prettify-font-lock-compose-symbol'.
8406 (prettify-symbols--make-keywords): Rename from
8407 `prog-prettify-font-lock-symbols-keywords' and simplify.
8408 (prog-prettify-install): Remove.
8409 (prettify-symbols-mode): New minor mode, based on
8410 `prog-prettify-install'.
8411 (turn-on-prettify-symbols-mode): New function.
8412 (global-prettify-symbols-mode): New globalized minor mode.
8413
8414 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8415 * progmodes/cfengine.el (cfengine3-mode):
8416 * progmodes/perl-mode.el (perl-mode): Don't call
8417 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8418
8419 2013-06-18 Juri Linkov <juri@jurta.org>
8420
8421 * files-x.el (modify-file-local-variable-message): New function.
8422 (modify-file-local-variable)
8423 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8424 and call `modify-file-local-variable-message' when it's non-nil.
8425 (add-file-local-variable, delete-file-local-variable)
8426 (add-file-local-variable-prop-line)
8427 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8428 and use it. (Bug#9820)
8429
8430 2013-06-18 Juri Linkov <juri@jurta.org>
8431
8432 * emulation/vi.el (vi-shell-op):
8433 * emulation/vip.el (vip-execute-com, ex-command):
8434 * emulation/viper-cmd.el (viper-exec-bang):
8435 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8436 the call of `shell-command-on-region'. (Bug#14637)
8437
8438 * simple.el (shell-command-on-region): Doc fix.
8439
8440 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8443 (bug#14633).
8444
8445 2013-06-18 Glenn Morris <rgm@gnu.org>
8446
8447 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8448
8449 * newcomment.el (comment-search-forward, comment-search-backward):
8450 Doc fix. (Bug#14376)
8451
8452 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8453
8454 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8455 (buffer-face-mode-invoke): Doc fix.
8456
8457 2013-06-18 Matthias Meulien <orontee@gmail.com>
8458
8459 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8460 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8461
8462 2013-06-18 Glenn Morris <rgm@gnu.org>
8463
8464 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8465 Replace obsolete function generic-make-keywords with its expansion.
8466
8467 * progmodes/python.el (ffap-alist): Declare.
8468
8469 * textmodes/reftex.el (bibtex-mode-map): Declare.
8470
8471 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8474 (package-unpack, package-unpack-single): Return the pkg-dir.
8475 (package-download-transaction): Use it to update package-alist.
8476
8477 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8478
8479 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8480 possible choice.
8481
8482 2013-06-17 Juri Linkov <juri@jurta.org>
8483
8484 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8485
8486 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8487
8488 * emacs-lisp/package.el (package-load-descriptor):
8489 Remove `with-syntax-table' call, `read' doesn't need it.
8490 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8491
8492 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8493
8494 * startup.el (command-line): Expand package name returned by
8495 `package--description-file' (bug#14639).
8496
8497 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8498
8499 * emacs-lisp/package.el (package-load-descriptor): Do not call
8500 `emacs-lisp-mode', just use its syntax table.
8501
8502 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8503
8504 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8505 `font-lock-extra-managed-props' if any prettifying keyword is added.
8506 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8507 (prog-mode): Use `setq-local'.
8508
8509 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * international/characters.el (standard-case-table): Set syntax of ?»
8512 and ?« to punctuation.
8513
8514 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8515
8516 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8517 Save relevant match data before calling `syntax-ppss' (bug#14595).
8518
8519 2013-06-15 Juri Linkov <juri@jurta.org>
8520
8521 * files-x.el (modify-file-local-variable-prop-line): Add local
8522 variables to the end of the existing comment on the first line.
8523 Use `file-auto-mode-skip' to skip interpreter magic line,
8524 and also skip XML declaration.
8525
8526 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * startup.el (package--builtin-versions): New var.
8529 (package-subdirectory-regexp): Remove.
8530 (package--description-file): Hard code its value instead.
8531
8532 * emacs-lisp/package.el: Don't activate packages older than builtin.
8533 (package-obsolete-list): Rename from package-obsolete-alist, and make
8534 it into a simple list of package-desc.
8535 (package-strip-version): Remove.
8536 (package-built-in-p): Use package--builtin-versions.
8537 (package-mark-obsolete): Simplify.
8538 (package-process-define-package): Mark it obsolete if older than the
8539 builtin version.
8540 (package-handle-response): Use line-end-position.
8541 (package-read-archive-contents, package--download-one-archive):
8542 Simplify.
8543 (package--add-to-archive-contents): Skip if older than the builtin or
8544 installed version.
8545 (package-menu-describe-package): Fix last change.
8546 (package-list-unversioned): New var.
8547 (package-menu--generate): Use it.
8548
8549 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8550 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8551 (autoload-builtin-package-versions): New variable.
8552 (autoload-generate-file-autoloads): Use them.
8553 Remove the list of autoloaded functions/macros from the
8554 (autoload...) comments.
8555
8556 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8557
8558 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8559
8560 * simple.el (line-move-partial): Don't jump to the next screen
8561 line as soon as it becomes visible. Instead, continue enlarging
8562 the vscroll until the portion of a tall screen line that's left on
8563 display is about the height of the frame's default font.
8564 (Bug#14567)
8565
8566 2013-06-15 Glenn Morris <rgm@gnu.org>
8567
8568 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8569 compilation-error-regexp-alist void, or local while let-bound.
8570
8571 * progmodes/make-mode.el (makefile-mode-syntax-table):
8572 Treat "=" as punctuation. (Bug#14614)
8573
8574 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8575
8576 * help-fns.el (describe-variable):
8577 Add extra line for permanent-local variables.
8578
8579 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8580
8581 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8582 Add export, import, library. (Bug#9164)
8583 (library): Set indent function.
8584
8585 2013-06-14 Glenn Morris <rgm@gnu.org>
8586
8587 * term/xterm.el (xterm--query):
8588 Stop after first matching handler. (Bug#14615)
8589
8590 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8591
8592 Add support for dired in saveplace.
8593 * dired.el (dired-initial-position-hook): New variable.
8594 (dired-initial-position): Call hook to place cursor position.
8595 * saveplace.el (save-place-to-alist): Add dired position.
8596 (save-place-dired-hook): New function.
8597
8598 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8601 through a symbol rather than letrec.
8602
8603 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8604 (package-desc): Add `dir' field.
8605 (package-desc-full-name): New function.
8606 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8607 (package-maybe-load-descriptor): Remove.
8608 (package-load-all-descriptors): Just call package-load-descriptor.
8609 (package--disabled-p): New function.
8610 (package-desc-vers, package-desc-doc): Remove aliases.
8611 (package--dir): Remove function.
8612 (package-activate): Check if a package is disabled.
8613 (package-process-define-package): New function, extracted from
8614 define-package.
8615 (define-package): Turn into a place holder.
8616 (package-unpack-single, package-tar-file-info):
8617 Use package--description-file.
8618 (package-compute-transaction): Use package--disabled-p.
8619 (package-download-transaction): Don't call
8620 package-maybe-load-descriptor since they're all loaded anyway.
8621 (package-install): Change argument to be a pkg-desc.
8622 (package-delete): Use a single pkg-desc argument.
8623 (describe-package-1): Use package-desc-dir instead of package--dir.
8624 Use package-desc property instead of package-symbol.
8625 (package-install-button-action): Adjust accordingly.
8626 (package--push): Rewrite.
8627 (package-menu--print-info): Adjust accordingly. Change the ID format
8628 to be a pkg-desc.
8629 (package-menu-describe-package, package-menu-get-status)
8630 (package-menu--find-upgrades, package-menu-mark-upgrades)
8631 (package-menu-execute, package-menu--name-predicate):
8632 Adjust accordingly.
8633 * startup.el (package--description-file): New function.
8634 (command-line): Use it.
8635 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8636 Use package-desc-version.
8637
8638 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8639 (byte-compile-preprocess): Use it.
8640 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8641 can't quite recognize.
8642 (byte-compile-add-to-list): Remove.
8643 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8644 (cconv-closure-convert): Add assertion.
8645
8646 * emacs-lisp/map-ynp.el: Use lexical-binding.
8647 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8648 Factor out some repeated code.
8649
8650 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * subr.el (with-eval-after-load): New macro.
8653 (eval-after-load): Allow form to be a function.
8654 take advantage of lexical-binding.
8655 (do-after-load-evaluation): Use dolist and adjust to new format.
8656 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8657
8658 2013-06-13 Juri Linkov <juri@jurta.org>
8659
8660 * replace.el (perform-replace): Display "symbol " and other search
8661 modes from `isearch-message-prefix' in the *Help* buffer.
8662
8663 * isearch.el (isearch-query-replace): Add " symbol" and other
8664 possible search modes from `isearch-message-prefix' to the prompt.
8665 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8666 when reading a regexp to collect.
8667
8668 2013-06-13 Juri Linkov <juri@jurta.org>
8669
8670 * isearch.el (word-search-regexp): Match whitespace if the search
8671 string begins or ends in whitespace. The LAX arg is applied to
8672 both ends of the search string. Use `regexp-quote' and explicit
8673 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8674 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8675 boundaries are replaced with symbol boundaries, and characters
8676 between symbols match non-word non-symbol syntax. (Bug#14602)
8677
8678 2013-06-13 Juri Linkov <juri@jurta.org>
8679
8680 * isearch.el (isearch-del-char): Don't exceed the length of
8681 `isearch-string' by the prefix arg. (Bug#14563)
8682
8683 2013-06-13 Juri Linkov <juri@jurta.org>
8684
8685 * isearch.el (isearch-yank-word, isearch-yank-line)
8686 (isearch-char-by-name, isearch-quote-char)
8687 (isearch-printing-char, isearch-process-search-char):
8688 Add optional count prefix arg. (Bug#14563)
8689
8690 * international/isearch-x.el
8691 (isearch-process-search-multibyte-characters):
8692 Add optional count prefix arg.
8693
8694 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8697 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8698 lexical-binding.
8699
8700 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8701
8702 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8703
8704 2013-06-13 Glenn Morris <rgm@gnu.org>
8705
8706 * startup.el (tty-handle-args):
8707 Don't just discard "--" and anything after. (Bug#14608)
8708
8709 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8710
8711 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8712
8713 Implement changes in Secret Service API. Make it backward compatible.
8714 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8715 (secrets-create-item): Use it. Prefix properties with interface.
8716
8717 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8718
8719 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8720 (term-emulate-terminal): Respect term-suppress-hard-newline.
8721
8722 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8723
8724 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8725 Only remove a `thumb-file' overlay. (Bug#14548)
8726
8727 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8728
8729 * mail/reporter.el (reporter-submit-bug-report):
8730 Handle missing package-name. (Bug#14600)
8731
8732 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8733
8734 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8735 (reftex-citation-prompt, reftex-default-bibliography)
8736 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8737 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8738 (reftex-bib-sort-author, reftex-bib-sort-year)
8739 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8740 (reftex-extract-bib-entries-from-thebibliography)
8741 (reftex-get-bibkey-default, reftex-get-bib-names)
8742 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8743 (reftex-format-bib-entry, reftex-parse-bibitem)
8744 (reftex-format-bibitem, reftex-do-citation)
8745 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8746 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8747 (reftex-insert-bib-matches, reftex-format-citation)
8748 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8749 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8750 existing comments into docstrings.
8751
8752 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8753
8754 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8755
8756 2013-06-12 Andreas Schwab <schwab@suse.de>
8757
8758 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8759 for auto-save files.
8760
8761 2013-06-12 Glenn Morris <rgm@gnu.org>
8762
8763 * ido.el (ido-delete-ignored-files): Remove.
8764 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8765 Go back to calling ido-ignore-item-p directly.
8766
8767 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8768
8769 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8770
8771 * ido.el (ido-delete-ignored-files): New function,
8772 split from ido-make-file-list-1.
8773 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8774 (ido-make-file-list-1): Use ido-delete-ignored-files.
8775
8776 2013-06-12 Leo Liu <sdl.web@gmail.com>
8777
8778 * progmodes/octave.el (inferior-octave-startup)
8779 (inferior-octave-completion-table)
8780 (inferior-octave-track-window-width-change)
8781 (octave-eldoc-function-signatures, octave-help)
8782 (octave-find-definition): Use single quoted strings.
8783 (inferior-octave-startup-args): Change default value.
8784 (inferior-octave-startup): Do not hard code "-i" and
8785 "--no-line-editing".
8786 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8787 (inferior-octave-directory-tracker): Use it.
8788 (octave-goto-function-definition): Robustify.
8789 (octave-help): Support highlighting operators in 'See also'.
8790 (octave-find-definition): Find subfunctions only in Octave mode.
8791
8792 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * help-fns.el (help-fns--compiler-macro): If the handler function is
8795 named, then put a link to it.
8796 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8797 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8798 (cl-typep): Use it.
8799 (cl-eval-when): Simplify debug spec.
8800 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8801 compiler-macro function instead of setting `compiler-macro-file'.
8802
8803 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8804
8805 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8806 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8807
8808 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8809 Daniel Hackney <dan@haxney.org>
8810
8811 First part of Daniel Hackney's patch to package.el.
8812 * emacs-lisp/package.el: Use defstruct.
8813 (package-desc): New, main struct.
8814 (package--bi-desc, package--ac-desc): New structs, used to describe the
8815 format in external files.
8816 (package-desc-vers): Replace with package-desc-version accessor.
8817 (package-desc-doc): Replace with package-desc-summary accessor.
8818 (package-activate-1): Remove `package' arg since the pkg-vec now
8819 includes the name.
8820 (define-package): Use package-desc-from-define.
8821 (package-unpack-single): Change file-name arg to be a symbol.
8822 (package--add-to-archive-contents): Use package-desc-create and new
8823 accessor functions to package--ac-desc.
8824 (package-buffer-info, package-tar-file-info): Return a package-desc.
8825 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8826 arg to be a package-desc.
8827 (package-install-file): Adjust accordingly. Use \' to match EOS.
8828 (package--from-builtin): New function.
8829 (describe-package-1, package-menu--generate): Use it.
8830 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8831 (package-generate-autoloads): Idem and return the name of the file.
8832 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8833 Change pkg-info arg to be a package-desc.
8834 Use package-make-ac-desc.
8835 (package-upload-file): Use \' to match EOS.
8836 * finder.el (finder-compile-keywords): Use package-make-builtin.
8837
8838 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * vc/vc.el (vc-deduce-fileset): Change error message.
8841 (vc-read-backend): New function.
8842 (vc-next-action): Use it.
8843
8844 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8845
8846 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8847 (prolog-font-lock-keywords): Use regexp-opt instead.
8848 Don't manually highlight strings.
8849 (prolog-mode-variables): Simplify comment-start-skip.
8850 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8851
8852 * emacs-lisp/generic.el (generic--normalise-comments)
8853 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8854 (generic-mode-set-comments): Use them.
8855 (generic-bracket-support): Use setq-local.
8856 (generic-make-keywords-list): Declare obsolete.
8857
8858 2013-06-11 Glenn Morris <rgm@gnu.org>
8859
8860 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8861 Prettify after setting font-lock-defaults. (Bug#14574)
8862
8863 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8864
8865 * replace.el (query-replace, occur-read-regexp-defaults-function)
8866 (replace-search):
8867 * subr.el (declare-function, number-sequence, local-set-key)
8868 (substitute-key-definition, locate-user-emacs-file)
8869 (with-silent-modifications, split-string, eval-after-load):
8870 Fix typos, remove unneeded backslashes and reflow some docstrings.
8871
8872 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8875 default for Elisp files.
8876
8877 2013-06-11 Glenn Morris <rgm@gnu.org>
8878
8879 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8880 although define-derived-mode was doing this anyway. (Bug#14583)
8881
8882 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8883
8884 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8885 Fix make-variable-buffer-local call to refer to the correct variable.
8886
8887 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8888
8889 * eshell/em-term.el (eshell-visual-commands)
8890 (eshell-visual-subcommands, eshell-visual-options):
8891 Add summary line to docstrings. Add cross-references.
8892
8893 2013-06-10 Glenn Morris <rgm@gnu.org>
8894
8895 * epa.el (epa-read-file-name): New function. (Bug#14510)
8896 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8897
8898 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8899
8900 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8901 output redirection to be ignored with visual commands.
8902
8903 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8904
8905 * eshell/em-term.el (eshell-visual-command-p): New function.
8906 (eshell-term-initialize): Move long lambda to separate function
8907 eshell-visual-command-p.
8908 * eshell/em-dirs.el (eshell-dirs-initialise):
8909 * eshell/em-script.el (eshell-script-initialize):
8910 Add missing #' to lambda.
8911
8912 2013-06-08 Leo Liu <sdl.web@gmail.com>
8913
8914 * progmodes/octave.el (octave-add-log-current-defun): New function.
8915 (octave-mode): Set add-log-current-defun-function.
8916 (octave-goto-function-definition): Do not move point if not found.
8917 (octave-find-definition): Enhance to try subfunctions first.
8918
8919 2013-06-08 Glenn Morris <rgm@gnu.org>
8920
8921 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8922 (byte-compile-backward-char, byte-compile-backward-word):
8923 Improve previous change, to handle non-explicit nil.
8924
8925 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8928 (smie--opener/closer-at-point): New function.
8929 (smie--matching-block-data): Use it. Don't match from right after an
8930 opener or right before a closer. Obey smie-blink-matching-inners.
8931 Don't signal a mismatch for repeated inners like "switch..case..case".
8932
8933 2013-06-07 Leo Liu <sdl.web@gmail.com>
8934
8935 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8936 to t. (Bug#14303)
8937 (octave-function-header-regexp): Fix. (Bug#14570)
8938 (octave-help-mode-finish-hook, octave-help-mode-finish):
8939 Remove. Just use temp-buffer-show-hook.
8940
8941 * newcomment.el (comment-search-backward): Revert last change.
8942 (Bug#14434)
8943
8944 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8945
8946 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8947
8948 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8949 through xargs, to avoid failure due to MS-Windows limitations on
8950 command-line length.
8951
8952 2013-06-06 Glenn Morris <rgm@gnu.org>
8953
8954 * font-lock.el (lisp-font-lock-keywords-2):
8955 Treat user-error like error.
8956
8957 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8958 (byte-compile-backward-char, byte-compile-backward-word):
8959 Handle explicit nil arguments. (Bug#14565)
8960
8961 2013-06-05 Alan Mackenzie <acm@muc.de>
8962
8963 * isearch.el (isearch-allow-prefix): New user option.
8964 (isearch-other-meta-char): Don't exit isearch when a prefix
8965 argument is typed whilst `isearch-allow-prefix' is non-nil.
8966 (Bug#9706)
8967
8968 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8969
8970 * autorevert.el (auto-revert-notify-handler): Use memq.
8971 Hide assertion failure.
8972
8973 * skeleton.el: Use cl-lib.
8974 (skeleton-further-elements): Use defvar-local.
8975 (skeleton-insert): Use cl-progv.
8976
8977 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8978
8979 * progmodes/prog-mode.el (prog-prettify-symbols)
8980 (prog-prettify-install): Update docstrings.
8981
8982 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * simple.el: Move all the prog-mode code to prog-mode.el.
8985 * progmodes/prog-mode.el: New file.
8986 * loadup.el: Add prog-mode.el.
8987
8988 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8989
8990 * simple.el (prog-prettify-symbols): Add version.
8991 (prog-prettify-install): Add convenience function to prettify symbols.
8992
8993 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8994 (perl--augmented-font-lock-keywords-1)
8995 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8996 variables and use it.
8997
8998 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8999 (cfengine3-mode): Remove unneeded variable and use it.
9000
9001 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9002 (lisp--augmented-font-lock-keywords-1)
9003 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9004 Remove unneeded variables and use it.
9005
9006 2013-06-05 João Távora <joaotavora@gmail.com>
9007
9008 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9009 to point when opening the connection. (Bug#14380)
9010
9011 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * subr.el (load-history-regexp, load-history-filename-element)
9014 (eval-after-load, after-load-functions, do-after-load-evaluation)
9015 (eval-next-after-load, display-delayed-warnings)
9016 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9017 definition of save-match-data.
9018 (overriding-local-map): Remove accidental obsolescence declaration.
9019
9020 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9021
9022 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9023
9024 Generalize symbol prettify support to prog-mode and implement it
9025 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9026 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9027 (prog--prettify-font-lock-compose-symbol)
9028 (prog-prettify-font-lock-symbols-keywords): New variables and
9029 functions to support symbol prettification.
9030 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9031 (lisp--augmented-font-lock-keywords-1)
9032 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9033 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9034 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9035 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9036 Implement prettify of -> => :: strings.
9037 * progmodes/perl-mode.el (perl-prettify-symbols)
9038 (perl--font-lock-compose-symbol)
9039 (perl--font-lock-symbols-keywords): Move to prog-mode.
9040 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9041 (perl-font-lock-keywords-1)
9042 (perl-font-lock-keywords-2): Remove explicit prettify support.
9043 (perl--augmented-font-lock-keywords)
9044 (perl--augmented-font-lock-keywords-1)
9045 (perl--augmented-font-lock-keywords-2, perl-mode):
9046 Implement prettify support.
9047
9048 2013-06-05 Leo Liu <sdl.web@gmail.com>
9049
9050 Re-implement smie matching block highlight using
9051 show-paren-data-function. (Bug#14395)
9052 * emacs-lisp/smie.el (smie-matching-block-highlight)
9053 (smie--highlight-matching-block-overlay)
9054 (smie--highlight-matching-block-lastpos)
9055 (smie-highlight-matching-block)
9056 (smie-highlight-matching-block-mode): Remove.
9057 (smie--matching-block-data-cache): New variable.
9058 (smie--matching-block-data): New function.
9059 (smie-setup): Use smie--matching-block-data for
9060 show-paren-data-function.
9061
9062 * progmodes/octave.el (octave-mode-menu): Fix.
9063 (octave-find-definition): Skip garbage lines.
9064
9065 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9066
9067 Fix compilation error with simultaneous dynamic+lexical scoping.
9068 Add warning when a defvar appears after the first let-binding.
9069 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9070 (byte-compile-close-variables): Initialize it.
9071 (byte-compile--declare-var): New function.
9072 (byte-compile-file-form-defvar)
9073 (byte-compile-file-form-define-abbrev-table)
9074 (byte-compile-file-form-custom-declare-variable): Use it.
9075 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9076 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9077 (byte-compile-bind): Handle dynamic bindings that shadow
9078 lexical bindings.
9079 (byte-compile-unbind): Make arg non-optional.
9080 (byte-compile-let): Simplify.
9081 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9082 (cconv--analyse-function, cconv-analyse-form): Populate it.
9083 Protect byte-compile-bound-variables to limit the scope of defvars.
9084 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9085 Remove unneeded rule for `declare'.
9086
9087 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9088 so as to avoid depending on cl-adjoin at run-time.
9089 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9090
9091 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9092 (macroexp--warn-and-return): Use it.
9093
9094 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9095
9096 * lisp/subr.el: Convert to lexical binding.
9097 (overriding-local-map): Make obsolete.
9098 (add-to-list): Doc fix. Add compiler macro.
9099 (read-key): Swap values of local maps.
9100
9101 2013-06-05 Leo Liu <sdl.web@gmail.com>
9102
9103 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9104
9105 2013-06-04 Leo Liu <sdl.web@gmail.com>
9106
9107 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9108 (compilation-auto-jump): Suppress the "Mark set" message to give
9109 way to exit message.
9110
9111 2013-06-04 Alan Mackenzie <acm@muc.de>
9112
9113 Remove faulty optimisation from indentation calculation.
9114 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9115 search limit based on 2000 characters back from indent-point.
9116
9117 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9118
9119 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9120
9121 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * emacs-lisp/lisp.el: Use lexical-binding.
9124 (lisp--local-variables-1, lisp--local-variables): New functions.
9125 (lisp--local-variables-completion-table): New var.
9126 (lisp-completion-at-point): Use it complete let-bound vars.
9127
9128 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9129 eagerly (bug#14422).
9130
9131 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9132
9133 * autorevert.el (auto-revert-notify-enabled)
9134 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9135 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9136 (auto-revert-notify-handler): Handle also gfilenotify.
9137
9138 * subr.el (file-notify-handle-event): New defun. Replacing ...
9139 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9140 Remove.
9141
9142 2013-06-03 Juri Linkov <juri@jurta.org>
9143
9144 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9145 `M-s h .'. (Bug#14427)
9146
9147 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9148 command `hi-lock-face-symbol-at-point'.
9149 (hi-lock-face-symbol-at-point): New command.
9150 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9151 (hi-lock-menu): Add `highlight-symbol-at-point'.
9152 (hi-lock-mode): Doc fix.
9153
9154 * isearch.el (isearch-forward-symbol-at-point): New command.
9155 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9156 (isearch-highlight-regexp): Add a regexp which matches
9157 words/symbols for word/symbol mode.
9158
9159 * subr.el (find-tag-default-bounds): New function with the body
9160 mostly moved from `find-tag-default'.
9161 (find-tag-default): Move most code to `find-tag-default-bounds',
9162 call it and apply `buffer-substring-no-properties' afterwards.
9163
9164 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9165
9166 * eshell/em-term.el (eshell-term-initialize):
9167 Use `cl-intersection' rather than `intersection'.
9168
9169 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9170
9171 * vc/log-view.el: Doc fix.
9172 (log-view-mode-map): Copy keymap from `special-mode-map'.
9173
9174 2013-06-02 Eric Ludlam <zappo@gnu.org>
9175
9176 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9177 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9178 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9179 (eieio-unbound, eieio-default-superclass)
9180 (eieio--define-field-accessors, method-static, method-before)
9181 (method-primary, method-after, method-num-lists)
9182 (method-generic-before, method-generic-primary)
9183 (method-generic-after, method-num-slots)
9184 (eieio-specialized-key-to-generic-key)
9185 (eieio--check-type, class-v, class-p)
9186 (eieio-class-name, define-obsolete-function-alias)
9187 (eieio-class-parents-fast, eieio-class-children-fast)
9188 (same-class-fast-p, class-constructor, generic-p)
9189 (generic-primary-only-p, generic-primary-only-one-p)
9190 (class-option-assoc, class-option, eieio-object-p)
9191 (class-abstract-p, class-method-invocation-order)
9192 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9193 (eieio-class-un-autoload, eieio-defclass)
9194 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9195 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9196 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9197 (eieio-defgeneric-reset-generic-form)
9198 (eieio-defgeneric-form-primary-only)
9199 (eieio-defgeneric-reset-generic-form-primary-only)
9200 (eieio-defgeneric-form-primary-only-one)
9201 (eieio-defgeneric-reset-generic-form-primary-only-one)
9202 (eieio-unbind-method-implementations)
9203 (eieio--defmethod, eieio--typep)
9204 (eieio-perform-slot-validation, eieio-validate-slot-value)
9205 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9206 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9207 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9208 (eieio-slot-name-index, eieio-class-slot-name-index)
9209 (eieio-set-defaults, eieio-initarg-to-attribute)
9210 (eieio-attribute-to-initarg, eieio-c3-candidate)
9211 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9212 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9213 (eieio-class-precedence-list, eieio-generic-call-methodname)
9214 (eieio-generic-call-arglst, eieio-generic-call-key)
9215 (eieio-generic-call-next-method-list)
9216 (eieio-pre-method-execution-functions, eieio-generic-call)
9217 (eieio-generic-call-primary-only, eieiomt-method-list)
9218 (eieiomt-optimizing-obarray, eieiomt-install)
9219 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9220 (eieio-generic-form, eieio-defmethod, make-obsolete)
9221 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9222 (defclass): Remove `eval-and-compile' from macro.
9223 (call-next-method, shared-initialize): Instead of using
9224 `scoped-class' variable, use new eieio--scoped-class, and
9225 eieio--with-scoped-class.
9226 (initialize-instance): Rename local variable 'scoped-class' to
9227 'this-class' to remove ambiguitity from old global.
9228
9229 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9230 eieio.el.
9231 (eieio--scoped-class-stack): New variable.
9232 (eieio--scoped-class): New fcn.
9233 (eieio--with-scoped-class): New scoping macro.
9234 (eieio-defclass): Use pushnew instead of add-to-list.
9235 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9236 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9237 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9238 `scoped-class' variable, use new eieio--scoped-class, and
9239 eieio--with-scoped-class.
9240
9241 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9242
9243 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9244
9245 * eshell/esh-ext.el (eshell-external-command): Pass args to
9246 `eshell-find-interpreter'.
9247 (eshell-find-interpreter): Add new second parameter ARGS.
9248
9249 * eshell/em-script.el (eshell-script-initialize): Add second arg
9250 to the function added as MATCH to `eshell-interpreter-alist'.
9251
9252 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9253 the function added as MATCH to `eshell-interpreter-alist'.
9254
9255 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9256 (eshell-visual-options): New defcustom.
9257 (eshell-escape-control-x): Adapt docstring.
9258 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9259 `eshell-visual-options' in addition to `eshell-visual-commands'.
9260 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9261
9262 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9263
9264 * progmodes/python.el (python-indent-block-enders): Add break,
9265 continue and raise keywords.
9266
9267 2013-06-01 Glenn Morris <rgm@gnu.org>
9268
9269 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9270
9271 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9272 * progmodes/cc-cmds.el (delete-forward-p):
9273 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9274 * progmodes/cc-engine.el (buffer-syntactic-context):
9275 * progmodes/cc-fonts.el (face-property-instance):
9276 * progmodes/cc-mode.el (set-keymap-parents):
9277 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9278 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9279 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9280 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9281 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9282
9283 * progmodes/cc-vars.el (other): Emacs has this widget since
9284 at least 21.1, so don't (re)define it.
9285
9286 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9287 Replace the obsolete alias pcomplete-arg-quote-list.
9288
9289 2013-06-01 Leo Liu <sdl.web@gmail.com>
9290
9291 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9292 punctuation syntax.
9293 (inferior-octave-minimal-columns)
9294 (inferior-octave-last-column-width): New variables.
9295 (inferior-octave-track-window-width-change): New function.
9296 (inferior-octave-mode): Adjust column width so that Octave output,
9297 for example from 'ls', can fit into the window nicely.
9298
9299 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9300
9301 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9302 Highlight expansions inside regexp literals.
9303
9304 2013-05-31 Glenn Morris <rgm@gnu.org>
9305
9306 * obsolete/sym-comp.el (symbol-complete):
9307 Replace obsolete completion-annotate-function.
9308
9309 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9310
9311 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9312
9313 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9314 New function, checks if point is inside a literal that allows
9315 expression expansion.
9316 (ruby-syntax-propertize-expansion): Use it.
9317 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9318 around the body.
9319
9320 2013-05-30 Juri Linkov <juri@jurta.org>
9321
9322 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9323 to "\M-si".
9324 (isearch-invisible): New variable.
9325 (isearch-forward): Doc fix.
9326 (isearch-mode): Set `isearch-invisible'
9327 to the value of `search-invisible'.
9328 (isearch-toggle-case-fold): Doc fix.
9329 (isearch-toggle-invisible): New command.
9330 (isearch-query-replace): Let-bind `search-invisible'
9331 to the value of `isearch-invisible'.
9332 (isearch-search): Use `isearch-invisible' instead of
9333 `search-invisible'. Let-bind `search-invisible'
9334 to the value of `isearch-invisible'. (Bug#11378)
9335
9336 2013-05-30 Juri Linkov <juri@jurta.org>
9337
9338 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9339 call when `query-flag' is nil and `search-invisible' is non-nil.
9340 (Bug#11746)
9341
9342 2013-05-30 Glenn Morris <rgm@gnu.org>
9343
9344 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9345
9346 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9347 (cc-require): Suppress spurious "noruntime" warnings.
9348 (cc-require-when-compile): Use fboundp, for sake of compiler.
9349
9350 * progmodes/cc-mode.el: Move load of cc-vars before that of
9351 cc-langs (which in turn loads cc-vars), to quieten compiler.
9352
9353 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9354
9355 * paren.el: Simplify the code.
9356 (show-paren-mode): Always start the timer.
9357 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9358 (show-paren--overlay, show-paren--overlay-1): Rename from
9359 show-paren-overlay and show-paren-overlay-1, and initialize to an
9360 overlay rather than to nil.
9361 (show-paren-function): Misc cleanup and simplifications.
9362
9363 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9364
9365 * paren.el (show-paren-data-function): New hook.
9366 (show-paren--default): New function, extracted from show-paren-function.
9367 (show-paren-function): Use show-paren-data-function.
9368
9369 2013-05-30 Glenn Morris <rgm@gnu.org>
9370
9371 * ielm.el (ielm-map, ielm-complete-symbol):
9372 Use completion-at-point rather than obsolete functions.
9373 (inferior-emacs-lisp-mode): Doc fix.
9374 Set completion-at-point-functions, rather than
9375 comint-dynamic-complete-functions.
9376
9377 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9378 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9379 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9380
9381 * image.el (image-animated-p): Tweak definition.
9382
9383 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9384 (rlogin-process-connection-type): Tweak default. Add set-after.
9385 (rlogin-host): Doc fix.
9386 (rlogin): Tweak prompt.
9387 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9388
9389 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9390 * progmodes/tcl.el (inferior-tcl-mode-map):
9391 Use completion-at-point rather than obsolete alias.
9392
9393 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9394
9395 * minibuffer.el (read-file-name-completion-ignore-case):
9396 Move before completion--in-region, for eager macro expansion.
9397
9398 2013-05-29 Juri Linkov <juri@jurta.org>
9399
9400 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9401 for total count of matching lines. Add `global-matches' for total
9402 count of matches. Rename `matches' to `lines' for count of
9403 matching lines. Add `matches' for count of matches.
9404 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9405 to `prev-line' for line number of prev match endpt.
9406 Increment `matches' for every match. Print the number of
9407 matching lines in the header.
9408 (occur-context-lines): Rename `lines' to `curr-line'.
9409 Rename `prev-lines' to `prev-line'. (Bug#14017)
9410
9411 2013-05-29 Juri Linkov <juri@jurta.org>
9412
9413 * replace.el (perform-replace): Add `skip-read-only-count',
9414 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9415 Increment them for corresponding conditions and report the number
9416 of skipped occurrences in the final message. (Bug#11746)
9417 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9418 (replace-string, replace-regexp): Doc fix.
9419
9420 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9423
9424 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9425 prog-mode-map (bug#14504).
9426
9427 2013-05-29 Leo Liu <sdl.web@gmail.com>
9428
9429 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9430 (octave-help): Small simplification.
9431
9432 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9433 off the highlight first.
9434
9435 2013-05-29 Glenn Morris <rgm@gnu.org>
9436
9437 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9438 Handle idlwave-last-system-routine-info-cons-cell being nil.
9439
9440 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9441 (idlwave-write-paths): Simplify via with-temp-buffer.
9442
9443 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9444 * emulation/cua-rect.el: Also load cua-base at run time.
9445
9446 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9447 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9448 (cperl-imenu-on-info): Require imenu.
9449
9450 2013-05-28 Alan Mackenzie <acm@muc.de>
9451
9452 Handle "capitalised keywords" correctly.
9453 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9454
9455 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9456
9457 * eshell/em-unix.el: Add -r option to cp.
9458
9459 2013-05-28 Glenn Morris <rgm@gnu.org>
9460
9461 * vc/vc-arch.el (vc-exec-after): Declare.
9462 (vc-switches): Autoload.
9463 * vc/vc-bzr.el: No need to require vc when compiling.
9464 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9465 (vc-resynch-buffer, vc-dir-refresh): Declare.
9466 (vc-setup-buffer, vc-switches): Autoload.
9467 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9468 (vc-resynch-buffer): Declare.
9469 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9470 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9471 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9472 (grep-read-regexp, grep-read-files, grep-expand-template)
9473 (vc-dir-refresh): Declare.
9474 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9475 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9476 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9477 * vc/vc-mtn.el (vc-exec-after): Declare.
9478 (vc-switches): Autoload.
9479 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9480 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9481 (vc-file-tree-walk): Declare.
9482 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9483 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9484 (vc-tag-precondition, vc-rename-master): Autoload.
9485 * vc/vc-svn.el (vc-exec-after): Declare.
9486 (vc-switches, vc-setup-buffer): Autoload.
9487 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9488 Autoload.
9489 (vc-resynch-buffer): Declare.
9490
9491 * obsolete/fast-lock.el (byte-compile-warnings):
9492 Don't warn about obsolete features in this obsolete file.
9493
9494 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9495 Move definition before use.
9496
9497 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9498 (dun-unix-verbs): Remove dun-zippy.
9499 (dun-zippy): Remove function.
9500
9501 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9502
9503 2013-05-27 Juri Linkov <juri@jurta.org>
9504
9505 * replace.el (replace-search): New function with code moved out
9506 from `perform-replace'.
9507 (replace-highlight, replace-dehighlight): Move function definitions
9508 up closer to `replace-search'. (Bug#11746)
9509
9510 2013-05-27 Juri Linkov <juri@jurta.org>
9511
9512 * replace.el (perform-replace): Ignore invisible matches.
9513 In addition to checking `query-replace-skip-read-only', also
9514 filter out matches by calling `run-hook-with-args-until-failure'
9515 on `isearch-filter-predicates', and also check `search-invisible'
9516 for t or call `isearch-range-invisible'.
9517 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9518
9519 2013-05-27 Juri Linkov <juri@jurta.org>
9520
9521 * isearch.el (isearch-filter-predicates): Rename from
9522 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9523 (isearch-message-prefix): Display text from the property
9524 `isearch-message-prefix' of the currently active filters.
9525 (isearch-search): Don't compare `isearch-filter-predicate' with
9526 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9527 on `isearch-filter-predicates'. Also check `search-invisible' for t
9528 or call `isearch-range-invisible'.
9529 (isearch-filter-visible): Make obsolete.
9530 (isearch-lazy-highlight-search):
9531 Call `run-hook-with-args-until-failure' on
9532 `isearch-filter-predicates' and use `isearch-range-invisible'.
9533
9534 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9535 `isearch-filter-predicates' instead of `funcall'ing
9536 `isearch-filter-predicate'.
9537 (Info-mode): Set `Info-isearch-filter' to
9538 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9539
9540 * dired-aux.el (dired-isearch-filter-predicate-orig):
9541 Remove variable.
9542 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9543 (dired-isearch-filenames-end): Add and remove
9544 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9545 instead of changing the value of `isearch-filter-predicate'.
9546 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9547 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9548 Put property `isearch-message-prefix' to "filename " on
9549 `dired-isearch-filter-filenames'.
9550
9551 * wdired.el (wdired-change-to-wdired-mode):
9552 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9553 locally instead of changing `isearch-filter-predicate'.
9554 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9555
9556 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9557
9558 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9559 return the commit hash (Bug#14459). Also set the
9560 `vc-git-detached' property.
9561 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9562 (vc-git-mode-line-string): Use the same help-echo format whether
9563 in detached mode or not, because we know the actual revision now.
9564 When in detached mode, shorten the revision to 7 chars.
9565
9566 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9567
9568 * emacs-lisp/easy-mmode.el (define-minor-mode):
9569 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9570 mode hook and provide a docstring.
9571
9572 2013-05-27 Alan Mackenzie <acm@muc.de>
9573
9574 Remove spurious syntax-table text properties inserted by C-y.
9575 * progmodes/cc-mode.el (c-after-change): Also clear hard
9576 syntax-table property with value nil.
9577
9578 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9579
9580 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9581 when reading the events; the buffer layout shall not be changed.
9582
9583 2013-05-27 Leo Liu <sdl.web@gmail.com>
9584
9585 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9586 New variable.
9587 (inferior-octave-directory-tracker): Automatically re-sync
9588 default-directory.
9589 (octave-help): Improve handling of 'See also'.
9590
9591 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9592
9593 * doc-view.el: Minor naming convention tweaks.
9594 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9595
9596 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9597 even if there's no `display' property yet (bug#14435).
9598
9599 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9600
9601 * subr.el (unmsys--file-name): Rename from reveal-filename.
9602
9603 * Makefile.in (custom-deps, finder-data, autoloads)
9604 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9605 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9606 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9607
9608 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9609
9610 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9611 error-completion on the first 2 args of condition-case (bug#14446).
9612 Don't burp at EOB.
9613
9614 2013-05-25 Leo Liu <sdl.web@gmail.com>
9615
9616 * comint.el (comint-previous-matching-input): Do not flood the
9617 *Messages* buffer with trivial messages.
9618
9619 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9620
9621 * progmodes/flymake.el (flymake-nop): Don't return a string.
9622 (flymake-set-at): Fix typo.
9623
9624 * simple.el (read--expression): New function, extracted from
9625 eval-expression. Set completion-at-point-functions (bug#14465).
9626 (eval-expression, eval-minibuffer): Use it.
9627
9628 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9629
9630 * progmodes/flymake.el (flymake-save-buffer-in-file)
9631 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9632 (flymake-selected-frame, flymake-log, flymake-ins-after)
9633 (flymake-set-at, flymake-get-buildfile-from-cache)
9634 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9635 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9636 Refine the doc string.
9637 (flymake-get-file-name-mode-and-masks): Reformat.
9638 (flymake-get-real-file-name-function): Fix a minor bug.
9639
9640 2013-05-24 Juri Linkov <juri@jurta.org>
9641
9642 * progmodes/grep.el (grep-mode-font-lock-keywords):
9643 Support =linenumber= format used by git-grep for lines with
9644 function names. (Bug#13549)
9645
9646 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9649 0 after a semi-colon; it works better for smie-auto-fill.
9650 (octave--indent-new-comment-line): New function.
9651 (octave-indent-new-comment-line): Use it (indirectly).
9652 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9653 modify comment-line-break-function.
9654
9655 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9656 (smie-setup): Use add-function to set it.
9657
9658 2013-05-24 Sam Steingold <sds@gnu.org>
9659
9660 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9661 argument (before the `interactive' argument).
9662
9663 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9664
9665 * image-mode.el (image-mode-winprops): Add winprops to
9666 image-mode-winprops-alist before running
9667 image-mode-new-window-functions.
9668 * doc-view.el (doc-view-new-window-function): Don't delay
9669 doc-view-goto-page via timers (bug#14435).
9670
9671 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9672
9673 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9674 (doc-view-desktop-save-buffer): New function.
9675 (doc-view-restore-desktop-buffer): New function.
9676 (desktop-buffer-mode-handlers):
9677 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9678 handler.
9679 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9680 `desktop-save-buffer' function.
9681
9682 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9683
9684 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9685 (tramp-gvfs-file-name-handler): Raise a user error when
9686 `tramp-gvfs-enabled' is nil.
9687 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9688 Do not raise a user error when loading package. (Bug#14447)
9689
9690 * net/xesam.el: Move to obsolete/.
9691
9692 2013-05-24 Glenn Morris <rgm@gnu.org>
9693
9694 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9695
9696 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9697
9698 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9699 (Info-find-node, Man-getpage-in-background): Declare.
9700
9701 * mail/unrmail.el (unrmail):
9702 Replace obsolete detect-coding-with-priority.
9703
9704 * net/socks.el (socks-split-string): Use this rather than split-string.
9705 (socks-nslookup-host): Update for above change.
9706 (dynamic-choice, s5-dynamic-choice-match)
9707 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9708 Comment out unused code.
9709
9710 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9711 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9712 (gud-tooltip-echo-area): Make obsolete.
9713 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9714
9715 * progmodes/js.el (js--optimize-arglist): Declare.
9716
9717 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9718
9719 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9720 (ediff-window-C): Declare.
9721
9722 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9723 Tweak requires to silence compiler.
9724
9725 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9726 (he-search-string, he-tried-table, he-expand-list)
9727 (he-init-string, he-string-member, he-substitute-string)
9728 (he-reset-string): Declare.
9729
9730 * obsolete/options.el (list-options): Use custom-variable-p,
9731 rather than obsolete alias.
9732
9733 2013-05-23 Sam Steingold <sds@gnu.org>
9734
9735 * simple.el (shell-command-on-region): Pass the `replace' argument
9736 down to `call-process-region' to comply with the doc as reported on
9737 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9738
9739 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9740
9741 * emacs-lisp/smie.el (smie-indent-forward-token)
9742 (smie-indent-backward-token): Handle string tokens (bug#14381).
9743
9744 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9745
9746 * ielm.el (ielm-menu): New menu.
9747 (inferior-emacs-lisp-mode): Set comment-start.
9748
9749 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9750
9751 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9752 Fix deactivate action.
9753
9754 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9755 Add cleveref macros.
9756
9757 * lisp/textmodes/reftex-parse.el
9758 (reftex-locate-bibliography-files): Accept options for
9759 bibliography commands.
9760 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9761 Add addbibresource. Basic Biblatex support.
9762
9763 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9764
9765 * net/tramp-gvfs.el (top):
9766 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9767 when loading package. (Bug#14447)
9768
9769 2013-05-23 Glenn Morris <rgm@gnu.org>
9770
9771 * progmodes/js.el: No need to load comint when compiling.
9772 (ring-insert, comint-send-string, comint-send-input)
9773 (comint-last-input-end, ido-chop): Declare.
9774
9775 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9776 * vc/ediff-mult.el: Adjust requires.
9777 (ediff-directories-internal, ediff-directory-revisions-internal)
9778 (ediff-patch-file-internal): Declare.
9779 * vc/ediff-ptch.el: Adjust requires.
9780 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9781 (ediff-find-file): Autoload.
9782 * vc/ediff-util.el: No need to load ediff when compiling.
9783 (ediff-regions-internal): Declare.
9784 * vc/ediff-wind.el: Adjust requires.
9785 (ediff-compute-toolbar-width): Define when compiling.
9786 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9787 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9788 (dired-get-filename, dired-get-marked-files)
9789 (ediff-last-dir-patch, ediff-patch-default-directory)
9790 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9791 (ediff-patch-buffer-internal): Declare.
9792
9793 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9794 (ispell-process, ispell-buffer-local-words, lm-summary)
9795 (lm-section-start, lm-section-end): Declare.
9796 (checkdoc-ispell-init): Simplify.
9797
9798 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9799 (he-string-member, he-reset-string, he-substitute-string): Declare.
9800
9801 * eshell/em-ls.el: Adjust requires.
9802 (eshell-glob-regexp): Declare.
9803 * eshell/em-tramp.el: Adjust requires.
9804 (eshell-parse-command): Autoload.
9805 * eshell/em-xtra.el: Adjust requires.
9806 (eshell-parse-command): Autoload.
9807 * eshell/esh-ext.el: Adjust requires.
9808 (eshell-parse-command, eshell-close-handles): Autoload.
9809 * eshell/esh-io.el: Adjust requires.
9810 (eshell-output-filter): Autoload.
9811 * eshell/esh-util.el: No need to load tramp when compiling.
9812 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9813 Declare.
9814 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9815 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9816 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9817 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9818 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9819 * eshell/esh-opt.el, eshell/esh-proc.el:
9820 * eshell/esh-var.el: Adjust requires.
9821 * eshell/eshell.el: Do not require esh-util twice.
9822 (eshell-add-input-to-history): Declare.
9823 (eshell-command): Check history module is active before using it.
9824
9825 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9826
9827 2013-05-22 Leo Liu <sdl.web@gmail.com>
9828
9829 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9830
9831 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9832
9833 * autorevert.el (auto-revert-notify-add-watch)
9834 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9835 it indicates changes in file modification time.
9836
9837 2013-05-22 Glenn Morris <rgm@gnu.org>
9838
9839 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9840 Always delete the autoloaded function from the noruntime and
9841 unresolved functions lists.
9842
9843 * allout.el: No need to load epa, epg, overlay when compiling.
9844 (epg-context-set-passphrase-callback, epg-list-keys)
9845 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9846 (epg-key-user-id-list): Declare.
9847
9848 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9849 (viper-set-parsing-style-toggling-macro)
9850 (viper-set-emacs-state-searchstyle-macros):
9851 Use called-interactively-p on Emacs.
9852 (viper-looking-back): Make it an obsolete alias. Update callers.
9853 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9854 Use looking-back rather than viper-looking-back.
9855 (viper-tmp-insert-at-eob, viper-enlarge-region)
9856 (viper-read-string-with-history, viper-register-to-point)
9857 (viper-append-to-register, viper-change-state-to-vi)
9858 (viper-backward-char-carefully, viper-forward-char-carefully)
9859 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9860 (viper-change-state-to-emacs): Declare.
9861 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9862 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9863 * emulation/viper-mous.el: Do not load viper-cmd.
9864 (viper-backward-char-carefully, viper-forward-char-carefully)
9865 (viper-forward-word, viper-adjust-window): Declare.
9866
9867 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9868
9869 * progmodes/idlw-help.el (idlwave-help-fontify):
9870 Use called-interactively-p.
9871
9872 * term/w32console.el (w32-get-console-codepage)
9873 (w32-get-console-output-codepage): Declare.
9874
9875 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9876 Remove unnecessary declarations.
9877 (dframe-message): Doc fix.
9878
9879 * info.el (dframe-select-attached-frame, dframe-current-frame):
9880 Declare.
9881
9882 * speedbar.el (speedbar-message): Make it an obsolete alias.
9883 Update all callers.
9884 (speedbar-with-attached-buffer)
9885 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9886 (speedbar-with-writable): Use backquote.
9887 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9888 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9889 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9890 rather than speedbar- aliases.
9891 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9892 (speedbar-make-specialized-keymap, speedbar-insert-button)
9893 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9894 (speedbar-do-function-pointer): Declare.
9895 (rmail-speedbar-button, rmail-speedbar-find-file)
9896 (rmail-speedbar-move-message):
9897 Use dframe-with-attached-buffer rather than speedbar- alias.
9898 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9899 (dframe-message, speedbar-make-specialized-keymap)
9900 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9901 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9902 (speedbar-insert-button, dframe-select-attached-frame)
9903 (dframe-maybee-jump-to-attached-frame)
9904 (speedbar-change-initial-expansion-list)
9905 (speedbar-previously-used-expansion-list-name): Declare.
9906 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9907 Use dframe-message, dframe-with-attached-buffer rather than
9908 speedbar- aliases.
9909 (gud-sentinel): Silence compiler.
9910 * progmodes/vhdl-mode.el (speedbar-refresh)
9911 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9912 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9913 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9914 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9915 (speedbar-file-lists, speedbar-make-tag-line)
9916 (speedbar-line-directory, speedbar-goto-this-file)
9917 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9918 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9919 (speedbar-make-button, speedbar-reset-scanners)
9920 (speedbar-files-item-info, speedbar-line-text)
9921 (speedbar-find-file-in-frame, speedbar-set-timer)
9922 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9923 (speedbar-with-writable): Do not (re)define it.
9924 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9925 rather than speedbar- alias.
9926
9927 2013-05-21 Leo Liu <sdl.web@gmail.com>
9928
9929 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9930 menu items.
9931 (octave-mode): Tweak fill-nobreak-predicate.
9932 (inferior-octave-startup): Check process to avoid infinite loop.
9933 (inferior-octave): Pop to buffer first to show abornmal process
9934 exit information.
9935
9936 2013-05-21 Glenn Morris <rgm@gnu.org>
9937
9938 * printing.el (pr-menu-bar): Define when compiling.
9939
9940 2013-05-21 Leo Liu <sdl.web@gmail.com>
9941
9942 * progmodes/octave.el (octave-auto-fill): Remove.
9943 (octave-indent-new-comment-line): Improve.
9944 (octave-mode): Use auto fill mode through
9945 comment-line-break-function and fill-nobreak-predicate.
9946 (octave-goto-function-definition): Support DEFUN_DLD.
9947 (octave-beginning-of-defun): Small tweak.
9948 (octave-help): Show parent directory.
9949
9950 2013-05-21 Glenn Morris <rgm@gnu.org>
9951
9952 * files.el (dired-unmark):
9953 * progmodes/gud.el (gdb-input): Update declarations.
9954
9955 * calculator.el (electric, ehelp): No need to load when compiling.
9956 (Electric-command-loop, electric-describe-mode): Declare.
9957
9958 * doc-view.el (doc-view-current-converter-processes): Move before use.
9959
9960 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9961 Move MODE-set-explicitly definition before use.
9962
9963 * international/mule-diag.el (mule-diag):
9964 Don't use obsolete window-system-version.
9965
9966 * mail/feedmail.el (smtpmail): No need to load when compiling.
9967 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9968
9969 * mail/mail-utils.el (rfc822): No need to load when compiling.
9970 (rfc822-addresses): Autoload it.
9971 (mail-strip-quoted-names): Trivial simplification.
9972
9973 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9974 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9975
9976 * net/snmp-mode.el (tempo): Don't duplicate requires.
9977
9978 * progmodes/prolog.el (info): No need to load when compiling.
9979 (comint): Require before shell requires it.
9980 (Info-goto-node): Autoload it.
9981 (Info-follow-nearest-node): Declare.
9982 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9983
9984 * textmodes/artist.el (picture-mode-exit): Declare.
9985
9986 * textmodes/reftex-parse.el (reftex-parse-from-file):
9987 Trivial rewrite so the compiler can parse it better.
9988
9989 2013-05-20 Leo Liu <sdl.web@gmail.com>
9990
9991 * progmodes/octave.el (octave-help-mode-map)
9992 (octave-help-mode-finish-hook): New variables.
9993 (octave-help-mode, octave-help-mode-finish): New functions.
9994 (octave-help): Use octave-help-mode.
9995
9996 2013-05-20 Glenn Morris <rgm@gnu.org>
9997
9998 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9999
10000 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10001
10002 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10003 start at point, so that expansion starting right after opening
10004 slash in a regexp is recognized.
10005 (ruby-syntax-before-regexp-re): New defvar, extracted from
10006 ruby-syntax-propertize-function. Since the value of this regexp
10007 is looked up at runtime now, we should be able to turn
10008 `ruby-syntax-methods-before-regexp' into a defcustom later.
10009 (ruby-syntax-propertize-function): Split regexp matching into two
10010 parts, for opening and closing slashes. That allows us to skip
10011 over string interpolations and support multiline regexps.
10012 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10013 for them, which calls `ruby-syntax-propertize-expansion'.
10014 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10015 call to `ruby-syntax-propertize-function'.
10016 (ruby-syntax-propertize-expansion): Extracted from
10017 `ruby-syntax-propertize-expansions'. Handles one expansion.
10018 (ruby-syntax-propertize-percent-literal): Leave point right after
10019 the percent symbol, so that the expression expansion rule can
10020 propertize the contents.
10021 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10022 heredoc openers.
10023 (ruby-syntax-propertize-expansions): Remove.
10024
10025 2013-05-18 Juri Linkov <juri@jurta.org>
10026
10027 * man.el (Man-default-man-entry): Remove `-' from the end
10028 of the default value. (Bug#14400)
10029
10030 2013-05-18 Glenn Morris <rgm@gnu.org>
10031
10032 * comint.el (comint-password-prompt-regexp):
10033 Allow "password for XXX" where XXX contains colons (eg https://...).
10034
10035 2013-05-18 Leo Liu <sdl.web@gmail.com>
10036
10037 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10038 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10039 (octave-source-directories): Don't check process.
10040 (octave-source-directories, octave-find-definition): Doc fix.
10041
10042 2013-05-18 Glenn Morris <rgm@gnu.org>
10043
10044 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10045 Remove backspace/delete bindings. (Bug#14392)
10046
10047 * cus-dep.el (custom-make-dependencies): Sort the output.
10048 (custom-versions-load-alist): Convert comment to doc.
10049
10050 2013-05-17 Leo Liu <sdl.web@gmail.com>
10051
10052 * newcomment.el (comment-search-backward): Stricter in finding
10053 comment start. (Bug#14303)
10054
10055 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10056 (octave-comment-start-skip): Properly anchored.
10057
10058 2013-05-17 Leo Liu <sdl.web@gmail.com>
10059
10060 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10061 Clean up when turned off. (Bug#14395)
10062 (smie--highlight-matching-block-overlay): No longer buffer-local.
10063 (smie-highlight-matching-block): Adjust.
10064
10065 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10066
10067 Doc string fix for "nanoseconds" (Bug#14406).
10068 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10069 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10070
10071 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10072
10073 * calc/calc-units.el (math-extract-units): Preserve powers
10074 of units.
10075
10076 2013-05-17 Leo Liu <sdl.web@gmail.com>
10077
10078 * subr.el (delete-consecutive-dups): New function.
10079 * ido.el (ido-set-matches-1): Use it.
10080 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10081 * ido.el (ido-remove-consecutive-dups): Remove.
10082
10083 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10086 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10087 regexp-opt's `words'.
10088
10089 2013-05-16 Leo Liu <sdl.web@gmail.com>
10090
10091 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10092 (smie--highlight-matching-block-overlay)
10093 (smie--highlight-matching-block-lastpos)
10094 (smie--highlight-matching-block-timer): New variables.
10095 (smie-highlight-matching-block): New function.
10096 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10097 (smie-setup): Conditionally enable smie-blink-matching-open.
10098
10099 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10100
10101 Sync with upstream verilog-mode r840.
10102 * progmodes/verilog-mode.el (verilog-mode-version)
10103 (verilog-mode-release-date): Update.
10104 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10105 (verilog-sig-tieoff): Fix string error on
10106 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10107 (verilog-read-decls): Fix parameters confusing
10108 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10109
10110 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10111
10112 * subr.el (reveal-filename): New function.
10113
10114 * loadup.el: Compute Emacs executable versions on MS-Windows,
10115 where executables have the .exe extension. Add a hard link
10116 emacs-XX.YY.ZZ.exe on MS-Windows.
10117
10118 * Makefile.in (XARGS_LIMIT): New variable.
10119 (custom-deps, finder-data, autoloads)
10120 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10121 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10122 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10123 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10124
10125 2013-05-16 Leo Liu <sdl.web@gmail.com>
10126
10127 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10128 (octave-mode-menu, octave-mode-map): Remove its uses.
10129
10130 2013-05-16 Reto Zimmermann <reto@gnu.org>
10131
10132 Sync with upstream vhdl mode v3.34.2.
10133 * progmodes/vhdl-mode.el: Use `push' throughout.
10134 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10135 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10136 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10137 (vhdl-actual-generic-name): New option to derive actual generic name.
10138 (vhdl-port-paste-signals): Replace formal by actual generics.
10139 (vhdl-beautify): New name for old group vhdl-align. Update users.
10140 (vhdl-beautify-options): New option.
10141 (vhdl-last-input-event): New compat alias. Use throughout.
10142 (vhdl-goto-line): Replace user level function `goto-line'.
10143 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10144 vhdl-fix-statement-buffer.
10145 (vhdl-create-mode-menu): Add some entries.
10146 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10147 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10148 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10149 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10150 to force statements on one line.
10151 (vhdl-remove-trailing-spaces-region):
10152 New, split from vhdl-remove-trailing-spaces.
10153 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10154 Respect vhdl-beautify-options.
10155 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10156 (vhdl-update-sensitivity-list): Not add with index if exists without.
10157 Not include array index with signal. Ignore keywords in comments.
10158 (vhdl-get-visible-signals): Regexp tweaks.
10159 (vhdl-template-component-inst): Handle empty library.
10160 (vhdl-template-type): Add template for 'enum' type.
10161 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10162 Use vhdl-replace-string.
10163 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10164 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10165 (vhdl-speedbar-initialize): Update for above name change.
10166 (vhdl-compose-wire-components): Fix in handling of constants.
10167 (vhdl-error-regexp-emacs-alist): New variable.
10168 (vhdl-error-regexp-add-emacs): New function;
10169 adds support for new compile.el (Emacs 22+)
10170 (vhdl-generate-makefile-1): Change target order for single lib. units.
10171 Allow use of absolute file names.
10172
10173 2013-05-16 Leo Liu <sdl.web@gmail.com>
10174
10175 * simple.el (prog-indent-sexp): Indent enclosing defun.
10176
10177 2013-05-15 Glenn Morris <rgm@gnu.org>
10178
10179 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10180 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10181 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10182 (whitespace-highlight): Move to whitespace group.
10183
10184 * comint.el (comint-source):
10185 * pcmpl-linux.el (pcmpl-linux):
10186 * shell.el (shell-faces):
10187 * eshell/esh-opt.el (eshell-opt):
10188 * international/ccl.el (ccl): Remove empty custom groups.
10189
10190 * completion.el (dynamic-completion-mode):
10191 * jit-lock.el (jit-lock-debug-mode):
10192 * minibuffer.el (completion-in-region-mode):
10193 * type-break.el (type-break-mode-line-message-mode)
10194 (type-break-query-mode):
10195 * emulation/tpu-edt.el (tpu-edt-mode):
10196 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10197 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10198 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10199
10200 * term/xterm.el (xterm): Change parent group to terminals.
10201
10202 * master.el (master): Remove empty custom group.
10203 (master-mode): Remove unused :group argument.
10204 * textmodes/refill.el (refill): Remove empty custom group.
10205 (refill-mode): Remove unused :group argument.
10206
10207 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10208
10209 * cus-dep.el: Provide a feature.
10210 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10211 Don't mistakenly ignore files whose basenames match a basename
10212 from preloaded-file-list (eg cedet/ede/simple.el).
10213 Add a fallback method for getting :group.
10214
10215 2013-05-15 Juri Linkov <juri@jurta.org>
10216
10217 * isearch.el (isearch-char-by-name): Rename from
10218 `isearch-insert-char-by-name'. Doc fix.
10219 (isearch-forward): Mention `isearch-char-by-name' in
10220 the docstring. (Bug#13348)
10221
10222 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10223 `exit-minibuffer' instead of
10224 `isearch-nonincremental-exit-minibuffer'.
10225 (isearch-edit-string): Remove mention of
10226 `isearch-nonincremental-exit-minibuffer' from docstring.
10227 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10228 (isearch-forward-exit-minibuffer)
10229 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10230
10231 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10232
10233 * loadup.el: Just use unversioned DOC.
10234
10235 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10236 literals as extending to EOB.
10237 (nxml-last-fontify-end): Remove unused variable.
10238 (nxml-after-change1): Use with-silent-modifications.
10239 (nxml-extend-after-change-region): Simplify.
10240 (nxml-extend-after-change-region1): Remove function.
10241 (nxml-after-change1): Don't adjust for dependent regions.
10242 (nxml-fontify-matcher): Simplify.
10243 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10244 (xmltok-add-dependent): Remove function.
10245 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10246 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10247 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10248 unclosed <[[, <?, comment, and other literals as extending to EOB.
10249 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10250 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10251 Remove functions.
10252 (rng-do-some-validation-1): Don't mark dependent regions.
10253 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10254 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10255 (nxml-clear-dependent-regions): Remove functions.
10256 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10257 (nxml-ensure-scan-up-to-date):
10258 Don't clear&mark dependent regions.
10259
10260 2013-05-15 Leo Liu <sdl.web@gmail.com>
10261
10262 * progmodes/octave.el (octave-goto-function-definition):
10263 Improve and fix callers.
10264
10265 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10266
10267 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10268 the setter (bug#14387).
10269
10270 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10271 surrounding group (bug#14402).
10272
10273 2013-05-14 Juri Linkov <juri@jurta.org>
10274
10275 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10276 (Bug#14390)
10277
10278 2013-05-14 Glenn Morris <rgm@gnu.org>
10279
10280 * progmodes/f90.el (f90-imenu-generic-expression):
10281 Fix typo in 2013-05-08 change. (Bug#14402)
10282
10283 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10284
10285 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10286 Remove signals for which replies are never received.
10287
10288 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10289
10290 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10291 (gdb-handler-alist, gdb-handler-number): Remove variables.
10292 (gdb-handler-list): New variable.
10293 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10294 (gdb-pending-handler-p, gdb-handle-reply)
10295 (gdb-remove-all-pending-triggers): New functions.
10296 (gdb-discard-unordered-replies): New defcustom.
10297 (gdb-handler): New defstruct.
10298 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10299 instead of gdb-pending-triggers. Update docstring.
10300 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10301 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10302 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10303 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10304 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10305 (gdb-frame-handler): Pending triggers are now automatically managed.
10306 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10307 Remove argument.
10308 (gdb-input): Automatically handles pending triggers. Update docstring.
10309 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10310 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10311 Update comments.
10312 (gdb-done-or-error): Now use gdb-handle-reply.
10313
10314 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10315
10316 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10317 gdb-debug-log.
10318
10319 2013-05-14 Glenn Morris <rgm@gnu.org>
10320
10321 * subr.el (user-emacs-directory-warning): New option.
10322 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10323
10324 2013-05-14 Leo Liu <sdl.web@gmail.com>
10325
10326 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10327 during redisplay.
10328 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10329 (octave-font-lock-texinfo-comment): Fix invalid search bound
10330 error: wrong side of point.
10331
10332 2013-05-14 Glenn Morris <rgm@gnu.org>
10333
10334 * progmodes/flymake.el (flymake-xml-program): New option.
10335 (flymake-xml-init): Use it.
10336
10337 * term/xterm.el: Provide a feature.
10338
10339 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10340
10341 2013-05-13 Glenn Morris <rgm@gnu.org>
10342
10343 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10344 Add compat aliases as a hack workaround. (Bug#14384)
10345
10346 2013-05-13 Leo Liu <sdl.web@gmail.com>
10347
10348 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10349 ###, and %!.
10350 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10351 C-M-q.
10352 (octave-comment-start-skip): Include %!.
10353 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10354
10355 2013-05-12 Leo Liu <sdl.web@gmail.com>
10356
10357 * progmodes/octave.el (inferior-octave-startup): Store the value
10358 of __octave_srcdir__ for octave-source-directories.
10359 (inferior-octave-check-process): New function refactored out of
10360 inferior-octave-send-list-and-digest.
10361 (octave-source-directories)
10362 (octave-find-definition-filename-function): New variables.
10363 (octave-source-directories)
10364 (octave-find-definition-default-filename): New functions.
10365 (octave-find-definition): Improve to find functions implemented in C++.
10366
10367 2013-05-12 Glenn Morris <rgm@gnu.org>
10368
10369 * calendar/diary-lib.el (diary-outlook-format-1):
10370 Don't include dayname in the output. (Bug#14349)
10371
10372 2013-05-11 Glenn Morris <rgm@gnu.org>
10373
10374 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10375
10376 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10377 Treat cc-provide like provide.
10378
10379 2013-05-11 Kevin Ryde <user42@zip.com.au>
10380
10381 * cus-dep.el (custom-make-dependencies):
10382 Use generated-autoload-load-name for the sake of files such
10383 such cedet/semantic/bovine/c.el, where the base file name
10384 is not in load-path. (Bug#5277)
10385
10386 2013-05-11 Glenn Morris <rgm@gnu.org>
10387
10388 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10389 Provide features.
10390
10391 2013-05-11 Leo Liu <sdl.web@gmail.com>
10392
10393 * progmodes/octave.el (octave-indent-comment): Improve.
10394 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10395 (octave-eldoc-function-signatures, octave-eldoc-function):
10396 New functions.
10397 (octave-mode, inferior-octave-mode): Add eldoc support.
10398
10399 2013-05-11 Richard Stallman <rms@gnu.org>
10400
10401 * epa.el (epa-decrypt-file): Take output file name as argument
10402 and read it using `interactive'.
10403
10404 2013-05-11 Leo Liu <sdl.web@gmail.com>
10405
10406 * progmodes/octave.el (octave-beginning-of-line)
10407 (octave-end-of-line): Check before using up-list because it jumps
10408 out of more syntactic contructs since moving to smie.
10409 (octave-indent-comment): New function.
10410 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10411 (octave-begin-keywords, octave-end-keywords)
10412 (octave-reserved-words, octave-smie-bnf-table)
10413 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10414
10415 2013-05-11 Glenn Morris <rgm@gnu.org>
10416
10417 * faces.el (internal-face-x-get-resource):
10418 * frame.el (ns-display-monitor-attributes-list):
10419 * calc/calc-aent.el (math-to-radians-2):
10420 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10421 Fix declarations.
10422
10423 * calc/calc-menu.el: Make it loadable in isolation.
10424
10425 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10426 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10427 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10428 (eudc-bbdb-query-internal): Require 'bbdb.
10429
10430 * lpr.el (lpr-headers-switches):
10431 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10432
10433 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10434
10435 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10436
10437 * term.el (term-set-escape-char): Make it idempotent.
10438
10439 2013-05-10 Leo Liu <sdl.web@gmail.com>
10440
10441 * progmodes/octave.el (inferior-octave-completion-table):
10442 No longer a function and all uses changed. Use cache to speed up
10443 completion due to bug#11906.
10444 (octave-beginning-of-defun): Re-write to be more general.
10445
10446 2013-05-10 Glenn Morris <rgm@gnu.org>
10447
10448 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10449
10450 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 * comint.el (comint-redirect-send-command-to-process): Use :around
10453 rather than :override for comint-redirect-filter.
10454 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10455 Call it instead of comint-redirect-original-filter-function (which
10456 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10457
10458 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10459
10460 * frame.el (display-monitor-attributes-list): Add NS case.
10461 (ns-display-monitor-attributes-list): Declare.
10462
10463 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10464
10465 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10466
10467 2013-05-09 Glenn Morris <rgm@gnu.org>
10468
10469 * international/fontset.el (vertical-centering-font-regexp):
10470 Set standard-value.
10471
10472 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10473
10474 * bookmark.el (bookmark-search-delay):
10475 * cus-start.el (vertical-centering-font-regexp):
10476 * ps-mule.el (ps-mule-font-info-database-default):
10477 * ps-print.el (ps-default-fg, ps-default-bg):
10478 * type-break.el (type-break-good-break-interval):
10479 * whitespace.el (whitespace-indentation-regexp)
10480 (whitespace-space-after-tab-regexp):
10481 * emacs-lisp/testcover.el (testcover-1value-functions)
10482 (testcover-noreturn-functions, testcover-progn-functions)
10483 (testcover-prog1-functions):
10484 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10485 * eshell/em-glob.el (eshell-glob-translate-alist):
10486 * play/tetris.el (tetris-tty-colors):
10487 * progmodes/cpp.el (cpp-face-default-list):
10488 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10489 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10490 (idlwave-help-browser-generic-args):
10491 * progmodes/make-mode.el (makefile-special-targets-list):
10492 * progmodes/python.el (python-shell-virtualenv-path):
10493 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10494 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10495 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10496 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10497 * textmodes/reftex-vars.el (reftex-format-label-function):
10498 * textmodes/remember.el (remember-diary-file): Fix custom types.
10499
10500 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10501 Add :version.
10502
10503 2013-05-09 Leo Liu <sdl.web@gmail.com>
10504
10505 * progmodes/octave.el (inferior-octave-completion-at-point):
10506 Restore file completion. (Bug#14300)
10507 (inferior-octave-startup): Fix incorrect highlighting for the
10508 first prompt.
10509
10510 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10511
10512 * progmodes/ruby-mode.el: First cut at SMIE support.
10513 (ruby-use-smie): New var.
10514 (ruby-smie-grammar): New constant.
10515 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10516 (ruby-smie--forward-token, ruby-smie--backward-token)
10517 (ruby-smie-rules): New functions.
10518 (ruby-mode-variables): Setup SMIE if applicable.
10519
10520 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10521
10522 * simple.el (line-move-visual): Signal beginning/end of buffer
10523 only if vertical-motion moved less than it was requested. Avoids
10524 silly incorrect error messages when there are display strings with
10525 multiple newlines at EOL.
10526
10527 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10530 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10531 (prolog-char-quote-workaround):
10532 * progmodes/cperl-mode.el (cperl-under-as-char):
10533 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10534 Mark as obsolete.
10535 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10536 their declaration.
10537 (vhdl-mode-syntax-table-init): Remove.
10538
10539 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10540 last change.
10541
10542 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10543 syntax for "_".
10544 (ld-script-font-lock-keywords):
10545 Change regexps to use things like \_< and \_>.
10546
10547 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10548 Change all regexps to use things like \_< and \_>.
10549
10550 * progmodes/autoconf.el (autoconf-definition-regexp)
10551 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10552 Handle a _ with symbol syntax.
10553 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10554
10555 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10556 Consolidate declaration.
10557 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10558 the declaration.
10559 (ada-create-syntax-table): Remove.
10560 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10561 already has the right syntax nowadays.
10562 (ada-goto-next-word): Don't change the syntax of "_".
10563
10564 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10565 with-wrapper-hook.
10566
10567 2013-05-08 Sam Steingold <sds@gnu.org>
10568
10569 * thingatpt.el (thing-at-point): Accept optional second argument
10570 NO-PROPERTIES to strip the text properties from the return value.
10571 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10572 to `thing-at-point' instead of stripping the properties ourselves.
10573 Also, when `thing-at-point' fails to find a url, prepend "http://"
10574 to the filename at point on the assumption that the user is
10575 pointing at something like gnu.org/gnu.
10576
10577 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10578
10579 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10580 * faces.el (crm-separator):
10581 Silence byte-compiler.
10582
10583 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10584 (tool-bar-map): Remove unneeded defvars.
10585
10586 2013-05-08 Leo Liu <sdl.web@gmail.com>
10587
10588 Re-work a fix for bug#10994 based on Le Wang's patch.
10589 * ido.el (ido-remove-consecutive-dups): New helper.
10590 (ido-completing-read): Use it.
10591 (ido-chop): Revert fix for bug#10994.
10592
10593 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10594
10595 * cus-edit.el (custom-save-variables):
10596 Pretty-print long values. (Bug#14187)
10597
10598 2013-05-08 Glenn Morris <rgm@gnu.org>
10599
10600 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10601 (m4-mode-syntax-table): Init in the defvar.
10602 (m4-mode-abbrev-table): Let define-derived-mode define it.
10603
10604 2013-05-08 Tom Tromey <tromey@redhat.com>
10605
10606 * progmodes/m4-mode.el (m4-mode-syntax-table):
10607 Do not treat "_" as word constituent. (Bug#14167)
10608
10609 2013-05-07 Glenn Morris <rgm@gnu.org>
10610
10611 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10612 Remove explicit eshell-isearch-cancel-map.
10613
10614 * progmodes/f90.el (f90-smart-end-names): New option.
10615 (f90-smart-end): Doc fix.
10616 (f90-end-block-optional-name): New constant.
10617 (f90-block-match): Respect f90-smart-end-names.
10618
10619 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10620
10621 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10622 about implicit semi-colons (bug#14218).
10623
10624 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10625
10626 * frame.el (display-monitor-attributes-list)
10627 (frame-monitor-attributes): New functions.
10628
10629 2013-05-06 Leo Liu <sdl.web@gmail.com>
10630
10631 * progmodes/octave.el (octave-syntax-propertize-function): Change
10632 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10633 (octave-font-lock-keywords): Use octave-operator-regexp.
10634 (octave-completion-at-point): Rename from
10635 octave-completion-at-point-function.
10636 (inferior-octave-directory-tracker): Robustify.
10637 (octave-text-functions): Remove and fix its uses. No such things
10638 any more.
10639
10640 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * emacs-lisp/trace.el (trace--display-buffer): New function.
10643 (trace-make-advice): Use it.
10644
10645 2013-05-06 Juri Linkov <juri@jurta.org>
10646
10647 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10648 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10649 Doc fix.
10650 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10651 in the help string. (Bug#12985)
10652
10653 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10654
10655 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10656
10657 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * progmodes/perl-mode.el: Add support for here documents.
10660 (perl-syntax-propertize-function): Match here-doc markers.
10661 (perl-syntax-propertize-special-constructs): Find their end.
10662 (perl-imenu-generic-expression): Use [:alnum:].
10663
10664 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10665 (advice--add-function): Refresh the advice if already present
10666 (bug#14317).
10667
10668 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10669
10670 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10671
10672 2013-05-06 Glenn Morris <rgm@gnu.org>
10673
10674 * w32-fns.el (w32-charset-info-alist): Declare.
10675
10676 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10677 of its defcustom properties.
10678 (eshell-cmpl-initialize): No need to load pcomplete.
10679
10680 * generic-x.el: No need to require comint when compiling.
10681
10682 * net/eudc-export.el: Make it loadable without bbdb.
10683 (top-level): Use require rather than load-library.
10684 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10685 (eudc-batch-export-records-to-bbdb)
10686 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10687 Require bbdb.
10688
10689 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10692 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10693 some tweaks, instead.
10694
10695 2013-05-05 Leo Liu <sdl.web@gmail.com>
10696
10697 * progmodes/octave.el (octave-font-lock-keywords)
10698 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10699 (inferior-octave-send-list-and-digest): Improve error message.
10700 (octave-mode, inferior-octave-mode): Use setq-local.
10701 (octave-help): Set info-lookup-mode.
10702
10703 2013-05-05 Richard Stallman <rms@gnu.org>
10704
10705 * vc/compare-w.el (compare-windows-whitespace):
10706 Treat no-break space as whitespace.
10707
10708 * mail/rmailsum.el (rmail-summary-rmail-update):
10709 Detect empty summary and don't change selected message.
10710 (rmail-summary-goto-msg): Likewise.
10711
10712 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10713 Doc fixes, rename args.
10714
10715 2013-05-05 Alan Mackenzie <acm@muc.de>
10716
10717 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10718
10719 2013-05-05 Juri Linkov <juri@jurta.org>
10720
10721 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10722 to not add the length of the summary segment to the return value.
10723 (Bug#14125)
10724
10725 2013-05-05 Leo Liu <sdl.web@gmail.com>
10726
10727 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10728 (inferior-octave-output-filter): Remove.
10729 (octave-send-region, inferior-octave-startup): Fix callers.
10730 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10731 (octave-binary-file-extensions): New user variable.
10732 (octave-find-definition): Confirm if opening binary files.
10733 (octave-help-file): Use octave-find-definition to get the binary
10734 confirmation.
10735 (octave-help): Adjust for octave-help-file change.
10736
10737 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10740 Merge the two entries that handle function definitions.
10741 (pascal--syntax-propertize): New const.
10742 (pascal-mode): Use it. Use setq-local.
10743
10744 2013-05-04 Glenn Morris <rgm@gnu.org>
10745
10746 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10747 (diary-from-outlook): Respect diary-from-outlook-function.
10748
10749 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10750
10751 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10752 Move the declaration from C.
10753 (read-minibuffer, eval-minibuffer): Move from C.
10754 (completion-setup-function): Avoid minibuffer-completion-contents.
10755
10756 2013-05-03 Leo Liu <sdl.web@gmail.com>
10757
10758 * progmodes/octave.el (octave-font-lock-keywords): Do not
10759 dehighlight 'end' in comments or strings.
10760 (octave-completing-read, octave-goto-function-definition):
10761 New helpers.
10762 (octave-help-buffer): New user variable.
10763 (octave-help-file, octave-help-function): New button types.
10764 (octave-help): New command and bind it to C-h ;.
10765 (octave-find-definition): New command and bind it to M-.
10766 (user-error): Alias to error if not defined.
10767
10768 2013-05-02 Leo Liu <sdl.web@gmail.com>
10769
10770 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10771 for \. (bug#14332)
10772 (octave-font-lock-keywords): Include [ and {.
10773
10774 2013-05-02 Leo Liu <sdl.web@gmail.com>
10775
10776 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10777 (inferior-octave): Remove calling comint-mode and return the buffer.
10778 (inferior-octave-startup): Cosmetic changes.
10779
10780 2013-05-02 Leo Liu <sdl.web@gmail.com>
10781
10782 * progmodes/octave.el (octave-syntax-propertize-function):
10783 Include the case when ' is at line beginning. (Bug#14336)
10784
10785 2013-05-02 Glenn Morris <rgm@gnu.org>
10786
10787 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10788 * desktop.el (vc-dir-mode): Just autoload it here.
10789
10790 2013-05-02 Alan Mackenzie <acm@muc.de>
10791
10792 Eliminate variable c-standard-font-lock-fontify-region-function.
10793 * progmodes/cc-mode.el
10794 (c-standard-font-lock-fontify-region-function): Remove.
10795 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10796
10797 2013-05-01 Leo Liu <sdl.web@gmail.com>
10798
10799 * progmodes/octave.el: Compatible with older emacs-24 releases.
10800 (inferior-octave-has-built-in-variables): Remove. Built-in
10801 variables were removed from Octave in 2007.
10802 (inferior-octave-startup): Fix uses.
10803 (comint-line-beginning-position): Remove compatibility code for
10804 emacs 21.
10805
10806 2013-05-01 Juri Linkov <juri@jurta.org>
10807
10808 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10809
10810 2013-05-01 Juri Linkov <juri@jurta.org>
10811
10812 * comint.el (comint-previous-matching-input): Don't print message
10813 "History item: %d" when `isearch-mode' is active.
10814 (comint-history-isearch-message): Print message "History item: %d"
10815 when `comint-input-ring-index' is not empty and this function is
10816 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10817
10818 2013-05-01 Leo Liu <sdl.web@gmail.com>
10819
10820 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10821 definitions. Use completion-at-point to insert keywords.
10822 (octave-abbrev-start): Remove.
10823 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10824
10825 2013-04-30 Leo Liu <sdl.web@gmail.com>
10826
10827 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10828 change.
10829
10830 2013-04-30 Alan Mackenzie <acm@muc.de>
10831
10832 Handle arbitrarily long C++ member initialisation lists.
10833 * progmodes/cc-engine.el (c-back-over-member-initializers):
10834 new function.
10835 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10836 (most) member init lists.
10837
10838 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10839
10840 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10841 variable.
10842
10843 2013-04-30 Leo Liu <sdl.web@gmail.com>
10844
10845 * progmodes/octave.el (octave-variables): Remove. No builtin
10846 variables any more. All converted to functions.
10847 (octave-font-lock-keywords, octave-completion-at-point-function):
10848 Fix uses.
10849 (octave-font-lock-texinfo-comment): New user variable.
10850 (octave-texinfo-font-lock-keywords): New variable for texinfo
10851 comment block.
10852 (octave-function-comment-block): New face.
10853 (octave-font-lock-texinfo-comment): New function.
10854 (octave-mode): Font lock texinfo comment block.
10855
10856 2013-04-29 Leo Liu <sdl.web@gmail.com>
10857
10858 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10859 indexing expression.
10860 (octave-continuation-string): Do not use \.
10861 (inferior-octave-complete-impossible): Remove.
10862 (inferior-octave-completion-table)
10863 (inferior-octave-completion-at-point): Remove its uses.
10864 (inferior-octave-startup): completion_matches was introduced to
10865 Octave in 1996 so safe to assume it.
10866 (octave-function-file-comment): Improve to follow how Octave does it.
10867 (octave-update-function-file-comment): Tweak.
10868
10869 2013-04-29 Leo Liu <sdl.web@gmail.com>
10870
10871 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10872 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10873 (octave-function-file-comment): Fix typo.
10874 (octave-sync-function-file-names): Use read-char-choice.
10875
10876 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10877
10878 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10879 to t for the less important warnings.
10880
10881 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10882
10883 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10884
10885 2013-04-27 Glenn Morris <rgm@gnu.org>
10886
10887 * vc/log-view.el (log-view-current-entry):
10888 Treat "---" separator lines as part of the following rev. (Bug#14169)
10889
10890 2013-04-27 Juri Linkov <juri@jurta.org>
10891
10892 * subr.el (read-number): Doc fix about using it by interactive
10893 code letter `n'. (Bug#14254)
10894
10895 2013-04-27 Juri Linkov <juri@jurta.org>
10896
10897 * desktop.el (desktop-auto-save-timeout): New option.
10898 (desktop-file-checksum): New variable.
10899 (desktop-save): Add optional arg `auto-save' and don't auto-save
10900 if nothing changed.
10901 (desktop-auto-save-timer): New variable.
10902 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10903 (after-init-hook): Call `desktop-auto-save-set-timer'.
10904 Suggested by Reuben Thomas <rrt@sc3d.org> in
10905 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10906
10907 2013-04-27 Leo Liu <sdl.web@gmail.com>
10908
10909 * progmodes/octave.el (octave-function-file-p)
10910 (octave-skip-comment-forward, octave-function-file-comment)
10911 (octave-update-function-file-comment): New functions.
10912 (octave-mode-map): Bind C-c ; to
10913 octave-update-function-file-comment.
10914 (octave-mode-menu): Add octave-update-function-file-comment.
10915 (octave-mode, inferior-octave-mode): Fix doc-string.
10916 (octave-insert-defun): Conform to Octave's coding convention.
10917 (Bug#14285)
10918
10919 * files.el (basic-save-buffer): Don't let errors in
10920 before-save-hook prevent saving buffer.
10921
10922 2013-04-20 Roland Winkler <winkler@gnu.org>
10923
10924 * faces.el (read-face-name): Use completing-read if arg multiple
10925 is nil.
10926
10927 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10928
10929 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10930 displayed, move point to after the totals line.
10931 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10932 for the details.
10933
10934 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10937 Add current dir to the load-path.
10938 (package-generate-autoloads): Don't rely on
10939 autoload-ensure-default-file.
10940
10941 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10942
10943 * textmodes/remember.el (remember-store-in-files): Document that
10944 the file name format is passed to `format-time-string'.
10945
10946 2013-04-26 Leo Liu <sdl.web@gmail.com>
10947
10948 * progmodes/octave.el (octave-sync-function-file-names): New function.
10949 (octave-mode): Use it in before-save-hook.
10950
10951 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10954 (bug#14274).
10955
10956 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10957 \n and comment, even if it's not an implicit ; (bug#14218).
10958
10959 2013-04-26 Glenn Morris <rgm@gnu.org>
10960
10961 * subr.el (read-number): Once more use `read' rather than
10962 `string-to-number', to trap non-numeric input. (Bug#14254)
10963
10964 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10965
10966 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10967 Use `syntax-multiline' text property consistently instead of
10968 `font-lock-multiline'. (Bug#14237)
10969
10970 2013-04-26 Glenn Morris <rgm@gnu.org>
10971
10972 * emacs-lisp/shadow.el (list-load-path-shadows):
10973 No longer necessary to check for duplicate simple.el, since
10974 2012-07-07 change to init_lread to not include installation lisp
10975 directories in load-path when running uninstalled. (Bug#14270)
10976
10977 2013-04-26 Leo Liu <sdl.web@gmail.com>
10978
10979 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10980 (octave-mode, inferior-octave-mode): Use setq-local.
10981 (octave-not-in-string-or-comment-p): Rename to
10982 octave-in-string-or-comment-p.
10983 (octave-in-comment-p, octave-in-string-p)
10984 (octave-in-string-or-comment-p): Replace defsubst with defun.
10985
10986 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10987
10988 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10989
10990 2013-04-25 Bastien Guerry <bzg@gnu.org>
10991
10992 * textmodes/remember.el (remember-data-directory)
10993 (remember-directory-file-name-format): Fix custom types.
10994
10995 2013-04-25 Leo Liu <sdl.web@gmail.com>
10996
10997 * progmodes/octave.el (octave-completion-at-point-function):
10998 Make use of inferior octave process.
10999 (octave-initialize-completions): Remove.
11000 (inferior-octave-completion-table): New function.
11001 (inferior-octave-completion-at-point): Use it.
11002 (octave-completion-alist): Remove.
11003
11004 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11005
11006 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11007 (opascal-mode-syntax-table): New var.
11008 (opascal-literal-kind, opascal-is-literal-end)
11009 (opascal-literal-token-at): Rewrite.
11010 (opascal--literal-start-re, opascal-font-lock-keywords)
11011 (opascal--syntax-propertize): New constants.
11012 (opascal-font-lock-defaults): Adjust.
11013 (opascal-mode): Use them. Set comment-<foo> variables as well.
11014 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11015 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11016 (delphi-other-face, opascal-other-face): Remove face variables.
11017 (opascal-save-state): Remove macro.
11018 (opascal-fontifying-progress-step): Remove constant.
11019 (opascal--ignore-changes): Remove var.
11020 (opascal-set-token-property, opascal-parse-next-literal)
11021 (opascal-is-stable-literal, opascal-complete-literal)
11022 (opascal-is-literal-start, opascal-face-of)
11023 (opascal-parse-region, opascal-parse-region-until-stable)
11024 (opascal-fontify-region, opascal-after-change)
11025 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11026 (opascal-debug-parse-region, opascal-debug-parse-window)
11027 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11028 (opascal-debug-fontify-buffer): Remove.
11029 (opascal-debug-mode-map): Adjust accordingly.
11030
11031 2013-04-25 Leo Liu <sdl.web@gmail.com>
11032
11033 Merge octave-mod.el and octave-inf.el into octave.el with some
11034 cleanups.
11035 * progmodes/octave.el: New file renamed from octave-mod.el.
11036 * progmodes/octave-inf.el: Merged into octave.el.
11037 * progmodes/octave-mod.el: Renamed to octave.el.
11038
11039 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11040
11041 * textmodes/reftex-vars.el
11042 (reftex-label-ignored-macros-and-environments): New defcustom.
11043
11044 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11045
11046 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11047
11048 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11049 (smie-indent-keyword): Improve the check to ensure that the next
11050 comment is really on the same line.
11051 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11052
11053 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11054 semi-colons if the line is not otherwise empty (bug#14218).
11055
11056 2013-04-25 Glenn Morris <rgm@gnu.org>
11057
11058 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11059
11060 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * progmodes/opascal.el (opascal-set-token-property): Rename from
11063 opascal-set-text-properties and only set `token' (bug#14134).
11064 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11065 (opascal-literal-text-properties): Remove.
11066 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11067 Adjust callers.
11068
11069 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11070
11071 * textmodes/remember.el (remember-handler-functions): Add an
11072 option for a new handler `remember-store-in-files'.
11073 (remember-data-directory, remember-directory-file-name-format):
11074 New options.
11075 (remember-store-in-files): New function to store remember notes
11076 as separate files within a directory.
11077
11078 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11079
11080 * progmodes/compile.el (compilation-next-error-function):
11081 Pass "formats" to compilation-find-file (bug#11777).
11082
11083 2013-04-24 Glenn Morris <rgm@gnu.org>
11084
11085 * vc/vc-bzr.el (vc-bzr-print-log):
11086 * vc/vc-hg.el (vc-hg-print-log):
11087 * vc/vc-svn.el (vc-svn-print-log):
11088 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11089
11090 * vc/vc-bzr.el (vc-bzr-print-log):
11091 * vc/vc-cvs.el (vc-cvs-print-log):
11092 * vc/vc-git.el (vc-git-print-log):
11093 * vc/vc-hg.el (vc-hg-print-log):
11094 * vc/vc-mtn.el (vc-mtn-print-log):
11095 * vc/vc-rcs.el (vc-rcs-print-log):
11096 * vc/vc-sccs.el (vc-sccs-print-log):
11097 * vc/vc-svn.el (vc-svn-print-log):
11098 * vc/vc.el (vc-print-log-internal): Doc fixes.
11099
11100 2013-04-23 Glenn Morris <rgm@gnu.org>
11101
11102 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11103 Remove venerable code attempting to avoid substitute-command-keys.
11104
11105 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11106
11107 * textmodes/reftex-vars.el (reftex-label-regexps):
11108 Call `reftex-compile-variables' after changes to this variable.
11109
11110 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11113 Use lexical-binding.
11114 (jit-lock-force-redisplay): Use markers, check buffer's continued
11115 existence and beware narrowed buffers.
11116 (jit-lock-fontify-now): Adjust call accordingly.
11117
11118 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11119
11120 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11121 to avoid misleading the user.
11122
11123 2013-04-22 Leo Liu <sdl.web@gmail.com>
11124
11125 * info-look.el: Prefer latex2e.info. (Bug#14240)
11126
11127 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11128
11129 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11130
11131 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11132 * net/tramp.el (tramp-call-process): ... here.
11133 (tramp-set-completion-function, tramp-parse-putty):
11134 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11135 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11136 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11137 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11138 (tramp-call-local-coding-command): Use `tramp-call-process'
11139 instead of `tramp-compat-call-process'.
11140
11141 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11142 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11143 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11144 (tramp-find-inline-compress): Improve traces.
11145 (tramp-maybe-send-script): Check for Perl binary.
11146 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11147
11148 2013-04-22 Daiki Ueno <ueno@gnu.org>
11149
11150 * epg.el (epg-context-pinentry-mode): New function.
11151 (epg-context-set-pinentry-mode): New function.
11152 (epg--start): Pass --pinentry-mode option to gpg command.
11153
11154 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11155
11156 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11157 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11158 `completion-at-point'. (Bug#13774)
11159
11160 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11161 default key binding for `describe-distribution' has been moved to
11162 `C-h C-o'. (Bug#13970)
11163
11164 2013-04-21 Glenn Morris <rgm@gnu.org>
11165
11166 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11167 Add doc strings.
11168 (vc-print-log): Clarify interactive prompt.
11169
11170 2013-04-20 Glenn Morris <rgm@gnu.org>
11171
11172 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11173 No longer include timestamp etc information.
11174
11175 2013-04-20 Roland Winkler <winkler@gnu.org>
11176
11177 * faces.el (read-face-name): Bug fix, return just one face if arg
11178 multiple is nil. (Bug#14209)
11179
11180 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11181
11182 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11183 (remove-function): Autoload.
11184
11185 * comint.el (comint-redirect-original-filter-function): Remove.
11186 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11187 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11188 (vc-cvs-annotate-command):
11189 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11190 * progmodes/prolog.el (prolog-consult-compile):
11191 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11192 Use add/remove-function instead.
11193 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11194 (gud-tooltip-process-output, gud-tooltip-tips):
11195 Use add/remove-function instead.
11196 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11197 (scheme-interaction-mode, exit-scheme-interaction-mode):
11198 Use add/remove-function instead.
11199
11200 * vc/vc-dispatcher.el: Use lexical-binding.
11201 (vc--process-sentinel): Rename from vc-process-sentinel.
11202 Change last arg to be the code to run. Don't use vc-previous-sentinel
11203 and vc-sentinel-commands any more.
11204 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11205 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11206
11207 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11208
11209 * progmodes/sh-script.el (sh-imenu-generic-expression):
11210 Handle function names with a single character. (Bug#14111)
11211
11212 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11213
11214 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11215 for subroutines defined in an eval (bug#14182).
11216
11217 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11218
11219 * bookmark.el (bookmark-completing-read): Improve handling of empty
11220 string (bug#14176).
11221
11222 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11223
11224 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11225
11226 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11227
11228 New faster Imenu implementation (bug#14058).
11229 * progmodes/python.el:
11230 (python-imenu-prev-index-position):
11231 (python-imenu-format-item-label-function)
11232 (python-imenu-format-parent-item-label-function)
11233 (python-imenu-format-parent-item-jump-label-function):
11234 New vars.
11235 (python-imenu-format-item-label)
11236 (python-imenu-format-parent-item-label)
11237 (python-imenu-format-parent-item-jump-label)
11238 (python-imenu--put-parent, python-imenu--build-tree)
11239 (python-imenu-create-index, python-imenu-create-flat-index)
11240 (python-util-popn): New functions.
11241 (python-mode): Set imenu-create-index-function to
11242 python-imenu-create-index.
11243
11244 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11245
11246 * winner.el (winner-active-region): Use region-active-p, activate-mark
11247 and deactivate-mark (bug#14225).
11248
11249 * simple.el (deactivate-mark): Don't inline it.
11250
11251 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11252
11253 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11254
11255 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11256
11257 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11258 file extensions from the archive-mode entry in order to prefer
11259 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11260
11261 2013-04-18 Leo Liu <sdl.web@gmail.com>
11262
11263 * bindings.el (help-event-list): Add ?\?.
11264
11265 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * subr.el (with-wrapper-hook): Declare obsolete.
11268 * simple.el (filter-buffer-substring-function): New hook.
11269 (filter-buffer-substring): Use it.
11270 (filter-buffer-substring-functions): Mark obsolete.
11271 * minibuffer.el (completion-in-region-function): New hook.
11272 (completion-in-region): Use it.
11273 (completion-in-region-functions): Mark obsolete.
11274 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11275 * abbrev.el (abbrev-expand-function): New hook.
11276 (expand-abbrev): Use it.
11277 (abbrev-expand-functions): Mark obsolete.
11278 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11279 and :filter-return.
11280
11281 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11282
11283 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11284 and do not care about match data.
11285
11286 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11287
11288 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11289 completion tables when completing error conditions and
11290 `declare' arguments.
11291 (lisp-complete-symbol, field-complete): Mark as obsolete.
11292 (check-parens): Unmatched parens are user errors.
11293 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11294
11295 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11296
11297 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11298 command changed buffer (ie. `flyspell-pre-buffer' is not current
11299 buffer), which prevents making decisions based on invalid value of
11300 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11301 cause an error when `flyspell-pre-point' was nil after switching
11302 buffers.
11303 (flyspell-post-command-hook): No longer needs to change buffers when
11304 checking pre-word. While at it remove unnecessary progn.
11305
11306 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11307
11308 * textmodes/ispell.el (ispell-add-per-file-word-list):
11309 Fix `flyspell-correct-word-before-point' error when accepting
11310 words and `coment-padding' is an integer by using
11311 `comment-normalize-vars' (Bug #14214).
11312
11313 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11314
11315 New defun movement commands.
11316 * progmodes/python.el (python-nav--syntactically)
11317 (python-nav--forward-defun, python-nav-backward-defun)
11318 (python-nav-forward-defun): New functions.
11319
11320 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11321
11322 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11323 (python-syntax-context): Use named compiler-macro for backwards
11324 compatibility with Emacs 24.x.
11325
11326 2013-04-17 Leo Liu <sdl.web@gmail.com>
11327
11328 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11329 octave-hide-process-buffer.
11330
11331 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11332
11333 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11334 (bug#14216).
11335
11336 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11337
11338 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11339 Fix adjustment of offset when receiving incomplete responses from GDB
11340 (bug#14129).
11341
11342 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11343
11344 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11345 python-mode-abbrev-table.
11346 (python-skeleton-define): Adjust accordingly.
11347 (python-mode-abbrev-table): New table that inherits from it so that
11348 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11349
11350 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11351 (abbrev-symbol): Use it.
11352 (abbrev--before-point): Use it since we already handle inheritance.
11353
11354 2013-04-16 Leo Liu <sdl.web@gmail.com>
11355
11356 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11357 binding to info-lookup-symbol.
11358
11359 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11360
11361 * minibuffer.el (completion--twq-all):
11362 * term/ns-win.el (ns-initialize-window-system):
11363 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11364
11365 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11368 global bindings.
11369
11370 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11371
11372 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11373
11374 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11375 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11376 to nil.
11377 (ruby-end-of-defun): Remove the unused arg, change the docstring
11378 to reflect that this function is only used as the value of
11379 `end-of-defun-function'.
11380 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11381 to reflect an earlier change that beginning/end-of-defun functions
11382 jump between methods in a class definition, as well as top-level
11383 functions.
11384
11385 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11386
11387 * minibuffer.el (minibuffer-complete): Don't just scroll
11388 a *Completions* that's been iconified.
11389 (minibuffer-force-complete): Make sure repetitions do cycle when going
11390 through completion-in-region -> minibuffer-complete.
11391
11392 2013-04-15 Alan Mackenzie <acm@muc.de>
11393
11394 Correct the placement of c-cpp-delimiters when there're #s not at
11395 col 0.
11396
11397 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11398 place a submatch around the #.
11399 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11400 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11401 on the #, not BOL.
11402
11403 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11406 (advice--member-p): New arg `name'.
11407 (advice--add-function, advice-member-p): Use it (bug#14202).
11408
11409 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11410
11411 Reformulate java imenu-generic-expression.
11412 The old expression contained ill formed regexps.
11413
11414 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11415 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11416 (cc-imenu-java-method-arg-regexp): New defconsts.
11417 (cc-imenu-java-build-type-args-regex): New defun.
11418 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11419 handling of spaces in the regexp.
11420
11421 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11422
11423 * textmodes/ispell.el (ispell-command-loop): Remove
11424 flyspell highlight of a word when ispell accepts it (bug #14178).
11425
11426 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11427
11428 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11429 uses code from the previous `ange-ftp-run-real-handler'.
11430 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11431 only in case that function exist. This is needed for proper
11432 unloading of Tramp.
11433
11434 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11435
11436 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11437
11438 * textmodes/reftex.el (reftex-compile-variables): Use it.
11439
11440 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * files.el (normal-mode): Only use default major-mode if no other mode
11443 was specified.
11444
11445 * emacs-lisp/trace.el (trace-values): New function.
11446
11447 * files.el: Allow : in local variables (bug#14089).
11448 (hack-local-variable-regexp): New var.
11449 (hack-local-variables-prop-line, hack-local-variables): Use it.
11450
11451 2013-04-13 Roland Winkler <winkler@gnu.org>
11452
11453 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11454 data before it gets modified by bibtex-beginning-of-entry.
11455
11456 2013-04-13 Roland Winkler <winkler@gnu.org>
11457
11458 * textmodes/bibtex.el (bibtex-url): Doc fix.
11459
11460 2013-04-13 Roland Winkler <winkler@gnu.org>
11461
11462 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11463 does not visit a BibTeX file, exclude it from the list of buffers
11464 returned by bibtex-initialize.
11465
11466 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11467
11468 * window.el (split-window): Remove interactive form, since as a
11469 command this function is a special case of split-window-below.
11470 Correct doc string.
11471
11472 2013-04-12 Roland Winkler <winkler@gnu.org>
11473
11474 * faces.el (read-face-name): Do not override value of arg default.
11475 Allow single faces and strings as default values. Remove those
11476 elements from return value that are not faces.
11477 (describe-face): Simplify.
11478 (face-at-point): New optional args thing and multiple so that this
11479 function can provide the same functionality previously provided by
11480 read-face-name.
11481 (make-face-bold, make-face-unbold, make-face-italic)
11482 (make-face-unitalic, make-face-bold-italic, invert-face)
11483 (modify-face, read-face-and-attribute): Use face-at-point.
11484
11485 * cus-edit.el (customize-face, customize-face-other-window)
11486 * cus-theme.el (custom-theme-add-face)
11487 * face-remap.el (buffer-face-set)
11488 * facemenu.el (facemenu-set-face): Use face-at-point.
11489
11490 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11491
11492 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11493
11494 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11495
11496 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11497 off leading { and trailing } from field values.
11498
11499 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * emacs-lisp/timer.el (timer--check): New function.
11502 (timer--time, timer-set-function, timer-event-handler): Use it.
11503 (timer-set-idle-time): Simplify.
11504 (timer--activate): CSE.
11505 (timer-event-handler): Give more info in error message.
11506 (internal-timer-start-idle): New function, moved from C.
11507
11508 * mpc.el (mpc-proc): Add `restart' argument.
11509 (mpc-proc-cmd): Use it.
11510 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11511 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11512 less often.
11513
11514 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11515
11516 * progmodes/sh-script.el: Implement `sh-mode' own
11517 `add-log-current-defun-function' (bug#14112).
11518 (sh-current-defun-name): New function.
11519 (sh-mode): Use the function.
11520
11521 2013-04-09 Bastien Guerry <bzg@gnu.org>
11522
11523 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11524
11525 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11526
11527 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11528
11529 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11530 timer (bug#14156).
11531
11532 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11533
11534 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11535 declaration.
11536
11537 2013-04-07 Leo Liu <sdl.web@gmail.com>
11538
11539 * pcmpl-x.el: New file.
11540
11541 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11542
11543 Do not set x-display-name until X connection is established.
11544 This is needed to prevent from weird situation described at
11545 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11546 * frame.el (make-frame): Set x-display-name after call to
11547 window system initialization function, not before.
11548 * term/x-win.el (x-initialize-window-system): Add optional
11549 display argument and use it.
11550 * term/w32-win.el (w32-initialize-window-system):
11551 * term/ns-win.el (ns-initialize-window-system):
11552 * term/pc-win.el (msdos-initialize-window-system):
11553 Add compatible optional display argument.
11554
11555 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11556
11557 * files.el (normal-backup-enable-predicate): On MS-Windows and
11558 MS-DOS compare truenames of temporary-file-directory and of the
11559 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11560 don't fail comparison by compare-strings. Also, compare file
11561 names case-insensitively on MS-Windows and MS-DOS.
11562
11563 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11564
11565 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11566 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11567
11568 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11569
11570 * whitespace.el (whitespace-color-on, whitespace-color-off):
11571 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11572
11573 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11574
11575 * ispell.el (ispell-set-spellchecker-params):
11576 Really set `ispell-args' for all equivs.
11577
11578 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 * ido.el (ido-completions): Use extra elements of ido-decorations
11581 (bug#14143).
11582 (ido-decorations): Update docstring.
11583
11584 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11585
11586 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11587 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11588 nil during initialization, in order not to miss changes since the
11589 file was opened. (Bug#14140)
11590
11591 2013-04-05 Leo Liu <sdl.web@gmail.com>
11592
11593 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11594
11595 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11596
11597 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11598
11599 2013-04-04 Glenn Morris <rgm@gnu.org>
11600
11601 * electric.el (electric-pair-inhibit-predicate): Add :version.
11602
11603 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11606 when a package is required several times (bug#14082).
11607
11608 2013-04-04 Roland Winkler <winkler@gnu.org>
11609
11610 * faces.el (read-face-name): Behave as promised by the docstring.
11611 Assume that arg default is a list of faces.
11612 (describe-face): Call read-face-name with list of default faces.
11613
11614 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11615
11616 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11617 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11618 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11619 the header.
11620 (bookmark-exit-hook-internal): Save even if list is empty.
11621
11622 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11623
11624 * emacs-lisp/package.el (package-pinned-packages): New var.
11625 (package--add-to-archive-contents): Obey it (bug#14118).
11626
11627 2013-04-03 Alan Mackenzie <acm@muc.de>
11628
11629 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11630 Also adapt to the new values of element 7 of a parse state.
11631
11632 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11633 parameter `not-in-delimiter'. Handle being inside comment opener.
11634 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11635 character in case we're typing a '*' after a '/'.
11636 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11637 instead by passing the parameter to c-state-pp-to-literal.
11638
11639 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11640 for elt. 7 of a parse state.
11641
11642 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11643
11644 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11645 * international/latin1-disp.el, international/mule-util.el:
11646 * language/cyril-util.el, language/european.el, language/ind-util.el:
11647 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11648 * language/tibetan.el, language/viet-util.el:
11649 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11650
11651 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11654 (electric-pair-post-self-insert-function): Use it.
11655 (electric-pair-default-inhibit): New function, extracted from
11656 electric-pair-post-self-insert-function.
11657
11658 2013-03-31 Roland Winkler <winkler@gnu.org>
11659
11660 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11661
11662 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11663
11664 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11665
11666 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11667
11668 Un-indent after "pass" and "return" statements (Bug#13888)
11669 * progmodes/python.el (python-indent-block-enders): New var.
11670 (python-indent-calculate-indentation): Use it.
11671
11672 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11673
11674 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11675 defun. Defining it as defalias could introduce too eager
11676 byte-compiler optimization. (Bug#14030)
11677
11678 2013-03-30 Chong Yidong <cyd@gnu.org>
11679
11680 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11681
11682 2013-03-30 Leo Liu <sdl.web@gmail.com>
11683
11684 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11685 (kmacro-execute-from-register): Pass the keyboard macro to
11686 kmacro-call-macro or repeating won't work correctly.
11687
11688 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11689
11690 * progmodes/subword.el: Back to using `forward-symbol'.
11691
11692 * subr.el (forward-whitespace, forward-symbol)
11693 (forward-same-syntax): Move from thingatpt.el.
11694
11695 2013-03-29 Leo Liu <sdl.web@gmail.com>
11696
11697 * kmacro.el (kmacro-to-register): New command.
11698 (kmacro-execute-from-register): New function.
11699 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11700
11701 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11702
11703 * mpc.el: Use defvar-local and setq-local.
11704 (mpc--proc-connect): Connection failures are not bugs.
11705 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11706 (mpc-volume-map): Bind to the up-events.
11707
11708 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11709
11710 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11711 instead of `forward-symbol'.
11712
11713 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11714
11715 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11716 (edebug--recursive-edit): Use it.
11717 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11718 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11719
11720 2013-03-28 Leo Liu <sdl.web@gmail.com>
11721
11722 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11723
11724 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11725
11726 * facemenu.el (list-colors-callback): New defvar.
11727 (list-colors-redisplay): New function.
11728 (list-colors-display): Install list-colors-redisplay as the
11729 revert-buffer-function. (Bug#14063)
11730
11731 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11732
11733 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11734 and suffixes don't overlap (bug#14061).
11735
11736 * case-table.el: Use lexical-binding.
11737 (case-table-get-table): New function.
11738 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11739
11740 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11741
11742 * progmodes/subword.el: Add `superword-mode' to do word motion
11743 over symbol_words (parallels and leverages `subword-mode' which
11744 does word motion inside MixedCaseWords).
11745
11746 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11747
11748 * eshell/em-unix.el: Move su and sudo to...
11749 * eshell/em-tramp.el: ...Eshell tramp module.
11750
11751 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11752
11753 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11754 Change return value to be a sexp. Delay `get-buffer' to after
11755 restoring the desktop (bug#13951).
11756
11757 2013-03-26 Leo Liu <sdl.web@gmail.com>
11758
11759 * register.el: Move semantic tag handling back to
11760 cedet/semantic/senator.el. (Bug#14052)
11761
11762 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11765 into the prompt either (bug#13963).
11766
11767 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11770 part of "(error-foo)".
11771
11772 2013-03-24 Juri Linkov <juri@jurta.org>
11773
11774 * replace.el (list-matching-lines-prefix-face): New defcustom.
11775 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11776 `occur-engine' if `face-differs-from-default-p' returns t.
11777 (occur-engine): Add `,' inside backquote construct to evaluate
11778 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11779 Pass `prefix-face' to the functions `occur-context-lines' and
11780 `occur-engine-add-prefix'.
11781 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11782 `prefix-face' and propertize the prefix with `prefix-face'.
11783 (Bug#14017)
11784
11785 2013-03-24 Leo Liu <sdl.web@gmail.com>
11786
11787 * nxml/rng-valid.el (rng-validate-while-idle)
11788 (rng-validate-quick-while-idle): Guard against deleted buffer.
11789 (Bug#13999)
11790
11791 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11792 is the last entry in kill-buffer-hook.
11793
11794 * files.el (kill-buffer-hook): Doc fix.
11795
11796 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11797
11798 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11799 Make it safe-local.
11800
11801 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11802
11803 2013-03-23 Leo Liu <sdl.web@gmail.com>
11804
11805 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11806 Remove.
11807
11808 * nxml/rng-valid.el (rng-validate-mode)
11809 (rng-after-change-function, rng-do-some-validation):
11810 * nxml/rng-maint.el (rng-validate-buffer):
11811 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11812 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11813 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11814 (nxml-extend-after-change-region): Use with-silent-modifications.
11815
11816 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11817 timer-idle-list.
11818
11819 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11820 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11821 timer-idle-list. (Bug#13999)
11822
11823 2013-03-23 Juri Linkov <juri@jurta.org>
11824
11825 * info.el (info-index-match): New face.
11826 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11827 main pattern and add text properties with the new face to matches
11828 in index entries relative to the beginning of the index entry.
11829 (Bug#14015)
11830
11831 2013-03-21 Eric Ludlam <zappo@gnu.org>
11832
11833 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11834 Inhibit read only while inserting objects.
11835
11836 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11837
11838 * progmodes/cfengine.el: Update docs to mention
11839 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11840 symbol motion. Remove "_" from the word syntax.
11841
11842 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11843
11844 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11845 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11846
11847 2013-03-20 Juri Linkov <juri@jurta.org>
11848
11849 * info.el (Info-next-reference-or-link)
11850 (Info-prev-reference-or-link): New functions.
11851 (Info-next-reference, Info-prev-reference): Use them.
11852 (Info-try-follow-nearest-node): Handle footnote navigation.
11853 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11854
11855 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11858 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11859
11860 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11861
11862 Suppress unnecessary non-ASCII chatter during build process.
11863 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11864 (batch-skkdic-convert): Suppress most of the chatter.
11865 It's not needed so much now that machines are faster,
11866 and its non-ASCII component was confusing; see Dmitry Gutov in
11867 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11868
11869 2013-03-20 Leo Liu <sdl.web@gmail.com>
11870
11871 * ido.el (ido-chop): Fix bug#10994.
11872
11873 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11874
11875 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11876 Remove vars.
11877 (whitespace-color-on, whitespace-color-off):
11878 Use `font-lock-fontify-buffer' (Bug#13817).
11879
11880 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11881
11882 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11883 remapping in mode-line.
11884 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11885
11886 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11887
11888 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11889 value for `whitespace-line' face (Bug#13875).
11890 (whitespace-font-lock-keywords): Change description.
11891 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11892 the constructed keywords instead.
11893 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11894
11895 2013-03-19 Leo Liu <sdl.web@gmail.com>
11896
11897 * progmodes/compile.el (compilation-display-error): New command.
11898 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11899 C-o. (Bug#13992)
11900
11901 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11902
11903 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11904
11905 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11906
11907 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11908
11909 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11910
11911 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11912
11913 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11914 * net/tramp-gvfs.el (top):
11915 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11916 (tramp-handle-shell-command): Use it.
11917 (tramp-dissect-file-name): Raise an error when hostname is a
11918 method name, and neither method nor user is specified.
11919
11920 * net/trampver.el: Update release number.
11921
11922 2013-03-18 Leo Liu <sdl.web@gmail.com>
11923
11924 Make sure eldoc can be turned off properly.
11925 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11926 eldoc-mode.
11927 (eldoc-display-message-p): Revert last change.
11928 (eldoc-display-message-no-interference-p)
11929 (eldoc-print-current-symbol-info): Tweak.
11930
11931 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11932
11933 * doc-view.el (doc-view-new-window-function): Check the new window
11934 overlay's display property instead the char property of the
11935 buffer's first char. Use `with-selected-window' instead of
11936 `save-window-excursion' with `select-window'.
11937 (doc-view-document->bitmap): Check the current doc-view overlay's
11938 display property instead the char property of the buffer's first char.
11939
11940 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11941
11942 Automate the build of ja-dic.el (Bug#13984).
11943 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11944 from the input, rather than assume that it's been done for us by the
11945 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11946 the current date into a ja-dic.el comment, as that complicates
11947 regression testing.
11948
11949 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * whitespace.el: Fix double evaluation.
11952 (whitespace-space, whitespace-hspace, whitespace-tab)
11953 (whitespace-newline, whitespace-trailing, whitespace-line)
11954 (whitespace-space-before-tab, whitespace-indentation)
11955 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11956 obsolete defvars.
11957 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11958 (whitespace-color-on): Use a single font-lock-add-keywords call.
11959 Fix double-evaluation of face variables.
11960
11961 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11962
11963 * net/tramp-adb.el (tramp-adb-parse-device-names):
11964 Use `start-process' instead of `call-process'. Otherwise, the
11965 function might be blocked under MS Windows. (Bug#13299)
11966
11967 2013-03-17 Leo Liu <sdl.web@gmail.com>
11968
11969 Extend eldoc to display info in the mode-line. (Bug#13978)
11970 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11971 (eldoc-mode-line-string): New variable.
11972 (eldoc-minibuffer-message): New function.
11973 (eldoc-message-function): New variable.
11974 (eldoc-message): Use it.
11975 (eldoc-display-message-p)
11976 (eldoc-display-message-no-interference-p):
11977 Support eldoc-post-insert-mode.
11978
11979 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11980 (eval-expression): Run it.
11981
11982 2013-03-17 Roland Winkler <winkler@gnu.org>
11983
11984 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11985 strings in the list of return values.
11986
11987 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11988
11989 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11990 radix before checking for HMS forms.
11991
11992 2013-03-16 Leo Liu <sdl.web@gmail.com>
11993
11994 * progmodes/scheme.el: Add indentation and font-locking for λ.
11995 (Bug#13975)
11996
11997 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12000 token before point (bug#13942).
12001
12002 2013-03-16 Leo Liu <sdl.web@gmail.com>
12003
12004 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12005
12006 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12007
12008 * startup.el (command-line-normalize-file-name): Fix handling of
12009 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12010 <xfq.free@gmail.com> in
12011 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12012
12013 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12014
12015 Sync with Tramp 2.2.7.
12016
12017 * net/trampver.el: Update release number.
12018
12019 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12020
12021 * doc-view.el: Fix bug#13887.
12022 (doc-view-insert-image): Don't modify overlay associated to
12023 non-live windows, and implement horizontal centering of image in
12024 case it's smaller than the window.
12025 (doc-view-new-window-function): Force redisplay of new windows on
12026 doc-view buffers.
12027
12028 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12029
12030 * saveplace.el (save-place-alist-to-file): Don't sort
12031 `save-place-alist', just pretty-print it (bug#13882).
12032
12033 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12034
12035 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12036 Check whether `default-file-name-coding-system' is bound.
12037 It isn't in XEmacs.
12038
12039 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12040
12041 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12042 backquotes for `obsolete' (bug#13929).
12043
12044 * international/mule.el (find-auto-coding): Include file name in
12045 obsolescence warning (bug#13922).
12046
12047 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12048
12049 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12050 for CFEngine 3-specific indentation.
12051 (cfengine3-indent-line): Use it. Fix up category regex.
12052 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12053
12054 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 * type-break.el (type-break-file-name):
12057 * textmodes/remember.el (remember-data-file):
12058 * strokes.el (strokes-file):
12059 * shadowfile.el (shadow-initialize):
12060 * saveplace.el (save-place-file):
12061 * ps-bdf.el (bdf-cache-file):
12062 * progmodes/idlwave.el (idlwave-config-directory):
12063 * net/quickurl.el (quickurl-url-file):
12064 * international/kkc.el (kkc-init-file-name):
12065 * ido.el (ido-save-directory-list-file):
12066 * emulation/viper.el (viper-custom-file-name):
12067 * emulation/vip.el (vip-startup-file):
12068 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12069 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12070
12071 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12072
12073 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12074 * language/thai-word.el: Switch to UTF-8.
12075
12076 See ChangeLog.16 for earlier changes.
12077
12078 ;; Local Variables:
12079 ;; coding: utf-8
12080 ;; End:
12081
12082 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12083
12084 This file is part of GNU Emacs.
12085
12086 GNU Emacs is free software: you can redistribute it and/or modify
12087 it under the terms of the GNU General Public License as published by
12088 the Free Software Foundation, either version 3 of the License, or
12089 (at your option) any later version.
12090
12091 GNU Emacs is distributed in the hope that it will be useful,
12092 but WITHOUT ANY WARRANTY; without even the implied warranty of
12093 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12094 GNU General Public License for more details.
12095
12096 You should have received a copy of the GNU General Public License
12097 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.