* lisp/emacs-lisp/package.el (package-desc-keywords): New function.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2
3 * emacs-lisp/package.el (package-desc-keywords): New function
4 (Bug#16222).
5 (describe-package-1, package-all-keywords)
6 (package--has-keyword-p): Use it.
7
8 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9
10 * simple.el (define-alternatives): When creating the
11 COMMAND-alternatives variable, assign COMMAND as its definition
12 name so that `describe-variable' can relocate it.
13
14 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
15
16 * font-lock.el (font-lock-keywords): Fix typo in docstring
17 (bug#16307).
18
19 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20
21 * ispell.el (ispell-region): Reset `in-comment' for new line
22 instead of wrongly reset `add-coment' (bug#13577).
23
24 2014-01-14 Daiki Ueno <ueno@gnu.org>
25
26 * epa-file.el (epa-file-write-region): Encode the region according
27 to `buffer-file-format'. Problem reported at:
28 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
29
30 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
33 so it applies in the right buffer (bug#16410).
34
35 2014-01-13 Daniel Colascione <dancol@dancol.org>
36
37 * textmodes/rst.el (rst-define-key): Provide deprecated
38 keybindings through named functions instead of anonymous ones so
39 that "??" doesn't appear in describe-mode output.
40
41 2014-01-13 Bastien Guerry <bzg@gnu.org>
42
43 * simple.el (define-alternatives): Call the selected command
44 interactively. When setting `COMMAND--implementation' for the
45 first time, tell the user how to chose another implementation.
46 Enhance the docstring.
47
48 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
51 (log-edit--match-first-line): New function.
52 (log-edit-font-lock-keywords): Use it.
53 (log-edit-mode): Make jit-lock-defer-multiline work.
54
55 2014-01-13 Bastien Guerry <bzg@gnu.org>
56
57 * rect.el (rectangle-mark-mode): When the region is not active,
58 display a message saying that the mark as been set and that
59 rectangle mode is in use.
60 (rectangle--highlight-for-redisplay): Only put an overlay with a
61 visible vertical bar when (display-graphic-p) is non-nil.
62 This partially fixes Bug#16403.
63
64 2014-01-13 Juri Linkov <juri@jurta.org>
65
66 * info.el (Info-find-file): Go to DIR before displaying the error
67 about a nonexistent file if no previous Info file is visited.
68 Use `user-error' instead of `error' for "Info file %s does not exist".
69 (Info-find-node-2): In case of a nonexistent node in unwind forms
70 go to the Top node if there is no previous node to revert to.
71 (Bug#16405)
72
73 2014-01-13 Martin Rudalics <rudalics@gmx.at>
74
75 fit-frame/window-to-buffer code fixes including one for Bug#14096.
76 * window.el (fit-frame-to-buffer): Fix doc-string.
77 Respect window-min-height/-width. Fit pixelwise when
78 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
79 when avoiding that frame goes partially off-screen.
80 (fit-window-to-buffer): Respect window-min-height/-width
81 (Bug#14096).
82
83 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
84
85 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
86 after an empty line.
87
88 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * net/shr.el (shr-render-region): Autoload.
91
92 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
93
94 * net/eww.el (eww-download-directory): Rename from
95 `eww-download-path' (Bug#16419).
96
97 2014-01-12 Leo Liu <sdl.web@gmail.com>
98
99 * dired-x.el (dired-mode-map): Fix last change.
100
101 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
102
103 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
104
105 Spelling fixes.
106 * emacs-lisp/generic.el (generic--normalize-comments):
107 Rename from generic--normalise-comments. All uses changed.
108 * play/bubbles.el (bubbles--neighborhood-score):
109 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
110 (bubbles--neighborhood-available)
111 (bubbles--update-neighborhood-score):
112 Rename from names with 'neighbourhood'. All uses changed.
113
114 2014-01-12 Leo Liu <sdl.web@gmail.com>
115
116 Re-implement the feature of showing eldoc info after editing.
117 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
118 (eldoc-edit-message-commands): New function.
119 (eldoc-print-after-edit): New variable.
120 (eldoc-pre-command-refresh-echo-area): Emit message only by
121 eldoc-message-commands.
122 (eldoc-mode): Restrict eldoc-message-commands to editing commands
123 if eldoc-print-after-edit is set. (Bug#16346)
124
125 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
126
127 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
128
129 * version.el (emacs-repository-get-version): Enhance so the
130 function works correctly in either a Bazaar or Git repo.
131
132 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
133 Goes with removal of the joke manpages from /etc.
134
135 2014-01-10 K. Handa <handa@gnu.org>
136
137 * mail/rmail.el (rmail-get-coding-system):
138 Check rmail-get-coding-function before "funcall"ing it.
139
140 2014-01-10 Glenn Morris <rgm@gnu.org>
141
142 * emacs-lisp/authors.el (authors-fixed-entries):
143 Update for files that no longer exist.
144
145 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
146
147 * version.el (emacs-bzr-get-version): Restore compatibilty with
148 24.3 (Tested).
149
150 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
151
152 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
153 and Podfile.
154
155 2014-01-10 Eli Zaretskii <eliz@gnu.org>
156
157 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
158
159 2014-01-10 Chong Yidong <cyd@gnu.org>
160
161 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
162
163 2014-01-10 Anders Lindgren <andlind@gmail.com>
164
165 * follow.el (follow-cache-command-list): Include right-char and
166 left-char.
167
168 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
169
170 Spelling fixes.
171 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
172 * woman.el (woman-mark-horizontal-position):
173 Rename from woman-mark-horizonal-position. Use changed.
174
175 2014-01-10 Glenn Morris <rgm@gnu.org>
176
177 * info.el (info-initialize): If running uninstalled, ensure our
178 own info files are always found first, even if INFOPATH is set.
179
180 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
181
182 2014-01-09 David Engster <deng@randomsample.de>
183
184 * emacs-lisp/eieio-custom.el:
185 * emacs-lisp/eieio-opt.el: Set generated autoload file to
186 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
187 * emacs-lisp/eieio.el: Regenerate autoloads.
188
189 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
190
191 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
192 following renames. (Bug#8756)
193
194 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
197 (bug#16382).
198 (activate-mark): Add `no-tmm' argument.
199 (set-mark, push-mark-command): Use it instead of running
200 activate-mark-hook by hand.
201
202 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
203
204 In preparation for the move to git, sanitize out some
205 Bazaar-specific names.
206
207 * version.el (emacs-bzr-version): Name changed to
208 emacs-repository-version. Obsolete-variable alias made.
209 * loadup.el: Follow through on this name change.
210 * mail/emacsbug.el (report-emacs-bug): Factor out any
211 assumption about the version control system in use.
212
213 2014-01-08 David Engster <deng@randomsample.de>
214
215 * help-fns.el (help-fns-describe-function-functions):
216 New variable to call functions for augmenting help buffers.
217 (describe-function-1): Remove explicit calls to
218 `help-fns--compiler-macro', `help-fns--parent-mode' and
219 `help-fns--obsolete'. Put them in above new variable instead, and
220 call them through `run-hook-with-args'.
221 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
222 `eieio-describe-class'. Not meant for interactive use anymore,
223 but to augment existing help buffers. Remove optional second
224 argument. Create proper button for file location.
225 Rewrite function to use `insert' instead of `princ' and `prin1' where
226 possible.
227 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
228 (eieio-method-def, eieio-class-def): Move further up.
229 (describe-method, describe-generic, eieio-describe-method):
230 Remove aliases.
231 (eieio-help-constructor, eieio-help-generic): Rename from
232 `eieio-describe-constructor' and `eieio-describe-generic', resp.
233 Rewrite to use `insert' in the current buffer and use proper help
234 buttons.
235 (eieio-help-find-method-definition)
236 (eieio-help-find-class-definition): Also accept symbols as
237 arguments.
238 (eieio-help-mode-augmentation-maybee): Remove.
239 (eieio-describe-class-sb): Use `describe-function'.
240 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
241 Add `eieio-help-generic' and `eieio-help-constructor'.
242
243 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
244
245 Spelling fixes.
246 * language/china-util.el (hz-ascii-designation):
247 Rename from hz-ascii-designnation.
248 (hz-ascii-designation): Rename from hz-ascii-designnation.
249 All uses changed.
250
251 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
254 package-alist.
255
256 2014-01-08 Bastien Guerry <bzg@gnu.org>
257
258 * emacs-lisp/package.el (package-delete):
259 Correctly delete the package from package-alist.
260
261 2014-01-08 Daiki Ueno <ueno@gnu.org>
262
263 * emacs-lisp/package.el (url-recreate-url): Declare.
264 (url-http-target-url): Declare.
265 (package-handle-response): Include requested URL in the error message.
266 (package--check-signature): Don't re-signal errors from
267 package--with-work-buffer. Suggested by Stefan Monnier.
268
269 2014-01-07 Bastien Guerry <bzg@gnu.org>
270
271 * minibuffer.el (completion--try-word-completion): When both a
272 hyphen and a space are possible candidates for the character
273 following a word, display both candidates. (Bug#15980)
274
275 2014-01-07 Martin Rudalics <rudalics@gmx.at>
276
277 * window.el (balance-windows-2): While rounding don't give a
278 window more than the remainder. Bug#16351, Bug#16383.
279
280 2014-01-07 Glenn Morris <rgm@gnu.org>
281
282 * menu-bar.el (menu-bar-help-extra-packages): Remove.
283 (menu-bar-help-menu): Use view-external-packages instead.
284
285 2014-01-07 Bastien Guerry <bzg@gnu.org>
286
287 * emacs-lisp/package.el (package-delete): Also delete the package
288 name from `package-alist', not its description only.
289
290 2014-01-07 Glenn Morris <rgm@gnu.org>
291
292 * help.el (view-external-packages):
293 * menu-bar.el (menu-bar-help-extra-packages):
294 Visit efaq.info rather than etc/MORE.STUFF.
295
296 2014-01-07 Juri Linkov <juri@jurta.org>
297
298 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
299 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
300
301 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
302 that shadows RET. (Bug#16342)
303
304 2014-01-07 Chong Yidong <cyd@gnu.org>
305
306 * isearch.el (isearch-yank-char, isearch-yank-word)
307 (isearch-yank-line): Doc fix.
308
309 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
312 * emacs-lisp/elint.el (elint-find-builtins):
313 * emacs-lisp/eldoc.el (eldoc-symbol-function):
314 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
315 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
316 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
317 * apropos.el (apropos-safe-documentation):
318 * subr.el (symbol-file): Remove redundant fboundp.
319 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
320
321 2014-01-06 Bastien Guerry <bzg@gnu.org>
322
323 * hl-line.el (global-hl-line-overlay): Make a local variable.
324 (global-hl-line-overlays): New variable to store all overlays.
325 (global-hl-line-mode): Don't delete overlays from the current
326 buffer when `global-hl-line-sticky-flag' is non-nil.
327 (global-hl-line-highlight): Add new overlays to
328 `global-hl-line-overlays'.
329 (global-hl-line-unhighlight-all): New function to delete all
330 overlays when turning off `global-hl-line-mode'.
331 This fixes Bug#16183.
332
333 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * subr.el (set-transient-map): Fix nested case and docstring.
336
337 2014-01-06 Tassilo Horn <tsdh@gnu.org>
338
339 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
340 `Texinfo' entry.
341
342 2014-01-06 Daniel Colascione <dancol@dancol.org>
343
344 Fix defun navigation in vc log view.
345
346 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
347 like `beginning-of-defun'.
348 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
349 log-view-end-of-defun to log-view-end-of-defun-1. Replace
350 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
351 (log-view-extract-comment): Call `log-view-current-entry' directly
352 instead of relying on broken `log-view-beginning-of-defun' behavior.
353
354 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
355
356 Spelling fixes.
357 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
358 * emacs-lisp/debug.el (cancel-debug-on-entry):
359 * epg.el (epg-error-to-string):
360 * files.el (recover-file):
361 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
362 * mail/emacsbug.el (report-emacs-bug-hook):
363 * mail/sendmail.el (mail-recover):
364 * ses.el (ses-yank-resize):
365 * term/ns-win.el (ns-print-buffer):
366 Spelling fixes in diagnostics, mostly for "canceled" with one L.
367 * epg.el (epg-key-capability-alist): Rename from misspelled version.
368 All uses changed.
369 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
370
371 2014-01-06 Leo Liu <sdl.web@gmail.com>
372
373 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
374 to avoid shadowing global key. (Bug#16354)
375
376 2014-01-06 Daniel Colascione <dancol@dancol.org>
377
378 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
379 rst-mode.
380
381 2014-01-05 Martin Rudalics <rudalics@gmx.at>
382
383 * window.el (balance-windows): Add mising t to fix Bug#16351.
384
385 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
386
387 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
388 (bug#16285).
389 (shr-insert): If we have a word that's longer than `shr-width',
390 break after it anyway. Otherwise we'll do no breaking once we get
391 such a long word.
392
393 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
394
395 * net/eww.el (eww): Support single/double quote for search.
396 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
397 (eww-history-quit): Delete and use quit-window.
398 (eww-history-kill): Delete, because it doesn't work well and
399 not necessary.
400 (eww-history-mode-map): Delete some keys and add easy-menu.
401
402 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
403
404 Fix misspelling of 'chinese' in rx (Bug#16237).
405 * emacs-lisp/rx.el (rx-categories): Correct spelling of
406 chinese-two-byte.
407
408 Change subword regexps back to vars (Bug#16296).
409 * progmodes/subword.el (subword-forward-regexp)
410 (subword-backward-regexp): Change these back to variables.
411
412 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
415 syntax-begin-function (bug#16247).
416
417 2014-01-03 Chong Yidong <cyd@gnu.org>
418
419 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
420 (advice--docstring): Delete variable.
421 (advice--make-1): Leave the docstring empty.
422 (advice-add): Use function-documentation for advised docstring.
423
424 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
425 Ignore function-documentation property when getting documentation.
426 (ad-activate-advised-definition): Use function-documentation
427 generate the docstring.
428 (ad-make-advised-definition): Don't call
429 ad-make-advised-definition-docstring.
430 (ad-make-advised-definition-docstring, ad-advised-definition-p):
431 Delete functions.
432
433 * progmodes/sql.el (sql-help): Use function-documentation instead
434 of dynamic-docstring-function property. No need to autoload now.
435 (sql--help-docstring): New variable.
436 (sql--make-help-docstring): Use it.
437
438 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
439
440 * ielm.el (ielm-tab): Retarget.
441 (ielm-map): Use ielm-tab for tab.
442 (ielm-complete-filename): Use comint-filename-completion.
443 (ielm-complete-symbol): Remove.
444 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
445 remove ielm-tab from completion-at-point-functions (bug#16224).
446
447 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
448 Beware signals raised by predicates (bug#16201).
449
450 2014-01-02 Richard Stallman <rms@gnu.org>
451
452 * dired-aux.el (dired-do-print): Handle printer-name.
453
454 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
455 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
456 (rmail-epa-decrypt): Turn off mime processing.
457
458 * mail/rmail.el (rmail-make-in-reply-to-field):
459 Add parens in message-id.
460
461 * mail/rmail.el (rmail-get-coding-function): Variable.
462 (rmail-get-coding-system): Use it.
463
464 2013-12-31 Eli Zaretskii <eliz@gnu.org>
465
466 * international/mule-conf.el: Unify the charset indian-is13194.
467 (indian-is13194): Specify unify-map.
468
469 2013-12-31 Leo Liu <sdl.web@gmail.com>
470
471 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
472
473 2013-12-30 Daniel Colascione <dancol@dancol.org>
474
475 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
476 of printing a useless when we resume from sleep.
477
478 * progmodes/sh-script.el
479 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
480 in indentation code. (Bug#16233)
481
482 2013-12-28 João Távora <joaotavora@gmail.com>
483
484 * elec-pair.el (electric-pair-post-self-insert-function):
485 Don't open extra newlines at beginning of buffer. (Bug#16272)
486
487 2013-12-28 Eli Zaretskii <eliz@gnu.org>
488
489 * frame.el (window-system-for-display): Don't allow to create a
490 GUI frame from a -nw session on MS-Windows. (Bug#14739)
491
492 2013-12-28 Glenn Morris <rgm@gnu.org>
493
494 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
495 Update callers.
496
497 * apropos.el (apropos-match-face):
498 * calculator.el (calculator-displayer):
499 * dabbrev.el (dabbrev-search-these-buffers-only):
500 * face-remap.el (buffer-face-mode-face):
501 * simple.el (yank-handled-properties):
502 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
503 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
504 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
505 (hashcash-double-spend-database):
506 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
507 (ruby-deep-indent-paren-style):
508 * textmodes/flyspell.el (flyspell-auto-correct-binding):
509 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
510 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
511 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
512 Specify custom types.
513
514 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
515 * bookmark.el (bookmark-bmenu-use-header-line):
516 * doc-view.el (doc-view-scale-internally):
517 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
518 * register.el (register-preview-delay):
519 * net/shr.el (shr-bullet):
520 * progmodes/cfengine.el (cfengine-cf-promises)
521 (cfengine-parameters-indent):
522 * progmodes/octave.el (inferior-octave-error-regexp-alist):
523 * textmodes/reftex-vars.el (reftex-label-regexps):
524 * vc/log-edit.el (log-edit-setup-add-author): Add version.
525
526 * net/tls.el (tls-certtool-program): Fix default value.
527
528 * desktop.el (desktop-restore-in-current-display):
529 * newcomment.el (comment-empty-lines):
530 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
531 (idlwave-pad-keyword):
532 * progmodes/tcl.el (tcl-tab-always-indent):
533 * textmodes/reftex-vars.el (reftex-index-default-tag):
534 * elec-pair.el (electric-pair-skip-whitespace):
535 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
536
537 * emacs-lisp/authors.el (authors-ignored-files)
538 (authors-valid-file-names, authors-renamed-files-alist): Additions.
539
540 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
541
542 * shell.el (shell-dynamic-complete-command): Doc fix.
543 (shell--command-completion-data): Shell completion now matches
544 executable filenames from the current buffer's directory, on
545 systems in which this behavior is the default (windows-nt, ms-dos).
546
547 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
548
549 * net/shr.el (shr-insert): Don't infloop if the width is zero.
550
551 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
552
553 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
554 (bug#16251).
555
556 * electric.el: Move all electric-pair-* to elec-pair.el.
557 * elec-pair.el: New file, split from electric.el.
558
559 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
560
561 * net/shr.el (shr-find-fill-point): Don't try to fill if the
562 indentation level is larger than the width, because that will
563 infloop.
564 (shr-insert): Fill repeatedly long texts, so that Japanese is
565 formatted correctly (bug#16263).
566 (shr-find-fill-point): Off by one error in comparison with the
567 indentation.
568
569 2013-12-26 João Távora <joaotavora@gmail.com>
570
571 * electric.el (electric-pair-mode): More flexible engine for skip-
572 and inhibit predicates, new options for pairing-related functionality.
573 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
574 if that keeps or improves their balance in buffers.
575 (electric-pair-delete-adjacent-pairs): Delete the pair when
576 backspacing over adjacent matched delimiters.
577 (electric-pair-open-extra-newline): Open extra newline when
578 inserting newlines between adjacent matched delimiters.
579 (electric--sort-post-self-insertion-hook):
580 Sort post-self-insert-hook according to priority values when
581 minor-modes are activated.
582 * simple.el (newline-and-indent): Call newline with interactive
583 set to t.
584 (blink-paren-post-self-insert-function): Set priority to 100.
585 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
586 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
587 comments. Locally set electric-pair-skip-whitespace to 'chomp and
588 electric-pair-open-newline-between-pairs to nil.
589
590 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
591
592 * progmodes/python.el: Use lexical-binding.
593 (python-nav-beginning-of-defun): Stop searching ASAP.
594
595 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
596
597 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
598 Fix interactive spec. Doc fix. (Bug#15754)
599
600 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
601
602 * emacs-lisp/byte-run.el (eval-when-compile):
603 * progmodes/cc-defs.el (cc-eval-when-compile):
604 Fix edebug spec (bug#16184).
605
606 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
607
608 * net/shr.el (shr-visit-file): Remove debugging function.
609 (shr-insert): Don't infloop if we can't find a good place to break
610 the line (bug#16256).
611
612 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
613
614 * progmodes/python.el:
615 (python-nav--lisp-forward-sexp): New function.
616 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
617 python-nav-lisp-forward-sexp-safe.
618 (python-nav--forward-sexp): New argument SAFE allows switching
619 forward sexp movement behavior for parens.
620 (python-nav-forward-sexp): Throw errors on unterminated parens
621 (Bug#16191).
622 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
623 (python-nav-backward-sexp-safe): New functions.
624 (python-shell-buffer-substring):
625 Use `python-nav-forward-sexp-safe'.
626
627 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
628
629 * net/shr.el (shr-find-fill-point): Don't break lines before a
630 quotation mark.
631 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
632 (shr-find-fill-point): Remove the special checks for the quotation
633 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
634
635 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
636
637 * net/eww.el (eww-form-textarea): Use a different face for
638 textareas than text input since they have different keymaps
639 (bug#16142).
640
641 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
642
643 * progmodes/python.el (python-nav-beginning-of-statement):
644 Speed up (Bug#15295).
645
646 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
647
648 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
649 the window configuration.
650
651 2013-12-24 Eli Zaretskii <eliz@gnu.org>
652
653 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
654 we run on MS-Windows or MS-DOS.
655
656 2013-12-24 Martin Rudalics <rudalics@gmx.at>
657
658 * window.el (balance-windows-area): Call window-size instead of
659 window-height and window-width. Bug#16241.
660
661 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
662
663 * net/eww.el (eww-bookmark-quit): Remove.
664 (eww-bookmark-browse): Restore the window configuration when you
665 choose a bookmark (bug#16144).
666
667 2013-12-24 Daniel Colascione <dancol@dancol.org>
668
669 * icomplete.el: Remove redundant :group arguments to `defcustom'
670 throughout.
671 (icomplete-show-matches-on-no-input): New customizable variable.
672 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
673 we have something to show.
674 (icomplete-exhibit): Compute completions even if we have no user input.
675
676 2013-12-23 Daniel Colascione <dancol@dancol.org>
677
678 * icomplete.el: Move `provide' to end of file.
679
680 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
681
682 * net/gnutls.el (gnutls-verify-error): Add version tag.
683
684 2013-12-23 Chong Yidong <cyd@gnu.org>
685
686 * subr.el (set-transient-map): Rename from
687 set-temporary-overlay-map. Doc fix.
688
689 * face-remap.el (text-scale-adjust):
690 * indent.el (indent-rigidly):
691 * kmacro.el (kmacro-call-macro):
692 * minibuffer.el (minibuffer-force-complete):
693 * repeat.el (repeat):
694 * simple.el (universal-argument--mode):
695 * calendar/todo-mode.el (todo-insert-item--next-param):
696 * progmodes/f90.el (f90-abbrev-start): Callers changed.
697
698 * indent.el (indent-rigidly): Use substitute-command-keys.
699
700 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
701
702 * net/eww.el (eww-tag-select): Add text-property to jump to next
703 select field.
704 (eww): Add non-supported ftp error.
705
706 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
707
708 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
709 comments. Handle electric indent after typing `?' and `!'.
710
711 2013-12-22 Chong Yidong <cyd@gnu.org>
712
713 * faces.el (face-spec-recalc): If the theme specs are not
714 applicable to a frame, fall back on the defface spec.
715 This prevents themes from obliterating faces on low-color terminals.
716
717 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
718
719 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
720 after `{'. We need it after block openers, and it doesn't seem
721 to hurt after hash openers.
722
723 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
724
725 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
726 extracted from `ruby-smie-rules'.
727 (ruby--electric-indent-chars): New variable.
728 (ruby--electric-indent-p): New function.
729 (ruby-mode): Use `electric-indent-functions' instead of
730 `electric-indent-chars'.
731
732 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
733
734 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
735 docstring.
736 (ruby-smie-rules): Indent plus one level after `=>'.
737
738 2013-12-21 Richard Stallman <rms@gnu.org>
739
740 * simple.el (newline): Doc fix.
741
742 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
743
744 * net/eww.el (eww-list-histories, eww-list-histories)
745 (eww-history-browse, eww-history-quit, eww-history-kill)
746 (eww-history-mode-map, eww-history-mode): New command and
747 functions to list browser histories.
748 (eww-form-text): Support text form with disabled
749 and readonly attributes.
750 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
751
752 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
753
754 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
755 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
756 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
757 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
758 Use `user-error'.
759 (eww-bookmark-mode-map): Add menu.
760 (eww-render, eww-mode): Use `setq-local'.
761 (eww-tool-bar-map): New variable.
762 (eww-mode): Set `tool-bar-map'.
763 (eww-view-source): Check for `html-mode' with `fboundp'.
764
765 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
766
767 * net/shr.el (shr--extract-best-source): Don't bug out on audio
768 elements with text inside. Also remove debugging.
769
770 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
771
772 * cus-start.el (all): Add ns-use-srgb-colorspace.
773
774 2013-12-21 Chong Yidong <cyd@gnu.org>
775
776 * custom.el (custom-theme-recalc-face): Do nothing if the face is
777 undefined. Thus, theme settings for undefined faces do not take
778 effect until the faces are defined with defface, the same as with
779 theme variables.
780
781 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
782 (face-spec-reset-face): Don't assign extra properties in temacs.
783 (face-spec-recalc): Apply X resources too.
784
785 2013-12-21 Chong Yidong <cyd@gnu.org>
786
787 * faces.el (face-spec-set):
788 * cus-face.el (custom-theme-set-faces, custom-set-faces):
789 * custom.el (defface): Doc fixes (Bug#16203).
790
791 * indent.el (indent-rigidly-map): Add docstring, and move commands
792 into named functions.
793 (indent-rigidly-left, indent-rigidly-right)
794 (indent-rigidly-left-to-tab-stop)
795 (indent-rigidly-right-to-tab-stop): New functions. Decide on
796 indentation direction based on bidi direction, and accumulate
797 sequential commands in a single undo boundary.
798 (indent-rigidly--pop-undo): New utility function.
799
800 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
801
802 * faces.el (read-face-name): Require crm.el when using crm-separator.
803
804 2013-12-20 Daniel Colascione <dancol@dancol.org>
805
806 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
807 so that we don't reflow comments into the shebang line.
808
809 2013-12-20 Juri Linkov <juri@jurta.org>
810
811 * saveplace.el (save-place-to-alist): Add `dired-filename' as
812 a position when `dired-directory' is non-nil. Check integer
813 positions with `integerp'.
814 (toggle-save-place, save-places-to-alist): Add check for
815 `dired-directory'.
816 (save-place-find-file-hook): Check integer positions with
817 `integerp'.
818 (save-place-dired-hook): Use `dired-goto-file' when
819 `dired-filename' is found in the assoc list. Check integer
820 positions with `integerp'.
821 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
822
823 * dired.el (dired-initial-position-hook): Rename back from
824 `dired-initial-point-hook'.
825 (dired-initial-position): Rename `dired-initial-point-hook' to
826 `dired-initial-position-hook'.
827 (dired-file-name-at-point): Doc fix. (Bug#15329)
828
829 2013-12-20 Juri Linkov <juri@jurta.org>
830
831 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
832 (read-regexp-suggestions): New function.
833 (read-regexp): Use `read-regexp-defaults-function' to get default values.
834 Use `read-regexp-suggestions'. Add non-empty default to history
835 for empty input.
836 (occur-read-regexp-defaults-function): Remove function.
837 (occur-read-primary-args): Use `regexp-history-last' instead of
838 `occur-read-regexp-defaults-function'.
839
840 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
841 (hi-lock-line-face-buffer, hi-lock-face-buffer)
842 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
843 `hi-lock-read-regexp-defaults-function'. Doc fix.
844 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
845 with `find-tag-default-as-symbol-regexp'. Doc fix.
846 (hi-lock-read-regexp-defaults): Remove function.
847 (hi-lock-regexp-okay): Add check for null.
848
849 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
850 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
851
852 * subr.el (find-tag-default-as-symbol-regexp): New function.
853 (find-tag-default-as-regexp): Move symbol regexp formatting to
854 `find-tag-default-as-symbol-regexp'.
855
856 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
857
858 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
859 (Bug#14179)
860
861 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
862
863 * calendar/todo-mode.el: New implementation of item insertion
864 commands and key bindings.
865 (todo-key-prompt): New face.
866 (todo-insert-item): New command.
867 (todo-insert-item--parameters): New defconst, replacing defvar
868 todo-insertion-commands-args-genlist.
869 (todo-insert-item--param-key-alist): New defconst, replacing
870 defvar todo-insertion-commands-arg-key-list.
871 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
872 (todo-insert-item--argsleft, todo-insert-item--apply-args)
873 (todo-insert-item--next-param): New functions.
874 (todo-insert-item--args, todo-insert-item--argleft)
875 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
876 New variables.
877 (todo-key-bindings-t): Change binding of "i" from
878 todo-insertion-map to todo-insert-item.
879 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
880 (todo-insertion-command-name, todo-insertion-commands-names)
881 (todo-define-insertion-command, todo-insertion-commands)
882 (todo-insertion-key-bindings, todo-insertion-map): Remove.
883
884 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
885
886 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
887 (todo-toggle-item-highlighting): Use eval-and-compile instead of
888 eval-when-compile.
889 (todo-move-category): Allow choosing a non-existing todo file to
890 move the category to, and create that file.
891 (todo-default-priority): New user option.
892 (todo-set-item-priority): Use it.
893 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
894 (desktop-restore-file-buffer): Declare.
895 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
896 (todo-modes-set-2): Locally set desktop-save-buffer to
897 todo-desktop-save-buffer.
898 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
899 (auto-mode-alist): Add autoload cookie.
900
901 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
902
903 * emacs-lisp/subr-x.el: Renamed from helpers.el.
904 helpers.el was a poor choice of name.
905 (string-remove-prefix): New function.
906 (string-remove-suffix): New function.
907
908 2013-12-20 Martin Rudalics <rudalics@gmx.at>
909
910 Fix assignment for new window total sizes.
911 * window.el (window--pixel-to-size): Remove function.
912 (window--pixel-to-total-1, window--pixel-to-total):
913 Fix calculation of new total sizes.
914
915 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
916
917 * comint.el (comint-output-filter): Fix rear-nonsticky property
918 placement (Bug#16010).
919
920 2013-12-20 Chong Yidong <cyd@gnu.org>
921
922 * faces.el (read-color): Minor fix for completion function.
923
924 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
925
926 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
927 New option. (Bug#16182)
928 (ruby-smie--indent-to-stmt-p): Use it.
929 (ruby-smie-rules): Revert the logic in the handling of `when'.
930 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
931 (ruby-deep-arglist, ruby-deep-indent-paren)
932 (ruby-deep-indent-paren-style): Update docstrings to note that the
933 vars don't have any effect with SMIE.
934
935 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
936
937 * calc/calc.el (calc-enter, calc-pop): Use the variable
938 `calc-context-sensitive-enter'.
939
940 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
941
942 * net/shr.el (shr-insert): Protect against infloops in degenerate
943 tables.
944
945 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
946
947 * progmodes/octave.el (octave): Add link to manual and octave
948 homepage.
949 (octave-mode-menu): Link to octave-mode manual.
950
951 2013-12-20 Leo Liu <sdl.web@gmail.com>
952
953 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
954 insertion using skeleton-end-newline. (Bug#16138)
955
956 2013-12-20 Juri Linkov <juri@jurta.org>
957
958 * replace.el (occur-engine): Use `add-face-text-property'
959 to add the face property to matches and titles. (Bug#14645)
960
961 * hi-lock.el (hi-green): Use lighter color "light green" closer to
962 the palette of other hi-lock colors.
963 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
964
965 2013-12-19 Juri Linkov <juri@jurta.org>
966
967 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
968 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
969 (minibuffer-history-symbol): Move variable declaration closer to
970 its usage.
971
972 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
973 (Bug#14785)
974
975 2013-12-19 Juri Linkov <juri@jurta.org>
976
977 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
978 New function.
979 (log-edit-hook): Add it to :options. (Bug#16170)
980
981 2013-12-19 Juri Linkov <juri@jurta.org>
982
983 * simple.el (eval-expression-print-format): Don't check for
984 command names and the last command. Always display additional
985 formats of the integer result in the echo area, and insert them
986 to the current buffer only with a zero prefix arg.
987 Display character when char-displayable-p is non-nil.
988 (eval-expression): With a zero prefix arg, set `print-length' and
989 `print-level' to nil, and insert the integer values from
990 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
991
992 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
993 `eval-last-sexp-arg-internal'. Doc fix.
994 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
995 `eval-last-sexp-print-value'. Doc fix.
996 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
997 Set `print-length' and `print-level' to nil when arg is zero.
998 (eval-last-sexp): Doc fix.
999 (eval-defun-2): Print the integer values from
1000 `eval-expression-print-format' at the end.
1001
1002 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1003 values from `eval-expression-print-format' at the end.
1004
1005 * ielm.el (ielm-eval-input): Print the integer
1006 values from `eval-expression-print-format' at the end.
1007
1008 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1009
1010 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1011 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1012
1013 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1016 (hl-line-highlight, global-hl-line-highlight): Use it.
1017 (hl-line-overlay): Use defvar-local.
1018
1019 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1020
1021 * term/ns-win.el: Require dnd.
1022 (global-map): Remove drag items.
1023 (ns-insert-text, ns-set-foreground-at-mouse)
1024 (ns-set-background-at-mouse):
1025 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1026 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1027 New functions.
1028
1029 2013-12-19 Glenn Morris <rgm@gnu.org>
1030
1031 * emacs-lisp/ert.el (ert-select-tests):
1032 Fix string/symbol mixup. (Bug#16121)
1033
1034 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1035
1036 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1037 keywords to their parent.
1038
1039 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1040
1041 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1042 first arg to be a string (fixed dead code), or an operator symbol.
1043 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1044 operator symbols.
1045 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1046 did nothing. Don't respond to `(:after ".")', it will be called
1047 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1048 change anything. Only return indentation for binary operators
1049 when they are hanging. De-dent opening paren when its parent is
1050 `.', otherwise it looks bad when the dot is not at bol or eol
1051 (bug#16182).
1052
1053 2013-12-19 Juri Linkov <juri@jurta.org>
1054
1055 * replace.el (query-replace-read-args): Split a non-negative arg
1056 and a negative arg into separate elements.
1057 (query-replace, query-replace-regexp, replace-string)
1058 (replace-regexp): Add arg `backward'. Doc fix.
1059 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1060 move point to the beginning of the match.
1061 (replace-search, replace-highlight): Use new arg `backward'
1062 to set the value of `isearch-forward'.
1063 (perform-replace): Add arg `backward' and use it to perform
1064 replacement backward. (Bug#14979)
1065
1066 * isearch.el (isearch-query-replace): Use a negative prefix arg
1067 to call `perform-replace' with a non-nil arg `backward'.
1068
1069 2013-12-18 Juri Linkov <juri@jurta.org>
1070
1071 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1072 to the default list. Move `log-edit-show-files' to the end.
1073 Add more available functions to options.
1074 (log-edit): Move default specific settings to
1075 `log-edit-insert-message-template'. Don't move point.
1076 (log-edit-insert-message-template): New function.
1077 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1078 (Bug#16170)
1079
1080 2013-12-18 Juri Linkov <juri@jurta.org>
1081
1082 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1083 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1084
1085 2013-12-18 Leo Liu <sdl.web@gmail.com>
1086
1087 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1088 (Bug#16186)
1089
1090 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1091
1092 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1093 formats for displaying file sizes when the -s switch is given.
1094 Instead, compute a separate format for displaying the size in
1095 blocks, which is displayed in addition to the "regular" size.
1096 When -h is given in addition to -s, produce size in blocks in
1097 human-readable form as well. (Bug#16179)
1098
1099 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1100
1101 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1102 Reference tables with ~\ref{...} instead of only \ref{...}.
1103
1104 2013-12-18 Chong Yidong <cyd@gnu.org>
1105
1106 * cus-edit.el (custom-magic-alist): Fix "themed" description
1107 (Bug#14348).
1108
1109 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1110 is non-nil, do not create a new entry in the symbol's theme-value
1111 or theme-face property; update theme-settings only (Bug#14664).
1112 (custom-available-themes): Doc fix.
1113
1114 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1115 (Bug#15674).
1116
1117 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1118
1119 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1120
1121 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1122 (Bug#13914).
1123
1124 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1125
1126 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1127
1128 2013-12-18 Glenn Morris <rgm@gnu.org>
1129
1130 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1131 * cus-start.el (load-prefer-newer): New option.
1132
1133 2013-12-18 Le Wang <l26wang@gmail.com>
1134
1135 * comint.el (comint-previous-matching-input-from-input):
1136 Retain point (Bug#13404).
1137
1138 2013-12-18 Chong Yidong <cyd@gnu.org>
1139
1140 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1141
1142 2013-12-18 Glenn Morris <rgm@gnu.org>
1143
1144 * mail/emacsbug.el (report-emacs-bug):
1145 Only mention enable-multibyte-characters if non-standard.
1146
1147 2013-12-17 Juri Linkov <juri@jurta.org>
1148
1149 * arc-mode.el (archive-extract-by-file): Check if directory exists
1150 before deletion to not show irrelevant errors if it doesn't exist.
1151
1152 2013-12-17 Juri Linkov <juri@jurta.org>
1153
1154 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1155 (Bug#14751)
1156
1157 * net/eww.el (browse-web): Add alias to `eww'.
1158 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1159 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1160
1161 * net/browse-url.el (browse-url-browser-function): Move `eww'
1162 closer to similar functions.
1163
1164 * startup.el (fancy-startup-screen, fancy-about-screen):
1165 Set browse-url-browser-function to eww-browse-url locally.
1166 (Bug#14751)
1167
1168 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * window.el (window--pixel-to-total): Remove unused `mini' var.
1171 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1172 (split-window): Remove unused `new' var.
1173 (window--display-buffer): Remove unused `frame' and `delta' vars.
1174 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1175 and display-width'.
1176
1177 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1178
1179 * dired.el (dired-mark-pop-up):
1180 * register.el (register-preview): Don't bind
1181 split-height-threshold here since it's now done in
1182 display-buffer-below-selected.
1183
1184 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1185
1186 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1187 xterm-rgb-convert-to-16bit.
1188 (rxvt-register-default-colors): Standardize with
1189 xterm-register-default-colors (Bug#14078).
1190
1191 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1192
1193 * simple.el (kill-region): Pass mark first, then point, so that
1194 kill-append works right (Bug#12819).
1195 (copy-region-as-kill, kill-ring-save): Likewise.
1196
1197 2013-12-17 Leo Liu <sdl.web@gmail.com>
1198
1199 * net/rcirc.el (rcirc-add-face):
1200 * eshell/em-prompt.el (eshell-emit-prompt):
1201 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1202 (Bug#16167)
1203
1204 2013-12-17 Chong Yidong <cyd@gnu.org>
1205
1206 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1207 Suggested by Xue Fuqiao.
1208
1209 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1210
1211 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1212
1213 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1214
1215 * net/shr.el (shr-insert-document): Remove unused var
1216 `shr-preliminary-table-render'.
1217 (shr-rescale-image): Remove unused arg `force'.
1218 (shr-put-image): Update calls accordingly.
1219 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1220
1221 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1222
1223 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1224 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1225 :close-all, to see which indentation method to use (Bug#16116).
1226 (smie-rules-function): Document the method :close-all.
1227
1228 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1229
1230 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1231
1232 * net/eww.el (eww-display-html): If we can't find the anchor we're
1233 looking for, then go to point-min.
1234
1235 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1236
1237 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1238 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1239 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1240 Expand dir too, in case it's relative.
1241
1242 2013-12-16 Juri Linkov <juri@jurta.org>
1243
1244 * desktop.el (desktop-auto-save-timeout): Change default to
1245 `auto-save-timeout'. Doc fix.
1246 (desktop-save): Skip the timestamp in desktop-saved-frameset
1247 when checking for auto-save changes.
1248 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1249 `desktop-auto-save' is called repeatedly by the idle timer.
1250 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1251 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1252 (Bug#15331)
1253
1254 2013-12-16 Juri Linkov <juri@jurta.org>
1255
1256 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1257 (Bug#16035)
1258 (isearch-pre-command-hook): Check `this-command' for symbolp.
1259
1260 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1263
1264 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1265
1266 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1267 (cfengine3--current-function): Bring in the current-function
1268 functionality from `cfengine3--current-word'.
1269 (cfengine3-completion-function): Bring in the
1270 bounds-of-current-word functionality from
1271 `cfengine3--current-word'.
1272
1273 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1274
1275 * window.el (display-buffer-below-selected):
1276 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1277
1278 2013-12-16 Leo Liu <sdl.web@gmail.com>
1279
1280 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1281 Remove NOMSG arg and all uses changed.
1282
1283 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1286 (cua--deactivate-rectangle): Don't deactivate the mark.
1287 (cua-set-rectangle-mark): Don't set mark-active since
1288 cua--activate-rectangle already does it for us.
1289 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1290 non-rectangular region.
1291
1292 * emulation/cua-base.el (cua-repeat-replace-region):
1293 Use with-current-buffer.
1294
1295 * net/gnutls.el: Use cl-lib.
1296 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1297
1298 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1299
1300 * emacs-lisp/package.el (package-built-in-p): Support both
1301 built-in and the package.el converted package descriptions.
1302 (package-show-package-list): Allow keywords.
1303 (package-keyword-button-action): Use it instead of
1304 `finder-list-matches'.
1305 (package-menu-filter-interactive): Interactive filtering (by
1306 keyword) function.
1307 (package-menu--generate): Support keywords and change keymappings
1308 and headers when they are given.
1309 (package--has-keyword-p): Helper function.
1310 (package-menu--refresh): Use it.
1311 (package--mapc): Helper function.
1312 (package-all-keywords): Use it.
1313 (package-menu-mode-map): Set up menu items and keybindings to
1314 provide a filtering UI.
1315
1316 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1317
1318 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1319 the behavior when a certificate fails validation. Defaults to
1320 old behavior: never abort, just warn.
1321 (gnutls-negotiate): Use it.
1322
1323 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1324
1325 * window.el (display-buffer-below-selected): Never split window
1326 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1327
1328 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1329
1330 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1331 (package-buffer-info): Use it (bug#15108).
1332
1333 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * icomplete.el (icomplete-completions): Make sure the prefix is already
1336 displayed elsewhere before hiding it (bug#16219).
1337
1338 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1339
1340 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1341 open-paren tokens when preceded by a open-paren, too.
1342 (ruby-smie-rules): Handle virtual indentation after open-paren
1343 tokens specially. If there is code between it and eol, return the
1344 column where is starts (Bug#16118).
1345
1346 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1347
1348 * progmodes/cfengine.el: Fix `add-hook' doc.
1349 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1350 (cfengine3--current-word): Fix parameters.
1351 (cfengine3-make-syntax-cache): Simplify further.
1352 (cfengine3-completion-function, cfengine3--current-function):
1353 Use `assq' for symbols.
1354 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1355
1356 2013-12-13 Glenn Morris <rgm@gnu.org>
1357
1358 * loadup.el (load-path): Warn if site-load or site-init changes it.
1359 No more need to reset it when bootstrapping.
1360
1361 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1362
1363 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1364 locations for cf-promises.
1365 (cfengine-mode-syntax-functions-regex): New caching variable.
1366 (cfengine3-fallback-syntax): Fallback syntax for cases where
1367 cf-promises doesn't run.
1368 (cfengine3--current-word): Reimplement using
1369 `cfengine-mode-syntax-functions-regex'.
1370 (cfengine3-completion-function, cfengine3--current-function):
1371 Use `cfengine3-make-syntax-cache' directly.
1372 (cfengine3-clear-syntax-cache): New function.
1373 (cfengine3-make-syntax-cache): Simplify and create
1374 `cfengine-mode-syntax-functions-regex' on demand.
1375 (cfengine3-format-function-docstring): Don't call
1376 `cfengine3-make-syntax-cache' explicitly.
1377
1378 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1379
1380 Fix windmove-find-other-window broken after pixelwise resizing
1381 (Bug#16017).
1382 * windmove.el (windmove-other-window-loc): Revert change from
1383 2013-12-04.
1384 (windmove-find-other-window): Call window-in-direction.
1385 * window.el (window-in-direction): New arguments SIGN, WRAP and
1386 MINI to emulate original windmove-find-other-window behavior.
1387
1388 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1389
1390 * simple.el (blink-matching--overlay): New variable.
1391 (blink-matching-open): Instead of moving point, highlight the
1392 matching paren with an overlay
1393 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1394
1395 * faces.el (paren-showing-faces, show-paren-match)
1396 (show-paren-mismatch): Move from paren.el.
1397
1398 2013-12-13 Leo Liu <sdl.web@gmail.com>
1399
1400 * indent.el (indent-region): Disable progress reporter in
1401 minibuffer. (Bug#16108)
1402
1403 * bindings.el (visual-order-cursor-movement): Fix version.
1404
1405 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1406
1407 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1408 Also match after beginning of line.
1409 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1410 files. Thanks to Russell Sim. (Bug#15378)
1411
1412 2013-12-13 Juri Linkov <juri@jurta.org>
1413
1414 * simple.el <Keypad support>: Remove key bindings duplicated
1415 with bindings.el. (Bug#14397)
1416
1417 2013-12-13 Juri Linkov <juri@jurta.org>
1418
1419 * comint.el (comint-mode-map): Replace `delete-char' with
1420 `delete-forward-char'. (Bug#16109)
1421
1422 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1423
1424 * progmodes/python.el (python-indent-calculate-indentation):
1425 Fix de-denters cornercase. (Bug#15731)
1426
1427 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1430 (advice--make): Pay attention to `depth'.
1431 (advice--make-1): Don't autoload commands eagerly.
1432 * emacs-lisp/elp.el (elp-instrument-function):
1433 * emacs-lisp/trace.el (trace-function-internal):
1434 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1435
1436 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1437
1438 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1439
1440 * term/w32-win.el (w32-handle-dropped-file):
1441 * startup.el (normal-top-level):
1442 * net/browse-url.el (browse-url-file-url):
1443 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1444 decode file names using 'utf-8' rather than
1445 file-name-coding-system.
1446
1447 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1448
1449 * progmodes/python.el (python-indent-context)
1450 (python-indent-calculate-indentation): Fix auto-identation
1451 behavior for comment blocks. (Bug#15916)
1452
1453 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1454
1455 * progmodes/python.el (python-indent-calculate-indentation):
1456 When determining indentation, don't treat "return", "pass", etc., as
1457 operators when they are just string constituents. (Bug#15812)
1458
1459 2013-12-12 Juri Linkov <juri@jurta.org>
1460
1461 * uniquify.el (uniquify-buffer-name-style): Change default to
1462 `post-forward-angle-brackets'.
1463
1464 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1465 `uniquify'. Change default to `post-forward-angle-brackets'.
1466
1467 2013-12-11 Glenn Morris <rgm@gnu.org>
1468
1469 * emacs-lisp/package.el (finder-list-matches):
1470 Autoload rather than falsely declaring.
1471
1472 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1473
1474 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1475 (eww-mode-map): Use them.
1476
1477 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1478
1479 * window.el (display-buffer-in-side-window): Fix doc-string
1480 (Bug#16115).
1481
1482 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1483
1484 * vc/vc-git.el: Silence byte-compiler warnings.
1485 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1486 (log-edit-set-header): Declare.
1487
1488 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1489
1490 * Makefile.in (custom-deps, finder-data): Run output file names
1491 through unmsys--file-name. (Bug#16099)
1492
1493 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1495 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1496 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1497
1498 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1499 instead of deleting the selection "by hand" (bug#16098).
1500 Rely on insert-for-yank to yank rectangles.
1501 (cua-highlight-region-shift-only): Mark obsolete.
1502 (cua-mode): Don't enable/disable transient-mark-mode,
1503 shift-select-mode (cua-mode works both with and without them), and
1504 pc-selection-mode (obsolete).
1505 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1506 (cua--deactivate-rectangle): Deactivate it.
1507
1508 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1509 (delete-selection-helper): Make sure yank starts at the top of the
1510 deleted region.
1511 (minibuffer-keyboard-quit): Use region-active-p.
1512
1513 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1514
1515 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1516 to `delete' (bug#16109).
1517
1518 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1519
1520 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1521 info manual and show keybindings and set `:group' keyword.
1522
1523 2013-12-11 Juri Linkov <juri@jurta.org>
1524
1525 * delsel.el (delete-active-region): Let-bind `this-command'
1526 to prevent `kill-region' from changing its original value.
1527 (delete-selection-helper): Handle `overwrite-mode' for the type
1528 `kill' exactly the same way as for the type `t'.
1529 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1530 Support more commands. (Bug#13312)
1531
1532 2013-12-11 Juri Linkov <juri@jurta.org>
1533
1534 * bindings.el: Map kp keys to non-kp keys systematically
1535 with basic modifiers control, meta and shift. (Bug#14397)
1536
1537 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1538
1539 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1540 "Close browser" menu items. Fix wrong function of "List
1541 bookmarks".
1542
1543 2013-12-11 Juri Linkov <juri@jurta.org>
1544
1545 * misearch.el (multi-isearch-buffers): Set the value of
1546 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1547 arg of isearch-forward to t.
1548 (multi-isearch-buffers-regexp): Set the value of
1549 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1550 arg of isearch-forward-regexp to t.
1551 (multi-isearch-files): Set the value of
1552 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1553 arg of isearch-forward to t.
1554 (multi-isearch-files-regexp): Set the value of
1555 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1556 arg of isearch-forward-regexp to t. (Bug#16035)
1557
1558 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1559 arg of isearch-forward to t.
1560 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1561 arg of isearch-forward-regexp to t.
1562 (dired-isearch-filter-filenames): Remove unnecessary check for
1563 `dired-isearch-filenames'.
1564
1565 * comint.el (comint-history-isearch-backward):
1566 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1567 (comint-history-isearch-backward-regexp):
1568 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1569
1570 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1571
1572 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1573 unmsys--file-name. (Bug#16099)
1574
1575 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1576
1577 * emacs-lisp/package.el (package-keyword-button-action):
1578 Remove finder.el require dependency.
1579
1580 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1581
1582 * emacs-lisp/package.el: Require finder.el.
1583 (describe-package-1): Add keyword buttons.
1584 (package-make-button): New convenience function.
1585 (package-keyword-button-action): Keyword button action using
1586 `finder-list-matches'.
1587
1588 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1589
1590 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1591 last commit.
1592
1593 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1594
1595 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1596 symlinked files.
1597
1598 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1599
1600 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1601 after the end of a percent literal.
1602
1603 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1604
1605 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1606 Handle caret-delimited strings (Bug#16079).
1607
1608 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1609
1610 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1611 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1612 `ruby-parse-partial' (Bug#16078).
1613
1614 2013-12-09 Leo Liu <sdl.web@gmail.com>
1615
1616 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1617
1618 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1619
1620 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1621 (js-switch-indent-offset): New option.
1622 (js--proper-indentation): Use it. And handle the case when
1623 "default" is actually a key in an object literal.
1624 (js--same-line): New function.
1625 (js--multi-line-declaration-indentation): Use it.
1626 (js--indent-in-array-comp, js--array-comp-indentation):
1627 New functions.
1628 (js--proper-indentation): Use them, to handle array comprehension
1629 continuations.
1630
1631 2013-12-08 Leo Liu <sdl.web@gmail.com>
1632
1633 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1634 (flymake-make-overlay): Remove arg MOUSE-FACE.
1635 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1636
1637 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1638
1639 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1640 New function.
1641 (redisplay-highlight-region-function): Use it.
1642
1643 * emulation/cua-base.el (cua--explicit-region-start)
1644 (cua--last-region-shifted): Remove.
1645 (cua--deactivate): Use deactivate-mark.
1646 (cua--pre-command-handler-1): Don't handle shift-selection.
1647 (cua--post-command-handler-1): Don't change transient-mark-mode.
1648 (cua--select-keymaps): Use region-active-p rather than
1649 cua--explicit-region-start or cua--last-region-shifted.
1650 (cua-mode): Enable shift-select-mode.
1651
1652 2013-12-08 Leo Liu <sdl.web@gmail.com>
1653
1654 * progmodes/flymake.el (flymake-popup-current-error-menu):
1655 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1656 (flymake-posn-at-point-as-event, flymake-popup-menu)
1657 (flymake-make-emacs-menu): Remove. (Bug#16077)
1658
1659 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1660
1661 * rect.el (rectangle-mark-mode): Activate mark even if
1662 transient-mark-mode is off (bug#16066).
1663 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1664 is > mark and at bolp.
1665
1666 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1667 (region-extract-function): Use it.
1668 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1669 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1670 Delete functions.
1671 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1672 kill-ring-save, kill-region, delete-char, delete-forward-char.
1673 Ignore self-insert-iso.
1674
1675 * emulation/cua-gmrk.el (cua--init-global-mark):
1676 Ignore `self-insert-iso'.
1677
1678 * emulation/cua-base.el (cua--prefix-copy-handler)
1679 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1680 checking cua--rectangle.
1681 (cua-delete-region): Use region-extract-function.
1682 (cua-replace-region): Delete function.
1683 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1684 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1685 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1686 (cua--init-keymaps): Don't remap delete-selection commands.
1687 (cua-mode): Use delete-selection-mode instead of rolling our own
1688 (bug#16085).
1689
1690 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1691 Obey region-extract-function.
1692
1693 Make registers and delete-selection-mode work on rectangles.
1694 * register.el (describe-register-1): Don't modify the register's value.
1695 (copy-to-register): Obey region-extract-function.
1696 * delsel.el (delete-active-region): Obey region-extract-function.
1697
1698 2013-12-08 Leo Liu <sdl.web@gmail.com>
1699
1700 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1701 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1702 (flymake-compilation-prevents-syntax-check)
1703 (flymake-start-syntax-check-on-newline)
1704 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1705 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1706 (flymake-xml-program, flymake-master-file-dirs)
1707 (flymake-master-file-count-limit)
1708 (flymake-allowed-file-name-masks): Relocate.
1709 (flymake-makehash, flymake-float-time)
1710 (flymake-replace-regexp-in-string, flymake-split-string)
1711 (flymake-get-temp-dir): Remove.
1712 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1713 (flymake-current-row, flymake-selected-frame)
1714 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1715 related functions. (Bug#16077)
1716
1717 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1718
1719 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1720
1721 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1722
1723 * help-fns.el (describe-function-1): Use new advice-* functions
1724 rather than old ad-* functions. Fix function type description and
1725 source links for advised functions and subrs.
1726
1727 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1728
1729 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1730
1731 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1732
1733 * progmodes/compile.el (compilation-start):
1734 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1735
1736 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1737 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1738
1739 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1740
1741 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1742 Touch up the last change.
1743
1744 2013-12-06 Leo Liu <sdl.web@gmail.com>
1745
1746 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1747 (inferior-octave-startup): Always use "octave> " for prompt.
1748 (octave-goto-function-definition)
1749 (octave-sync-function-file-names)
1750 (octave-find-definition-default-filename): Remove redundant backquotes.
1751
1752 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1753
1754 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1755 syntax for `?'.
1756 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1757 where appropriate already.
1758 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1759 end of method names (Bug#15874).
1760
1761 2013-12-06 Juri Linkov <juri@jurta.org>
1762
1763 * isearch.el (isearch--saved-overriding-local-map):
1764 New internal variable.
1765 (isearch-mode): Set it to the initial value of
1766 `overriding-terminal-local-map'.
1767 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1768 with `isearch--saved-overriding-local-map'. (Bug#16035)
1769
1770 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1771
1772 * progmodes/octave.el (inferior-octave-completion-table):
1773 Turn back into function, use `completion-table-with-cache'
1774 (Bug#11906). Update all references.
1775
1776 * minibuffer.el (completion-table-with-cache): New function.
1777
1778 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1779
1780 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1781
1782 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1783
1784 * net/eww.el (eww-current-source): New variable to store page
1785 source.
1786 (eww-display-html, eww-mode, eww-save-history)
1787 (eww-restore-history): Use it.
1788 (eww-view-source): New command to view page source.
1789 Opportunistically uses `html-mode' to highlight the buffer.
1790 (eww-mode-map): Install it.
1791
1792 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1793
1794 * net/dbus.el (dbus-unregister-service)
1795 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1796 Fix docstring.
1797 (dbus-unregister-service): Skip :serial entries in
1798 `dbus-registered-objects-table'.
1799 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1800
1801 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1802
1803 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1804 around keywords with extra `split-string' argument.
1805
1806 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1807
1808 * windmove.el (windmove-other-window-loc): Handle navigation
1809 between windows (excluding the minibuffer window - Bug#16017).
1810
1811 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1812
1813 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1814 in D-Bus type syntax.
1815 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1816 preserve unibyte strings. (Bug#16048)
1817
1818 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1821 Call force-mode-line-update is the proper buffer (bug#16042).
1822
1823 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1824
1825 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1826 `log-edit-remember-comment', make argument optional. Adjust all
1827 callers.
1828 (log-edit-mode): Add `log-edit-remember-comment' to
1829 `kill-buffer-hook' locally.
1830 (log-edit-kill-buffer): Don't remember comment explicitly since
1831 the buffer is killed anyway.
1832
1833 2013-12-04 Juri Linkov <juri@jurta.org>
1834
1835 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1836 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1837
1838 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1839
1840 * notifications.el (notifications-close-notification): Call the
1841 D-Bus method with ID being a `:uint32'. (Bug#16030)
1842
1843 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1844
1845 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1846
1847 2013-12-03 Juri Linkov <juri@jurta.org>
1848
1849 * progmodes/compile.el (compilation-start): Rename window alist
1850 entry `no-display-ok' to `allow-no-window'.
1851
1852 * simple.el (shell-command): Add window alist entry
1853 `allow-no-window' to `display-buffer'.
1854 (async-shell-command): Doc fix.
1855
1856 * window.el (display-buffer-no-window): New action function.
1857 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1858
1859 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1860
1861 * vc/log-edit.el (log-edit-set-header): Extract from
1862 `log-edit-toggle-header'.
1863 (log-edit-extract-headers): Separate the summary, when extracted
1864 from header, from the rest of the message with an empty line.
1865
1866 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1867 line, if present, to the Summary header.
1868
1869 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1870
1871 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1872 in current-buffer (bug#16029).
1873
1874 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1875
1876 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1877 (debugger-mode-map): Bind it.
1878 (debugger--backtrace-base): New function.
1879 (debugger-eval-expression): Use it.
1880 (debugger-frame-number): Skip local vars when present.
1881 (debugger--locals-visible-p, debugger--insert-locals)
1882 (debugger--show-locals, debugger--hide-locals): New functions.
1883
1884 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1885
1886 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1887 "LC_ALL".
1888 (tramp-get-remote-locale): New defun.
1889 (tramp-open-connection-setup-interactive-shell): Use it.
1890
1891 2013-12-02 Leo Liu <sdl.web@gmail.com>
1892
1893 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1894
1895 * progmodes/sh-script.el (sh-shell-process):
1896 * progmodes/octave.el (inferior-octave-process-live-p):
1897 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1898 (gdb-inferior-io-sentinel):
1899 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1900
1901 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1902
1903 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1904 `save-selected-window' to `log-edit-hide-buf'. This makes
1905 `log-edit-show-files' idempotent.
1906 (log-edit-show-files): Mark the new window as dedicated.
1907
1908 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1909
1910 * vc/log-edit.el (log-edit-mode-map): Add binding for
1911 `log-edit-kill-biffer'.
1912 (log-edit-hide-buf): Add a FIXME comment.
1913 (log-edit-add-new-comment): New function, extracted from
1914 `log-edit-done'.
1915 (log-edit-done, log-edit-add-to-changelog): Use it.
1916 (log-edit-kill-buffer): New command.
1917
1918 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1919
1920 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1921 instead of killing the buffer.
1922
1923 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1926
1927 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1928
1929 * net/eww.el (eww-form-checkbox-selected-symbol)
1930 (eww-form-checkbox-symbol): New customizable variable.
1931 (eww-form-checkbox, eww-toggle-checkbox):
1932 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1933
1934 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1935 (shr--get-media-pref, shr--extract-best-source): New function.
1936 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1937 no :src tag was specified.
1938
1939 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1940 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1941 Use \\` to match beginning of string instead of ^.
1942 (eww-browse-with-external-browser): Provide optional URL parameter.
1943 (eww-render): Set `eww-current-title' back to "".
1944
1945 * net/shr.el (shr-tag-video): Display content for video if no
1946 poster is available.
1947 (shr-tag-audio): Add support for <audio> tag.
1948
1949 * net/eww.el (eww-text-input-types): New const.
1950 (eww-process-text-input): Treat input types in
1951 `eww-text-input-types' as text.
1952
1953 * net/shr.el (shr-tag-table): Fix comment typo.
1954
1955 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1956
1957 * net/eww.el (eww-follow-link): New command to avoid reloading
1958 pages when we follow #target links (bug#15243).
1959 (eww-quit): Special mode buffers shouldn't query before exiting.
1960
1961 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1962
1963 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1964 forms.
1965
1966 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1967
1968 * net/eww.el (eww-restore-history): Update the window title after
1969 moving in the history.
1970 (eww-current-dom): New variable used to save the current DOM.
1971
1972 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1973
1974 * vc/log-edit.el (log-edit-mode-map): Add binding for
1975 `log-edit-beginning-of-line'.
1976 (log-edit-setup-add-author): New user option.
1977 (log-edit-beginning-of-line): New command.
1978 (log-edit): Move major mode call above the contents setup so that
1979 the local variable values are already applied.
1980 (log-edit): Only insert "Author: " when
1981 `log-edit-setup-add-author' is non-nil.
1982 (log-edit): When SETUP is non-nil, position point after ": "
1983 instead of point-min.
1984
1985 2013-12-01 Glenn Morris <rgm@gnu.org>
1986
1987 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1988
1989 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1990
1991 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1992 redisplay to make sure the initial frame gets a chance to become
1993 visible. (Bug#16014)
1994
1995 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1996
1997 Support resizing frames and windows pixelwise.
1998 * cus-start.el (frame-resize-pixelwise)
1999 (window-resize-pixelwise): New entries.
2000 * emacs-lisp/debug.el (debug): Use window-total-height instead
2001 of window-total-size.
2002 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2003 * help.el (describe-bindings-internal): Call help-buffer
2004 (temp-buffer-max-width): New option.
2005 (resize-temp-buffer-window, help-window-setup)
2006 (with-help-window): Rewrite.
2007 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2008 dragging dividers.
2009 * window.el (frame-char-size, window-min-pixel-height)
2010 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2011 (window-min-pixel-width, window-safe-min-pixel-size)
2012 (window-combination-p, window-safe-min-size)
2013 (window-resizable-p, window--size-to-pixel)
2014 (window--pixel-to-size, window--resize-apply-p): New functions.
2015 (window-safe-min-height): Fix doc-string.
2016 (window-size, window-min-size, window--min-size-1)
2017 (window-sizable, window-sizable-p, window--min-delta-1)
2018 (window-min-delta, window--max-delta-1, window-max-delta)
2019 (window--resizable, window--resizable-p, window-resizable)
2020 (window-full-height-p, window-full-width-p, window-at-side-p)
2021 (window--in-direction-2, window-in-direction)
2022 (window--resize-reset-1, window--resize-mini-window)
2023 (window-resize, window-resize-no-error)
2024 (window--resize-child-windows-normal)
2025 (window--resize-child-windows, window--resize-siblings)
2026 (window--resize-this-window, window--resize-root-window)
2027 (window--resize-root-window-vertically)
2028 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2029 (maximize-window, minimize-window, delete-window)
2030 (quit-restore-window, window-split-min-size, split-window)
2031 (balance-windows-2, balance-windows)
2032 (balance-windows-area-adjust, balance-windows-area)
2033 (window--state-get-1, window-state-get, window--state-put-1)
2034 (window--state-put-2, window-state-put)
2035 (display-buffer-record-window, window--display-buffer):
2036 Make functions handle pixelwise sizing of windows.
2037 (display-buffer--action-function-custom-type)
2038 (display-buffer-fallback-action):
2039 Add display-buffer-in-previous-window.
2040 (display-buffer-use-some-window): Resize window to height it had
2041 before.
2042 (fit-window-to-buffer-horizontally): New option.
2043 (fit-frame-to-buffer): Describe new values.
2044 (fit-frame-to-buffer-bottom-margin): Replace with
2045 fit-frame-to-buffer-margins.
2046 (window--sanitize-margin): New function.
2047 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2048 using window-text-pixel-size.
2049
2050 2013-11-30 Glenn Morris <rgm@gnu.org>
2051
2052 * emacs-lisp/bytecomp.el (byte-compile-form):
2053 Make the `interactive-only' warning like the `obsolete' one.
2054 * comint.el (comint-run):
2055 * files.el (insert-file-literally, insert-file):
2056 * replace.el (replace-string, replace-regexp):
2057 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2058 (goto-line, insert-buffer, next-line, previous-line):
2059 Tweak `interactive-only' spec.
2060
2061 Stop keeping (most) generated cedet grammar files in the repository.
2062 * Makefile.in (semantic): New.
2063 (compile-main): Depend on semantic.
2064
2065 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2068 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2069
2070 * uniquify.el (uniquify-buffer-name-style): Change default.
2071
2072 * loadup.el: Preload "uniquify".
2073
2074 * time.el (display-time-update): Update all mode lines (bug#15999).
2075
2076 * electric.el (electric-indent-mode): Enable by default.
2077 * loadup.el: Preload "electric".
2078
2079 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2080
2081 * emacs-lisp/helpers.el (string-empty-p): New function.
2082 (string-blank-p): New function.
2083
2084 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2085
2086 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2087 (Bug#14029).
2088
2089 2013-11-29 Andreas Politz <politza@fh-trier.de>
2090 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2091 allow non-lambda lists as functions.
2092 (imenu--in-alist): Don't recurse into non-subalists.
2093 (imenu): Don't pass function itself as an argument (Bug#14029).
2094
2095 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 * progmodes/python.el (python-mode-map): Remove binding for ":".
2098 (python-indent-electric-colon): Remove command.
2099 (python-indent-post-self-insert-function): Integrate the previous code
2100 of python-indent-electric-colon. Make it conditional on
2101 electric-indent-mode.
2102 (python-mode): Add ?: to electric-indent-chars.
2103 Move python-indent-post-self-insert-function to the end of
2104 post-self-insert-hook.
2105
2106 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * doc-view.el (doc-view-goto-page): Update mode-line.
2109
2110 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2111
2112 2013-11-27 Glenn Morris <rgm@gnu.org>
2113
2114 * international/charprop.el, international/uni-bidi.el:
2115 * international/uni-category.el, international/uni-combining.el:
2116 * international/uni-comment.el, international/uni-decimal.el:
2117 * international/uni-decomposition.el, international/uni-digit.el:
2118 * international/uni-lowercase.el, international/uni-mirrored.el:
2119 * international/uni-name.el, international/uni-numeric.el:
2120 * international/uni-old-name.el, international/uni-titlecase.el:
2121 * international/uni-uppercase.el:
2122 Remove generated files from VCS repository.
2123
2124 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2125
2126 * filenotify.el (file-notify-add-watch): Don't special-case
2127 w32notify when computing the directory to watch.
2128
2129 2013-11-27 Glenn Morris <rgm@gnu.org>
2130
2131 Make bootstrap without generated uni-*.el files possible again.
2132 * loadup.el: Update command-line-args checking for unidata-gen.
2133 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2134 * composite.el, international/characters.el:
2135 Handle unicode tables being undefined.
2136
2137 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2138 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2139 (compile-main): Depend on leim rule.
2140 (leim): New rule.
2141 * loadup.el: Move leim-list.el to leim/ subdirectory.
2142 * startup.el (normal-top-level): No more leim directory.
2143 * international/ja-dic-cnv.el (skkdic-convert):
2144 Disable version-control and autoloads in output files.
2145 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2146 Disable version-control and autoloads in output files.
2147 * leim/quail: Move here from ../leim.
2148 * leim/quail/hangul.el (hangul-input-method-activate):
2149 Add autoload cookie.
2150 (generated-autoload-load-name): Set file-local value.
2151 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2152 (generated-autoload-load-name): Set file-local value.
2153
2154 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2155
2156 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2157 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2158 (eww-quit): Ask confirmation before quitting eww.
2159
2160 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2161
2162 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2163 reading output from Diff on MS-Windows and MS-DOS.
2164
2165 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2166
2167 * emacs-lisp/helpers.el (string-reverse): New function.
2168
2169 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2170
2171 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2172 names on MS Windows, like "/[::1]:".
2173
2174 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2175 SWITCHES.
2176
2177 2013-11-26 Glenn Morris <rgm@gnu.org>
2178
2179 * progmodes/python.el (python-indent-guess-indent-offset):
2180 Avoid corner-case error. (Bug#15975)
2181
2182 Preload leim-list.el. (Bug#4789)
2183 * loadup.el: Load leim-list.el when found.
2184 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2185
2186 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2187
2188 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2189
2190 * emacs-lisp/helpers.el (string-join): New function.
2191
2192 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2193
2194 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2195 Mark as obsolete and replace it with a symbol property.
2196 (byte-compile-form): Use new 'interactive-only property.
2197 * comint.el, files.el, replace.el, simple.el:
2198 Apply new 'interactive-only properly.
2199
2200 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2201
2202 * window.el (display-buffer-at-bottom): Make sure that
2203 split-window-sensibly creates the new window on bottom
2204 (Bug#15961).
2205
2206 2013-11-23 David Kastrup <dak@gnu.org>
2207
2208 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2209 on the conflict markers when available.
2210 (smerge--get-marker): New function.
2211 (smerge-end-re, smerge-base-re): Add subgroup.
2212
2213 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * frame.el (handle-focus-in, handle-focus-out): Add missing
2216 interactive spec.
2217
2218 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2219
2220 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2221 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2222
2223 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2226 (gomoku--last-pos): New var.
2227 (gomoku--intangible-chars): New const.
2228 (gomoku--intangible): New function.
2229 (gomoku-mode): Use it. Derive from special-mode.
2230 (gomoku-move-up): Adjust line count.
2231 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2232 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2233 Simplify accordingly.
2234
2235 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2236 Remove blink-cursor code.
2237 (blink-cursor-timer-function, blink-cursor-suspend):
2238 Don't special-case GUIs.
2239 (blink-cursor-mode): Use focus-in/out-hook.
2240
2241 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2242
2243 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2244 work when annotation is invisible (Bug#13886).
2245
2246 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2247
2248 * json.el (json-alist-p): Only return non-nil if the alist has
2249 simple keys (Bug#13518).
2250
2251 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2252
2253 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2254 when control-statement is the first statement in a buffer (Bug#15956).
2255
2256 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2257
2258 * imenu.el (imenu-generic-skip-comments-and-strings):
2259 New option (Bug#15560).
2260 (imenu--generic-function): Use it.
2261
2262 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2263
2264 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2265 (Bug#13898)
2266
2267 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2268
2269 * emacs-lisp/helpers.el: Add some string helpers.
2270 (string-trim-left): Removes leading whitespace.
2271 (string-trim-right): Removes trailing whitespace.
2272 (string-trim): Removes leading and trailing whitespace.
2273
2274 * subr.el (string-suffix-p): New function.
2275
2276 2013-11-23 Glenn Morris <rgm@gnu.org>
2277
2278 * progmodes/python.el (python-shell-send-file):
2279 Add option to delete file when done. (Bug#15647)
2280 (python-shell-send-string, python-shell-send-region): Use it.
2281
2282 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2283
2284 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2285 to set buffer-read-only to t, never to nil. (Bug#15938)
2286
2287 * textmodes/tex-mode.el (latex-noindent-environments):
2288 Add safe-local-variable property. (Bug#15936)
2289
2290 2013-11-23 Glenn Morris <rgm@gnu.org>
2291
2292 * textmodes/enriched.el (enriched-mode): Doc fix.
2293 * emacs-lisp/authors.el (authors-renamed-files-alist):
2294 Add enriched.doc -> enriched.txt.
2295
2296 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2297
2298 2013-11-22 Leo Liu <sdl.web@gmail.com>
2299
2300 * progmodes/octave.el (inferior-octave-startup): Spit out error
2301 message.
2302
2303 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2304
2305 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2306 Improve docstring.
2307 Add :version.
2308 (ruby-encoding-magic-comment-style): Add :version.
2309
2310 2013-11-22 Leo Liu <sdl.web@gmail.com>
2311
2312 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2313 (Bug#15076)
2314 (octave-help-mode): Adapt to change to help-mode-finish to use
2315 derived-mode-p on 2013-09-17.
2316 (inferior-octave-prompt): Also match octave-gui.
2317 (octave-kill-process): Don't ask twice. (Bug#10564)
2318
2319 2013-11-22 Leo Liu <sdl.web@gmail.com>
2320
2321 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2322 (inferior-octave-startup, inferior-octave-check-process)
2323 (inferior-octave-track-window-width-change)
2324 (octave-completion-at-point, octave-eldoc-function): Use it.
2325 (octave-kill-process): Provide confirmation. (Bug#10564)
2326
2327 2013-11-21 Leo Liu <sdl.web@gmail.com>
2328
2329 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2330 Fix obsolete variable comment-use-global-state.
2331
2332 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2333
2334 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2335 Add `octave-source-file'.
2336 (octave-source-file): New function. (Bug#15935)
2337
2338 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2339
2340 * net/eww.el (eww-local-regex): New variable.
2341 (eww): Use it to detect localhost and similar.
2342
2343 2013-11-21 Leo Liu <sdl.web@gmail.com>
2344
2345 Add completion for command `ag'.
2346 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2347 (pcomplete/ag): New function.
2348 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2349
2350 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2353 (bug#14646).
2354 (make-obsolete): Remove interactive spec.
2355
2356 2013-11-21 Glenn Morris <rgm@gnu.org>
2357
2358 * startup.el (command-line-1): Use path-separator with -L.
2359
2360 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2361
2362 * emacs-lisp/package.el (describe-package-1): Add package archive
2363 to shown fields.
2364
2365 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2366
2367 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2368 Change default to "# encoding: %s" to differentiate it from the
2369 default Ruby encoding comment template.
2370
2371 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2372
2373 * ses.el (ses-mode): Doc fix. (Bug#14748)
2374
2375 2013-11-20 Leo Liu <sdl.web@gmail.com>
2376
2377 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2378
2379 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2380
2381 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2382 when rebase or bisect are in progress.
2383
2384 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2385
2386 * filenotify.el (file-notify-add-watch): Doc fix.
2387
2388 2013-11-19 Leo Liu <sdl.web@gmail.com>
2389
2390 * obsolete/rcompile.el: Mark obsolete.
2391
2392 * progmodes/compile.el (compilation-start)
2393 (compilation-goto-locus, compilation-find-file):
2394 Pass no-display-ok and handle nil value from display-buffer.
2395 (Bug#13594)
2396
2397 * window.el (display-buffer-alist, display-buffer): Document the
2398 new parameter no-display-ok. Return either a window or nil
2399 but never a non-window value.
2400
2401 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * electric.el (electric-indent-mode-map): Remove.
2404 (electric-indent-mode): Change the global-map instead (bug#15915).
2405
2406 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2407 Use add-function.
2408
2409 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * emacs-lisp/nadvice.el (remove-function): Align with
2412 add-function's behavior.
2413
2414 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2415 (gdb--string-regexp): New constant.
2416 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2417 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2418 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2419 submatch 1.
2420 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2421 Adjust use accordingly.
2422 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2423
2424 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2425
2426 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2427 interpolation curlies (Bug#15914).
2428
2429 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2430
2431 * calc/calc.el (calc-context-sensitive-enter): New variable.
2432 (calc-enter): Use `calc-context-sensitive-enter'.
2433
2434 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2435
2436 * progmodes/cfengine.el: Version bump.
2437 (cfengine-cf-promises): New defcustom to locate cf-promises.
2438 (cfengine3-vartypes): Add new "data" type.
2439 (cfengine3--current-word): New function to get current name-like
2440 word or its bounds.
2441 (cfengine3--current-function): New function to look up a CFEngine
2442 function's definition.
2443 (cfengine3-format-function-docstring): New function.
2444 (cfengine3-make-syntax-cache): New function.
2445 (cfengine3-documentation-function): New function: ElDoc glue.
2446 (cfengine3-completion-function): New function: completion glue.
2447 (cfengine3-mode): Set `compile-command',
2448 `eldoc-documentation-function', and add to
2449 `completion-at-point-functions'.
2450
2451 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2452
2453 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2454 `tramp-current-connection'.
2455
2456 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2457
2458 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2459 nil/self/true/false with "end of symbol".
2460
2461 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2462
2463 * subr.el (version-regexp-alist): Fix a typo.
2464
2465 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2466
2467 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2468 "en_US.utf8" and "LC_CTYPE" to "".
2469 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2470 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2471
2472 2013-11-15 Leo Liu <sdl.web@gmail.com>
2473
2474 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2475
2476 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * progmodes/gud.el (ctl-x-map):
2479 Remove C-x SPC binding. (Bug#12342)
2480 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2481
2482 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2483
2484 * subr.el (version-regexp-alist):
2485 Recognize hg, svn and darcs versions as snapshot versions.
2486
2487 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2488 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2489 (ruby--encoding-comment-required-p): Extract from
2490 `ruby-mode-set-encoding'.
2491 (ruby-mode-set-encoding): Add the ability to always insert an
2492 utf-8 encoding comment. Fix and simplify coding comment update
2493 logic.
2494
2495 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2496
2497 * net/tramp-gvfs.el (top): Run init code only when
2498 `tramp-gvfs-enabled' is not nil.
2499 (tramp-gvfs-enabled): Check also :system bus.
2500
2501 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 Sync with upstream verilog-mode revision 78e66ba.
2504 * progmodes/verilog-mode.el (verilog-end-of-defun)
2505 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2506 (verilog-get-end-of-defun): Remove unused argument.
2507 (verilog-comment-depth): Remove unused local `e'.
2508 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2509 Don't pass arg to verilog-get-end-of-defun.
2510
2511 2013-11-14 Glenn Morris <rgm@gnu.org>
2512
2513 * obsolete/assoc.el (aget): Prefix dynamic variable.
2514
2515 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2516
2517 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2518
2519 * widget.el, hfy-cmap.el: Remove bogus package version number.
2520
2521 2013-11-13 Glenn Morris <rgm@gnu.org>
2522
2523 * replace.el (replace-eval-replacement):
2524 Try to give more helpful error message. (Bug#15836)
2525
2526 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2527 (archive-7z-update): Avoid custom type mismatches.
2528
2529 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2530
2531 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2532
2533 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2534 address can be empty.
2535
2536 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2537 Accept nil SWITCHES.
2538 (tramp-gvfs-handle-write-region): Implement APPEND.
2539
2540 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2541
2542 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2543 binary "|" operator and closing block args delimiter.
2544 Remove FIXME comment referring to Ruby 1.8-only syntax.
2545 (ruby-smie--implicit-semi-p): Not after "|" operator.
2546 (ruby-smie--closing-pipe-p): New function.
2547 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2548 (ruby-smie-rules): Indent after "|".
2549
2550 2013-11-12 Glenn Morris <rgm@gnu.org>
2551
2552 * ps-print.el (ps-face-attribute-list):
2553 Handle anonymous faces. (Bug#15827)
2554
2555 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2556
2557 * window.el (display-buffer-other-frame): Fix doc-string.
2558 (Bug#15868)
2559
2560 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2563
2564 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2565
2566 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2567 (tramp-sh-handle-file-local-copy): Don't write a message when
2568 saving temporary files.
2569
2570 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2571 both directories are remote.
2572 (tramp-smb-handle-directory-files): Do not return double entries.
2573 Do not expand full file names.
2574 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2575 (tramp-smb-handle-write-region): Implement APPEND.
2576 (tramp-smb-get-stat-capability): Fix a stupid bug.
2577
2578 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2581
2582 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2583
2584 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2585 throwing error over malformed let/let* (bug#15814).
2586
2587 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * iswitchb.el (iswitchb-mode): Mark obsolete.
2590
2591 2013-11-11 Glenn Morris <rgm@gnu.org>
2592
2593 * international/uni-bidi.el, international/uni-category.el:
2594 * international/uni-name.el, international/uni-numeric.el:
2595 Regenerate for Unicode 6.3.0.
2596
2597 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2598
2599 * net/tramp.el (tramp-methods):
2600 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2601 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2602
2603 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2604
2605 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2606 Force highlighting text after Summary keyword in doc face for rpm.
2607
2608 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2609
2610 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2611 available and the word has no wildcards, append one to the grep pattern.
2612 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2613 (ispell-complete-word): Call `ispell-lookup-words' with the value
2614 independent of `ispell-look-p'.
2615
2616 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2617
2618 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2619 Not after "||".
2620 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2621 their parent.
2622
2623 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2626 (ruby-font-lock-keywords): Use backquote.
2627
2628 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2629
2630 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2631 (ruby-smie--backward-token): Only consider full-string matches.
2632
2633 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2634
2635 * faces.el (describe-face): Add distant-foreground.
2636
2637 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2638
2639 * progmodes/ruby-mode.el: Improve encoding comment handling.
2640 (ruby-encoding-magic-comment-style): New option.
2641 (ruby-custom-encoding-magic-comment-template): New option.
2642 (ruby--insert-coding-comment, ruby--detect-encoding):
2643 New functions extracted from `ruby-mode-set-encoding'.
2644 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2645 to control the style of the auto-inserted encoding comment.
2646
2647 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2648
2649 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2650 Use `smie-backward-sexp' with token argument.
2651
2652 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2653
2654 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2655 Remove instrumentation code.
2656
2657 2013-11-08 Glenn Morris <rgm@gnu.org>
2658
2659 * progmodes/autoconf.el (autoconf-mode):
2660 Tweak comment-start-skip. (Bug#15822)
2661
2662 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2665 at bobp (bug#15826).
2666 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2667
2668 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2669
2670 * man.el (Man-start-calling): New macro, extracted from
2671 Man-getpage-in-background.
2672 (Man-getpage-in-background): Use it.
2673 (Man-update-manpage): New command.
2674 (Man-mode-map): Bind it.
2675
2676 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2677
2678 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2679 of "and", "or", "&&" and "||".
2680 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2681 argument. Prohibit opening curly brace because it could only be a
2682 block opener in that position.
2683 (ruby-smie--forward-token, ruby-smie--backward-token):
2684 Separate "|" from "&" or "*" going after it. That can happen in block
2685 arguments.
2686 (ruby-smie--indent-to-stmt): New function, seeks the end of
2687 previous statement or beginning of buffer.
2688 (ruby-smie-rules): Use it.
2689 (ruby-smie-rules): Check if there's a ":" before a curly block
2690 opener candidate; if there is, it's a hash.
2691
2692 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2693
2694 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2695 (cl--block-wrapper): Fix last accidental change.
2696
2697 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2698
2699 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2700 Instrument, in order to hunt failure on hydra.
2701
2702 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2703
2704 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2705 malformed bindings form (bug#15814).
2706
2707 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2708
2709 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2710 "." compared to " @ ". This incidentally fixes some indentation
2711 examples with "do".
2712 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2713 (ruby-smie-grammar): New tokens: "and" and "or".
2714 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2715 Exclude "and" and "or". Remove "do" in order to work around token
2716 priorities.
2717 (ruby-smie-rules): Add all infix tokens. Handle the case of
2718 beginning-of-buffer.
2719
2720 2013-11-06 Glenn Morris <rgm@gnu.org>
2721
2722 * Makefile.in (setwins_almost, setwins_for_subdirs):
2723 Avoid accidental matches.
2724
2725 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * menu-bar.el (popup-menu): Use key-binding.
2728
2729 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2730
2731 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2732 menus, support also the menus produced by minor modes.
2733 (Bug#15817)
2734
2735 2013-11-06 Leo Liu <sdl.web@gmail.com>
2736
2737 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2738 DISTANCE to bound the search. All uses changed. (Bug#15808)
2739
2740 2013-11-06 Glenn Morris <rgm@gnu.org>
2741
2742 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2743 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2744 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2745
2746 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * electric.el (electric-indent-just-newline): New command.
2749 (electric-indent-mode-map): New keymap.
2750 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2751 Re-add :group which weren't redundant.
2752
2753 * electric.el (electric-indent-local-mode): New minor mode.
2754 (electric-indent-functions-without-reindent): New var.
2755 (electric-indent-post-self-insert-function): Use it.
2756 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2757
2758 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2759
2760 * international/quail.el (quail-help): Be more explicit about the
2761 meaning of the labels shown on the keys. (Bug#15800)
2762
2763 * startup.el (normal-top-level): Load the subdirs.el files before
2764 setting the locale environment. (Bug#15805)
2765
2766 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2769 via arguments so as to get the right ones (bug#15418).
2770
2771 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2772
2773 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2774
2775 Fix problems found while writing a test suite.
2776
2777 * net/tramp-compat.el (tramp-compat-load): New defun.
2778 * net/tramp.el (tramp-handle-load): Use it.
2779
2780 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2781 "(numberp ok-if-already-exists)" correctly.
2782
2783 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2784
2785 * international/characters.el (glyphless-char-display-control):
2786 Add usage note.
2787
2788 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2789
2790 * progmodes/python.el (python-mode):
2791 * progmodes/scheme.el (scheme-mode):
2792 * progmodes/prolog.el (prolog-mode):
2793 * progmodes/ruby-mode.el (ruby-mode):
2794 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2795 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2796
2797 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2798
2799 * rect.el (rectangle--highlight-for-redisplay):
2800 * emacs-lisp/smie.el (smie--next-indent-change):
2801 Use buffer-chars-modified-tick.
2802
2803 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2804
2805 * electric.el (electric-indent-post-self-insert-function):
2806 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2807
2808 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2809
2810 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2811
2812 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2813
2814 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2815 (bug#15786).
2816
2817 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2820
2821 * progmodes/python.el: Fix up last change.
2822 (python-shell--save-temp-file): New function.
2823 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2824 `string' comes from the current buffer.
2825 (python-shell-send-string-no-output): Remove `msg' arg.
2826 (python--use-fake-loc): New var.
2827 (python-shell-buffer-substring): Obey it. Try to compensate for the
2828 extra coding line added by python-shell--save-temp-file.
2829 (python-shell-send-region): Use python-shell--save-temp-file and
2830 python-shell-send-file directly. Add `nomain' argument.
2831 (python-shell-send-buffer): Use python-shell-send-region.
2832 (python-electric-pair-string-delimiter): New function.
2833 (python-mode): Use it.
2834
2835 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2836
2837 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2838 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2839 environment and decoding all of the default-directory's to here
2840 from command-line.
2841 (command-line): Decode also argv[0].
2842
2843 * loadup.el: Error out if default-directory is a multibyte string
2844 when we are dumping.
2845
2846 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2847
2848 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2849
2850 * emacs-lisp/package.el (package-menu-mode)
2851 (package-menu--print-info, package-menu--archive-predicate):
2852 Add Archive column to package list.
2853
2854 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2855
2856 Fix problems found while writing a test suite.
2857
2858 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2859 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2860 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2861 to nil when running original file name handler. Otherwise,
2862 there are problems with constructs like "$$FOO".
2863
2864 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2865 for `localname'.
2866
2867 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2868
2869 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2870
2871 * subr.el (version<, version<=, version=):
2872 Update docstrings with information for snapshot versions.
2873
2874 * helpers.el: New library for misc helper functions.
2875 (hash-table-keys): New function returning a list of hash keys.
2876 (hash-table-values): New function returning a list of hash values.
2877
2878 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2879
2880 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2881 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2882
2883 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2884
2885 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2886 checking whether point is after a 1-letter word.
2887
2888 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2889
2890 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2891 Don't infloop when expanding region over `multiline' syntax-type that
2892 begins a line (bug#15778).
2893
2894 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2897 Make it into a proper minor mode.
2898 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2899 (rectangle-mark-mode-map): New keymap.
2900 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2901
2902 2013-11-04 Glenn Morris <rgm@gnu.org>
2903
2904 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2905
2906 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2909 (ruby-smie-rules): Use smie-rule-parent instead.
2910
2911 * emacs-lisp/smie.el (smie-rule-parent): Always call
2912 smie-indent-virtual rather than only for hanging tokens.
2913 (smie--next-indent-change): New helper command.
2914
2915 2013-11-03 Glenn Morris <rgm@gnu.org>
2916
2917 * Makefile.in (abs_srcdir): Remove.
2918 (emacs): Unset EMACSLOADPATH.
2919
2920 2013-11-02 Glenn Morris <rgm@gnu.org>
2921
2922 * Makefile.in (EMACS): Use a relative filename.
2923 (abs_top_builddir): Remove.
2924 (custom-deps, finder-data, autoloads): Use --chdir.
2925
2926 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2927
2928 Use relative filenames in TAGS files.
2929 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2930 (lisptagsfiles4, TAGS): Use relative file names.
2931 (TAGS-LISP): Remove.
2932 (maintainer-clean): No more TAGS-LISP file.
2933
2934 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2935 (lisptagsfiles4): Use absolute filenames again.
2936 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2937 Remove all *loaddefs files, not just the first. Remove esh-groups.
2938 (maintainer-clean): Delete TAGS, TAGS-LISP.
2939
2940 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2941
2942 * emacs-lisp/package.el (package-version-join):
2943 Recognize snapshot versions.
2944
2945 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2946
2947 * subr.el (version-regexp-alist): Add support for snapshot versions.
2948
2949 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2950
2951 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2952 New function, replacement for `smie-rule-parent' for when we want to
2953 skip over our direct parent if it's an assignment token..
2954 (ruby-smie-rules): Use it.
2955
2956 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2957
2958 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2959 unconditionally. Remove now unnecessary forward declarations.
2960 Remove XEmacs-specific setup.
2961 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2962 (ruby-font-lock-syntactic-keywords)
2963 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2964 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2965 (ruby-here-doc-end-syntax): Remove.
2966 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2967 defined as function.
2968
2969 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2970
2971 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2972
2973 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2974
2975 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2976 table and abbrev table, `define-derived-mode' does that for us
2977 anyway.
2978
2979 2013-11-01 Glenn Morris <rgm@gnu.org>
2980
2981 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2982 files is atomic for some time, so no parallel compilation issues).
2983
2984 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2985
2986 * faces.el (face-x-resources): Add :distant-foreground.
2987 (region): Use :distant-foreground for gtk and ns.
2988
2989 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2990
2991 Allow multiple bibliographies when BibLaTeX is used rather than
2992 BibTeX.
2993 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2994 (reftex-locate-bibliography-files): Us it.
2995
2996 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2997
2998 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2999 allow comments in pbm files.
3000
3001 * term/w32-win.el (dynamic-library-alist): Support newer versions
3002 of libjpeg starting with v7: look only for the DLL from the
3003 version against which Emacs was built.
3004 Support versions of libpng beyond 1.4.x.
3005 Support libtiff v4.x.
3006
3007 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3008
3009 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3010 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3011 Add property :safe.
3012 (ruby-deep-arglist): Add property :type.
3013
3014 2013-10-31 Glenn Morris <rgm@gnu.org>
3015
3016 * Makefile.in (custom-deps, finder-data): No need to setq the target
3017 variables, we are in the right directory and the defaults work fine.
3018
3019 2013-10-30 Glenn Morris <rgm@gnu.org>
3020
3021 * Makefile.in (autoloads): Do not use abs_lisp.
3022
3023 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3024 `newline' does not respect `standard-output', so use `princ'.
3025
3026 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3027
3028 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3029 * buff-menu.el (Buffer-menu--unmark): New function.
3030 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3031
3032 2013-10-30 Glenn Morris <rgm@gnu.org>
3033
3034 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3035
3036 * emacs-lisp/package.el (lm-homepage): Declare.
3037
3038 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3039 Fix doc typos.
3040
3041 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3042
3043 * Makefile.in (finder-data, autoloads, update-subdirs)
3044 (compile-main, compile-clean, compile-always, bootstrap-clean):
3045 Check return value of cd.
3046 (compile-calc): Remove.
3047
3048 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3051
3052 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3053 (byte-compile-and-folded): New function.
3054 (=, <, >, <=, >=): Use it.
3055
3056 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3057 (path-separator, null-device, buffer-file-coding-system)
3058 (lpr-headers-switches): Check system-type before modifying them.
3059 (find-buffer-file-type-coding-system): Mark obsolete.
3060 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3061 find-file-not-found-set-buffer-file-coding-system.
3062 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3063 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3064 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3065 (w32-direct-print-region-helper, w32-direct-print-region-function)
3066 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3067 * startup.el (normal-top-level-add-subdirs-to-load-path):
3068 * ps-print.el (ps-print-region-function):
3069 * lpr.el (print-region-function): Use new name.
3070
3071 * subr.el (custom-declare-variable-early): Remove function.
3072 (custom-declare-variable-list): Remove var.
3073 (error, user-error): Remove `while' loop.
3074 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3075 (user-emacs-directory-warning, locate-user-emacs-file):
3076 Move to files.el.
3077 * simple.el (read-quoted-char-radix, read-quoted-char):
3078 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3079 Move from subr.el.
3080 * custom.el (custom-declare-variable-list): Don't process
3081 custom-declare-variable-list.
3082
3083 * progmodes/python.el (python-shell-get-buffer): New function.
3084 (python-shell-get-process): Use it.
3085 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3086 Python which encoding was used. Don't split-string since we only care
3087 about the first line. Return the temp-file, if applicable.
3088 (python-shell-send-region): Tell compile.el how to turn locations in
3089 the temp-file into locations in the source buffer.
3090
3091 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * subr.el (undefined): Add missing behavior from the C code for
3094 unbound keys.
3095
3096 * rect.el: Use lexical-binding. Add new rectangular region support.
3097 (rectangle-mark): New command.
3098 (rectangle--region): New var.
3099 (deactivate-mark-hook): Reset rectangle--region.
3100 (rectangle--extract-region, rectangle--insert-for-yank)
3101 (rectangle--highlight-for-redisplay)
3102 (rectangle--unhighlight-for-redisplay): New functions.
3103 (region-extract-function, redisplay-unhighlight-region-function)
3104 (redisplay-highlight-region-function): Use them to handle
3105 rectangular region.
3106 * simple.el (region-extract-function): New var.
3107 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3108 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3109 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3110 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3111 (redisplay-unhighlight-region-function)
3112 (redisplay-highlight-region-function): New vars.
3113 (redisplay--update-region-highlight): New function.
3114 (pre-redisplay-function): Use it.
3115 (exchange-point-and-mark): Don't deactivate the mark before
3116 reactivate-it anyway.
3117 * comint.el (comint-kill-region): Remove yank-handler argument.
3118 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3119 (delete-char): Remove property, since it's now part of their
3120 default behavior.
3121 (self-insert-iso): Remove property since this command doesn't exist.
3122
3123 * emacs-lisp/package.el (package--download-one-archive)
3124 (describe-package-1): Don't query the user about final newline.
3125
3126 2013-10-29 Daniel Colascione <dancol@dancol.org>
3127
3128 * net/tramp.el (tramp-methods): Document new functionality.
3129 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3130 tramp-hostname-checker if method provides one instead of scanning
3131 argument list for "%h" to decide hostname acceptability.
3132
3133 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3136 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3137 Handle COPY-CONTENTS. (Bug#15737)
3138
3139 2013-10-28 Daiki Ueno <ueno@gnu.org>
3140
3141 * epa-file.el
3142 (epa-file-cache-passphrase-for-symmetric-encryption):
3143 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3144
3145 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3146
3147 * image.el (defimage):
3148 (image-load-path): Doc fixes.
3149
3150 2013-10-27 Alan Mackenzie <acm@muc.de>
3151
3152 Indent statements in macros following "##" correctly.
3153 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3154 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3155
3156 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3157
3158 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3159
3160 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3161
3162 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3163 after `=' is probably a new expression.
3164
3165 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3166
3167 * man.el (man-imenu-title): New option.
3168 (Man-mode-map): Add menu. (Bug#15722)
3169 (Man-mode): Add imenu to menu.
3170
3171 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3172
3173 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3174 specific in what the first arg can be: a non-keyword word,
3175 string/regexp/percent literal opener, opening paren, or unary
3176 operator followed directly by word.
3177
3178 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3181 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3182 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3183 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3184 Remove vars, they do not apply any more.
3185 (prolog-mode-abbrev-table): Remove redundant declaration.
3186 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3187 (prolog-use-smie): Remove.
3188 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3189 supported by prolog-electric-if-then-else-flag.
3190 (prolog-mode-variables, prolog-menu): Use setq-local.
3191 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3192 Remove binding to `Backspace' since this key doesn't exist anyway.
3193 Remove bindings for electric self-inserting keys.
3194 (prog-mode): Assume it's defined.
3195 (prolog-post-self-insert): New function.
3196 (prolog-mode): Use it.
3197 (prolog-indent-line, prolog-indent-level)
3198 (prolog-find-indent-of-matching-paren)
3199 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3200 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3201 (prolog-goto-next-paren, prolog-in-string-or-comment)
3202 (prolog-tokenize, prolog-inside-mline-comment)
3203 (prolog-find-start-of-mline-comment): Remove functions.
3204 (prolog-find-unmatched-paren, prolog-clause-end)
3205 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3206 (prolog-electric--if-then-else): Rename from
3207 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3208 (prolog-tokenize-searchkey): Remove const.
3209 (prolog-clause-info): Use forward-sexp.
3210 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3211 (prolog-electric-if-then-else): Remove commands.
3212 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3213 for use in post-self-insert-hook.
3214 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3215 for use in post-self-insert-hook.
3216 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3217 for use in post-self-insert-hook.
3218 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3219 adapt it for use in post-self-insert-hook.
3220
3221 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3222
3223 * emacs-lisp/ert.el (ert-run-tests-interactively):
3224 Use `completing-read'. (Bug#9756)
3225
3226 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3227
3228 * simple.el (line-move): Call line-move-1 instead of
3229 line-move-visual when the current window hscroll is zero, but
3230 temporary-goal-column indicates we will need to hscroll as result
3231 of the movement. (Bug#15712)
3232
3233 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3234
3235 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3236 capitalization. Use :visible instead of :active.
3237 Fix `ruby-indent-exp' reference. Add menu items for the generic
3238 commands that are used with SMIE.
3239 (ruby-do-end-to-brace): Insert space after `{'.
3240
3241 2013-10-25 John Anthony <john@jo.hnanthony.com>
3242
3243 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3244
3245 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3246
3247 2013-10-25 Glenn Morris <rgm@gnu.org>
3248
3249 * vc/vc.el (vc-print-log): Don't use a working revision unless
3250 one was explicitly specified. (Bug#15322)
3251
3252 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3253
3254 * subr.el (add-to-list): Preserve return value in compiler-macro
3255 (bug#15692).
3256
3257 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3258
3259 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3260 result. Ask user to retry using '-all' flag. (Bug#15701)
3261
3262 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * emacs-lisp/smie.el: New smie-config system.
3265 (smie-config): New defcustom.
3266 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3267 (smie-config-guess, smie-config-save): New commands.
3268 (smie-config--mode-local, smie-config--buffer-local)
3269 (smie-config--trace, smie-config--modefuns): New vars.
3270 (smie-config--advice, smie-config--mode-hook)
3271 (smie-config--setter, smie-config-local, smie-config--get-trace)
3272 (smie-config--guess-value, smie-config--guess): New functions.
3273 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3274 text properties. Treat "string fence" syntax like string syntax.
3275
3276 * progmodes/sh-script.el (sh-use-smie): Change default.
3277 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3278 (sh-var-value): Simplify by CSE.
3279 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3280 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3281 is used.
3282 (sh-guess-basic-offset): Use cl-incf.
3283 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3284
3285 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3286
3287 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3288 (bug#15699).
3289
3290 2013-10-24 Glenn Morris <rgm@gnu.org>
3291
3292 * Makefile.in (abs_top_srcdir): Remove.
3293 (update-subdirs): Use relative path to update-subdirs.
3294
3295 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3296
3297 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3298 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3299 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3300 Call unmsys--file-name before expand-file-name, not after it.
3301
3302 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3303
3304 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3305 (ert-test-skipped): New error.
3306 (ert-skip, ert-stats-skipped): New defuns.
3307 (ert--skip-unless): New macro.
3308 (ert-test-skipped): New struct.
3309 (ert--run-test-debugger, ert-test-result-type-p)
3310 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3311 (ert--stats-set-test-and-result, ert-char-for-test-result)
3312 (ert-string-for-test-result, ert-run-tests-batch)
3313 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3314 Handle skipped tests. (Bug#9803)
3315
3316 2013-10-24 Glenn Morris <rgm@gnu.org>
3317
3318 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3319
3320 * Makefile.in (abs_top_srcdir): New, set by configure.
3321 (update-subdirs): Correct build-aux location.
3322
3323 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3324
3325 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3326 value, whether we could auto-deduce `backend', or not.
3327
3328 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3329 with parameters" example. Simplify the "is it block or is it
3330 hash" check, but also make it more thorough.
3331
3332 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3333
3334 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3335
3336 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3339 { if it is hanging.
3340
3341 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3342 :before ";".
3343
3344 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3345
3346 * progmodes/compile.el (compilation-directory-matcher)
3347 (compilation-page-delimiter):
3348 Support GNU Make-4.0 directory quoting. (Bug#15678)
3349
3350 2013-10-23 Leo Liu <sdl.web@gmail.com>
3351
3352 * ido.el (ido-tidy): Handle read-only text.
3353
3354 2013-10-23 Glenn Morris <rgm@gnu.org>
3355
3356 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3357 (emacs, compile, compile-always):
3358 Quote entities that might contain whitespace.
3359 (custom-deps, finder-data, autoloads): Use abs_lisp.
3360 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3361 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3362 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3363
3364 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3365
3366 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3367 Use `following-char'.
3368
3369 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3372 * progmodes/ruby-mode.el (ruby-smie-rules):
3373 Remove corresponding workaround. Fix indentation rule of ";" so it
3374 also applies when ";" is the parent.
3375
3376 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3377
3378 * frame.el (display-screens, display-pixel-height)
3379 (display-pixel-width, display-mm-width, display-backing-store)
3380 (display-save-under, display-planes, display-color-cells)
3381 (display-visual-class, display-monitor-attributes-list):
3382 Mention the optional ‘display’ argument in doc strings.
3383
3384 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3385
3386 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3387 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3388
3389 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3390
3391 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3392 TODO. Add "." after " @ ".
3393 (ruby-smie--at-dot-call): New function. Checks if point at method
3394 call with explicit target.
3395 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3396 to the method name tokens when it precedes them.
3397 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3398 (ruby-smie-rules): Add rule for indentation before and after "."
3399 token.
3400
3401 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3402
3403 * textmodes/remember.el (remember-diary-extract-entries):
3404 Avoid add-to-list.
3405
3406 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3407 an instruction.
3408
3409 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3410
3411 * progmodes/ruby-mode.el (ruby-smie-grammar):
3412 Add (almost) all infix operators.
3413 (ruby-smie--implicit-semi-p): Add new operator chars.
3414
3415 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3416 `smie-down-list'.
3417 (ruby-smie--args-separator-p): Check that there's no newline
3418 between method call and its arguments.
3419
3420 2013-10-20 Alan Mackenzie <acm@muc.de>
3421
3422 Allow comma separated lists after Java "implements".
3423
3424 * progmodes/cc-engine.el (c-backward-over-enum-header):
3425 Parse commas.
3426 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3427 from a "disallowed" list in enum fontification.
3428
3429 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3430
3431 * startup.el (default-frame-background-mode): Remove unused defvar.
3432
3433 * progmodes/verilog-mode.el (verilog-mode): Don't set
3434 comment-indent-function globally.
3435
3436 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3437
3438 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3439 Move Info menu item creation to ns-win.el.
3440
3441 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3442 in menu bar.
3443
3444 * menu-bar.el: Move GNUStep specific menus...
3445
3446 * term/ns-win.el (ns-initialize-window-system): ... to here.
3447
3448 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * simple.el (newline): Only run post-self-insert-hook when
3451 called interactively.
3452
3453 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3454
3455 * icomplete.el (icomplete-with-completion-tables): Add :version.
3456
3457 2013-10-19 Alan Mackenzie <acm@muc.de>
3458
3459 Fix fontification bugs with constructors and const.
3460
3461 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3462 CASE 2) Remove the check for the absence of a suffix construct
3463 after a function declaration with only types (no identifiers) in
3464 the parentheses. Also, accept a function declaration with just a
3465 type inside the parentheses, if this type can be positively
3466 recognised as such, or if a prefix keyword like "explicit" nails
3467 down the construct as a declaration.
3468
3469 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3470
3471 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3472 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3473 the problem whereby selecting a menu item that leads to a
3474 minibuffer prompt moves the cursor out of the minibuffer window,
3475 making it hard to type at the prompt. Suggested by Stefan Monnier
3476 <monnier@iro.umontreal.ca>.
3477
3478 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3479
3480 * menu-bar.el: Don't make Services menu.
3481
3482 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3483
3484 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3485 (ffap-alist): Use ffap-c++-mode for c++-mode.
3486 (ffap-c++-path): New variable.
3487 (ffap-c++-mode): New function.
3488
3489 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3490
3491 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3492
3493 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3494
3495 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3496 introduced on 2013-09-08, which results in an infinite loop
3497 requesting a password.
3498
3499 2013-10-18 Glenn Morris <rgm@gnu.org>
3500
3501 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3502
3503 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3504
3505 Sync with upstream verilog-mode revision 1a6ecec7.
3506 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3507 (verilog-mode-release-date): Remove.
3508 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3509 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3510 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3511 (verilog-auto-tieoff-ignore-regexp)
3512 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3513 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3514 (verilog-signals-with, verilog-dir-cache-preserving)
3515 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3516 Doc fixes.
3517 (verilog-case-fold): New option, to control case folding in
3518 regexp searches, bug597.
3519 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3520 (verilog-string-match-fold, verilog-in-paren-count)
3521 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3522 (verilog-at-close-struct-p): New functions.
3523 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3524 (verilog-forward-sexp, verilog-set-auto-endcomments):
3525 (verilog-leap-to-case-head): Handle "unique0" case.
3526 (verilog-in-constraint-re): New constant.
3527 (verilog-keywords, verilog-type-font-keywords):
3528 Add some SystemVerilog 1800-2012 keywords.
3529 (verilog-label-be): Remove unimplemented argument, bug669.
3530 (verilog-batch-execute-func): When batch expanding clear
3531 create-lockfiles to prevent spurious user locks when a file ends
3532 up not changing.
3533 (verilog-calculate-indent, verilog-calc-1)
3534 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3535 (verilog-do-indent): Fix indentation of nested constraints
3536 and structures.
3537 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3538 (verilog-auto-inst-param): Use verilog-string-match-fold.
3539 (verilog-read-inst-module-matcher):
3540 Fix AUTOINST on gate primitives with #1.
3541 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3542 Reads all user-defined typed variables.
3543 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3544 (verilog-signals-matching-regexp)
3545 (verilog-signals-not-matching-regexp, verilog-auto):
3546 Respect verilog-case-fold.
3547 (verilog-diff-report): Fix line count.
3548 (verilog-auto-assign-modport): Remove unused local `modi'.
3549 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3550 better handle multidimensional arrays.
3551 Fix packed array ports misadding bit index in AUTOINST, bug637.
3552 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3553 to not double-declare existing outputs and inputs, respectively.
3554 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3555 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3556 (verilog-sk-uvm-component): New skeleton.
3557 (verilog-submit-bug-report): Add verilog-case-fold,
3558 remove verilog-mode-release-date.
3559
3560 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3561
3562 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3563 as before.
3564
3565 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3566
3567 * textmodes/remember.el (remember): Set buffer-offer-save in
3568 remember buffers (bug#13566).
3569
3570 2013-10-18 Daniel Colascione <dancol@dancol.org>
3571
3572 When evaluating forms in ielm, direct standard output to ielm
3573 buffer. Add new ielm-return-for-effect command. Remove trailing
3574 whitespace throughout.
3575
3576 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3577 (ielm-return-for-effect): New command.
3578 (ielm-send-input): Accept optional `for-effect' parameter.
3579 (ielm-eval-input): Accept optional `for-effect' parameter.
3580 Bind `standard-output' to stream we create using
3581 `ielm-standard-output-impl'. Suppress printing result when
3582 `for-effect'.
3583 (ielm-standard-output-impl): New function.
3584 (inferior-emacs-lisp-mode): Explain new features in documentation.
3585
3586 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3587
3588 Code cleanup.
3589
3590 * net/tramp.el (tramp-debug-message): Do not check for connection
3591 buffer.
3592 (tramp-message): Use "vector" connection property.
3593
3594 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3595 (tramp-equal-remote, tramp-eshell-directory-change)
3596 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3597 (tramp-adb-handle-rename-file)
3598 * net/tramp-cmds.el (tramp-list-remote-buffers)
3599 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3600 * net/tramp-compat.el (tramp-compat-process-running-p)
3601 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3602 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3603 (tramp-gvfs-handle-rename-file)
3604 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3605 (tramp-set-file-uid-gid)
3606 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3607 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3608 of `file-remote-p'.
3609
3610 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3611 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3612 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3613 (tramp-gw-open-network-stream): Suppress unrelated traces.
3614
3615 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3616 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3617 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3618 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3619 connection property.
3620
3621 * net/tramp-cache.el (top): Suppress traces when reading
3622 persistency file.
3623
3624 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3625 Refactor common code. Improve debug message.
3626 (tramp-maybe-open-connection)
3627 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3628 connection buffer too early.
3629
3630 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3631 from `tramp-smb-actions-with-acl'.
3632 (tramp-smb-actions-set-acl): New defconst.
3633 (tramp-smb-handle-copy-directory)
3634 (tramp-smb-action-get-acl): New defun, renamed from
3635 `tramp-smb-action-with-acl'.
3636 (tramp-smb-action-set-acl): New defun.
3637 (tramp-smb-handle-set-file-acl): Rewrite.
3638
3639 2013-10-17 Glenn Morris <rgm@gnu.org>
3640
3641 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3642
3643 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * skeleton.el (skeleton-newline): Remove.
3646 (skeleton-internal-1): Use (insert "\n") instead.
3647
3648 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3649 let-bindings.
3650
3651 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3652 forward-sexp-function while we redo its job (bug#15613).
3653
3654 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3655
3656 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3657 represented by lists.
3658
3659 2013-10-16 Glenn Morris <rgm@gnu.org>
3660
3661 * tmm.el (tmm--history): New dynamic variable.
3662 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3663
3664 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3665
3666 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3667 (tramp-smb-errors): Add error messages.
3668 (tramp-smb-actions-with-acl): New defconst.
3669 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3670 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3671 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3672 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3673 (tramp-smb-get-stat-capability): Fix tests.
3674
3675 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3676
3677 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3678 (bug#15580).
3679
3680 2013-10-16 Glenn Morris <rgm@gnu.org>
3681
3682 * ansi-color.el (ansi-color-drop-regexp):
3683 Add 1J, 1K, 2K. (Bug#15617)
3684
3685 * files.el (hack-local-variables--warned-lexical): New.
3686 (hack-local-variables):
3687 Warn about misplaced lexical-binding. (Bug#15616)
3688
3689 * net/eww.el (eww-render): Always set eww-current-url,
3690 and update header line. (Bug#15622)
3691 (eww-display-html): ... Rather than just doing it here.
3692
3693 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3694
3695 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3696 menu navigations commands.
3697
3698 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3699
3700 * progmodes/subword.el (subword-capitalize): Be careful when
3701 the search for [[:alpha:]] fails (bug#15580).
3702
3703 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3704
3705 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3706 to commands that scroll the menu.
3707
3708 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3709
3710 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3711 Handle methods ending with `?' and `!'.
3712
3713 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3714
3715 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3716 `japanese-cp932' to `cp932' to fix the problem where saving a
3717 source file written in Shift_JIS twice would end up having
3718 `coding: japanese-cp932' which Ruby could not recognize.
3719 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3720 in `ruby-encoding-map'.
3721 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3722 doesn't need to be explicitly declared in magic comment.
3723 (ruby-encoding-map): Add type declaration for better customize UI.
3724
3725 2013-10-13 Glenn Morris <rgm@gnu.org>
3726
3727 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3728 Occur buffers are read-only. http://bugs.debian.org/720775
3729
3730 * emacs-lisp/authors.el (authors-fixed-entries):
3731 Comment out old alpha stuff.
3732
3733 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3734
3735 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3736 to `after-save-hook' instead of `before-save-hook'.
3737 (ruby-mode-set-encoding): Use the value of coding system used to
3738 write the file. Call `basic-save-buffer-1' after modifying the
3739 buffer.
3740
3741 2013-10-13 Alan Mackenzie <acm@muc.de>
3742
3743 Fix indentation/fontification of Java enum with
3744 "implements"/generic.
3745
3746 * progmodes/cc-engine.el (c-backward-over-enum-header):
3747 Extracted from the three other places and enhanced to handle generics.
3748 (c-inside-bracelist-p): Uses new function above.
3749 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3750 function above.
3751 (c-font-lock-enum-tail): Uses new function above.
3752
3753 2013-10-13 Kenichi Handa <handa@gnu.org>
3754
3755 * international/mule-cmds.el (select-safe-coding-system): Remove a
3756 superfluous condition in chekcing whether a coding system is safe
3757 or not.
3758
3759 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3760
3761 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3762
3763 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3764
3765 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3766
3767 2013-10-13 Glenn Morris <rgm@gnu.org>
3768
3769 * menu-bar.el (menu-bar-update-buffers):
3770 Unify Buffers menu prompt string. (Bug#15576)
3771
3772 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3773
3774 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3775 Add some entries.
3776 (authors-fixed-entries): Use accented form of name.
3777
3778 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3781 method calls (bug#15594).
3782 (ruby-smie--args-separator-p): New function.
3783 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3784 recognize paren-free method calls.
3785
3786 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3787 internals of universal-argument.
3788
3789 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3790
3791 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3792 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3793 dropped menu on second mouse click on the menu bar.
3794
3795 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3796
3797 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3798 (explicit-shell-file-name): Declare.
3799 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3800 (sh-completion-at-point-function): New function.
3801 (sh-mode): Use it.
3802 (sh-smie--keyword-p): Remove unused argument.
3803 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3804 vars.
3805 (sh-set-shell): Always setup SMIE, even if we use the
3806 old indentation code.
3807
3808 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3809
3810 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3811 cases of ? and =.
3812 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3813 predicate would return nil are almost non-existent.
3814 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3815
3816 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3817 cache also after commands that modify the buffer but don't move
3818 point.
3819
3820 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * env.el (substitute-env-in-file-name): New function.
3823 (substitute-env-vars): Extend the meaning of the optional arg.
3824
3825 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3826
3827 * term/w32-win.el (dynamic-library-alist): Define separate lists
3828 of GIF DLLs for versions before and after 5.0.0 of giflib.
3829 (Bug#15531)
3830
3831 2013-10-10 João Távora <joaotavora@gmail.com>
3832
3833 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3834 not locked, use last revision and current source as
3835 defaults. (Bug#15569)
3836
3837 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3838
3839 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3840 menu-bar is hidden.
3841
3842 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3843
3844 * window.el (pop-to-buffer-same-window): Fix doc-string.
3845 (Bug#15492)
3846
3847 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3850
3851 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3852
3853 * calendar/icalendar.el (icalendar-import-file):
3854 Fix interactive spec. (Bug#15482)
3855
3856 2013-10-10 Glenn Morris <rgm@gnu.org>
3857
3858 * desktop.el (desktop-save): Default to saving in .emacs.d,
3859 since PWD is no longer in desktop-path by default. (Bug#15319)
3860
3861 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3862 now that text mode has a menu with the same entry.
3863 (menu-bar-text-mode-auto-fill): Remove now unused func.
3864 * textmodes/text-mode.el (text-mode-map):
3865 Use auto-fill help text from menu-bar.el.
3866
3867 2013-10-10 John Anthony <john@jo.hnanthony.com>
3868
3869 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3870
3871 2013-10-09 Juri Linkov <juri@jurta.org>
3872
3873 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3874 instead of this-command-keys. Add universal-argument-more and
3875 universal-argument-minus to the list of prefix commands. (Bug#15568)
3876
3877 2013-10-09 Glenn Morris <rgm@gnu.org>
3878
3879 * vc/vc-svn.el (vc-svn-create-repo):
3880 Expand paths in file://... url. (Bug#15446)
3881
3882 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3883 Add some entries.
3884 (authors): Remove unused local variables.
3885
3886 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * profiler.el: Create a more coherent calltree from partial backtraces.
3889 (profiler-format): Hide the tail with `invisible' so that C-s can still
3890 find the hidden elements.
3891 (profiler-calltree-depth): Don't recurse so enthusiastically.
3892 (profiler-function-equal): New hash-table-test.
3893 (profiler-calltree-build-unified): New function.
3894 (profiler-calltree-build): Use it.
3895 (profiler-report-make-name-part): Indent the calltree less.
3896 (profiler-report-mode): Add visibility specs for profiler-format.
3897 (profiler-report-expand-entry, profiler-report-toggle-entry):
3898 Expand the whole subtree when provided with a prefix arg.
3899
3900 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3901
3902 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3903 iuwu-mod token.
3904 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3905 hanging iuwu-mod token.
3906 (ruby-smie--forward-token): Do not include a dot after a token in
3907 that token.
3908 (ruby-smie--backward-token): Likewise.
3909
3910 2013-10-08 Juri Linkov <juri@jurta.org>
3911
3912 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3913 to isearch-other-control-char.
3914 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3915 and isearch-post-command-hook to post-command-hook.
3916 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3917 and isearch-post-command-hook from post-command-hook.
3918 (isearch-unread-key-sequence)
3919 (isearch-reread-key-sequence-naturally)
3920 (isearch-lookup-scroll-key, isearch-other-control-char)
3921 (isearch-other-meta-char): Remove functions.
3922 (isearch-pre-command-hook, isearch-post-command-hook):
3923 New functions based on isearch-other-meta-char rewritten
3924 relying on the new behavior of overriding-terminal-local-map
3925 that does not replace the local keymaps any more. (Bug#15200)
3926
3927 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3928
3929 Support menus on text-mode terminals.
3930 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3931 functionality.
3932
3933 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3934
3935 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3936 Move here from mouse.el.
3937 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3938 and arrow keys.
3939 (tty-menu-navigation-map): New map for TTY menu navigation.
3940
3941 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3942
3943 * frame.el (display-mouse-p): Report text-mode mouse as available
3944 on w32.
3945 (display-popup-menus-p): Report availability if mouse is
3946 available; don't condition on window-system.
3947
3948 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3949 (tty-menu-selected-face): New faces.
3950
3951 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3954 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3955 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3956 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3957 New constants.
3958 (lisp-mode-variables): New `elisp' argument.
3959 (emacs-lisp-mode): Use it.
3960 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3961 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3962
3963 * indent.el: Use lexical-binding.
3964 (indent-region): Add progress reporter.
3965 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3966 last step.
3967 (indent--next-tab-stop): New function to implement this behavior.
3968 (tab-to-tab-stop, move-to-tab-stop): Use it.
3969
3970 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3971
3972 * indent.el (indent-rigidly--current-indentation): New function.
3973 (indent-rigidly-map): New var.
3974 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3975
3976 2013-10-08 Bastien Guerry <bzg@gnu.org>
3977
3978 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3979
3980 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3981
3982 * progmodes/perl-mode.el: Use lexical-binding.
3983 Remove redundant :group args.
3984 (perl-nochange): Change default to be closer to other major modes's
3985 standard behavior.
3986 (perl-indent-line): Don't consider text on current line as a
3987 valid beginning of function from which to indent.
3988
3989 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3990 with more than one argument (bug#15538).
3991
3992 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3993
3994 * vc/pcvs.el: Use lexical-binding.
3995 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3996 environment of `eval'.
3997 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3998 than a list of expressions. Adjust callers.
3999 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4000
4001 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4002
4003 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4004 case of the dot in a chained method call being on the following line.
4005
4006 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * electric.el (electric-indent-inhibit): New var.
4009 (electric-indent-post-self-insert-function): Use it.
4010 * progmodes/python.el (python-mode): Set it.
4011
4012 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4013 open braces.
4014
4015 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4016
4017 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4018 (css-mode): Use electric-indent-chars.
4019
4020 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4021 (font-lock-beg, font-lock-end): Move before first use.
4022 (nxml-mode): Use syntax-propertize-function.
4023 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4024 (nxml-extend-after-change-region): Remove.
4025 * nxml/xmltok.el: Use lexical-binding.
4026 (xmltok-save): Use `declare'.
4027 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4028 * nxml/nxml-util.el: Use lexical-binding.
4029 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4030 Use `declare'.
4031 * nxml/nxml-ns.el: Use lexical-binding.
4032 (nxml-ns-save): Use `declare'.
4033 (nxml-ns-prefixes-for): Avoid add-to-list.
4034 * nxml/rng-match.el: Use lexical-binding.
4035 (rng--ipattern): Use cl-defstruct.
4036 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4037 (rng-cons-group-after, rng-subst-group-after)
4038 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4039 Use closures instead of `(lambda...).
4040
4041 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4042
4043 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4044 of BEG and END.
4045
4046 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4047 Use `tramp-handle-insert-file-contents'.
4048 (tramp-gvfs-handle-insert-file-contents): Remove function.
4049
4050 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4051 Use `save-restriction' in order to keep markers.
4052
4053 * net/trampver.el: Update release number.
4054
4055 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 * progmodes/compile.el (compilation-parse-errors):
4058 Use compilation--put-prop.
4059 (compilation--ensure-parse): Check compilation-multiline.
4060
4061 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4062
4063 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4064 lexical-binding.
4065
4066 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4067
4068 * progmodes/ruby-mode.el: Fix recently added tests.
4069 (ruby-smie-grammar): Add - and +.
4070 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4071 (ruby-smie--backward-id): New functions.
4072 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4073 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4074 any more.
4075
4076 2013-10-07 Leo Liu <sdl.web@gmail.com>
4077
4078 * register.el (register-preview-delay)
4079 (register-preview-functions): New variables.
4080 (register-read-with-preview, register-preview)
4081 (register-describe-oneline): New functions.
4082 (point-to-register, window-configuration-to-register)
4083 (frame-configuration-to-register, jump-to-register)
4084 (number-to-register, view-register, insert-register)
4085 (copy-to-register, append-to-register, prepend-to-register)
4086 (copy-rectangle-to-register): Use register-read-with-preview to
4087 read register. (Bug#15525)
4088
4089 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4090
4091 * net/network-stream.el (network-stream-open-starttls): Don't add
4092 --insecure if it's already present, because that gnutls-cli
4093 rejects getting that parameter twice.
4094
4095 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4096
4097 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4098 keyword, too.
4099
4100 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4101
4102 * newcomment.el (comment-use-global-state): Change default value
4103 to t, mark obsolete (Bug#15251).
4104 (comment-beginning): In addition to `comment-to-syntax', check the
4105 value of `comment-use-global-state'.
4106
4107 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4110 (ruby-comment-column): Follow the global default, by default.
4111 (ruby-smie-grammar): Add assignment syntax.
4112 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4113 open-paren, a comma, or a \.
4114 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4115 and line continuations.
4116 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4117 followed by implicit semi-colons. Add rule for string concatenation
4118 and for indentation at BOB.
4119 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4120
4121 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4122 calling next-sexp, since next-token may have skipped chars which
4123 next-sexp doesn't know should be skipped!
4124
4125 2013-10-05 Leo Liu <sdl.web@gmail.com>
4126
4127 * progmodes/octave.el (octave-send-region):
4128 Call compilation-forget-errors.
4129
4130 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4131
4132 * vc/vc-svn.el (vc-svn-find-admin-dir):
4133 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4134 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4135 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4136 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4137
4138 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4141
4142 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4143
4144 * subr.el (read-passwd): Hide chars even when called within a context
4145 where after-change-functions is disabled (bug#15501).
4146 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4147 until we removed ourself from overriding-terminal-local-map.
4148
4149 2013-10-04 Leo Liu <sdl.web@gmail.com>
4150
4151 * progmodes/octave.el (inferior-octave-mode):
4152 Call compilation-forget-errors.
4153
4154 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4155
4156 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4157
4158 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4159
4160 * net/secrets.el (secrets-create-collection): Add optional
4161 argument ALIAS. Use proper Label keyword. Append ALIAS as
4162 dbus-call-method argument. (Bug#15516)
4163
4164 2013-10-04 Leo Liu <sdl.web@gmail.com>
4165
4166 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4167 (inferior-octave-compilation-font-lock-keywords): New variables.
4168 (compilation-error-regexp-alist)
4169 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4170 (inferior-octave-mode): Use compilation-shell-minor-mode.
4171
4172 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4173
4174 * minibuffer.el (completion--replace): Be careful that `end' might be
4175 a marker.
4176
4177 2013-10-03 Daiki Ueno <ueno@gnu.org>
4178
4179 Add support for package signature checking.
4180 * emacs-lisp/package.el (url-http-file-exists-p)
4181 (epg-make-context, epg-context-set-home-directory)
4182 (epg-verify-string, epg-context-result-for)
4183 (epg-signature-status, epg-signature-to-string)
4184 (epg-check-configuration, epg-configuration)
4185 (epg-import-keys-from-file): Declare.
4186 (package-check-signature): New user option.
4187 (package-unsigned-archives): New user option.
4188 (package-desc): Add `signed' field.
4189 (package-load-descriptor): Set `signed' field if .signed file exists.
4190 (package--archive-file-exists-p): New function.
4191 (package--check-signature): New function.
4192 (package-install-from-archive): Check package signature.
4193 (package--download-one-archive): Check archive signature.
4194 (package-delete): Remove .signed file.
4195 (package-import-keyring): New command.
4196 (package-refresh-contents): Import default keyring.
4197 (package-desc-status): Add "unsigned" status.
4198 (describe-package-1, package-menu--print-info)
4199 (package-menu-mark-delete, package-menu--find-upgrades)
4200 (package-menu--status-predicate): Support "unsigned" status.
4201
4202 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4205 the new compilation scheme using the new byte-codes.
4206
4207 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4208 (byte-pophandler): New byte codes.
4209 (byte-goto-ops): Adjust accordingly.
4210 (byte-compile--use-old-handlers): New var.
4211 (byte-compile-catch): Use new byte codes depending on
4212 byte-compile--use-old-handlers.
4213 (byte-compile-condition-case--old): Rename from
4214 byte-compile-condition-case.
4215 (byte-compile-condition-case--new): New function.
4216 (byte-compile-condition-case): New function that dispatches depending
4217 on byte-compile--use-old-handlers.
4218 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4219 when we can.
4220
4221 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4222 Optimize under `condition-case' and `catch' if
4223 byte-compile--use-old-handlers is nil.
4224 (disassemble-offset): Handle new bytecodes.
4225
4226 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * subr.el (error): Use `declare'.
4229 (decode-char, encode-char): Use advertised-calling-convention instead
4230 of the docstring to discourage use of the `restriction' arg.
4231
4232 2013-10-03 Daiki Ueno <ueno@gnu.org>
4233
4234 * epg.el (epg-verify-file): Add a comment saying that it does not
4235 notify verification error as a return value nor a signal.
4236 (epg-verify-string): Ditto.
4237
4238 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4239
4240 * progmodes/compile.el (compilation-start): Try globbing the arg to
4241 `cd' (bug#15417).
4242
4243 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4244
4245 Sync with Tramp 2.2.8.
4246
4247 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4248 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4249 * net/trampver.el: Update release number.
4250
4251 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4252
4253 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4254 and default-process-coding-system for darwin only.
4255
4256 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4259
4260 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4261
4262 * vc/vc-git.el (vc-git-grep): Disable pager.
4263
4264 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4265
4266 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4267 Use :url instead of :homepage, as per
4268 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4269
4270 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4271 non-nil, use `syntax-ppss' (Bug#15251).
4272
4273 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4274
4275 * progmodes/octave.el (inferior-octave-startup-file):
4276 Prefer ~/.emacs.d/init_octave.m.
4277
4278 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4279
4280 * emacs-lisp/package.el (package-desc-from-define):
4281 Accept additional arguments as plist, convert them to an alist and store
4282 them in the `extras' slot.
4283 (package-generate-description-file): Convert extras alist back to
4284 plist and append to the `define-package' form arguments.
4285 (package--alist-to-plist): New function.
4286 (package--ac-desc): Add `extras' slot.
4287 (package--add-to-archive-contents): Check if the archive-contents
4288 vector is long enough, and if it is, pass its `extras' slot value
4289 to `package-desc-create'.
4290 (package-buffer-info): Call `lm-homepage', pass the returned value
4291 to `package-desc-from-define'.
4292 (describe-package-1): Render the homepage button (Bug#13291).
4293
4294 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4295 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4296
4297 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4298
4299 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4300 and default-process-coding-system to utf-8-unix (Bug#15402).
4301
4302 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4303
4304 * subr.el (looking-back): Do not recommend using looking-back.
4305
4306 2013-09-28 Alan Mackenzie <acm@muc.de>
4307
4308 Fix indentation/fontification of Java enum with "implements".
4309
4310 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4311 regexp which matches "implements", etc., in Java.
4312 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4313 specifier clauses coming after "enum".
4314 * progmodes/cc-fonts.el (c-font-lock-declarations)
4315 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4316 after "enum".
4317
4318 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4319
4320 * faces.el (region): Change ns_selection_color to
4321 ns_selection_fg_color, add ns_selection_bg_color.
4322
4323 2013-09-28 Leo Liu <sdl.web@gmail.com>
4324
4325 * progmodes/octave.el (inferior-octave-completion-table)
4326 (inferior-octave-completion-at-point): Minor tweaks.
4327
4328 * textmodes/ispell.el (ispell-lookup-words): Rename from
4329 lookup-words. (Bug#15460)
4330 (lookup-words): Obsolete.
4331 (ispell-complete-word, ispell-command-loop): All uses changed.
4332
4333 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4334
4335 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4336 (octave-mode-menu): Add octave-send-buffer.
4337 (octave-send-buffer): New function.
4338
4339 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4340
4341 * progmodes/octave.el (octave-mode-map): Add key binding for
4342 octave-lookfor.
4343 (octave-mode-menu): Add octave-lookfor.
4344 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4345 octave-lookfor.
4346 (octave-lookfor): New function.
4347
4348 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4349
4350 * emacs-lisp/cl-macs.el:
4351 (cl--loop-destr-temps): Remove.
4352 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4353 its convention.
4354 (cl--loop-set-iterator-function): New function.
4355 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4356 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4357 Bind `it' with `let' instead of substituting it with `cl-subst'.
4358 (cl--unused-var-p): New function.
4359 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4360 Eliminate some unused variable warnings (bug#15326).
4361
4362 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4363
4364 * doc-view.el (doc-view-scale-reset): Rename from
4365 `doc-view-reset-zoom-level'.
4366 (doc-view-scale-adjust): New command.
4367 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4368 `doc-view-scale-adjust'.
4369
4370 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4371
4372 * doc-view.el (doc-view-reset-zoom-level): New command.
4373 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4374 zoom commands (bug#15466).
4375
4376 2013-09-26 Kenichi Handa <handa@gnu.org>
4377
4378 * international/quail.el (quail-help): Make it not a command.
4379
4380 2013-09-26 Leo Liu <sdl.web@gmail.com>
4381
4382 * minibuffer.el (completion-all-sorted-completions): Make args
4383 optional as they are.
4384
4385 2013-09-25 Daniel Colascione <dancol@dancol.org>
4386
4387 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4388 specs are and that they're not evaluated.
4389
4390 2013-09-24 Sam Steingold <sds@gnu.org>
4391
4392 * midnight.el (clean-buffer-list-kill-regexps)
4393 (clean-buffer-list-kill-buffer-names): Update for the new Man
4394 buffer naming which includes the object name.
4395
4396 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4397
4398 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4399 (eshell-parse-command, eshell-parse-pipeline): Use it since
4400 eshell-separate-commands requires a dynamic scoped var.
4401 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4402
4403 2013-09-23 Leo Liu <sdl.web@gmail.com>
4404
4405 * autoinsert.el (auto-insert-alist): Make the value of
4406 lexical-binding match its file setting.
4407
4408 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4409
4410 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4411
4412 * autoarg.el (autoarg-kp-digit-argument):
4413 * electric.el (Electric-command-loop):
4414 * kmacro.el (kmacro-step-edit-insert):
4415 Do not set universal-argument-num-events.
4416
4417 2013-09-22 Leo Liu <sdl.web@gmail.com>
4418
4419 * files.el (interpreter-mode-alist): Add octave.
4420
4421 2013-09-21 Alan Mackenzie <acm@muc.de>
4422
4423 C++: fontify identifier in declaration following "public:" correctly.
4424 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4425 to match "public", etc.
4426 (c-decl-prefix-re): Add ":" into the C++ value.
4427 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4428 bit. Add a check for a ":" preceded by "public", etc.
4429
4430 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4431
4432 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4433 recognized by GDB 7.5 and later.
4434
4435 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4436
4437 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4438
4439 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4440
4441 * subr.el (internal--call-interactively): New const.
4442 (called-interactively-p): Use it (bug#3984).
4443
4444 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4445
4446 * vc/pcvs.el (cvs-mode-ignore):
4447 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4448 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4449
4450 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4453 (eshell-ls-orig-insert-directory): Remove.
4454 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4455 (eshell-ls-use-in-dired): Use advice-add/remove.
4456 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4457 Add `orig-fun' arg for use in :around advice.
4458 Make it check (redundantly) eshell-ls-use-in-dired.
4459
4460 2013-09-19 Glenn Morris <rgm@gnu.org>
4461
4462 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4463
4464 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4465
4466 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4467
4468 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4469
4470 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4471 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4472 (tramp-get-remote-python): New defuns.
4473 (tramp-get-remote-uid-with-perl)
4474 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4475 contributed by yary <not.com@gmail.com> (tiny change).
4476 (tramp-get-remote-uid-with-python)
4477 (tramp-get-remote-gid-with-python): New defuns. Python code
4478 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4479 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4480
4481 2013-09-19 Glenn Morris <rgm@gnu.org>
4482
4483 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4484
4485 * eshell/em-unix.el (eshell-remove-entries):
4486 Rename argument to avoid name-clash with global `top-level'.
4487
4488 * eshell/esh-proc.el (eshell-kill-process-function):
4489 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4490 (eshell-reset-after-proc): Remove unused arg `proc'.
4491
4492 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4493 (directory-files-and-attributes): Mark unused arg.
4494
4495 * eshell/em-unix.el (eshell-remove-entries):
4496 Remove unused arg `path'. Update callers.
4497
4498 * eshell/em-hist.el (eshell-hist-parse-arguments):
4499 Remove unused arg `silent'. Update callers.
4500
4501 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4502 Fix (f)boundp mix-up.
4503
4504 * eshell/em-smart.el (eshell-smart-scroll-window)
4505 (eshell-disable-after-change):
4506 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4507
4508 2013-09-18 Alan Mackenzie <acm@muc.de>
4509
4510 Fix fontification of type when followed by "const".
4511 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4512 "known" types from fontification.
4513
4514 2013-09-18 Glenn Morris <rgm@gnu.org>
4515
4516 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4517 (chart-face-list): Drop Emacsen without display-color-p.
4518
4519 * net/eww.el (libxml-parse-html-region): Declare.
4520 (eww-display-html): Explicit error if no libxml2 support.
4521
4522 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4523
4524 * image.el (image-type-from-buffer, image-multi-frame-p):
4525 Remove --without-x warning/error.
4526
4527 * mouse.el (mouse-yank-primary):
4528 * term.el (term-mouse-paste):
4529 Reorder to silence --without-x compilation.
4530
4531 * mpc.el (doc-view-mode): Silence --without-x compilation.
4532
4533 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4534 Silence --without-x compilation.
4535
4536 * progmodes/gud.el (gud-find-file, gud-mode):
4537 Silence --without-x compilation.
4538 (tooltip-mode): Declare.
4539
4540 * wdired.el (dired-backup-overwrite): Remove declaration.
4541 (wdired-mode-map): Add doc string.
4542
4543 * custom.el (x-get-resource): Declare.
4544
4545 * eshell/em-glob.el (ange-cache):
4546 * eshell/em-unix.el (ange-cache): Declare.
4547
4548 * faces.el (x-display-list, x-open-connection, x-get-resource):
4549 Declare.
4550
4551 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4552 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4553 Declare.
4554
4555 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4556
4557 * net/gnutls.el (gnutls-log-level): Declare.
4558
4559 * net/shr.el (image-size, image-animate): Declare.
4560
4561 * simple.el (font-info): Declare.
4562
4563 * subr.el (x-popup-dialog): Declare.
4564
4565 * term/common-win.el (x-select-enable-primary)
4566 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4567 Declare.
4568
4569 * term/ns-win.el (x-handle-args): Declare.
4570
4571 * term/x-win.el (x-select-enable-clipboard): Declare.
4572
4573 * term/w32-win.el (create-default-fontset): Declare.
4574
4575 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4576 Declare.
4577
4578 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4579 (fit-frame-to-buffer): Explicit error if --without-x.
4580 (mouse-autoselect-window-select): Silence compiler.
4581
4582 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4583
4584 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4585 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4586 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4587 * eshell/esh-util.el (eshell-sublist):
4588 Remove unused local variables.
4589
4590 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4591
4592 * textmodes/two-column.el: Make 2C-split work for --without-x.
4593 (scroll-bar-columns): Autoload.
4594 (top-level): Require fringe when compiling.
4595
4596 2013-09-18 Leo Liu <sdl.web@gmail.com>
4597
4598 * subr.el (add-hook): Robustify to handle closure as well.
4599
4600 2013-09-17 Glenn Morris <rgm@gnu.org>
4601
4602 * simple.el (messages-buffer-mode-map): Unbind "g".
4603
4604 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4605
4606 * help-mode.el (help-mode-finish): Use derived-mode-p.
4607 Remove obsolete highlighting.
4608
4609 * play/life.el (life-mode): Use define-derived-mode. Derive from
4610 special-mode.
4611 (life): Let-bind inhibit-read-only.
4612 (life-setup): Avoid `setq'. Use `life-mode'.
4613
4614 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4615 which should not be needed any more.
4616 (package-menu-refresh, package-menu-describe-package): Use user-error.
4617
4618 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4619 (eshell-post-rewrite-command-hook): Make obsolete.
4620 (eshell-parse-command): Simplify.
4621 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4622 (eshell--cmd): Declare.
4623 (eshell-parse-pipeline): Remove unused var `final-p'.
4624 Pass a dynvar to eshell-post-rewrite-command-hook.
4625 Implement the new eshell-post-rewrite-command-function.
4626 (eshell-invoke-directly): Remove unused arg `input'.
4627 * eshell/esh-io.el (eshell-io-initialize):
4628 Use eshell-post-rewrite-command-function (bug#15399).
4629 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4630 adjust to new calling convention.
4631 (eshell-create-handles): Rename args to avoid clashing with dynvar
4632 `standard-output'.
4633
4634 2013-09-17 Glenn Morris <rgm@gnu.org>
4635
4636 * simple.el (messages-buffer-mode): New major mode.
4637 (messages-buffer): New function.
4638 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4639 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4640 (ert-run-test): Use `messages-buffer' function.
4641 (ert--force-message-log-buffer-truncation): Ignore read-only.
4642 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4643 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4644
4645 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4648
4649 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4650
4651 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * icomplete.el (icomplete-in-buffer): New var.
4654 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4655 vars and replace them with functions.
4656 (icomplete-minibuffer-setup): Adjust accordingly.
4657 (icomplete--completion-table, icomplete--completion-predicate)
4658 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4659 New functions.
4660 (icomplete-forward-completions, icomplete-backward-completions)
4661 (icomplete-simple-completing-p, icomplete-exhibit)
4662 (icomplete-completions): Use them.
4663 (icomplete--in-region-buffer): New var.
4664 (icomplete--in-region-setup): New function.
4665 (icomplete-mode): Use it.
4666
4667 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4668 (bug#15379).
4669 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4670 return args and options.
4671 (eshell-eval-using-options): Use the new return value of
4672 eshell--do-opts to set the options's vars in their scope.
4673 (eshell--set-option): Rename from eshell-set-option.
4674 Add arg `opt-vals'.
4675 (eshell--process-option): Rename from eshell-process-option.
4676 Add arg `opt-vals'.
4677 (eshell--process-args): Use an `opt-vals' alist to store the options's
4678 values during their processing and return them additionally to the
4679 remaining args.
4680
4681 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4682
4683 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4684 continuation character an operator, as far as indentation is
4685 concerned (Bug#15369).
4686
4687 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4688
4689 * window.el (window--state-put-2): Don't process buffer state
4690 when buffer doesn't exist any more (Bug#15382).
4691
4692 2013-09-15 Glenn Morris <rgm@gnu.org>
4693
4694 * eshell/em-unix.el (eshell/rm):
4695 Make -f ignore missing files. (Bug#15373)
4696
4697 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4698 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4699 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4700
4701 2013-09-14 Glenn Morris <rgm@gnu.org>
4702
4703 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4704
4705 2013-09-13 Glenn Morris <rgm@gnu.org>
4706
4707 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4708 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4709
4710 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4711
4712 * frame.el (x-focus-frame): Mark as declared in frame.c.
4713
4714 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * ls-lisp.el: Use advice-add.
4717 (original-insert-directory): Remove.
4718 (ls-lisp--insert-directory): Rename from insert-directory; add
4719 `orig-fun' argument.
4720 (insert-directory): Advise.
4721
4722 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4723
4724 * term.el (term-emulate-terminal): Decode the command string
4725 before passing it to term-command-hook. (Bug#15337)
4726
4727 2013-09-13 Glenn Morris <rgm@gnu.org>
4728
4729 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4730
4731 * eshell/esh-ext.el (eshell-search-path): Declare.
4732
4733 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4734 Otherwise an error occurs if eshell-dirs module not loaded.
4735
4736 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4737
4738 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4739
4740 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4741 `tramp-check-proper-host'. Check for a valid method name.
4742
4743 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4744 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4745 * net/tramp-sh.el (tramp-maybe-open-connection):
4746 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4747
4748 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4749 also for hash values.
4750
4751 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * term/ns-win.el (parameters): Don't declare as dynamic.
4754 (before-make-frame-hook): Don't add ineffective function.
4755
4756 * eshell/*.el: Use lexical-binding (bug#15231).
4757
4758 2013-09-12 Kenichi Handa <handa@gnu.org>
4759
4760 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4761
4762 2013-09-12 Glenn Morris <rgm@gnu.org>
4763
4764 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4765 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4766
4767 * subr.el (do-after-load-evaluation): Also give compiler warnings
4768 when obsolete files are used (except by obsolete files).
4769
4770 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4771 in the status output, assume `filename' is the first. (Bug#15322)
4772
4773 * vc/vc.el (vc-deduce-fileset): Doc fix.
4774
4775 * calc/calc-help.el (Info-goto-node):
4776 * progmodes/cperl-mode.el (Info-find-node):
4777 * vc/ediff.el (Info-goto-node): Update declarations.
4778
4779 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4780
4781 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4782 (vc-bzr-pull): Require vc-dispatcher.
4783 * vc/vc-git.el (vc-compilation-mode): Declare.
4784 (vc-git-pull): Require vc-dispatcher.
4785
4786 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4787
4788 * progmodes/octave.el (help-button-action): Declare.
4789
4790 * shell.el (shell-directory-tracker): Output error as a message
4791 rather than just returning it as a string.
4792 (shell-process-pushd): Remove useless use of message.
4793
4794 * dframe.el (dframe-timer-fn):
4795 * files.el (dir-locals-read-from-file):
4796 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4797 (mpc-format):
4798 * reveal.el (reveal-post-command):
4799 * saveplace.el (load-save-place-alist-from-file):
4800 * shell.el (shell-resync-dirs):
4801 * w32-common-fns.el (x-get-selection-value):
4802 * emacs-lisp/copyright.el (copyright-find-copyright):
4803 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4804 * emulation/tpu-edt.el (tpu-copy-keyfile):
4805 * play/bubbles.el (bubbles--mark-neighbourhood):
4806 * progmodes/executable.el
4807 (executable-make-buffer-file-executable-if-script-p):
4808 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4809
4810 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 Cleanup Eshell to rely less on dynamic scoping.
4813 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4814 last-value, and ext-command here. Bind `args' closer to `body'.
4815 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4816 (eshell--args): Declare new dynamic var.
4817 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4818 last-value, and ext-command. Pass `args' to `body'.
4819 (eshell-process-args): Bind eshell--args.
4820 (eshell-set-option): Use eshell--args.
4821 * eshell/eshell.el (eshell): Use derived-mode-p.
4822 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4823 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4824 (eshell-glob-function): Declare.
4825 * eshell/esh-util.el: Require cl-lib.
4826 (eshell-read-hosts-file): Avoid add-to-list.
4827 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4828 `err'.
4829 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4830 Declare.
4831 (eshell/diff): Remove unused var `err'.
4832 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4833 `killflag'.
4834 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4835 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4836 first use.
4837 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4838 Move declaration before first use.
4839 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4840 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4841 rely on cl-return.
4842
4843 2013-09-12 Glenn Morris <rgm@gnu.org>
4844
4845 * term/ns-win.el (global-map): Remove binding for ispell-next,
4846 deleted 1999-05-29. (Bug#15357)
4847
4848 2013-09-11 Glenn Morris <rgm@gnu.org>
4849
4850 * echistory.el (electric-command-history): Remove call to deleted func.
4851
4852 * play/landmark.el (landmark-mode): Fix typos.
4853
4854 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4855 Check cvs-sort-ignore-file is bound.
4856
4857 * savehist.el: No need for cl when compiling on Emacs.
4858
4859 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4862 (bug#15338).
4863 (eshell-self-insert-command, eshell-send-invisible):
4864 Remove unused argument.
4865 (eshell-handle-control-codes): Remove unused var `orig'.
4866 Avoid delete-backward-char.
4867
4868 * files.el (set-auto-mode): Simplify a bit further.
4869
4870 2013-09-11 Glenn Morris <rgm@gnu.org>
4871
4872 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4873 (set-auto-mode): Don't regexp-quote elements.
4874 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4875 * progmodes/cc-mode.el (interpreter-mode-alist):
4876 * progmodes/ruby-mode.el (interpreter-mode-alist):
4877 Revert previous change.
4878
4879 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4880
4881 * play/snake.el (snake-mode):
4882 * play/mpuz.el (mpuz-mode):
4883 * play/landmark.el (lm-mode):
4884 * play/blackbox.el (blackbox-mode):
4885 * play/5x5.el (5x5-mode):
4886 * obsolete/options.el (Edit-options-mode):
4887 * net/quickurl.el (quickurl-list-mode):
4888 * net/newst-treeview.el (newsticker-treeview-mode):
4889 * mail/rmailsum.el (rmail-summary-mode):
4890 * mail/mspools.el (mspools-mode):
4891 * locate.el (locate-mode):
4892 * ibuffer.el (ibuffer-mode):
4893 * emulation/ws-mode.el (wordstar-mode):
4894 * emacs-lisp/debug.el (debugger-mode):
4895 * array.el (array-mode):
4896 * net/eudc.el (eudc-mode): Use define-derived-mode.
4897 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4898 Move initialization into declaration.
4899 (mairix-searches-mode): Use define-derived-mode.
4900 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4901 (eudc-edit-hotlist): Use dolist.
4902 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4903 (Man-mode): Use define-derived-mode.
4904 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4905 (Info-edit-mode): Use define-derived-mode.
4906 (Info-cease-edit): Use Info-mode.
4907 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4908 into declaration.
4909 (eshell-mode): Use define-derived-mode.
4910 * chistory.el (command-history-mode-map): Rename from
4911 command-history-map.
4912 (command-history-mode): Use define-derived-mode.
4913 (Command-history-setup): Remove function.
4914 * calc/calc.el (calc-trail-mode-map): New var.
4915 (calc-trail-mode): Use define-derived-mode.
4916 (calc-trail-buffer): Set calc-main-buffer manually.
4917 * bookmark.el (bookmark-insert-annotation): New function.
4918 (bookmark-edit-annotation): Use it.
4919 (bookmark-edit-annotation-mode): Make it a proper major mode.
4920 (bookmark-send-edited-annotation): Use derived-mode-p.
4921 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4922 closer to its ideal place. Use \' to match EOS.
4923
4924 * profiler.el (profiler-calltree-find): Use function-equal.
4925
4926 2013-09-10 Glenn Morris <rgm@gnu.org>
4927
4928 * files.el (interpreter-mode-alist): Convert to regexps.
4929 (set-auto-mode): Adapt for this. (Bug#15306)
4930 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4931 Comment out unused variable.
4932 * progmodes/cc-mode.el (interpreter-mode-alist):
4933 * progmodes/python.el (interpreter-mode-alist):
4934 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4935 * progmodes/sh-script.el (sh-set-shell):
4936 No longer use interpreter-mode-alist to get list of shells.
4937
4938 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4939
4940 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * simple.el: Use set-temporary-overlay-map for universal-argument.
4943 (universal-argument-map): Don't use default-bindings (bug#15317).
4944 Bind switch-frame explicitly. Replace universal-argument-minus with
4945 a conditional binding.
4946 (universal-argument-num-events, saved-overriding-map): Remove.
4947 (restore-overriding-map): Remove.
4948 (universal-argument--mode): Rename from save&set-overriding-map,
4949 and rewrite.
4950 (universal-argument, universal-argument-more, negative-argument)
4951 (digit-argument): Adjust accordingly.
4952 (universal-argument-minus): Remove.
4953 (universal-argument-other-key): Remove.
4954
4955 * subr.el (with-demoted-errors): Add `format' argument.
4956
4957 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4958
4959 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4960 `tramp-cleanup-connection'.
4961
4962 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4963 parameters KEEP-DEBUG and KEEP-PASSWORD.
4964
4965 * net/tramp.el (tramp-file-name-handler):
4966 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4967 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4968 (tramp-maybe-open-connection):
4969 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4970 Use `tramp-cleanup-connection'.
4971
4972 * net/tramp-sh.el (tramp-maybe-open-connection):
4973 Catch 'uname-changed inside the progress reporter.
4974
4975 2013-09-10 Glenn Morris <rgm@gnu.org>
4976
4977 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4978
4979 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4980 returns "alternate access method" in mode (eg "-rw-r--r--.").
4981
4982 2013-09-08 Glenn Morris <rgm@gnu.org>
4983
4984 * saveplace.el (load-save-place-alist-from-file):
4985 Demote errors. (Bug#15305)
4986
4987 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4988
4989 Improve compatibility with older Emacsen, and XEmacs.
4990
4991 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4992 only if it is bound. It isn't for XEmacs.
4993 (with-tramp-progress-reporter): Do not let-bind `result'.
4994 This yields to scoping errors in XEmacs.
4995 (tramp-handle-make-auto-save-file-name): New function, moved from
4996 tramp-sh.el.
4997
4998 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4999 for `make-auto-save-file-name'.
5000 (tramp-adb--gnu-switches-to-ash):
5001 Use `tramp-compat-replace-regexp-in-string'.
5002
5003 * net/tramp-cache.el (tramp-cache-print): Call
5004 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5005
5006 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5007 bound. It isn't for XEmacs.
5008
5009 * net/tramp-compat.el (tramp-compat-copy-file):
5010 Catch `wrong-number-of-arguments' error.
5011 (tramp-compat-replace-regexp-in-string): New defun.
5012
5013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5014 for `make-auto-save-file-name'.
5015 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5016 `copy-file'.
5017 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5018 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5019 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5020
5021 * net/tramp-gw.el (tramp-gw-open-network-stream):
5022 Use `tramp-compat-replace-regexp-in-string'.
5023
5024 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5025 Call `tramp-handle-make-auto-save-file-name'.
5026 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5027 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5028 (tramp-sh-file-inotifywait-process-filter):
5029 Use `tramp-compat-replace-regexp-in-string'.
5030 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5031
5032 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5033 for `make-auto-save-file-name'.
5034 (tramp-smb-handle-copy-directory):
5035 Call `tramp-compat-replace-regexp-in-string'.
5036 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5037 (tramp-smb-handle-copy-file): Improve error message.
5038 (tramp-smb-handle-rename-file): Rename directly only in case
5039 `newname' does not exist yet. This is a restriction of smbclient.
5040 (tramp-smb-maybe-open-connection): Rerun the function only when
5041 `auth-sources' is non-nil.
5042
5043 2013-09-08 Kenichi Handa <handa@gnu.org>
5044
5045 * international/characters.el: Set category "^" (Combining) for
5046 more characters.
5047
5048 2013-09-07 Alan Mackenzie <acm@muc.de>
5049
5050 Correctly fontify Java class constructors.
5051 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5052 in Java Mode.
5053 (c-recognize-typeless-decls): Set the Java value to t.
5054 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5055 While handling a "(", add a check for, effectively, Java, and handle a
5056 "typeless" declaration there.
5057
5058 2013-09-07 Roland Winkler <winkler@gnu.org>
5059
5060 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5061 field subtitle for entry type book.
5062
5063 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * minibuffer.el: Make minibuffer-complete call completion-in-region
5066 rather than other way around.
5067 (completion--some, completion-pcm--find-all-completions):
5068 Don't delay signals when debugging.
5069 (minibuffer-completion-contents): Beware fields within the
5070 minibuffer contents.
5071 (completion-all-sorted-completions): Use defvar-local.
5072 (completion--do-completion, completion--cache-all-sorted-completions)
5073 (completion-all-sorted-completions, minibuffer-force-complete):
5074 Add args `beg' and `end'.
5075 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5076 (minibuffer-complete): Use completion-in-region.
5077 (completion-complete-and-exit): New fun, extracted from
5078 minibuffer-complete-and-exit.
5079 (minibuffer-complete-and-exit): Use it.
5080 (completion--complete-and-exit): Rename from
5081 minibuffer--complete-and-exit.
5082 (completion-in-region--single-word): New function, extracted from
5083 minibuffer-complete-word.
5084 (minibuffer-complete-word): Use it.
5085 (display-completion-list): Make `common-substring' argument obsolete.
5086 (completion--in-region): Call completion--in-region-1 instead of
5087 minibuffer-complete.
5088 (completion-help-at-point): Pass boundaries to
5089 minibuffer-completion-help as args rather than via an overlay.
5090 (completion-pcm--string->pattern): Use `any-delim'.
5091 (completion-pcm--optimize-pattern): New function.
5092 (completion-pcm--pattern->regex): Handle `any-delim'.
5093 * icomplete.el (icomplete-forward-completions)
5094 (icomplete-backward-completions, icomplete-completions):
5095 Adjust calls to completion-all-sorted-completions and
5096 completion--cache-all-sorted-completions.
5097 (icomplete-with-completion-tables): Default to t.
5098 * emacs-lisp/crm.el (crm--current-element): Rename from
5099 crm--select-current-element. Don't put an overlay but return the
5100 boundaries instead.
5101 (crm--completion-command): Take two new args to bind to the boundaries.
5102 (crm-completion-help): Adjust accordingly.
5103 (crm-complete): Use completion-in-region.
5104 (crm-complete-word): Use completion-in-region--single-word.
5105 (crm-complete-and-exit): Use completion-complete-and-exit.
5106
5107 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5110 than dynamically.
5111
5112 2013-09-06 Juri Linkov <juri@jurta.org>
5113
5114 * info.el (Info-display-images-node): When image file doesn't exist
5115 display text version of the image if it's provided in the Info file.
5116 Otherwise, display the location of missing image from SRC attribute.
5117 Add help-echo text property from ALT attribute. (Bug#15279)
5118
5119 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5120
5121 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5122 (edit-abbrevs-mode): Use define-derived-mode.
5123
5124 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5125 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5126 that it's defined.
5127 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5128 Use define-derived-mode.
5129
5130 * epg.el (epg-start-encrypt): Minor CSE simplification.
5131
5132 2013-09-06 William Xu <william.xwl@gmail.com>
5133
5134 * arc-mode.el: Add support for 7za (bug#15264).
5135 (archive-7z-program): New var.
5136 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5137 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5138 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5139
5140 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5141
5142 Remove URL syntax.
5143
5144 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5145 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5146 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5147 (tramp-postfix-host-format, tramp-file-name-regexp)
5148 (tramp-completion-file-name-regexp)
5149 (tramp-completion-dissect-file-name)
5150 (tramp-handle-substitute-in-file-name): Remove 'url case.
5151 (tramp-file-name-regexp-url)
5152 (tramp-completion-file-name-regexp-url): Remove constants.
5153
5154 2013-09-06 Glenn Morris <rgm@gnu.org>
5155
5156 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5157
5158 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5159
5160 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5161 keywords" below "here-doc beginnings" (Bug#15270).
5162
5163 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * subr.el (pop): Use `car-safe'.
5166 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5167 to detect unused `pop' return value.
5168
5169 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5170 var `block-regexp'.
5171 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5172 (python-fill-string): Remove unused var `marker'.
5173 (python-skeleton-add-menu-items): Remove unused var `items'.
5174
5175 * international/mule-cmds.el: Require CL.
5176 (find-coding-systems-for-charsets): Avoid add-to-list.
5177 (sanitize-coding-system-list): New function, extracted from
5178 select-safe-coding-system-interactively.
5179 (select-safe-coding-system-interactively): Use it.
5180 (read-input-method-name): Accept symbols for `default'.
5181
5182 * emacs-lisp/advice.el (defadvice): Add indent rule.
5183
5184 2013-09-05 Daniel Hackney <dan@haxney.org>
5185
5186 * dired-x.el:
5187 * net/ange-ftp.el:
5188 * net/browse-url.el:
5189 * net/dbus.el:
5190 * net/eudc.el:
5191 * net/eudcb-ldap.el:
5192 * net/eww.el:
5193 * net/imap.el:
5194 * printing.el:
5195 * vc/ediff-diff.el:
5196 * vc/ediff-init.el:
5197 * vc/ediff-merg.el:
5198 * vc/ediff-mult.el:
5199 * vc/ediff-util.el:
5200 * vc/ediff-wind.el:
5201 * vc/ediff.el:
5202 * vc/emerge.el:
5203 * vc/pcvs.el:
5204 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5205 byte compiler. Remove some unused let-bound variables.
5206
5207 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5210 a "ref-cell", since it gets better optimized (bug#14883).
5211
5212 2013-09-05 Glenn Morris <rgm@gnu.org>
5213
5214 * progmodes/cc-awk.el (c-forward-sws): Declare.
5215
5216 2013-09-04 Glenn Morris <rgm@gnu.org>
5217
5218 * generic-x.el [rul-generic-mode]: Require cc-mode.
5219 (c++-mode-syntax-table): Declare.
5220 (rul-generic-mode-syntax-table): Init in the defvar.
5221
5222 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5225 (vc-do-command, vc-set-async-update):
5226 * vc/vc-mtn.el (vc-mtn-dir-status):
5227 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5228 (vc-hg-pull, vc-hg-merge-branch):
5229 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5230 (vc-git-merge-branch):
5231 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5232 (vc-cvs-dir-status-files):
5233 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5234 (vc-bzr-dir-status-files):
5235 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5236 * vc/vc-annotate.el: Use lexical-binding.
5237 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5238 (vc-sentinel-movepoint): Declare.
5239 (vc-annotate): Don't use `goto-line'.
5240 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5241 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5242 (vc-sentinel-movepoint): Declare.
5243 * vc/vc-svn.el: Use lexical-binding.
5244 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5245 * vc/vc-sccs.el:
5246 * vc/vc-rcs.el: Use lexical-binding.
5247
5248 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5249 `deleted'. Don't drop errors silently.
5250
5251 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5252
5253 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5254
5255 * vc/vc.el (vc-ignore): Rewrite.
5256 (vc-default-ignore): New function.
5257 (vc-default-ignore-completion-table): Use find-ignore-file.
5258
5259 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5260 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5261 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5262 Remove. Most code moved to vc.el.
5263
5264 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5265
5266 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5267 * net/tramp-smb.el (tramp-smb-get-file-entries):
5268 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5269 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5270
5271 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5272 Update call to it.
5273 (eww-change-select): Remove unused var `properties'.
5274 (eww-make-unique-file-name): Remove unused var `base'.
5275
5276 * finder.el (finder-compile-keywords): Don't mess with windows.
5277
5278 * calculator.el (calculator-funcall): Fix typo in last change.
5279
5280 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5281
5282 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5283 <pkg>-autoloads.el file stop us.
5284
5285 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5286 warnings, and factor out common code.
5287
5288 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5289
5290 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5291 two-character operators and whether the character preceding them
5292 changes their meaning (Bug#15208).
5293
5294 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5295
5296 Format code sent to Python shell for robustness.
5297 * progmodes/python.el (python-shell-buffer-substring):
5298 New function.
5299 (python-shell-send-region, python-shell-send-buffer): Use it.
5300
5301 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5302
5303 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5304 * net/tramp.el (tramp-user-error): ... here.
5305 (tramp-find-method, tramp-check-proper-host)
5306 (tramp-dissect-file-name, tramp-debug-message)
5307 (tramp-handle-shell-command):
5308 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5309 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5310
5311 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5312
5313 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5314
5315 * avoid.el (mouse-avoidance-point-position)
5316 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5317 returns nil.
5318
5319 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5320
5321 * progmodes/python.el (python-shell-completion-get-completions):
5322 Drop use of deleted `comint-last-prompt-overlay'.
5323 (python-nav-if-name-main): New command.
5324
5325 2013-09-01 Glenn Morris <rgm@gnu.org>
5326
5327 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5328 Avoid leading space in $wins. Otherwise the sed command used by
5329 eg compile-main ends up containing "/*.el". (Bug#15170)
5330
5331 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5332
5333 2013-08-30 Glenn Morris <rgm@gnu.org>
5334
5335 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5336 Fix is-this-a-directory logic. (Bug#15220)
5337
5338 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5339
5340 * textmodes/css-mode.el: Use SMIE.
5341 (css-smie-grammar): New var.
5342 (css-smie--forward-token, css-smie--backward-token)
5343 (css-smie-rules): New functions.
5344 (css-mode): Use them.
5345 (css-navigation-syntax-table): Remove var.
5346 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5347 (css-indent-calculate, css-indent-line): Remove functions.
5348
5349 Misc changes to reduce use of `(lambda...); and other cleanups.
5350 * cus-edit.el: Use lexical-binding.
5351 (customize-push-and-save, customize-apropos)
5352 (custom-buffer-create-internal): Use closures.
5353 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5354 * progmodes/ada-xref.el: Use setq.
5355 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5356 * dframe.el: Use lexical-binding.
5357 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5358 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5359 * descr-text.el: Use lexical-binding.
5360 (describe-text-widget, describe-text-sexp, describe-property-list):
5361 Use closures.
5362 * comint.el (comint-history-isearch-push-state): Use a closure.
5363 * calculator.el: Use lexical-binding.
5364 (calculator-number-to-string): Make it work with lexical-binding.
5365 (calculator-funcall): Same and use cl-letf.
5366
5367 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5368 (lisp--company-doc-string, lisp--company-location): New functions.
5369 (lisp-completion-at-point): Use them to improve Company support.
5370
5371 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5372 params of lambda expressions.
5373 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5374 (ruby-smie--opening-pipe-p): New function.
5375 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5376 symbols and matched |...| for formal params.
5377 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5378 from being treated as hanging. Handle "rescue".
5379
5380 2013-08-29 Glenn Morris <rgm@gnu.org>
5381
5382 * progmodes/cc-engine.el (c-pull-open-brace):
5383 Move definition before use.
5384
5385 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5388 are immutable. Don't use `unsafe' any more.
5389 (cl--defsubst-expand): Don't substitute at the same time as keeping
5390 a residual unused let-binding. Don't use `unsafe' any more.
5391
5392 2013-08-29 Glenn Morris <rgm@gnu.org>
5393
5394 * calendar/cal-china.el (calendar-chinese-year-cache):
5395 Recenter on 2015.
5396
5397 * nxml/nxml-util.el (nxml-debug-clear-inside):
5398 Use cl-loop rather than loop.
5399
5400 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5401
5402 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5403
5404 2013-08-28 Glenn Morris <rgm@gnu.org>
5405
5406 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5407
5408 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5409
5410 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5411
5412 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * simple.el (repeat-complex-command--called-interactively-skip):
5415 New function.
5416 (repeat-complex-command): Use it (bug#14136).
5417
5418 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5419 (c-define-abbrev-table): Add `doc' argument.
5420 (c-mode-abbrev-table, c++-mode-abbrev-table)
5421 (objc-mode-abbrev-table, java-mode-abbrev-table)
5422 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5423 (awk-mode-abbrev-table): Use it.
5424 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5425 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5426 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5427 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5428 Move initialization into the declaration; and remove any
5429 autoload cookie.
5430
5431 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5432 and dynamic let binding.
5433
5434 * vc/smerge-mode.el: Remove redundant :group args.
5435
5436 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5437 to load-path.
5438
5439 2013-08-28 Juri Linkov <juri@jurta.org>
5440
5441 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5442 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5443 (isearch-other-meta-char): Handle an undefined shifted printing
5444 character by downshifting it. (Bug#15200)
5445
5446 2013-08-28 Juri Linkov <juri@jurta.org>
5447
5448 * isearch.el (isearch-search): Change regexp error message for
5449 non-regexp searches. (Bug#15166)
5450
5451 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5452
5453 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5454 for portability to hosts where /bin/sh has problems.
5455
5456 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5459
5460 2013-08-27 Juri Linkov <juri@jurta.org>
5461
5462 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5463 in the keyboard macro. (Bug#15126)
5464
5465 2013-08-27 Juri Linkov <juri@jurta.org>
5466
5467 * isearch.el (isearch-quote-char): Comment out converting unibyte
5468 to multibyte, thus syncing with its `quoted-insert' counterpart.
5469 (Bug#15166)
5470
5471 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5472
5473 * window.el (display-buffer-use-some-window): Add missing
5474 argument in call of get-largest-window (Bug#15185).
5475 Reported by Stephen Leake.
5476
5477 2013-08-27 Glenn Morris <rgm@gnu.org>
5478
5479 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5480
5481 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5482
5483 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5484 from a matcher-function unless there's no more matches (bug#15161).
5485
5486 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5487
5488 * minibuffer.el: Revert change from 2013-08-20.
5489
5490 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5491 with text property `tramp-default', if appropriate.
5492 (tramp-check-proper-host): New defun.
5493 (tramp-dissect-file-name): Do not check hostname. Revert change
5494 of 2013-03-18.
5495 (tramp-backtrace): Make VEC-OR-PROC optional.
5496
5497 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5498 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5499 * net/tramp-sh.el (tramp-maybe-open-connection):
5500 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5501 Apply `tramp-check-proper-host'.
5502
5503 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5504
5505 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5506 lambda expression in order to have `describe-variable' display it.
5507
5508 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5509
5510 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5511 BUF can be optional. (Bug#15186)
5512
5513 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5514
5515 * progmodes/flymake.el (flymake-get-real-file-name-function):
5516 Fix broken customization. (Bug#15184)
5517
5518 2013-08-25 Alan Mackenzie <acm@muc.de>
5519
5520 Improve indentation of bracelists defined by macros (without "=").
5521
5522 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5523 expansion begins with "{", regard it as bracelist when it doesn't
5524 contain a ";".
5525
5526 Parse C++ inher-intro when there's a template split over 2 lines.
5527
5528 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5529 rigorously the search for "class" etc. followed by ":".
5530
5531 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5532 random languages a regexp which never matches rather than nil.
5533
5534 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5535
5536 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5537 (c-awk-regexp-one-line-possibly-open-char-list-re)
5538 (c-awk-one-line-possibly-open-regexp-re)
5539 (c-awk-one-line-non-syn-ws*-re): Remove.
5540 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5541 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5542 (c-awk-space*-unclosed-regexp-/-re): New constants.
5543 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5544 aren't regexp delimiters.
5545
5546 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5547 handling for a rare situation in AWK Mode involving unterminated
5548 strings/regexps.
5549
5550 2013-08-23 Glenn Morris <rgm@gnu.org>
5551
5552 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5553
5554 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5555
5556 * files.el (create-file-buffer): If the result would begin with
5557 spaces, prepend a "|" instead of removing them. (Bug#15162)
5558
5559 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5562 text-properties (bug#15155).
5563
5564 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5565 exist any more.
5566 (calc-keypad-redraw): Remove unused var `pad'.
5567 (calc-keypad-press): Remove unused var `menu'.
5568
5569 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5570
5571 * window.el (display-buffer-pop-up-frame):
5572 Call pop-up-frame-function with BUFFER current so `make-frame' will
5573 use it as the new frame's buffer (Bug#15133).
5574
5575 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * calendar/timeclock.el: Minor cleanups.
5578 (timeclock-ask-before-exiting, timeclock-use-display-time):
5579 Use `symbol'.
5580 (timeclock-modeline-display): Define as alias before the
5581 actual definition.
5582 (timeclock-mode-line-display): Use define-minor-mode.
5583 (timeclock-day-list-template): Make it a function, add an argument.
5584 (timeclock-day-list-required, timeclock-day-list-length)
5585 (timeclock-day-list-debt, timeclock-day-list-span)
5586 (timeclock-day-list-break): Adjust calls accordingly.
5587
5588 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5589
5590 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5591 Use read--expression so that completion works again.
5592
5593 2013-08-21 Sam Steingold <sds@gnu.org>
5594
5595 Add rudimentary inferior shell interaction
5596 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5597 (sh-set-shell): Reset it.
5598 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5599 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5600
5601 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * align.el: Use lexical-binding.
5604 (align-region): Simplify accordingly.
5605
5606 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5607
5608 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5609
5610 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5611 `non-essential' up.
5612
5613 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5614
5615 * net/tramp.el:
5616 * net/tramp-adb.el:
5617 * net/tramp-cmds.el:
5618 * net/tramp-ftp.el:
5619 * net/tramp-gvfs.el:
5620 * net/tramp-gw.el:
5621 * net/tramp-sh.el: Don't wrap external variable declarations by
5622 `eval-when-compile'.
5623
5624 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5625
5626 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5627 now that Emacs supports ImageMagick animations.
5628
5629 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5630
5631 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5632 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5633
5634 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5635
5636 * window.el (mouse-autoselect-window-select): Do autoselect when
5637 mouse pointer is on margin.
5638
5639 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5640
5641 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5642
5643 2013-08-16 Glenn Morris <rgm@gnu.org>
5644
5645 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5646 Handle "Remote Directory" response of some clients. (Bug#15058)
5647
5648 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5649 Tweak warning. (Bug#14926)
5650
5651 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5652 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5653
5654 * image-mode.el (image-mode-map): Add menu items to reverse,
5655 increase, decrease, reset animation speed.
5656 (image--set-speed, image-increase-speed, image-decrease-speed)
5657 (image-reverse-speed, image-reset-speed): New functions.
5658 (image-mode-map): Add bindings for speed commands.
5659
5660 * image.el (image-animate-get-speed, image-animate-set-speed):
5661 New functions.
5662 (image-animate-timeout): Respect image :speed property.
5663
5664 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5667 previous line (bug#15101).
5668 (debugger-eval-expression, debugger-record-expression):
5669 Use read--expression (bug#15102).
5670
5671 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5672
5673 Remove byte compiler warnings, visible when compiling with
5674 `byte-compile-force-lexical-warnings' set to t.
5675
5676 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5677 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5678 (tramp-handle-unhandled-file-name-directory)
5679 (tramp-handle-file-notify-add-watch, tramp-action-login)
5680 (tramp-action-succeed, tramp-action-permission-denied)
5681 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5682 arguments with "_".
5683
5684 * net/tramp-adb.el (tramp-adb-parse-device-names)
5685 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5686 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5687 (tramp-adb-handle-file-truename): Remove unused arguments.
5688
5689 * net/tramp-cache.el (tramp-flush-directory-property)
5690 (tramp-flush-connection-property, tramp-list-connections)
5691 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5692
5693 * net/tramp-compat.el (tramp-compat-make-temp-file):
5694 Rename FILENAME to F.
5695
5696 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5697 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5698 (tramp-zeroconf-parse-workstation-device-names)
5699 (tramp-zeroconf-parse-webdav-device-names)
5700 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5701
5702 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5703 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5704
5705 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5706 arguments.
5707 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5708 (tramp-sh-handle-insert-file-contents-literally)
5709 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5710 with "_".
5711 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5712 Remove unused variables.
5713
5714 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5715 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5716 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5717
5718 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5719 Make them a defconst.
5720 (tramp-uuencode-region): Remove unused variable.
5721
5722 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5723
5724 * frameset.el (frameset--prop-setter): New function.
5725 (frameset-prop): Add gv-setter declaration.
5726 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5727 parameter was already set in FILTERED. Doc fix.
5728 (frameset--record-minibuffer-relationships): Allow saving a
5729 minibufferless frame without its corresponding minibuffer frame.
5730 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5731 frame, if the frame id matches.
5732 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5733 frames before orphaned ones.
5734 (frameset-restore): Warn about orphaned windows, instead of error out.
5735
5736 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5737
5738 * window.el (window-make-atom): Don't overwrite parameter
5739 already present.
5740 (display-buffer-in-atom-window): Handle special case where we
5741 split an already atomic window.
5742 (window--major-non-side-window, display-buffer-in-side-window)
5743 (window--side-check): Ignore minibuffer window when walking
5744 window tree.
5745 (window-deletable-p): Return 'frame only if no other frame uses
5746 our minibuffer window.
5747 (record-window-buffer): Run buffer-list-update-hook.
5748 (split-window): Make sure window--check-frame won't destroy an
5749 existing atomic window in case the new window gets nested
5750 inside.
5751 (display-buffer-at-bottom): Ignore minibuffer window when
5752 walking window tree. Don't split a side window.
5753 (pop-to-buffer): Don't set-buffer here, the select-window call
5754 should do that.
5755 (mouse-autoselect-window-select): Autoselect only if we are in the
5756 text portion of the window.
5757
5758 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5759
5760 * net/shr.el (shr-parse-image-data): New function to grab both the
5761 data itself and the Content-Type.
5762 (shr-put-image): Use it.
5763
5764 * net/eww.el (eww-display-image): Ditto.
5765
5766 * image.el (image-content-type-suffixes): New variable.
5767
5768 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5769
5770 * progmodes/python.el (python-imenu--build-tree)
5771 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5772
5773 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5774
5775 * simple.el (backward-word): Mention the optional argument.
5776
5777 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * frameset.el (frameset--make): Rename constructor from make-frameset.
5780 (frameset-p, frameset-valid-p): Don't autoload.
5781 (frameset-valid-p): Use normal accessors.
5782
5783 2013-08-13 Glenn Morris <rgm@gnu.org>
5784
5785 * progmodes/compile.el (compile-command): Tweak example in doc.
5786 * obsolete/scribe.el (scribe-mode):
5787 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5788
5789 * mail/feedmail.el (feedmail-confirm-outgoing)
5790 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5791
5792 * cus-start.el (truncate-partial-width-windows): Fix type.
5793
5794 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5795
5796 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5797
5798 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * emacs-lisp/timer.el (timer--time-setter): New function.
5801 (timer--time): Use it as gv-setter.
5802
5803 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5804 setter is not a symbol.
5805
5806 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5807
5808 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5809 if sending fails. This makes debugging easier.
5810
5811 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5812
5813 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5814 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5815 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5816
5817 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5818
5819 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5820
5821 2013-08-12 Glenn Morris <rgm@gnu.org>
5822
5823 * format.el (format-annotate-function):
5824 Handle read-only text properties in the source. (Bug#14887)
5825
5826 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5827
5828 * net/eww.el (eww-display-html): Ignore coding system errors.
5829 One web site uses "utf-8lias" as the coding system.
5830
5831 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5834
5835 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5836
5837 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5838 (tutorial--detailed-help): Remove unused local variables.
5839 (tutorial--save-tutorial-to): Use ignore-errors.
5840 (help-with-tutorial): Use looking-at-p.
5841
5842 * view.el (view-buffer-other-window, view-buffer-other-frame):
5843 Mark unused arguments.
5844
5845 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5846 (woman-select-symbol-fonts, woman, woman-find-file)
5847 (woman-insert-file-contents, woman-non-underline-faces):
5848 Use string-match-p.
5849 (woman1-unquote): Move declaration.
5850
5851 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5852 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5853 argument. Remove unused local variable.
5854 (xml-parse-elem-type): Use string-match-p.
5855 (xml-substitute-numeric-entities): Use ignore-errors.
5856
5857 * calculator.el (calculator): Mark unused argument.
5858 (calculator-paste, calculator-quit, calculator-integer-p):
5859 Use ignore-errors.
5860 (calculator-string-to-number, calculator-decimal, calculator-exp)
5861 (calculator-op-or-exp): Use string-match-p.
5862
5863 * dired.el (dired-buffer-more-recently-used-p): Declare.
5864 (dired-insert-set-properties, dired-insert-old-subdirs):
5865 Use ignore-errors.
5866
5867 * dired-aux.el (dired-compress): Use ignore-errors.
5868 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5869 (dired-do-async-shell-command, dired-do-shell-command)
5870 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5871 (dired-insert-subdir-validate): Use string-match-p.
5872 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5873 (dired-add-entry): Use string-match-p, looking-at-p.
5874 (dired-insert-subdir-newpos): Remove unused local variable.
5875
5876 * filenotify.el (file-notify-callback): Remove unused local variable.
5877
5878 * filesets.el (filesets-error): Mark unused argument.
5879 (filesets-which-command-p, filesets-filter-dir-names)
5880 (filesets-directory-files, filesets-get-external-viewer)
5881 (filesets-ingroup-get-data): Use string-match-p.
5882
5883 * find-file.el (ff-other-file-name, ff-other-file-name)
5884 (ff-find-the-other-file, ff-cc-hh-converter):
5885 Remove unused local variables.
5886 (ff-get-file-name): Use string-match-p.
5887 (ff-all-dirs-under): Use ignore-errors.
5888
5889 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5890 (follow-select-if-visible): Remove unused local variable.
5891
5892 * forms.el (read-file-filter): Move declaration.
5893 (forms--make-format, forms--make-parser, forms-insert-record):
5894 Quote function with #'.
5895 (forms--update): Use string-match-p. Quote function with #'.
5896
5897 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5898 (help-make-xrefs): Use looking-at-p.
5899 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5900
5901 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5902 (ibuffer-confirm-operation-on): Use string-match-p.
5903
5904 * msb.el (msb-item-handler, msb-dired-item-handler):
5905 Mark unused arguments.
5906
5907 * ses.el (ses-decode-cell-symbol)
5908 (ses-kill-override): Remove unused local variable.
5909 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5910 (ses-load): Use ignore-errors, looking-at-p.
5911 (ses-jump-safe): Use ignore-errors.
5912 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5913
5914 * tabify.el (untabify, tabify): Mark unused arguments.
5915
5916 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5917 Mark unused argument.
5918 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5919 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5920
5921 * emacs-lisp/timer.el (timer--time): Define setter with
5922 gv-define-setter to avoid deprecation warning.
5923
5924 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5925 (*record-cmpl-statistics-p*): Remove (was commented out).
5926 (cmpl-statistics-block): Remove (body was commented out).
5927 All callers changed.
5928 (add-completions-from-buffer, load-completions-from-file):
5929 Remove unused variables.
5930
5931 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5932
5933 * filecache.el (file-cache-delete-file-list):
5934 Print message only when told so.
5935 (file-cache-files-matching): Use #' in mapconcat argument.
5936
5937 * ffap.el (ffap-url-at-point): Fix reference to variable
5938 thing-at-point-default-mail-uri-scheme.
5939
5940 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5941
5942 * subr.el (define-error): New function.
5943 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5944 error-file-not-found and define with define-error.
5945 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5946 and define with define-error.
5947 * userlock.el (file-locked, file-supersession):
5948 * simple.el (mark-inactive):
5949 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5950 * progmodes/ada-mode.el (ada-mode-errors):
5951 * play/life.el (life-extinct):
5952 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5953 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5954 * nxml/rng-util.el (rng-error):
5955 * nxml/rng-uri.el (rng-uri-error):
5956 * nxml/rng-match.el (rng-compile-error):
5957 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5958 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5959 * nxml/nxml-rap.el (nxml-scan-error):
5960 * nxml/nxml-outln.el (nxml-outline-error):
5961 * net/soap-client.el (soap-error):
5962 * net/gnutls.el (gnutls-error):
5963 * net/ange-ftp.el (ftp-error):
5964 * mpc.el (mpc-proc-error):
5965 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5966 (json-number-format, json-string-escape, json-string-format)
5967 (json-key-format, json-object-format):
5968 * jka-compr.el (compression-error):
5969 * international/quail.el (quail-error):
5970 * international/kkc.el (kkc-error):
5971 * emacs-lisp/ert.el (ert-test-failed):
5972 * calc/calc.el (calc-error, inexact-result, math-overflow)
5973 (math-underflow):
5974 * bookmark.el (bookmark-error-no-filename):
5975 * epg.el (epg-error): Define with define-error.
5976
5977 * time.el (display-time-event-handler)
5978 (display-time-next-load-average): Don't call sit-for since it seems
5979 unnecessary (bug#15045).
5980
5981 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5982 Use #' instead of ' to quote functions.
5983 (checkdoc-output-mode): Use setq-local.
5984 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5985 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5986 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5987 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5988 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5989 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5990 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5991 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5992
5993 * ido.el (ido-completion-help): Fix up compiler warning.
5994
5995 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5996
5997 * frameset.el (frameset-p): Add autoload cookie.
5998 (frameset--jump-to-register): New function, based on code moved from
5999 register.el.
6000 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6001
6002 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6003 (frameset-restore, frameset-save, frameset-session-filter-alist):
6004 Remove declarations.
6005 (register-alist): Doc fix.
6006 (frameset-to-register): Move to frameset.el.
6007 (jump-to-register, describe-register-1): Remove frameset-specific code.
6008
6009 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6010
6011 * allout-widgets.el (allout-widgets-pre-command-business)
6012 (allout-widgets-post-command-business)
6013 (allout-widgets-after-change-handler)
6014 (allout-decorate-item-and-context, allout-set-boundary-marker)
6015 (allout-body-modification-handler)
6016 (allout-graphics-modification-handler): Mark ignored arguments.
6017 (allout-widgets-post-command-business)
6018 (allout-widgets-exposure-change-processor)
6019 (allout-widgets-exposure-undo-processor)
6020 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6021 (allout-parse-item-at-point, allout-decorate-item-guides)
6022 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6023 * allout.el (epa-passphrase-callback-function): Declare.
6024 (allout-overlay-insert-in-front-handler)
6025 (allout-overlay-interior-modification-handler)
6026 (allout-isearch-end-handler, allout-chart-siblings)
6027 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6028 (allout-yank-processing, allout-process-exposed)
6029 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6030 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6031 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6032 (lisp-indent-defform): Mark ignored arguments.
6033 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6034 (calculate-lisp-indent): Remove unused variables.
6035 * international/characters.el (indian-2-column, arabic-2-column)
6036 (tibetan): Mark ignored arguments.
6037 (use-cjk-char-width-table): Mark ignored arguments.
6038 Remove unused variables.
6039 * international/fontset.el (build-default-fontset-data)
6040 (x-compose-font-name, create-fontset-from-fontset-spec):
6041 Mark ignored arguments.
6042 (fontset-plain-name): Remove unused variables.
6043 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6044 (keyboard-coding-system): Mark ignored arguments.
6045 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6046 * help.el (resize-temp-buffer-window):
6047 * window.el (display-buffer-in-major-side-window)
6048 (display-buffer-in-side-window, display-buffer-in-previous-window):
6049 Remove unused variables.
6050 * isearch.el (isearch-forward-symbol):
6051 * version.el (emacs-bzr-version-bzr):
6052 * international/mule-cmds.el (current-language-environment):
6053 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6054 (x-handle-display):
6055 * term/pc-win.el (x-list-fonts, x-display-planes)
6056 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6057 (x-server-version, x-display-screens, x-display-mm-height)
6058 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6059 (x-selection-owner-p, x-own-selection-internal)
6060 (x-disown-selection-internal, x-get-selection-internal)
6061 (msdos-initialize-window-system):
6062 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6063 * term/x-win.el (x-handle-no-bitmap-icon):
6064 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6065 (vc-default-find-file-hook, vc-default-extra-menu):
6066 Mark ignored arguments.
6067
6068 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6071 break-condition in the context of the debugged code (bug#12685).
6072
6073 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6074
6075 * comint.el:
6076 Do not use an overlay to highlight the last prompt. (Bug#14744)
6077 (comint-mode): Make comint-last-prompt buffer local.
6078 (comint-last-prompt): New variable.
6079 (comint-last-prompt-overlay): Remove. Superseded by
6080 comint-last-prompt.
6081 (comint-snapshot-last-prompt, comint-output-filter):
6082 Use comint-last-prompt.
6083
6084 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6085
6086 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6087 (frameset-save): Check validity of the resulting frameset.
6088
6089 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6090
6091 * ido.el (ido-record-command): Add doc string.
6092
6093 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6094
6095 * frameset.el (frameset): Do not disable creation of the default
6096 frameset-p predicate. Doc fix.
6097 (frameset-valid-p): New function, copied from the old predicate-p.
6098 Add additional checks.
6099 (frameset-restore): Check with frameset-valid-p.
6100 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6101 (frameset-name, frameset-description, frameset-properties)
6102 (frameset-states): Add docstring.
6103 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6104 (frameset-filter-alist): Doc fixes.
6105
6106 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6107
6108 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6109
6110 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6113 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6114 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6115 (byte-compile-normal-call): Remove obsolescence check.
6116
6117 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6118
6119 * frameset.el (frameset-restore): Doc fix.
6120
6121 * register.el (frameset-frame-id, frameset-frame-with-id)
6122 (frameset-p, frameset-restore, frameset-save): Declare.
6123 (register-alist): Document framesets.
6124 (frameset-session-filter-alist): Declare.
6125 (frameset-to-register): New function.
6126 (jump-to-register): Implement jumping to framesets. Doc fix.
6127 (describe-register-1): Describe framesets.
6128
6129 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6130
6131 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6132
6133 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6134 Use lexical-binding.
6135
6136 * frameset.el (frameset): Use type vector, not list (incompatible
6137 change). Do not declare a new constructor, use the default one.
6138 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6139 `name' and `description', respectively, and add read-only slot
6140 `timestamp'. Doc fixes.
6141 (frameset-copy, frameset-persistent-filter-alist)
6142 (frameset-filter-alist, frameset-switch-to-gui-p)
6143 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6144 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6145 (frameset-filter-iconified, frameset-keep-original-display-p):
6146 Doc fixes.
6147 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6148 Rename from frameset-filter-(save|restore)-param. All callers changed.
6149 Doc fix.
6150 (frameset-p): Adapt to change to vector and be more thorough.
6151 Change arg name to OBJECT. Doc fix.
6152 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6153 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6154 All callers changed.
6155 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6156 All callers changed.
6157 (frameset--record-minibuffer-relationships): Rename from
6158 frameset--process-minibuffer-frames. All callers changed.
6159 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6160 Use new default constructor (again). Doc fix.
6161 (frameset--find-frame-if): Rename from `frameset--find-frame.
6162 All callers changed.
6163 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6164 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6165 Doc fix.
6166 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6167 PARAMETERS and WINDOW-STATE, respectively.
6168 (frameset-restore): Add new keyword argument PREDICATE.
6169 Reset frameset--target-display to nil. Doc fix.
6170
6171 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6172
6173 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6174 (bat-mode): Use it.
6175 (bat-mode-syntax-table): Mark \n as end-of-comment.
6176 (bat-font-lock-keywords): Remove comment rule.
6177
6178 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6179 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6180
6181 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6182 (byte-compile-callargs-warn): Use `push'.
6183 (byte-compile-arglist-warn): Ignore higher-order "calls".
6184 (byte-compile-file-form-autoload): Use `pcase'.
6185 (byte-compile-function-form): If quoting a symbol, check that it exists.
6186
6187 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6188
6189 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6190 and add a few popular commands found in batch files.
6191 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6192 (dos-mode): Doc fixes.
6193
6194 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6197 (dos-mode): Use setq-local. Add space after "rem".
6198 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6199 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6200
6201 2013-08-07 Arni Magnusson <arnima@hafro.is>
6202
6203 * progmodes/dos.el: New file.
6204 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6205 dos-mode.
6206
6207 2013-08-06 Glenn Morris <rgm@gnu.org>
6208
6209 * calendar/calendar.el: Add new faces, and day-header-array.
6210 (calendar-weekday-header, calendar-weekend-header)
6211 (calendar-month-header): New faces.
6212 (calendar-day-header-construct): New function.
6213 (calendar-day-header-width): Also :set calendar-day-header-array.
6214 (calendar-american-month-header, calendar-european-month-header)
6215 (calendar-iso-month-header): Use calendar- faces.
6216 (calendar-generate-month):
6217 Use calendar-day-header-array for day headers; apply faces to them.
6218 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6219 (calendar-abbrev-construct): Add optional maxlen argument.
6220 (calendar-day-name-array): Doc fix.
6221 (calendar-day-name-array, calendar-abbrev-length)
6222 (calendar-day-abbrev-array):
6223 Also :set calendar-day-header-array, and maybe redraw.
6224 (calendar-day-header-array): New option. (Bug#15007)
6225 (calendar-font-lock-keywords): Set to nil and make obsolete.
6226 (calendar-day-name): Add option to use header array.
6227
6228 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6229
6230 * net/shr.el (shr-render-td): Remove debugging.
6231 (shr-render-td): Make width computation consistent by defaulting
6232 all zero-width columns to 10 characters. This may not be optimal,
6233 but it's at least consistent.
6234 (shr-make-table-1): Redo last change to fix the real problem in
6235 colspan handling.
6236
6237 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6238
6239 * files.el (cache-long-line-scans):
6240 Make obsolete alias to `cache-long-scans'.
6241
6242 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6243
6244 * frameset.el (frameset, frameset-filter-alist)
6245 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6246 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6247 (frameset-compute-pos): Rename from frameset--compute-pos,
6248 and add docstring.
6249 (frameset-move-onscreen): Use frameset-compute-pos.
6250 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6251
6252 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6253 Fix typos in docstrings.
6254
6255 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6256
6257 * frame.el (get-other-frame): Tiny cleanup.
6258
6259 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6260
6261 * vc/vc.el (vc-default-ignore-completion-table):
6262 Silence byte-compiler warning.
6263
6264 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6265 slot , which can indeed be nil.
6266 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6267 Move entry for `left' from persistent to live filter alist.
6268 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6269 Doc fixes.
6270 (frameset-filter-params): When restoring a frame, copy items added to
6271 `filtered', to avoid unwittingly modifying the original parameters.
6272 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6273 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6274
6275 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6276 to use looking-at-p instead of looking-at. (Bug#15028)
6277
6278 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 Revert introduction of isearch-filter-predicates (bug#14714).
6281 Rely on add-function instead.
6282 * isearch.el (isearch-filter-predicates): Rename it back to
6283 isearch-filter-predicate.
6284 (isearch-message-prefix): Use advice-function-mapc and advice
6285 properties to get the isearch-message-prefix.
6286 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6287 instead of run-hook-with-args-until-failure.
6288 (isearch-filter-visible): Not obsolete any more.
6289 * loadup.el: Preload nadvice.
6290 * replace.el (perform-replace): Revert to funcall
6291 instead of run-hook-with-args-until-failure.
6292 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6293 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6294 dired-isearch-filenames-toggle; make it into a proper minor mode.
6295 Use add/remove-function.
6296 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6297 Call the minor-mode rather than add/remove-hook.
6298 (dired-isearch-filter-filenames):
6299 Remove isearch-message-prefix property.
6300 * info.el (Info--search-loop): New function, extracted from Info-search.
6301 Funcall isearch-filter-predicate instead of
6302 run-hook-with-args-until-failure isearch-filter-predicates.
6303 (Info-search): Use it.
6304 (Info-mode): Use isearch-filter-predicate instead of
6305 isearch-filter-predicates.
6306
6307 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6308
6309 Do not call to `selected-window' where it is assumed by default.
6310 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6311 `window-hscroll', `window-width', `window-height', `window-buffer',
6312 `window-frame', `window-start', `window-point', `next-window'
6313 and `window-display-table'.
6314 * abbrev.el (abbrev--default-expand):
6315 * bs.el (bs--show-with-configuration):
6316 * buff-menu.el (Buffer-menu-mouse-select):
6317 * calc/calc.el (calc):
6318 * calendar/calendar.el (calendar-generate-window):
6319 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6320 (diary-make-entry):
6321 * comint.el (send-invisible, comint-dynamic-complete-filename)
6322 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6323 * completion.el (complete):
6324 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6325 * disp-table.el (describe-current-display-table):
6326 * doc-view.el (doc-view-insert-image):
6327 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6328 * ehelp.el (with-electric-help):
6329 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6330 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6331 * emacs-lisp/helper.el (Helper-help-scroller):
6332 * emulation/cua-base.el (cua--post-command-handler-1):
6333 * eshell/esh-mode.el (eshell-output-filter):
6334 * ffap.el (ffap-gnus-wrapper):
6335 * help-macro.el (make-help-screen):
6336 * hilit-chg.el (highlight-compare-buffers):
6337 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6338 * hl-line.el (global-hl-line-highlight):
6339 * icomplete.el (icomplete-simple-completing-p):
6340 * isearch.el (isearch-done):
6341 * jit-lock.el (jit-lock-stealth-fontify):
6342 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6343 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6344 * mpc.el (mpc-tagbrowser, mpc):
6345 * net/rcirc.el (rcirc-any-buffer):
6346 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6347 * play/landmark.el (landmark-max-width, landmark-max-height):
6348 * play/zone.el (zone):
6349 * progmodes/compile.el (compilation-goto-locus):
6350 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6351 * progmodes/etags.el (find-tag-other-window):
6352 * progmodes/fortran.el (fortran-column-ruler):
6353 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6354 * progmodes/verilog-mode.el (verilog-point-text):
6355 * reposition.el (reposition-window):
6356 * rot13.el (toggle-rot13-mode):
6357 * server.el (server-switch-buffer):
6358 * shell.el (shell-dynamic-complete-command)
6359 (shell-dynamic-complete-environment-variable):
6360 * simple.el (insert-buffer, set-selective-display)
6361 (delete-completion-window):
6362 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6363 (speedbar-recenter):
6364 * startup.el (fancy-splash-head):
6365 * textmodes/ispell.el (ispell-command-loop):
6366 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6367 * tutorial.el (help-with-tutorial):
6368 * vc/add-log.el (add-change-log-entry):
6369 * vc/compare-w.el (compare-windows):
6370 * vc/ediff-help.el (ediff-indent-help-message):
6371 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6372 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6373 (ediff-setup-control-frame):
6374 * vc/emerge.el (emerge-position-region):
6375 * vc/pcvs-util.el (cvs-bury-buffer):
6376 * window.el (walk-windows, mouse-autoselect-window-select):
6377 * winner.el (winner-set-conf, winner-undo): Related users changed.
6378
6379 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * frameset.el (frameset--set-id): Doc fix.
6382 (frameset-frame-id, frameset-frame-id-equal-p)
6383 (frameset-locate-frame-id): New functions.
6384 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6385 (frameset-restore): Use them.
6386
6387 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6388
6389 Do not call to `selected-frame' where it is assumed by default.
6390 Affected functions are `raise-frame', `redraw-frame',
6391 `frame-first-window', `frame-terminal' and `delete-frame'.
6392 * calendar/appt.el (appt-disp-window):
6393 * epg.el (epg-wait-for-completion):
6394 * follow.el (follow-delete-other-windows-and-split)
6395 (follow-avoid-tail-recenter):
6396 * international/mule.el (set-terminal-coding-system):
6397 * mail/rmail.el (rmail-mail-return):
6398 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6399 * progmodes/f90.el (f90-add-imenu-menu):
6400 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6401 * server.el (server-switch-buffer):
6402 * simple.el (delete-completion-window):
6403 * talk.el (talk):
6404 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6405 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6406 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6407 * vc/ediff.el (ediff-documentation): Related users changed.
6408 * frame.el (selected-terminal): Remove the leftover.
6409
6410 2013-08-05 Glenn Morris <rgm@gnu.org>
6411
6412 * calendar/calendar.el (calendar-generate-month):
6413 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6414 (calendar-generate-month, calendar-font-lock-keywords):
6415 Fix for calendar-day-header-width > length of any day name.
6416
6417 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6418
6419 * desktop.el (desktop-clear): Use new name of sort predicate.
6420
6421 * frameset.el (frameset): Add docstring. Move :version property to its
6422 own `version' slot.
6423 (frameset-copy): Rename from copy-frameset.
6424 (frameset-p): Check more thoroughly.
6425 (frameset-prop): Do not check for :version, which is no longer a prop.
6426 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6427 Use new :never value instead of t.
6428 (frameset-filter-alist): Expand and clarify docstring.
6429 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6430 (frameset-filter-minibuffer, frameset-filter-save-param)
6431 (frameset-filter-restore-param, frameset-filter-iconified):
6432 Add pointer to docstring of frameset-filter-alist.
6433 (frameset-filter-params): Rename filter values to be more meaningful:
6434 :never instead of t, and reverse the meanings of :save and :restore.
6435 (frameset--process-minibuffer-frames): Clarify error message.
6436 (frameset-save): Avoid unnecessary and confusing call to framep.
6437 Use new BOA constructor for framesets.
6438 (frameset--reuse-list): Doc fix.
6439 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6440 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6441 (frameset-minibufferless-first-p): Doc fix.
6442 Rename from frameset-sort-frames-for-deletion.
6443 (frameset-restore): Doc fixes. Use new function names.
6444 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6445
6446 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6447
6448 * desktop.el (desktop-restore-forces-onscreen)
6449 (desktop-restore-reuses-frames): Document :keyword constant values.
6450 (desktop-filter-parameters-alist): Remove, now identical to
6451 frameset-filter-alist.
6452 (desktop--filter-tty*): Remove, moved to frameset.el.
6453 (desktop-save-frameset, desktop-restore-frameset):
6454 Do not pass :filters argument.
6455
6456 * frameset.el (frameset-live-filter-alist)
6457 (frameset-persistent-filter-alist): New variables.
6458 (frameset-filter-alist): Use them. Add autoload cookie.
6459 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6460 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6461 `frameset--id' (it's supposed to be internal to frameset.el).
6462 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6463 (frameset--initial-params): New function.
6464 (frameset--get-frame): Use it. Doc fix.
6465 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6466 Accept :all, not 'all.
6467 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6468 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6469 with fbound symbols. Fix frame id matching, and remove matching ids if
6470 the frame being restored is deleted. Obey :delete.
6471
6472 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * subr.el (macrop): New function.
6475 (text-clone--maintaining): New var.
6476 (text-clone--maintain): Rename from text-clone-maintain. Use it
6477 instead of inhibit-modification-hooks.
6478
6479 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6480 a proxy, so as handle autoloads and redefinitions of the target.
6481 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6482
6483 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6484 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6485 (pcase--mutually-exclusive-p): New function.
6486 (pcase--split-consp): Use it.
6487 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6488 mutually exclusive with the current predicate.
6489
6490 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6491 (edebug-macrop): Remove. Use `macrop' instead.
6492 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6493 (ad-macro-p):
6494 * eshell/esh-cmd.el (eshell-macrop):
6495 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6496
6497 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6500 (advice-mapc): New function, using it.
6501 (advice-function-member-p): New function.
6502 (advice--normalize): Store the cdr in advice--saved-rewrite since
6503 that's the part that will be changed.
6504 (advice--symbol-function): New function.
6505 (advice-remove): Handle removal before the function is defined.
6506 Adjust to new advice--saved-rewrite.
6507 (advice-member-p): Use advice-function-member-p and
6508 advice--symbol-function.
6509
6510 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6511
6512 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6513 (frameset-filter-minibuffer): Doc fix.
6514 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6515 (frameset--set-id, frameset--process-minibuffer-frames)
6516 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6517 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6518
6519 * desktop.el (desktop-clear): Only delete frames when called
6520 interactively and desktop-restore-frames is non-nil. Doc fix.
6521 (desktop-read): Set desktop-saved-frameset to nil.
6522
6523 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6524
6525 * vc/vc.el (vc-ignore): Rewrite.
6526 (vc-default-ignore-completion-table):
6527 (vc--read-lines):
6528 (vc--add-line, vc--remove-regexp): New functions.
6529
6530 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6531 (vc-svn-ignore-completion-table): New function.
6532
6533 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6534 (vc-hg-ignore-completion-table):
6535 (vc-hg-find-ignore-file): New functions.
6536
6537 * vc/vc-git.el (vc-git-ignore): Rewrite.
6538 (vc-git-ignore-completion-table):
6539 (vc-git-find-ignore-file): New functions.
6540
6541 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6542
6543 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6544 (vc-bzr-ignore-completion-table):
6545 (vc-bzr-find-ignore-file): New functions.
6546
6547 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6548
6549 * frameset.el (frameset-prop): New function and setter.
6550 (frameset-save): Do not modify frame list passed by the caller.
6551
6552 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6553
6554 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6555
6556 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6559 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6560
6561 * custom.el (custom-initialize-default, custom-initialize-set)
6562 (custom-initialize-reset, custom-initialize-changed): Affect the
6563 toplevel-default-value (bug#6275, bug#14586).
6564 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6565 for bug#6275.
6566
6567 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6568
6569 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6570 Add cl-def* expressions.
6571
6572 * frameset.el (frameset-filter-params): Fix order of arguments.
6573
6574 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6575
6576 Move code related to saving frames to frameset.el.
6577 * desktop.el: Require frameset.
6578 (desktop-restore-frames): Doc fix.
6579 (desktop-restore-reuses-frames): Rename from
6580 desktop-restoring-reuses-frames.
6581 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6582 (desktop-clear): Clear frames too.
6583 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6584 (desktop--filter-tty*, desktop-save, desktop-read):
6585 Use frameset functions.
6586 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6587 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6588 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6589 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6590 (desktop--process-minibuffer-frames, desktop-save-frames)
6591 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6592 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6593 (desktop--sort-states, desktop-restoring-frames-p)
6594 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6595 (desktop-restoring-frameset-p, desktop-restore-frameset)
6596 (desktop--check-dont-save, desktop-save-frameset): New functions.
6597 (desktop--app-id): New constant.
6598 (desktop-first-buffer, desktop-buffer-ok-count)
6599 (desktop-buffer-fail-count): Move before first use.
6600 * frameset.el: New file.
6601
6602 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6603
6604 * files.el: Use lexical-binding.
6605 (dir-locals-read-from-file): Remove unused `err' variable.
6606 (hack-dir-local-variables--warned-coding): New var.
6607 (hack-dir-local-variables): Use it to avoid repeated warnings.
6608 (make-backup-file-name--default-function): New function.
6609 (make-backup-file-name-function): Use it as default.
6610 (buffer-stale--default-function): New function.
6611 (buffer-stale-function): Use it as default.
6612 (revert-buffer-insert-file-contents--default-function): New function.
6613 (revert-buffer-insert-file-contents-function): Use it as default.
6614 (insert-directory): Avoid add-to-list.
6615
6616 * autorevert.el (auto-revert-handler): Simplify.
6617 Use buffer-stale--default-function.
6618
6619 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6620
6621 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6622
6623 * whitespace.el (whitespace-ensure-local-variables): New function.
6624 (whitespace-cleanup-region): Call it.
6625 (whitespace-turn-on): Call it.
6626
6627 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6628
6629 Complete file name handlers.
6630
6631 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6632 (tramp-handle-verify-visited-file-modtime)
6633 (tramp-handle-file-notify-rm-watch): New functions.
6634 (tramp-call-process): Do not bind `default-directory'.
6635
6636 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6637 Order alphabetically.
6638 [access-file, add-name-to-file, dired-call-process]:
6639 [dired-compress-file, file-acl, file-notify-rm-watch]:
6640 [file-ownership-preserved-p, file-selinux-context]:
6641 [make-directory-internal, make-symbolic-link, set-file-acl]:
6642 [set-file-selinux-context, set-visited-file-modtime]:
6643 [verify-visited-file-modtime]: Add handler.
6644 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6645
6646 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6647 [file-notify-add-watch, file-notify-rm-watch]:
6648 [set-file-times, set-visited-file-modtime]:
6649 [verify-visited-file-modtime]: Add handler.
6650 (with-tramp-gvfs-error-message)
6651 (tramp-gvfs-handle-set-visited-file-modtime)
6652 (tramp-gvfs-fuse-file-name): Remove.
6653 (tramp-gvfs-handle-file-notify-add-watch)
6654 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6655 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6656
6657 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6658 Order alphabetically.
6659 [file-notify-rm-watch ]: Use default Tramp handler.
6660 [executable-find]: Remove private handler.
6661 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6662 `default-directory'.
6663 (tramp-sh-handle-executable-find)
6664 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6665 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6666 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6667 Do not use `format' in `tramp-message'.
6668
6669 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6670 [file-notify-rm-watch, set-visited-file-modtime]:
6671 [verify-visited-file-modtime]: Add handler.
6672 (tramp-smb-call-winexe): Do not bind `default-directory'.
6673
6674 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6675
6676 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6677
6678 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6679
6680 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6681 use it.
6682 (log-view-diff-changeset): Same.
6683 (log-view-diff-common): Call backend command `previous-revision'
6684 to find out the previous revision, in both cases. Swap the
6685 variables `to' and `fr', so that `fr' usually refers to the
6686 earlier revision (Bug#14989).
6687
6688 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6689
6690 * ibuf-ext.el (ibuffer-filter-by-filename):
6691 Make it work with dired buffers too.
6692
6693 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6694
6695 * emacs-lisp/re-builder.el (reb-color-display-p):
6696 * files.el (save-buffers-kill-terminal):
6697 * net/browse-url.el (browse-url):
6698 * server.el (server-save-buffers-kill-terminal):
6699 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6700 Prefer nil to selected-frame for the first arg of frame-parameter.
6701
6702 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6703
6704 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6705
6706 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6707
6708 * minibuffer.el (completion--twq-all): Try and preserve each
6709 completion's case choice (bug#14907).
6710
6711 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6712
6713 * net/network-stream.el (open-network-stream): Mention the new
6714 :nogreeting parameter.
6715 (network-stream-open-starttls): Use the :nogreeting parameter
6716 (bug#14938).
6717
6718 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6719
6720 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6721 more natural than popping.
6722
6723 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6724 (shr-urlify): Highlight under mouse.
6725
6726 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6727
6728 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6729
6730 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6731
6732 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6733 buffer for output.
6734
6735 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6736 point-min==1. Fix search string. Fix parentheses missing.
6737
6738 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6739 assume point-min==1. Fix search string. Fix parentheses missing.
6740
6741 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6742
6743 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6744 buffer for output.
6745
6746 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6747
6748 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6749 initial frame is minibuffer-less. (Bug#14841)
6750
6751 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6752
6753 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6754 option.
6755
6756 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6757 (tramp-maybe-open-connection): Use it.
6758
6759 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6762 minimal set of parameters passed when creating a frame, because
6763 the minibuffer status of a frame cannot be changed later.
6764
6765 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6766
6767 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6768 replace-regexp-in-string and inadvertent omissions in previous change.
6769 (todo-filter-items): Ensure only file names are comma-separated in
6770 name of filtered items buffer.
6771
6772 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6773
6774 * desktop.el: Optionally force offscreen frames back onscreen.
6775 (desktop-restoring-reuses-frames): New option.
6776 (desktop--compute-pos, desktop--move-onscreen): New functions.
6777 (desktop--make-frame): Use desktop--move-onscreen.
6778
6779 2013-07-27 Alan Mackenzie <acm@muc.de>
6780
6781 Fontify a Java generic method as a function.
6782 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6783 value to t.
6784
6785 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6786
6787 * calendar/todo-mode.el: Add command to rename todo files.
6788 (todo-rename-file): New command.
6789 (todo-key-bindings-t): Add key binding for it. Change the
6790 bindings of todo-filter-regexp-items(-multifile) to use `x'
6791 instead of `r', since the latter is better suited to the new
6792 renaming command.
6793
6794 2013-07-27 Alan Mackenzie <acm@muc.de>
6795
6796 Make Java try-with-resources statement parse properly.
6797 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6798 (c-block-stmt-1-2-key): New language constants/variables.
6799 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6800 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6801 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6802 with c-block-stmt-1-2-key.
6803
6804 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6805
6806 * desktop.el (desktop--make-frame): Apply most frame parameters after
6807 creating the frame to force (partially or totally) offscreen frames to
6808 be restored as such.
6809
6810 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6811
6812 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6813 (Bug#14948)
6814
6815 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6818 `base' arg of backtrace-frame.
6819
6820 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6821
6822 * simple.el (list-processes): Doc fix.
6823
6824 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6825
6826 * desktop.el (desktop--select-frame):
6827 Try harder to reuse existing frames.
6828
6829 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6830
6831 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6832 (edebug-eval): Use backtrace-eval.
6833 (edebug--display, edebug--recursive-edit): Don't let-bind the
6834 edebug-outer-* vars that keep track of variables we locally let-bind.
6835 (edebug-outside-excursion): Don't restore outside values of locally
6836 let-bound vars.
6837 (edebug--display): Use user-error.
6838 (cl-lexical-debug, cl-debug-env): Remove.
6839
6840 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6841
6842 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6843 are restored to be sure that they are visible before deleting any
6844 remaining ones.
6845
6846 2013-07-26 Matthias Meulien <orontee@gmail.com>
6847
6848 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6849 vc-print-root-log. (Bug#14948)
6850
6851 2013-07-26 Richard Stallman <rms@gnu.org>
6852
6853 Add aliases for encrypting mail.
6854 * epa.el (epa-mail-aliases): New option.
6855 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6856 Bind inhibit-read-only so read-only text doesn't ruin everything.
6857 (epa-mail-default-recipients): New subroutine broken out.
6858 Handle epa-mail-aliases.
6859
6860 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6861
6862 Add support for lexical variables to the debugger's `e' command.
6863 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6864 vars, except for debugger-outer-match-data.
6865 (debugger-frame-number): Move check for "on a function call" from
6866 callers into it. Add `skip-base' argument.
6867 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6868 (debugger-env-macro): Only reset the state stored in non-variables,
6869 i.e. current-buffer and match-data.
6870 (debugger-eval-expression): Rewrite using backtrace-eval.
6871 * subr.el (internal--called-interactively-p--get-frame): Remove.
6872 (called-interactively-p):
6873 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6874 `base' arg of backtrace-frame instead.
6875
6876 2013-07-26 Glenn Morris <rgm@gnu.org>
6877
6878 * align.el (align-regexp): Doc fix. (Bug#14857)
6879 (align-region): Explicit error if subexpression missing/does not match.
6880
6881 * simple.el (global-visual-line-mode):
6882 Do not duplicate the mode lighter. (Bug#14858)
6883
6884 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6885
6886 * window.el (display-buffer): In display-buffer bind
6887 split-window-keep-point to t, bug#14829.
6888
6889 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6890
6891 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6892 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6893 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6894 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6895 Change accordingly.
6896 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6897 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6898
6899 2013-07-25 Glenn Morris <rgm@gnu.org>
6900
6901 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6902
6903 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6904
6905 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6906 parameter to modify-frame-parameters if the value has not changed;
6907 this is a workaround for bug#14949.
6908 (desktop--make-frame): On cl-delete-if call, check parameter name,
6909 not full parameter.
6910
6911 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6912
6913 * vc/vc.el (vc-ignore): New function.
6914
6915 * vc/vc-svn.el (vc-svn-ignore): New function.
6916
6917 * vc/vc-hg.el (vc-hg-ignore): New function.
6918
6919 * vc/vc-git.el (vc-git-ignore): New function.
6920
6921 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6922 (vc-dir-ignore): New function.
6923
6924 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6925 (cvs-append-to-ignore): Move here from pcvs.el.
6926
6927 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6928
6929 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6930
6931 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6932
6933 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6934 (desktop-restore-frames): Warn when deleting an existing frame failed.
6935
6936 2013-07-24 Glenn Morris <rgm@gnu.org>
6937
6938 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6939
6940 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6941
6942 * filenotify.el (file-notify-supported-p):
6943 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6944 Remove functions.
6945
6946 * autorevert.el (auto-revert-use-notify):
6947 (auto-revert-notify-add-watch):
6948 * net/tramp.el (tramp-file-name-for-operation):
6949 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6950 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6951 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6952 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6953 Remove `file-notify-supported-p' entry.
6954
6955 2013-07-24 Glenn Morris <rgm@gnu.org>
6956
6957 * printing.el: Replace all uses of deleted ps-windows-system,
6958 ps-lp-system, ps-flatten-list with lpr- versions.
6959
6960 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6963 checked with memq (bug#14935).
6964
6965 * files.el (revert-buffer-function): Use a non-nil default.
6966 (revert-buffer-preserve-modes): Declare var to
6967 provide access to the `preserve-modes' argument.
6968 (revert-buffer): Let-bind it.
6969 (revert-buffer--default): New function, extracted from revert-buffer.
6970
6971 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 * lpr.el: Signal print errors more prominently.
6974 (print-region-function): Don't default to nil.
6975 (lpr-print-region): New function, extracted from print-region-1.
6976 Check lpr's return value and signal an error in case of problem.
6977 (print-region-1): Use it.
6978 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6979 versions instead.
6980 (ps-printer-name): Default to nil.
6981 (ps-printer-name-option): Default to lpr-printer-switch.
6982 (ps-print-region-function): Don't default to nil.
6983 (ps-postscript-code-directory): Simplify default.
6984 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6985 (ps-string-list, ps-eval-switch, ps-flatten-list)
6986 (ps-flatten-list-1): Remove.
6987 (ps-multibyte-buffer): Avoid setq.
6988 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6989 (print-region-function, ps-print-region-function): Don't set them here.
6990
6991 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6992
6993 * ido.el (ido-fractionp):
6994 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6995 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6996 (ido-max-directory-size, ido-max-dir-file-cache)
6997 (ido-decorations): Doc fix.
6998
6999 * ansi-color.el: Fix old URL.
7000
7001 2013-07-23 Michael R. Mauger <michael@mauger.com>
7002
7003 * progmodes/sql.el: Version 3.3
7004 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7005 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7006 (sql-interactive-remove-continuation-prompt): Rewrite, use
7007 functions above. Fix continuation prompt and complete output line
7008 handling.
7009 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7010 redirected output buffer.
7011 (sql-mode): Restore deleted code (Bug#13591).
7012
7013 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7014
7015 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7016
7017 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7018
7019 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7020
7021 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7022 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7023 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7024
7025 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7026
7027 * desktop.el (desktop-clear): Simplify; remove useless checks
7028 against invalid buffer names.
7029 (desktop-list*): Use cl-list*.
7030 (desktop-buffer-info, desktop-create-buffer): Simplify.
7031
7032 2013-07-23 Leo Liu <sdl.web@gmail.com>
7033
7034 * bookmark.el (bookmark-make-record): Restore NAME as a default
7035 value. (Bug#14933)
7036
7037 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7040 extracted from autoload--insert-text.
7041 (autoload--insert-text): Remove.
7042 (autoload--print-cookie-text): New function, extracted from
7043 autoload--insert-cookie-text.
7044 (autoload--insert-cookie-text): Remove.
7045 (autoload-generate-file-autoloads): Adjust calls accordingly.
7046
7047 * winner.el (winner-hook-installed-p): Remove.
7048 (winner-mode): Simplify accordingly.
7049
7050 * subr.el (add-to-list): Fix compiler-macro when `append' is
7051 not constant. Don't use `cl-member' for the base case.
7052
7053 * progmodes/subword.el: Fix boundary case (bug#13758).
7054 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7055 own group.
7056 (subword-backward-regexp): Make it a constant.
7057 (subword-forward-internal): Don't treat a trailing capital as the
7058 beginning of a word.
7059
7060 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7061
7062 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7063 global value of tabulated-list-revert-hook (bug#14930).
7064
7065 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7066
7067 * desktop.el: Require 'cl-lib.
7068 (desktop-before-saving-frames-functions): New hook.
7069 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7070 for frames being saved. Rename from desktop--save-minibuffer-frames.
7071 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7072 Do not save frames with non-nil `desktop-dont-save' parameter.
7073 Filter out deleted frames.
7074 (desktop--find-frame): Use cl-find-if.
7075 (desktop--select-frame): Use cl-(first|second|third) to access values
7076 of desktop-mini.
7077 (desktop--make-frame): Use cl-delete-if.
7078 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7079 (desktop-restore-frames): Use cl-(first|second|third) to access values
7080 of desktop-mini. Look for visible frame at the end, not while
7081 restoring frames.
7082
7083 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7084 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7085 Use string-match-p, looking-at-p (bug#14927).
7086
7087 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7088
7089 * desktop.el (desktop-saved-frame-states):
7090 Rename from desktop--saved-states; all users changed.
7091 (desktop-save-frames): Rename from desktop--save-frames.
7092 Do not save state to desktop file.
7093 (desktop-save): Save desktop-saved-frame-states to desktop file
7094 and reset to nil.
7095 (desktop-restoring-frames-p): New function.
7096 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7097 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7098 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7099
7100 * desktop.el: Correctly restore iconified frames.
7101 (desktop--filter-iconified-position): New function.
7102 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7103
7104 2013-07-20 Glenn Morris <rgm@gnu.org>
7105
7106 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7107 Let `message' do the formatting.
7108 (def-gdb-preempt-display-buffer): Add explicit format.
7109
7110 * image-dired.el (image-dired-track-original-file):
7111 Use with-current-buffer.
7112 (image-dired-track-thumbnail): Use with-current-buffer.
7113 Avoid changing point of wrong window.
7114
7115 * image-dired.el (image-dired-track-original-file):
7116 Avoid changing point of wrong window. (Bug#14909)
7117
7118 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7119
7120 * progmodes/gdb-mi.el (gdb-done-or-error):
7121 Guard against "%" in gdb output. (Bug#14127)
7122
7123 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7124
7125 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7126 (Bug#14826)
7127
7128 * international/mule.el (coding-system-iso-2022-flags): Fix last
7129 change.
7130
7131 2013-07-20 Kenichi Handa <handa@gnu.org>
7132
7133 * international/mule.el (coding-system-iso-2022-flags):
7134 Add `8-bit-level-4'. (Bug#8522)
7135
7136 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7137
7138 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7139 (bug#14815).
7140
7141 * net/eww.el (eww-process-text-input): Allow inputting when the
7142 point is at the start of the line, as the properties aren't
7143 front-sticky.
7144
7145 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7146 degenerate widths.
7147
7148 2013-07-19 Richard Stallman <rms@gnu.org>
7149
7150 * epa.el (epa-popup-info-window): Doc fix.
7151
7152 * subr.el (split-string): New arg TRIM.
7153
7154 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7155
7156 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7157 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7158
7159 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7160
7161 * filenotify.el (file-notify--library): Rename from
7162 `file-notify-support'. Do not autoload. Adapt all uses.
7163 (file-notify-supported-p): New defun.
7164
7165 * autorevert.el (auto-revert-use-notify):
7166 Use `file-notify-supported-p' instead of `file-notify-support'.
7167 Adapt docstring.
7168 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7169
7170 * net/tramp.el (tramp-file-name-for-operation):
7171 Add `file-notify-supported-p'.
7172
7173 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7174 New defun.
7175 (tramp-sh-file-name-handler-alist): Add it as handler for
7176 `file-notify-supported-p '.
7177
7178 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7179 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7180 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7181 Add `ignore' as handler for `file-notify-*' functions.
7182
7183 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7184
7185 * simple.el (line-move-partial, line-move): Don't start vscroll or
7186 scroll-up if the current line is not taller than the window.
7187 (Bug#14881)
7188
7189 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7190
7191 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7192 highlight question marks in the method names as strings.
7193 (ruby-block-beg-keywords): Inline.
7194 (ruby-font-lock-keyword-beg-re): Extract from
7195 `ruby-font-lock-keywords'.
7196
7197 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7198
7199 * frame.el (blink-cursor-blinks): New defcustom.
7200 (blink-cursor-blinks-done): New defvar.
7201 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7202 (blink-cursor-timer-function): Check if number of blinks has been
7203 done on X and NS.
7204 (blink-cursor-suspend, blink-cursor-check): New defuns.
7205
7206 2013-07-15 Glenn Morris <rgm@gnu.org>
7207
7208 * edmacro.el (edmacro-format-keys): Fix previous change.
7209
7210 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7211
7212 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7213 The hack didn't work outside English locales anyway.
7214
7215 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7216
7217 * simple.el (define-alternatives): Rename from alternatives-define,
7218 per RMS' suggestion.
7219
7220 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7221
7222 * desktop.el (desktop-restore-frames): Change default to t.
7223 (desktop-restore-in-current-display): Now offer more options.
7224 (desktop-restoring-reuses-frames): New customization option.
7225 (desktop--saved-states): Doc fix.
7226 (desktop-filter-parameters-alist): New variable, renamed and expanded
7227 from desktop--excluded-frame-parameters.
7228 (desktop--target-display): New variable.
7229 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7230 (desktop--filter-tty*, desktop--filter-*-color)
7231 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7232 (desktop--filter-save-desktop-parm)
7233 (desktop-restore-in-original-display-p): New functions.
7234 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7235 (desktop--save-minibuffer-frames): New function, inspired by a similar
7236 function from Martin Rudalics.
7237 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7238 (desktop--restore-in-this-display-p): Remove.
7239 (desktop--find-frame): Rename from desktop--find-frame-in-display
7240 and add predicate argument.
7241 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7242 (desktop--reuse-list): New variable.
7243 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7244 New functions.
7245 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7246
7247 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7248
7249 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7250
7251 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7252
7253 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7254 Highlight conversion methods on Kernel.
7255
7256 2013-07-13 Alan Mackenzie <acm@muc.de>
7257
7258 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7259 and comment it out. This out-commenting enables certain C++
7260 declarations to be parsed correctly.
7261
7262 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7263
7264 * international/mule.el (define-coding-system): Doc fix.
7265
7266 * simple.el (default-font-height): Don't call font-info if the
7267 frame's default font didn't change since the frame was created.
7268 (Bug#14838)
7269
7270 2013-07-13 Leo Liu <sdl.web@gmail.com>
7271
7272 * ido.el (ido-read-file-name): Guard against non-symbol value.
7273
7274 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7275
7276 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7277 in nested defuns.
7278
7279 2013-07-13 Leo Liu <sdl.web@gmail.com>
7280
7281 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7282 ido-set-matches call. (Bug#6852)
7283
7284 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7285
7286 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7287 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7288 Ruby 2.0.
7289 (ruby-font-lock-keywords): Distinguish calls to functions with
7290 module-like names from module references. Highlight character
7291 literals.
7292
7293 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7294
7295 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7296 (gdb-send): Handle continued commands. (Bug#14847)
7297
7298 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7299
7300 * desktop.el (desktop--v2s): Remove unused local variable.
7301 (desktop-save-buffer): Make defvar-local; adjust docstring.
7302 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7303 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7304
7305 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7306
7307 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7308
7309 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7310
7311 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7312 (Bug#14842)
7313
7314 2013-07-12 Glenn Morris <rgm@gnu.org>
7315
7316 * doc-view.el: Require cl-lib at runtime too.
7317 (doc-view-remove-if): Remove.
7318 (doc-view-search-next-match, doc-view-search-previous-match):
7319 Use cl-remove-if.
7320
7321 * edmacro.el: Require cl-lib at runtime too.
7322 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7323 (edmacro-mismatch, edmacro-subseq): Remove.
7324
7325 * shadowfile.el: Require cl-lib.
7326 (shadow-remove-if): Remove.
7327 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7328 Use cl-remove-if.
7329
7330 * wid-edit.el: Require cl-lib.
7331 (widget-choose): Use cl-remove-if.
7332 (widget-remove-if): Remove.
7333
7334 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7335 (ebrowse-delete-if-not): Remove.
7336 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7337 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7338 Use cl-delete-if-not.
7339
7340 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7341
7342 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7343 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7344
7345 2013-07-12 Leo Liu <sdl.web@gmail.com>
7346
7347 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7348
7349 2013-07-11 Glenn Morris <rgm@gnu.org>
7350
7351 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7352 (edebug-gensym-index, edebug-gensym):
7353 Remove reimplementation of cl-gensym.
7354 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7355
7356 * thumbs.el: Require cl-lib at run-time too.
7357 (thumbs-gensym-counter, thumbs-gensym):
7358 Remove reimplementation of cl-gensym.
7359 (thumbs-temp-file): Use cl-gensym.
7360
7361 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7362 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7363 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7364 (ert--union, ert--gensym-counter, ert--gensym-counter)
7365 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7366 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7367 (ert-make-test-unbound, ert--expand-should-1)
7368 (ert--expand-should, ert--should-error-handle-error)
7369 (should-error, ert--explain-equal-rec)
7370 (ert--plist-difference-explanation, ert-select-tests)
7371 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7372 Use cl-lib functions rather than reimplementations.
7373
7374 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7375
7376 * net/tramp.el (tramp-methods): Extend docstring.
7377 (tramp-connection-timeout): New defcustom.
7378 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7379 (with-tramp-progress-reporter): Simplify.
7380 (tramp-process-actions): Improve messages.
7381
7382 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7383 * net/tramp-sh.el (tramp-maybe-open-connection):
7384 Use `tramp-connection-timeout'.
7385 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7386 (Bug#14808)
7387
7388 2013-07-11 Leo Liu <sdl.web@gmail.com>
7389
7390 * ido.el (ido-read-file-name): Conform to the requirements of
7391 read-file-name. (Bug#11861)
7392 (ido-read-directory-name): Conform to the requirements of
7393 read-directory-name.
7394
7395 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7396
7397 * subr.el (delay-warning): New function.
7398
7399 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7400
7401 * simple.el (default-line-height): New function.
7402 (line-move-partial, line-move): Use it instead of computing the
7403 line height inline.
7404 (line-move-partial): Always compute ROWH. If the last line is
7405 partially-visible, but its text is completely visible, allow
7406 cursor to enter such a partially-visible line.
7407
7408 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7409
7410 Improve error messages. (Bug#14808)
7411
7412 * net/tramp.el (tramp-current-connection): New defvar, moved from
7413 tramp-sh.el.
7414 (tramp-message-show-progress-reporter-message): Remove, not
7415 needed anymore.
7416 (tramp-error-with-buffer): Show message in minibuffer.
7417 Discard input before waiting. Reset connection timestamp.
7418 (with-tramp-progress-reporter): Improve messages.
7419 (tramp-process-actions): Use progress reporter. Delete process in
7420 case of error. Improve messages.
7421
7422 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7423 Call `tramp-error-with-buffer' with vector and buffer.
7424 (tramp-current-connection): Remove.
7425 (tramp-maybe-open-connection): The car of
7426 `tramp-current-connection' are the first 3 slots of the vector.
7427
7428 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7429
7430 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7431 inside continued strings.
7432
7433 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7434
7435 Timestamp fixes for undo (Bug#14824).
7436 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7437
7438 2013-07-10 Leo Liu <sdl.web@gmail.com>
7439
7440 * files.el (require-final-newline): Allow safe local value.
7441 (Bug#14834)
7442
7443 2013-07-09 Leo Liu <sdl.web@gmail.com>
7444
7445 * ido.el (ido-read-directory-name): Handle fallback.
7446 (ido-read-file-name): Update DIR to ido-current-directory.
7447 (Bug#1516)
7448 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7449
7450 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7451
7452 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7453 "autoload". Remove "warn lower camel case" section, previously
7454 commented out. Highlight negation char. Do not highlight the
7455 target in singleton method definitions.
7456
7457 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * faces.el (tty-setup-hook): Declare the hook.
7460
7461 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7462 and detect when a guard/pred depends on local vars (bug#14773).
7463 (pcase--u1): Adjust caller.
7464
7465 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7466
7467 * simple.el (line-move-partial, line-move): Account for
7468 line-spacing.
7469 (line-move-partial): Avoid setting vscroll when the last
7470 partially-visible line in window is of default height.
7471
7472 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7473
7474 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7475 been used a while.
7476
7477 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7478
7479 * subr.el (read-quoted-char): Remove unused local variable `char'.
7480
7481 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7482
7483 * ediff.el (ediff-version): Version update.
7484 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7485 (ediff-merge-with-ancestor-command, ediff-directories-command)
7486 (ediff-directories3-command, ediff-merge-directories-command)
7487 (ediff-merge-directories-with-ancestor-command): New functions.
7488 All are command-line interfaces to ediff: to facilitate calling
7489 Emacs with the appropriate ediff functions invoked.
7490
7491 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7492 (viper-save-kill-buffer): Check if buffer is modified.
7493
7494 * viper.el (viper-version): Version update.
7495 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7496
7497 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7498
7499 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7500 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7501 (viper-intercept-ESC-key): Simplify.
7502 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7503 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7504 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7505 (viper-setup-ESC-to-escape): New functions.
7506 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7507 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7508
7509 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7510
7511 * simple.el (default-font-height, window-screen-lines):
7512 New functions.
7513 (line-move, line-move-partial): Use them instead of
7514 frame-char-height and window-text-height. This makes scrolling
7515 text smoother when the buffer's default face uses a font that is
7516 different from the frame's default font.
7517
7518 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7519
7520 * files.el (write-file): Do not display confirm dialog for NS,
7521 it does its own dialog, which can't be canceled (Bug#14578).
7522
7523 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7524
7525 * simple.el (line-move-partial): Adjust the row returned by
7526 posn-at-point for the current window-vscroll. (Bug#14567)
7527
7528 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7529
7530 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7531 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7532 spaces.
7533
7534 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7535
7536 * window.el (window-state-put-stale-windows): New variable.
7537 (window--state-put-2): Save list of windows without matching buffer.
7538 (window-state-put): Remove "bufferless" windows if possible.
7539
7540 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7541
7542 * simple.el (alternatives-define): Remove leftover :group keyword.
7543 Tweak docstring.
7544
7545 2013-07-06 Leo Liu <sdl.web@gmail.com>
7546
7547 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7548 (ido-enable-virtual-buffers): New variable.
7549 (ido-buffer-internal, ido-toggle-virtual-buffers)
7550 (ido-make-buffer-list): Use it.
7551 (ido-exhibit): Support turning on and off virtual buffers
7552 automatically.
7553
7554 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7555
7556 * simple.el (alternatives-define): New macro.
7557
7558 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * subr.el (read-quoted-char): Use read-key.
7561 (sit-for): Let read-event decode tty input (bug#14782).
7562
7563 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7564
7565 * calendar/todo-mode.el: Add handling of file deletion, both by
7566 mode command and externally. Fix various related bugs.
7567 Clarify Commentary and improve some documentation strings and code.
7568 (todo-delete-file): New command.
7569 (todo-check-file): New function.
7570 (todo-show): Handle external deletion of the file we're trying to
7571 show (bug#14688). Replace called-interactively-p by an optional
7572 prefix argument to avoid problematic interaction with catch form
7573 when byte compiled (bug#14702).
7574 (todo-quit): Handle external deletion of the archive's todo file.
7575 Make sure the buffer that was visiting the archive file is still
7576 live before trying to bury it.
7577 (todo-category-completions): Handle external deletion of any
7578 category completion files.
7579 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7580 of todo files, in case of external deletion.
7581 (todo-add-file): Replace unnecessary setq by let-binding.
7582 (todo-find-archive): Check whether there are any archives.
7583 Replace unnecessary setq by let-binding.
7584 (todo-archive-done-item): Use find-file-noselect to get the
7585 archive buffer whether or not the archive already exists.
7586 Remove superfluous code. Use file size instead of buffer-file-name to
7587 check if the archive is new; if it is, update list of archives.
7588 (todo-default-todo-file): Allow nil to be a valid value for when
7589 there are no todo files.
7590 (todo-reevaluate-default-file-defcustom): Use corrected definition
7591 of todo-default-todo-file.
7592 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7593 (todo-delete-category, todo-show-categories-table)
7594 (todo-category-number): Clarify comment.
7595 (todo-filter-items): Clarify documentation string.
7596 (todo-show-current-file, todo-display-as-todo-file)
7597 (todo-reset-and-enable-done-separator): Tweak documentation string.
7598 (todo-done-separator): Make separator length window-width, since
7599 bug#2749 is now fixed.
7600
7601 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7602
7603 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7604 Support both "gvfs-monitor-dir" and "inotifywait".
7605 (tramp-sh-file-inotifywait-process-filter): Rename from
7606 `tramp-sh-file-notify-process-filter'.
7607 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7608 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7609
7610 2013-07-05 Leo Liu <sdl.web@gmail.com>
7611
7612 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7613
7614 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7615
7616 * frame.el (display-pixel-height, display-pixel-width)
7617 (display-mm-height, display-mm-width): Mention behavior on
7618 multi-monitor setups in docstrings.
7619 (w32-display-monitor-attributes-list): Declare function.
7620 (display-monitor-attributes-list): Use it.
7621
7622 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7623
7624 * filenotify.el: New package.
7625
7626 * autorevert.el (top): Require filenotify.el.
7627 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7628 instead.
7629 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7630 (auto-revert-notify-handler): Use `file-notify-*' functions.
7631
7632 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7633
7634 * net/tramp.el (tramp-file-name-for-operation):
7635 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7636
7637 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7638 for `file-notify-add-watch' and `file-notify-rm-watch'.
7639 (tramp-process-sentinel): Improve trace.
7640 (tramp-sh-handle-file-notify-add-watch)
7641 (tramp-sh-file-notify-process-filter)
7642 (tramp-sh-handle-file-notify-rm-watch)
7643 (tramp-get-remote-inotifywait): New defuns.
7644
7645 2013-07-03 Juri Linkov <juri@jurta.org>
7646
7647 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7648 call of `occur-read-primary-args' to interactive spec.
7649
7650 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7651 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7652
7653 2013-07-03 Matthias Meulien <orontee@gmail.com>
7654
7655 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7656 `Buffer-menu-multi-occur'. Add it to the menu.
7657 (Buffer-menu-mode): Document it in docstring.
7658 (Buffer-menu-multi-occur): New command. (Bug#14673)
7659
7660 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7661
7662 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7663 keywords and built-ins.
7664
7665 2013-07-03 Glenn Morris <rgm@gnu.org>
7666
7667 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7668
7669 Make info-xref checks case-sensitive by default
7670 * info.el (Info-find-node, Info-find-in-tag-table)
7671 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7672 Add option for exact case matching of nodes.
7673 * info-xref.el (info-xref): New custom group.
7674 (info-xref-case-fold): New option.
7675 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7676
7677 2013-07-03 Leo Liu <sdl.web@gmail.com>
7678
7679 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7680
7681 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7682
7683 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7684 middle of block statement initially, lower the depth. Remove
7685 FIXME comment, not longer valid. Remove middle of block statement
7686 detection, no need to do that anymore since we've been using
7687 `ruby-parse-region' here.
7688
7689 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7690
7691 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7692
7693 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7694
7695 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7696
7697 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7698
7699 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7700 (desktop-restore-in-current-display): New customization option.
7701 (desktop--excluded-frame-parameters): Add `font'.
7702 (desktop--save-frames): Rename from desktop--save-windows.
7703 (desktop--restore-in-this-display-p): New function.
7704 (desktop--make-full-frame): Remove unwanted width/height from
7705 full(width|height) frames.
7706 (desktop--restore-frames): Rename from desktop--restore-windows.
7707 Obey desktop-restore-current-display. Do not delete old frames or
7708 select a new frame unless we were able to restore at least one frame.
7709
7710 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7711
7712 * files.el (find-file-noselect): Simplify conditional expression.
7713
7714 * textmodes/remember.el (remember-append-to-file):
7715 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7716
7717 Add `remember-notes' function to store random notes across Emacs
7718 restarts.
7719 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7720 notes buffer (if any).
7721 (remember-notes): New command.
7722 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7723 New defcustoms for the `remember-notes' function.
7724 (remember-notes-save-and-bury-buffer): New command.
7725 (remember-notes-mode-map): New variable.
7726 (remember-mode): New minor mode.
7727 (remember-notes--kill-buffer-query): New function.
7728 * startup.el (initial-buffer-choice): Add notes to custom type.
7729
7730 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7731
7732 * bindings.el (right-char, left-char): Don't call sit-for, this is
7733 no longer needed. Use arithmetic comparison only for numerical
7734 arguments.
7735
7736 * international/mule-cmds.el (select-safe-coding-system):
7737 Handle the case of FROM being a string correctly. (Bug#14755)
7738
7739 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7740
7741 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7742 progression on degenerate tables.
7743 (shr-rescale-image): ImageMagick animated images currently don't work.
7744
7745 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7746
7747 Some fixes and improvements for desktop frame restoration.
7748 It is still experimental and disabled by default.
7749 * desktop.el (desktop--save-windows): Put the selected frame at
7750 the head of the list.
7751 (desktop--make-full-frame): New function.
7752 (desktop--restore-windows): Try to re-select the frame that was
7753 selected upon saving. Do not abort if some frames fail to restore,
7754 just show an error message and continue. Set up maximized frames
7755 so they have default non-maximized dimensions.
7756
7757 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7758
7759 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7760 Don't start heredoc inside a string or comment.
7761
7762 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7763
7764 * bindings.el (visual-order-cursor-movement): New defcustom.
7765 (right-char, left-char): Provide visual-order cursor motion by
7766 calling move-point-visually. Update the doc strings.
7767
7768 2013-06-28 Kenichi Handa <handa@gnu.org>
7769
7770 * international/mule.el (define-coding-system): New coding system
7771 properties :inhibit-null-byte-detection,
7772 :inhibit-iso-escape-detection, and :prefer-utf-8.
7773 (set-buffer-file-coding-system): If :charset-list property of
7774 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7775 appropriate for setting.
7776
7777 * international/mule-cmds.el (select-safe-coding-system):
7778 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7779 multibyte characters, return utf-8 (or one of its siblings).
7780
7781 * international/mule-conf.el (prefer-utf-8): New coding system.
7782 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7783 files.
7784
7785 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7786
7787 * net/shr.el (shr-render-region): New function.
7788
7789 * net/eww.el: Autoload `eww-browse-url'.
7790
7791 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7792
7793 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7794 Adapt to `package-desc-version' being a list.
7795 Use `package--ac-desc-version' to retrieve version from a package
7796 archive element.
7797
7798 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7799
7800 New experimental feature to save&restore window and frame setup.
7801 * desktop.el (desktop-save-windows): New defcustom.
7802 (desktop--saved-states): New var.
7803 (desktop--excluded-frame-parameters): New defconst.
7804 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7805 (desktop--restore-windows, desktop--save-windows): New functions.
7806 (desktop-save): Call `desktop--save-windows'.
7807 (desktop-read): Call `desktop--restore-windows'.
7808
7809 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7810
7811 * net/shr.el (add-face-text-property): Remove compat definition.
7812
7813 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7814
7815 * info.el (Info-try-follow-nearest-node): Move search for footnote
7816 above search for node name to prevent missing a footnote (bug#14717).
7817
7818 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7819
7820 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7821
7822 2013-06-27 Leo Liu <sdl.web@gmail.com>
7823
7824 * net/eww.el (eww-read-bookmarks): Check file size.
7825
7826 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7827
7828 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7829 advice--pending if newdef is nil or an autoload (bug#13820).
7830 (advice-mapc): New function.
7831
7832 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833
7834 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7835 probably.
7836 (eww-mode-map): Add a menu bar.
7837 (eww-add-bookmark): New command.
7838 (eww-bookmark-mode): New mode and commands.
7839 (eww-add-bookmark): Remove newlines from the title.
7840 (eww-bookmark-browse): Don't bug out if it's the only window.
7841
7842 2013-06-26 Glenn Morris <rgm@gnu.org>
7843
7844 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7845 (hfy-size): Handle ttys. (Bug#14668)
7846
7847 * info-xref.el: Update for Texinfo 5 change in *note format.
7848 (info-xref-node-re, info-xref-note-re): New constants.
7849 (info-xref-check-buffer): Use info-xref-note-re.
7850
7851 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7852
7853 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7854
7855 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7856 nil terminate the loop (bug#14718).
7857
7858 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7859
7860 * net/eww.el: Rework history traversal. When going forward/back,
7861 put these actions into the history, too, so that they can be
7862 replayed.
7863 (eww-render): Move the history reset to the correct buffer.
7864
7865 2013-06-25 Juri Linkov <juri@jurta.org>
7866
7867 * files-x.el (modify-dir-local-variable): Change the header comment
7868 in the file with directory local variables. (Bug#14692)
7869
7870 * files-x.el (read-file-local-variable-value): Add `default'.
7871 (Bug#14710)
7872
7873 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7874
7875 * net/eww.el (eww-make-unique-file-name): Create a unique file
7876 name before saving to entering `y' accidentally asynchronously.
7877
7878 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7879
7880 * net/eww.el (eww-download): New command and keystroke.
7881
7882 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7883
7884 * net/eww.el (eww-copy-page-url): Change name of command.
7885
7886 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7887 be more consistent with Info and dired.
7888
7889 * net/eww.el (eww-mode-map): Ditto.
7890
7891 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7894 packages from archives.
7895 (package-archive-contents): Change format; include obsolete packages.
7896 (package-desc): Use `dir' to mark builtin packages.
7897 (package--from-builtin): Set the `dir' field to `builtin'.
7898 (generated-autoload-file, version-control): Declare.
7899 (package-compute-transaction): Change first arg and return value to be
7900 lists of package-descs. Adjust to new package-archive-contents format.
7901 (package--add-to-archive-contents): Adjust to new
7902 package-archive-contents format.
7903 (package-download-transaction): Arg is now a list of package-descs.
7904 (package-install): If `pkg' is a package name, pass it as
7905 a requirement, so it is subject to the usual (e.g. disabled) checks.
7906 (describe-package): Accept package-desc as well.
7907 (describe-package-1): Describe a specific package-desc. Add links to
7908 other package-descs for the same package name.
7909 (package-menu-describe-package): Pass the actual package-desc.
7910 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7911 works correctly.
7912 (package-desc-status): New function.
7913 (package-menu--refresh): New function, extracted
7914 from package-menu--generate.
7915 (package-menu--generate): Use it.
7916 (package-delete): Update package-alist.
7917 (package-menu-execute): Don't call package-initialize.
7918
7919 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7920 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7921 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7922 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7923 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7924 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7925
7926 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7927
7928 * window.el (window--state-get-1): Workaround for bug#14527.
7929 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7930
7931 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7932
7933 * net/eww.el (eww-back-url): Implement the history by stashing all
7934 the data into a list.
7935 (eww-forward-url): Allow going forward in the history, too.
7936
7937 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7940 for values and use read--expression for expressions (bug#14710).
7941 (read-file-local-variable): Avoid setq.
7942 (read-file-local-variable-mode): Use minor-mode-list.
7943
7944 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7945
7946 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7947 for DOI URLs.
7948
7949 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7950
7951 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7952 Update imenu-support when dialect changes.
7953
7954 2013-06-25 Leo Liu <sdl.web@gmail.com>
7955
7956 * ido.el (ido-read-internal): Allow forward slash on windows.
7957
7958 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7959
7960 * net/eww.el (eww): Start of strings is \\`, not ^.
7961
7962 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7963
7964 * net/shr.el (shr-browse-url): Fix interactive spec.
7965
7966 * net/eww.el (eww): Add a trailing slash to domain names.
7967
7968 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7969
7970 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7971
7972 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7973
7974 * net/shr.el (shr-browse-url): Use an external browser if given a
7975 prefix.
7976
7977 * net/eww.el (eww-external-browser): Move to shr.
7978
7979 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7980
7981 * net/eww.el (eww): Work more correctly for file: URLs.
7982 (eww-detect-charset): Allow quoted charsets.
7983 (eww-yank-page-url): New command and keystroke.
7984
7985 2013-06-24 Daiki Ueno <ueno@gnu.org>
7986
7987 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7988 file name of gpg executable.
7989 (epg-context-program): New function.
7990 (epg-context-home-directory): New function.
7991 (epg-context-set-program): New function.
7992 (epg-context-set-home-directory): New function.
7993 (epg--start): Use `epg-context-program' instead of
7994 'epg-gpg-program'.
7995 (epg--list-keys-1): Likewise.
7996
7997 2013-06-24 Leo Liu <sdl.web@gmail.com>
7998
7999 * ido.el (ido-read-internal): Fix bug#14620.
8000
8001 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8002
8003 * faces.el (face-documentation): Simplify.
8004 (read-face-attribute, tty-find-type, x-resolve-font-name):
8005 Use `string-match-p'.
8006 (list-faces-display): Use `string-match-p'. Simplify.
8007 (face-spec-recalc): Check face to avoid face alias loops.
8008 (read-color): Use `string-match-p' and non-capturing parenthesis.
8009
8010 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8011
8012 * net/shr.el (shr-rescale-image): Use the new
8013 :max-width/:max-height functionality.
8014
8015 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8016
8017 * net/eww.el (eww-search-prefix): New variable.
8018 (eww): Use it.
8019 (eww-external-browser): New variable.
8020 (eww-mode-map): New keystroke.
8021 (eww-browse-with-external-browser): New command.
8022
8023 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8024
8025 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8026
8027 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8028 Don't skip aligning the next header field when padding is 0;
8029 otherwise, field width is not respected unless the title is as
8030 wide as the field.
8031
8032 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8033
8034 * emacs-lisp/package.el (package-el-version): Remove.
8035 (package-process-define-package): Fix inf-loop.
8036 (package-install): Allow symbols as arguments again.
8037
8038 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8039
8040 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8041 add some more keyword-like methods.
8042 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8043
8044 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8045
8046 * bs.el (bs-buffer-show-mark): Make defvar-local.
8047 (bs-mode): Use setq-local.
8048
8049 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8050 (emacs-lock--try-unlocking): Make defvar-local.
8051
8052 2013-06-22 Glenn Morris <rgm@gnu.org>
8053
8054 * play/cookie1.el (cookie-apropos): Minor simplification.
8055
8056 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8057
8058 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8059
8060 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8061 `regexp-opt', it breaks the build during dumping.
8062
8063 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8064
8065 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8066 Highlight keyword-like methods on Kernel and Module with
8067 font-lock-builtin-face.
8068 (auto-mode-alist): Consolidate different entries into one regexp
8069 and add more *file-s.
8070
8071 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8072
8073 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8074
8075 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8076 (diary-entry): Use it in the action of this button type instead of
8077 diary-goto-entry.
8078
8079 * calendar/todo-mode.el: New version.
8080 (todo-add-category): Append new category to end of file and give
8081 it the highest number, instead of putting it at the beginning and
8082 giving it 0. Incorporate noninteractive functionality.
8083 (todo-forward-category): Adapt to 1-based category numbering.
8084 Allow skipping over archived categories.
8085 (todo-backward-category): Derive from todo-forward-category.
8086 (todo-backward-item, todo-forward-item): Make noninteractive and
8087 delegate interactive part to new commands. Make sensitive to done items.
8088 (todo-categories): Make value an alist of category names and
8089 vectors of item counts.
8090 (todo-category-beg): Make a defconst.
8091 (todo-category-number): Use 1 instead of 0 as initial value.
8092 (todo-category-select): Make sensitive to overlays, optional item
8093 highlighting and done items.
8094 (todo-delete-item): Make sensitive to overlays and marked and done items.
8095 (todo-edit-item): Make sensitive to overlays and editing of
8096 date/time header optional. Add format checks.
8097 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8098 no-op if point is not on an item. Advertise using todo-edit-quit.
8099 (todo-edit-mode): Make sensitive to new format, font-locking, and
8100 multiple todo files.
8101 (todo-insert-item, todo-insert-item-here): Derive from
8102 todo-basic-insert-item and extend functionality.
8103 (todo-item-end, todo-item-start): Make sensitive to done items.
8104 (todo-item-string): Don't return text properties. Restore point.
8105 (todo-jump-to-category): Make sensitive to multiple todo files and
8106 todo archives. Use extended category completion.
8107 (todo-lower-item, todo-raise-item): Rename to *-priority and
8108 derive from todo-set-item-priority.
8109 (todo-mode): Derive from special-mode. Make sensitive to new
8110 format, font-locking and multiple todo files. Make read-only.
8111 (todo-mode-map): Don't suppress digit keys, so they can supply
8112 prefix arguments. Add many new key bindings.
8113 (todo-prefix): Insert as an overlay instead of file text.
8114 Change semantics from diary date expression to purely visual mark.
8115 (todo-print): Rename to todo-print-buffer. Make buffer display
8116 features printable. Remove option to restrict number of items
8117 printed. Add option to print to file.
8118 (todo-print-function): Rename to todo-print-buffer-function.
8119 (todo-quit): Extend to handle exiting new todo modes.
8120 (todo-remove-item): Make sensitive to overlays.
8121 (todo-save): Extend to buffers of filtered items.
8122 (todo-show): Make sensitive to done items, multiple todo files and
8123 new todo modes. Offer to convert legacy todo file before creating
8124 first new todo file.
8125 (todo-show-priorities): Rename to todo-top-priorities.
8126 Change semantics of value 0.
8127 (todo-top-priorities): Rename to todo-filter-top-priorities,
8128 derive from todo-filter-items and extend functionality.
8129 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8130 and extend functionality to other types of filtered items.
8131 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8132 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8133 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8134 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8135 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8136 (todo-edit-mode-hook, todo-entry-prefix-function)
8137 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8138 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8139 (todo-initials, todo-insert-threshold, todo-item-string-start)
8140 (todo-line-string, todo-menu, todo-mode-hook)
8141 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8142 (todo-print-priorities, todo-remove-separator)
8143 (todo-save-top-priorities-too, todo-string-count-lines)
8144 (todo-string-multiline-p, todo-time-string-format)
8145 (todo-tmp-buffer-name): Remove.
8146 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8147 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8148 (todo-edit-category-diary-inclusion)
8149 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8150 (todo-edit-file, todo-edit-item-date-day)
8151 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8152 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8153 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8154 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8155 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8156 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8157 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8158 (todo-filter-top-priorities-multifile, todo-find-archive)
8159 (todo-find-filtered-items-file, todo-go-to-source-item)
8160 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8161 (todo-jump-to-archive-category, todo-lower-category)
8162 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8163 (todo-move-category, todo-move-item, todo-next-button)
8164 (todo-next-item, todo-padded-string, todo-powerset)
8165 (todo-previous-button, todo-previous-item)
8166 (todo-print-buffer-to-file, todo-raise-category)
8167 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8168 (todo-set-category-number, todo-set-item-priority)
8169 (todo-set-top-priorities-in-category)
8170 (todo-set-top-priorities-in-file, todo-show-categories-table)
8171 (todo-sort-categories-alphabetically-or-numerically)
8172 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8173 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8174 (todo-toggle-item-header, todo-toggle-item-highlighting)
8175 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8176 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8177 (todo-unarchive-items, todo-unmark-category): New commands.
8178 (todo-absolute-file-name, todo-add-to-buffer-list)
8179 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8180 (todo-basic-insert-item, todo-category-completions)
8181 (todo-category-number, todo-category-string-matcher-1)
8182 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8183 (todo-check-format, todo-clear-matches)
8184 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8185 (todo-current-category, todo-date-string-matcher)
8186 (todo-define-insertion-command, todo-diary-expired-matcher)
8187 (todo-diary-goto-entry, todo-diary-item-p)
8188 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8189 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8190 (todo-done-item-section-p, todo-done-separator)
8191 (todo-done-string-matcher, todo-files, todo-filter-items)
8192 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8193 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8194 (todo-insert-category-line, todo-insert-item-from-calendar)
8195 (todo-insert-sort-button, todo-insert-with-overlays)
8196 (todo-insertion-command-name, todo-insertion-key-bindings)
8197 (todo-label-to-key, todo-longest-category-name-length)
8198 (todo-make-categories-list, todo-mode-external-set)
8199 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8200 (todo-modes-set-3, todo-multiple-filter-files)
8201 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8202 (todo-read-category, todo-read-date, todo-read-dayname)
8203 (todo-read-file-name, todo-read-time)
8204 (todo-reevaluate-category-completions-files-defcustom)
8205 (todo-reevaluate-default-file-defcustom)
8206 (todo-reevaluate-filelist-defcustoms)
8207 (todo-reevaluate-filter-files-defcustom)
8208 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8209 (todo-reset-done-separator, todo-reset-done-separator-string)
8210 (todo-reset-done-string, todo-reset-global-current-todo-file)
8211 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8212 (todo-reset-prefix, todo-set-categories)
8213 (todo-set-date-from-calendar, todo-set-show-current-file)
8214 (todo-set-top-priorities, todo-short-file-name)
8215 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8216 (todo-total-item-counts, todo-update-buffer-list)
8217 (todo-update-categories-display, todo-update-categories-sexp)
8218 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8219 New functions.
8220 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8221 New major modes.
8222 (todo-categories, todo-display, todo-edit, todo-faces)
8223 (todo-filtered): New defgroups.
8224 (todo-archived-only, todo-button, todo-category-string, todo-date)
8225 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8226 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8227 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8228 (todo-add-item-if-new-category, todo-always-add-time-string)
8229 (todo-categories-align, todo-categories-archived-label)
8230 (todo-categories-category-label, todo-categories-diary-label)
8231 (todo-categories-done-label, todo-categories-number-separator)
8232 (todo-categories-todo-label, todo-categories-totals-label)
8233 (todo-category-completions-files, todo-completion-ignore-case)
8234 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8235 (todo-done-separator-string, todo-done-string)
8236 (todo-files-function, todo-filter-done-items, todo-filter-files)
8237 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8238 (todo-initial-category, todo-initial-file, todo-item-mark)
8239 (todo-legacy-date-time-regexp, todo-mode-line-function)
8240 (todo-nondiary-marker, todo-number-prefix)
8241 (todo-print-buffer-function, todo-show-current-file)
8242 (todo-show-done-only, todo-show-first, todo-show-with-done)
8243 (todo-skip-archived-categories, todo-top-priorities-overrides)
8244 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8245 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8246 New defcustoms.
8247 (todo-category-done, todo-date-pattern, todo-date-string-start)
8248 (todo-diary-items-buffer, todo-done-string-start)
8249 (todo-filtered-items-buffer, todo-item-start)
8250 (todo-month-abbrev-array, todo-month-name-array)
8251 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8252 (todo-top-priorities-buffer): New defconsts.
8253 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8254 (todo-categories-with-marks, todo-category-string-face)
8255 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8256 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8257 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8258 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8259 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8260 (todo-font-lock-keywords, todo-global-current-todo-file)
8261 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8262 (todo-insertion-commands-args)
8263 (todo-insertion-commands-args-genlist)
8264 (todo-insertion-commands-names, todo-insertion-map)
8265 (todo-key-bindings-t, todo-key-bindings-t+a)
8266 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8267 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8268 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8269 (todo-visited): New variables.
8270
8271 2013-06-21 Glenn Morris <rgm@gnu.org>
8272
8273 * play/cookie1.el (cookie-apropos): Add optional display argument.
8274 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8275 (psychoanalyze-pinhead): Use cookie-doctor.
8276
8277 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8278
8279 * emacs-lisp/package.el (tar-get-file-descriptor)
8280 (tar--extract): Declare.
8281
8282 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8283
8284 Extend flymake's warning predicate to be a function (bug#14217).
8285 * progmodes/flymake.el (flymake-warning-predicate): New.
8286 (flymake-parse-line): Use it.
8287 (flymake-warning-re): Make obsolete alias to
8288 `flymake-warning-predicate'.
8289
8290 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8293 (package-obsolete-list): Remove.
8294 (package-activate): Remove min-version argument. Add `force' argument.
8295 Adjust to new package-alist format.
8296 (package-mark-obsolete): Remove.
8297 (package-unpack): Force reload of the package's autoloads.
8298 (package-installed-p): Check builtins if the installed package is not
8299 recent enough.
8300 (package-initialize): Don't reset package-obsolete-list.
8301 Don't specify which package version to activate.
8302 (package-process-define-package, describe-package-1)
8303 (package-menu--generate): Adjust to new package-alist format.
8304
8305 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8306
8307 * allout-widgets.el (allout-widgets-mode-off)
8308 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8309 (allout-widgets-post-command-business)
8310 (allout-widgets-after-copy-or-kill-function)
8311 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8312 (allout-decorate-item-and-context)
8313 (allout-graphics-modification-handler): Fix typos in docstrings.
8314 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8315
8316 * cmuscheme.el (scheme-start-file): Doc fix.
8317 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8318 (scheme-input-filter): Use `string-match-p'.
8319
8320 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8321
8322 * dired-x.el: Use Dired consistently in docstrings.
8323
8324 * dired.el: Use Dired consistently in docstrings.
8325 (dired-readin, dired-mode): Use `setq-local'.
8326 (dired-switches-alist): Make defvar-local.
8327 (dired-buffers-for-dir): Use `zerop'.
8328 (dired-safe-switches-p, dired-switches-escape-p)
8329 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8330 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8331 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8332 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8333 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8334 (dired-toggle-marks, dired-mark-files-containing-regexp)
8335 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8336 (dired-flag-auto-save-files, dired-flag-backup-files):
8337 Use `looking-at-p'.
8338 (dired-mark-files-regexp, dired-build-subdir-alist):
8339 Use `string-match-p', `looking-at-p'.
8340
8341 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8342 (direct-print-region-helper): Use `string-match-p'.
8343
8344 2013-06-21 Leo Liu <sdl.web@gmail.com>
8345
8346 * comint.el (comint-redirect-results-list-from-process):
8347 Fix infinite loop.
8348
8349 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8350
8351 * net/eww.el (eww-update-header-line-format): Quote % characters.
8352
8353 2013-06-21 Glenn Morris <rgm@gnu.org>
8354
8355 * play/cookie1.el (cookie): New custom group.
8356 (cookie-file): New option.
8357 (cookie-check-file): New function.
8358 (cookie): Make it interactive. Make start and end messages optional.
8359 Interactively, display the result. Default to cookie-file.
8360 (cookie-insert): Default to cookie-file.
8361 (cookie-snarf): Make start and end messages optional.
8362 Default to cookie-file. Use with-temp-buffer.
8363 (cookie-read): Rename from read-cookie.
8364 Make start and end messages optional. Default to cookie-file.
8365 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8366 Do not autoload it.
8367 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8368 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8369
8370 2013-06-21 Leo Liu <sdl.web@gmail.com>
8371
8372 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8373
8374 2013-06-21 Glenn Morris <rgm@gnu.org>
8375
8376 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8377
8378 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8379 Daniel Hackney <dan@haxney.org>
8380
8381 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8382 Consolidate the single-file vs tarball code.
8383 (package-desc-suffix): New function.
8384 (package-desc-full-name): Don't bother inlining it.
8385 (package-load-descriptor): Return the new package-desc.
8386 (package-mark-obsolete): Remove unused arg `package'.
8387 (package-unpack): Make it work for single files as well.
8388 Make it update package-alist.
8389 (package--make-autoloads-and-stuff): Rename from
8390 package--make-autoloads-and-compile. Don't compile any more.
8391 (package--compile): New function.
8392 (package-generate-description-file): New function, extracted from
8393 package-unpack-single.
8394 (package-unpack-single): Remove.
8395 (package--with-work-buffer): Add indentation and debugging info.
8396 (package-download-single): Remove.
8397 (package-install-from-archive): Rename from package-download-tar, make
8398 it take a pkg-desc, and make it work for single files as well.
8399 (package-download-transaction): Simplify.
8400 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8401 external tar program.
8402 (package-install-from-buffer): Remove `pkg-desc' argument.
8403 Use package-tar-file-info for tar-mode buffers.
8404 (package-install-file): Simplify accordingly.
8405 (package-archive-base): Change to take a pkg-desc.
8406 * tar-mode.el (tar--check-descriptor): New function, extracted from
8407 tar-get-descriptor.
8408 (tar-get-descriptor): Use it.
8409 (tar-get-file-descriptor): New function.
8410 (tar--extract): New function, extracted from tar-extract.
8411 (tar--extract): Use it.
8412 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8413 case the summary uses non-ascii. Adjust to new calling convention of
8414 package-tar-file-info.
8415
8416 2013-06-21 Leo Liu <sdl.web@gmail.com>
8417
8418 * comint.el (comint-redirect-results-list-from-process):
8419 Fix random delay. (Bug#14681)
8420
8421 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8422
8423 * profiler.el (profiler-format-number): Use log, not log10.
8424
8425 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8426
8427 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8428
8429 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8432 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8433 yet available.
8434 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8435 (AUTOGENEL): ... here.
8436 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8437 (cl--defsubst-expand): Use it.
8438
8439 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8440
8441 * subr.el (log10): Move here from C code, and declare as obsolete.
8442 All uses of (log10 X) replaced with (log X 10).
8443
8444 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8445
8446 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8447 Declare with `defvar-local'.
8448 (tabulated-list-use-header-line, tabulated-list-entries)
8449 (tabulated-list-padding, tabulated-list-printer)
8450 (tabulated-list-sort-key): Declare with `defvar-local'.
8451 (tabulated-list-init-header, tabulated-list-print-fake-header):
8452 Use `setq-local'.
8453
8454 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8455
8456 * arc-mode.el (archive-mode): Add `archive-write-file' to
8457 `write-contents-functions' also for remote files. (Bug#14652)
8458
8459 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8460
8461 * cus-edit.el (custom-commands): Fix typos.
8462 (custom-display): Fix tooltip text.
8463 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8464 Fix typos in docstrings.
8465 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8466 (custom-unlispify-menu-entry, custom-magic-value-create)
8467 (custom-add-see-also, custom-group-value-create): Use ?\s.
8468 (custom-guess-type, customize-apropos, editable-field)
8469 (custom-face-value-create): Use `string-match-p'.
8470 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8471
8472 * custom.el (custom-load-symbol): Use `string-match-p'.
8473
8474 * ansi-color.el: Convert to lexical binding.
8475 (ansi-colors): Fix URL.
8476 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8477 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8478 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8479
8480 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8481
8482 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8483
8484 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8485
8486 2013-06-19 Tom Tromey <tromey@redhat.com>
8487
8488 * net/eww.el (eww-top-url): Remove.
8489 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8490 (eww-render): Set new variables. Don't set eww-top-url.
8491 (eww-handle-link): Handle "prev", "home", and "contents".
8492 Downcase the rel text.
8493 (eww-top-url): Choose best top URL.
8494
8495 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8496
8497 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8498 relying in widget.el. Using widget.el leads to too many
8499 user interface inconsistencies.
8500 (eww-self-insert): Implement entering commands in text fields.
8501 (eww-process-text-input): New function to make text input field editing
8502 work.
8503 (eww-submit): Rewrite to use the new-style form methods.
8504 (eww-select-display): Display the correct selected item.
8505 (eww-change-select): Implement changing the select value.
8506 (eww-toggle-checkbox): Implement radio/checkboxes.
8507 (eww-update-field): Fix compilation error.
8508 (eww-tag-textarea): Implement <textarea>.
8509
8510 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8511 we don't shadow mode-specific bindings.
8512
8513 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8514 nothing to push.
8515
8516 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8517
8518 2013-06-19 Glenn Morris <rgm@gnu.org>
8519
8520 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8521
8522 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8523
8524 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8525 not needed.
8526
8527 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8528
8529 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8530
8531 * net/browse-url.el (browse-url-browser-function):
8532 `eww-browse-url' has the right calling signature, `eww' does not.
8533
8534 2013-06-19 Glenn Morris <rgm@gnu.org>
8535
8536 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8537 Only eval autoloaded macros.
8538 (byte-compile-autoload): Only give the macro warning for macros.
8539
8540 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8541 (ps-underlined-faces): Declare.
8542
8543 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8544 (speedbar-add-supported-extension): Declare.
8545
8546 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8547 Don't include a date stamp in the header of the generated file;
8548 it leads to needless differences between output files.
8549
8550 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8551
8552 * net/secrets.el (secrets-struct-secret-content-type):
8553 Replace check of introspection data by a test call of "CreateItem".
8554 Some servers do not offer introspection.
8555
8556 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * electric.el (electric-pair-mode): Improve interaction with
8559 electric-layout-mode.
8560 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8561 (electric-pair-syntax): Use text-mode-syntax-table in comments
8562 and strings.
8563 (electric-pair--insert): New function.
8564 (electric-pair-post-self-insert-function): Use it and
8565 electric--after-char-pos.
8566
8567 2013-06-19 Leo Liu <sdl.web@gmail.com>
8568
8569 * progmodes/octave.el (octave-help): Fix regexp.
8570
8571 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8572
8573 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8574 (shr-table-horizontal-line): Allow nil as a value, and change the
8575 default.
8576 (shr-insert-table-ruler): Respect the nil value.
8577
8578 2013-06-18 Tom Tromey <tromey@barimba>
8579
8580 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8581 New defvars.
8582 (eww-open-file): New defun.
8583 (eww-render): Initialize new variables.
8584 (eww-display-html): Handle "link" and "a".
8585 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8586 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8587 (eww-back-url): Rename from eww-previous-url.
8588 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8589 New defuns.
8590
8591 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8592
8593 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8594 Distinguish ternary operator tokens from slash symbol and slash
8595 char literal.
8596
8597 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8598
8599 Convert symbol prettification into minor mode and global minor mode.
8600
8601 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8602 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8603 (prettify-symbols--keywords): Rename from
8604 `prog-prettify-symbols-alist' and make a local defvar.
8605 (prettify-symbols--compose-symbol): Rename from
8606 `prog--prettify-font-lock-compose-symbol'.
8607 (prettify-symbols--make-keywords): Rename from
8608 `prog-prettify-font-lock-symbols-keywords' and simplify.
8609 (prog-prettify-install): Remove.
8610 (prettify-symbols-mode): New minor mode, based on
8611 `prog-prettify-install'.
8612 (turn-on-prettify-symbols-mode): New function.
8613 (global-prettify-symbols-mode): New globalized minor mode.
8614
8615 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8616 * progmodes/cfengine.el (cfengine3-mode):
8617 * progmodes/perl-mode.el (perl-mode): Don't call
8618 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8619
8620 2013-06-18 Juri Linkov <juri@jurta.org>
8621
8622 * files-x.el (modify-file-local-variable-message): New function.
8623 (modify-file-local-variable)
8624 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8625 and call `modify-file-local-variable-message' when it's non-nil.
8626 (add-file-local-variable, delete-file-local-variable)
8627 (add-file-local-variable-prop-line)
8628 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8629 and use it. (Bug#9820)
8630
8631 2013-06-18 Juri Linkov <juri@jurta.org>
8632
8633 * emulation/vi.el (vi-shell-op):
8634 * emulation/vip.el (vip-execute-com, ex-command):
8635 * emulation/viper-cmd.el (viper-exec-bang):
8636 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8637 the call of `shell-command-on-region'. (Bug#14637)
8638
8639 * simple.el (shell-command-on-region): Doc fix.
8640
8641 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8642
8643 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8644 (bug#14633).
8645
8646 2013-06-18 Glenn Morris <rgm@gnu.org>
8647
8648 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8649
8650 * newcomment.el (comment-search-forward, comment-search-backward):
8651 Doc fix. (Bug#14376)
8652
8653 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8654
8655 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8656 (buffer-face-mode-invoke): Doc fix.
8657
8658 2013-06-18 Matthias Meulien <orontee@gmail.com>
8659
8660 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8661 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8662
8663 2013-06-18 Glenn Morris <rgm@gnu.org>
8664
8665 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8666 Replace obsolete function generic-make-keywords with its expansion.
8667
8668 * progmodes/python.el (ffap-alist): Declare.
8669
8670 * textmodes/reftex.el (bibtex-mode-map): Declare.
8671
8672 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8673
8674 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8675 (package-unpack, package-unpack-single): Return the pkg-dir.
8676 (package-download-transaction): Use it to update package-alist.
8677
8678 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8679
8680 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8681 possible choice.
8682
8683 2013-06-17 Juri Linkov <juri@jurta.org>
8684
8685 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8686
8687 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8688
8689 * emacs-lisp/package.el (package-load-descriptor):
8690 Remove `with-syntax-table' call, `read' doesn't need it.
8691 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8692
8693 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8694
8695 * startup.el (command-line): Expand package name returned by
8696 `package--description-file' (bug#14639).
8697
8698 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8699
8700 * emacs-lisp/package.el (package-load-descriptor): Do not call
8701 `emacs-lisp-mode', just use its syntax table.
8702
8703 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8704
8705 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8706 `font-lock-extra-managed-props' if any prettifying keyword is added.
8707 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8708 (prog-mode): Use `setq-local'.
8709
8710 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * international/characters.el (standard-case-table): Set syntax of ?»
8713 and ?« to punctuation.
8714
8715 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8716
8717 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8718 Save relevant match data before calling `syntax-ppss' (bug#14595).
8719
8720 2013-06-15 Juri Linkov <juri@jurta.org>
8721
8722 * files-x.el (modify-file-local-variable-prop-line): Add local
8723 variables to the end of the existing comment on the first line.
8724 Use `file-auto-mode-skip' to skip interpreter magic line,
8725 and also skip XML declaration.
8726
8727 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8728
8729 * startup.el (package--builtin-versions): New var.
8730 (package-subdirectory-regexp): Remove.
8731 (package--description-file): Hard code its value instead.
8732
8733 * emacs-lisp/package.el: Don't activate packages older than builtin.
8734 (package-obsolete-list): Rename from package-obsolete-alist, and make
8735 it into a simple list of package-desc.
8736 (package-strip-version): Remove.
8737 (package-built-in-p): Use package--builtin-versions.
8738 (package-mark-obsolete): Simplify.
8739 (package-process-define-package): Mark it obsolete if older than the
8740 builtin version.
8741 (package-handle-response): Use line-end-position.
8742 (package-read-archive-contents, package--download-one-archive):
8743 Simplify.
8744 (package--add-to-archive-contents): Skip if older than the builtin or
8745 installed version.
8746 (package-menu-describe-package): Fix last change.
8747 (package-list-unversioned): New var.
8748 (package-menu--generate): Use it.
8749
8750 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8751 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8752 (autoload-builtin-package-versions): New variable.
8753 (autoload-generate-file-autoloads): Use them.
8754 Remove the list of autoloaded functions/macros from the
8755 (autoload...) comments.
8756
8757 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8758
8759 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8760
8761 * simple.el (line-move-partial): Don't jump to the next screen
8762 line as soon as it becomes visible. Instead, continue enlarging
8763 the vscroll until the portion of a tall screen line that's left on
8764 display is about the height of the frame's default font.
8765 (Bug#14567)
8766
8767 2013-06-15 Glenn Morris <rgm@gnu.org>
8768
8769 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8770 compilation-error-regexp-alist void, or local while let-bound.
8771
8772 * progmodes/make-mode.el (makefile-mode-syntax-table):
8773 Treat "=" as punctuation. (Bug#14614)
8774
8775 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8776
8777 * help-fns.el (describe-variable):
8778 Add extra line for permanent-local variables.
8779
8780 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8781
8782 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8783 Add export, import, library. (Bug#9164)
8784 (library): Set indent function.
8785
8786 2013-06-14 Glenn Morris <rgm@gnu.org>
8787
8788 * term/xterm.el (xterm--query):
8789 Stop after first matching handler. (Bug#14615)
8790
8791 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8792
8793 Add support for dired in saveplace.
8794 * dired.el (dired-initial-position-hook): New variable.
8795 (dired-initial-position): Call hook to place cursor position.
8796 * saveplace.el (save-place-to-alist): Add dired position.
8797 (save-place-dired-hook): New function.
8798
8799 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8802 through a symbol rather than letrec.
8803
8804 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8805 (package-desc): Add `dir' field.
8806 (package-desc-full-name): New function.
8807 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8808 (package-maybe-load-descriptor): Remove.
8809 (package-load-all-descriptors): Just call package-load-descriptor.
8810 (package--disabled-p): New function.
8811 (package-desc-vers, package-desc-doc): Remove aliases.
8812 (package--dir): Remove function.
8813 (package-activate): Check if a package is disabled.
8814 (package-process-define-package): New function, extracted from
8815 define-package.
8816 (define-package): Turn into a place holder.
8817 (package-unpack-single, package-tar-file-info):
8818 Use package--description-file.
8819 (package-compute-transaction): Use package--disabled-p.
8820 (package-download-transaction): Don't call
8821 package-maybe-load-descriptor since they're all loaded anyway.
8822 (package-install): Change argument to be a pkg-desc.
8823 (package-delete): Use a single pkg-desc argument.
8824 (describe-package-1): Use package-desc-dir instead of package--dir.
8825 Use package-desc property instead of package-symbol.
8826 (package-install-button-action): Adjust accordingly.
8827 (package--push): Rewrite.
8828 (package-menu--print-info): Adjust accordingly. Change the ID format
8829 to be a pkg-desc.
8830 (package-menu-describe-package, package-menu-get-status)
8831 (package-menu--find-upgrades, package-menu-mark-upgrades)
8832 (package-menu-execute, package-menu--name-predicate):
8833 Adjust accordingly.
8834 * startup.el (package--description-file): New function.
8835 (command-line): Use it.
8836 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8837 Use package-desc-version.
8838
8839 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8840 (byte-compile-preprocess): Use it.
8841 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8842 can't quite recognize.
8843 (byte-compile-add-to-list): Remove.
8844 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8845 (cconv-closure-convert): Add assertion.
8846
8847 * emacs-lisp/map-ynp.el: Use lexical-binding.
8848 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8849 Factor out some repeated code.
8850
8851 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * subr.el (with-eval-after-load): New macro.
8854 (eval-after-load): Allow form to be a function.
8855 take advantage of lexical-binding.
8856 (do-after-load-evaluation): Use dolist and adjust to new format.
8857 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8858
8859 2013-06-13 Juri Linkov <juri@jurta.org>
8860
8861 * replace.el (perform-replace): Display "symbol " and other search
8862 modes from `isearch-message-prefix' in the *Help* buffer.
8863
8864 * isearch.el (isearch-query-replace): Add " symbol" and other
8865 possible search modes from `isearch-message-prefix' to the prompt.
8866 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8867 when reading a regexp to collect.
8868
8869 2013-06-13 Juri Linkov <juri@jurta.org>
8870
8871 * isearch.el (word-search-regexp): Match whitespace if the search
8872 string begins or ends in whitespace. The LAX arg is applied to
8873 both ends of the search string. Use `regexp-quote' and explicit
8874 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8875 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8876 boundaries are replaced with symbol boundaries, and characters
8877 between symbols match non-word non-symbol syntax. (Bug#14602)
8878
8879 2013-06-13 Juri Linkov <juri@jurta.org>
8880
8881 * isearch.el (isearch-del-char): Don't exceed the length of
8882 `isearch-string' by the prefix arg. (Bug#14563)
8883
8884 2013-06-13 Juri Linkov <juri@jurta.org>
8885
8886 * isearch.el (isearch-yank-word, isearch-yank-line)
8887 (isearch-char-by-name, isearch-quote-char)
8888 (isearch-printing-char, isearch-process-search-char):
8889 Add optional count prefix arg. (Bug#14563)
8890
8891 * international/isearch-x.el
8892 (isearch-process-search-multibyte-characters):
8893 Add optional count prefix arg.
8894
8895 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8898 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8899 lexical-binding.
8900
8901 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8902
8903 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8904
8905 2013-06-13 Glenn Morris <rgm@gnu.org>
8906
8907 * startup.el (tty-handle-args):
8908 Don't just discard "--" and anything after. (Bug#14608)
8909
8910 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8911
8912 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8913
8914 Implement changes in Secret Service API. Make it backward compatible.
8915 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8916 (secrets-create-item): Use it. Prefix properties with interface.
8917
8918 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8919
8920 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8921 (term-emulate-terminal): Respect term-suppress-hard-newline.
8922
8923 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8924
8925 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8926 Only remove a `thumb-file' overlay. (Bug#14548)
8927
8928 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8929
8930 * mail/reporter.el (reporter-submit-bug-report):
8931 Handle missing package-name. (Bug#14600)
8932
8933 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8934
8935 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8936 (reftex-citation-prompt, reftex-default-bibliography)
8937 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8938 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8939 (reftex-bib-sort-author, reftex-bib-sort-year)
8940 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8941 (reftex-extract-bib-entries-from-thebibliography)
8942 (reftex-get-bibkey-default, reftex-get-bib-names)
8943 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8944 (reftex-format-bib-entry, reftex-parse-bibitem)
8945 (reftex-format-bibitem, reftex-do-citation)
8946 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8947 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8948 (reftex-insert-bib-matches, reftex-format-citation)
8949 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8950 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8951 existing comments into docstrings.
8952
8953 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8954
8955 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8956
8957 2013-06-12 Andreas Schwab <schwab@suse.de>
8958
8959 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8960 for auto-save files.
8961
8962 2013-06-12 Glenn Morris <rgm@gnu.org>
8963
8964 * ido.el (ido-delete-ignored-files): Remove.
8965 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8966 Go back to calling ido-ignore-item-p directly.
8967
8968 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8969
8970 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8971
8972 * ido.el (ido-delete-ignored-files): New function,
8973 split from ido-make-file-list-1.
8974 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8975 (ido-make-file-list-1): Use ido-delete-ignored-files.
8976
8977 2013-06-12 Leo Liu <sdl.web@gmail.com>
8978
8979 * progmodes/octave.el (inferior-octave-startup)
8980 (inferior-octave-completion-table)
8981 (inferior-octave-track-window-width-change)
8982 (octave-eldoc-function-signatures, octave-help)
8983 (octave-find-definition): Use single quoted strings.
8984 (inferior-octave-startup-args): Change default value.
8985 (inferior-octave-startup): Do not hard code "-i" and
8986 "--no-line-editing".
8987 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8988 (inferior-octave-directory-tracker): Use it.
8989 (octave-goto-function-definition): Robustify.
8990 (octave-help): Support highlighting operators in 'See also'.
8991 (octave-find-definition): Find subfunctions only in Octave mode.
8992
8993 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8994
8995 * help-fns.el (help-fns--compiler-macro): If the handler function is
8996 named, then put a link to it.
8997 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8998 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8999 (cl-typep): Use it.
9000 (cl-eval-when): Simplify debug spec.
9001 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9002 compiler-macro function instead of setting `compiler-macro-file'.
9003
9004 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9005
9006 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9007 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9008
9009 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9010 Daniel Hackney <dan@haxney.org>
9011
9012 First part of Daniel Hackney's patch to package.el.
9013 * emacs-lisp/package.el: Use defstruct.
9014 (package-desc): New, main struct.
9015 (package--bi-desc, package--ac-desc): New structs, used to describe the
9016 format in external files.
9017 (package-desc-vers): Replace with package-desc-version accessor.
9018 (package-desc-doc): Replace with package-desc-summary accessor.
9019 (package-activate-1): Remove `package' arg since the pkg-vec now
9020 includes the name.
9021 (define-package): Use package-desc-from-define.
9022 (package-unpack-single): Change file-name arg to be a symbol.
9023 (package--add-to-archive-contents): Use package-desc-create and new
9024 accessor functions to package--ac-desc.
9025 (package-buffer-info, package-tar-file-info): Return a package-desc.
9026 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9027 arg to be a package-desc.
9028 (package-install-file): Adjust accordingly. Use \' to match EOS.
9029 (package--from-builtin): New function.
9030 (describe-package-1, package-menu--generate): Use it.
9031 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9032 (package-generate-autoloads): Idem and return the name of the file.
9033 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9034 Change pkg-info arg to be a package-desc.
9035 Use package-make-ac-desc.
9036 (package-upload-file): Use \' to match EOS.
9037 * finder.el (finder-compile-keywords): Use package-make-builtin.
9038
9039 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * vc/vc.el (vc-deduce-fileset): Change error message.
9042 (vc-read-backend): New function.
9043 (vc-next-action): Use it.
9044
9045 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9046
9047 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9048 (prolog-font-lock-keywords): Use regexp-opt instead.
9049 Don't manually highlight strings.
9050 (prolog-mode-variables): Simplify comment-start-skip.
9051 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9052
9053 * emacs-lisp/generic.el (generic--normalise-comments)
9054 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9055 (generic-mode-set-comments): Use them.
9056 (generic-bracket-support): Use setq-local.
9057 (generic-make-keywords-list): Declare obsolete.
9058
9059 2013-06-11 Glenn Morris <rgm@gnu.org>
9060
9061 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9062 Prettify after setting font-lock-defaults. (Bug#14574)
9063
9064 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9065
9066 * replace.el (query-replace, occur-read-regexp-defaults-function)
9067 (replace-search):
9068 * subr.el (declare-function, number-sequence, local-set-key)
9069 (substitute-key-definition, locate-user-emacs-file)
9070 (with-silent-modifications, split-string, eval-after-load):
9071 Fix typos, remove unneeded backslashes and reflow some docstrings.
9072
9073 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9074
9075 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9076 default for Elisp files.
9077
9078 2013-06-11 Glenn Morris <rgm@gnu.org>
9079
9080 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9081 although define-derived-mode was doing this anyway. (Bug#14583)
9082
9083 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9084
9085 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9086 Fix make-variable-buffer-local call to refer to the correct variable.
9087
9088 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9089
9090 * eshell/em-term.el (eshell-visual-commands)
9091 (eshell-visual-subcommands, eshell-visual-options):
9092 Add summary line to docstrings. Add cross-references.
9093
9094 2013-06-10 Glenn Morris <rgm@gnu.org>
9095
9096 * epa.el (epa-read-file-name): New function. (Bug#14510)
9097 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9098
9099 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9100
9101 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9102 output redirection to be ignored with visual commands.
9103
9104 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9105
9106 * eshell/em-term.el (eshell-visual-command-p): New function.
9107 (eshell-term-initialize): Move long lambda to separate function
9108 eshell-visual-command-p.
9109 * eshell/em-dirs.el (eshell-dirs-initialise):
9110 * eshell/em-script.el (eshell-script-initialize):
9111 Add missing #' to lambda.
9112
9113 2013-06-08 Leo Liu <sdl.web@gmail.com>
9114
9115 * progmodes/octave.el (octave-add-log-current-defun): New function.
9116 (octave-mode): Set add-log-current-defun-function.
9117 (octave-goto-function-definition): Do not move point if not found.
9118 (octave-find-definition): Enhance to try subfunctions first.
9119
9120 2013-06-08 Glenn Morris <rgm@gnu.org>
9121
9122 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9123 (byte-compile-backward-char, byte-compile-backward-word):
9124 Improve previous change, to handle non-explicit nil.
9125
9126 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9127
9128 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9129 (smie--opener/closer-at-point): New function.
9130 (smie--matching-block-data): Use it. Don't match from right after an
9131 opener or right before a closer. Obey smie-blink-matching-inners.
9132 Don't signal a mismatch for repeated inners like "switch..case..case".
9133
9134 2013-06-07 Leo Liu <sdl.web@gmail.com>
9135
9136 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9137 to t. (Bug#14303)
9138 (octave-function-header-regexp): Fix. (Bug#14570)
9139 (octave-help-mode-finish-hook, octave-help-mode-finish):
9140 Remove. Just use temp-buffer-show-hook.
9141
9142 * newcomment.el (comment-search-backward): Revert last change.
9143 (Bug#14434)
9144
9145 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9146
9147 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9148
9149 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9150 through xargs, to avoid failure due to MS-Windows limitations on
9151 command-line length.
9152
9153 2013-06-06 Glenn Morris <rgm@gnu.org>
9154
9155 * font-lock.el (lisp-font-lock-keywords-2):
9156 Treat user-error like error.
9157
9158 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9159 (byte-compile-backward-char, byte-compile-backward-word):
9160 Handle explicit nil arguments. (Bug#14565)
9161
9162 2013-06-05 Alan Mackenzie <acm@muc.de>
9163
9164 * isearch.el (isearch-allow-prefix): New user option.
9165 (isearch-other-meta-char): Don't exit isearch when a prefix
9166 argument is typed whilst `isearch-allow-prefix' is non-nil.
9167 (Bug#9706)
9168
9169 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9170
9171 * autorevert.el (auto-revert-notify-handler): Use memq.
9172 Hide assertion failure.
9173
9174 * skeleton.el: Use cl-lib.
9175 (skeleton-further-elements): Use defvar-local.
9176 (skeleton-insert): Use cl-progv.
9177
9178 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9179
9180 * progmodes/prog-mode.el (prog-prettify-symbols)
9181 (prog-prettify-install): Update docstrings.
9182
9183 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9184
9185 * simple.el: Move all the prog-mode code to prog-mode.el.
9186 * progmodes/prog-mode.el: New file.
9187 * loadup.el: Add prog-mode.el.
9188
9189 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9190
9191 * simple.el (prog-prettify-symbols): Add version.
9192 (prog-prettify-install): Add convenience function to prettify symbols.
9193
9194 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9195 (perl--augmented-font-lock-keywords-1)
9196 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9197 variables and use it.
9198
9199 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9200 (cfengine3-mode): Remove unneeded variable and use it.
9201
9202 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9203 (lisp--augmented-font-lock-keywords-1)
9204 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9205 Remove unneeded variables and use it.
9206
9207 2013-06-05 João Távora <joaotavora@gmail.com>
9208
9209 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9210 to point when opening the connection. (Bug#14380)
9211
9212 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * subr.el (load-history-regexp, load-history-filename-element)
9215 (eval-after-load, after-load-functions, do-after-load-evaluation)
9216 (eval-next-after-load, display-delayed-warnings)
9217 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9218 definition of save-match-data.
9219 (overriding-local-map): Remove accidental obsolescence declaration.
9220
9221 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9222
9223 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9224
9225 Generalize symbol prettify support to prog-mode and implement it
9226 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9227 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9228 (prog--prettify-font-lock-compose-symbol)
9229 (prog-prettify-font-lock-symbols-keywords): New variables and
9230 functions to support symbol prettification.
9231 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9232 (lisp--augmented-font-lock-keywords-1)
9233 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9234 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9235 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9236 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9237 Implement prettify of -> => :: strings.
9238 * progmodes/perl-mode.el (perl-prettify-symbols)
9239 (perl--font-lock-compose-symbol)
9240 (perl--font-lock-symbols-keywords): Move to prog-mode.
9241 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9242 (perl-font-lock-keywords-1)
9243 (perl-font-lock-keywords-2): Remove explicit prettify support.
9244 (perl--augmented-font-lock-keywords)
9245 (perl--augmented-font-lock-keywords-1)
9246 (perl--augmented-font-lock-keywords-2, perl-mode):
9247 Implement prettify support.
9248
9249 2013-06-05 Leo Liu <sdl.web@gmail.com>
9250
9251 Re-implement smie matching block highlight using
9252 show-paren-data-function. (Bug#14395)
9253 * emacs-lisp/smie.el (smie-matching-block-highlight)
9254 (smie--highlight-matching-block-overlay)
9255 (smie--highlight-matching-block-lastpos)
9256 (smie-highlight-matching-block)
9257 (smie-highlight-matching-block-mode): Remove.
9258 (smie--matching-block-data-cache): New variable.
9259 (smie--matching-block-data): New function.
9260 (smie-setup): Use smie--matching-block-data for
9261 show-paren-data-function.
9262
9263 * progmodes/octave.el (octave-mode-menu): Fix.
9264 (octave-find-definition): Skip garbage lines.
9265
9266 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9267
9268 Fix compilation error with simultaneous dynamic+lexical scoping.
9269 Add warning when a defvar appears after the first let-binding.
9270 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9271 (byte-compile-close-variables): Initialize it.
9272 (byte-compile--declare-var): New function.
9273 (byte-compile-file-form-defvar)
9274 (byte-compile-file-form-define-abbrev-table)
9275 (byte-compile-file-form-custom-declare-variable): Use it.
9276 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9277 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9278 (byte-compile-bind): Handle dynamic bindings that shadow
9279 lexical bindings.
9280 (byte-compile-unbind): Make arg non-optional.
9281 (byte-compile-let): Simplify.
9282 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9283 (cconv--analyse-function, cconv-analyse-form): Populate it.
9284 Protect byte-compile-bound-variables to limit the scope of defvars.
9285 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9286 Remove unneeded rule for `declare'.
9287
9288 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9289 so as to avoid depending on cl-adjoin at run-time.
9290 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9291
9292 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9293 (macroexp--warn-and-return): Use it.
9294
9295 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * subr.el: Convert to lexical binding.
9298 (overriding-local-map): Make obsolete.
9299 (add-to-list): Doc fix. Add compiler macro.
9300 (read-key): Swap values of local maps.
9301
9302 2013-06-05 Leo Liu <sdl.web@gmail.com>
9303
9304 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9305
9306 2013-06-04 Leo Liu <sdl.web@gmail.com>
9307
9308 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9309 (compilation-auto-jump): Suppress the "Mark set" message to give
9310 way to exit message.
9311
9312 2013-06-04 Alan Mackenzie <acm@muc.de>
9313
9314 Remove faulty optimisation from indentation calculation.
9315 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9316 search limit based on 2000 characters back from indent-point.
9317
9318 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9319
9320 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9321
9322 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9323
9324 * emacs-lisp/lisp.el: Use lexical-binding.
9325 (lisp--local-variables-1, lisp--local-variables): New functions.
9326 (lisp--local-variables-completion-table): New var.
9327 (lisp-completion-at-point): Use it complete let-bound vars.
9328
9329 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9330 eagerly (bug#14422).
9331
9332 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9333
9334 * autorevert.el (auto-revert-notify-enabled)
9335 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9336 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9337 (auto-revert-notify-handler): Handle also gfilenotify.
9338
9339 * subr.el (file-notify-handle-event): New defun. Replacing ...
9340 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9341 Remove.
9342
9343 2013-06-03 Juri Linkov <juri@jurta.org>
9344
9345 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9346 `M-s h .'. (Bug#14427)
9347
9348 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9349 command `hi-lock-face-symbol-at-point'.
9350 (hi-lock-face-symbol-at-point): New command.
9351 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9352 (hi-lock-menu): Add `highlight-symbol-at-point'.
9353 (hi-lock-mode): Doc fix.
9354
9355 * isearch.el (isearch-forward-symbol-at-point): New command.
9356 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9357 (isearch-highlight-regexp): Add a regexp which matches
9358 words/symbols for word/symbol mode.
9359
9360 * subr.el (find-tag-default-bounds): New function with the body
9361 mostly moved from `find-tag-default'.
9362 (find-tag-default): Move most code to `find-tag-default-bounds',
9363 call it and apply `buffer-substring-no-properties' afterwards.
9364
9365 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9366
9367 * eshell/em-term.el (eshell-term-initialize):
9368 Use `cl-intersection' rather than `intersection'.
9369
9370 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9371
9372 * vc/log-view.el: Doc fix.
9373 (log-view-mode-map): Copy keymap from `special-mode-map'.
9374
9375 2013-06-02 Eric Ludlam <zappo@gnu.org>
9376
9377 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9378 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9379 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9380 (eieio-unbound, eieio-default-superclass)
9381 (eieio--define-field-accessors, method-static, method-before)
9382 (method-primary, method-after, method-num-lists)
9383 (method-generic-before, method-generic-primary)
9384 (method-generic-after, method-num-slots)
9385 (eieio-specialized-key-to-generic-key)
9386 (eieio--check-type, class-v, class-p)
9387 (eieio-class-name, define-obsolete-function-alias)
9388 (eieio-class-parents-fast, eieio-class-children-fast)
9389 (same-class-fast-p, class-constructor, generic-p)
9390 (generic-primary-only-p, generic-primary-only-one-p)
9391 (class-option-assoc, class-option, eieio-object-p)
9392 (class-abstract-p, class-method-invocation-order)
9393 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9394 (eieio-class-un-autoload, eieio-defclass)
9395 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9396 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9397 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9398 (eieio-defgeneric-reset-generic-form)
9399 (eieio-defgeneric-form-primary-only)
9400 (eieio-defgeneric-reset-generic-form-primary-only)
9401 (eieio-defgeneric-form-primary-only-one)
9402 (eieio-defgeneric-reset-generic-form-primary-only-one)
9403 (eieio-unbind-method-implementations)
9404 (eieio--defmethod, eieio--typep)
9405 (eieio-perform-slot-validation, eieio-validate-slot-value)
9406 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9407 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9408 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9409 (eieio-slot-name-index, eieio-class-slot-name-index)
9410 (eieio-set-defaults, eieio-initarg-to-attribute)
9411 (eieio-attribute-to-initarg, eieio-c3-candidate)
9412 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9413 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9414 (eieio-class-precedence-list, eieio-generic-call-methodname)
9415 (eieio-generic-call-arglst, eieio-generic-call-key)
9416 (eieio-generic-call-next-method-list)
9417 (eieio-pre-method-execution-functions, eieio-generic-call)
9418 (eieio-generic-call-primary-only, eieiomt-method-list)
9419 (eieiomt-optimizing-obarray, eieiomt-install)
9420 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9421 (eieio-generic-form, eieio-defmethod, make-obsolete)
9422 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9423 (defclass): Remove `eval-and-compile' from macro.
9424 (call-next-method, shared-initialize): Instead of using
9425 `scoped-class' variable, use new eieio--scoped-class, and
9426 eieio--with-scoped-class.
9427 (initialize-instance): Rename local variable 'scoped-class' to
9428 'this-class' to remove ambiguitity from old global.
9429
9430 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9431 eieio.el.
9432 (eieio--scoped-class-stack): New variable.
9433 (eieio--scoped-class): New fcn.
9434 (eieio--with-scoped-class): New scoping macro.
9435 (eieio-defclass): Use pushnew instead of add-to-list.
9436 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9437 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9438 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9439 `scoped-class' variable, use new eieio--scoped-class, and
9440 eieio--with-scoped-class.
9441
9442 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9443
9444 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9445
9446 * eshell/esh-ext.el (eshell-external-command): Pass args to
9447 `eshell-find-interpreter'.
9448 (eshell-find-interpreter): Add new second parameter ARGS.
9449
9450 * eshell/em-script.el (eshell-script-initialize): Add second arg
9451 to the function added as MATCH to `eshell-interpreter-alist'.
9452
9453 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9454 the function added as MATCH to `eshell-interpreter-alist'.
9455
9456 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9457 (eshell-visual-options): New defcustom.
9458 (eshell-escape-control-x): Adapt docstring.
9459 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9460 `eshell-visual-options' in addition to `eshell-visual-commands'.
9461 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9462
9463 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9464
9465 * progmodes/python.el (python-indent-block-enders): Add break,
9466 continue and raise keywords.
9467
9468 2013-06-01 Glenn Morris <rgm@gnu.org>
9469
9470 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9471
9472 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9473 * progmodes/cc-cmds.el (delete-forward-p):
9474 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9475 * progmodes/cc-engine.el (buffer-syntactic-context):
9476 * progmodes/cc-fonts.el (face-property-instance):
9477 * progmodes/cc-mode.el (set-keymap-parents):
9478 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9479 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9480 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9481 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9482 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9483
9484 * progmodes/cc-vars.el (other): Emacs has this widget since
9485 at least 21.1, so don't (re)define it.
9486
9487 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9488 Replace the obsolete alias pcomplete-arg-quote-list.
9489
9490 2013-06-01 Leo Liu <sdl.web@gmail.com>
9491
9492 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9493 punctuation syntax.
9494 (inferior-octave-minimal-columns)
9495 (inferior-octave-last-column-width): New variables.
9496 (inferior-octave-track-window-width-change): New function.
9497 (inferior-octave-mode): Adjust column width so that Octave output,
9498 for example from 'ls', can fit into the window nicely.
9499
9500 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9501
9502 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9503 Highlight expansions inside regexp literals.
9504
9505 2013-05-31 Glenn Morris <rgm@gnu.org>
9506
9507 * obsolete/sym-comp.el (symbol-complete):
9508 Replace obsolete completion-annotate-function.
9509
9510 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9511
9512 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9513
9514 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9515 New function, checks if point is inside a literal that allows
9516 expression expansion.
9517 (ruby-syntax-propertize-expansion): Use it.
9518 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9519 around the body.
9520
9521 2013-05-30 Juri Linkov <juri@jurta.org>
9522
9523 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9524 to "\M-si".
9525 (isearch-invisible): New variable.
9526 (isearch-forward): Doc fix.
9527 (isearch-mode): Set `isearch-invisible'
9528 to the value of `search-invisible'.
9529 (isearch-toggle-case-fold): Doc fix.
9530 (isearch-toggle-invisible): New command.
9531 (isearch-query-replace): Let-bind `search-invisible'
9532 to the value of `isearch-invisible'.
9533 (isearch-search): Use `isearch-invisible' instead of
9534 `search-invisible'. Let-bind `search-invisible'
9535 to the value of `isearch-invisible'. (Bug#11378)
9536
9537 2013-05-30 Juri Linkov <juri@jurta.org>
9538
9539 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9540 call when `query-flag' is nil and `search-invisible' is non-nil.
9541 (Bug#11746)
9542
9543 2013-05-30 Glenn Morris <rgm@gnu.org>
9544
9545 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9546
9547 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9548 (cc-require): Suppress spurious "noruntime" warnings.
9549 (cc-require-when-compile): Use fboundp, for sake of compiler.
9550
9551 * progmodes/cc-mode.el: Move load of cc-vars before that of
9552 cc-langs (which in turn loads cc-vars), to quieten compiler.
9553
9554 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9555
9556 * paren.el: Simplify the code.
9557 (show-paren-mode): Always start the timer.
9558 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9559 (show-paren--overlay, show-paren--overlay-1): Rename from
9560 show-paren-overlay and show-paren-overlay-1, and initialize to an
9561 overlay rather than to nil.
9562 (show-paren-function): Misc cleanup and simplifications.
9563
9564 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * paren.el (show-paren-data-function): New hook.
9567 (show-paren--default): New function, extracted from show-paren-function.
9568 (show-paren-function): Use show-paren-data-function.
9569
9570 2013-05-30 Glenn Morris <rgm@gnu.org>
9571
9572 * ielm.el (ielm-map, ielm-complete-symbol):
9573 Use completion-at-point rather than obsolete functions.
9574 (inferior-emacs-lisp-mode): Doc fix.
9575 Set completion-at-point-functions, rather than
9576 comint-dynamic-complete-functions.
9577
9578 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9579 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9580 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9581
9582 * image.el (image-animated-p): Tweak definition.
9583
9584 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9585 (rlogin-process-connection-type): Tweak default. Add set-after.
9586 (rlogin-host): Doc fix.
9587 (rlogin): Tweak prompt.
9588 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9589
9590 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9591 * progmodes/tcl.el (inferior-tcl-mode-map):
9592 Use completion-at-point rather than obsolete alias.
9593
9594 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9595
9596 * minibuffer.el (read-file-name-completion-ignore-case):
9597 Move before completion--in-region, for eager macro expansion.
9598
9599 2013-05-29 Juri Linkov <juri@jurta.org>
9600
9601 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9602 for total count of matching lines. Add `global-matches' for total
9603 count of matches. Rename `matches' to `lines' for count of
9604 matching lines. Add `matches' for count of matches.
9605 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9606 to `prev-line' for line number of prev match endpt.
9607 Increment `matches' for every match. Print the number of
9608 matching lines in the header.
9609 (occur-context-lines): Rename `lines' to `curr-line'.
9610 Rename `prev-lines' to `prev-line'. (Bug#14017)
9611
9612 2013-05-29 Juri Linkov <juri@jurta.org>
9613
9614 * replace.el (perform-replace): Add `skip-read-only-count',
9615 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9616 Increment them for corresponding conditions and report the number
9617 of skipped occurrences in the final message. (Bug#11746)
9618 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9619 (replace-string, replace-regexp): Doc fix.
9620
9621 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9622
9623 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9624
9625 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9626 prog-mode-map (bug#14504).
9627
9628 2013-05-29 Leo Liu <sdl.web@gmail.com>
9629
9630 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9631 (octave-help): Small simplification.
9632
9633 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9634 off the highlight first.
9635
9636 2013-05-29 Glenn Morris <rgm@gnu.org>
9637
9638 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9639 Handle idlwave-last-system-routine-info-cons-cell being nil.
9640
9641 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9642 (idlwave-write-paths): Simplify via with-temp-buffer.
9643
9644 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9645 * emulation/cua-rect.el: Also load cua-base at run time.
9646
9647 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9648 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9649 (cperl-imenu-on-info): Require imenu.
9650
9651 2013-05-28 Alan Mackenzie <acm@muc.de>
9652
9653 Handle "capitalised keywords" correctly.
9654 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9655
9656 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9657
9658 * eshell/em-unix.el: Add -r option to cp.
9659
9660 2013-05-28 Glenn Morris <rgm@gnu.org>
9661
9662 * vc/vc-arch.el (vc-exec-after): Declare.
9663 (vc-switches): Autoload.
9664 * vc/vc-bzr.el: No need to require vc when compiling.
9665 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9666 (vc-resynch-buffer, vc-dir-refresh): Declare.
9667 (vc-setup-buffer, vc-switches): Autoload.
9668 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9669 (vc-resynch-buffer): Declare.
9670 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9671 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9672 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9673 (grep-read-regexp, grep-read-files, grep-expand-template)
9674 (vc-dir-refresh): Declare.
9675 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9676 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9677 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9678 * vc/vc-mtn.el (vc-exec-after): Declare.
9679 (vc-switches): Autoload.
9680 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9681 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9682 (vc-file-tree-walk): Declare.
9683 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9684 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9685 (vc-tag-precondition, vc-rename-master): Autoload.
9686 * vc/vc-svn.el (vc-exec-after): Declare.
9687 (vc-switches, vc-setup-buffer): Autoload.
9688 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9689 Autoload.
9690 (vc-resynch-buffer): Declare.
9691
9692 * obsolete/fast-lock.el (byte-compile-warnings):
9693 Don't warn about obsolete features in this obsolete file.
9694
9695 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9696 Move definition before use.
9697
9698 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9699 (dun-unix-verbs): Remove dun-zippy.
9700 (dun-zippy): Remove function.
9701
9702 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9703
9704 2013-05-27 Juri Linkov <juri@jurta.org>
9705
9706 * replace.el (replace-search): New function with code moved out
9707 from `perform-replace'.
9708 (replace-highlight, replace-dehighlight): Move function definitions
9709 up closer to `replace-search'. (Bug#11746)
9710
9711 2013-05-27 Juri Linkov <juri@jurta.org>
9712
9713 * replace.el (perform-replace): Ignore invisible matches.
9714 In addition to checking `query-replace-skip-read-only', also
9715 filter out matches by calling `run-hook-with-args-until-failure'
9716 on `isearch-filter-predicates', and also check `search-invisible'
9717 for t or call `isearch-range-invisible'.
9718 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9719
9720 2013-05-27 Juri Linkov <juri@jurta.org>
9721
9722 * isearch.el (isearch-filter-predicates): Rename from
9723 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9724 (isearch-message-prefix): Display text from the property
9725 `isearch-message-prefix' of the currently active filters.
9726 (isearch-search): Don't compare `isearch-filter-predicate' with
9727 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9728 on `isearch-filter-predicates'. Also check `search-invisible' for t
9729 or call `isearch-range-invisible'.
9730 (isearch-filter-visible): Make obsolete.
9731 (isearch-lazy-highlight-search):
9732 Call `run-hook-with-args-until-failure' on
9733 `isearch-filter-predicates' and use `isearch-range-invisible'.
9734
9735 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9736 `isearch-filter-predicates' instead of `funcall'ing
9737 `isearch-filter-predicate'.
9738 (Info-mode): Set `Info-isearch-filter' to
9739 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9740
9741 * dired-aux.el (dired-isearch-filter-predicate-orig):
9742 Remove variable.
9743 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9744 (dired-isearch-filenames-end): Add and remove
9745 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9746 instead of changing the value of `isearch-filter-predicate'.
9747 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9748 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9749 Put property `isearch-message-prefix' to "filename " on
9750 `dired-isearch-filter-filenames'.
9751
9752 * wdired.el (wdired-change-to-wdired-mode):
9753 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9754 locally instead of changing `isearch-filter-predicate'.
9755 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9756
9757 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9758
9759 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9760 return the commit hash (Bug#14459). Also set the
9761 `vc-git-detached' property.
9762 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9763 (vc-git-mode-line-string): Use the same help-echo format whether
9764 in detached mode or not, because we know the actual revision now.
9765 When in detached mode, shorten the revision to 7 chars.
9766
9767 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * emacs-lisp/easy-mmode.el (define-minor-mode):
9770 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9771 mode hook and provide a docstring.
9772
9773 2013-05-27 Alan Mackenzie <acm@muc.de>
9774
9775 Remove spurious syntax-table text properties inserted by C-y.
9776 * progmodes/cc-mode.el (c-after-change): Also clear hard
9777 syntax-table property with value nil.
9778
9779 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9780
9781 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9782 when reading the events; the buffer layout shall not be changed.
9783
9784 2013-05-27 Leo Liu <sdl.web@gmail.com>
9785
9786 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9787 New variable.
9788 (inferior-octave-directory-tracker): Automatically re-sync
9789 default-directory.
9790 (octave-help): Improve handling of 'See also'.
9791
9792 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9793
9794 * doc-view.el: Minor naming convention tweaks.
9795 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9796
9797 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9798 even if there's no `display' property yet (bug#14435).
9799
9800 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9801
9802 * subr.el (unmsys--file-name): Rename from reveal-filename.
9803
9804 * Makefile.in (custom-deps, finder-data, autoloads)
9805 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9806 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9807 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9808
9809 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9812 error-completion on the first 2 args of condition-case (bug#14446).
9813 Don't burp at EOB.
9814
9815 2013-05-25 Leo Liu <sdl.web@gmail.com>
9816
9817 * comint.el (comint-previous-matching-input): Do not flood the
9818 *Messages* buffer with trivial messages.
9819
9820 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * progmodes/flymake.el (flymake-nop): Don't return a string.
9823 (flymake-set-at): Fix typo.
9824
9825 * simple.el (read--expression): New function, extracted from
9826 eval-expression. Set completion-at-point-functions (bug#14465).
9827 (eval-expression, eval-minibuffer): Use it.
9828
9829 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9830
9831 * progmodes/flymake.el (flymake-save-buffer-in-file)
9832 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9833 (flymake-selected-frame, flymake-log, flymake-ins-after)
9834 (flymake-set-at, flymake-get-buildfile-from-cache)
9835 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9836 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9837 Refine the doc string.
9838 (flymake-get-file-name-mode-and-masks): Reformat.
9839 (flymake-get-real-file-name-function): Fix a minor bug.
9840
9841 2013-05-24 Juri Linkov <juri@jurta.org>
9842
9843 * progmodes/grep.el (grep-mode-font-lock-keywords):
9844 Support =linenumber= format used by git-grep for lines with
9845 function names. (Bug#13549)
9846
9847 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9850 0 after a semi-colon; it works better for smie-auto-fill.
9851 (octave--indent-new-comment-line): New function.
9852 (octave-indent-new-comment-line): Use it (indirectly).
9853 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9854 modify comment-line-break-function.
9855
9856 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9857 (smie-setup): Use add-function to set it.
9858
9859 2013-05-24 Sam Steingold <sds@gnu.org>
9860
9861 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9862 argument (before the `interactive' argument).
9863
9864 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9865
9866 * image-mode.el (image-mode-winprops): Add winprops to
9867 image-mode-winprops-alist before running
9868 image-mode-new-window-functions.
9869 * doc-view.el (doc-view-new-window-function): Don't delay
9870 doc-view-goto-page via timers (bug#14435).
9871
9872 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9873
9874 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9875 (doc-view-desktop-save-buffer): New function.
9876 (doc-view-restore-desktop-buffer): New function.
9877 (desktop-buffer-mode-handlers):
9878 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9879 handler.
9880 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9881 `desktop-save-buffer' function.
9882
9883 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9884
9885 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9886 (tramp-gvfs-file-name-handler): Raise a user error when
9887 `tramp-gvfs-enabled' is nil.
9888 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9889 Do not raise a user error when loading package. (Bug#14447)
9890
9891 * net/xesam.el: Move to obsolete/.
9892
9893 2013-05-24 Glenn Morris <rgm@gnu.org>
9894
9895 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9896
9897 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9898
9899 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9900 (Info-find-node, Man-getpage-in-background): Declare.
9901
9902 * mail/unrmail.el (unrmail):
9903 Replace obsolete detect-coding-with-priority.
9904
9905 * net/socks.el (socks-split-string): Use this rather than split-string.
9906 (socks-nslookup-host): Update for above change.
9907 (dynamic-choice, s5-dynamic-choice-match)
9908 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9909 Comment out unused code.
9910
9911 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9912 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9913 (gud-tooltip-echo-area): Make obsolete.
9914 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9915
9916 * progmodes/js.el (js--optimize-arglist): Declare.
9917
9918 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9919
9920 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9921 (ediff-window-C): Declare.
9922
9923 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9924 Tweak requires to silence compiler.
9925
9926 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9927 (he-search-string, he-tried-table, he-expand-list)
9928 (he-init-string, he-string-member, he-substitute-string)
9929 (he-reset-string): Declare.
9930
9931 * obsolete/options.el (list-options): Use custom-variable-p,
9932 rather than obsolete alias.
9933
9934 2013-05-23 Sam Steingold <sds@gnu.org>
9935
9936 * simple.el (shell-command-on-region): Pass the `replace' argument
9937 down to `call-process-region' to comply with the doc as reported on
9938 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9939
9940 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9941
9942 * emacs-lisp/smie.el (smie-indent-forward-token)
9943 (smie-indent-backward-token): Handle string tokens (bug#14381).
9944
9945 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9946
9947 * ielm.el (ielm-menu): New menu.
9948 (inferior-emacs-lisp-mode): Set comment-start.
9949
9950 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9951
9952 * textmodes/reftex.el (reftex-ref-style-toggle):
9953 Fix deactivate action.
9954
9955 * textmodes/reftex-vars.el (reftex-ref-style-alist):
9956 Add cleveref macros.
9957
9958 * textmodes/reftex-parse.el
9959 (reftex-locate-bibliography-files): Accept options for
9960 bibliography commands.
9961 * textmodes/reftex-vars.el (reftex-bibliography-commands):
9962 Add addbibresource. Basic Biblatex support.
9963
9964 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9965
9966 * net/tramp-gvfs.el (top):
9967 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9968 when loading package. (Bug#14447)
9969
9970 2013-05-23 Glenn Morris <rgm@gnu.org>
9971
9972 * progmodes/js.el: No need to load comint when compiling.
9973 (ring-insert, comint-send-string, comint-send-input)
9974 (comint-last-input-end, ido-chop): Declare.
9975
9976 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9977 * vc/ediff-mult.el: Adjust requires.
9978 (ediff-directories-internal, ediff-directory-revisions-internal)
9979 (ediff-patch-file-internal): Declare.
9980 * vc/ediff-ptch.el: Adjust requires.
9981 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9982 (ediff-find-file): Autoload.
9983 * vc/ediff-util.el: No need to load ediff when compiling.
9984 (ediff-regions-internal): Declare.
9985 * vc/ediff-wind.el: Adjust requires.
9986 (ediff-compute-toolbar-width): Define when compiling.
9987 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9988 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9989 (dired-get-filename, dired-get-marked-files)
9990 (ediff-last-dir-patch, ediff-patch-default-directory)
9991 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9992 (ediff-patch-buffer-internal): Declare.
9993
9994 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9995 (ispell-process, ispell-buffer-local-words, lm-summary)
9996 (lm-section-start, lm-section-end): Declare.
9997 (checkdoc-ispell-init): Simplify.
9998
9999 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10000 (he-string-member, he-reset-string, he-substitute-string): Declare.
10001
10002 * eshell/em-ls.el: Adjust requires.
10003 (eshell-glob-regexp): Declare.
10004 * eshell/em-tramp.el: Adjust requires.
10005 (eshell-parse-command): Autoload.
10006 * eshell/em-xtra.el: Adjust requires.
10007 (eshell-parse-command): Autoload.
10008 * eshell/esh-ext.el: Adjust requires.
10009 (eshell-parse-command, eshell-close-handles): Autoload.
10010 * eshell/esh-io.el: Adjust requires.
10011 (eshell-output-filter): Autoload.
10012 * eshell/esh-util.el: No need to load tramp when compiling.
10013 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10014 Declare.
10015 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10016 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10017 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10018 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10019 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10020 * eshell/esh-opt.el, eshell/esh-proc.el:
10021 * eshell/esh-var.el: Adjust requires.
10022 * eshell/eshell.el: Do not require esh-util twice.
10023 (eshell-add-input-to-history): Declare.
10024 (eshell-command): Check history module is active before using it.
10025
10026 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10027
10028 2013-05-22 Leo Liu <sdl.web@gmail.com>
10029
10030 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10031
10032 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10033
10034 * autorevert.el (auto-revert-notify-add-watch)
10035 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10036 it indicates changes in file modification time.
10037
10038 2013-05-22 Glenn Morris <rgm@gnu.org>
10039
10040 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10041 Always delete the autoloaded function from the noruntime and
10042 unresolved functions lists.
10043
10044 * allout.el: No need to load epa, epg, overlay when compiling.
10045 (epg-context-set-passphrase-callback, epg-list-keys)
10046 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10047 (epg-key-user-id-list): Declare.
10048
10049 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10050 (viper-set-parsing-style-toggling-macro)
10051 (viper-set-emacs-state-searchstyle-macros):
10052 Use called-interactively-p on Emacs.
10053 (viper-looking-back): Make it an obsolete alias. Update callers.
10054 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10055 Use looking-back rather than viper-looking-back.
10056 (viper-tmp-insert-at-eob, viper-enlarge-region)
10057 (viper-read-string-with-history, viper-register-to-point)
10058 (viper-append-to-register, viper-change-state-to-vi)
10059 (viper-backward-char-carefully, viper-forward-char-carefully)
10060 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10061 (viper-change-state-to-emacs): Declare.
10062 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10063 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10064 * emulation/viper-mous.el: Do not load viper-cmd.
10065 (viper-backward-char-carefully, viper-forward-char-carefully)
10066 (viper-forward-word, viper-adjust-window): Declare.
10067
10068 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10069
10070 * progmodes/idlw-help.el (idlwave-help-fontify):
10071 Use called-interactively-p.
10072
10073 * term/w32console.el (w32-get-console-codepage)
10074 (w32-get-console-output-codepage): Declare.
10075
10076 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10077 Remove unnecessary declarations.
10078 (dframe-message): Doc fix.
10079
10080 * info.el (dframe-select-attached-frame, dframe-current-frame):
10081 Declare.
10082
10083 * speedbar.el (speedbar-message): Make it an obsolete alias.
10084 Update all callers.
10085 (speedbar-with-attached-buffer)
10086 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10087 (speedbar-with-writable): Use backquote.
10088 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10089 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10090 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10091 rather than speedbar- aliases.
10092 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10093 (speedbar-make-specialized-keymap, speedbar-insert-button)
10094 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10095 (speedbar-do-function-pointer): Declare.
10096 (rmail-speedbar-button, rmail-speedbar-find-file)
10097 (rmail-speedbar-move-message):
10098 Use dframe-with-attached-buffer rather than speedbar- alias.
10099 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10100 (dframe-message, speedbar-make-specialized-keymap)
10101 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10102 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10103 (speedbar-insert-button, dframe-select-attached-frame)
10104 (dframe-maybee-jump-to-attached-frame)
10105 (speedbar-change-initial-expansion-list)
10106 (speedbar-previously-used-expansion-list-name): Declare.
10107 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10108 Use dframe-message, dframe-with-attached-buffer rather than
10109 speedbar- aliases.
10110 (gud-sentinel): Silence compiler.
10111 * progmodes/vhdl-mode.el (speedbar-refresh)
10112 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10113 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10114 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10115 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10116 (speedbar-file-lists, speedbar-make-tag-line)
10117 (speedbar-line-directory, speedbar-goto-this-file)
10118 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10119 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10120 (speedbar-make-button, speedbar-reset-scanners)
10121 (speedbar-files-item-info, speedbar-line-text)
10122 (speedbar-find-file-in-frame, speedbar-set-timer)
10123 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10124 (speedbar-with-writable): Do not (re)define it.
10125 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10126 rather than speedbar- alias.
10127
10128 2013-05-21 Leo Liu <sdl.web@gmail.com>
10129
10130 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10131 menu items.
10132 (octave-mode): Tweak fill-nobreak-predicate.
10133 (inferior-octave-startup): Check process to avoid infinite loop.
10134 (inferior-octave): Pop to buffer first to show abornmal process
10135 exit information.
10136
10137 2013-05-21 Glenn Morris <rgm@gnu.org>
10138
10139 * printing.el (pr-menu-bar): Define when compiling.
10140
10141 2013-05-21 Leo Liu <sdl.web@gmail.com>
10142
10143 * progmodes/octave.el (octave-auto-fill): Remove.
10144 (octave-indent-new-comment-line): Improve.
10145 (octave-mode): Use auto fill mode through
10146 comment-line-break-function and fill-nobreak-predicate.
10147 (octave-goto-function-definition): Support DEFUN_DLD.
10148 (octave-beginning-of-defun): Small tweak.
10149 (octave-help): Show parent directory.
10150
10151 2013-05-21 Glenn Morris <rgm@gnu.org>
10152
10153 * files.el (dired-unmark):
10154 * progmodes/gud.el (gdb-input): Update declarations.
10155
10156 * calculator.el (electric, ehelp): No need to load when compiling.
10157 (Electric-command-loop, electric-describe-mode): Declare.
10158
10159 * doc-view.el (doc-view-current-converter-processes): Move before use.
10160
10161 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10162 Move MODE-set-explicitly definition before use.
10163
10164 * international/mule-diag.el (mule-diag):
10165 Don't use obsolete window-system-version.
10166
10167 * mail/feedmail.el (smtpmail): No need to load when compiling.
10168 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10169
10170 * mail/mail-utils.el (rfc822): No need to load when compiling.
10171 (rfc822-addresses): Autoload it.
10172 (mail-strip-quoted-names): Trivial simplification.
10173
10174 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10175 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10176
10177 * net/snmp-mode.el (tempo): Don't duplicate requires.
10178
10179 * progmodes/prolog.el (info): No need to load when compiling.
10180 (comint): Require before shell requires it.
10181 (Info-goto-node): Autoload it.
10182 (Info-follow-nearest-node): Declare.
10183 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10184
10185 * textmodes/artist.el (picture-mode-exit): Declare.
10186
10187 * textmodes/reftex-parse.el (reftex-parse-from-file):
10188 Trivial rewrite so the compiler can parse it better.
10189
10190 2013-05-20 Leo Liu <sdl.web@gmail.com>
10191
10192 * progmodes/octave.el (octave-help-mode-map)
10193 (octave-help-mode-finish-hook): New variables.
10194 (octave-help-mode, octave-help-mode-finish): New functions.
10195 (octave-help): Use octave-help-mode.
10196
10197 2013-05-20 Glenn Morris <rgm@gnu.org>
10198
10199 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10200
10201 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10202
10203 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10204 start at point, so that expansion starting right after opening
10205 slash in a regexp is recognized.
10206 (ruby-syntax-before-regexp-re): New defvar, extracted from
10207 ruby-syntax-propertize-function. Since the value of this regexp
10208 is looked up at runtime now, we should be able to turn
10209 `ruby-syntax-methods-before-regexp' into a defcustom later.
10210 (ruby-syntax-propertize-function): Split regexp matching into two
10211 parts, for opening and closing slashes. That allows us to skip
10212 over string interpolations and support multiline regexps.
10213 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10214 for them, which calls `ruby-syntax-propertize-expansion'.
10215 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10216 call to `ruby-syntax-propertize-function'.
10217 (ruby-syntax-propertize-expansion): Extracted from
10218 `ruby-syntax-propertize-expansions'. Handles one expansion.
10219 (ruby-syntax-propertize-percent-literal): Leave point right after
10220 the percent symbol, so that the expression expansion rule can
10221 propertize the contents.
10222 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10223 heredoc openers.
10224 (ruby-syntax-propertize-expansions): Remove.
10225
10226 2013-05-18 Juri Linkov <juri@jurta.org>
10227
10228 * man.el (Man-default-man-entry): Remove `-' from the end
10229 of the default value. (Bug#14400)
10230
10231 2013-05-18 Glenn Morris <rgm@gnu.org>
10232
10233 * comint.el (comint-password-prompt-regexp):
10234 Allow "password for XXX" where XXX contains colons (eg https://...).
10235
10236 2013-05-18 Leo Liu <sdl.web@gmail.com>
10237
10238 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10239 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10240 (octave-source-directories): Don't check process.
10241 (octave-source-directories, octave-find-definition): Doc fix.
10242
10243 2013-05-18 Glenn Morris <rgm@gnu.org>
10244
10245 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10246 Remove backspace/delete bindings. (Bug#14392)
10247
10248 * cus-dep.el (custom-make-dependencies): Sort the output.
10249 (custom-versions-load-alist): Convert comment to doc.
10250
10251 2013-05-17 Leo Liu <sdl.web@gmail.com>
10252
10253 * newcomment.el (comment-search-backward): Stricter in finding
10254 comment start. (Bug#14303)
10255
10256 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10257 (octave-comment-start-skip): Properly anchored.
10258
10259 2013-05-17 Leo Liu <sdl.web@gmail.com>
10260
10261 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10262 Clean up when turned off. (Bug#14395)
10263 (smie--highlight-matching-block-overlay): No longer buffer-local.
10264 (smie-highlight-matching-block): Adjust.
10265
10266 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10267
10268 Doc string fix for "nanoseconds" (Bug#14406).
10269 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10270 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10271
10272 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10273
10274 * calc/calc-units.el (math-extract-units): Preserve powers
10275 of units.
10276
10277 2013-05-17 Leo Liu <sdl.web@gmail.com>
10278
10279 * subr.el (delete-consecutive-dups): New function.
10280 * ido.el (ido-set-matches-1): Use it.
10281 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10282 * ido.el (ido-remove-consecutive-dups): Remove.
10283
10284 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10285
10286 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10287 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10288 regexp-opt's `words'.
10289
10290 2013-05-16 Leo Liu <sdl.web@gmail.com>
10291
10292 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10293 (smie--highlight-matching-block-overlay)
10294 (smie--highlight-matching-block-lastpos)
10295 (smie--highlight-matching-block-timer): New variables.
10296 (smie-highlight-matching-block): New function.
10297 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10298 (smie-setup): Conditionally enable smie-blink-matching-open.
10299
10300 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10301
10302 Sync with upstream verilog-mode r840.
10303 * progmodes/verilog-mode.el (verilog-mode-version)
10304 (verilog-mode-release-date): Update.
10305 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10306 (verilog-sig-tieoff): Fix string error on
10307 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10308 (verilog-read-decls): Fix parameters confusing
10309 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10310
10311 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10312
10313 * subr.el (reveal-filename): New function.
10314
10315 * loadup.el: Compute Emacs executable versions on MS-Windows,
10316 where executables have the .exe extension. Add a hard link
10317 emacs-XX.YY.ZZ.exe on MS-Windows.
10318
10319 * Makefile.in (XARGS_LIMIT): New variable.
10320 (custom-deps, finder-data, autoloads)
10321 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10322 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10323 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10324 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10325
10326 2013-05-16 Leo Liu <sdl.web@gmail.com>
10327
10328 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10329 (octave-mode-menu, octave-mode-map): Remove its uses.
10330
10331 2013-05-16 Reto Zimmermann <reto@gnu.org>
10332
10333 Sync with upstream vhdl mode v3.34.2.
10334 * progmodes/vhdl-mode.el: Use `push' throughout.
10335 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10336 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10337 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10338 (vhdl-actual-generic-name): New option to derive actual generic name.
10339 (vhdl-port-paste-signals): Replace formal by actual generics.
10340 (vhdl-beautify): New name for old group vhdl-align. Update users.
10341 (vhdl-beautify-options): New option.
10342 (vhdl-last-input-event): New compat alias. Use throughout.
10343 (vhdl-goto-line): Replace user level function `goto-line'.
10344 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10345 vhdl-fix-statement-buffer.
10346 (vhdl-create-mode-menu): Add some entries.
10347 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10348 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10349 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10350 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10351 to force statements on one line.
10352 (vhdl-remove-trailing-spaces-region):
10353 New, split from vhdl-remove-trailing-spaces.
10354 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10355 Respect vhdl-beautify-options.
10356 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10357 (vhdl-update-sensitivity-list): Not add with index if exists without.
10358 Not include array index with signal. Ignore keywords in comments.
10359 (vhdl-get-visible-signals): Regexp tweaks.
10360 (vhdl-template-component-inst): Handle empty library.
10361 (vhdl-template-type): Add template for 'enum' type.
10362 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10363 Use vhdl-replace-string.
10364 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10365 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10366 (vhdl-speedbar-initialize): Update for above name change.
10367 (vhdl-compose-wire-components): Fix in handling of constants.
10368 (vhdl-error-regexp-emacs-alist): New variable.
10369 (vhdl-error-regexp-add-emacs): New function;
10370 adds support for new compile.el (Emacs 22+)
10371 (vhdl-generate-makefile-1): Change target order for single lib. units.
10372 Allow use of absolute file names.
10373
10374 2013-05-16 Leo Liu <sdl.web@gmail.com>
10375
10376 * simple.el (prog-indent-sexp): Indent enclosing defun.
10377
10378 2013-05-15 Glenn Morris <rgm@gnu.org>
10379
10380 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10381 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10382 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10383 (whitespace-highlight): Move to whitespace group.
10384
10385 * comint.el (comint-source):
10386 * pcmpl-linux.el (pcmpl-linux):
10387 * shell.el (shell-faces):
10388 * eshell/esh-opt.el (eshell-opt):
10389 * international/ccl.el (ccl): Remove empty custom groups.
10390
10391 * completion.el (dynamic-completion-mode):
10392 * jit-lock.el (jit-lock-debug-mode):
10393 * minibuffer.el (completion-in-region-mode):
10394 * type-break.el (type-break-mode-line-message-mode)
10395 (type-break-query-mode):
10396 * emulation/tpu-edt.el (tpu-edt-mode):
10397 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10398 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10399 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10400
10401 * term/xterm.el (xterm): Change parent group to terminals.
10402
10403 * master.el (master): Remove empty custom group.
10404 (master-mode): Remove unused :group argument.
10405 * textmodes/refill.el (refill): Remove empty custom group.
10406 (refill-mode): Remove unused :group argument.
10407
10408 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10409
10410 * cus-dep.el: Provide a feature.
10411 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10412 Don't mistakenly ignore files whose basenames match a basename
10413 from preloaded-file-list (eg cedet/ede/simple.el).
10414 Add a fallback method for getting :group.
10415
10416 2013-05-15 Juri Linkov <juri@jurta.org>
10417
10418 * isearch.el (isearch-char-by-name): Rename from
10419 `isearch-insert-char-by-name'. Doc fix.
10420 (isearch-forward): Mention `isearch-char-by-name' in
10421 the docstring. (Bug#13348)
10422
10423 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10424 `exit-minibuffer' instead of
10425 `isearch-nonincremental-exit-minibuffer'.
10426 (isearch-edit-string): Remove mention of
10427 `isearch-nonincremental-exit-minibuffer' from docstring.
10428 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10429 (isearch-forward-exit-minibuffer)
10430 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10431
10432 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * loadup.el: Just use unversioned DOC.
10435
10436 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10437 literals as extending to EOB.
10438 (nxml-last-fontify-end): Remove unused variable.
10439 (nxml-after-change1): Use with-silent-modifications.
10440 (nxml-extend-after-change-region): Simplify.
10441 (nxml-extend-after-change-region1): Remove function.
10442 (nxml-after-change1): Don't adjust for dependent regions.
10443 (nxml-fontify-matcher): Simplify.
10444 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10445 (xmltok-add-dependent): Remove function.
10446 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10447 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10448 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10449 unclosed <[[, <?, comment, and other literals as extending to EOB.
10450 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10451 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10452 Remove functions.
10453 (rng-do-some-validation-1): Don't mark dependent regions.
10454 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10455 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10456 (nxml-clear-dependent-regions): Remove functions.
10457 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10458 (nxml-ensure-scan-up-to-date):
10459 Don't clear&mark dependent regions.
10460
10461 2013-05-15 Leo Liu <sdl.web@gmail.com>
10462
10463 * progmodes/octave.el (octave-goto-function-definition):
10464 Improve and fix callers.
10465
10466 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10469 the setter (bug#14387).
10470
10471 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10472 surrounding group (bug#14402).
10473
10474 2013-05-14 Juri Linkov <juri@jurta.org>
10475
10476 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10477 (Bug#14390)
10478
10479 2013-05-14 Glenn Morris <rgm@gnu.org>
10480
10481 * progmodes/f90.el (f90-imenu-generic-expression):
10482 Fix typo in 2013-05-08 change. (Bug#14402)
10483
10484 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10485
10486 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10487 Remove signals for which replies are never received.
10488
10489 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10490
10491 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10492 (gdb-handler-alist, gdb-handler-number): Remove variables.
10493 (gdb-handler-list): New variable.
10494 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10495 (gdb-pending-handler-p, gdb-handle-reply)
10496 (gdb-remove-all-pending-triggers): New functions.
10497 (gdb-discard-unordered-replies): New defcustom.
10498 (gdb-handler): New defstruct.
10499 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10500 instead of gdb-pending-triggers. Update docstring.
10501 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10502 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10503 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10504 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10505 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10506 (gdb-frame-handler): Pending triggers are now automatically managed.
10507 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10508 Remove argument.
10509 (gdb-input): Automatically handles pending triggers. Update docstring.
10510 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10511 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10512 Update comments.
10513 (gdb-done-or-error): Now use gdb-handle-reply.
10514
10515 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10516
10517 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10518 gdb-debug-log.
10519
10520 2013-05-14 Glenn Morris <rgm@gnu.org>
10521
10522 * subr.el (user-emacs-directory-warning): New option.
10523 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10524
10525 2013-05-14 Leo Liu <sdl.web@gmail.com>
10526
10527 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10528 during redisplay.
10529 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10530 (octave-font-lock-texinfo-comment): Fix invalid search bound
10531 error: wrong side of point.
10532
10533 2013-05-14 Glenn Morris <rgm@gnu.org>
10534
10535 * progmodes/flymake.el (flymake-xml-program): New option.
10536 (flymake-xml-init): Use it.
10537
10538 * term/xterm.el: Provide a feature.
10539
10540 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10541
10542 2013-05-13 Glenn Morris <rgm@gnu.org>
10543
10544 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10545 Add compat aliases as a hack workaround. (Bug#14384)
10546
10547 2013-05-13 Leo Liu <sdl.web@gmail.com>
10548
10549 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10550 ###, and %!.
10551 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10552 C-M-q.
10553 (octave-comment-start-skip): Include %!.
10554 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10555
10556 2013-05-12 Leo Liu <sdl.web@gmail.com>
10557
10558 * progmodes/octave.el (inferior-octave-startup): Store the value
10559 of __octave_srcdir__ for octave-source-directories.
10560 (inferior-octave-check-process): New function refactored out of
10561 inferior-octave-send-list-and-digest.
10562 (octave-source-directories)
10563 (octave-find-definition-filename-function): New variables.
10564 (octave-source-directories)
10565 (octave-find-definition-default-filename): New functions.
10566 (octave-find-definition): Improve to find functions implemented in C++.
10567
10568 2013-05-12 Glenn Morris <rgm@gnu.org>
10569
10570 * calendar/diary-lib.el (diary-outlook-format-1):
10571 Don't include dayname in the output. (Bug#14349)
10572
10573 2013-05-11 Glenn Morris <rgm@gnu.org>
10574
10575 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10576
10577 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10578 Treat cc-provide like provide.
10579
10580 2013-05-11 Kevin Ryde <user42@zip.com.au>
10581
10582 * cus-dep.el (custom-make-dependencies):
10583 Use generated-autoload-load-name for the sake of files such
10584 such cedet/semantic/bovine/c.el, where the base file name
10585 is not in load-path. (Bug#5277)
10586
10587 2013-05-11 Glenn Morris <rgm@gnu.org>
10588
10589 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10590 Provide features.
10591
10592 2013-05-11 Leo Liu <sdl.web@gmail.com>
10593
10594 * progmodes/octave.el (octave-indent-comment): Improve.
10595 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10596 (octave-eldoc-function-signatures, octave-eldoc-function):
10597 New functions.
10598 (octave-mode, inferior-octave-mode): Add eldoc support.
10599
10600 2013-05-11 Richard Stallman <rms@gnu.org>
10601
10602 * epa.el (epa-decrypt-file): Take output file name as argument
10603 and read it using `interactive'.
10604
10605 2013-05-11 Leo Liu <sdl.web@gmail.com>
10606
10607 * progmodes/octave.el (octave-beginning-of-line)
10608 (octave-end-of-line): Check before using up-list because it jumps
10609 out of more syntactic contructs since moving to smie.
10610 (octave-indent-comment): New function.
10611 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10612 (octave-begin-keywords, octave-end-keywords)
10613 (octave-reserved-words, octave-smie-bnf-table)
10614 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10615
10616 2013-05-11 Glenn Morris <rgm@gnu.org>
10617
10618 * faces.el (internal-face-x-get-resource):
10619 * frame.el (ns-display-monitor-attributes-list):
10620 * calc/calc-aent.el (math-to-radians-2):
10621 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10622 Fix declarations.
10623
10624 * calc/calc-menu.el: Make it loadable in isolation.
10625
10626 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10627 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10628 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10629 (eudc-bbdb-query-internal): Require 'bbdb.
10630
10631 * lpr.el (lpr-headers-switches):
10632 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10633
10634 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10635
10636 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10637
10638 * term.el (term-set-escape-char): Make it idempotent.
10639
10640 2013-05-10 Leo Liu <sdl.web@gmail.com>
10641
10642 * progmodes/octave.el (inferior-octave-completion-table):
10643 No longer a function and all uses changed. Use cache to speed up
10644 completion due to bug#11906.
10645 (octave-beginning-of-defun): Re-write to be more general.
10646
10647 2013-05-10 Glenn Morris <rgm@gnu.org>
10648
10649 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10650
10651 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10652
10653 * comint.el (comint-redirect-send-command-to-process): Use :around
10654 rather than :override for comint-redirect-filter.
10655 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10656 Call it instead of comint-redirect-original-filter-function (which
10657 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10658
10659 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10660
10661 * frame.el (display-monitor-attributes-list): Add NS case.
10662 (ns-display-monitor-attributes-list): Declare.
10663
10664 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10665
10666 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10667
10668 2013-05-09 Glenn Morris <rgm@gnu.org>
10669
10670 * international/fontset.el (vertical-centering-font-regexp):
10671 Set standard-value.
10672
10673 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10674
10675 * bookmark.el (bookmark-search-delay):
10676 * cus-start.el (vertical-centering-font-regexp):
10677 * ps-mule.el (ps-mule-font-info-database-default):
10678 * ps-print.el (ps-default-fg, ps-default-bg):
10679 * type-break.el (type-break-good-break-interval):
10680 * whitespace.el (whitespace-indentation-regexp)
10681 (whitespace-space-after-tab-regexp):
10682 * emacs-lisp/testcover.el (testcover-1value-functions)
10683 (testcover-noreturn-functions, testcover-progn-functions)
10684 (testcover-prog1-functions):
10685 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10686 * eshell/em-glob.el (eshell-glob-translate-alist):
10687 * play/tetris.el (tetris-tty-colors):
10688 * progmodes/cpp.el (cpp-face-default-list):
10689 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10690 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10691 (idlwave-help-browser-generic-args):
10692 * progmodes/make-mode.el (makefile-special-targets-list):
10693 * progmodes/python.el (python-shell-virtualenv-path):
10694 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10695 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10696 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10697 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10698 * textmodes/reftex-vars.el (reftex-format-label-function):
10699 * textmodes/remember.el (remember-diary-file): Fix custom types.
10700
10701 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10702 Add :version.
10703
10704 2013-05-09 Leo Liu <sdl.web@gmail.com>
10705
10706 * progmodes/octave.el (inferior-octave-completion-at-point):
10707 Restore file completion. (Bug#14300)
10708 (inferior-octave-startup): Fix incorrect highlighting for the
10709 first prompt.
10710
10711 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10712
10713 * progmodes/ruby-mode.el: First cut at SMIE support.
10714 (ruby-use-smie): New var.
10715 (ruby-smie-grammar): New constant.
10716 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10717 (ruby-smie--forward-token, ruby-smie--backward-token)
10718 (ruby-smie-rules): New functions.
10719 (ruby-mode-variables): Setup SMIE if applicable.
10720
10721 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10722
10723 * simple.el (line-move-visual): Signal beginning/end of buffer
10724 only if vertical-motion moved less than it was requested. Avoids
10725 silly incorrect error messages when there are display strings with
10726 multiple newlines at EOL.
10727
10728 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10731 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10732 (prolog-char-quote-workaround):
10733 * progmodes/cperl-mode.el (cperl-under-as-char):
10734 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10735 Mark as obsolete.
10736 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10737 their declaration.
10738 (vhdl-mode-syntax-table-init): Remove.
10739
10740 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10741 last change.
10742
10743 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10744 syntax for "_".
10745 (ld-script-font-lock-keywords):
10746 Change regexps to use things like \_< and \_>.
10747
10748 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10749 Change all regexps to use things like \_< and \_>.
10750
10751 * progmodes/autoconf.el (autoconf-definition-regexp)
10752 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10753 Handle a _ with symbol syntax.
10754 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10755
10756 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10757 Consolidate declaration.
10758 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10759 the declaration.
10760 (ada-create-syntax-table): Remove.
10761 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10762 already has the right syntax nowadays.
10763 (ada-goto-next-word): Don't change the syntax of "_".
10764
10765 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10766 with-wrapper-hook.
10767
10768 2013-05-08 Sam Steingold <sds@gnu.org>
10769
10770 * thingatpt.el (thing-at-point): Accept optional second argument
10771 NO-PROPERTIES to strip the text properties from the return value.
10772 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10773 to `thing-at-point' instead of stripping the properties ourselves.
10774 Also, when `thing-at-point' fails to find a url, prepend "http://"
10775 to the filename at point on the assumption that the user is
10776 pointing at something like gnu.org/gnu.
10777
10778 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10779
10780 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10781 * faces.el (crm-separator):
10782 Silence byte-compiler.
10783
10784 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10785 (tool-bar-map): Remove unneeded defvars.
10786
10787 2013-05-08 Leo Liu <sdl.web@gmail.com>
10788
10789 Re-work a fix for bug#10994 based on Le Wang's patch.
10790 * ido.el (ido-remove-consecutive-dups): New helper.
10791 (ido-completing-read): Use it.
10792 (ido-chop): Revert fix for bug#10994.
10793
10794 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10795
10796 * cus-edit.el (custom-save-variables):
10797 Pretty-print long values. (Bug#14187)
10798
10799 2013-05-08 Glenn Morris <rgm@gnu.org>
10800
10801 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10802 (m4-mode-syntax-table): Init in the defvar.
10803 (m4-mode-abbrev-table): Let define-derived-mode define it.
10804
10805 2013-05-08 Tom Tromey <tromey@redhat.com>
10806
10807 * progmodes/m4-mode.el (m4-mode-syntax-table):
10808 Do not treat "_" as word constituent. (Bug#14167)
10809
10810 2013-05-07 Glenn Morris <rgm@gnu.org>
10811
10812 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10813 Remove explicit eshell-isearch-cancel-map.
10814
10815 * progmodes/f90.el (f90-smart-end-names): New option.
10816 (f90-smart-end): Doc fix.
10817 (f90-end-block-optional-name): New constant.
10818 (f90-block-match): Respect f90-smart-end-names.
10819
10820 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10821
10822 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10823 about implicit semi-colons (bug#14218).
10824
10825 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10826
10827 * frame.el (display-monitor-attributes-list)
10828 (frame-monitor-attributes): New functions.
10829
10830 2013-05-06 Leo Liu <sdl.web@gmail.com>
10831
10832 * progmodes/octave.el (octave-syntax-propertize-function): Change
10833 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10834 (octave-font-lock-keywords): Use octave-operator-regexp.
10835 (octave-completion-at-point): Rename from
10836 octave-completion-at-point-function.
10837 (inferior-octave-directory-tracker): Robustify.
10838 (octave-text-functions): Remove and fix its uses. No such things
10839 any more.
10840
10841 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * emacs-lisp/trace.el (trace--display-buffer): New function.
10844 (trace-make-advice): Use it.
10845
10846 2013-05-06 Juri Linkov <juri@jurta.org>
10847
10848 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10849 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10850 Doc fix.
10851 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10852 in the help string. (Bug#12985)
10853
10854 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10855
10856 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10857
10858 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10859
10860 * progmodes/perl-mode.el: Add support for here documents.
10861 (perl-syntax-propertize-function): Match here-doc markers.
10862 (perl-syntax-propertize-special-constructs): Find their end.
10863 (perl-imenu-generic-expression): Use [:alnum:].
10864
10865 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10866 (advice--add-function): Refresh the advice if already present
10867 (bug#14317).
10868
10869 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10870
10871 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10872
10873 2013-05-06 Glenn Morris <rgm@gnu.org>
10874
10875 * w32-fns.el (w32-charset-info-alist): Declare.
10876
10877 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10878 of its defcustom properties.
10879 (eshell-cmpl-initialize): No need to load pcomplete.
10880
10881 * generic-x.el: No need to require comint when compiling.
10882
10883 * net/eudc-export.el: Make it loadable without bbdb.
10884 (top-level): Use require rather than load-library.
10885 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10886 (eudc-batch-export-records-to-bbdb)
10887 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10888 Require bbdb.
10889
10890 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10893 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10894 some tweaks, instead.
10895
10896 2013-05-05 Leo Liu <sdl.web@gmail.com>
10897
10898 * progmodes/octave.el (octave-font-lock-keywords)
10899 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10900 (inferior-octave-send-list-and-digest): Improve error message.
10901 (octave-mode, inferior-octave-mode): Use setq-local.
10902 (octave-help): Set info-lookup-mode.
10903
10904 2013-05-05 Richard Stallman <rms@gnu.org>
10905
10906 * vc/compare-w.el (compare-windows-whitespace):
10907 Treat no-break space as whitespace.
10908
10909 * mail/rmailsum.el (rmail-summary-rmail-update):
10910 Detect empty summary and don't change selected message.
10911 (rmail-summary-goto-msg): Likewise.
10912
10913 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10914 Doc fixes, rename args.
10915
10916 2013-05-05 Alan Mackenzie <acm@muc.de>
10917
10918 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10919
10920 2013-05-05 Juri Linkov <juri@jurta.org>
10921
10922 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10923 to not add the length of the summary segment to the return value.
10924 (Bug#14125)
10925
10926 2013-05-05 Leo Liu <sdl.web@gmail.com>
10927
10928 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10929 (inferior-octave-output-filter): Remove.
10930 (octave-send-region, inferior-octave-startup): Fix callers.
10931 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10932 (octave-binary-file-extensions): New user variable.
10933 (octave-find-definition): Confirm if opening binary files.
10934 (octave-help-file): Use octave-find-definition to get the binary
10935 confirmation.
10936 (octave-help): Adjust for octave-help-file change.
10937
10938 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10941 Merge the two entries that handle function definitions.
10942 (pascal--syntax-propertize): New const.
10943 (pascal-mode): Use it. Use setq-local.
10944
10945 2013-05-04 Glenn Morris <rgm@gnu.org>
10946
10947 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10948 (diary-from-outlook): Respect diary-from-outlook-function.
10949
10950 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10951
10952 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10953 Move the declaration from C.
10954 (read-minibuffer, eval-minibuffer): Move from C.
10955 (completion-setup-function): Avoid minibuffer-completion-contents.
10956
10957 2013-05-03 Leo Liu <sdl.web@gmail.com>
10958
10959 * progmodes/octave.el (octave-font-lock-keywords): Do not
10960 dehighlight 'end' in comments or strings.
10961 (octave-completing-read, octave-goto-function-definition):
10962 New helpers.
10963 (octave-help-buffer): New user variable.
10964 (octave-help-file, octave-help-function): New button types.
10965 (octave-help): New command and bind it to C-h ;.
10966 (octave-find-definition): New command and bind it to M-.
10967 (user-error): Alias to error if not defined.
10968
10969 2013-05-02 Leo Liu <sdl.web@gmail.com>
10970
10971 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10972 for \. (bug#14332)
10973 (octave-font-lock-keywords): Include [ and {.
10974
10975 2013-05-02 Leo Liu <sdl.web@gmail.com>
10976
10977 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10978 (inferior-octave): Remove calling comint-mode and return the buffer.
10979 (inferior-octave-startup): Cosmetic changes.
10980
10981 2013-05-02 Leo Liu <sdl.web@gmail.com>
10982
10983 * progmodes/octave.el (octave-syntax-propertize-function):
10984 Include the case when ' is at line beginning. (Bug#14336)
10985
10986 2013-05-02 Glenn Morris <rgm@gnu.org>
10987
10988 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10989 * desktop.el (vc-dir-mode): Just autoload it here.
10990
10991 2013-05-02 Alan Mackenzie <acm@muc.de>
10992
10993 Eliminate variable c-standard-font-lock-fontify-region-function.
10994 * progmodes/cc-mode.el
10995 (c-standard-font-lock-fontify-region-function): Remove.
10996 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10997
10998 2013-05-01 Leo Liu <sdl.web@gmail.com>
10999
11000 * progmodes/octave.el: Compatible with older emacs-24 releases.
11001 (inferior-octave-has-built-in-variables): Remove. Built-in
11002 variables were removed from Octave in 2007.
11003 (inferior-octave-startup): Fix uses.
11004 (comint-line-beginning-position): Remove compatibility code for
11005 emacs 21.
11006
11007 2013-05-01 Juri Linkov <juri@jurta.org>
11008
11009 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11010
11011 2013-05-01 Juri Linkov <juri@jurta.org>
11012
11013 * comint.el (comint-previous-matching-input): Don't print message
11014 "History item: %d" when `isearch-mode' is active.
11015 (comint-history-isearch-message): Print message "History item: %d"
11016 when `comint-input-ring-index' is not empty and this function is
11017 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11018
11019 2013-05-01 Leo Liu <sdl.web@gmail.com>
11020
11021 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11022 definitions. Use completion-at-point to insert keywords.
11023 (octave-abbrev-start): Remove.
11024 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11025
11026 2013-04-30 Leo Liu <sdl.web@gmail.com>
11027
11028 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11029 change.
11030
11031 2013-04-30 Alan Mackenzie <acm@muc.de>
11032
11033 Handle arbitrarily long C++ member initialisation lists.
11034 * progmodes/cc-engine.el (c-back-over-member-initializers):
11035 new function.
11036 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11037 (most) member init lists.
11038
11039 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11040
11041 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11042 variable.
11043
11044 2013-04-30 Leo Liu <sdl.web@gmail.com>
11045
11046 * progmodes/octave.el (octave-variables): Remove. No builtin
11047 variables any more. All converted to functions.
11048 (octave-font-lock-keywords, octave-completion-at-point-function):
11049 Fix uses.
11050 (octave-font-lock-texinfo-comment): New user variable.
11051 (octave-texinfo-font-lock-keywords): New variable for texinfo
11052 comment block.
11053 (octave-function-comment-block): New face.
11054 (octave-font-lock-texinfo-comment): New function.
11055 (octave-mode): Font lock texinfo comment block.
11056
11057 2013-04-29 Leo Liu <sdl.web@gmail.com>
11058
11059 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11060 indexing expression.
11061 (octave-continuation-string): Do not use \.
11062 (inferior-octave-complete-impossible): Remove.
11063 (inferior-octave-completion-table)
11064 (inferior-octave-completion-at-point): Remove its uses.
11065 (inferior-octave-startup): completion_matches was introduced to
11066 Octave in 1996 so safe to assume it.
11067 (octave-function-file-comment): Improve to follow how Octave does it.
11068 (octave-update-function-file-comment): Tweak.
11069
11070 2013-04-29 Leo Liu <sdl.web@gmail.com>
11071
11072 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11073 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11074 (octave-function-file-comment): Fix typo.
11075 (octave-sync-function-file-names): Use read-char-choice.
11076
11077 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11078
11079 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11080 to t for the less important warnings.
11081
11082 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11083
11084 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11085
11086 2013-04-27 Glenn Morris <rgm@gnu.org>
11087
11088 * vc/log-view.el (log-view-current-entry):
11089 Treat "---" separator lines as part of the following rev. (Bug#14169)
11090
11091 2013-04-27 Juri Linkov <juri@jurta.org>
11092
11093 * subr.el (read-number): Doc fix about using it by interactive
11094 code letter `n'. (Bug#14254)
11095
11096 2013-04-27 Juri Linkov <juri@jurta.org>
11097
11098 * desktop.el (desktop-auto-save-timeout): New option.
11099 (desktop-file-checksum): New variable.
11100 (desktop-save): Add optional arg `auto-save' and don't auto-save
11101 if nothing changed.
11102 (desktop-auto-save-timer): New variable.
11103 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11104 (after-init-hook): Call `desktop-auto-save-set-timer'.
11105 Suggested by Reuben Thomas <rrt@sc3d.org> in
11106 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11107
11108 2013-04-27 Leo Liu <sdl.web@gmail.com>
11109
11110 * progmodes/octave.el (octave-function-file-p)
11111 (octave-skip-comment-forward, octave-function-file-comment)
11112 (octave-update-function-file-comment): New functions.
11113 (octave-mode-map): Bind C-c ; to
11114 octave-update-function-file-comment.
11115 (octave-mode-menu): Add octave-update-function-file-comment.
11116 (octave-mode, inferior-octave-mode): Fix doc-string.
11117 (octave-insert-defun): Conform to Octave's coding convention.
11118 (Bug#14285)
11119
11120 * files.el (basic-save-buffer): Don't let errors in
11121 before-save-hook prevent saving buffer.
11122
11123 2013-04-20 Roland Winkler <winkler@gnu.org>
11124
11125 * faces.el (read-face-name): Use completing-read if arg multiple
11126 is nil.
11127
11128 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11129
11130 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11131 displayed, move point to after the totals line.
11132 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11133 for the details.
11134
11135 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11136
11137 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11138 Add current dir to the load-path.
11139 (package-generate-autoloads): Don't rely on
11140 autoload-ensure-default-file.
11141
11142 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11143
11144 * textmodes/remember.el (remember-store-in-files): Document that
11145 the file name format is passed to `format-time-string'.
11146
11147 2013-04-26 Leo Liu <sdl.web@gmail.com>
11148
11149 * progmodes/octave.el (octave-sync-function-file-names): New function.
11150 (octave-mode): Use it in before-save-hook.
11151
11152 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11155 (bug#14274).
11156
11157 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11158 \n and comment, even if it's not an implicit ; (bug#14218).
11159
11160 2013-04-26 Glenn Morris <rgm@gnu.org>
11161
11162 * subr.el (read-number): Once more use `read' rather than
11163 `string-to-number', to trap non-numeric input. (Bug#14254)
11164
11165 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11166
11167 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11168 Use `syntax-multiline' text property consistently instead of
11169 `font-lock-multiline'. (Bug#14237)
11170
11171 2013-04-26 Glenn Morris <rgm@gnu.org>
11172
11173 * emacs-lisp/shadow.el (list-load-path-shadows):
11174 No longer necessary to check for duplicate simple.el, since
11175 2012-07-07 change to init_lread to not include installation lisp
11176 directories in load-path when running uninstalled. (Bug#14270)
11177
11178 2013-04-26 Leo Liu <sdl.web@gmail.com>
11179
11180 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11181 (octave-mode, inferior-octave-mode): Use setq-local.
11182 (octave-not-in-string-or-comment-p): Rename to
11183 octave-in-string-or-comment-p.
11184 (octave-in-comment-p, octave-in-string-p)
11185 (octave-in-string-or-comment-p): Replace defsubst with defun.
11186
11187 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11188
11189 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11190
11191 2013-04-25 Bastien Guerry <bzg@gnu.org>
11192
11193 * textmodes/remember.el (remember-data-directory)
11194 (remember-directory-file-name-format): Fix custom types.
11195
11196 2013-04-25 Leo Liu <sdl.web@gmail.com>
11197
11198 * progmodes/octave.el (octave-completion-at-point-function):
11199 Make use of inferior octave process.
11200 (octave-initialize-completions): Remove.
11201 (inferior-octave-completion-table): New function.
11202 (inferior-octave-completion-at-point): Use it.
11203 (octave-completion-alist): Remove.
11204
11205 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11208 (opascal-mode-syntax-table): New var.
11209 (opascal-literal-kind, opascal-is-literal-end)
11210 (opascal-literal-token-at): Rewrite.
11211 (opascal--literal-start-re, opascal-font-lock-keywords)
11212 (opascal--syntax-propertize): New constants.
11213 (opascal-font-lock-defaults): Adjust.
11214 (opascal-mode): Use them. Set comment-<foo> variables as well.
11215 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11216 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11217 (delphi-other-face, opascal-other-face): Remove face variables.
11218 (opascal-save-state): Remove macro.
11219 (opascal-fontifying-progress-step): Remove constant.
11220 (opascal--ignore-changes): Remove var.
11221 (opascal-set-token-property, opascal-parse-next-literal)
11222 (opascal-is-stable-literal, opascal-complete-literal)
11223 (opascal-is-literal-start, opascal-face-of)
11224 (opascal-parse-region, opascal-parse-region-until-stable)
11225 (opascal-fontify-region, opascal-after-change)
11226 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11227 (opascal-debug-parse-region, opascal-debug-parse-window)
11228 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11229 (opascal-debug-fontify-buffer): Remove.
11230 (opascal-debug-mode-map): Adjust accordingly.
11231
11232 2013-04-25 Leo Liu <sdl.web@gmail.com>
11233
11234 Merge octave-mod.el and octave-inf.el into octave.el with some
11235 cleanups.
11236 * progmodes/octave.el: New file renamed from octave-mod.el.
11237 * progmodes/octave-inf.el: Merged into octave.el.
11238 * progmodes/octave-mod.el: Renamed to octave.el.
11239
11240 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11241
11242 * textmodes/reftex-vars.el
11243 (reftex-label-ignored-macros-and-environments): New defcustom.
11244
11245 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11246
11247 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11250 (smie-indent-keyword): Improve the check to ensure that the next
11251 comment is really on the same line.
11252 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11253
11254 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11255 semi-colons if the line is not otherwise empty (bug#14218).
11256
11257 2013-04-25 Glenn Morris <rgm@gnu.org>
11258
11259 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11260
11261 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11262
11263 * progmodes/opascal.el (opascal-set-token-property): Rename from
11264 opascal-set-text-properties and only set `token' (bug#14134).
11265 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11266 (opascal-literal-text-properties): Remove.
11267 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11268 Adjust callers.
11269
11270 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11271
11272 * textmodes/remember.el (remember-handler-functions): Add an
11273 option for a new handler `remember-store-in-files'.
11274 (remember-data-directory, remember-directory-file-name-format):
11275 New options.
11276 (remember-store-in-files): New function to store remember notes
11277 as separate files within a directory.
11278
11279 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11280
11281 * progmodes/compile.el (compilation-next-error-function):
11282 Pass "formats" to compilation-find-file (bug#11777).
11283
11284 2013-04-24 Glenn Morris <rgm@gnu.org>
11285
11286 * vc/vc-bzr.el (vc-bzr-print-log):
11287 * vc/vc-hg.el (vc-hg-print-log):
11288 * vc/vc-svn.el (vc-svn-print-log):
11289 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11290
11291 * vc/vc-bzr.el (vc-bzr-print-log):
11292 * vc/vc-cvs.el (vc-cvs-print-log):
11293 * vc/vc-git.el (vc-git-print-log):
11294 * vc/vc-hg.el (vc-hg-print-log):
11295 * vc/vc-mtn.el (vc-mtn-print-log):
11296 * vc/vc-rcs.el (vc-rcs-print-log):
11297 * vc/vc-sccs.el (vc-sccs-print-log):
11298 * vc/vc-svn.el (vc-svn-print-log):
11299 * vc/vc.el (vc-print-log-internal): Doc fixes.
11300
11301 2013-04-23 Glenn Morris <rgm@gnu.org>
11302
11303 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11304 Remove venerable code attempting to avoid substitute-command-keys.
11305
11306 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11307
11308 * textmodes/reftex-vars.el (reftex-label-regexps):
11309 Call `reftex-compile-variables' after changes to this variable.
11310
11311 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11312
11313 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11314 Use lexical-binding.
11315 (jit-lock-force-redisplay): Use markers, check buffer's continued
11316 existence and beware narrowed buffers.
11317 (jit-lock-fontify-now): Adjust call accordingly.
11318
11319 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11320
11321 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11322 to avoid misleading the user.
11323
11324 2013-04-22 Leo Liu <sdl.web@gmail.com>
11325
11326 * info-look.el: Prefer latex2e.info. (Bug#14240)
11327
11328 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11329
11330 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11331
11332 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11333 * net/tramp.el (tramp-call-process): ... here.
11334 (tramp-set-completion-function, tramp-parse-putty):
11335 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11336 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11337 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11338 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11339 (tramp-call-local-coding-command): Use `tramp-call-process'
11340 instead of `tramp-compat-call-process'.
11341
11342 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11343 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11344 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11345 (tramp-find-inline-compress): Improve traces.
11346 (tramp-maybe-send-script): Check for Perl binary.
11347 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11348
11349 2013-04-22 Daiki Ueno <ueno@gnu.org>
11350
11351 * epg.el (epg-context-pinentry-mode): New function.
11352 (epg-context-set-pinentry-mode): New function.
11353 (epg--start): Pass --pinentry-mode option to gpg command.
11354
11355 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11356
11357 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11358 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11359 `completion-at-point'. (Bug#13774)
11360
11361 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11362 default key binding for `describe-distribution' has been moved to
11363 `C-h C-o'. (Bug#13970)
11364
11365 2013-04-21 Glenn Morris <rgm@gnu.org>
11366
11367 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11368 Add doc strings.
11369 (vc-print-log): Clarify interactive prompt.
11370
11371 2013-04-20 Glenn Morris <rgm@gnu.org>
11372
11373 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11374 No longer include timestamp etc information.
11375
11376 2013-04-20 Roland Winkler <winkler@gnu.org>
11377
11378 * faces.el (read-face-name): Bug fix, return just one face if arg
11379 multiple is nil. (Bug#14209)
11380
11381 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11382
11383 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11384 (remove-function): Autoload.
11385
11386 * comint.el (comint-redirect-original-filter-function): Remove.
11387 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11388 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11389 (vc-cvs-annotate-command):
11390 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11391 * progmodes/prolog.el (prolog-consult-compile):
11392 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11393 Use add/remove-function instead.
11394 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11395 (gud-tooltip-process-output, gud-tooltip-tips):
11396 Use add/remove-function instead.
11397 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11398 (scheme-interaction-mode, exit-scheme-interaction-mode):
11399 Use add/remove-function instead.
11400
11401 * vc/vc-dispatcher.el: Use lexical-binding.
11402 (vc--process-sentinel): Rename from vc-process-sentinel.
11403 Change last arg to be the code to run. Don't use vc-previous-sentinel
11404 and vc-sentinel-commands any more.
11405 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11406 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11407
11408 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11409
11410 * progmodes/sh-script.el (sh-imenu-generic-expression):
11411 Handle function names with a single character. (Bug#14111)
11412
11413 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11414
11415 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11416 for subroutines defined in an eval (bug#14182).
11417
11418 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11419
11420 * bookmark.el (bookmark-completing-read): Improve handling of empty
11421 string (bug#14176).
11422
11423 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11424
11425 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11426
11427 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11428
11429 New faster Imenu implementation (bug#14058).
11430 * progmodes/python.el:
11431 (python-imenu-prev-index-position):
11432 (python-imenu-format-item-label-function)
11433 (python-imenu-format-parent-item-label-function)
11434 (python-imenu-format-parent-item-jump-label-function):
11435 New vars.
11436 (python-imenu-format-item-label)
11437 (python-imenu-format-parent-item-label)
11438 (python-imenu-format-parent-item-jump-label)
11439 (python-imenu--put-parent, python-imenu--build-tree)
11440 (python-imenu-create-index, python-imenu-create-flat-index)
11441 (python-util-popn): New functions.
11442 (python-mode): Set imenu-create-index-function to
11443 python-imenu-create-index.
11444
11445 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11446
11447 * winner.el (winner-active-region): Use region-active-p, activate-mark
11448 and deactivate-mark (bug#14225).
11449
11450 * simple.el (deactivate-mark): Don't inline it.
11451
11452 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11453
11454 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11455
11456 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11457
11458 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11459 file extensions from the archive-mode entry in order to prefer
11460 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11461
11462 2013-04-18 Leo Liu <sdl.web@gmail.com>
11463
11464 * bindings.el (help-event-list): Add ?\?.
11465
11466 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * subr.el (with-wrapper-hook): Declare obsolete.
11469 * simple.el (filter-buffer-substring-function): New hook.
11470 (filter-buffer-substring): Use it.
11471 (filter-buffer-substring-functions): Mark obsolete.
11472 * minibuffer.el (completion-in-region-function): New hook.
11473 (completion-in-region): Use it.
11474 (completion-in-region-functions): Mark obsolete.
11475 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11476 * abbrev.el (abbrev-expand-function): New hook.
11477 (expand-abbrev): Use it.
11478 (abbrev-expand-functions): Mark obsolete.
11479 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11480 and :filter-return.
11481
11482 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11483
11484 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11485 and do not care about match data.
11486
11487 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11490 completion tables when completing error conditions and
11491 `declare' arguments.
11492 (lisp-complete-symbol, field-complete): Mark as obsolete.
11493 (check-parens): Unmatched parens are user errors.
11494 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11495
11496 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11497
11498 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11499 command changed buffer (ie. `flyspell-pre-buffer' is not current
11500 buffer), which prevents making decisions based on invalid value of
11501 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11502 cause an error when `flyspell-pre-point' was nil after switching
11503 buffers.
11504 (flyspell-post-command-hook): No longer needs to change buffers when
11505 checking pre-word. While at it remove unnecessary progn.
11506
11507 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11508
11509 * textmodes/ispell.el (ispell-add-per-file-word-list):
11510 Fix `flyspell-correct-word-before-point' error when accepting
11511 words and `coment-padding' is an integer by using
11512 `comment-normalize-vars' (Bug #14214).
11513
11514 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11515
11516 New defun movement commands.
11517 * progmodes/python.el (python-nav--syntactically)
11518 (python-nav--forward-defun, python-nav-backward-defun)
11519 (python-nav-forward-defun): New functions.
11520
11521 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11522
11523 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11524 (python-syntax-context): Use named compiler-macro for backwards
11525 compatibility with Emacs 24.x.
11526
11527 2013-04-17 Leo Liu <sdl.web@gmail.com>
11528
11529 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11530 octave-hide-process-buffer.
11531
11532 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11533
11534 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11535 (bug#14216).
11536
11537 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11538
11539 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11540 Fix adjustment of offset when receiving incomplete responses from GDB
11541 (bug#14129).
11542
11543 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11546 python-mode-abbrev-table.
11547 (python-skeleton-define): Adjust accordingly.
11548 (python-mode-abbrev-table): New table that inherits from it so that
11549 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11550
11551 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11552 (abbrev-symbol): Use it.
11553 (abbrev--before-point): Use it since we already handle inheritance.
11554
11555 2013-04-16 Leo Liu <sdl.web@gmail.com>
11556
11557 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11558 binding to info-lookup-symbol.
11559
11560 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11561
11562 * minibuffer.el (completion--twq-all):
11563 * term/ns-win.el (ns-initialize-window-system):
11564 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11565
11566 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11569 global bindings.
11570
11571 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11572
11573 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11574
11575 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11576 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11577 to nil.
11578 (ruby-end-of-defun): Remove the unused arg, change the docstring
11579 to reflect that this function is only used as the value of
11580 `end-of-defun-function'.
11581 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11582 to reflect an earlier change that beginning/end-of-defun functions
11583 jump between methods in a class definition, as well as top-level
11584 functions.
11585
11586 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11587
11588 * minibuffer.el (minibuffer-complete): Don't just scroll
11589 a *Completions* that's been iconified.
11590 (minibuffer-force-complete): Make sure repetitions do cycle when going
11591 through completion-in-region -> minibuffer-complete.
11592
11593 2013-04-15 Alan Mackenzie <acm@muc.de>
11594
11595 Correct the placement of c-cpp-delimiters when there're #s not at
11596 col 0.
11597
11598 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11599 place a submatch around the #.
11600 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11601 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11602 on the #, not BOL.
11603
11604 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11605
11606 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11607 (advice--member-p): New arg `name'.
11608 (advice--add-function, advice-member-p): Use it (bug#14202).
11609
11610 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11611
11612 Reformulate java imenu-generic-expression.
11613 The old expression contained ill formed regexps.
11614
11615 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11616 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11617 (cc-imenu-java-method-arg-regexp): New defconsts.
11618 (cc-imenu-java-build-type-args-regex): New defun.
11619 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11620 handling of spaces in the regexp.
11621
11622 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11623
11624 * textmodes/ispell.el (ispell-command-loop): Remove
11625 flyspell highlight of a word when ispell accepts it (bug #14178).
11626
11627 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11628
11629 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11630 uses code from the previous `ange-ftp-run-real-handler'.
11631 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11632 only in case that function exist. This is needed for proper
11633 unloading of Tramp.
11634
11635 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11636
11637 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11638
11639 * textmodes/reftex.el (reftex-compile-variables): Use it.
11640
11641 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11642
11643 * files.el (normal-mode): Only use default major-mode if no other mode
11644 was specified.
11645
11646 * emacs-lisp/trace.el (trace-values): New function.
11647
11648 * files.el: Allow : in local variables (bug#14089).
11649 (hack-local-variable-regexp): New var.
11650 (hack-local-variables-prop-line, hack-local-variables): Use it.
11651
11652 2013-04-13 Roland Winkler <winkler@gnu.org>
11653
11654 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11655 data before it gets modified by bibtex-beginning-of-entry.
11656
11657 2013-04-13 Roland Winkler <winkler@gnu.org>
11658
11659 * textmodes/bibtex.el (bibtex-url): Doc fix.
11660
11661 2013-04-13 Roland Winkler <winkler@gnu.org>
11662
11663 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11664 does not visit a BibTeX file, exclude it from the list of buffers
11665 returned by bibtex-initialize.
11666
11667 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11668
11669 * window.el (split-window): Remove interactive form, since as a
11670 command this function is a special case of split-window-below.
11671 Correct doc string.
11672
11673 2013-04-12 Roland Winkler <winkler@gnu.org>
11674
11675 * faces.el (read-face-name): Do not override value of arg default.
11676 Allow single faces and strings as default values. Remove those
11677 elements from return value that are not faces.
11678 (describe-face): Simplify.
11679 (face-at-point): New optional args thing and multiple so that this
11680 function can provide the same functionality previously provided by
11681 read-face-name.
11682 (make-face-bold, make-face-unbold, make-face-italic)
11683 (make-face-unitalic, make-face-bold-italic, invert-face)
11684 (modify-face, read-face-and-attribute): Use face-at-point.
11685
11686 * cus-edit.el (customize-face, customize-face-other-window)
11687 * cus-theme.el (custom-theme-add-face)
11688 * face-remap.el (buffer-face-set)
11689 * facemenu.el (facemenu-set-face): Use face-at-point.
11690
11691 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11692
11693 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11694
11695 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11696
11697 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11698 off leading { and trailing } from field values.
11699
11700 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11701
11702 * emacs-lisp/timer.el (timer--check): New function.
11703 (timer--time, timer-set-function, timer-event-handler): Use it.
11704 (timer-set-idle-time): Simplify.
11705 (timer--activate): CSE.
11706 (timer-event-handler): Give more info in error message.
11707 (internal-timer-start-idle): New function, moved from C.
11708
11709 * mpc.el (mpc-proc): Add `restart' argument.
11710 (mpc-proc-cmd): Use it.
11711 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11712 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11713 less often.
11714
11715 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11716
11717 * progmodes/sh-script.el: Implement `sh-mode' own
11718 `add-log-current-defun-function' (bug#14112).
11719 (sh-current-defun-name): New function.
11720 (sh-mode): Use the function.
11721
11722 2013-04-09 Bastien Guerry <bzg@gnu.org>
11723
11724 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11725
11726 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11729
11730 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11731 timer (bug#14156).
11732
11733 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11734
11735 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11736 declaration.
11737
11738 2013-04-07 Leo Liu <sdl.web@gmail.com>
11739
11740 * pcmpl-x.el: New file.
11741
11742 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11743
11744 Do not set x-display-name until X connection is established.
11745 This is needed to prevent from weird situation described at
11746 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11747 * frame.el (make-frame): Set x-display-name after call to
11748 window system initialization function, not before.
11749 * term/x-win.el (x-initialize-window-system): Add optional
11750 display argument and use it.
11751 * term/w32-win.el (w32-initialize-window-system):
11752 * term/ns-win.el (ns-initialize-window-system):
11753 * term/pc-win.el (msdos-initialize-window-system):
11754 Add compatible optional display argument.
11755
11756 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11757
11758 * files.el (normal-backup-enable-predicate): On MS-Windows and
11759 MS-DOS compare truenames of temporary-file-directory and of the
11760 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11761 don't fail comparison by compare-strings. Also, compare file
11762 names case-insensitively on MS-Windows and MS-DOS.
11763
11764 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11767 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11768
11769 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11770
11771 * whitespace.el (whitespace-color-on, whitespace-color-off):
11772 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11773
11774 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11775
11776 * ispell.el (ispell-set-spellchecker-params):
11777 Really set `ispell-args' for all equivs.
11778
11779 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * ido.el (ido-completions): Use extra elements of ido-decorations
11782 (bug#14143).
11783 (ido-decorations): Update docstring.
11784
11785 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11786
11787 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11788 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11789 nil during initialization, in order not to miss changes since the
11790 file was opened. (Bug#14140)
11791
11792 2013-04-05 Leo Liu <sdl.web@gmail.com>
11793
11794 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11795
11796 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11797
11798 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11799
11800 2013-04-04 Glenn Morris <rgm@gnu.org>
11801
11802 * electric.el (electric-pair-inhibit-predicate): Add :version.
11803
11804 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11807 when a package is required several times (bug#14082).
11808
11809 2013-04-04 Roland Winkler <winkler@gnu.org>
11810
11811 * faces.el (read-face-name): Behave as promised by the docstring.
11812 Assume that arg default is a list of faces.
11813 (describe-face): Call read-face-name with list of default faces.
11814
11815 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11816
11817 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11818 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11819 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11820 the header.
11821 (bookmark-exit-hook-internal): Save even if list is empty.
11822
11823 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11824
11825 * emacs-lisp/package.el (package-pinned-packages): New var.
11826 (package--add-to-archive-contents): Obey it (bug#14118).
11827
11828 2013-04-03 Alan Mackenzie <acm@muc.de>
11829
11830 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11831 Also adapt to the new values of element 7 of a parse state.
11832
11833 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11834 parameter `not-in-delimiter'. Handle being inside comment opener.
11835 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11836 character in case we're typing a '*' after a '/'.
11837 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11838 instead by passing the parameter to c-state-pp-to-literal.
11839
11840 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11841 for elt. 7 of a parse state.
11842
11843 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11844
11845 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11846 * international/latin1-disp.el, international/mule-util.el:
11847 * language/cyril-util.el, language/european.el, language/ind-util.el:
11848 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11849 * language/tibetan.el, language/viet-util.el:
11850 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11851
11852 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11853
11854 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11855 (electric-pair-post-self-insert-function): Use it.
11856 (electric-pair-default-inhibit): New function, extracted from
11857 electric-pair-post-self-insert-function.
11858
11859 2013-03-31 Roland Winkler <winkler@gnu.org>
11860
11861 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11862
11863 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11864
11865 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11866
11867 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11868
11869 Un-indent after "pass" and "return" statements (Bug#13888)
11870 * progmodes/python.el (python-indent-block-enders): New var.
11871 (python-indent-calculate-indentation): Use it.
11872
11873 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11874
11875 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11876 defun. Defining it as defalias could introduce too eager
11877 byte-compiler optimization. (Bug#14030)
11878
11879 2013-03-30 Chong Yidong <cyd@gnu.org>
11880
11881 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11882
11883 2013-03-30 Leo Liu <sdl.web@gmail.com>
11884
11885 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11886 (kmacro-execute-from-register): Pass the keyboard macro to
11887 kmacro-call-macro or repeating won't work correctly.
11888
11889 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11890
11891 * progmodes/subword.el: Back to using `forward-symbol'.
11892
11893 * subr.el (forward-whitespace, forward-symbol)
11894 (forward-same-syntax): Move from thingatpt.el.
11895
11896 2013-03-29 Leo Liu <sdl.web@gmail.com>
11897
11898 * kmacro.el (kmacro-to-register): New command.
11899 (kmacro-execute-from-register): New function.
11900 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11901
11902 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11903
11904 * mpc.el: Use defvar-local and setq-local.
11905 (mpc--proc-connect): Connection failures are not bugs.
11906 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11907 (mpc-volume-map): Bind to the up-events.
11908
11909 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11910
11911 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11912 instead of `forward-symbol'.
11913
11914 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11915
11916 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11917 (edebug--recursive-edit): Use it.
11918 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11919 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11920
11921 2013-03-28 Leo Liu <sdl.web@gmail.com>
11922
11923 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11924
11925 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11926
11927 * facemenu.el (list-colors-callback): New defvar.
11928 (list-colors-redisplay): New function.
11929 (list-colors-display): Install list-colors-redisplay as the
11930 revert-buffer-function. (Bug#14063)
11931
11932 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11933
11934 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11935 and suffixes don't overlap (bug#14061).
11936
11937 * case-table.el: Use lexical-binding.
11938 (case-table-get-table): New function.
11939 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11940
11941 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11942
11943 * progmodes/subword.el: Add `superword-mode' to do word motion
11944 over symbol_words (parallels and leverages `subword-mode' which
11945 does word motion inside MixedCaseWords).
11946
11947 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11948
11949 * eshell/em-unix.el: Move su and sudo to...
11950 * eshell/em-tramp.el: ...Eshell tramp module.
11951
11952 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11955 Change return value to be a sexp. Delay `get-buffer' to after
11956 restoring the desktop (bug#13951).
11957
11958 2013-03-26 Leo Liu <sdl.web@gmail.com>
11959
11960 * register.el: Move semantic tag handling back to
11961 cedet/semantic/senator.el. (Bug#14052)
11962
11963 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11964
11965 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11966 into the prompt either (bug#13963).
11967
11968 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11971 part of "(error-foo)".
11972
11973 2013-03-24 Juri Linkov <juri@jurta.org>
11974
11975 * replace.el (list-matching-lines-prefix-face): New defcustom.
11976 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11977 `occur-engine' if `face-differs-from-default-p' returns t.
11978 (occur-engine): Add `,' inside backquote construct to evaluate
11979 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11980 Pass `prefix-face' to the functions `occur-context-lines' and
11981 `occur-engine-add-prefix'.
11982 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11983 `prefix-face' and propertize the prefix with `prefix-face'.
11984 (Bug#14017)
11985
11986 2013-03-24 Leo Liu <sdl.web@gmail.com>
11987
11988 * nxml/rng-valid.el (rng-validate-while-idle)
11989 (rng-validate-quick-while-idle): Guard against deleted buffer.
11990 (Bug#13999)
11991
11992 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11993 is the last entry in kill-buffer-hook.
11994
11995 * files.el (kill-buffer-hook): Doc fix.
11996
11997 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11998
11999 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12000 Make it safe-local.
12001
12002 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12003
12004 2013-03-23 Leo Liu <sdl.web@gmail.com>
12005
12006 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12007 Remove.
12008
12009 * nxml/rng-valid.el (rng-validate-mode)
12010 (rng-after-change-function, rng-do-some-validation):
12011 * nxml/rng-maint.el (rng-validate-buffer):
12012 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12013 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12014 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12015 (nxml-extend-after-change-region): Use with-silent-modifications.
12016
12017 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12018 timer-idle-list.
12019
12020 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12021 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12022 timer-idle-list. (Bug#13999)
12023
12024 2013-03-23 Juri Linkov <juri@jurta.org>
12025
12026 * info.el (info-index-match): New face.
12027 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12028 main pattern and add text properties with the new face to matches
12029 in index entries relative to the beginning of the index entry.
12030 (Bug#14015)
12031
12032 2013-03-21 Eric Ludlam <zappo@gnu.org>
12033
12034 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12035 Inhibit read only while inserting objects.
12036
12037 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12038
12039 * progmodes/cfengine.el: Update docs to mention
12040 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12041 symbol motion. Remove "_" from the word syntax.
12042
12043 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12044
12045 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12046 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12047
12048 2013-03-20 Juri Linkov <juri@jurta.org>
12049
12050 * info.el (Info-next-reference-or-link)
12051 (Info-prev-reference-or-link): New functions.
12052 (Info-next-reference, Info-prev-reference): Use them.
12053 (Info-try-follow-nearest-node): Handle footnote navigation.
12054 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12055
12056 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12057
12058 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12059 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12060
12061 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12062
12063 Suppress unnecessary non-ASCII chatter during build process.
12064 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12065 (batch-skkdic-convert): Suppress most of the chatter.
12066 It's not needed so much now that machines are faster,
12067 and its non-ASCII component was confusing; see Dmitry Gutov in
12068 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12069
12070 2013-03-20 Leo Liu <sdl.web@gmail.com>
12071
12072 * ido.el (ido-chop): Fix bug#10994.
12073
12074 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12075
12076 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12077 Remove vars.
12078 (whitespace-color-on, whitespace-color-off):
12079 Use `font-lock-fontify-buffer' (Bug#13817).
12080
12081 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12082
12083 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12084 remapping in mode-line.
12085 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12086
12087 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12088
12089 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12090 value for `whitespace-line' face (Bug#13875).
12091 (whitespace-font-lock-keywords): Change description.
12092 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12093 the constructed keywords instead.
12094 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12095
12096 2013-03-19 Leo Liu <sdl.web@gmail.com>
12097
12098 * progmodes/compile.el (compilation-display-error): New command.
12099 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12100 C-o. (Bug#13992)
12101
12102 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12103
12104 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12105
12106 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12107
12108 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12109
12110 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12111
12112 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12113
12114 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12115 * net/tramp-gvfs.el (top):
12116 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12117 (tramp-handle-shell-command): Use it.
12118 (tramp-dissect-file-name): Raise an error when hostname is a
12119 method name, and neither method nor user is specified.
12120
12121 * net/trampver.el: Update release number.
12122
12123 2013-03-18 Leo Liu <sdl.web@gmail.com>
12124
12125 Make sure eldoc can be turned off properly.
12126 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12127 eldoc-mode.
12128 (eldoc-display-message-p): Revert last change.
12129 (eldoc-display-message-no-interference-p)
12130 (eldoc-print-current-symbol-info): Tweak.
12131
12132 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12133
12134 * doc-view.el (doc-view-new-window-function): Check the new window
12135 overlay's display property instead the char property of the
12136 buffer's first char. Use `with-selected-window' instead of
12137 `save-window-excursion' with `select-window'.
12138 (doc-view-document->bitmap): Check the current doc-view overlay's
12139 display property instead the char property of the buffer's first char.
12140
12141 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12142
12143 Automate the build of ja-dic.el (Bug#13984).
12144 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12145 from the input, rather than assume that it's been done for us by the
12146 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12147 the current date into a ja-dic.el comment, as that complicates
12148 regression testing.
12149
12150 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12151
12152 * whitespace.el: Fix double evaluation.
12153 (whitespace-space, whitespace-hspace, whitespace-tab)
12154 (whitespace-newline, whitespace-trailing, whitespace-line)
12155 (whitespace-space-before-tab, whitespace-indentation)
12156 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12157 obsolete defvars.
12158 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12159 (whitespace-color-on): Use a single font-lock-add-keywords call.
12160 Fix double-evaluation of face variables.
12161
12162 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12163
12164 * net/tramp-adb.el (tramp-adb-parse-device-names):
12165 Use `start-process' instead of `call-process'. Otherwise, the
12166 function might be blocked under MS Windows. (Bug#13299)
12167
12168 2013-03-17 Leo Liu <sdl.web@gmail.com>
12169
12170 Extend eldoc to display info in the mode-line. (Bug#13978)
12171 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12172 (eldoc-mode-line-string): New variable.
12173 (eldoc-minibuffer-message): New function.
12174 (eldoc-message-function): New variable.
12175 (eldoc-message): Use it.
12176 (eldoc-display-message-p)
12177 (eldoc-display-message-no-interference-p):
12178 Support eldoc-post-insert-mode.
12179
12180 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12181 (eval-expression): Run it.
12182
12183 2013-03-17 Roland Winkler <winkler@gnu.org>
12184
12185 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12186 strings in the list of return values.
12187
12188 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12189
12190 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12191 radix before checking for HMS forms.
12192
12193 2013-03-16 Leo Liu <sdl.web@gmail.com>
12194
12195 * progmodes/scheme.el: Add indentation and font-locking for λ.
12196 (Bug#13975)
12197
12198 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12199
12200 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12201 token before point (bug#13942).
12202
12203 2013-03-16 Leo Liu <sdl.web@gmail.com>
12204
12205 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12206
12207 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12208
12209 * startup.el (command-line-normalize-file-name): Fix handling of
12210 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12211 <xfq.free@gmail.com> in
12212 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12213
12214 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12215
12216 Sync with Tramp 2.2.7.
12217
12218 * net/trampver.el: Update release number.
12219
12220 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12221
12222 * doc-view.el: Fix bug#13887.
12223 (doc-view-insert-image): Don't modify overlay associated to
12224 non-live windows, and implement horizontal centering of image in
12225 case it's smaller than the window.
12226 (doc-view-new-window-function): Force redisplay of new windows on
12227 doc-view buffers.
12228
12229 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12230
12231 * saveplace.el (save-place-alist-to-file): Don't sort
12232 `save-place-alist', just pretty-print it (bug#13882).
12233
12234 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12235
12236 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12237 Check whether `default-file-name-coding-system' is bound.
12238 It isn't in XEmacs.
12239
12240 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12241
12242 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12243 backquotes for `obsolete' (bug#13929).
12244
12245 * international/mule.el (find-auto-coding): Include file name in
12246 obsolescence warning (bug#13922).
12247
12248 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12249
12250 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12251 for CFEngine 3-specific indentation.
12252 (cfengine3-indent-line): Use it. Fix up category regex.
12253 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12254
12255 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * type-break.el (type-break-file-name):
12258 * textmodes/remember.el (remember-data-file):
12259 * strokes.el (strokes-file):
12260 * shadowfile.el (shadow-initialize):
12261 * saveplace.el (save-place-file):
12262 * ps-bdf.el (bdf-cache-file):
12263 * progmodes/idlwave.el (idlwave-config-directory):
12264 * net/quickurl.el (quickurl-url-file):
12265 * international/kkc.el (kkc-init-file-name):
12266 * ido.el (ido-save-directory-list-file):
12267 * emulation/viper.el (viper-custom-file-name):
12268 * emulation/vip.el (vip-startup-file):
12269 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12270 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12271
12272 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12273
12274 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12275 * language/thai-word.el: Switch to UTF-8.
12276
12277 See ChangeLog.16 for earlier changes.
12278
12279 ;; Local Variables:
12280 ;; coding: utf-8
12281 ;; End:
12282
12283 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12284
12285 This file is part of GNU Emacs.
12286
12287 GNU Emacs is free software: you can redistribute it and/or modify
12288 it under the terms of the GNU General Public License as published by
12289 the Free Software Foundation, either version 3 of the License, or
12290 (at your option) any later version.
12291
12292 GNU Emacs is distributed in the hope that it will be useful,
12293 but WITHOUT ANY WARRANTY; without even the implied warranty of
12294 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12295 GNU General Public License for more details.
12296
12297 You should have received a copy of the GNU General Public License
12298 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.