Some doc related to tab-stops
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-28 Glenn Morris <rgm@gnu.org>
2
3 * indent.el (tab-stop-list): Doc fix. Add :version.
4
5 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
6 (cvs-append-to-ignore): Add compatibility alias.
7
8 2014-01-27 Glenn Morris <rgm@gnu.org>
9
10 * dired.el (dired-hide-details-mode): Don't autoload it,
11 since it cannot be used outside Dired buffers anyway.
12
13 * emulation/cua-base.el (cua-mode): Doc fix.
14
15 * dired.el (dired-hide-details-hide-symlink-targets)
16 (dired-hide-details-hide-information-lines)
17 (dired-hide-details-mode): Doc fixes.
18
19 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
20 * strokes.el (strokes-file): Doc fix. Bump :version.
21 (strokes-help): Doc fix.
22 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
23 * emulation/viper.el (viper): Doc fix for custom group.
24 (top-level): Remove oh-so-no-longer-relevant text about vip.
25 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
26
27 * ido.el (ido-save-directory-list-file):
28 * saveplace.el (save-place-file):
29 * calendar/timeclock.el (timeclock-file):
30 * net/quickurl.el (quickurl-url-file):
31 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
32 * progmodes/idlwave.el (idlwave-config-directory):
33 * textmodes/remember.el (remember-data-file):
34 Bump :version.
35
36 2014-01-26 Glenn Morris <rgm@gnu.org>
37
38 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
39 Doc fix. Make obsolete.
40 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
41
42 * sort.el (delete-duplicate-lines): Doc fix.
43
44 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
45
46 * progmodes/ada-mode.el (ada):
47 * woman.el (woman): Link to info manual and Commentary section.
48
49 * progmodes/flymake.el (flymake):
50 * nxml/nxml-mode.el (nxml):
51 * net/eww.el (eww):
52 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
53 * htmlfontify.el (htmlfontify):
54 * ses.el (ses):
55 * epa.el (epa):
56 * ido.el (ido): Link to info manual.
57
58 2014-01-25 Leo Liu <sdl.web@gmail.com>
59
60 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
61
62 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
63
64 * net/shr.el (shr-tag-img): Prefer the title over the alt text
65 (bug#16537).
66
67 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
68
69 * net/eww.el (eww-download-callback):
70 Fix reference to eww-download-directory.
71
72 * emacs-lisp/bytecomp.el (byte-compile-file):
73 Remove unused local variable `file-name'.
74
75 2014-01-24 Glenn Morris <rgm@gnu.org>
76
77 * woman.el (woman-default-faces, woman-monochrome-faces):
78 Fix obsolescence specification.
79
80 * subr.el (with-demoted-errors): Doc fix.
81
82 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
83
84 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
85 (cl--macroexp-fboundp): New function.
86 (cl--make-type-test): Use it.
87
88 2014-01-23 Glenn Morris <rgm@gnu.org>
89
90 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
91 * simple.el (eval-expression): Doc fixes.
92
93 2014-01-22 Glenn Morris <rgm@gnu.org>
94
95 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
96
97 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * emacs-lisp/package.el: Write files silently.
100 (package-autoload-ensure-default-file, package--write-file-no-coding)
101 (package-generate-description-file, package--download-one-archive)
102 (package-install-from-archive): Tell `write-region' to stay quiet.
103 (package-menu-mode, package-menu--print-info): Omit the Archive column
104 if there's only one archive.
105 (package-all-keywords, package--has-keyword-p): Remove dead code.
106
107 2014-01-22 Glenn Morris <rgm@gnu.org>
108
109 * version.el (emacs-bzr-version-bzr): Fix typo.
110
111 * version.el (emacs-repository-get-version):
112 Check either .bzr or .git, but not both.
113 Make the git case actually use the DIR argument, and return nil
114 rather than the empty string.
115 Avoid error if .git exists but the git executable is not found.
116
117 2014-01-22 Martin Rudalics <rudalics@gmx.at>
118
119 Fixes in window size functions around Bug#16430 and Bug#16470.
120 * window.el (window-total-size, window-size): New argument ROUND.
121 (window--min-delta-1, window-min-delta, window--max-delta-1):
122 Be more conservative when calculating the numbers of lines or
123 columns a window can shrink (Bug#16430).
124 (fit-window-to-buffer): Simplify code.
125 * term.el (term-window-width): Call window-body-width again.
126
127 2014-01-22 Glenn Morris <rgm@gnu.org>
128
129 * image.el (image-format-suffixes): Doc fix.
130
131 * international/quail.el (quail-define-package): Doc fix.
132
133 * emacs-lisp/authors.el (authors-valid-file-names):
134 (authors-renamed-files-alist): Additions.
135
136 * vc/vc-git.el (vc-git-print-log): Remove --follow;
137 reverts 2014-01-09 change. (Bug#16422)
138
139 * calc/calc-embed.el (thing-at-point-looking-at):
140 * emacs-lisp/map-ynp.el (x-popup-dialog):
141 * obsolete/lmenu.el (x-popup-dialog):
142 * emacs-lisp/package.el (url-recreate-url):
143 * mail/mailclient.el (clipboard-kill-ring-save):
144 * subr.el (x-popup-dialog): Update declaration.
145 * mail/rmail.el (rmail-mime-message-p):
146 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
147
148 2014-01-21 Daniel Colascione <dancol@dancol.org>
149
150 * progmodes/sh-script.el (sh--inside-noncommand-expression):
151 Correctly detect when we're inside an arithmetic expansion form
152 containing nested parenthesis.
153 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
154 to detect cases where we shouldn't expand "<<" to a heredoc
155 skeleton.
156
157 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
160 (eldoc--message-command-p): New function.
161 (eldoc-display-message-p): Use it.
162 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
163 message is not automatically erased for us.
164 (eldoc-print-current-symbol-info): Erase previous message, if any.
165
166 2014-01-21 Tassilo Horn <tsdh@gnu.org>
167
168 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
169 specify it's an interactive function.
170
171 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
172 Fix regex used for scanning for citation keys which failed for
173 citations with optional arguments.
174
175 2014-01-21 Leo Liu <sdl.web@gmail.com>
176
177 * simple.el (read--expression): Don't enable eldoc-mode.
178
179 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
180
181 * simple.el (move-beginning-of-line): Make sure we don't move forward
182 (bug#16497).
183
184 2014-01-20 Juri Linkov <juri@jurta.org>
185
186 * saveplace.el (toggle-save-place, save-place-to-alist)
187 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
188 'dired-mode) before checking for dired-directory. (Bug#16477)
189
190 2014-01-20 Juri Linkov <juri@jurta.org>
191
192 * indent.el (indent-line-to): Use backward-to-indentation
193 instead of back-to-indentation. (Bug#16461)
194
195 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
196
197 Revert some of the CANNOT_DUMP fix (Bug#16494).
198 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
199 but fixing this can wait until after the next release.
200 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
201
202 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
203
204 * eshell/esh-mode.el (eshell-password-prompt-regexp):
205 Use `password-word-equivalents'.
206 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
207 to t. (Bug#5664, Bug#13124)
208
209 2014-01-19 Alan Mackenzie <acm@muc.de>
210
211 Bind open-paren-in-column-0-is-defun-start to nil at some entry
212 points.
213 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
214 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
215 * progmodes/cc-mode.el (c-before-change, c-after-change)
216 (c-font-lock-fontify-region): Bind it here.
217
218 2014-01-19 Martin Rudalics <rudalics@gmx.at>
219
220 * term.el (term-window-width): Call window-text-width instead of
221 window-width (Bug#16470).
222
223 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
224
225 * simple.el (password-word-equivalents): Remove duplicates.
226 Sort, to make this easier next time.
227 Downcase. Omit ": " after "jelszó".
228
229 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
230
231 * term/common-win.el (saved-region-selection): Defvar it.
232 (x-select-text): Set saved-region-selection (Bug#16382).
233
234 2014-01-18 Glenn Morris <rgm@gnu.org>
235
236 * emacs-lisp/authors.el (authors-aliases)
237 (authors-renamed-files-alist): Add some entries.
238
239 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
240
241 * net/tramp.el (tramp-password-prompt-regexp):
242 Use `password-word-equivalents' if available.
243 (tramp-action-password, tramp-process-one-action)
244 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
245
246 2014-01-17 Chong Yidong <cyd@gnu.org>
247
248 * simple.el (password-word-equivalents): New defcustom.
249 * comint.el (comint-password-prompt-regexp): Use it. Bump version
250 to 24.4.
251 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
252 to t. (Bug#13124)
253
254 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
255
256 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
257 (ruby-align-to-stmt-keywords): Change the default value.
258 Use `ruby-alignable-keywords' to generate the possible customization
259 choices.
260 (ruby-smie-rules): Instead of using a hardcoded list of alignable
261 keywords, check against the value of `ruby-alignable-keywords'
262 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
263
264 2014-01-17 Glenn Morris <rgm@gnu.org>
265
266 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
267
268 Make M-x authors return zero *Authors Errors* from current logs.
269 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
270 (authors-ignored-files): Add some entries, remove others.
271 (authors-ambiguous-files, authors-valid-file-names):
272 Add some entries.
273 (authors-renamed-files-alist): Add, remove, and adjust entries.
274 (authors-renamed-files-regexps): Add some entries.
275 Remove some very broad ones. Make some entries `lax'.
276 (authors-lax-changelogs): New constant.
277 (authors-disambiguate-file-name): Treat top-level specially.
278 (authors-lax-changelog-p): New function.
279 (authors-canonical-file-name): Check file as written against
280 authors-valid-file-names. Do not special-case etc/.
281 Handle `lax' logs and authors-renamed-files-regexps elements.
282
283 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
284
285 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
286 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
287 callers.
288
289 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
292 Assume we're already in the proper buffer.
293 Inspired by Anders Lindgren <andlind@gmail.com>.
294 (follow-post-command-hook): Call it from the right buffer.
295 (follow-comint-scroll-to-bottom): Adjust call.
296 (follow-all-followers): Use get-buffer-window-list.
297
298 2014-01-15 Daniel Colascione <dancol@dancol.org>
299
300 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
301 `buffer-file-name' in interactive-form so that we don't leave
302 pathless file names in `file-name-history'.
303
304 2014-01-15 Juri Linkov <juri@jurta.org>
305
306 * indent.el (indent-rigidly): Set deactivate-mark to nil
307 in transient indentation mode. (Bug#16438)
308
309 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
310
311 * emacs-lisp/package.el (package-desc-keywords): New function
312 (Bug#16222).
313 (describe-package-1, package-all-keywords)
314 (package--has-keyword-p): Use it.
315
316 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
317
318 * simple.el (define-alternatives): When creating the
319 COMMAND-alternatives variable, assign COMMAND as its definition
320 name so that `describe-variable' can relocate it.
321
322 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
323
324 * font-lock.el (font-lock-keywords): Fix typo in docstring
325 (bug#16307).
326
327 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
328
329 * ispell.el (ispell-region): Reset `in-comment' for new line
330 instead of wrongly reset `add-coment' (bug#13577).
331
332 2014-01-14 Daiki Ueno <ueno@gnu.org>
333
334 * epa-file.el (epa-file-write-region): Encode the region according
335 to `buffer-file-format'. Problem reported at:
336 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
337
338 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
341 so it applies in the right buffer (bug#16410).
342
343 2014-01-13 Daniel Colascione <dancol@dancol.org>
344
345 * textmodes/rst.el (rst-define-key): Provide deprecated
346 keybindings through named functions instead of anonymous ones so
347 that "??" doesn't appear in describe-mode output.
348
349 2014-01-13 Bastien Guerry <bzg@gnu.org>
350
351 * simple.el (define-alternatives): Call the selected command
352 interactively. When setting `COMMAND--implementation' for the
353 first time, tell the user how to chose another implementation.
354 Enhance the docstring.
355
356 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
359 (log-edit--match-first-line): New function.
360 (log-edit-font-lock-keywords): Use it.
361 (log-edit-mode): Make jit-lock-defer-multiline work.
362
363 2014-01-13 Bastien Guerry <bzg@gnu.org>
364
365 * rect.el (rectangle-mark-mode): When the region is not active,
366 display a message saying that the mark as been set and that
367 rectangle mode is in use.
368 (rectangle--highlight-for-redisplay): Only put an overlay with a
369 visible vertical bar when (display-graphic-p) is non-nil.
370 This partially fixes Bug#16403.
371
372 2014-01-13 Juri Linkov <juri@jurta.org>
373
374 * info.el (Info-find-file): Go to DIR before displaying the error
375 about a nonexistent file if no previous Info file is visited.
376 Use `user-error' instead of `error' for "Info file %s does not exist".
377 (Info-find-node-2): In case of a nonexistent node in unwind forms
378 go to the Top node if there is no previous node to revert to.
379 (Bug#16405)
380
381 2014-01-13 Martin Rudalics <rudalics@gmx.at>
382
383 fit-frame/window-to-buffer code fixes including one for Bug#14096.
384 * window.el (fit-frame-to-buffer): Fix doc-string.
385 Respect window-min-height/-width. Fit pixelwise when
386 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
387 when avoiding that frame goes partially off-screen.
388 (fit-window-to-buffer): Respect window-min-height/-width
389 (Bug#14096).
390
391 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
394 after an empty line.
395
396 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * net/shr.el (shr-render-region): Autoload.
399
400 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
401
402 * net/eww.el (eww-download-directory): Rename from
403 `eww-download-path' (Bug#16419).
404
405 2014-01-12 Leo Liu <sdl.web@gmail.com>
406
407 * dired-x.el (dired-mode-map): Fix last change.
408
409 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
410
411 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
412
413 Spelling fixes.
414 * emacs-lisp/generic.el (generic--normalize-comments):
415 Rename from generic--normalise-comments. All uses changed.
416 * play/bubbles.el (bubbles--neighborhood-score):
417 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
418 (bubbles--neighborhood-available)
419 (bubbles--update-neighborhood-score):
420 Rename from names with 'neighbourhood'. All uses changed.
421
422 2014-01-12 Leo Liu <sdl.web@gmail.com>
423
424 Re-implement the feature of showing eldoc info after editing.
425 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
426 (eldoc-edit-message-commands): New function.
427 (eldoc-print-after-edit): New variable.
428 (eldoc-pre-command-refresh-echo-area): Emit message only by
429 eldoc-message-commands.
430 (eldoc-mode): Restrict eldoc-message-commands to editing commands
431 if eldoc-print-after-edit is set. (Bug#16346)
432 * simple.el (read--expression): Enable eldoc-mode.
433 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
434
435 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
436 Eric S. Raymond <esr@thyrsus.com>
437
438 * version.el (emacs-repository-get-version): Enhance so the
439 function works correctly in either a Bazaar or Git repo.
440
441 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
442
443 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
444 Goes with removal of the joke manpages from /etc.
445
446 2014-01-10 K. Handa <handa@gnu.org>
447
448 * mail/rmail.el (rmail-get-coding-system):
449 Check rmail-get-coding-function before "funcall"ing it.
450
451 2014-01-10 Glenn Morris <rgm@gnu.org>
452
453 * emacs-lisp/authors.el (authors-fixed-entries):
454 Update for files that no longer exist.
455
456 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
457
458 * version.el (emacs-bzr-get-version): Restore compatibilty with
459 24.3 (Tested).
460
461 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
462
463 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
464 and Podfile.
465
466 2014-01-10 Eli Zaretskii <eliz@gnu.org>
467
468 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
469
470 2014-01-10 Chong Yidong <cyd@gnu.org>
471
472 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
473
474 2014-01-10 Anders Lindgren <andlind@gmail.com>
475
476 * follow.el (follow-cache-command-list): Include right-char and
477 left-char.
478
479 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
480
481 Spelling fixes.
482 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
483 * woman.el (woman-mark-horizontal-position):
484 Rename from woman-mark-horizonal-position. Use changed.
485
486 2014-01-10 Glenn Morris <rgm@gnu.org>
487
488 * info.el (info-initialize): If running uninstalled, ensure our
489 own info files are always found first, even if INFOPATH is set.
490
491 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
492
493 2014-01-09 David Engster <deng@randomsample.de>
494
495 * emacs-lisp/eieio-custom.el:
496 * emacs-lisp/eieio-opt.el: Set generated autoload file to
497 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
498 * emacs-lisp/eieio.el: Regenerate autoloads.
499
500 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
501
502 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
503 following renames. (Bug#8756)
504
505 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
508 (bug#16382).
509 (activate-mark): Add `no-tmm' argument.
510 (set-mark, push-mark-command): Use it instead of running
511 activate-mark-hook by hand.
512
513 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
514
515 In preparation for the move to git, sanitize out some
516 Bazaar-specific names.
517
518 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
519
520 * version.el (emacs-bzr-version): Name changed to
521 emacs-repository-version. Obsolete-variable alias made.
522 * loadup.el: Follow through on this name change.
523 * mail/emacsbug.el (report-emacs-bug): Factor out any
524 assumption about the version control system in use.
525
526 2014-01-08 David Engster <deng@randomsample.de>
527
528 * help-fns.el (help-fns-describe-function-functions):
529 New variable to call functions for augmenting help buffers.
530 (describe-function-1): Remove explicit calls to
531 `help-fns--compiler-macro', `help-fns--parent-mode' and
532 `help-fns--obsolete'. Put them in above new variable instead, and
533 call them through `run-hook-with-args'.
534 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
535 `eieio-describe-class'. Not meant for interactive use anymore,
536 but to augment existing help buffers. Remove optional second
537 argument. Create proper button for file location.
538 Rewrite function to use `insert' instead of `princ' and `prin1' where
539 possible.
540 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
541 (eieio-method-def, eieio-class-def): Move further up.
542 (describe-method, describe-generic, eieio-describe-method):
543 Remove aliases.
544 (eieio-help-constructor, eieio-help-generic): Rename from
545 `eieio-describe-constructor' and `eieio-describe-generic', resp.
546 Rewrite to use `insert' in the current buffer and use proper help
547 buttons.
548 (eieio-help-find-method-definition)
549 (eieio-help-find-class-definition): Also accept symbols as
550 arguments.
551 (eieio-help-mode-augmentation-maybee): Remove.
552 (eieio-describe-class-sb): Use `describe-function'.
553 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
554 Add `eieio-help-generic' and `eieio-help-constructor'.
555
556 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
557
558 Spelling fixes.
559 * language/china-util.el (hz-ascii-designation):
560 Rename from hz-ascii-designnation.
561 (hz-ascii-designation): Rename from hz-ascii-designnation.
562 All uses changed.
563
564 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
567 package-alist.
568
569 2014-01-08 Bastien Guerry <bzg@gnu.org>
570
571 * emacs-lisp/package.el (package-delete):
572 Correctly delete the package from package-alist.
573
574 2014-01-08 Daiki Ueno <ueno@gnu.org>
575
576 * emacs-lisp/package.el (url-recreate-url): Declare.
577 (url-http-target-url): Declare.
578 (package-handle-response): Include requested URL in the error message.
579 (package--check-signature): Don't re-signal errors from
580 package--with-work-buffer. Suggested by Stefan Monnier.
581
582 2014-01-07 Bastien Guerry <bzg@gnu.org>
583
584 * minibuffer.el (completion--try-word-completion): When both a
585 hyphen and a space are possible candidates for the character
586 following a word, display both candidates. (Bug#15980)
587
588 2014-01-07 Martin Rudalics <rudalics@gmx.at>
589
590 * window.el (balance-windows-2): While rounding don't give a
591 window more than the remainder. Bug#16351, Bug#16383.
592
593 2014-01-07 Glenn Morris <rgm@gnu.org>
594
595 * menu-bar.el (menu-bar-help-extra-packages): Remove.
596 (menu-bar-help-menu): Use view-external-packages instead.
597
598 2014-01-07 Bastien Guerry <bzg@gnu.org>
599
600 * emacs-lisp/package.el (package-delete): Also delete the package
601 name from `package-alist', not its description only.
602
603 2014-01-07 Glenn Morris <rgm@gnu.org>
604
605 * help.el (view-external-packages):
606 * menu-bar.el (menu-bar-help-extra-packages):
607 Visit efaq.info rather than etc/MORE.STUFF.
608
609 2014-01-07 Juri Linkov <juri@jurta.org>
610
611 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
612 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
613
614 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
615 that shadows RET. (Bug#16342)
616
617 2014-01-07 Chong Yidong <cyd@gnu.org>
618
619 * isearch.el (isearch-yank-char, isearch-yank-word)
620 (isearch-yank-line): Doc fix.
621
622 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
623
624 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
625 * emacs-lisp/elint.el (elint-find-builtins):
626 * emacs-lisp/eldoc.el (eldoc-symbol-function):
627 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
628 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
629 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
630 * apropos.el (apropos-safe-documentation):
631 * subr.el (symbol-file): Remove redundant fboundp.
632 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
633
634 2014-01-06 Bastien Guerry <bzg@gnu.org>
635
636 * hl-line.el (global-hl-line-overlay): Make a local variable.
637 (global-hl-line-overlays): New variable to store all overlays.
638 (global-hl-line-mode): Don't delete overlays from the current
639 buffer when `global-hl-line-sticky-flag' is non-nil.
640 (global-hl-line-highlight): Add new overlays to
641 `global-hl-line-overlays'.
642 (global-hl-line-unhighlight-all): New function to delete all
643 overlays when turning off `global-hl-line-mode'.
644 This fixes Bug#16183.
645
646 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * subr.el (set-transient-map): Fix nested case and docstring.
649
650 2014-01-06 Tassilo Horn <tsdh@gnu.org>
651
652 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
653 `Texinfo' entry.
654
655 2014-01-06 Daniel Colascione <dancol@dancol.org>
656
657 Fix defun navigation in vc log view.
658
659 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
660 like `beginning-of-defun'.
661 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
662 log-view-end-of-defun to log-view-end-of-defun-1. Replace
663 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
664 (log-view-extract-comment): Call `log-view-current-entry' directly
665 instead of relying on broken `log-view-beginning-of-defun' behavior.
666
667 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
668
669 Spelling fixes.
670 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
671 * emacs-lisp/debug.el (cancel-debug-on-entry):
672 * epg.el (epg-error-to-string):
673 * files.el (recover-file):
674 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
675 * mail/emacsbug.el (report-emacs-bug-hook):
676 * mail/sendmail.el (mail-recover):
677 * ses.el (ses-yank-resize):
678 * term/ns-win.el (ns-print-buffer):
679 Spelling fixes in diagnostics, mostly for "canceled" with one L.
680 * epg.el (epg-key-capability-alist): Rename from misspelled version.
681 All uses changed.
682 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
683
684 2014-01-06 Leo Liu <sdl.web@gmail.com>
685
686 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
687 to avoid shadowing global key. (Bug#16354)
688
689 2014-01-06 Daniel Colascione <dancol@dancol.org>
690
691 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
692 rst-mode.
693
694 2014-01-05 Martin Rudalics <rudalics@gmx.at>
695
696 * window.el (balance-windows): Add mising t to fix Bug#16351.
697
698 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
699
700 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
701 (bug#16285).
702 (shr-insert): If we have a word that's longer than `shr-width',
703 break after it anyway. Otherwise we'll do no breaking once we get
704 such a long word.
705
706 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
707
708 * net/eww.el (eww): Support single/double quote for search.
709 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
710 (eww-history-quit): Delete and use quit-window.
711 (eww-history-kill): Delete, because it doesn't work well and
712 not necessary.
713 (eww-history-mode-map): Delete some keys and add easy-menu.
714
715 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
716
717 Fix misspelling of 'chinese' in rx (Bug#16237).
718 * emacs-lisp/rx.el (rx-categories): Correct spelling of
719 chinese-two-byte.
720
721 Change subword regexps back to vars (Bug#16296).
722 * progmodes/subword.el (subword-forward-regexp)
723 (subword-backward-regexp): Change these back to variables.
724
725 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
728 syntax-begin-function (bug#16247).
729
730 2014-01-03 Chong Yidong <cyd@gnu.org>
731
732 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
733 (advice--docstring): Delete variable.
734 (advice--make-1): Leave the docstring empty.
735 (advice-add): Use function-documentation for advised docstring.
736
737 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
738 Ignore function-documentation property when getting documentation.
739 (ad-activate-advised-definition): Use function-documentation
740 generate the docstring.
741 (ad-make-advised-definition): Don't call
742 ad-make-advised-definition-docstring.
743 (ad-make-advised-definition-docstring, ad-advised-definition-p):
744 Delete functions.
745
746 * progmodes/sql.el (sql-help): Use function-documentation instead
747 of dynamic-docstring-function property. No need to autoload now.
748 (sql--help-docstring): New variable.
749 (sql--make-help-docstring): Use it.
750
751 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
752
753 * ielm.el (ielm-tab): Retarget.
754 (ielm-map): Use ielm-tab for tab.
755 (ielm-complete-filename): Use comint-filename-completion.
756 (ielm-complete-symbol): Remove.
757 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
758 remove ielm-tab from completion-at-point-functions (bug#16224).
759
760 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
761 Beware signals raised by predicates (bug#16201).
762
763 2014-01-02 Richard Stallman <rms@gnu.org>
764
765 * dired-aux.el (dired-do-print): Handle printer-name.
766
767 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
768 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
769 (rmail-epa-decrypt): Turn off mime processing.
770
771 * mail/rmail.el (rmail-make-in-reply-to-field):
772 Add parens in message-id.
773
774 * mail/rmail.el (rmail-get-coding-function): Variable.
775 (rmail-get-coding-system): Use it.
776
777 2013-12-31 Eli Zaretskii <eliz@gnu.org>
778
779 * international/mule-conf.el: Unify the charset indian-is13194.
780 (indian-is13194): Specify unify-map.
781
782 2013-12-31 Leo Liu <sdl.web@gmail.com>
783
784 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
785
786 2013-12-30 Daniel Colascione <dancol@dancol.org>
787
788 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
789 of printing a useless when we resume from sleep.
790
791 * progmodes/sh-script.el
792 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
793 in indentation code. (Bug#16233)
794
795 2013-12-28 João Távora <joaotavora@gmail.com>
796
797 * elec-pair.el (electric-pair-post-self-insert-function):
798 Don't open extra newlines at beginning of buffer. (Bug#16272)
799
800 2013-12-28 Eli Zaretskii <eliz@gnu.org>
801
802 * frame.el (window-system-for-display): Don't allow to create a
803 GUI frame from a -nw session on MS-Windows. (Bug#14739)
804
805 2013-12-28 Glenn Morris <rgm@gnu.org>
806
807 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
808 Update callers.
809
810 * apropos.el (apropos-match-face):
811 * calculator.el (calculator-displayer):
812 * dabbrev.el (dabbrev-search-these-buffers-only):
813 * face-remap.el (buffer-face-mode-face):
814 * simple.el (yank-handled-properties):
815 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
816 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
817 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
818 (hashcash-double-spend-database):
819 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
820 (ruby-deep-indent-paren-style):
821 * textmodes/flyspell.el (flyspell-auto-correct-binding):
822 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
823 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
824 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
825 Specify custom types.
826
827 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
828 * bookmark.el (bookmark-bmenu-use-header-line):
829 * doc-view.el (doc-view-scale-internally):
830 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
831 * register.el (register-preview-delay):
832 * net/shr.el (shr-bullet):
833 * progmodes/cfengine.el (cfengine-cf-promises)
834 (cfengine-parameters-indent):
835 * progmodes/octave.el (inferior-octave-error-regexp-alist):
836 * textmodes/reftex-vars.el (reftex-label-regexps):
837 * vc/log-edit.el (log-edit-setup-add-author): Add version.
838
839 * net/tls.el (tls-certtool-program): Fix default value.
840
841 * desktop.el (desktop-restore-in-current-display):
842 * newcomment.el (comment-empty-lines):
843 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
844 (idlwave-pad-keyword):
845 * progmodes/tcl.el (tcl-tab-always-indent):
846 * textmodes/reftex-vars.el (reftex-index-default-tag):
847 * elec-pair.el (electric-pair-skip-whitespace):
848 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
849
850 * emacs-lisp/authors.el (authors-ignored-files)
851 (authors-valid-file-names, authors-renamed-files-alist): Additions.
852
853 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
854
855 * shell.el (shell-dynamic-complete-command): Doc fix.
856 (shell--command-completion-data): Shell completion now matches
857 executable filenames from the current buffer's directory, on
858 systems in which this behavior is the default (windows-nt, ms-dos).
859
860 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
861
862 * net/shr.el (shr-insert): Don't infloop if the width is zero.
863
864 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
867 (bug#16251).
868
869 * electric.el: Move all electric-pair-* to elec-pair.el.
870 * elec-pair.el: New file, split from electric.el.
871
872 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
873
874 * net/shr.el (shr-find-fill-point): Don't try to fill if the
875 indentation level is larger than the width, because that will
876 infloop.
877 (shr-insert): Fill repeatedly long texts, so that Japanese is
878 formatted correctly (bug#16263).
879 (shr-find-fill-point): Off by one error in comparison with the
880 indentation.
881
882 2013-12-26 João Távora <joaotavora@gmail.com>
883
884 * electric.el (electric-pair-mode): More flexible engine for skip-
885 and inhibit predicates, new options for pairing-related functionality.
886 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
887 if that keeps or improves their balance in buffers.
888 (electric-pair-delete-adjacent-pairs): Delete the pair when
889 backspacing over adjacent matched delimiters.
890 (electric-pair-open-extra-newline): Open extra newline when
891 inserting newlines between adjacent matched delimiters.
892 (electric--sort-post-self-insertion-hook):
893 Sort post-self-insert-hook according to priority values when
894 minor-modes are activated.
895 * simple.el (newline-and-indent): Call newline with interactive
896 set to t.
897 (blink-paren-post-self-insert-function): Set priority to 100.
898 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
899 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
900 comments. Locally set electric-pair-skip-whitespace to 'chomp and
901 electric-pair-open-newline-between-pairs to nil.
902
903 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
904
905 * progmodes/python.el: Use lexical-binding.
906 (python-nav-beginning-of-defun): Stop searching ASAP.
907
908 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
909
910 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
911 Fix interactive spec. Doc fix. (Bug#15754)
912
913 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
914
915 * emacs-lisp/byte-run.el (eval-when-compile):
916 * progmodes/cc-defs.el (cc-eval-when-compile):
917 Fix edebug spec (bug#16184).
918
919 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
920
921 * net/shr.el (shr-visit-file): Remove debugging function.
922 (shr-insert): Don't infloop if we can't find a good place to break
923 the line (bug#16256).
924
925 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
926
927 * progmodes/python.el:
928 (python-nav--lisp-forward-sexp): New function.
929 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
930 python-nav-lisp-forward-sexp-safe.
931 (python-nav--forward-sexp): New argument SAFE allows switching
932 forward sexp movement behavior for parens.
933 (python-nav-forward-sexp): Throw errors on unterminated parens
934 (Bug#16191).
935 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
936 (python-nav-backward-sexp-safe): New functions.
937 (python-shell-buffer-substring):
938 Use `python-nav-forward-sexp-safe'.
939
940 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
941
942 * net/shr.el (shr-find-fill-point): Don't break lines before a
943 quotation mark.
944 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
945 (shr-find-fill-point): Remove the special checks for the quotation
946 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
947
948 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
949
950 * net/eww.el (eww-form-textarea): Use a different face for
951 textareas than text input since they have different keymaps
952 (bug#16142).
953
954 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
955
956 * progmodes/python.el (python-nav-beginning-of-statement):
957 Speed up (Bug#15295).
958
959 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
960
961 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
962 the window configuration.
963
964 2013-12-24 Eli Zaretskii <eliz@gnu.org>
965
966 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
967 we run on MS-Windows or MS-DOS.
968
969 2013-12-24 Martin Rudalics <rudalics@gmx.at>
970
971 * window.el (balance-windows-area): Call window-size instead of
972 window-height and window-width. Bug#16241.
973
974 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
975
976 * net/eww.el (eww-bookmark-quit): Remove.
977 (eww-bookmark-browse): Restore the window configuration when you
978 choose a bookmark (bug#16144).
979
980 2013-12-24 Daniel Colascione <dancol@dancol.org>
981
982 * icomplete.el: Remove redundant :group arguments to `defcustom'
983 throughout.
984 (icomplete-show-matches-on-no-input): New customizable variable.
985 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
986 we have something to show.
987 (icomplete-exhibit): Compute completions even if we have no user input.
988
989 2013-12-23 Daniel Colascione <dancol@dancol.org>
990
991 * icomplete.el: Move `provide' to end of file.
992
993 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
994
995 * net/gnutls.el (gnutls-verify-error): Add version tag.
996
997 2013-12-23 Chong Yidong <cyd@gnu.org>
998
999 * subr.el (set-transient-map): Rename from
1000 set-temporary-overlay-map. Doc fix.
1001
1002 * face-remap.el (text-scale-adjust):
1003 * indent.el (indent-rigidly):
1004 * kmacro.el (kmacro-call-macro):
1005 * minibuffer.el (minibuffer-force-complete):
1006 * repeat.el (repeat):
1007 * simple.el (universal-argument--mode):
1008 * calendar/todo-mode.el (todo-insert-item--next-param):
1009 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1010
1011 * indent.el (indent-rigidly): Use substitute-command-keys.
1012
1013 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1014
1015 * net/eww.el (eww-tag-select): Add text-property to jump to next
1016 select field.
1017 (eww): Add non-supported ftp error.
1018
1019 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1020
1021 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1022 comments. Handle electric indent after typing `?' and `!'.
1023
1024 2013-12-22 Chong Yidong <cyd@gnu.org>
1025
1026 * faces.el (face-spec-recalc): If the theme specs are not
1027 applicable to a frame, fall back on the defface spec.
1028 This prevents themes from obliterating faces on low-color terminals.
1029
1030 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1031
1032 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1033 after `{'. We need it after block openers, and it doesn't seem
1034 to hurt after hash openers.
1035
1036 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1037
1038 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1039 extracted from `ruby-smie-rules'.
1040 (ruby--electric-indent-chars): New variable.
1041 (ruby--electric-indent-p): New function.
1042 (ruby-mode): Use `electric-indent-functions' instead of
1043 `electric-indent-chars'.
1044
1045 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1046
1047 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1048 docstring.
1049 (ruby-smie-rules): Indent plus one level after `=>'.
1050
1051 2013-12-21 Richard Stallman <rms@gnu.org>
1052
1053 * simple.el (newline): Doc fix.
1054
1055 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1056
1057 * net/eww.el (eww-list-histories, eww-list-histories)
1058 (eww-history-browse, eww-history-quit, eww-history-kill)
1059 (eww-history-mode-map, eww-history-mode): New command and
1060 functions to list browser histories.
1061 (eww-form-text): Support text form with disabled
1062 and readonly attributes.
1063 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1064
1065 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1066
1067 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1068 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1069 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1070 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1071 Use `user-error'.
1072 (eww-bookmark-mode-map): Add menu.
1073 (eww-render, eww-mode): Use `setq-local'.
1074 (eww-tool-bar-map): New variable.
1075 (eww-mode): Set `tool-bar-map'.
1076 (eww-view-source): Check for `html-mode' with `fboundp'.
1077
1078 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1079
1080 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1081 elements with text inside. Also remove debugging.
1082
1083 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1084
1085 * cus-start.el (all): Add ns-use-srgb-colorspace.
1086
1087 2013-12-21 Chong Yidong <cyd@gnu.org>
1088
1089 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1090 undefined. Thus, theme settings for undefined faces do not take
1091 effect until the faces are defined with defface, the same as with
1092 theme variables.
1093
1094 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1095 (face-spec-reset-face): Don't assign extra properties in temacs.
1096 (face-spec-recalc): Apply X resources too.
1097
1098 2013-12-21 Chong Yidong <cyd@gnu.org>
1099
1100 * faces.el (face-spec-set):
1101 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1102 * custom.el (defface): Doc fixes (Bug#16203).
1103
1104 * indent.el (indent-rigidly-map): Add docstring, and move commands
1105 into named functions.
1106 (indent-rigidly-left, indent-rigidly-right)
1107 (indent-rigidly-left-to-tab-stop)
1108 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1109 indentation direction based on bidi direction, and accumulate
1110 sequential commands in a single undo boundary.
1111 (indent-rigidly--pop-undo): New utility function.
1112
1113 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1114
1115 * faces.el (read-face-name): Require crm.el when using crm-separator.
1116
1117 2013-12-20 Daniel Colascione <dancol@dancol.org>
1118
1119 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1120 so that we don't reflow comments into the shebang line.
1121
1122 2013-12-20 Juri Linkov <juri@jurta.org>
1123
1124 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1125 a position when `dired-directory' is non-nil. Check integer
1126 positions with `integerp'.
1127 (toggle-save-place, save-places-to-alist): Add check for
1128 `dired-directory'.
1129 (save-place-find-file-hook): Check integer positions with
1130 `integerp'.
1131 (save-place-dired-hook): Use `dired-goto-file' when
1132 `dired-filename' is found in the assoc list. Check integer
1133 positions with `integerp'.
1134 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1135
1136 * dired.el (dired-initial-position-hook): Rename back from
1137 `dired-initial-point-hook'.
1138 (dired-initial-position): Rename `dired-initial-point-hook' to
1139 `dired-initial-position-hook'.
1140 (dired-file-name-at-point): Doc fix. (Bug#15329)
1141
1142 2013-12-20 Juri Linkov <juri@jurta.org>
1143
1144 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1145 (read-regexp-suggestions): New function.
1146 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1147 Use `read-regexp-suggestions'. Add non-empty default to history
1148 for empty input.
1149 (occur-read-regexp-defaults-function): Remove function.
1150 (occur-read-primary-args): Use `regexp-history-last' instead of
1151 `occur-read-regexp-defaults-function'.
1152
1153 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1154 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1155 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1156 `hi-lock-read-regexp-defaults-function'. Doc fix.
1157 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1158 with `find-tag-default-as-symbol-regexp'. Doc fix.
1159 (hi-lock-read-regexp-defaults): Remove function.
1160 (hi-lock-regexp-okay): Add check for null.
1161
1162 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1163 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1164
1165 * subr.el (find-tag-default-as-symbol-regexp): New function.
1166 (find-tag-default-as-regexp): Move symbol regexp formatting to
1167 `find-tag-default-as-symbol-regexp'.
1168
1169 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1170
1171 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1172 (Bug#14179)
1173
1174 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1175
1176 * calendar/todo-mode.el: New implementation of item insertion
1177 commands and key bindings.
1178 (todo-key-prompt): New face.
1179 (todo-insert-item): New command.
1180 (todo-insert-item--parameters): New defconst, replacing defvar
1181 todo-insertion-commands-args-genlist.
1182 (todo-insert-item--param-key-alist): New defconst, replacing
1183 defvar todo-insertion-commands-arg-key-list.
1184 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1185 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1186 (todo-insert-item--next-param): New functions.
1187 (todo-insert-item--args, todo-insert-item--argleft)
1188 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1189 New variables.
1190 (todo-key-bindings-t): Change binding of "i" from
1191 todo-insertion-map to todo-insert-item.
1192 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1193 (todo-insertion-command-name, todo-insertion-commands-names)
1194 (todo-define-insertion-command, todo-insertion-commands)
1195 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1196
1197 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1198
1199 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1200 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1201 eval-when-compile.
1202 (todo-move-category): Allow choosing a non-existing todo file to
1203 move the category to, and create that file.
1204 (todo-default-priority): New user option.
1205 (todo-set-item-priority): Use it.
1206 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1207 (desktop-restore-file-buffer): Declare.
1208 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1209 (todo-modes-set-2): Locally set desktop-save-buffer to
1210 todo-desktop-save-buffer.
1211 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1212 (auto-mode-alist): Add autoload cookie.
1213
1214 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1215
1216 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1217 helpers.el was a poor choice of name.
1218 (string-remove-prefix): New function.
1219 (string-remove-suffix): New function.
1220
1221 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1222
1223 Fix assignment for new window total sizes.
1224 * window.el (window--pixel-to-size): Remove function.
1225 (window--pixel-to-total-1, window--pixel-to-total):
1226 Fix calculation of new total sizes.
1227
1228 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1229
1230 * comint.el (comint-output-filter): Fix rear-nonsticky property
1231 placement (Bug#16010).
1232
1233 2013-12-20 Chong Yidong <cyd@gnu.org>
1234
1235 * faces.el (read-color): Minor fix for completion function.
1236
1237 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1238
1239 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1240 New option. (Bug#16182)
1241 (ruby-smie--indent-to-stmt-p): Use it.
1242 (ruby-smie-rules): Revert the logic in the handling of `when'.
1243 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1244 (ruby-deep-arglist, ruby-deep-indent-paren)
1245 (ruby-deep-indent-paren-style): Update docstrings to note that the
1246 vars don't have any effect with SMIE.
1247
1248 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1249
1250 * calc/calc.el (calc-enter, calc-pop): Use the variable
1251 `calc-context-sensitive-enter'.
1252
1253 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1254
1255 * net/shr.el (shr-insert): Protect against infloops in degenerate
1256 tables.
1257
1258 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1259
1260 * progmodes/octave.el (octave): Add link to manual and octave
1261 homepage.
1262 (octave-mode-menu): Link to octave-mode manual.
1263
1264 2013-12-20 Leo Liu <sdl.web@gmail.com>
1265
1266 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1267 insertion using skeleton-end-newline. (Bug#16138)
1268
1269 2013-12-20 Juri Linkov <juri@jurta.org>
1270
1271 * replace.el (occur-engine): Use `add-face-text-property'
1272 to add the face property to matches and titles. (Bug#14645)
1273
1274 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1275 the palette of other hi-lock colors.
1276 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1277
1278 2013-12-19 Juri Linkov <juri@jurta.org>
1279
1280 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1281 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1282 (minibuffer-history-symbol): Move variable declaration closer to
1283 its usage.
1284
1285 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1286 (Bug#14785)
1287
1288 2013-12-19 Juri Linkov <juri@jurta.org>
1289
1290 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1291 New function.
1292 (log-edit-hook): Add it to :options. (Bug#16170)
1293
1294 2013-12-19 Juri Linkov <juri@jurta.org>
1295
1296 * simple.el (eval-expression-print-format): Don't check for
1297 command names and the last command. Always display additional
1298 formats of the integer result in the echo area, and insert them
1299 to the current buffer only with a zero prefix arg.
1300 Display character when char-displayable-p is non-nil.
1301 (eval-expression): With a zero prefix arg, set `print-length' and
1302 `print-level' to nil, and insert the integer values from
1303 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1304
1305 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1306 `eval-last-sexp-arg-internal'. Doc fix.
1307 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1308 `eval-last-sexp-print-value'. Doc fix.
1309 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1310 Set `print-length' and `print-level' to nil when arg is zero.
1311 (eval-last-sexp): Doc fix.
1312 (eval-defun-2): Print the integer values from
1313 `eval-expression-print-format' at the end.
1314
1315 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1316 values from `eval-expression-print-format' at the end.
1317
1318 * ielm.el (ielm-eval-input): Print the integer
1319 values from `eval-expression-print-format' at the end.
1320
1321 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1322
1323 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1324 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1325
1326 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1329 (hl-line-highlight, global-hl-line-highlight): Use it.
1330 (hl-line-overlay): Use defvar-local.
1331
1332 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1333
1334 * term/ns-win.el: Require dnd.
1335 (global-map): Remove drag items.
1336 (ns-insert-text, ns-set-foreground-at-mouse)
1337 (ns-set-background-at-mouse):
1338 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1339 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1340 New functions.
1341
1342 2013-12-19 Glenn Morris <rgm@gnu.org>
1343
1344 * emacs-lisp/ert.el (ert-select-tests):
1345 Fix string/symbol mixup. (Bug#16121)
1346
1347 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1348
1349 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1350 keywords to their parent.
1351
1352 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1353
1354 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1355 first arg to be a string (fixed dead code), or an operator symbol.
1356 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1357 operator symbols.
1358 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1359 did nothing. Don't respond to `(:after ".")', it will be called
1360 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1361 change anything. Only return indentation for binary operators
1362 when they are hanging. De-dent opening paren when its parent is
1363 `.', otherwise it looks bad when the dot is not at bol or eol
1364 (bug#16182).
1365
1366 2013-12-19 Juri Linkov <juri@jurta.org>
1367
1368 * replace.el (query-replace-read-args): Split a non-negative arg
1369 and a negative arg into separate elements.
1370 (query-replace, query-replace-regexp, replace-string)
1371 (replace-regexp): Add arg `backward'. Doc fix.
1372 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1373 move point to the beginning of the match.
1374 (replace-search, replace-highlight): Use new arg `backward'
1375 to set the value of `isearch-forward'.
1376 (perform-replace): Add arg `backward' and use it to perform
1377 replacement backward. (Bug#14979)
1378
1379 * isearch.el (isearch-query-replace): Use a negative prefix arg
1380 to call `perform-replace' with a non-nil arg `backward'.
1381
1382 2013-12-18 Juri Linkov <juri@jurta.org>
1383
1384 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1385 to the default list. Move `log-edit-show-files' to the end.
1386 Add more available functions to options.
1387 (log-edit): Move default specific settings to
1388 `log-edit-insert-message-template'. Don't move point.
1389 (log-edit-insert-message-template): New function.
1390 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1391 (Bug#16170)
1392
1393 2013-12-18 Juri Linkov <juri@jurta.org>
1394
1395 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1396 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1397
1398 2013-12-18 Leo Liu <sdl.web@gmail.com>
1399
1400 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1401 (Bug#16186)
1402
1403 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1404
1405 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1406 formats for displaying file sizes when the -s switch is given.
1407 Instead, compute a separate format for displaying the size in
1408 blocks, which is displayed in addition to the "regular" size.
1409 When -h is given in addition to -s, produce size in blocks in
1410 human-readable form as well. (Bug#16179)
1411
1412 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1413
1414 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1415 Reference tables with ~\ref{...} instead of only \ref{...}.
1416
1417 2013-12-18 Chong Yidong <cyd@gnu.org>
1418
1419 * cus-edit.el (custom-magic-alist): Fix "themed" description
1420 (Bug#14348).
1421
1422 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1423 is non-nil, do not create a new entry in the symbol's theme-value
1424 or theme-face property; update theme-settings only (Bug#14664).
1425 (custom-available-themes): Doc fix.
1426
1427 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1428 (Bug#15674).
1429
1430 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1431
1432 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1433
1434 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1435 (Bug#13914).
1436
1437 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1438
1439 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1440
1441 2013-12-18 Glenn Morris <rgm@gnu.org>
1442
1443 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1444 * cus-start.el (load-prefer-newer): New option.
1445
1446 2013-12-18 Le Wang <l26wang@gmail.com>
1447
1448 * comint.el (comint-previous-matching-input-from-input):
1449 Retain point (Bug#13404).
1450
1451 2013-12-18 Chong Yidong <cyd@gnu.org>
1452
1453 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1454
1455 2013-12-18 Glenn Morris <rgm@gnu.org>
1456
1457 * mail/emacsbug.el (report-emacs-bug):
1458 Only mention enable-multibyte-characters if non-standard.
1459
1460 2013-12-17 Juri Linkov <juri@jurta.org>
1461
1462 * arc-mode.el (archive-extract-by-file): Check if directory exists
1463 before deletion to not show irrelevant errors if it doesn't exist.
1464
1465 2013-12-17 Juri Linkov <juri@jurta.org>
1466
1467 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1468 (Bug#14751)
1469
1470 * net/eww.el (browse-web): Add alias to `eww'.
1471 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1472 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1473
1474 * net/browse-url.el (browse-url-browser-function): Move `eww'
1475 closer to similar functions.
1476
1477 * startup.el (fancy-startup-screen, fancy-about-screen):
1478 Set browse-url-browser-function to eww-browse-url locally.
1479 (Bug#14751)
1480
1481 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1482
1483 * window.el (window--pixel-to-total): Remove unused `mini' var.
1484 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1485 (split-window): Remove unused `new' var.
1486 (window--display-buffer): Remove unused `frame' and `delta' vars.
1487 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1488 and display-width'.
1489
1490 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1491
1492 * dired.el (dired-mark-pop-up):
1493 * register.el (register-preview): Don't bind
1494 split-height-threshold here since it's now done in
1495 display-buffer-below-selected.
1496
1497 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1498
1499 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1500 xterm-rgb-convert-to-16bit.
1501 (rxvt-register-default-colors): Standardize with
1502 xterm-register-default-colors (Bug#14078).
1503
1504 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1505
1506 * simple.el (kill-region): Pass mark first, then point, so that
1507 kill-append works right (Bug#12819).
1508 (copy-region-as-kill, kill-ring-save): Likewise.
1509
1510 2013-12-17 Leo Liu <sdl.web@gmail.com>
1511
1512 * net/rcirc.el (rcirc-add-face):
1513 * eshell/em-prompt.el (eshell-emit-prompt):
1514 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1515 (Bug#16167)
1516
1517 2013-12-17 Chong Yidong <cyd@gnu.org>
1518
1519 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1520 Suggested by Xue Fuqiao.
1521
1522 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1523
1524 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1525
1526 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * net/shr.el (shr-insert-document): Remove unused var
1529 `shr-preliminary-table-render'.
1530 (shr-rescale-image): Remove unused arg `force'.
1531 (shr-put-image): Update calls accordingly.
1532 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1533
1534 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1535
1536 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1537 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1538 :close-all, to see which indentation method to use (Bug#16116).
1539 (smie-rules-function): Document the method :close-all.
1540
1541 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1542
1543 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1544
1545 * net/eww.el (eww-display-html): If we can't find the anchor we're
1546 looking for, then go to point-min.
1547
1548 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1549
1550 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1551 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1552 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1553 Expand dir too, in case it's relative.
1554
1555 2013-12-16 Juri Linkov <juri@jurta.org>
1556
1557 * desktop.el (desktop-auto-save-timeout): Change default to
1558 `auto-save-timeout'. Doc fix.
1559 (desktop-save): Skip the timestamp in desktop-saved-frameset
1560 when checking for auto-save changes.
1561 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1562 `desktop-auto-save' is called repeatedly by the idle timer.
1563 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1564 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1565 (Bug#15331)
1566
1567 2013-12-16 Juri Linkov <juri@jurta.org>
1568
1569 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1570 (Bug#16035)
1571 (isearch-pre-command-hook): Check `this-command' for symbolp.
1572
1573 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1576
1577 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1578
1579 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1580 (cfengine3--current-function): Bring in the current-function
1581 functionality from `cfengine3--current-word'.
1582 (cfengine3-completion-function): Bring in the
1583 bounds-of-current-word functionality from
1584 `cfengine3--current-word'.
1585
1586 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1587
1588 * window.el (display-buffer-below-selected):
1589 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1590
1591 2013-12-16 Leo Liu <sdl.web@gmail.com>
1592
1593 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1594 Remove NOMSG arg and all uses changed.
1595
1596 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1599 (cua--deactivate-rectangle): Don't deactivate the mark.
1600 (cua-set-rectangle-mark): Don't set mark-active since
1601 cua--activate-rectangle already does it for us.
1602 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1603 non-rectangular region.
1604
1605 * emulation/cua-base.el (cua-repeat-replace-region):
1606 Use with-current-buffer.
1607
1608 * net/gnutls.el: Use cl-lib.
1609 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1610
1611 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1612
1613 * emacs-lisp/package.el (package-built-in-p): Support both
1614 built-in and the package.el converted package descriptions.
1615 (package-show-package-list): Allow keywords.
1616 (package-keyword-button-action): Use it instead of
1617 `finder-list-matches'.
1618 (package-menu-filter-interactive): Interactive filtering (by
1619 keyword) function.
1620 (package-menu--generate): Support keywords and change keymappings
1621 and headers when they are given.
1622 (package--has-keyword-p): Helper function.
1623 (package-menu--refresh): Use it.
1624 (package--mapc): Helper function.
1625 (package-all-keywords): Use it.
1626 (package-menu-mode-map): Set up menu items and keybindings to
1627 provide a filtering UI.
1628
1629 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1630
1631 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1632 the behavior when a certificate fails validation. Defaults to
1633 old behavior: never abort, just warn.
1634 (gnutls-negotiate): Use it.
1635
1636 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1637
1638 * window.el (display-buffer-below-selected): Never split window
1639 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1640
1641 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1642
1643 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1644 (package-buffer-info): Use it (bug#15108).
1645
1646 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * icomplete.el (icomplete-completions): Make sure the prefix is already
1649 displayed elsewhere before hiding it (bug#16219).
1650
1651 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1652
1653 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1654 open-paren tokens when preceded by a open-paren, too.
1655 (ruby-smie-rules): Handle virtual indentation after open-paren
1656 tokens specially. If there is code between it and eol, return the
1657 column where is starts (Bug#16118).
1658
1659 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1660
1661 * progmodes/cfengine.el: Fix `add-hook' doc.
1662 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1663 (cfengine3--current-word): Fix parameters.
1664 (cfengine3-make-syntax-cache): Simplify further.
1665 (cfengine3-completion-function, cfengine3--current-function):
1666 Use `assq' for symbols.
1667 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1668
1669 2013-12-13 Glenn Morris <rgm@gnu.org>
1670
1671 * loadup.el (load-path): Warn if site-load or site-init changes it.
1672 No more need to reset it when bootstrapping.
1673
1674 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1675
1676 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1677 locations for cf-promises.
1678 (cfengine-mode-syntax-functions-regex): New caching variable.
1679 (cfengine3-fallback-syntax): Fallback syntax for cases where
1680 cf-promises doesn't run.
1681 (cfengine3--current-word): Reimplement using
1682 `cfengine-mode-syntax-functions-regex'.
1683 (cfengine3-completion-function, cfengine3--current-function):
1684 Use `cfengine3-make-syntax-cache' directly.
1685 (cfengine3-clear-syntax-cache): New function.
1686 (cfengine3-make-syntax-cache): Simplify and create
1687 `cfengine-mode-syntax-functions-regex' on demand.
1688 (cfengine3-format-function-docstring): Don't call
1689 `cfengine3-make-syntax-cache' explicitly.
1690
1691 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1692
1693 Fix windmove-find-other-window broken after pixelwise resizing
1694 (Bug#16017).
1695 * windmove.el (windmove-other-window-loc): Revert change from
1696 2013-12-04.
1697 (windmove-find-other-window): Call window-in-direction.
1698 * window.el (window-in-direction): New arguments SIGN, WRAP and
1699 MINI to emulate original windmove-find-other-window behavior.
1700
1701 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1702
1703 * simple.el (blink-matching--overlay): New variable.
1704 (blink-matching-open): Instead of moving point, highlight the
1705 matching paren with an overlay
1706 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1707
1708 * faces.el (paren-showing-faces, show-paren-match)
1709 (show-paren-mismatch): Move from paren.el.
1710
1711 2013-12-13 Leo Liu <sdl.web@gmail.com>
1712
1713 * indent.el (indent-region): Disable progress reporter in
1714 minibuffer. (Bug#16108)
1715
1716 * bindings.el (visual-order-cursor-movement): Fix version.
1717
1718 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1719
1720 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1721 Also match after beginning of line.
1722 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1723 files. Thanks to Russell Sim. (Bug#15378)
1724
1725 2013-12-13 Juri Linkov <juri@jurta.org>
1726
1727 * simple.el <Keypad support>: Remove key bindings duplicated
1728 with bindings.el. (Bug#14397)
1729
1730 2013-12-13 Juri Linkov <juri@jurta.org>
1731
1732 * comint.el (comint-mode-map): Replace `delete-char' with
1733 `delete-forward-char'. (Bug#16109)
1734
1735 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1736
1737 * progmodes/python.el (python-indent-calculate-indentation):
1738 Fix de-denters cornercase. (Bug#15731)
1739
1740 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1743 (advice--make): Pay attention to `depth'.
1744 (advice--make-1): Don't autoload commands eagerly.
1745 * emacs-lisp/elp.el (elp-instrument-function):
1746 * emacs-lisp/trace.el (trace-function-internal):
1747 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1748
1749 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1750
1751 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1752
1753 * term/w32-win.el (w32-handle-dropped-file):
1754 * startup.el (normal-top-level):
1755 * net/browse-url.el (browse-url-file-url):
1756 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1757 decode file names using 'utf-8' rather than
1758 file-name-coding-system.
1759
1760 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1761
1762 * progmodes/python.el (python-indent-context)
1763 (python-indent-calculate-indentation): Fix auto-identation
1764 behavior for comment blocks. (Bug#15916)
1765
1766 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1767
1768 * progmodes/python.el (python-indent-calculate-indentation):
1769 When determining indentation, don't treat "return", "pass", etc., as
1770 operators when they are just string constituents. (Bug#15812)
1771
1772 2013-12-12 Juri Linkov <juri@jurta.org>
1773
1774 * uniquify.el (uniquify-buffer-name-style): Change default to
1775 `post-forward-angle-brackets'.
1776
1777 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1778 `uniquify'. Change default to `post-forward-angle-brackets'.
1779
1780 2013-12-11 Glenn Morris <rgm@gnu.org>
1781
1782 * emacs-lisp/package.el (finder-list-matches):
1783 Autoload rather than falsely declaring.
1784
1785 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1786
1787 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1788 (eww-mode-map): Use them.
1789
1790 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1791
1792 * window.el (display-buffer-in-side-window): Fix doc-string
1793 (Bug#16115).
1794
1795 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1796
1797 * vc/vc-git.el: Silence byte-compiler warnings.
1798 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1799 (log-edit-set-header): Declare.
1800
1801 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1802
1803 * Makefile.in (custom-deps, finder-data): Run output file names
1804 through unmsys--file-name. (Bug#16099)
1805
1806 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1809 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1810
1811 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1812 instead of deleting the selection "by hand" (bug#16098).
1813 Rely on insert-for-yank to yank rectangles.
1814 (cua-highlight-region-shift-only): Mark obsolete.
1815 (cua-mode): Don't enable/disable transient-mark-mode,
1816 shift-select-mode (cua-mode works both with and without them), and
1817 pc-selection-mode (obsolete).
1818 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1819 (cua--deactivate-rectangle): Deactivate it.
1820
1821 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1822 (delete-selection-helper): Make sure yank starts at the top of the
1823 deleted region.
1824 (minibuffer-keyboard-quit): Use region-active-p.
1825
1826 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1827
1828 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1829 to `delete' (bug#16109).
1830
1831 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1832
1833 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1834 info manual and show keybindings and set `:group' keyword.
1835
1836 2013-12-11 Juri Linkov <juri@jurta.org>
1837
1838 * delsel.el (delete-active-region): Let-bind `this-command'
1839 to prevent `kill-region' from changing its original value.
1840 (delete-selection-helper): Handle `overwrite-mode' for the type
1841 `kill' exactly the same way as for the type `t'.
1842 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1843 Support more commands. (Bug#13312)
1844
1845 2013-12-11 Juri Linkov <juri@jurta.org>
1846
1847 * bindings.el: Map kp keys to non-kp keys systematically
1848 with basic modifiers control, meta and shift. (Bug#14397)
1849
1850 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1851
1852 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1853 "Close browser" menu items. Fix wrong function of "List
1854 bookmarks".
1855
1856 2013-12-11 Juri Linkov <juri@jurta.org>
1857
1858 * misearch.el (multi-isearch-buffers): Set the value of
1859 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1860 arg of isearch-forward to t.
1861 (multi-isearch-buffers-regexp): Set the value of
1862 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1863 arg of isearch-forward-regexp to t.
1864 (multi-isearch-files): Set the value of
1865 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1866 arg of isearch-forward to t.
1867 (multi-isearch-files-regexp): Set the value of
1868 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1869 arg of isearch-forward-regexp to t. (Bug#16035)
1870
1871 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1872 arg of isearch-forward to t.
1873 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1874 arg of isearch-forward-regexp to t.
1875 (dired-isearch-filter-filenames): Remove unnecessary check for
1876 `dired-isearch-filenames'.
1877
1878 * comint.el (comint-history-isearch-backward):
1879 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1880 (comint-history-isearch-backward-regexp):
1881 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1882
1883 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1884
1885 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1886 unmsys--file-name. (Bug#16099)
1887
1888 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1889
1890 * emacs-lisp/package.el (package-keyword-button-action):
1891 Remove finder.el require dependency.
1892
1893 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1894
1895 * emacs-lisp/package.el: Require finder.el.
1896 (describe-package-1): Add keyword buttons.
1897 (package-make-button): New convenience function.
1898 (package-keyword-button-action): Keyword button action using
1899 `finder-list-matches'.
1900
1901 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1902
1903 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1904 last commit.
1905
1906 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1907
1908 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1909 symlinked files.
1910
1911 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1912
1913 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1914 after the end of a percent literal.
1915
1916 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1917
1918 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1919 Handle caret-delimited strings (Bug#16079).
1920
1921 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1922
1923 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1924 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1925 `ruby-parse-partial' (Bug#16078).
1926
1927 2013-12-09 Leo Liu <sdl.web@gmail.com>
1928
1929 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1930
1931 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1932
1933 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1934 (js-switch-indent-offset): New option.
1935 (js--proper-indentation): Use it. And handle the case when
1936 "default" is actually a key in an object literal.
1937 (js--same-line): New function.
1938 (js--multi-line-declaration-indentation): Use it.
1939 (js--indent-in-array-comp, js--array-comp-indentation):
1940 New functions.
1941 (js--proper-indentation): Use them, to handle array comprehension
1942 continuations.
1943
1944 2013-12-08 Leo Liu <sdl.web@gmail.com>
1945
1946 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1947 (flymake-make-overlay): Remove arg MOUSE-FACE.
1948 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1949
1950 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1953 New function.
1954 (redisplay-highlight-region-function): Use it.
1955
1956 * emulation/cua-base.el (cua--explicit-region-start)
1957 (cua--last-region-shifted): Remove.
1958 (cua--deactivate): Use deactivate-mark.
1959 (cua--pre-command-handler-1): Don't handle shift-selection.
1960 (cua--post-command-handler-1): Don't change transient-mark-mode.
1961 (cua--select-keymaps): Use region-active-p rather than
1962 cua--explicit-region-start or cua--last-region-shifted.
1963 (cua-mode): Enable shift-select-mode.
1964
1965 2013-12-08 Leo Liu <sdl.web@gmail.com>
1966
1967 * progmodes/flymake.el (flymake-popup-current-error-menu):
1968 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1969 (flymake-posn-at-point-as-event, flymake-popup-menu)
1970 (flymake-make-emacs-menu): Remove. (Bug#16077)
1971
1972 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * rect.el (rectangle-mark-mode): Activate mark even if
1975 transient-mark-mode is off (bug#16066).
1976 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1977 is > mark and at bolp.
1978
1979 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1980 (region-extract-function): Use it.
1981 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1982 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1983 Delete functions.
1984 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1985 kill-ring-save, kill-region, delete-char, delete-forward-char.
1986 Ignore self-insert-iso.
1987
1988 * emulation/cua-gmrk.el (cua--init-global-mark):
1989 Ignore `self-insert-iso'.
1990
1991 * emulation/cua-base.el (cua--prefix-copy-handler)
1992 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1993 checking cua--rectangle.
1994 (cua-delete-region): Use region-extract-function.
1995 (cua-replace-region): Delete function.
1996 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1997 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1998 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1999 (cua--init-keymaps): Don't remap delete-selection commands.
2000 (cua-mode): Use delete-selection-mode instead of rolling our own
2001 (bug#16085).
2002
2003 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2004 Obey region-extract-function.
2005
2006 Make registers and delete-selection-mode work on rectangles.
2007 * register.el (describe-register-1): Don't modify the register's value.
2008 (copy-to-register): Obey region-extract-function.
2009 * delsel.el (delete-active-region): Obey region-extract-function.
2010
2011 2013-12-08 Leo Liu <sdl.web@gmail.com>
2012
2013 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2014 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2015 (flymake-compilation-prevents-syntax-check)
2016 (flymake-start-syntax-check-on-newline)
2017 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2018 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2019 (flymake-xml-program, flymake-master-file-dirs)
2020 (flymake-master-file-count-limit)
2021 (flymake-allowed-file-name-masks): Relocate.
2022 (flymake-makehash, flymake-float-time)
2023 (flymake-replace-regexp-in-string, flymake-split-string)
2024 (flymake-get-temp-dir): Remove.
2025 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2026 (flymake-current-row, flymake-selected-frame)
2027 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2028 related functions. (Bug#16077)
2029
2030 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2031
2032 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2033
2034 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2035
2036 * help-fns.el (describe-function-1): Use new advice-* functions
2037 rather than old ad-* functions. Fix function type description and
2038 source links for advised functions and subrs.
2039
2040 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2041
2042 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2043
2044 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2045
2046 * progmodes/compile.el (compilation-start):
2047 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2048
2049 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2050 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2051
2052 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2053
2054 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2055 Touch up the last change.
2056
2057 2013-12-06 Leo Liu <sdl.web@gmail.com>
2058
2059 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2060 (inferior-octave-startup): Always use "octave> " for prompt.
2061 (octave-goto-function-definition)
2062 (octave-sync-function-file-names)
2063 (octave-find-definition-default-filename): Remove redundant backquotes.
2064
2065 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2066
2067 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2068 syntax for `?'.
2069 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2070 where appropriate already.
2071 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2072 end of method names (Bug#15874).
2073
2074 2013-12-06 Juri Linkov <juri@jurta.org>
2075
2076 * isearch.el (isearch--saved-overriding-local-map):
2077 New internal variable.
2078 (isearch-mode): Set it to the initial value of
2079 `overriding-terminal-local-map'.
2080 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2081 with `isearch--saved-overriding-local-map'. (Bug#16035)
2082
2083 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2084
2085 * progmodes/octave.el (inferior-octave-completion-table):
2086 Turn back into function, use `completion-table-with-cache'
2087 (Bug#11906). Update all references.
2088
2089 * minibuffer.el (completion-table-with-cache): New function.
2090
2091 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2092
2093 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2094
2095 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2096
2097 * net/eww.el (eww-current-source): New variable to store page
2098 source.
2099 (eww-display-html, eww-mode, eww-save-history)
2100 (eww-restore-history): Use it.
2101 (eww-view-source): New command to view page source.
2102 Opportunistically uses `html-mode' to highlight the buffer.
2103 (eww-mode-map): Install it.
2104
2105 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2106
2107 * net/dbus.el (dbus-unregister-service)
2108 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2109 Fix docstring.
2110 (dbus-unregister-service): Skip :serial entries in
2111 `dbus-registered-objects-table'.
2112 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2113
2114 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2115
2116 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2117 around keywords with extra `split-string' argument.
2118
2119 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2120
2121 * windmove.el (windmove-other-window-loc): Handle navigation
2122 between windows (excluding the minibuffer window - Bug#16017).
2123
2124 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2125
2126 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2127 in D-Bus type syntax.
2128 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2129 preserve unibyte strings. (Bug#16048)
2130
2131 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2134 Call force-mode-line-update is the proper buffer (bug#16042).
2135
2136 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2137
2138 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2139 `log-edit-remember-comment', make argument optional. Adjust all
2140 callers.
2141 (log-edit-mode): Add `log-edit-remember-comment' to
2142 `kill-buffer-hook' locally.
2143 (log-edit-kill-buffer): Don't remember comment explicitly since
2144 the buffer is killed anyway.
2145
2146 2013-12-04 Juri Linkov <juri@jurta.org>
2147
2148 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2149 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2150
2151 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2152
2153 * notifications.el (notifications-close-notification): Call the
2154 D-Bus method with ID being a `:uint32'. (Bug#16030)
2155
2156 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2157
2158 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2159
2160 2013-12-03 Juri Linkov <juri@jurta.org>
2161
2162 * progmodes/compile.el (compilation-start): Rename window alist
2163 entry `no-display-ok' to `allow-no-window'.
2164
2165 * simple.el (shell-command): Add window alist entry
2166 `allow-no-window' to `display-buffer'.
2167 (async-shell-command): Doc fix.
2168
2169 * window.el (display-buffer-no-window): New action function.
2170 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2171
2172 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2173
2174 * vc/log-edit.el (log-edit-set-header): Extract from
2175 `log-edit-toggle-header'.
2176 (log-edit-extract-headers): Separate the summary, when extracted
2177 from header, from the rest of the message with an empty line.
2178
2179 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2180 line, if present, to the Summary header.
2181
2182 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2183
2184 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2185 in current-buffer (bug#16029).
2186
2187 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2188
2189 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2190 (debugger-mode-map): Bind it.
2191 (debugger--backtrace-base): New function.
2192 (debugger-eval-expression): Use it.
2193 (debugger-frame-number): Skip local vars when present.
2194 (debugger--locals-visible-p, debugger--insert-locals)
2195 (debugger--show-locals, debugger--hide-locals): New functions.
2196
2197 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2198
2199 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2200 "LC_ALL".
2201 (tramp-get-remote-locale): New defun.
2202 (tramp-open-connection-setup-interactive-shell): Use it.
2203
2204 2013-12-02 Leo Liu <sdl.web@gmail.com>
2205
2206 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2207
2208 * progmodes/sh-script.el (sh-shell-process):
2209 * progmodes/octave.el (inferior-octave-process-live-p):
2210 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2211 (gdb-inferior-io-sentinel):
2212 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2213
2214 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2215
2216 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2217 `save-selected-window' to `log-edit-hide-buf'. This makes
2218 `log-edit-show-files' idempotent.
2219 (log-edit-show-files): Mark the new window as dedicated.
2220
2221 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2222
2223 * vc/log-edit.el (log-edit-mode-map): Add binding for
2224 `log-edit-kill-biffer'.
2225 (log-edit-hide-buf): Add a FIXME comment.
2226 (log-edit-add-new-comment): New function, extracted from
2227 `log-edit-done'.
2228 (log-edit-done, log-edit-add-to-changelog): Use it.
2229 (log-edit-kill-buffer): New command.
2230
2231 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2232
2233 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2234 instead of killing the buffer.
2235
2236 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2239
2240 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2241
2242 * net/eww.el (eww-form-checkbox-selected-symbol)
2243 (eww-form-checkbox-symbol): New customizable variable.
2244 (eww-form-checkbox, eww-toggle-checkbox):
2245 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2246
2247 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2248 (shr--get-media-pref, shr--extract-best-source): New function.
2249 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2250 no :src tag was specified.
2251
2252 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2253 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2254 Use \\` to match beginning of string instead of ^.
2255 (eww-browse-with-external-browser): Provide optional URL parameter.
2256 (eww-render): Set `eww-current-title' back to "".
2257
2258 * net/shr.el (shr-tag-video): Display content for video if no
2259 poster is available.
2260 (shr-tag-audio): Add support for <audio> tag.
2261
2262 * net/eww.el (eww-text-input-types): New const.
2263 (eww-process-text-input): Treat input types in
2264 `eww-text-input-types' as text.
2265
2266 * net/shr.el (shr-tag-table): Fix comment typo.
2267
2268 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2269
2270 * net/eww.el (eww-follow-link): New command to avoid reloading
2271 pages when we follow #target links (bug#15243).
2272 (eww-quit): Special mode buffers shouldn't query before exiting.
2273
2274 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2275
2276 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2277 forms.
2278
2279 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2280
2281 * net/eww.el (eww-restore-history): Update the window title after
2282 moving in the history.
2283 (eww-current-dom): New variable used to save the current DOM.
2284
2285 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2286
2287 * vc/log-edit.el (log-edit-mode-map): Add binding for
2288 `log-edit-beginning-of-line'.
2289 (log-edit-setup-add-author): New user option.
2290 (log-edit-beginning-of-line): New command.
2291 (log-edit): Move major mode call above the contents setup so that
2292 the local variable values are already applied.
2293 (log-edit): Only insert "Author: " when
2294 `log-edit-setup-add-author' is non-nil.
2295 (log-edit): When SETUP is non-nil, position point after ": "
2296 instead of point-min.
2297
2298 2013-12-01 Glenn Morris <rgm@gnu.org>
2299
2300 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2301
2302 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2303
2304 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2305 redisplay to make sure the initial frame gets a chance to become
2306 visible. (Bug#16014)
2307
2308 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2309
2310 Support resizing frames and windows pixelwise.
2311 * cus-start.el (frame-resize-pixelwise)
2312 (window-resize-pixelwise): New entries.
2313 * emacs-lisp/debug.el (debug): Use window-total-height instead
2314 of window-total-size.
2315 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2316 * help.el (describe-bindings-internal): Call help-buffer
2317 (temp-buffer-max-width): New option.
2318 (resize-temp-buffer-window, help-window-setup)
2319 (with-help-window): Rewrite.
2320 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2321 dragging dividers.
2322 * window.el (frame-char-size, window-min-pixel-height)
2323 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2324 (window-min-pixel-width, window-safe-min-pixel-size)
2325 (window-combination-p, window-safe-min-size)
2326 (window-resizable-p, window--size-to-pixel)
2327 (window--pixel-to-size, window--resize-apply-p): New functions.
2328 (window-safe-min-height): Fix doc-string.
2329 (window-size, window-min-size, window--min-size-1)
2330 (window-sizable, window-sizable-p, window--min-delta-1)
2331 (window-min-delta, window--max-delta-1, window-max-delta)
2332 (window--resizable, window--resizable-p, window-resizable)
2333 (window-full-height-p, window-full-width-p, window-at-side-p)
2334 (window--in-direction-2, window-in-direction)
2335 (window--resize-reset-1, window--resize-mini-window)
2336 (window-resize, window-resize-no-error)
2337 (window--resize-child-windows-normal)
2338 (window--resize-child-windows, window--resize-siblings)
2339 (window--resize-this-window, window--resize-root-window)
2340 (window--resize-root-window-vertically)
2341 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2342 (maximize-window, minimize-window, delete-window)
2343 (quit-restore-window, window-split-min-size, split-window)
2344 (balance-windows-2, balance-windows)
2345 (balance-windows-area-adjust, balance-windows-area)
2346 (window--state-get-1, window-state-get, window--state-put-1)
2347 (window--state-put-2, window-state-put)
2348 (display-buffer-record-window, window--display-buffer):
2349 Make functions handle pixelwise sizing of windows.
2350 (display-buffer--action-function-custom-type)
2351 (display-buffer-fallback-action):
2352 Add display-buffer-in-previous-window.
2353 (display-buffer-use-some-window): Resize window to height it had
2354 before.
2355 (fit-window-to-buffer-horizontally): New option.
2356 (fit-frame-to-buffer): Describe new values.
2357 (fit-frame-to-buffer-bottom-margin): Replace with
2358 fit-frame-to-buffer-margins.
2359 (window--sanitize-margin): New function.
2360 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2361 using window-text-pixel-size.
2362
2363 2013-11-30 Glenn Morris <rgm@gnu.org>
2364
2365 * emacs-lisp/bytecomp.el (byte-compile-form):
2366 Make the `interactive-only' warning like the `obsolete' one.
2367 * comint.el (comint-run):
2368 * files.el (insert-file-literally, insert-file):
2369 * replace.el (replace-string, replace-regexp):
2370 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2371 (goto-line, insert-buffer, next-line, previous-line):
2372 Tweak `interactive-only' spec.
2373
2374 Stop keeping (most) generated cedet grammar files in the repository.
2375 * Makefile.in (semantic): New.
2376 (compile-main): Depend on semantic.
2377
2378 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2379
2380 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2381 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2382
2383 * uniquify.el (uniquify-buffer-name-style): Change default.
2384
2385 * loadup.el: Preload "uniquify".
2386
2387 * time.el (display-time-update): Update all mode lines (bug#15999).
2388
2389 * electric.el (electric-indent-mode): Enable by default.
2390 * loadup.el: Preload "electric".
2391
2392 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2393
2394 * emacs-lisp/helpers.el (string-empty-p): New function.
2395 (string-blank-p): New function.
2396
2397 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2398
2399 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2400 (Bug#14029).
2401
2402 2013-11-29 Andreas Politz <politza@fh-trier.de>
2403 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2404 allow non-lambda lists as functions.
2405 (imenu--in-alist): Don't recurse into non-subalists.
2406 (imenu): Don't pass function itself as an argument (Bug#14029).
2407
2408 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 * progmodes/python.el (python-mode-map): Remove binding for ":".
2411 (python-indent-electric-colon): Remove command.
2412 (python-indent-post-self-insert-function): Integrate the previous code
2413 of python-indent-electric-colon. Make it conditional on
2414 electric-indent-mode.
2415 (python-mode): Add ?: to electric-indent-chars.
2416 Move python-indent-post-self-insert-function to the end of
2417 post-self-insert-hook.
2418
2419 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * doc-view.el (doc-view-goto-page): Update mode-line.
2422
2423 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2424
2425 2013-11-27 Glenn Morris <rgm@gnu.org>
2426
2427 * international/charprop.el, international/uni-bidi.el:
2428 * international/uni-category.el, international/uni-combining.el:
2429 * international/uni-comment.el, international/uni-decimal.el:
2430 * international/uni-decomposition.el, international/uni-digit.el:
2431 * international/uni-lowercase.el, international/uni-mirrored.el:
2432 * international/uni-name.el, international/uni-numeric.el:
2433 * international/uni-old-name.el, international/uni-titlecase.el:
2434 * international/uni-uppercase.el:
2435 Remove generated files from VCS repository.
2436
2437 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2438
2439 * filenotify.el (file-notify-add-watch): Don't special-case
2440 w32notify when computing the directory to watch.
2441
2442 2013-11-27 Glenn Morris <rgm@gnu.org>
2443
2444 Make bootstrap without generated uni-*.el files possible again.
2445 * loadup.el: Update command-line-args checking for unidata-gen.
2446 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2447 * composite.el, international/characters.el:
2448 Handle unicode tables being undefined.
2449
2450 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2451 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2452 (compile-main): Depend on leim rule.
2453 (leim): New rule.
2454 * loadup.el: Move leim-list.el to leim/ subdirectory.
2455 * startup.el (normal-top-level): No more leim directory.
2456 * international/ja-dic-cnv.el (skkdic-convert):
2457 Disable version-control and autoloads in output files.
2458 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2459 Disable version-control and autoloads in output files.
2460 * leim/quail: Move here from ../leim.
2461 * leim/quail/hangul.el (hangul-input-method-activate):
2462 Add autoload cookie.
2463 (generated-autoload-load-name): Set file-local value.
2464 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2465 (generated-autoload-load-name): Set file-local value.
2466
2467 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2468
2469 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2470 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2471 (eww-quit): Ask confirmation before quitting eww.
2472
2473 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2474
2475 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2476 reading output from Diff on MS-Windows and MS-DOS.
2477
2478 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2479
2480 * emacs-lisp/helpers.el (string-reverse): New function.
2481
2482 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2483
2484 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2485 names on MS Windows, like "/[::1]:".
2486
2487 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2488 SWITCHES.
2489
2490 2013-11-26 Glenn Morris <rgm@gnu.org>
2491
2492 * progmodes/python.el (python-indent-guess-indent-offset):
2493 Avoid corner-case error. (Bug#15975)
2494
2495 Preload leim-list.el. (Bug#4789)
2496 * loadup.el: Load leim-list.el when found.
2497 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2498
2499 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2500
2501 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2502
2503 * emacs-lisp/helpers.el (string-join): New function.
2504
2505 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2506
2507 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2508 Mark as obsolete and replace it with a symbol property.
2509 (byte-compile-form): Use new 'interactive-only property.
2510 * comint.el, files.el, replace.el, simple.el:
2511 Apply new 'interactive-only properly.
2512
2513 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2514
2515 * window.el (display-buffer-at-bottom): Make sure that
2516 split-window-sensibly creates the new window on bottom
2517 (Bug#15961).
2518
2519 2013-11-23 David Kastrup <dak@gnu.org>
2520
2521 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2522 on the conflict markers when available.
2523 (smerge--get-marker): New function.
2524 (smerge-end-re, smerge-base-re): Add subgroup.
2525
2526 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * frame.el (handle-focus-in, handle-focus-out): Add missing
2529 interactive spec.
2530
2531 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2532
2533 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2534 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2535
2536 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2537
2538 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2539 (gomoku--last-pos): New var.
2540 (gomoku--intangible-chars): New const.
2541 (gomoku--intangible): New function.
2542 (gomoku-mode): Use it. Derive from special-mode.
2543 (gomoku-move-up): Adjust line count.
2544 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2545 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2546 Simplify accordingly.
2547
2548 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2549 Remove blink-cursor code.
2550 (blink-cursor-timer-function, blink-cursor-suspend):
2551 Don't special-case GUIs.
2552 (blink-cursor-mode): Use focus-in/out-hook.
2553
2554 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2555
2556 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2557 work when annotation is invisible (Bug#13886).
2558
2559 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2560
2561 * json.el (json-alist-p): Only return non-nil if the alist has
2562 simple keys (Bug#13518).
2563
2564 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2565
2566 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2567 when control-statement is the first statement in a buffer (Bug#15956).
2568
2569 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2570
2571 * imenu.el (imenu-generic-skip-comments-and-strings):
2572 New option (Bug#15560).
2573 (imenu--generic-function): Use it.
2574
2575 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2576
2577 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2578 (Bug#13898)
2579
2580 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2581
2582 * emacs-lisp/helpers.el: Add some string helpers.
2583 (string-trim-left): Removes leading whitespace.
2584 (string-trim-right): Removes trailing whitespace.
2585 (string-trim): Removes leading and trailing whitespace.
2586
2587 * subr.el (string-suffix-p): New function.
2588
2589 2013-11-23 Glenn Morris <rgm@gnu.org>
2590
2591 * progmodes/python.el (python-shell-send-file):
2592 Add option to delete file when done. (Bug#15647)
2593 (python-shell-send-string, python-shell-send-region): Use it.
2594
2595 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2596
2597 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2598 to set buffer-read-only to t, never to nil. (Bug#15938)
2599
2600 * textmodes/tex-mode.el (latex-noindent-environments):
2601 Add safe-local-variable property. (Bug#15936)
2602
2603 2013-11-23 Glenn Morris <rgm@gnu.org>
2604
2605 * textmodes/enriched.el (enriched-mode): Doc fix.
2606 * emacs-lisp/authors.el (authors-renamed-files-alist):
2607 Add enriched.doc -> enriched.txt.
2608
2609 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2610
2611 2013-11-22 Leo Liu <sdl.web@gmail.com>
2612
2613 * progmodes/octave.el (inferior-octave-startup): Spit out error
2614 message.
2615
2616 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2617
2618 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2619 Improve docstring.
2620 Add :version.
2621 (ruby-encoding-magic-comment-style): Add :version.
2622
2623 2013-11-22 Leo Liu <sdl.web@gmail.com>
2624
2625 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2626 (Bug#15076)
2627 (octave-help-mode): Adapt to change to help-mode-finish to use
2628 derived-mode-p on 2013-09-17.
2629 (inferior-octave-prompt): Also match octave-gui.
2630 (octave-kill-process): Don't ask twice. (Bug#10564)
2631
2632 2013-11-22 Leo Liu <sdl.web@gmail.com>
2633
2634 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2635 (inferior-octave-startup, inferior-octave-check-process)
2636 (inferior-octave-track-window-width-change)
2637 (octave-completion-at-point, octave-eldoc-function): Use it.
2638 (octave-kill-process): Provide confirmation. (Bug#10564)
2639
2640 2013-11-21 Leo Liu <sdl.web@gmail.com>
2641
2642 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2643 Fix obsolete variable comment-use-global-state.
2644
2645 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2646
2647 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2648 Add `octave-source-file'.
2649 (octave-source-file): New function. (Bug#15935)
2650
2651 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2652
2653 * net/eww.el (eww-local-regex): New variable.
2654 (eww): Use it to detect localhost and similar.
2655
2656 2013-11-21 Leo Liu <sdl.web@gmail.com>
2657
2658 Add completion for command `ag'.
2659 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2660 (pcomplete/ag): New function.
2661 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2662
2663 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2666 (bug#14646).
2667 (make-obsolete): Remove interactive spec.
2668
2669 2013-11-21 Glenn Morris <rgm@gnu.org>
2670
2671 * startup.el (command-line-1): Use path-separator with -L.
2672
2673 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2674
2675 * emacs-lisp/package.el (describe-package-1): Add package archive
2676 to shown fields.
2677
2678 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2679
2680 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2681 Change default to "# encoding: %s" to differentiate it from the
2682 default Ruby encoding comment template.
2683
2684 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2685
2686 * ses.el (ses-mode): Doc fix. (Bug#14748)
2687
2688 2013-11-20 Leo Liu <sdl.web@gmail.com>
2689
2690 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2691
2692 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2693
2694 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2695 when rebase or bisect are in progress.
2696
2697 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2698
2699 * filenotify.el (file-notify-add-watch): Doc fix.
2700
2701 2013-11-19 Leo Liu <sdl.web@gmail.com>
2702
2703 * obsolete/rcompile.el: Mark obsolete.
2704
2705 * progmodes/compile.el (compilation-start)
2706 (compilation-goto-locus, compilation-find-file):
2707 Pass no-display-ok and handle nil value from display-buffer.
2708 (Bug#13594)
2709
2710 * window.el (display-buffer-alist, display-buffer): Document the
2711 new parameter no-display-ok. Return either a window or nil
2712 but never a non-window value.
2713
2714 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 * electric.el (electric-indent-mode-map): Remove.
2717 (electric-indent-mode): Change the global-map instead (bug#15915).
2718
2719 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2720 Use add-function.
2721
2722 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2723
2724 * emacs-lisp/nadvice.el (remove-function): Align with
2725 add-function's behavior.
2726
2727 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2728 (gdb--string-regexp): New constant.
2729 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2730 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2731 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2732 submatch 1.
2733 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2734 Adjust use accordingly.
2735 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2736
2737 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2738
2739 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2740 interpolation curlies (Bug#15914).
2741
2742 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2743
2744 * calc/calc.el (calc-context-sensitive-enter): New variable.
2745 (calc-enter): Use `calc-context-sensitive-enter'.
2746
2747 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2748
2749 * progmodes/cfengine.el: Version bump.
2750 (cfengine-cf-promises): New defcustom to locate cf-promises.
2751 (cfengine3-vartypes): Add new "data" type.
2752 (cfengine3--current-word): New function to get current name-like
2753 word or its bounds.
2754 (cfengine3--current-function): New function to look up a CFEngine
2755 function's definition.
2756 (cfengine3-format-function-docstring): New function.
2757 (cfengine3-make-syntax-cache): New function.
2758 (cfengine3-documentation-function): New function: ElDoc glue.
2759 (cfengine3-completion-function): New function: completion glue.
2760 (cfengine3-mode): Set `compile-command',
2761 `eldoc-documentation-function', and add to
2762 `completion-at-point-functions'.
2763
2764 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2765
2766 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2767 `tramp-current-connection'.
2768
2769 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2770
2771 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2772 nil/self/true/false with "end of symbol".
2773
2774 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2775
2776 * subr.el (version-regexp-alist): Fix a typo.
2777
2778 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2779
2780 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2781 "en_US.utf8" and "LC_CTYPE" to "".
2782 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2783 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2784
2785 2013-11-15 Leo Liu <sdl.web@gmail.com>
2786
2787 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2788
2789 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * progmodes/gud.el (ctl-x-map):
2792 Remove C-x SPC binding. (Bug#12342)
2793 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2794
2795 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2796
2797 * subr.el (version-regexp-alist):
2798 Recognize hg, svn and darcs versions as snapshot versions.
2799
2800 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2801 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2802 (ruby--encoding-comment-required-p): Extract from
2803 `ruby-mode-set-encoding'.
2804 (ruby-mode-set-encoding): Add the ability to always insert an
2805 utf-8 encoding comment. Fix and simplify coding comment update
2806 logic.
2807
2808 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2809
2810 * net/tramp-gvfs.el (top): Run init code only when
2811 `tramp-gvfs-enabled' is not nil.
2812 (tramp-gvfs-enabled): Check also :system bus.
2813
2814 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2815
2816 Sync with upstream verilog-mode revision 78e66ba.
2817 * progmodes/verilog-mode.el (verilog-end-of-defun)
2818 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2819 (verilog-get-end-of-defun): Remove unused argument.
2820 (verilog-comment-depth): Remove unused local `e'.
2821 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2822 Don't pass arg to verilog-get-end-of-defun.
2823
2824 2013-11-14 Glenn Morris <rgm@gnu.org>
2825
2826 * obsolete/assoc.el (aget): Prefix dynamic variable.
2827
2828 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2829
2830 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * widget.el, hfy-cmap.el: Remove bogus package version number.
2833
2834 2013-11-13 Glenn Morris <rgm@gnu.org>
2835
2836 * replace.el (replace-eval-replacement):
2837 Try to give more helpful error message. (Bug#15836)
2838
2839 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2840 (archive-7z-update): Avoid custom type mismatches.
2841
2842 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2843
2844 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2845
2846 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2847 address can be empty.
2848
2849 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2850 Accept nil SWITCHES.
2851 (tramp-gvfs-handle-write-region): Implement APPEND.
2852
2853 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2854
2855 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2856 binary "|" operator and closing block args delimiter.
2857 Remove FIXME comment referring to Ruby 1.8-only syntax.
2858 (ruby-smie--implicit-semi-p): Not after "|" operator.
2859 (ruby-smie--closing-pipe-p): New function.
2860 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2861 (ruby-smie-rules): Indent after "|".
2862
2863 2013-11-12 Glenn Morris <rgm@gnu.org>
2864
2865 * ps-print.el (ps-face-attribute-list):
2866 Handle anonymous faces. (Bug#15827)
2867
2868 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2869
2870 * window.el (display-buffer-other-frame): Fix doc-string.
2871 (Bug#15868)
2872
2873 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2876
2877 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2878
2879 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2880 (tramp-sh-handle-file-local-copy): Don't write a message when
2881 saving temporary files.
2882
2883 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2884 both directories are remote.
2885 (tramp-smb-handle-directory-files): Do not return double entries.
2886 Do not expand full file names.
2887 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2888 (tramp-smb-handle-write-region): Implement APPEND.
2889 (tramp-smb-get-stat-capability): Fix a stupid bug.
2890
2891 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2894
2895 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2896
2897 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2898 throwing error over malformed let/let* (bug#15814).
2899
2900 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2901
2902 * iswitchb.el (iswitchb-mode): Mark obsolete.
2903
2904 2013-11-11 Glenn Morris <rgm@gnu.org>
2905
2906 * international/uni-bidi.el, international/uni-category.el:
2907 * international/uni-name.el, international/uni-numeric.el:
2908 Regenerate for Unicode 6.3.0.
2909
2910 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2911
2912 * net/tramp.el (tramp-methods):
2913 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2914 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2915
2916 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2917
2918 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2919 Force highlighting text after Summary keyword in doc face for rpm.
2920
2921 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2922
2923 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2924 available and the word has no wildcards, append one to the grep pattern.
2925 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2926 (ispell-complete-word): Call `ispell-lookup-words' with the value
2927 independent of `ispell-look-p'.
2928
2929 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2930
2931 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2932 Not after "||".
2933 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2934 their parent.
2935
2936 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2937
2938 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2939 (ruby-font-lock-keywords): Use backquote.
2940
2941 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2942
2943 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2944 (ruby-smie--backward-token): Only consider full-string matches.
2945
2946 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2947
2948 * faces.el (describe-face): Add distant-foreground.
2949
2950 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2951
2952 * progmodes/ruby-mode.el: Improve encoding comment handling.
2953 (ruby-encoding-magic-comment-style): New option.
2954 (ruby-custom-encoding-magic-comment-template): New option.
2955 (ruby--insert-coding-comment, ruby--detect-encoding):
2956 New functions extracted from `ruby-mode-set-encoding'.
2957 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2958 to control the style of the auto-inserted encoding comment.
2959
2960 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2961
2962 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2963 Use `smie-backward-sexp' with token argument.
2964
2965 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2966
2967 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2968 Remove instrumentation code.
2969
2970 2013-11-08 Glenn Morris <rgm@gnu.org>
2971
2972 * progmodes/autoconf.el (autoconf-mode):
2973 Tweak comment-start-skip. (Bug#15822)
2974
2975 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2976
2977 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2978 at bobp (bug#15826).
2979 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2980
2981 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2982
2983 * man.el (Man-start-calling): New macro, extracted from
2984 Man-getpage-in-background.
2985 (Man-getpage-in-background): Use it.
2986 (Man-update-manpage): New command.
2987 (Man-mode-map): Bind it.
2988
2989 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2990
2991 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2992 of "and", "or", "&&" and "||".
2993 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2994 argument. Prohibit opening curly brace because it could only be a
2995 block opener in that position.
2996 (ruby-smie--forward-token, ruby-smie--backward-token):
2997 Separate "|" from "&" or "*" going after it. That can happen in block
2998 arguments.
2999 (ruby-smie--indent-to-stmt): New function, seeks the end of
3000 previous statement or beginning of buffer.
3001 (ruby-smie-rules): Use it.
3002 (ruby-smie-rules): Check if there's a ":" before a curly block
3003 opener candidate; if there is, it's a hash.
3004
3005 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3006
3007 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3008 (cl--block-wrapper): Fix last accidental change.
3009
3010 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3011
3012 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3013 Instrument, in order to hunt failure on hydra.
3014
3015 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3016
3017 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3018 malformed bindings form (bug#15814).
3019
3020 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3021
3022 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3023 "." compared to " @ ". This incidentally fixes some indentation
3024 examples with "do".
3025 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3026 (ruby-smie-grammar): New tokens: "and" and "or".
3027 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3028 Exclude "and" and "or". Remove "do" in order to work around token
3029 priorities.
3030 (ruby-smie-rules): Add all infix tokens. Handle the case of
3031 beginning-of-buffer.
3032
3033 2013-11-06 Glenn Morris <rgm@gnu.org>
3034
3035 * Makefile.in (setwins_almost, setwins_for_subdirs):
3036 Avoid accidental matches.
3037
3038 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * menu-bar.el (popup-menu): Use key-binding.
3041
3042 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3043
3044 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3045 menus, support also the menus produced by minor modes.
3046 (Bug#15817)
3047
3048 2013-11-06 Leo Liu <sdl.web@gmail.com>
3049
3050 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3051 DISTANCE to bound the search. All uses changed. (Bug#15808)
3052
3053 2013-11-06 Glenn Morris <rgm@gnu.org>
3054
3055 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3056 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3057 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3058
3059 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3060
3061 * electric.el (electric-indent-just-newline): New command.
3062 (electric-indent-mode-map): New keymap.
3063 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3064 Re-add :group which weren't redundant.
3065
3066 * electric.el (electric-indent-local-mode): New minor mode.
3067 (electric-indent-functions-without-reindent): New var.
3068 (electric-indent-post-self-insert-function): Use it.
3069 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3070
3071 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3072
3073 * international/quail.el (quail-help): Be more explicit about the
3074 meaning of the labels shown on the keys. (Bug#15800)
3075
3076 * startup.el (normal-top-level): Load the subdirs.el files before
3077 setting the locale environment. (Bug#15805)
3078
3079 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3082 via arguments so as to get the right ones (bug#15418).
3083
3084 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3085
3086 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3087
3088 Fix problems found while writing a test suite.
3089
3090 * net/tramp-compat.el (tramp-compat-load): New defun.
3091 * net/tramp.el (tramp-handle-load): Use it.
3092
3093 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3094 "(numberp ok-if-already-exists)" correctly.
3095
3096 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3097
3098 * international/characters.el (glyphless-char-display-control):
3099 Add usage note.
3100
3101 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3102
3103 * progmodes/python.el (python-mode):
3104 * progmodes/scheme.el (scheme-mode):
3105 * progmodes/prolog.el (prolog-mode):
3106 * progmodes/ruby-mode.el (ruby-mode):
3107 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3108 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3109
3110 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3111
3112 * rect.el (rectangle--highlight-for-redisplay):
3113 * emacs-lisp/smie.el (smie--next-indent-change):
3114 Use buffer-chars-modified-tick.
3115
3116 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3117
3118 * electric.el (electric-indent-post-self-insert-function):
3119 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3120
3121 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3122
3123 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3124
3125 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3126
3127 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3128 (bug#15786).
3129
3130 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3131
3132 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3133
3134 * progmodes/python.el: Fix up last change.
3135 (python-shell--save-temp-file): New function.
3136 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3137 `string' comes from the current buffer.
3138 (python-shell-send-string-no-output): Remove `msg' arg.
3139 (python--use-fake-loc): New var.
3140 (python-shell-buffer-substring): Obey it. Try to compensate for the
3141 extra coding line added by python-shell--save-temp-file.
3142 (python-shell-send-region): Use python-shell--save-temp-file and
3143 python-shell-send-file directly. Add `nomain' argument.
3144 (python-shell-send-buffer): Use python-shell-send-region.
3145 (python-electric-pair-string-delimiter): New function.
3146 (python-mode): Use it.
3147
3148 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3149
3150 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3151 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3152 environment and decoding all of the default-directory's to here
3153 from command-line.
3154 (command-line): Decode also argv[0].
3155
3156 * loadup.el: Error out if default-directory is a multibyte string
3157 when we are dumping.
3158
3159 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3160
3161 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3162
3163 * emacs-lisp/package.el (package-menu-mode)
3164 (package-menu--print-info, package-menu--archive-predicate):
3165 Add Archive column to package list.
3166
3167 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3168
3169 Fix problems found while writing a test suite.
3170
3171 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3172 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3173 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3174 to nil when running original file name handler. Otherwise,
3175 there are problems with constructs like "$$FOO".
3176
3177 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3178 for `localname'.
3179
3180 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3181
3182 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3183
3184 * subr.el (version<, version<=, version=):
3185 Update docstrings with information for snapshot versions.
3186
3187 * helpers.el: New library for misc helper functions.
3188 (hash-table-keys): New function returning a list of hash keys.
3189 (hash-table-values): New function returning a list of hash values.
3190
3191 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3192
3193 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3194 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3195
3196 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3197
3198 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3199 checking whether point is after a 1-letter word.
3200
3201 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3202
3203 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3204 Don't infloop when expanding region over `multiline' syntax-type that
3205 begins a line (bug#15778).
3206
3207 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3210 Make it into a proper minor mode.
3211 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3212 (rectangle-mark-mode-map): New keymap.
3213 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3214
3215 2013-11-04 Glenn Morris <rgm@gnu.org>
3216
3217 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3218
3219 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3220
3221 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3222 (ruby-smie-rules): Use smie-rule-parent instead.
3223
3224 * emacs-lisp/smie.el (smie-rule-parent): Always call
3225 smie-indent-virtual rather than only for hanging tokens.
3226 (smie--next-indent-change): New helper command.
3227
3228 2013-11-03 Glenn Morris <rgm@gnu.org>
3229
3230 * Makefile.in (abs_srcdir): Remove.
3231 (emacs): Unset EMACSLOADPATH.
3232
3233 2013-11-02 Glenn Morris <rgm@gnu.org>
3234
3235 * Makefile.in (EMACS): Use a relative filename.
3236 (abs_top_builddir): Remove.
3237 (custom-deps, finder-data, autoloads): Use --chdir.
3238
3239 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3240
3241 Use relative filenames in TAGS files.
3242 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3243 (lisptagsfiles4, TAGS): Use relative file names.
3244 (TAGS-LISP): Remove.
3245 (maintainer-clean): No more TAGS-LISP file.
3246
3247 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3248 (lisptagsfiles4): Use absolute filenames again.
3249 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3250 Remove all *loaddefs files, not just the first. Remove esh-groups.
3251 (maintainer-clean): Delete TAGS, TAGS-LISP.
3252
3253 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3254
3255 * emacs-lisp/package.el (package-version-join):
3256 Recognize snapshot versions.
3257
3258 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3259
3260 * subr.el (version-regexp-alist): Add support for snapshot versions.
3261
3262 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3263
3264 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3265 New function, replacement for `smie-rule-parent' for when we want to
3266 skip over our direct parent if it's an assignment token..
3267 (ruby-smie-rules): Use it.
3268
3269 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3270
3271 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3272 unconditionally. Remove now unnecessary forward declarations.
3273 Remove XEmacs-specific setup.
3274 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3275 (ruby-font-lock-syntactic-keywords)
3276 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3277 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3278 (ruby-here-doc-end-syntax): Remove.
3279 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3280 defined as function.
3281
3282 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3283
3284 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3285
3286 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3287
3288 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3289 table and abbrev table, `define-derived-mode' does that for us
3290 anyway.
3291
3292 2013-11-01 Glenn Morris <rgm@gnu.org>
3293
3294 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3295 files is atomic for some time, so no parallel compilation issues).
3296
3297 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3298
3299 * faces.el (face-x-resources): Add :distant-foreground.
3300 (region): Use :distant-foreground for gtk and ns.
3301
3302 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3303
3304 Allow multiple bibliographies when BibLaTeX is used rather than
3305 BibTeX.
3306 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3307 (reftex-locate-bibliography-files): Us it.
3308
3309 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3310
3311 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3312 allow comments in pbm files.
3313
3314 * term/w32-win.el (dynamic-library-alist): Support newer versions
3315 of libjpeg starting with v7: look only for the DLL from the
3316 version against which Emacs was built.
3317 Support versions of libpng beyond 1.4.x.
3318 Support libtiff v4.x.
3319
3320 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3321
3322 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3323 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3324 Add property :safe.
3325 (ruby-deep-arglist): Add property :type.
3326
3327 2013-10-31 Glenn Morris <rgm@gnu.org>
3328
3329 * Makefile.in (custom-deps, finder-data): No need to setq the target
3330 variables, we are in the right directory and the defaults work fine.
3331
3332 2013-10-30 Glenn Morris <rgm@gnu.org>
3333
3334 * Makefile.in (autoloads): Do not use abs_lisp.
3335
3336 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3337 `newline' does not respect `standard-output', so use `princ'.
3338
3339 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3340
3341 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3342 * buff-menu.el (Buffer-menu--unmark): New function.
3343 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3344
3345 2013-10-30 Glenn Morris <rgm@gnu.org>
3346
3347 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3348
3349 * emacs-lisp/package.el (lm-homepage): Declare.
3350
3351 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3352 Fix doc typos.
3353
3354 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3355
3356 * Makefile.in (finder-data, autoloads, update-subdirs)
3357 (compile-main, compile-clean, compile-always, bootstrap-clean):
3358 Check return value of cd.
3359 (compile-calc): Remove.
3360
3361 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3364
3365 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3366 (byte-compile-and-folded): New function.
3367 (=, <, >, <=, >=): Use it.
3368
3369 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3370 (path-separator, null-device, buffer-file-coding-system)
3371 (lpr-headers-switches): Check system-type before modifying them.
3372 (find-buffer-file-type-coding-system): Mark obsolete.
3373 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3374 find-file-not-found-set-buffer-file-coding-system.
3375 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3376 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3377 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3378 (w32-direct-print-region-helper, w32-direct-print-region-function)
3379 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3380 * startup.el (normal-top-level-add-subdirs-to-load-path):
3381 * ps-print.el (ps-print-region-function):
3382 * lpr.el (print-region-function): Use new name.
3383
3384 * subr.el (custom-declare-variable-early): Remove function.
3385 (custom-declare-variable-list): Remove var.
3386 (error, user-error): Remove `while' loop.
3387 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3388 (user-emacs-directory-warning, locate-user-emacs-file):
3389 Move to files.el.
3390 * simple.el (read-quoted-char-radix, read-quoted-char):
3391 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3392 Move from subr.el.
3393 * custom.el (custom-declare-variable-list): Don't process
3394 custom-declare-variable-list.
3395
3396 * progmodes/python.el (python-shell-get-buffer): New function.
3397 (python-shell-get-process): Use it.
3398 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3399 Python which encoding was used. Don't split-string since we only care
3400 about the first line. Return the temp-file, if applicable.
3401 (python-shell-send-region): Tell compile.el how to turn locations in
3402 the temp-file into locations in the source buffer.
3403
3404 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * subr.el (undefined): Add missing behavior from the C code for
3407 unbound keys.
3408
3409 * rect.el: Use lexical-binding. Add new rectangular region support.
3410 (rectangle-mark): New command.
3411 (rectangle--region): New var.
3412 (deactivate-mark-hook): Reset rectangle--region.
3413 (rectangle--extract-region, rectangle--insert-for-yank)
3414 (rectangle--highlight-for-redisplay)
3415 (rectangle--unhighlight-for-redisplay): New functions.
3416 (region-extract-function, redisplay-unhighlight-region-function)
3417 (redisplay-highlight-region-function): Use them to handle
3418 rectangular region.
3419 * simple.el (region-extract-function): New var.
3420 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3421 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3422 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3423 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3424 (redisplay-unhighlight-region-function)
3425 (redisplay-highlight-region-function): New vars.
3426 (redisplay--update-region-highlight): New function.
3427 (pre-redisplay-function): Use it.
3428 (exchange-point-and-mark): Don't deactivate the mark before
3429 reactivate-it anyway.
3430 * comint.el (comint-kill-region): Remove yank-handler argument.
3431 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3432 (delete-char): Remove property, since it's now part of their
3433 default behavior.
3434 (self-insert-iso): Remove property since this command doesn't exist.
3435
3436 * emacs-lisp/package.el (package--download-one-archive)
3437 (describe-package-1): Don't query the user about final newline.
3438
3439 2013-10-29 Daniel Colascione <dancol@dancol.org>
3440
3441 * net/tramp.el (tramp-methods): Document new functionality.
3442 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3443 tramp-hostname-checker if method provides one instead of scanning
3444 argument list for "%h" to decide hostname acceptability.
3445
3446 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3447
3448 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3449 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3450 Handle COPY-CONTENTS. (Bug#15737)
3451
3452 2013-10-28 Daiki Ueno <ueno@gnu.org>
3453
3454 * epa-file.el
3455 (epa-file-cache-passphrase-for-symmetric-encryption):
3456 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3457
3458 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3459
3460 * image.el (defimage):
3461 (image-load-path): Doc fixes.
3462
3463 2013-10-27 Alan Mackenzie <acm@muc.de>
3464
3465 Indent statements in macros following "##" correctly.
3466 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3467 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3468
3469 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3470
3471 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3472
3473 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3474
3475 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3476 after `=' is probably a new expression.
3477
3478 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3479
3480 * man.el (man-imenu-title): New option.
3481 (Man-mode-map): Add menu. (Bug#15722)
3482 (Man-mode): Add imenu to menu.
3483
3484 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3485
3486 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3487 specific in what the first arg can be: a non-keyword word,
3488 string/regexp/percent literal opener, opening paren, or unary
3489 operator followed directly by word.
3490
3491 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3494 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3495 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3496 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3497 Remove vars, they do not apply any more.
3498 (prolog-mode-abbrev-table): Remove redundant declaration.
3499 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3500 (prolog-use-smie): Remove.
3501 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3502 supported by prolog-electric-if-then-else-flag.
3503 (prolog-mode-variables, prolog-menu): Use setq-local.
3504 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3505 Remove binding to `Backspace' since this key doesn't exist anyway.
3506 Remove bindings for electric self-inserting keys.
3507 (prog-mode): Assume it's defined.
3508 (prolog-post-self-insert): New function.
3509 (prolog-mode): Use it.
3510 (prolog-indent-line, prolog-indent-level)
3511 (prolog-find-indent-of-matching-paren)
3512 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3513 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3514 (prolog-goto-next-paren, prolog-in-string-or-comment)
3515 (prolog-tokenize, prolog-inside-mline-comment)
3516 (prolog-find-start-of-mline-comment): Remove functions.
3517 (prolog-find-unmatched-paren, prolog-clause-end)
3518 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3519 (prolog-electric--if-then-else): Rename from
3520 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3521 (prolog-tokenize-searchkey): Remove const.
3522 (prolog-clause-info): Use forward-sexp.
3523 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3524 (prolog-electric-if-then-else): Remove commands.
3525 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3526 for use in post-self-insert-hook.
3527 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3528 for use in post-self-insert-hook.
3529 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3530 for use in post-self-insert-hook.
3531 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3532 adapt it for use in post-self-insert-hook.
3533
3534 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3535
3536 * emacs-lisp/ert.el (ert-run-tests-interactively):
3537 Use `completing-read'. (Bug#9756)
3538
3539 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3540
3541 * simple.el (line-move): Call line-move-1 instead of
3542 line-move-visual when the current window hscroll is zero, but
3543 temporary-goal-column indicates we will need to hscroll as result
3544 of the movement. (Bug#15712)
3545
3546 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3547
3548 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3549 capitalization. Use :visible instead of :active.
3550 Fix `ruby-indent-exp' reference. Add menu items for the generic
3551 commands that are used with SMIE.
3552 (ruby-do-end-to-brace): Insert space after `{'.
3553
3554 2013-10-25 John Anthony <john@jo.hnanthony.com>
3555
3556 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3557
3558 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3559
3560 2013-10-25 Glenn Morris <rgm@gnu.org>
3561
3562 * vc/vc.el (vc-print-log): Don't use a working revision unless
3563 one was explicitly specified. (Bug#15322)
3564
3565 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * subr.el (add-to-list): Preserve return value in compiler-macro
3568 (bug#15692).
3569
3570 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3571
3572 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3573 result. Ask user to retry using '-all' flag. (Bug#15701)
3574
3575 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * emacs-lisp/smie.el: New smie-config system.
3578 (smie-config): New defcustom.
3579 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3580 (smie-config-guess, smie-config-save): New commands.
3581 (smie-config--mode-local, smie-config--buffer-local)
3582 (smie-config--trace, smie-config--modefuns): New vars.
3583 (smie-config--advice, smie-config--mode-hook)
3584 (smie-config--setter, smie-config-local, smie-config--get-trace)
3585 (smie-config--guess-value, smie-config--guess): New functions.
3586 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3587 text properties. Treat "string fence" syntax like string syntax.
3588
3589 * progmodes/sh-script.el (sh-use-smie): Change default.
3590 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3591 (sh-var-value): Simplify by CSE.
3592 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3593 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3594 is used.
3595 (sh-guess-basic-offset): Use cl-incf.
3596 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3597
3598 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3599
3600 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3601 (bug#15699).
3602
3603 2013-10-24 Glenn Morris <rgm@gnu.org>
3604
3605 * Makefile.in (abs_top_srcdir): Remove.
3606 (update-subdirs): Use relative path to update-subdirs.
3607
3608 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3609
3610 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3611 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3612 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3613 Call unmsys--file-name before expand-file-name, not after it.
3614
3615 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3616
3617 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3618 (ert-test-skipped): New error.
3619 (ert-skip, ert-stats-skipped): New defuns.
3620 (ert--skip-unless): New macro.
3621 (ert-test-skipped): New struct.
3622 (ert--run-test-debugger, ert-test-result-type-p)
3623 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3624 (ert--stats-set-test-and-result, ert-char-for-test-result)
3625 (ert-string-for-test-result, ert-run-tests-batch)
3626 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3627 Handle skipped tests. (Bug#9803)
3628
3629 2013-10-24 Glenn Morris <rgm@gnu.org>
3630
3631 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3632
3633 * Makefile.in (abs_top_srcdir): New, set by configure.
3634 (update-subdirs): Correct build-aux location.
3635
3636 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3637
3638 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3639 value, whether we could auto-deduce `backend', or not.
3640
3641 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3642 with parameters" example. Simplify the "is it block or is it
3643 hash" check, but also make it more thorough.
3644
3645 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3646
3647 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3648
3649 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3652 { if it is hanging.
3653
3654 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3655 :before ";".
3656
3657 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3658
3659 * progmodes/compile.el (compilation-directory-matcher)
3660 (compilation-page-delimiter):
3661 Support GNU Make-4.0 directory quoting. (Bug#15678)
3662
3663 2013-10-23 Leo Liu <sdl.web@gmail.com>
3664
3665 * ido.el (ido-tidy): Handle read-only text.
3666
3667 2013-10-23 Glenn Morris <rgm@gnu.org>
3668
3669 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3670 (emacs, compile, compile-always):
3671 Quote entities that might contain whitespace.
3672 (custom-deps, finder-data, autoloads): Use abs_lisp.
3673 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3674 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3675 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3676
3677 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3678
3679 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3680 Use `following-char'.
3681
3682 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3685 * progmodes/ruby-mode.el (ruby-smie-rules):
3686 Remove corresponding workaround. Fix indentation rule of ";" so it
3687 also applies when ";" is the parent.
3688
3689 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3690
3691 * frame.el (display-screens, display-pixel-height)
3692 (display-pixel-width, display-mm-width, display-backing-store)
3693 (display-save-under, display-planes, display-color-cells)
3694 (display-visual-class, display-monitor-attributes-list):
3695 Mention the optional ‘display’ argument in doc strings.
3696
3697 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3698
3699 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3700 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3701
3702 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3703
3704 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3705 TODO. Add "." after " @ ".
3706 (ruby-smie--at-dot-call): New function. Checks if point at method
3707 call with explicit target.
3708 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3709 to the method name tokens when it precedes them.
3710 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3711 (ruby-smie-rules): Add rule for indentation before and after "."
3712 token.
3713
3714 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * textmodes/remember.el (remember-diary-extract-entries):
3717 Avoid add-to-list.
3718
3719 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3720 an instruction.
3721
3722 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3723
3724 * progmodes/ruby-mode.el (ruby-smie-grammar):
3725 Add (almost) all infix operators.
3726 (ruby-smie--implicit-semi-p): Add new operator chars.
3727
3728 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3729 `smie-down-list'.
3730 (ruby-smie--args-separator-p): Check that there's no newline
3731 between method call and its arguments.
3732
3733 2013-10-20 Alan Mackenzie <acm@muc.de>
3734
3735 Allow comma separated lists after Java "implements".
3736
3737 * progmodes/cc-engine.el (c-backward-over-enum-header):
3738 Parse commas.
3739 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3740 from a "disallowed" list in enum fontification.
3741
3742 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3743
3744 * startup.el (default-frame-background-mode): Remove unused defvar.
3745
3746 * progmodes/verilog-mode.el (verilog-mode): Don't set
3747 comment-indent-function globally.
3748
3749 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3750
3751 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3752 Move Info menu item creation to ns-win.el.
3753
3754 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3755 in menu bar.
3756
3757 * menu-bar.el: Move GNUstep specific menus...
3758
3759 * term/ns-win.el (ns-initialize-window-system): ... to here.
3760
3761 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * simple.el (newline): Only run post-self-insert-hook when
3764 called interactively.
3765
3766 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3767
3768 * icomplete.el (icomplete-with-completion-tables): Add :version.
3769
3770 2013-10-19 Alan Mackenzie <acm@muc.de>
3771
3772 Fix fontification bugs with constructors and const.
3773
3774 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3775 CASE 2) Remove the check for the absence of a suffix construct
3776 after a function declaration with only types (no identifiers) in
3777 the parentheses. Also, accept a function declaration with just a
3778 type inside the parentheses, if this type can be positively
3779 recognised as such, or if a prefix keyword like "explicit" nails
3780 down the construct as a declaration.
3781
3782 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3783
3784 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3785 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3786 the problem whereby selecting a menu item that leads to a
3787 minibuffer prompt moves the cursor out of the minibuffer window,
3788 making it hard to type at the prompt. Suggested by Stefan Monnier
3789 <monnier@iro.umontreal.ca>.
3790
3791 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3792
3793 * menu-bar.el: Don't make Services menu.
3794
3795 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3796
3797 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3798 (ffap-alist): Use ffap-c++-mode for c++-mode.
3799 (ffap-c++-path): New variable.
3800 (ffap-c++-mode): New function.
3801
3802 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3803
3804 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3805
3806 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3807
3808 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3809 introduced on 2013-09-08, which results in an infinite loop
3810 requesting a password.
3811
3812 2013-10-18 Glenn Morris <rgm@gnu.org>
3813
3814 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3815
3816 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3817
3818 Sync with upstream verilog-mode revision 1a6ecec7.
3819 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3820 (verilog-mode-release-date): Remove.
3821 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3822 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3823 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3824 (verilog-auto-tieoff-ignore-regexp)
3825 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3826 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3827 (verilog-signals-with, verilog-dir-cache-preserving)
3828 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3829 Doc fixes.
3830 (verilog-case-fold): New option, to control case folding in
3831 regexp searches, bug597.
3832 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3833 (verilog-string-match-fold, verilog-in-paren-count)
3834 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3835 (verilog-at-close-struct-p): New functions.
3836 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3837 (verilog-forward-sexp, verilog-set-auto-endcomments):
3838 (verilog-leap-to-case-head): Handle "unique0" case.
3839 (verilog-in-constraint-re): New constant.
3840 (verilog-keywords, verilog-type-font-keywords):
3841 Add some SystemVerilog 1800-2012 keywords.
3842 (verilog-label-be): Remove unimplemented argument, bug669.
3843 (verilog-batch-execute-func): When batch expanding clear
3844 create-lockfiles to prevent spurious user locks when a file ends
3845 up not changing.
3846 (verilog-calculate-indent, verilog-calc-1)
3847 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3848 (verilog-do-indent): Fix indentation of nested constraints
3849 and structures.
3850 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3851 (verilog-auto-inst-param): Use verilog-string-match-fold.
3852 (verilog-read-inst-module-matcher):
3853 Fix AUTOINST on gate primitives with #1.
3854 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3855 Reads all user-defined typed variables.
3856 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3857 (verilog-signals-matching-regexp)
3858 (verilog-signals-not-matching-regexp, verilog-auto):
3859 Respect verilog-case-fold.
3860 (verilog-diff-report): Fix line count.
3861 (verilog-auto-assign-modport): Remove unused local `modi'.
3862 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3863 better handle multidimensional arrays.
3864 Fix packed array ports misadding bit index in AUTOINST, bug637.
3865 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3866 to not double-declare existing outputs and inputs, respectively.
3867 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3868 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3869 (verilog-sk-uvm-component): New skeleton.
3870 (verilog-submit-bug-report): Add verilog-case-fold,
3871 remove verilog-mode-release-date.
3872
3873 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3874
3875 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3876 as before.
3877
3878 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3879
3880 * textmodes/remember.el (remember): Set buffer-offer-save in
3881 remember buffers (bug#13566).
3882
3883 2013-10-18 Daniel Colascione <dancol@dancol.org>
3884
3885 When evaluating forms in ielm, direct standard output to ielm
3886 buffer. Add new ielm-return-for-effect command. Remove trailing
3887 whitespace throughout.
3888
3889 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3890 (ielm-return-for-effect): New command.
3891 (ielm-send-input): Accept optional `for-effect' parameter.
3892 (ielm-eval-input): Accept optional `for-effect' parameter.
3893 Bind `standard-output' to stream we create using
3894 `ielm-standard-output-impl'. Suppress printing result when
3895 `for-effect'.
3896 (ielm-standard-output-impl): New function.
3897 (inferior-emacs-lisp-mode): Explain new features in documentation.
3898
3899 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3900
3901 Code cleanup.
3902
3903 * net/tramp.el (tramp-debug-message): Do not check for connection
3904 buffer.
3905 (tramp-message): Use "vector" connection property.
3906
3907 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3908 (tramp-equal-remote, tramp-eshell-directory-change)
3909 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3910 (tramp-adb-handle-rename-file)
3911 * net/tramp-cmds.el (tramp-list-remote-buffers)
3912 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3913 * net/tramp-compat.el (tramp-compat-process-running-p)
3914 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3915 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3916 (tramp-gvfs-handle-rename-file)
3917 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3918 (tramp-set-file-uid-gid)
3919 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3920 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3921 of `file-remote-p'.
3922
3923 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3924 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3925 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3926 (tramp-gw-open-network-stream): Suppress unrelated traces.
3927
3928 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3929 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3930 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3931 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3932 connection property.
3933
3934 * net/tramp-cache.el (top): Suppress traces when reading
3935 persistency file.
3936
3937 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3938 Refactor common code. Improve debug message.
3939 (tramp-maybe-open-connection)
3940 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3941 connection buffer too early.
3942
3943 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3944 from `tramp-smb-actions-with-acl'.
3945 (tramp-smb-actions-set-acl): New defconst.
3946 (tramp-smb-handle-copy-directory)
3947 (tramp-smb-action-get-acl): New defun, renamed from
3948 `tramp-smb-action-with-acl'.
3949 (tramp-smb-action-set-acl): New defun.
3950 (tramp-smb-handle-set-file-acl): Rewrite.
3951
3952 2013-10-17 Glenn Morris <rgm@gnu.org>
3953
3954 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3955
3956 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * skeleton.el (skeleton-newline): Remove.
3959 (skeleton-internal-1): Use (insert "\n") instead.
3960
3961 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3962 let-bindings.
3963
3964 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3965 forward-sexp-function while we redo its job (bug#15613).
3966
3967 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3968
3969 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3970 represented by lists.
3971
3972 2013-10-16 Glenn Morris <rgm@gnu.org>
3973
3974 * tmm.el (tmm--history): New dynamic variable.
3975 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3976
3977 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3980 (tramp-smb-errors): Add error messages.
3981 (tramp-smb-actions-with-acl): New defconst.
3982 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3983 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3984 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3985 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3986 (tramp-smb-get-stat-capability): Fix tests.
3987
3988 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3989
3990 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3991 (bug#15580).
3992
3993 2013-10-16 Glenn Morris <rgm@gnu.org>
3994
3995 * ansi-color.el (ansi-color-drop-regexp):
3996 Add 1J, 1K, 2K. (Bug#15617)
3997
3998 * files.el (hack-local-variables--warned-lexical): New.
3999 (hack-local-variables):
4000 Warn about misplaced lexical-binding. (Bug#15616)
4001
4002 * net/eww.el (eww-render): Always set eww-current-url,
4003 and update header line. (Bug#15622)
4004 (eww-display-html): ... Rather than just doing it here.
4005
4006 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4007
4008 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4009 menu navigations commands.
4010
4011 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4012
4013 * progmodes/subword.el (subword-capitalize): Be careful when
4014 the search for [[:alpha:]] fails (bug#15580).
4015
4016 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4017
4018 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4019 to commands that scroll the menu.
4020
4021 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4022
4023 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4024 Handle methods ending with `?' and `!'.
4025
4026 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4027
4028 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4029 `japanese-cp932' to `cp932' to fix the problem where saving a
4030 source file written in Shift_JIS twice would end up having
4031 `coding: japanese-cp932' which Ruby could not recognize.
4032 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4033 in `ruby-encoding-map'.
4034 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4035 doesn't need to be explicitly declared in magic comment.
4036 (ruby-encoding-map): Add type declaration for better customize UI.
4037
4038 2013-10-13 Glenn Morris <rgm@gnu.org>
4039
4040 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4041 Occur buffers are read-only. http://bugs.debian.org/720775
4042
4043 * emacs-lisp/authors.el (authors-fixed-entries):
4044 Comment out old alpha stuff.
4045
4046 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4047
4048 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4049 to `after-save-hook' instead of `before-save-hook'.
4050 (ruby-mode-set-encoding): Use the value of coding system used to
4051 write the file. Call `basic-save-buffer-1' after modifying the
4052 buffer.
4053
4054 2013-10-13 Alan Mackenzie <acm@muc.de>
4055
4056 Fix indentation/fontification of Java enum with
4057 "implements"/generic.
4058
4059 * progmodes/cc-engine.el (c-backward-over-enum-header):
4060 Extracted from the three other places and enhanced to handle generics.
4061 (c-inside-bracelist-p): Uses new function above.
4062 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4063 function above.
4064 (c-font-lock-enum-tail): Uses new function above.
4065
4066 2013-10-13 Kenichi Handa <handa@gnu.org>
4067
4068 * international/mule-cmds.el (select-safe-coding-system): Remove a
4069 superfluous condition in chekcing whether a coding system is safe
4070 or not.
4071
4072 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4073
4074 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4075
4076 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4077
4078 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4079
4080 2013-10-13 Glenn Morris <rgm@gnu.org>
4081
4082 * menu-bar.el (menu-bar-update-buffers):
4083 Unify Buffers menu prompt string. (Bug#15576)
4084
4085 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4086
4087 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4088 Add some entries.
4089 (authors-fixed-entries): Use accented form of name.
4090
4091 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4094 method calls (bug#15594).
4095 (ruby-smie--args-separator-p): New function.
4096 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4097 recognize paren-free method calls.
4098
4099 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4100 internals of universal-argument.
4101
4102 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4103
4104 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4105 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4106 dropped menu on second mouse click on the menu bar.
4107
4108 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4111 (explicit-shell-file-name): Declare.
4112 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4113 (sh-completion-at-point-function): New function.
4114 (sh-mode): Use it.
4115 (sh-smie--keyword-p): Remove unused argument.
4116 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4117 vars.
4118 (sh-set-shell): Always setup SMIE, even if we use the
4119 old indentation code.
4120
4121 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4122
4123 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4124 cases of ? and =.
4125 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4126 predicate would return nil are almost non-existent.
4127 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4128
4129 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4130 cache also after commands that modify the buffer but don't move
4131 point.
4132
4133 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * env.el (substitute-env-in-file-name): New function.
4136 (substitute-env-vars): Extend the meaning of the optional arg.
4137
4138 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4139
4140 * term/w32-win.el (dynamic-library-alist): Define separate lists
4141 of GIF DLLs for versions before and after 5.0.0 of giflib.
4142 (Bug#15531)
4143
4144 2013-10-10 João Távora <joaotavora@gmail.com>
4145
4146 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4147 not locked, use last revision and current source as
4148 defaults. (Bug#15569)
4149
4150 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4151
4152 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4153 menu-bar is hidden.
4154
4155 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4156
4157 * window.el (pop-to-buffer-same-window): Fix doc-string.
4158 (Bug#15492)
4159
4160 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4163
4164 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4165
4166 * calendar/icalendar.el (icalendar-import-file):
4167 Fix interactive spec. (Bug#15482)
4168
4169 2013-10-10 Glenn Morris <rgm@gnu.org>
4170
4171 * desktop.el (desktop-save): Default to saving in .emacs.d,
4172 since PWD is no longer in desktop-path by default. (Bug#15319)
4173
4174 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4175 now that text mode has a menu with the same entry.
4176 (menu-bar-text-mode-auto-fill): Remove now unused func.
4177 * textmodes/text-mode.el (text-mode-map):
4178 Use auto-fill help text from menu-bar.el.
4179
4180 2013-10-10 John Anthony <john@jo.hnanthony.com>
4181
4182 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4183
4184 2013-10-09 Juri Linkov <juri@jurta.org>
4185
4186 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4187 instead of this-command-keys. Add universal-argument-more and
4188 universal-argument-minus to the list of prefix commands. (Bug#15568)
4189
4190 2013-10-09 Glenn Morris <rgm@gnu.org>
4191
4192 * vc/vc-svn.el (vc-svn-create-repo):
4193 Expand paths in file://... url. (Bug#15446)
4194
4195 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4196 Add some entries.
4197 (authors): Remove unused local variables.
4198
4199 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * profiler.el: Create a more coherent calltree from partial backtraces.
4202 (profiler-format): Hide the tail with `invisible' so that C-s can still
4203 find the hidden elements.
4204 (profiler-calltree-depth): Don't recurse so enthusiastically.
4205 (profiler-function-equal): New hash-table-test.
4206 (profiler-calltree-build-unified): New function.
4207 (profiler-calltree-build): Use it.
4208 (profiler-report-make-name-part): Indent the calltree less.
4209 (profiler-report-mode): Add visibility specs for profiler-format.
4210 (profiler-report-expand-entry, profiler-report-toggle-entry):
4211 Expand the whole subtree when provided with a prefix arg.
4212
4213 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4214
4215 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4216 iuwu-mod token.
4217 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4218 hanging iuwu-mod token.
4219 (ruby-smie--forward-token): Do not include a dot after a token in
4220 that token.
4221 (ruby-smie--backward-token): Likewise.
4222
4223 2013-10-08 Juri Linkov <juri@jurta.org>
4224
4225 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4226 to isearch-other-control-char.
4227 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4228 and isearch-post-command-hook to post-command-hook.
4229 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4230 and isearch-post-command-hook from post-command-hook.
4231 (isearch-unread-key-sequence)
4232 (isearch-reread-key-sequence-naturally)
4233 (isearch-lookup-scroll-key, isearch-other-control-char)
4234 (isearch-other-meta-char): Remove functions.
4235 (isearch-pre-command-hook, isearch-post-command-hook):
4236 New functions based on isearch-other-meta-char rewritten
4237 relying on the new behavior of overriding-terminal-local-map
4238 that does not replace the local keymaps any more. (Bug#15200)
4239
4240 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4241
4242 Support menus on text-mode terminals.
4243 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4244 functionality.
4245
4246 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4247
4248 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4249 Move here from mouse.el.
4250 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4251 and arrow keys.
4252 (tty-menu-navigation-map): New map for TTY menu navigation.
4253
4254 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4255
4256 * frame.el (display-mouse-p): Report text-mode mouse as available
4257 on w32.
4258 (display-popup-menus-p): Report availability if mouse is
4259 available; don't condition on window-system.
4260
4261 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4262 (tty-menu-selected-face): New faces.
4263
4264 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4265
4266 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4267 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4268 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4269 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4270 New constants.
4271 (lisp-mode-variables): New `elisp' argument.
4272 (emacs-lisp-mode): Use it.
4273 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4274 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4275
4276 * indent.el: Use lexical-binding.
4277 (indent-region): Add progress reporter.
4278 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4279 last step.
4280 (indent--next-tab-stop): New function to implement this behavior.
4281 (tab-to-tab-stop, move-to-tab-stop): Use it.
4282
4283 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4284
4285 * indent.el (indent-rigidly--current-indentation): New function.
4286 (indent-rigidly-map): New var.
4287 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4288
4289 2013-10-08 Bastien Guerry <bzg@gnu.org>
4290
4291 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4292
4293 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4294
4295 * progmodes/perl-mode.el: Use lexical-binding.
4296 Remove redundant :group args.
4297 (perl-nochange): Change default to be closer to other major modes's
4298 standard behavior.
4299 (perl-indent-line): Don't consider text on current line as a
4300 valid beginning of function from which to indent.
4301
4302 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4303 with more than one argument (bug#15538).
4304
4305 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4306
4307 * vc/pcvs.el: Use lexical-binding.
4308 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4309 environment of `eval'.
4310 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4311 than a list of expressions. Adjust callers.
4312 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4313
4314 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4315
4316 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4317 case of the dot in a chained method call being on the following line.
4318
4319 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * electric.el (electric-indent-inhibit): New var.
4322 (electric-indent-post-self-insert-function): Use it.
4323 * progmodes/python.el (python-mode): Set it.
4324
4325 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4326 open braces.
4327
4328 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4329
4330 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4331 (css-mode): Use electric-indent-chars.
4332
4333 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4334 (font-lock-beg, font-lock-end): Move before first use.
4335 (nxml-mode): Use syntax-propertize-function.
4336 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4337 (nxml-extend-after-change-region): Remove.
4338 * nxml/xmltok.el: Use lexical-binding.
4339 (xmltok-save): Use `declare'.
4340 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4341 * nxml/nxml-util.el: Use lexical-binding.
4342 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4343 Use `declare'.
4344 * nxml/nxml-ns.el: Use lexical-binding.
4345 (nxml-ns-save): Use `declare'.
4346 (nxml-ns-prefixes-for): Avoid add-to-list.
4347 * nxml/rng-match.el: Use lexical-binding.
4348 (rng--ipattern): Use cl-defstruct.
4349 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4350 (rng-cons-group-after, rng-subst-group-after)
4351 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4352 Use closures instead of `(lambda...).
4353
4354 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4355
4356 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4357 of BEG and END.
4358
4359 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4360 Use `tramp-handle-insert-file-contents'.
4361 (tramp-gvfs-handle-insert-file-contents): Remove function.
4362
4363 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4364 Use `save-restriction' in order to keep markers.
4365
4366 * net/trampver.el: Update release number.
4367
4368 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4369
4370 * progmodes/compile.el (compilation-parse-errors):
4371 Use compilation--put-prop.
4372 (compilation--ensure-parse): Check compilation-multiline.
4373
4374 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4375
4376 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4377 lexical-binding.
4378
4379 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4380
4381 * progmodes/ruby-mode.el: Fix recently added tests.
4382 (ruby-smie-grammar): Add - and +.
4383 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4384 (ruby-smie--backward-id): New functions.
4385 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4386 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4387 any more.
4388
4389 2013-10-07 Leo Liu <sdl.web@gmail.com>
4390
4391 * register.el (register-preview-delay)
4392 (register-preview-functions): New variables.
4393 (register-read-with-preview, register-preview)
4394 (register-describe-oneline): New functions.
4395 (point-to-register, window-configuration-to-register)
4396 (frame-configuration-to-register, jump-to-register)
4397 (number-to-register, view-register, insert-register)
4398 (copy-to-register, append-to-register, prepend-to-register)
4399 (copy-rectangle-to-register): Use register-read-with-preview to
4400 read register. (Bug#15525)
4401
4402 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4403
4404 * net/network-stream.el (network-stream-open-starttls): Don't add
4405 --insecure if it's already present, because that gnutls-cli
4406 rejects getting that parameter twice.
4407
4408 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4409
4410 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4411 keyword, too.
4412
4413 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4414
4415 * newcomment.el (comment-use-global-state): Change default value
4416 to t, mark obsolete (Bug#15251).
4417 (comment-beginning): In addition to `comment-to-syntax', check the
4418 value of `comment-use-global-state'.
4419
4420 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4423 (ruby-comment-column): Follow the global default, by default.
4424 (ruby-smie-grammar): Add assignment syntax.
4425 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4426 open-paren, a comma, or a \.
4427 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4428 and line continuations.
4429 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4430 followed by implicit semi-colons. Add rule for string concatenation
4431 and for indentation at BOB.
4432 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4433
4434 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4435 calling next-sexp, since next-token may have skipped chars which
4436 next-sexp doesn't know should be skipped!
4437
4438 2013-10-05 Leo Liu <sdl.web@gmail.com>
4439
4440 * progmodes/octave.el (octave-send-region):
4441 Call compilation-forget-errors.
4442
4443 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4444
4445 * vc/vc-svn.el (vc-svn-find-admin-dir):
4446 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4447 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4448 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4449 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4450
4451 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4454
4455 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * subr.el (read-passwd): Hide chars even when called within a context
4458 where after-change-functions is disabled (bug#15501).
4459 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4460 until we removed ourself from overriding-terminal-local-map.
4461
4462 2013-10-04 Leo Liu <sdl.web@gmail.com>
4463
4464 * progmodes/octave.el (inferior-octave-mode):
4465 Call compilation-forget-errors.
4466
4467 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4468
4469 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4470
4471 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4472
4473 * net/secrets.el (secrets-create-collection): Add optional
4474 argument ALIAS. Use proper Label keyword. Append ALIAS as
4475 dbus-call-method argument. (Bug#15516)
4476
4477 2013-10-04 Leo Liu <sdl.web@gmail.com>
4478
4479 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4480 (inferior-octave-compilation-font-lock-keywords): New variables.
4481 (compilation-error-regexp-alist)
4482 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4483 (inferior-octave-mode): Use compilation-shell-minor-mode.
4484
4485 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4486
4487 * minibuffer.el (completion--replace): Be careful that `end' might be
4488 a marker.
4489
4490 2013-10-03 Daiki Ueno <ueno@gnu.org>
4491
4492 Add support for package signature checking.
4493 * emacs-lisp/package.el (url-http-file-exists-p)
4494 (epg-make-context, epg-context-set-home-directory)
4495 (epg-verify-string, epg-context-result-for)
4496 (epg-signature-status, epg-signature-to-string)
4497 (epg-check-configuration, epg-configuration)
4498 (epg-import-keys-from-file): Declare.
4499 (package-check-signature): New user option.
4500 (package-unsigned-archives): New user option.
4501 (package-desc): Add `signed' field.
4502 (package-load-descriptor): Set `signed' field if .signed file exists.
4503 (package--archive-file-exists-p): New function.
4504 (package--check-signature): New function.
4505 (package-install-from-archive): Check package signature.
4506 (package--download-one-archive): Check archive signature.
4507 (package-delete): Remove .signed file.
4508 (package-import-keyring): New command.
4509 (package-refresh-contents): Import default keyring.
4510 (package-desc-status): Add "unsigned" status.
4511 (describe-package-1, package-menu--print-info)
4512 (package-menu-mark-delete, package-menu--find-upgrades)
4513 (package-menu--status-predicate): Support "unsigned" status.
4514
4515 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4518 the new compilation scheme using the new byte-codes.
4519
4520 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4521 (byte-pophandler): New byte codes.
4522 (byte-goto-ops): Adjust accordingly.
4523 (byte-compile--use-old-handlers): New var.
4524 (byte-compile-catch): Use new byte codes depending on
4525 byte-compile--use-old-handlers.
4526 (byte-compile-condition-case--old): Rename from
4527 byte-compile-condition-case.
4528 (byte-compile-condition-case--new): New function.
4529 (byte-compile-condition-case): New function that dispatches depending
4530 on byte-compile--use-old-handlers.
4531 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4532 when we can.
4533
4534 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4535 Optimize under `condition-case' and `catch' if
4536 byte-compile--use-old-handlers is nil.
4537 (disassemble-offset): Handle new bytecodes.
4538
4539 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * subr.el (error): Use `declare'.
4542 (decode-char, encode-char): Use advertised-calling-convention instead
4543 of the docstring to discourage use of the `restriction' arg.
4544
4545 2013-10-03 Daiki Ueno <ueno@gnu.org>
4546
4547 * epg.el (epg-verify-file): Add a comment saying that it does not
4548 notify verification error as a return value nor a signal.
4549 (epg-verify-string): Ditto.
4550
4551 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4552
4553 * progmodes/compile.el (compilation-start): Try globbing the arg to
4554 `cd' (bug#15417).
4555
4556 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4557
4558 Sync with Tramp 2.2.8.
4559
4560 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4561 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4562 * net/trampver.el: Update release number.
4563
4564 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4565
4566 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4567 and default-process-coding-system for darwin only.
4568
4569 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4572
4573 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4574
4575 * vc/vc-git.el (vc-git-grep): Disable pager.
4576
4577 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4578
4579 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4580 Use :url instead of :homepage, as per
4581 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4582
4583 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4584 non-nil, use `syntax-ppss' (Bug#15251).
4585
4586 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4587
4588 * progmodes/octave.el (inferior-octave-startup-file):
4589 Prefer ~/.emacs.d/init_octave.m.
4590
4591 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4592
4593 * emacs-lisp/package.el (package-desc-from-define):
4594 Accept additional arguments as plist, convert them to an alist and store
4595 them in the `extras' slot.
4596 (package-generate-description-file): Convert extras alist back to
4597 plist and append to the `define-package' form arguments.
4598 (package--alist-to-plist): New function.
4599 (package--ac-desc): Add `extras' slot.
4600 (package--add-to-archive-contents): Check if the archive-contents
4601 vector is long enough, and if it is, pass its `extras' slot value
4602 to `package-desc-create'.
4603 (package-buffer-info): Call `lm-homepage', pass the returned value
4604 to `package-desc-from-define'.
4605 (describe-package-1): Render the homepage button (Bug#13291).
4606
4607 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4608 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4609
4610 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4611
4612 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4613 and default-process-coding-system to utf-8-unix (Bug#15402).
4614
4615 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4616
4617 * subr.el (looking-back): Do not recommend using looking-back.
4618
4619 2013-09-28 Alan Mackenzie <acm@muc.de>
4620
4621 Fix indentation/fontification of Java enum with "implements".
4622
4623 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4624 regexp which matches "implements", etc., in Java.
4625 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4626 specifier clauses coming after "enum".
4627 * progmodes/cc-fonts.el (c-font-lock-declarations)
4628 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4629 after "enum".
4630
4631 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4632
4633 * faces.el (region): Change ns_selection_color to
4634 ns_selection_fg_color, add ns_selection_bg_color.
4635
4636 2013-09-28 Leo Liu <sdl.web@gmail.com>
4637
4638 * progmodes/octave.el (inferior-octave-completion-table)
4639 (inferior-octave-completion-at-point): Minor tweaks.
4640
4641 * textmodes/ispell.el (ispell-lookup-words): Rename from
4642 lookup-words. (Bug#15460)
4643 (lookup-words): Obsolete.
4644 (ispell-complete-word, ispell-command-loop): All uses changed.
4645
4646 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4647
4648 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4649 (octave-mode-menu): Add octave-send-buffer.
4650 (octave-send-buffer): New function.
4651
4652 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4653
4654 * progmodes/octave.el (octave-mode-map): Add key binding for
4655 octave-lookfor.
4656 (octave-mode-menu): Add octave-lookfor.
4657 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4658 octave-lookfor.
4659 (octave-lookfor): New function.
4660
4661 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * emacs-lisp/cl-macs.el:
4664 (cl--loop-destr-temps): Remove.
4665 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4666 its convention.
4667 (cl--loop-set-iterator-function): New function.
4668 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4669 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4670 Bind `it' with `let' instead of substituting it with `cl-subst'.
4671 (cl--unused-var-p): New function.
4672 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4673 Eliminate some unused variable warnings (bug#15326).
4674
4675 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4676
4677 * doc-view.el (doc-view-scale-reset): Rename from
4678 `doc-view-reset-zoom-level'.
4679 (doc-view-scale-adjust): New command.
4680 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4681 `doc-view-scale-adjust'.
4682
4683 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4684
4685 * doc-view.el (doc-view-reset-zoom-level): New command.
4686 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4687 zoom commands (bug#15466).
4688
4689 2013-09-26 Kenichi Handa <handa@gnu.org>
4690
4691 * international/quail.el (quail-help): Make it not a command.
4692
4693 2013-09-26 Leo Liu <sdl.web@gmail.com>
4694
4695 * minibuffer.el (completion-all-sorted-completions): Make args
4696 optional as they are.
4697
4698 2013-09-25 Daniel Colascione <dancol@dancol.org>
4699
4700 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4701 specs are and that they're not evaluated.
4702
4703 2013-09-24 Sam Steingold <sds@gnu.org>
4704
4705 * midnight.el (clean-buffer-list-kill-regexps)
4706 (clean-buffer-list-kill-buffer-names): Update for the new Man
4707 buffer naming which includes the object name.
4708
4709 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4712 (eshell-parse-command, eshell-parse-pipeline): Use it since
4713 eshell-separate-commands requires a dynamic scoped var.
4714 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4715
4716 2013-09-23 Leo Liu <sdl.web@gmail.com>
4717
4718 * autoinsert.el (auto-insert-alist): Make the value of
4719 lexical-binding match its file setting.
4720
4721 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4722
4723 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4724
4725 * autoarg.el (autoarg-kp-digit-argument):
4726 * electric.el (Electric-command-loop):
4727 * kmacro.el (kmacro-step-edit-insert):
4728 Do not set universal-argument-num-events.
4729
4730 2013-09-22 Leo Liu <sdl.web@gmail.com>
4731
4732 * files.el (interpreter-mode-alist): Add octave.
4733
4734 2013-09-21 Alan Mackenzie <acm@muc.de>
4735
4736 C++: fontify identifier in declaration following "public:" correctly.
4737 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4738 to match "public", etc.
4739 (c-decl-prefix-re): Add ":" into the C++ value.
4740 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4741 bit. Add a check for a ":" preceded by "public", etc.
4742
4743 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4744
4745 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4746 recognized by GDB 7.5 and later.
4747
4748 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4749
4750 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4751
4752 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * subr.el (internal--call-interactively): New const.
4755 (called-interactively-p): Use it (bug#3984).
4756
4757 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4758
4759 * vc/pcvs.el (cvs-mode-ignore):
4760 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4761 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4762
4763 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4764
4765 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4766 (eshell-ls-orig-insert-directory): Remove.
4767 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4768 (eshell-ls-use-in-dired): Use advice-add/remove.
4769 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4770 Add `orig-fun' arg for use in :around advice.
4771 Make it check (redundantly) eshell-ls-use-in-dired.
4772
4773 2013-09-19 Glenn Morris <rgm@gnu.org>
4774
4775 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4776
4777 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4778
4779 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4780
4781 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4782
4783 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4784 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4785 (tramp-get-remote-python): New defuns.
4786 (tramp-get-remote-uid-with-perl)
4787 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4788 contributed by yary <not.com@gmail.com> (tiny change).
4789 (tramp-get-remote-uid-with-python)
4790 (tramp-get-remote-gid-with-python): New defuns. Python code
4791 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4792 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4793
4794 2013-09-19 Glenn Morris <rgm@gnu.org>
4795
4796 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4797
4798 * eshell/em-unix.el (eshell-remove-entries):
4799 Rename argument to avoid name-clash with global `top-level'.
4800
4801 * eshell/esh-proc.el (eshell-kill-process-function):
4802 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4803 (eshell-reset-after-proc): Remove unused arg `proc'.
4804
4805 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4806 (directory-files-and-attributes): Mark unused arg.
4807
4808 * eshell/em-unix.el (eshell-remove-entries):
4809 Remove unused arg `path'. Update callers.
4810
4811 * eshell/em-hist.el (eshell-hist-parse-arguments):
4812 Remove unused arg `silent'. Update callers.
4813
4814 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4815 Fix (f)boundp mix-up.
4816
4817 * eshell/em-smart.el (eshell-smart-scroll-window)
4818 (eshell-disable-after-change):
4819 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4820
4821 2013-09-18 Alan Mackenzie <acm@muc.de>
4822
4823 Fix fontification of type when followed by "const".
4824 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4825 "known" types from fontification.
4826
4827 2013-09-18 Glenn Morris <rgm@gnu.org>
4828
4829 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4830 (chart-face-list): Drop Emacsen without display-color-p.
4831
4832 * net/eww.el (libxml-parse-html-region): Declare.
4833 (eww-display-html): Explicit error if no libxml2 support.
4834
4835 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4836
4837 * image.el (image-type-from-buffer, image-multi-frame-p):
4838 Remove --without-x warning/error.
4839
4840 * mouse.el (mouse-yank-primary):
4841 * term.el (term-mouse-paste):
4842 Reorder to silence --without-x compilation.
4843
4844 * mpc.el (doc-view-mode): Silence --without-x compilation.
4845
4846 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4847 Silence --without-x compilation.
4848
4849 * progmodes/gud.el (gud-find-file, gud-mode):
4850 Silence --without-x compilation.
4851 (tooltip-mode): Declare.
4852
4853 * wdired.el (dired-backup-overwrite): Remove declaration.
4854 (wdired-mode-map): Add doc string.
4855
4856 * custom.el (x-get-resource): Declare.
4857
4858 * eshell/em-glob.el (ange-cache):
4859 * eshell/em-unix.el (ange-cache): Declare.
4860
4861 * faces.el (x-display-list, x-open-connection, x-get-resource):
4862 Declare.
4863
4864 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4865 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4866 Declare.
4867
4868 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4869
4870 * net/gnutls.el (gnutls-log-level): Declare.
4871
4872 * net/shr.el (image-size, image-animate): Declare.
4873
4874 * simple.el (font-info): Declare.
4875
4876 * subr.el (x-popup-dialog): Declare.
4877
4878 * term/common-win.el (x-select-enable-primary)
4879 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4880 Declare.
4881
4882 * term/ns-win.el (x-handle-args): Declare.
4883
4884 * term/x-win.el (x-select-enable-clipboard): Declare.
4885
4886 * term/w32-win.el (create-default-fontset): Declare.
4887
4888 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4889 Declare.
4890
4891 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4892 (fit-frame-to-buffer): Explicit error if --without-x.
4893 (mouse-autoselect-window-select): Silence compiler.
4894
4895 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4896
4897 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4898 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4899 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4900 * eshell/esh-util.el (eshell-sublist):
4901 Remove unused local variables.
4902
4903 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4904
4905 * textmodes/two-column.el: Make 2C-split work for --without-x.
4906 (scroll-bar-columns): Autoload.
4907 (top-level): Require fringe when compiling.
4908
4909 2013-09-18 Leo Liu <sdl.web@gmail.com>
4910
4911 * subr.el (add-hook): Robustify to handle closure as well.
4912
4913 2013-09-17 Glenn Morris <rgm@gnu.org>
4914
4915 * simple.el (messages-buffer-mode-map): Unbind "g".
4916
4917 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4918
4919 * help-mode.el (help-mode-finish): Use derived-mode-p.
4920 Remove obsolete highlighting.
4921
4922 * play/life.el (life-mode): Use define-derived-mode. Derive from
4923 special-mode.
4924 (life): Let-bind inhibit-read-only.
4925 (life-setup): Avoid `setq'. Use `life-mode'.
4926
4927 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4928 which should not be needed any more.
4929 (package-menu-refresh, package-menu-describe-package): Use user-error.
4930
4931 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4932 (eshell-post-rewrite-command-hook): Make obsolete.
4933 (eshell-parse-command): Simplify.
4934 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4935 (eshell--cmd): Declare.
4936 (eshell-parse-pipeline): Remove unused var `final-p'.
4937 Pass a dynvar to eshell-post-rewrite-command-hook.
4938 Implement the new eshell-post-rewrite-command-function.
4939 (eshell-invoke-directly): Remove unused arg `input'.
4940 * eshell/esh-io.el (eshell-io-initialize):
4941 Use eshell-post-rewrite-command-function (bug#15399).
4942 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4943 adjust to new calling convention.
4944 (eshell-create-handles): Rename args to avoid clashing with dynvar
4945 `standard-output'.
4946
4947 2013-09-17 Glenn Morris <rgm@gnu.org>
4948
4949 * simple.el (messages-buffer-mode): New major mode.
4950 (messages-buffer): New function.
4951 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4952 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4953 (ert-run-test): Use `messages-buffer' function.
4954 (ert--force-message-log-buffer-truncation): Ignore read-only.
4955 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4956 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4957
4958 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4961
4962 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4963
4964 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * icomplete.el (icomplete-in-buffer): New var.
4967 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4968 vars and replace them with functions.
4969 (icomplete-minibuffer-setup): Adjust accordingly.
4970 (icomplete--completion-table, icomplete--completion-predicate)
4971 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4972 New functions.
4973 (icomplete-forward-completions, icomplete-backward-completions)
4974 (icomplete-simple-completing-p, icomplete-exhibit)
4975 (icomplete-completions): Use them.
4976 (icomplete--in-region-buffer): New var.
4977 (icomplete--in-region-setup): New function.
4978 (icomplete-mode): Use it.
4979
4980 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4981 (bug#15379).
4982 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4983 return args and options.
4984 (eshell-eval-using-options): Use the new return value of
4985 eshell--do-opts to set the options's vars in their scope.
4986 (eshell--set-option): Rename from eshell-set-option.
4987 Add arg `opt-vals'.
4988 (eshell--process-option): Rename from eshell-process-option.
4989 Add arg `opt-vals'.
4990 (eshell--process-args): Use an `opt-vals' alist to store the options's
4991 values during their processing and return them additionally to the
4992 remaining args.
4993
4994 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4995
4996 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4997 continuation character an operator, as far as indentation is
4998 concerned (Bug#15369).
4999
5000 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5001
5002 * window.el (window--state-put-2): Don't process buffer state
5003 when buffer doesn't exist any more (Bug#15382).
5004
5005 2013-09-15 Glenn Morris <rgm@gnu.org>
5006
5007 * eshell/em-unix.el (eshell/rm):
5008 Make -f ignore missing files. (Bug#15373)
5009
5010 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5011 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5012 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5013
5014 2013-09-14 Glenn Morris <rgm@gnu.org>
5015
5016 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5017
5018 2013-09-13 Glenn Morris <rgm@gnu.org>
5019
5020 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5021 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5022
5023 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5024
5025 * frame.el (x-focus-frame): Mark as declared in frame.c.
5026
5027 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * ls-lisp.el: Use advice-add.
5030 (original-insert-directory): Remove.
5031 (ls-lisp--insert-directory): Rename from insert-directory; add
5032 `orig-fun' argument.
5033 (insert-directory): Advise.
5034
5035 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5036
5037 * term.el (term-emulate-terminal): Decode the command string
5038 before passing it to term-command-hook. (Bug#15337)
5039
5040 2013-09-13 Glenn Morris <rgm@gnu.org>
5041
5042 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5043
5044 * eshell/esh-ext.el (eshell-search-path): Declare.
5045
5046 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5047 Otherwise an error occurs if eshell-dirs module not loaded.
5048
5049 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5050
5051 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5052
5053 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5054 `tramp-check-proper-host'. Check for a valid method name.
5055
5056 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5057 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5058 * net/tramp-sh.el (tramp-maybe-open-connection):
5059 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5060
5061 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5062 also for hash values.
5063
5064 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * term/ns-win.el (parameters): Don't declare as dynamic.
5067 (before-make-frame-hook): Don't add ineffective function.
5068
5069 * eshell/*.el: Use lexical-binding (bug#15231).
5070
5071 2013-09-12 Kenichi Handa <handa@gnu.org>
5072
5073 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5074
5075 2013-09-12 Glenn Morris <rgm@gnu.org>
5076
5077 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5078 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5079
5080 * subr.el (do-after-load-evaluation): Also give compiler warnings
5081 when obsolete files are used (except by obsolete files).
5082
5083 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5084 in the status output, assume `filename' is the first. (Bug#15322)
5085
5086 * vc/vc.el (vc-deduce-fileset): Doc fix.
5087
5088 * calc/calc-help.el (Info-goto-node):
5089 * progmodes/cperl-mode.el (Info-find-node):
5090 * vc/ediff.el (Info-goto-node): Update declarations.
5091
5092 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5093
5094 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5095 (vc-bzr-pull): Require vc-dispatcher.
5096 * vc/vc-git.el (vc-compilation-mode): Declare.
5097 (vc-git-pull): Require vc-dispatcher.
5098
5099 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5100
5101 * progmodes/octave.el (help-button-action): Declare.
5102
5103 * shell.el (shell-directory-tracker): Output error as a message
5104 rather than just returning it as a string.
5105 (shell-process-pushd): Remove useless use of message.
5106
5107 * dframe.el (dframe-timer-fn):
5108 * files.el (dir-locals-read-from-file):
5109 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5110 (mpc-format):
5111 * reveal.el (reveal-post-command):
5112 * saveplace.el (load-save-place-alist-from-file):
5113 * shell.el (shell-resync-dirs):
5114 * w32-common-fns.el (x-get-selection-value):
5115 * emacs-lisp/copyright.el (copyright-find-copyright):
5116 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5117 * emulation/tpu-edt.el (tpu-copy-keyfile):
5118 * play/bubbles.el (bubbles--mark-neighbourhood):
5119 * progmodes/executable.el
5120 (executable-make-buffer-file-executable-if-script-p):
5121 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5122
5123 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5124
5125 Cleanup Eshell to rely less on dynamic scoping.
5126 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5127 last-value, and ext-command here. Bind `args' closer to `body'.
5128 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5129 (eshell--args): Declare new dynamic var.
5130 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5131 last-value, and ext-command. Pass `args' to `body'.
5132 (eshell-process-args): Bind eshell--args.
5133 (eshell-set-option): Use eshell--args.
5134 * eshell/eshell.el (eshell): Use derived-mode-p.
5135 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5136 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5137 (eshell-glob-function): Declare.
5138 * eshell/esh-util.el: Require cl-lib.
5139 (eshell-read-hosts-file): Avoid add-to-list.
5140 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5141 `err'.
5142 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5143 Declare.
5144 (eshell/diff): Remove unused var `err'.
5145 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5146 `killflag'.
5147 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5148 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5149 first use.
5150 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5151 Move declaration before first use.
5152 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5153 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5154 rely on cl-return.
5155
5156 2013-09-12 Glenn Morris <rgm@gnu.org>
5157
5158 * term/ns-win.el (global-map): Remove binding for ispell-next,
5159 deleted 1999-05-29. (Bug#15357)
5160
5161 2013-09-11 Glenn Morris <rgm@gnu.org>
5162
5163 * echistory.el (electric-command-history): Remove call to deleted func.
5164
5165 * play/landmark.el (landmark-mode): Fix typos.
5166
5167 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5168 Check cvs-sort-ignore-file is bound.
5169
5170 * savehist.el: No need for cl when compiling on Emacs.
5171
5172 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5175 (bug#15338).
5176 (eshell-self-insert-command, eshell-send-invisible):
5177 Remove unused argument.
5178 (eshell-handle-control-codes): Remove unused var `orig'.
5179 Avoid delete-backward-char.
5180
5181 * files.el (set-auto-mode): Simplify a bit further.
5182
5183 2013-09-11 Glenn Morris <rgm@gnu.org>
5184
5185 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5186 (set-auto-mode): Don't regexp-quote elements.
5187 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5188 * progmodes/cc-mode.el (interpreter-mode-alist):
5189 * progmodes/ruby-mode.el (interpreter-mode-alist):
5190 Revert previous change.
5191
5192 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * play/snake.el (snake-mode):
5195 * play/mpuz.el (mpuz-mode):
5196 * play/landmark.el (lm-mode):
5197 * play/blackbox.el (blackbox-mode):
5198 * play/5x5.el (5x5-mode):
5199 * obsolete/options.el (Edit-options-mode):
5200 * net/quickurl.el (quickurl-list-mode):
5201 * net/newst-treeview.el (newsticker-treeview-mode):
5202 * mail/rmailsum.el (rmail-summary-mode):
5203 * mail/mspools.el (mspools-mode):
5204 * locate.el (locate-mode):
5205 * ibuffer.el (ibuffer-mode):
5206 * emulation/ws-mode.el (wordstar-mode):
5207 * emacs-lisp/debug.el (debugger-mode):
5208 * array.el (array-mode):
5209 * net/eudc.el (eudc-mode): Use define-derived-mode.
5210 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5211 Move initialization into declaration.
5212 (mairix-searches-mode): Use define-derived-mode.
5213 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5214 (eudc-edit-hotlist): Use dolist.
5215 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5216 (Man-mode): Use define-derived-mode.
5217 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5218 (Info-edit-mode): Use define-derived-mode.
5219 (Info-cease-edit): Use Info-mode.
5220 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5221 into declaration.
5222 (eshell-mode): Use define-derived-mode.
5223 * chistory.el (command-history-mode-map): Rename from
5224 command-history-map.
5225 (command-history-mode): Use define-derived-mode.
5226 (Command-history-setup): Remove function.
5227 * calc/calc.el (calc-trail-mode-map): New var.
5228 (calc-trail-mode): Use define-derived-mode.
5229 (calc-trail-buffer): Set calc-main-buffer manually.
5230 * bookmark.el (bookmark-insert-annotation): New function.
5231 (bookmark-edit-annotation): Use it.
5232 (bookmark-edit-annotation-mode): Make it a proper major mode.
5233 (bookmark-send-edited-annotation): Use derived-mode-p.
5234 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5235 closer to its ideal place. Use \' to match EOS.
5236
5237 * profiler.el (profiler-calltree-find): Use function-equal.
5238
5239 2013-09-10 Glenn Morris <rgm@gnu.org>
5240
5241 * files.el (interpreter-mode-alist): Convert to regexps.
5242 (set-auto-mode): Adapt for this. (Bug#15306)
5243 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5244 Comment out unused variable.
5245 * progmodes/cc-mode.el (interpreter-mode-alist):
5246 * progmodes/python.el (interpreter-mode-alist):
5247 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5248 * progmodes/sh-script.el (sh-set-shell):
5249 No longer use interpreter-mode-alist to get list of shells.
5250
5251 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5252
5253 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * simple.el: Use set-temporary-overlay-map for universal-argument.
5256 (universal-argument-map): Don't use default-bindings (bug#15317).
5257 Bind switch-frame explicitly. Replace universal-argument-minus with
5258 a conditional binding.
5259 (universal-argument-num-events, saved-overriding-map): Remove.
5260 (restore-overriding-map): Remove.
5261 (universal-argument--mode): Rename from save&set-overriding-map,
5262 and rewrite.
5263 (universal-argument, universal-argument-more, negative-argument)
5264 (digit-argument): Adjust accordingly.
5265 (universal-argument-minus): Remove.
5266 (universal-argument-other-key): Remove.
5267
5268 * subr.el (with-demoted-errors): Add `format' argument.
5269
5270 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5271
5272 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5273 `tramp-cleanup-connection'.
5274
5275 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5276 parameters KEEP-DEBUG and KEEP-PASSWORD.
5277
5278 * net/tramp.el (tramp-file-name-handler):
5279 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5280 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5281 (tramp-maybe-open-connection):
5282 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5283 Use `tramp-cleanup-connection'.
5284
5285 * net/tramp-sh.el (tramp-maybe-open-connection):
5286 Catch 'uname-changed inside the progress reporter.
5287
5288 2013-09-10 Glenn Morris <rgm@gnu.org>
5289
5290 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5291
5292 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5293 returns "alternate access method" in mode (eg "-rw-r--r--.").
5294
5295 2013-09-08 Glenn Morris <rgm@gnu.org>
5296
5297 * saveplace.el (load-save-place-alist-from-file):
5298 Demote errors. (Bug#15305)
5299
5300 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5301
5302 Improve compatibility with older Emacsen, and XEmacs.
5303
5304 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5305 only if it is bound. It isn't for XEmacs.
5306 (with-tramp-progress-reporter): Do not let-bind `result'.
5307 This yields to scoping errors in XEmacs.
5308 (tramp-handle-make-auto-save-file-name): New function, moved from
5309 tramp-sh.el.
5310
5311 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5312 for `make-auto-save-file-name'.
5313 (tramp-adb--gnu-switches-to-ash):
5314 Use `tramp-compat-replace-regexp-in-string'.
5315
5316 * net/tramp-cache.el (tramp-cache-print): Call
5317 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5318
5319 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5320 bound. It isn't for XEmacs.
5321
5322 * net/tramp-compat.el (tramp-compat-copy-file):
5323 Catch `wrong-number-of-arguments' error.
5324 (tramp-compat-replace-regexp-in-string): New defun.
5325
5326 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5327 for `make-auto-save-file-name'.
5328 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5329 `copy-file'.
5330 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5331 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5332 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5333
5334 * net/tramp-gw.el (tramp-gw-open-network-stream):
5335 Use `tramp-compat-replace-regexp-in-string'.
5336
5337 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5338 Call `tramp-handle-make-auto-save-file-name'.
5339 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5340 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5341 (tramp-sh-file-inotifywait-process-filter):
5342 Use `tramp-compat-replace-regexp-in-string'.
5343 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5344
5345 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5346 for `make-auto-save-file-name'.
5347 (tramp-smb-handle-copy-directory):
5348 Call `tramp-compat-replace-regexp-in-string'.
5349 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5350 (tramp-smb-handle-copy-file): Improve error message.
5351 (tramp-smb-handle-rename-file): Rename directly only in case
5352 `newname' does not exist yet. This is a restriction of smbclient.
5353 (tramp-smb-maybe-open-connection): Rerun the function only when
5354 `auth-sources' is non-nil.
5355
5356 2013-09-08 Kenichi Handa <handa@gnu.org>
5357
5358 * international/characters.el: Set category "^" (Combining) for
5359 more characters.
5360
5361 2013-09-07 Alan Mackenzie <acm@muc.de>
5362
5363 Correctly fontify Java class constructors.
5364 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5365 in Java Mode.
5366 (c-recognize-typeless-decls): Set the Java value to t.
5367 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5368 While handling a "(", add a check for, effectively, Java, and handle a
5369 "typeless" declaration there.
5370
5371 2013-09-07 Roland Winkler <winkler@gnu.org>
5372
5373 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5374 field subtitle for entry type book.
5375
5376 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5377
5378 * minibuffer.el: Make minibuffer-complete call completion-in-region
5379 rather than other way around.
5380 (completion--some, completion-pcm--find-all-completions):
5381 Don't delay signals when debugging.
5382 (minibuffer-completion-contents): Beware fields within the
5383 minibuffer contents.
5384 (completion-all-sorted-completions): Use defvar-local.
5385 (completion--do-completion, completion--cache-all-sorted-completions)
5386 (completion-all-sorted-completions, minibuffer-force-complete):
5387 Add args `beg' and `end'.
5388 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5389 (minibuffer-complete): Use completion-in-region.
5390 (completion-complete-and-exit): New fun, extracted from
5391 minibuffer-complete-and-exit.
5392 (minibuffer-complete-and-exit): Use it.
5393 (completion--complete-and-exit): Rename from
5394 minibuffer--complete-and-exit.
5395 (completion-in-region--single-word): New function, extracted from
5396 minibuffer-complete-word.
5397 (minibuffer-complete-word): Use it.
5398 (display-completion-list): Make `common-substring' argument obsolete.
5399 (completion--in-region): Call completion--in-region-1 instead of
5400 minibuffer-complete.
5401 (completion-help-at-point): Pass boundaries to
5402 minibuffer-completion-help as args rather than via an overlay.
5403 (completion-pcm--string->pattern): Use `any-delim'.
5404 (completion-pcm--optimize-pattern): New function.
5405 (completion-pcm--pattern->regex): Handle `any-delim'.
5406 * icomplete.el (icomplete-forward-completions)
5407 (icomplete-backward-completions, icomplete-completions):
5408 Adjust calls to completion-all-sorted-completions and
5409 completion--cache-all-sorted-completions.
5410 (icomplete-with-completion-tables): Default to t.
5411 * emacs-lisp/crm.el (crm--current-element): Rename from
5412 crm--select-current-element. Don't put an overlay but return the
5413 boundaries instead.
5414 (crm--completion-command): Take two new args to bind to the boundaries.
5415 (crm-completion-help): Adjust accordingly.
5416 (crm-complete): Use completion-in-region.
5417 (crm-complete-word): Use completion-in-region--single-word.
5418 (crm-complete-and-exit): Use completion-complete-and-exit.
5419
5420 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5423 than dynamically.
5424
5425 2013-09-06 Juri Linkov <juri@jurta.org>
5426
5427 * info.el (Info-display-images-node): When image file doesn't exist
5428 display text version of the image if it's provided in the Info file.
5429 Otherwise, display the location of missing image from SRC attribute.
5430 Add help-echo text property from ALT attribute. (Bug#15279)
5431
5432 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5435 (edit-abbrevs-mode): Use define-derived-mode.
5436
5437 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5438 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5439 that it's defined.
5440 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5441 Use define-derived-mode.
5442
5443 * epg.el (epg-start-encrypt): Minor CSE simplification.
5444
5445 2013-09-06 William Xu <william.xwl@gmail.com>
5446
5447 * arc-mode.el: Add support for 7za (bug#15264).
5448 (archive-7z-program): New var.
5449 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5450 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5451 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5452
5453 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5454
5455 Remove URL syntax.
5456
5457 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5458 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5459 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5460 (tramp-postfix-host-format, tramp-file-name-regexp)
5461 (tramp-completion-file-name-regexp)
5462 (tramp-completion-dissect-file-name)
5463 (tramp-handle-substitute-in-file-name): Remove 'url case.
5464 (tramp-file-name-regexp-url)
5465 (tramp-completion-file-name-regexp-url): Remove constants.
5466
5467 2013-09-06 Glenn Morris <rgm@gnu.org>
5468
5469 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5470
5471 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5472
5473 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5474 keywords" below "here-doc beginnings" (Bug#15270).
5475
5476 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * subr.el (pop): Use `car-safe'.
5479 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5480 to detect unused `pop' return value.
5481
5482 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5483 var `block-regexp'.
5484 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5485 (python-fill-string): Remove unused var `marker'.
5486 (python-skeleton-add-menu-items): Remove unused var `items'.
5487
5488 * international/mule-cmds.el: Require CL.
5489 (find-coding-systems-for-charsets): Avoid add-to-list.
5490 (sanitize-coding-system-list): New function, extracted from
5491 select-safe-coding-system-interactively.
5492 (select-safe-coding-system-interactively): Use it.
5493 (read-input-method-name): Accept symbols for `default'.
5494
5495 * emacs-lisp/advice.el (defadvice): Add indent rule.
5496
5497 2013-09-05 Daniel Hackney <dan@haxney.org>
5498
5499 * dired-x.el:
5500 * net/ange-ftp.el:
5501 * net/browse-url.el:
5502 * net/dbus.el:
5503 * net/eudc.el:
5504 * net/eudcb-ldap.el:
5505 * net/eww.el:
5506 * net/imap.el:
5507 * printing.el:
5508 * vc/ediff-diff.el:
5509 * vc/ediff-init.el:
5510 * vc/ediff-merg.el:
5511 * vc/ediff-mult.el:
5512 * vc/ediff-util.el:
5513 * vc/ediff-wind.el:
5514 * vc/ediff.el:
5515 * vc/emerge.el:
5516 * vc/pcvs.el:
5517 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5518 byte compiler. Remove some unused let-bound variables.
5519
5520 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5521
5522 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5523 a "ref-cell", since it gets better optimized (bug#14883).
5524
5525 2013-09-05 Glenn Morris <rgm@gnu.org>
5526
5527 * progmodes/cc-awk.el (c-forward-sws): Declare.
5528
5529 2013-09-04 Glenn Morris <rgm@gnu.org>
5530
5531 * generic-x.el [rul-generic-mode]: Require cc-mode.
5532 (c++-mode-syntax-table): Declare.
5533 (rul-generic-mode-syntax-table): Init in the defvar.
5534
5535 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5538 (vc-do-command, vc-set-async-update):
5539 * vc/vc-mtn.el (vc-mtn-dir-status):
5540 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5541 (vc-hg-pull, vc-hg-merge-branch):
5542 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5543 (vc-git-merge-branch):
5544 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5545 (vc-cvs-dir-status-files):
5546 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5547 (vc-bzr-dir-status-files):
5548 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5549 * vc/vc-annotate.el: Use lexical-binding.
5550 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5551 (vc-sentinel-movepoint): Declare.
5552 (vc-annotate): Don't use `goto-line'.
5553 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5554 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5555 (vc-sentinel-movepoint): Declare.
5556 * vc/vc-svn.el: Use lexical-binding.
5557 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5558 * vc/vc-sccs.el:
5559 * vc/vc-rcs.el: Use lexical-binding.
5560
5561 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5562 `deleted'. Don't drop errors silently.
5563
5564 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5565
5566 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5567
5568 * vc/vc.el (vc-ignore): Rewrite.
5569 (vc-default-ignore): New function.
5570 (vc-default-ignore-completion-table): Use find-ignore-file.
5571
5572 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5573 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5574 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5575 Remove. Most code moved to vc.el.
5576
5577 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5578
5579 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5580 * net/tramp-smb.el (tramp-smb-get-file-entries):
5581 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5582 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5583
5584 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5585 Update call to it.
5586 (eww-change-select): Remove unused var `properties'.
5587 (eww-make-unique-file-name): Remove unused var `base'.
5588
5589 * finder.el (finder-compile-keywords): Don't mess with windows.
5590
5591 * calculator.el (calculator-funcall): Fix typo in last change.
5592
5593 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5594
5595 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5596 <pkg>-autoloads.el file stop us.
5597
5598 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5599 warnings, and factor out common code.
5600
5601 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5602
5603 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5604 two-character operators and whether the character preceding them
5605 changes their meaning (Bug#15208).
5606
5607 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5608
5609 Format code sent to Python shell for robustness.
5610 * progmodes/python.el (python-shell-buffer-substring):
5611 New function.
5612 (python-shell-send-region, python-shell-send-buffer): Use it.
5613
5614 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5615
5616 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5617 * net/tramp.el (tramp-user-error): ... here.
5618 (tramp-find-method, tramp-check-proper-host)
5619 (tramp-dissect-file-name, tramp-debug-message)
5620 (tramp-handle-shell-command):
5621 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5622 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5623
5624 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5625
5626 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5627
5628 * avoid.el (mouse-avoidance-point-position)
5629 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5630 returns nil.
5631
5632 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5633
5634 * progmodes/python.el (python-shell-completion-get-completions):
5635 Drop use of deleted `comint-last-prompt-overlay'.
5636 (python-nav-if-name-main): New command.
5637
5638 2013-09-01 Glenn Morris <rgm@gnu.org>
5639
5640 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5641 Avoid leading space in $wins. Otherwise the sed command used by
5642 eg compile-main ends up containing "/*.el". (Bug#15170)
5643
5644 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5645
5646 2013-08-30 Glenn Morris <rgm@gnu.org>
5647
5648 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5649 Fix is-this-a-directory logic. (Bug#15220)
5650
5651 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * textmodes/css-mode.el: Use SMIE.
5654 (css-smie-grammar): New var.
5655 (css-smie--forward-token, css-smie--backward-token)
5656 (css-smie-rules): New functions.
5657 (css-mode): Use them.
5658 (css-navigation-syntax-table): Remove var.
5659 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5660 (css-indent-calculate, css-indent-line): Remove functions.
5661
5662 Misc changes to reduce use of `(lambda...); and other cleanups.
5663 * cus-edit.el: Use lexical-binding.
5664 (customize-push-and-save, customize-apropos)
5665 (custom-buffer-create-internal): Use closures.
5666 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5667 * progmodes/ada-xref.el: Use setq.
5668 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5669 * dframe.el: Use lexical-binding.
5670 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5671 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5672 * descr-text.el: Use lexical-binding.
5673 (describe-text-widget, describe-text-sexp, describe-property-list):
5674 Use closures.
5675 * comint.el (comint-history-isearch-push-state): Use a closure.
5676 * calculator.el: Use lexical-binding.
5677 (calculator-number-to-string): Make it work with lexical-binding.
5678 (calculator-funcall): Same and use cl-letf.
5679
5680 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5681 (lisp--company-doc-string, lisp--company-location): New functions.
5682 (lisp-completion-at-point): Use them to improve Company support.
5683
5684 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5685 params of lambda expressions.
5686 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5687 (ruby-smie--opening-pipe-p): New function.
5688 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5689 symbols and matched |...| for formal params.
5690 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5691 from being treated as hanging. Handle "rescue".
5692
5693 2013-08-29 Glenn Morris <rgm@gnu.org>
5694
5695 * progmodes/cc-engine.el (c-pull-open-brace):
5696 Move definition before use.
5697
5698 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5701 are immutable. Don't use `unsafe' any more.
5702 (cl--defsubst-expand): Don't substitute at the same time as keeping
5703 a residual unused let-binding. Don't use `unsafe' any more.
5704
5705 2013-08-29 Glenn Morris <rgm@gnu.org>
5706
5707 * calendar/cal-china.el (calendar-chinese-year-cache):
5708 Recenter on 2015.
5709
5710 * nxml/nxml-util.el (nxml-debug-clear-inside):
5711 Use cl-loop rather than loop.
5712
5713 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5714
5715 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5716
5717 2013-08-28 Glenn Morris <rgm@gnu.org>
5718
5719 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5720
5721 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5722
5723 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5724
5725 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * simple.el (repeat-complex-command--called-interactively-skip):
5728 New function.
5729 (repeat-complex-command): Use it (bug#14136).
5730
5731 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5732 (c-define-abbrev-table): Add `doc' argument.
5733 (c-mode-abbrev-table, c++-mode-abbrev-table)
5734 (objc-mode-abbrev-table, java-mode-abbrev-table)
5735 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5736 (awk-mode-abbrev-table): Use it.
5737 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5738 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5739 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5740 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5741 Move initialization into the declaration; and remove any
5742 autoload cookie.
5743
5744 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5745 and dynamic let binding.
5746
5747 * vc/smerge-mode.el: Remove redundant :group args.
5748
5749 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5750 to load-path.
5751
5752 2013-08-28 Juri Linkov <juri@jurta.org>
5753
5754 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5755 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5756 (isearch-other-meta-char): Handle an undefined shifted printing
5757 character by downshifting it. (Bug#15200)
5758
5759 2013-08-28 Juri Linkov <juri@jurta.org>
5760
5761 * isearch.el (isearch-search): Change regexp error message for
5762 non-regexp searches. (Bug#15166)
5763
5764 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5765
5766 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5767 for portability to hosts where /bin/sh has problems.
5768
5769 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5770
5771 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5772
5773 2013-08-27 Juri Linkov <juri@jurta.org>
5774
5775 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5776 in the keyboard macro. (Bug#15126)
5777
5778 2013-08-27 Juri Linkov <juri@jurta.org>
5779
5780 * isearch.el (isearch-quote-char): Comment out converting unibyte
5781 to multibyte, thus syncing with its `quoted-insert' counterpart.
5782 (Bug#15166)
5783
5784 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5785
5786 * window.el (display-buffer-use-some-window): Add missing
5787 argument in call of get-largest-window (Bug#15185).
5788 Reported by Stephen Leake.
5789
5790 2013-08-27 Glenn Morris <rgm@gnu.org>
5791
5792 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5793
5794 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5797 from a matcher-function unless there's no more matches (bug#15161).
5798
5799 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5800
5801 * minibuffer.el: Revert change from 2013-08-20.
5802
5803 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5804 with text property `tramp-default', if appropriate.
5805 (tramp-check-proper-host): New defun.
5806 (tramp-dissect-file-name): Do not check hostname. Revert change
5807 of 2013-03-18.
5808 (tramp-backtrace): Make VEC-OR-PROC optional.
5809
5810 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5811 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5812 * net/tramp-sh.el (tramp-maybe-open-connection):
5813 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5814 Apply `tramp-check-proper-host'.
5815
5816 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5817
5818 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5819 lambda expression in order to have `describe-variable' display it.
5820
5821 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5822
5823 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5824 BUF can be optional. (Bug#15186)
5825
5826 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5827
5828 * progmodes/flymake.el (flymake-get-real-file-name-function):
5829 Fix broken customization. (Bug#15184)
5830
5831 2013-08-25 Alan Mackenzie <acm@muc.de>
5832
5833 Improve indentation of bracelists defined by macros (without "=").
5834
5835 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5836 expansion begins with "{", regard it as bracelist when it doesn't
5837 contain a ";".
5838
5839 Parse C++ inher-intro when there's a template split over 2 lines.
5840
5841 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5842 rigorously the search for "class" etc. followed by ":".
5843
5844 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5845 random languages a regexp which never matches rather than nil.
5846
5847 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5848
5849 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5850 (c-awk-regexp-one-line-possibly-open-char-list-re)
5851 (c-awk-one-line-possibly-open-regexp-re)
5852 (c-awk-one-line-non-syn-ws*-re): Remove.
5853 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5854 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5855 (c-awk-space*-unclosed-regexp-/-re): New constants.
5856 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5857 aren't regexp delimiters.
5858
5859 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5860 handling for a rare situation in AWK Mode involving unterminated
5861 strings/regexps.
5862
5863 2013-08-23 Glenn Morris <rgm@gnu.org>
5864
5865 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5866
5867 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5868
5869 * files.el (create-file-buffer): If the result would begin with
5870 spaces, prepend a "|" instead of removing them. (Bug#15162)
5871
5872 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5875 text-properties (bug#15155).
5876
5877 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5878 exist any more.
5879 (calc-keypad-redraw): Remove unused var `pad'.
5880 (calc-keypad-press): Remove unused var `menu'.
5881
5882 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5883
5884 * window.el (display-buffer-pop-up-frame):
5885 Call pop-up-frame-function with BUFFER current so `make-frame' will
5886 use it as the new frame's buffer (Bug#15133).
5887
5888 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5889
5890 * calendar/timeclock.el: Minor cleanups.
5891 (timeclock-ask-before-exiting, timeclock-use-display-time):
5892 Use `symbol'.
5893 (timeclock-modeline-display): Define as alias before the
5894 actual definition.
5895 (timeclock-mode-line-display): Use define-minor-mode.
5896 (timeclock-day-list-template): Make it a function, add an argument.
5897 (timeclock-day-list-required, timeclock-day-list-length)
5898 (timeclock-day-list-debt, timeclock-day-list-span)
5899 (timeclock-day-list-break): Adjust calls accordingly.
5900
5901 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5904 Use read--expression so that completion works again.
5905
5906 2013-08-21 Sam Steingold <sds@gnu.org>
5907
5908 Add rudimentary inferior shell interaction
5909 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5910 (sh-set-shell): Reset it.
5911 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5912 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5913
5914 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5915
5916 * align.el: Use lexical-binding.
5917 (align-region): Simplify accordingly.
5918
5919 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5920
5921 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5922
5923 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5924 `non-essential' up.
5925
5926 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5927
5928 * net/tramp.el:
5929 * net/tramp-adb.el:
5930 * net/tramp-cmds.el:
5931 * net/tramp-ftp.el:
5932 * net/tramp-gvfs.el:
5933 * net/tramp-gw.el:
5934 * net/tramp-sh.el: Don't wrap external variable declarations by
5935 `eval-when-compile'.
5936
5937 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5938
5939 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5940 now that Emacs supports ImageMagick animations.
5941
5942 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5943
5944 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5945 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5946
5947 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5948
5949 * window.el (mouse-autoselect-window-select): Do autoselect when
5950 mouse pointer is on margin.
5951
5952 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5953
5954 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5955
5956 2013-08-16 Glenn Morris <rgm@gnu.org>
5957
5958 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5959 Handle "Remote Directory" response of some clients. (Bug#15058)
5960
5961 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5962 Tweak warning. (Bug#14926)
5963
5964 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5965 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5966
5967 * image-mode.el (image-mode-map): Add menu items to reverse,
5968 increase, decrease, reset animation speed.
5969 (image--set-speed, image-increase-speed, image-decrease-speed)
5970 (image-reverse-speed, image-reset-speed): New functions.
5971 (image-mode-map): Add bindings for speed commands.
5972
5973 * image.el (image-animate-get-speed, image-animate-set-speed):
5974 New functions.
5975 (image-animate-timeout): Respect image :speed property.
5976
5977 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5978
5979 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5980 previous line (bug#15101).
5981 (debugger-eval-expression, debugger-record-expression):
5982 Use read--expression (bug#15102).
5983
5984 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5985
5986 Remove byte compiler warnings, visible when compiling with
5987 `byte-compile-force-lexical-warnings' set to t.
5988
5989 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5990 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5991 (tramp-handle-unhandled-file-name-directory)
5992 (tramp-handle-file-notify-add-watch, tramp-action-login)
5993 (tramp-action-succeed, tramp-action-permission-denied)
5994 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5995 arguments with "_".
5996
5997 * net/tramp-adb.el (tramp-adb-parse-device-names)
5998 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5999 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6000 (tramp-adb-handle-file-truename): Remove unused arguments.
6001
6002 * net/tramp-cache.el (tramp-flush-directory-property)
6003 (tramp-flush-connection-property, tramp-list-connections)
6004 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6005
6006 * net/tramp-compat.el (tramp-compat-make-temp-file):
6007 Rename FILENAME to F.
6008
6009 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6010 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6011 (tramp-zeroconf-parse-workstation-device-names)
6012 (tramp-zeroconf-parse-webdav-device-names)
6013 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6014
6015 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6016 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6017
6018 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6019 arguments.
6020 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6021 (tramp-sh-handle-insert-file-contents-literally)
6022 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6023 with "_".
6024 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6025 Remove unused variables.
6026
6027 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6028 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6029 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6030
6031 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6032 Make them a defconst.
6033 (tramp-uuencode-region): Remove unused variable.
6034
6035 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6036
6037 * frameset.el (frameset--prop-setter): New function.
6038 (frameset-prop): Add gv-setter declaration.
6039 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6040 parameter was already set in FILTERED. Doc fix.
6041 (frameset--record-minibuffer-relationships): Allow saving a
6042 minibufferless frame without its corresponding minibuffer frame.
6043 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6044 frame, if the frame id matches.
6045 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6046 frames before orphaned ones.
6047 (frameset-restore): Warn about orphaned windows, instead of error out.
6048
6049 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6050
6051 * window.el (window-make-atom): Don't overwrite parameter
6052 already present.
6053 (display-buffer-in-atom-window): Handle special case where we
6054 split an already atomic window.
6055 (window--major-non-side-window, display-buffer-in-side-window)
6056 (window--side-check): Ignore minibuffer window when walking
6057 window tree.
6058 (window-deletable-p): Return 'frame only if no other frame uses
6059 our minibuffer window.
6060 (record-window-buffer): Run buffer-list-update-hook.
6061 (split-window): Make sure window--check-frame won't destroy an
6062 existing atomic window in case the new window gets nested
6063 inside.
6064 (display-buffer-at-bottom): Ignore minibuffer window when
6065 walking window tree. Don't split a side window.
6066 (pop-to-buffer): Don't set-buffer here, the select-window call
6067 should do that.
6068 (mouse-autoselect-window-select): Autoselect only if we are in the
6069 text portion of the window.
6070
6071 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6072
6073 * net/shr.el (shr-parse-image-data): New function to grab both the
6074 data itself and the Content-Type.
6075 (shr-put-image): Use it.
6076
6077 * net/eww.el (eww-display-image): Ditto.
6078
6079 * image.el (image-content-type-suffixes): New variable.
6080
6081 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6082
6083 * progmodes/python.el (python-imenu--build-tree)
6084 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6085
6086 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6087
6088 * simple.el (backward-word): Mention the optional argument.
6089
6090 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * frameset.el (frameset--make): Rename constructor from make-frameset.
6093 (frameset-p, frameset-valid-p): Don't autoload.
6094 (frameset-valid-p): Use normal accessors.
6095
6096 2013-08-13 Glenn Morris <rgm@gnu.org>
6097
6098 * progmodes/compile.el (compile-command): Tweak example in doc.
6099 * obsolete/scribe.el (scribe-mode):
6100 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6101
6102 * mail/feedmail.el (feedmail-confirm-outgoing)
6103 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6104
6105 * cus-start.el (truncate-partial-width-windows): Fix type.
6106
6107 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6108
6109 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6110
6111 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6112
6113 * emacs-lisp/timer.el (timer--time-setter): New function.
6114 (timer--time): Use it as gv-setter.
6115
6116 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6117 setter is not a symbol.
6118
6119 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6120
6121 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6122 if sending fails. This makes debugging easier.
6123
6124 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6125
6126 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6127 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6128 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6129
6130 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6131
6132 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6133
6134 2013-08-12 Glenn Morris <rgm@gnu.org>
6135
6136 * format.el (format-annotate-function):
6137 Handle read-only text properties in the source. (Bug#14887)
6138
6139 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6140
6141 * net/eww.el (eww-display-html): Ignore coding system errors.
6142 One web site uses "utf-8lias" as the coding system.
6143
6144 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6145
6146 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6147
6148 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6149
6150 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6151 (tutorial--detailed-help): Remove unused local variables.
6152 (tutorial--save-tutorial-to): Use ignore-errors.
6153 (help-with-tutorial): Use looking-at-p.
6154
6155 * view.el (view-buffer-other-window, view-buffer-other-frame):
6156 Mark unused arguments.
6157
6158 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6159 (woman-select-symbol-fonts, woman, woman-find-file)
6160 (woman-insert-file-contents, woman-non-underline-faces):
6161 Use string-match-p.
6162 (woman1-unquote): Move declaration.
6163
6164 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6165 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6166 argument. Remove unused local variable.
6167 (xml-parse-elem-type): Use string-match-p.
6168 (xml-substitute-numeric-entities): Use ignore-errors.
6169
6170 * calculator.el (calculator): Mark unused argument.
6171 (calculator-paste, calculator-quit, calculator-integer-p):
6172 Use ignore-errors.
6173 (calculator-string-to-number, calculator-decimal, calculator-exp)
6174 (calculator-op-or-exp): Use string-match-p.
6175
6176 * dired.el (dired-buffer-more-recently-used-p): Declare.
6177 (dired-insert-set-properties, dired-insert-old-subdirs):
6178 Use ignore-errors.
6179
6180 * dired-aux.el (dired-compress): Use ignore-errors.
6181 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6182 (dired-do-async-shell-command, dired-do-shell-command)
6183 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6184 (dired-insert-subdir-validate): Use string-match-p.
6185 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6186 (dired-add-entry): Use string-match-p, looking-at-p.
6187 (dired-insert-subdir-newpos): Remove unused local variable.
6188
6189 * filenotify.el (file-notify-callback): Remove unused local variable.
6190
6191 * filesets.el (filesets-error): Mark unused argument.
6192 (filesets-which-command-p, filesets-filter-dir-names)
6193 (filesets-directory-files, filesets-get-external-viewer)
6194 (filesets-ingroup-get-data): Use string-match-p.
6195
6196 * find-file.el (ff-other-file-name, ff-other-file-name)
6197 (ff-find-the-other-file, ff-cc-hh-converter):
6198 Remove unused local variables.
6199 (ff-get-file-name): Use string-match-p.
6200 (ff-all-dirs-under): Use ignore-errors.
6201
6202 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6203 (follow-select-if-visible): Remove unused local variable.
6204
6205 * forms.el (read-file-filter): Move declaration.
6206 (forms--make-format, forms--make-parser, forms-insert-record):
6207 Quote function with #'.
6208 (forms--update): Use string-match-p. Quote function with #'.
6209
6210 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6211 (help-make-xrefs): Use looking-at-p.
6212 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6213
6214 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6215 (ibuffer-confirm-operation-on): Use string-match-p.
6216
6217 * msb.el (msb-item-handler, msb-dired-item-handler):
6218 Mark unused arguments.
6219
6220 * ses.el (ses-decode-cell-symbol)
6221 (ses-kill-override): Remove unused local variable.
6222 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6223 (ses-load): Use ignore-errors, looking-at-p.
6224 (ses-jump-safe): Use ignore-errors.
6225 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6226
6227 * tabify.el (untabify, tabify): Mark unused arguments.
6228
6229 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6230 Mark unused argument.
6231 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6232 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6233
6234 * emacs-lisp/timer.el (timer--time): Define setter with
6235 gv-define-setter to avoid deprecation warning.
6236
6237 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6238 (*record-cmpl-statistics-p*): Remove (was commented out).
6239 (cmpl-statistics-block): Remove (body was commented out).
6240 All callers changed.
6241 (add-completions-from-buffer, load-completions-from-file):
6242 Remove unused variables.
6243
6244 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6245
6246 * filecache.el (file-cache-delete-file-list):
6247 Print message only when told so.
6248 (file-cache-files-matching): Use #' in mapconcat argument.
6249
6250 * ffap.el (ffap-url-at-point): Fix reference to variable
6251 thing-at-point-default-mail-uri-scheme.
6252
6253 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * subr.el (define-error): New function.
6256 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6257 error-file-not-found and define with define-error.
6258 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6259 and define with define-error.
6260 * userlock.el (file-locked, file-supersession):
6261 * simple.el (mark-inactive):
6262 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6263 * progmodes/ada-mode.el (ada-mode-errors):
6264 * play/life.el (life-extinct):
6265 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6266 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6267 * nxml/rng-util.el (rng-error):
6268 * nxml/rng-uri.el (rng-uri-error):
6269 * nxml/rng-match.el (rng-compile-error):
6270 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6271 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6272 * nxml/nxml-rap.el (nxml-scan-error):
6273 * nxml/nxml-outln.el (nxml-outline-error):
6274 * net/soap-client.el (soap-error):
6275 * net/gnutls.el (gnutls-error):
6276 * net/ange-ftp.el (ftp-error):
6277 * mpc.el (mpc-proc-error):
6278 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6279 (json-number-format, json-string-escape, json-string-format)
6280 (json-key-format, json-object-format):
6281 * jka-compr.el (compression-error):
6282 * international/quail.el (quail-error):
6283 * international/kkc.el (kkc-error):
6284 * emacs-lisp/ert.el (ert-test-failed):
6285 * calc/calc.el (calc-error, inexact-result, math-overflow)
6286 (math-underflow):
6287 * bookmark.el (bookmark-error-no-filename):
6288 * epg.el (epg-error): Define with define-error.
6289
6290 * time.el (display-time-event-handler)
6291 (display-time-next-load-average): Don't call sit-for since it seems
6292 unnecessary (bug#15045).
6293
6294 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6295 Use #' instead of ' to quote functions.
6296 (checkdoc-output-mode): Use setq-local.
6297 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6298 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6299 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6300 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6301 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6302 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6303 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6304 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6305
6306 * ido.el (ido-completion-help): Fix up compiler warning.
6307
6308 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6309
6310 * frameset.el (frameset-p): Add autoload cookie.
6311 (frameset--jump-to-register): New function, based on code moved from
6312 register.el.
6313 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6314
6315 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6316 (frameset-restore, frameset-save, frameset-session-filter-alist):
6317 Remove declarations.
6318 (register-alist): Doc fix.
6319 (frameset-to-register): Move to frameset.el.
6320 (jump-to-register, describe-register-1): Remove frameset-specific code.
6321
6322 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6323
6324 * allout-widgets.el (allout-widgets-pre-command-business)
6325 (allout-widgets-post-command-business)
6326 (allout-widgets-after-change-handler)
6327 (allout-decorate-item-and-context, allout-set-boundary-marker)
6328 (allout-body-modification-handler)
6329 (allout-graphics-modification-handler): Mark ignored arguments.
6330 (allout-widgets-post-command-business)
6331 (allout-widgets-exposure-change-processor)
6332 (allout-widgets-exposure-undo-processor)
6333 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6334 (allout-parse-item-at-point, allout-decorate-item-guides)
6335 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6336 * allout.el (epa-passphrase-callback-function): Declare.
6337 (allout-overlay-insert-in-front-handler)
6338 (allout-overlay-interior-modification-handler)
6339 (allout-isearch-end-handler, allout-chart-siblings)
6340 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6341 (allout-yank-processing, allout-process-exposed)
6342 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6343 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6344 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6345 (lisp-indent-defform): Mark ignored arguments.
6346 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6347 (calculate-lisp-indent): Remove unused variables.
6348 * international/characters.el (indian-2-column, arabic-2-column)
6349 (tibetan): Mark ignored arguments.
6350 (use-cjk-char-width-table): Mark ignored arguments.
6351 Remove unused variables.
6352 * international/fontset.el (build-default-fontset-data)
6353 (x-compose-font-name, create-fontset-from-fontset-spec):
6354 Mark ignored arguments.
6355 (fontset-plain-name): Remove unused variables.
6356 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6357 (keyboard-coding-system): Mark ignored arguments.
6358 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6359 * help.el (resize-temp-buffer-window):
6360 * window.el (display-buffer-in-major-side-window)
6361 (display-buffer-in-side-window, display-buffer-in-previous-window):
6362 Remove unused variables.
6363 * isearch.el (isearch-forward-symbol):
6364 * version.el (emacs-bzr-version-bzr):
6365 * international/mule-cmds.el (current-language-environment):
6366 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6367 (x-handle-display):
6368 * term/pc-win.el (x-list-fonts, x-display-planes)
6369 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6370 (x-server-version, x-display-screens, x-display-mm-height)
6371 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6372 (x-selection-owner-p, x-own-selection-internal)
6373 (x-disown-selection-internal, x-get-selection-internal)
6374 (msdos-initialize-window-system):
6375 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6376 * term/x-win.el (x-handle-no-bitmap-icon):
6377 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6378 (vc-default-find-file-hook, vc-default-extra-menu):
6379 Mark ignored arguments.
6380
6381 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6382
6383 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6384 break-condition in the context of the debugged code (bug#12685).
6385
6386 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6387
6388 * comint.el:
6389 Do not use an overlay to highlight the last prompt. (Bug#14744)
6390 (comint-mode): Make comint-last-prompt buffer local.
6391 (comint-last-prompt): New variable.
6392 (comint-last-prompt-overlay): Remove. Superseded by
6393 comint-last-prompt.
6394 (comint-snapshot-last-prompt, comint-output-filter):
6395 Use comint-last-prompt.
6396
6397 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6398
6399 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6400 (frameset-save): Check validity of the resulting frameset.
6401
6402 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6403
6404 * ido.el (ido-record-command): Add doc string.
6405
6406 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6407
6408 * frameset.el (frameset): Do not disable creation of the default
6409 frameset-p predicate. Doc fix.
6410 (frameset-valid-p): New function, copied from the old predicate-p.
6411 Add additional checks.
6412 (frameset-restore): Check with frameset-valid-p.
6413 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6414 (frameset-name, frameset-description, frameset-properties)
6415 (frameset-states): Add docstring.
6416 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6417 (frameset-filter-alist): Doc fixes.
6418
6419 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6420
6421 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6422
6423 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6424
6425 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6426 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6427 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6428 (byte-compile-normal-call): Remove obsolescence check.
6429
6430 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6431
6432 * frameset.el (frameset-restore): Doc fix.
6433
6434 * register.el (frameset-frame-id, frameset-frame-with-id)
6435 (frameset-p, frameset-restore, frameset-save): Declare.
6436 (register-alist): Document framesets.
6437 (frameset-session-filter-alist): Declare.
6438 (frameset-to-register): New function.
6439 (jump-to-register): Implement jumping to framesets. Doc fix.
6440 (describe-register-1): Describe framesets.
6441
6442 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6443
6444 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6445
6446 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6447 Use lexical-binding.
6448
6449 * frameset.el (frameset): Use type vector, not list (incompatible
6450 change). Do not declare a new constructor, use the default one.
6451 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6452 `name' and `description', respectively, and add read-only slot
6453 `timestamp'. Doc fixes.
6454 (frameset-copy, frameset-persistent-filter-alist)
6455 (frameset-filter-alist, frameset-switch-to-gui-p)
6456 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6457 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6458 (frameset-filter-iconified, frameset-keep-original-display-p):
6459 Doc fixes.
6460 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6461 Rename from frameset-filter-(save|restore)-param. All callers changed.
6462 Doc fix.
6463 (frameset-p): Adapt to change to vector and be more thorough.
6464 Change arg name to OBJECT. Doc fix.
6465 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6466 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6467 All callers changed.
6468 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6469 All callers changed.
6470 (frameset--record-minibuffer-relationships): Rename from
6471 frameset--process-minibuffer-frames. All callers changed.
6472 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6473 Use new default constructor (again). Doc fix.
6474 (frameset--find-frame-if): Rename from `frameset--find-frame.
6475 All callers changed.
6476 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6477 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6478 Doc fix.
6479 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6480 PARAMETERS and WINDOW-STATE, respectively.
6481 (frameset-restore): Add new keyword argument PREDICATE.
6482 Reset frameset--target-display to nil. Doc fix.
6483
6484 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6487 (bat-mode): Use it.
6488 (bat-mode-syntax-table): Mark \n as end-of-comment.
6489 (bat-font-lock-keywords): Remove comment rule.
6490
6491 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6492 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6493
6494 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6495 (byte-compile-callargs-warn): Use `push'.
6496 (byte-compile-arglist-warn): Ignore higher-order "calls".
6497 (byte-compile-file-form-autoload): Use `pcase'.
6498 (byte-compile-function-form): If quoting a symbol, check that it exists.
6499
6500 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6501
6502 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6503 and add a few popular commands found in batch files.
6504 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6505 (dos-mode): Doc fixes.
6506
6507 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6510 (dos-mode): Use setq-local. Add space after "rem".
6511 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6512 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6513
6514 2013-08-07 Arni Magnusson <arnima@hafro.is>
6515
6516 * progmodes/dos.el: New file.
6517 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6518 dos-mode.
6519
6520 2013-08-06 Glenn Morris <rgm@gnu.org>
6521
6522 * calendar/calendar.el: Add new faces, and day-header-array.
6523 (calendar-weekday-header, calendar-weekend-header)
6524 (calendar-month-header): New faces.
6525 (calendar-day-header-construct): New function.
6526 (calendar-day-header-width): Also :set calendar-day-header-array.
6527 (calendar-american-month-header, calendar-european-month-header)
6528 (calendar-iso-month-header): Use calendar- faces.
6529 (calendar-generate-month):
6530 Use calendar-day-header-array for day headers; apply faces to them.
6531 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6532 (calendar-abbrev-construct): Add optional maxlen argument.
6533 (calendar-day-name-array): Doc fix.
6534 (calendar-day-name-array, calendar-abbrev-length)
6535 (calendar-day-abbrev-array):
6536 Also :set calendar-day-header-array, and maybe redraw.
6537 (calendar-day-header-array): New option. (Bug#15007)
6538 (calendar-font-lock-keywords): Set to nil and make obsolete.
6539 (calendar-day-name): Add option to use header array.
6540
6541 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6542
6543 * net/shr.el (shr-render-td): Remove debugging.
6544 (shr-render-td): Make width computation consistent by defaulting
6545 all zero-width columns to 10 characters. This may not be optimal,
6546 but it's at least consistent.
6547 (shr-make-table-1): Redo last change to fix the real problem in
6548 colspan handling.
6549
6550 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6551
6552 * files.el (cache-long-line-scans):
6553 Make obsolete alias to `cache-long-scans'.
6554
6555 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6556
6557 * frameset.el (frameset, frameset-filter-alist)
6558 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6559 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6560 (frameset-compute-pos): Rename from frameset--compute-pos,
6561 and add docstring.
6562 (frameset-move-onscreen): Use frameset-compute-pos.
6563 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6564
6565 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6566 Fix typos in docstrings.
6567
6568 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6569
6570 * frame.el (get-other-frame): Tiny cleanup.
6571
6572 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6573
6574 * vc/vc.el (vc-default-ignore-completion-table):
6575 Silence byte-compiler warning.
6576
6577 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6578 slot, which can indeed be nil.
6579 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6580 Move entry for `left' from persistent to live filter alist.
6581 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6582 Doc fixes.
6583 (frameset-filter-params): When restoring a frame, copy items added to
6584 `filtered', to avoid unwittingly modifying the original parameters.
6585 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6586 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6587
6588 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6589 to use looking-at-p instead of looking-at. (Bug#15028)
6590
6591 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 Revert introduction of isearch-filter-predicates (bug#14714).
6594 Rely on add-function instead.
6595 * isearch.el (isearch-filter-predicates): Rename it back to
6596 isearch-filter-predicate.
6597 (isearch-message-prefix): Use advice-function-mapc and advice
6598 properties to get the isearch-message-prefix.
6599 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6600 instead of run-hook-with-args-until-failure.
6601 (isearch-filter-visible): Not obsolete any more.
6602 * loadup.el: Preload nadvice.
6603 * replace.el (perform-replace): Revert to funcall
6604 instead of run-hook-with-args-until-failure.
6605 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6606 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6607 dired-isearch-filenames-toggle; make it into a proper minor mode.
6608 Use add/remove-function.
6609 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6610 Call the minor-mode rather than add/remove-hook.
6611 (dired-isearch-filter-filenames):
6612 Remove isearch-message-prefix property.
6613 * info.el (Info--search-loop): New function, extracted from Info-search.
6614 Funcall isearch-filter-predicate instead of
6615 run-hook-with-args-until-failure isearch-filter-predicates.
6616 (Info-search): Use it.
6617 (Info-mode): Use isearch-filter-predicate instead of
6618 isearch-filter-predicates.
6619
6620 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6621
6622 Do not call to `selected-window' where it is assumed by default.
6623 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6624 `window-hscroll', `window-width', `window-height', `window-buffer',
6625 `window-frame', `window-start', `window-point', `next-window'
6626 and `window-display-table'.
6627 * abbrev.el (abbrev--default-expand):
6628 * bs.el (bs--show-with-configuration):
6629 * buff-menu.el (Buffer-menu-mouse-select):
6630 * calc/calc.el (calc):
6631 * calendar/calendar.el (calendar-generate-window):
6632 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6633 (diary-make-entry):
6634 * comint.el (send-invisible, comint-dynamic-complete-filename)
6635 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6636 * completion.el (complete):
6637 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6638 * disp-table.el (describe-current-display-table):
6639 * doc-view.el (doc-view-insert-image):
6640 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6641 * ehelp.el (with-electric-help):
6642 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6643 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6644 * emacs-lisp/helper.el (Helper-help-scroller):
6645 * emulation/cua-base.el (cua--post-command-handler-1):
6646 * eshell/esh-mode.el (eshell-output-filter):
6647 * ffap.el (ffap-gnus-wrapper):
6648 * help-macro.el (make-help-screen):
6649 * hilit-chg.el (highlight-compare-buffers):
6650 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6651 * hl-line.el (global-hl-line-highlight):
6652 * icomplete.el (icomplete-simple-completing-p):
6653 * isearch.el (isearch-done):
6654 * jit-lock.el (jit-lock-stealth-fontify):
6655 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6656 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6657 * mpc.el (mpc-tagbrowser, mpc):
6658 * net/rcirc.el (rcirc-any-buffer):
6659 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6660 * play/landmark.el (landmark-max-width, landmark-max-height):
6661 * play/zone.el (zone):
6662 * progmodes/compile.el (compilation-goto-locus):
6663 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6664 * progmodes/etags.el (find-tag-other-window):
6665 * progmodes/fortran.el (fortran-column-ruler):
6666 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6667 * progmodes/verilog-mode.el (verilog-point-text):
6668 * reposition.el (reposition-window):
6669 * rot13.el (toggle-rot13-mode):
6670 * server.el (server-switch-buffer):
6671 * shell.el (shell-dynamic-complete-command)
6672 (shell-dynamic-complete-environment-variable):
6673 * simple.el (insert-buffer, set-selective-display)
6674 (delete-completion-window):
6675 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6676 (speedbar-recenter):
6677 * startup.el (fancy-splash-head):
6678 * textmodes/ispell.el (ispell-command-loop):
6679 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6680 * tutorial.el (help-with-tutorial):
6681 * vc/add-log.el (add-change-log-entry):
6682 * vc/compare-w.el (compare-windows):
6683 * vc/ediff-help.el (ediff-indent-help-message):
6684 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6685 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6686 (ediff-setup-control-frame):
6687 * vc/emerge.el (emerge-position-region):
6688 * vc/pcvs-util.el (cvs-bury-buffer):
6689 * window.el (walk-windows, mouse-autoselect-window-select):
6690 * winner.el (winner-set-conf, winner-undo): Related users changed.
6691
6692 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6693
6694 * frameset.el (frameset--set-id): Doc fix.
6695 (frameset-frame-id, frameset-frame-id-equal-p)
6696 (frameset-locate-frame-id): New functions.
6697 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6698 (frameset-restore): Use them.
6699
6700 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6701
6702 Do not call to `selected-frame' where it is assumed by default.
6703 Affected functions are `raise-frame', `redraw-frame',
6704 `frame-first-window', `frame-terminal' and `delete-frame'.
6705 * calendar/appt.el (appt-disp-window):
6706 * epg.el (epg-wait-for-completion):
6707 * follow.el (follow-delete-other-windows-and-split)
6708 (follow-avoid-tail-recenter):
6709 * international/mule.el (set-terminal-coding-system):
6710 * mail/rmail.el (rmail-mail-return):
6711 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6712 * progmodes/f90.el (f90-add-imenu-menu):
6713 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6714 * server.el (server-switch-buffer):
6715 * simple.el (delete-completion-window):
6716 * talk.el (talk):
6717 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6718 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6719 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6720 * vc/ediff.el (ediff-documentation): Related users changed.
6721 * frame.el (selected-terminal): Remove the leftover.
6722
6723 2013-08-05 Glenn Morris <rgm@gnu.org>
6724
6725 * calendar/calendar.el (calendar-generate-month):
6726 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6727 (calendar-generate-month, calendar-font-lock-keywords):
6728 Fix for calendar-day-header-width > length of any day name.
6729
6730 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6731
6732 * desktop.el (desktop-clear): Use new name of sort predicate.
6733
6734 * frameset.el (frameset): Add docstring. Move :version property to its
6735 own `version' slot.
6736 (frameset-copy): Rename from copy-frameset.
6737 (frameset-p): Check more thoroughly.
6738 (frameset-prop): Do not check for :version, which is no longer a prop.
6739 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6740 Use new :never value instead of t.
6741 (frameset-filter-alist): Expand and clarify docstring.
6742 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6743 (frameset-filter-minibuffer, frameset-filter-save-param)
6744 (frameset-filter-restore-param, frameset-filter-iconified):
6745 Add pointer to docstring of frameset-filter-alist.
6746 (frameset-filter-params): Rename filter values to be more meaningful:
6747 :never instead of t, and reverse the meanings of :save and :restore.
6748 (frameset--process-minibuffer-frames): Clarify error message.
6749 (frameset-save): Avoid unnecessary and confusing call to framep.
6750 Use new BOA constructor for framesets.
6751 (frameset--reuse-list): Doc fix.
6752 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6753 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6754 (frameset-minibufferless-first-p): Doc fix.
6755 Rename from frameset-sort-frames-for-deletion.
6756 (frameset-restore): Doc fixes. Use new function names.
6757 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6758
6759 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * desktop.el (desktop-restore-forces-onscreen)
6762 (desktop-restore-reuses-frames): Document :keyword constant values.
6763 (desktop-filter-parameters-alist): Remove, now identical to
6764 frameset-filter-alist.
6765 (desktop--filter-tty*): Remove, moved to frameset.el.
6766 (desktop-save-frameset, desktop-restore-frameset):
6767 Do not pass :filters argument.
6768
6769 * frameset.el (frameset-live-filter-alist)
6770 (frameset-persistent-filter-alist): New variables.
6771 (frameset-filter-alist): Use them. Add autoload cookie.
6772 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6773 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6774 `frameset--id' (it's supposed to be internal to frameset.el).
6775 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6776 (frameset--initial-params): New function.
6777 (frameset--get-frame): Use it. Doc fix.
6778 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6779 Accept :all, not 'all.
6780 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6781 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6782 with fbound symbols. Fix frame id matching, and remove matching ids if
6783 the frame being restored is deleted. Obey :delete.
6784
6785 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6786
6787 * subr.el (macrop): New function.
6788 (text-clone--maintaining): New var.
6789 (text-clone--maintain): Rename from text-clone-maintain. Use it
6790 instead of inhibit-modification-hooks.
6791
6792 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6793 a proxy, so as handle autoloads and redefinitions of the target.
6794 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6795
6796 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6797 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6798 (pcase--mutually-exclusive-p): New function.
6799 (pcase--split-consp): Use it.
6800 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6801 mutually exclusive with the current predicate.
6802
6803 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6804 (edebug-macrop): Remove. Use `macrop' instead.
6805 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6806 (ad-macro-p):
6807 * eshell/esh-cmd.el (eshell-macrop):
6808 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6809
6810 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6811
6812 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6813 (advice-mapc): New function, using it.
6814 (advice-function-member-p): New function.
6815 (advice--normalize): Store the cdr in advice--saved-rewrite since
6816 that's the part that will be changed.
6817 (advice--symbol-function): New function.
6818 (advice-remove): Handle removal before the function is defined.
6819 Adjust to new advice--saved-rewrite.
6820 (advice-member-p): Use advice-function-member-p and
6821 advice--symbol-function.
6822
6823 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6824
6825 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6826 (frameset-filter-minibuffer): Doc fix.
6827 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6828 (frameset--set-id, frameset--process-minibuffer-frames)
6829 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6830 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6831
6832 * desktop.el (desktop-clear): Only delete frames when called
6833 interactively and desktop-restore-frames is non-nil. Doc fix.
6834 (desktop-read): Set desktop-saved-frameset to nil.
6835
6836 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6837
6838 * vc/vc.el (vc-ignore): Rewrite.
6839 (vc-default-ignore-completion-table):
6840 (vc--read-lines):
6841 (vc--add-line, vc--remove-regexp): New functions.
6842
6843 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6844 (vc-svn-ignore-completion-table): New function.
6845
6846 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6847 (vc-hg-ignore-completion-table):
6848 (vc-hg-find-ignore-file): New functions.
6849
6850 * vc/vc-git.el (vc-git-ignore): Rewrite.
6851 (vc-git-ignore-completion-table):
6852 (vc-git-find-ignore-file): New functions.
6853
6854 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6855
6856 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6857 (vc-bzr-ignore-completion-table):
6858 (vc-bzr-find-ignore-file): New functions.
6859
6860 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6861
6862 * frameset.el (frameset-prop): New function and setter.
6863 (frameset-save): Do not modify frame list passed by the caller.
6864
6865 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6868
6869 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6870
6871 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6872 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6873
6874 * custom.el (custom-initialize-default, custom-initialize-set)
6875 (custom-initialize-reset, custom-initialize-changed): Affect the
6876 toplevel-default-value (bug#6275, bug#14586).
6877 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6878 for bug#6275.
6879
6880 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6881
6882 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6883 Add cl-def* expressions.
6884
6885 * frameset.el (frameset-filter-params): Fix order of arguments.
6886
6887 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6888
6889 Move code related to saving frames to frameset.el.
6890 * desktop.el: Require frameset.
6891 (desktop-restore-frames): Doc fix.
6892 (desktop-restore-reuses-frames): Rename from
6893 desktop-restoring-reuses-frames.
6894 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6895 (desktop-clear): Clear frames too.
6896 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6897 (desktop--filter-tty*, desktop-save, desktop-read):
6898 Use frameset functions.
6899 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6900 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6901 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6902 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6903 (desktop--process-minibuffer-frames, desktop-save-frames)
6904 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6905 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6906 (desktop--sort-states, desktop-restoring-frames-p)
6907 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6908 (desktop-restoring-frameset-p, desktop-restore-frameset)
6909 (desktop--check-dont-save, desktop-save-frameset): New functions.
6910 (desktop--app-id): New constant.
6911 (desktop-first-buffer, desktop-buffer-ok-count)
6912 (desktop-buffer-fail-count): Move before first use.
6913 * frameset.el: New file.
6914
6915 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6916
6917 * files.el: Use lexical-binding.
6918 (dir-locals-read-from-file): Remove unused `err' variable.
6919 (hack-dir-local-variables--warned-coding): New var.
6920 (hack-dir-local-variables): Use it to avoid repeated warnings.
6921 (make-backup-file-name--default-function): New function.
6922 (make-backup-file-name-function): Use it as default.
6923 (buffer-stale--default-function): New function.
6924 (buffer-stale-function): Use it as default.
6925 (revert-buffer-insert-file-contents--default-function): New function.
6926 (revert-buffer-insert-file-contents-function): Use it as default.
6927 (insert-directory): Avoid add-to-list.
6928
6929 * autorevert.el (auto-revert-handler): Simplify.
6930 Use buffer-stale--default-function.
6931
6932 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6933
6934 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6935
6936 * whitespace.el (whitespace-ensure-local-variables): New function.
6937 (whitespace-cleanup-region): Call it.
6938 (whitespace-turn-on): Call it.
6939
6940 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6941
6942 Complete file name handlers.
6943
6944 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6945 (tramp-handle-verify-visited-file-modtime)
6946 (tramp-handle-file-notify-rm-watch): New functions.
6947 (tramp-call-process): Do not bind `default-directory'.
6948
6949 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6950 Order alphabetically.
6951 [access-file, add-name-to-file, dired-call-process]:
6952 [dired-compress-file, file-acl, file-notify-rm-watch]:
6953 [file-ownership-preserved-p, file-selinux-context]:
6954 [make-directory-internal, make-symbolic-link, set-file-acl]:
6955 [set-file-selinux-context, set-visited-file-modtime]:
6956 [verify-visited-file-modtime]: Add handler.
6957 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6958
6959 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6960 [file-notify-add-watch, file-notify-rm-watch]:
6961 [set-file-times, set-visited-file-modtime]:
6962 [verify-visited-file-modtime]: Add handler.
6963 (with-tramp-gvfs-error-message)
6964 (tramp-gvfs-handle-set-visited-file-modtime)
6965 (tramp-gvfs-fuse-file-name): Remove.
6966 (tramp-gvfs-handle-file-notify-add-watch)
6967 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6968 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6969
6970 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6971 Order alphabetically.
6972 [file-notify-rm-watch ]: Use default Tramp handler.
6973 [executable-find]: Remove private handler.
6974 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6975 `default-directory'.
6976 (tramp-sh-handle-executable-find)
6977 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6978 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6979 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6980 Do not use `format' in `tramp-message'.
6981
6982 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6983 [file-notify-rm-watch, set-visited-file-modtime]:
6984 [verify-visited-file-modtime]: Add handler.
6985 (tramp-smb-call-winexe): Do not bind `default-directory'.
6986
6987 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6988
6989 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6990
6991 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6992
6993 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6994 use it.
6995 (log-view-diff-changeset): Same.
6996 (log-view-diff-common): Call backend command `previous-revision'
6997 to find out the previous revision, in both cases. Swap the
6998 variables `to' and `fr', so that `fr' usually refers to the
6999 earlier revision (Bug#14989).
7000
7001 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7002
7003 * ibuf-ext.el (ibuffer-filter-by-filename):
7004 Make it work with dired buffers too.
7005
7006 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7007
7008 * emacs-lisp/re-builder.el (reb-color-display-p):
7009 * files.el (save-buffers-kill-terminal):
7010 * net/browse-url.el (browse-url):
7011 * server.el (server-save-buffers-kill-terminal):
7012 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7013 Prefer nil to selected-frame for the first arg of frame-parameter.
7014
7015 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7016
7017 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7018
7019 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7020
7021 * minibuffer.el (completion--twq-all): Try and preserve each
7022 completion's case choice (bug#14907).
7023
7024 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7025
7026 * net/network-stream.el (open-network-stream): Mention the new
7027 :nogreeting parameter.
7028 (network-stream-open-starttls): Use the :nogreeting parameter
7029 (bug#14938).
7030
7031 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7032
7033 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7034 more natural than popping.
7035
7036 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7037 (shr-urlify): Highlight under mouse.
7038
7039 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7040
7041 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7042
7043 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7044
7045 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7046 buffer for output.
7047
7048 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7049 point-min==1. Fix search string. Fix parentheses missing.
7050
7051 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7052 assume point-min==1. Fix search string. Fix parentheses missing.
7053
7054 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7055
7056 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7057 buffer for output.
7058
7059 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7060
7061 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7062 initial frame is minibuffer-less. (Bug#14841)
7063
7064 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7065
7066 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7067 option.
7068
7069 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7070 (tramp-maybe-open-connection): Use it.
7071
7072 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7073
7074 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7075 minimal set of parameters passed when creating a frame, because
7076 the minibuffer status of a frame cannot be changed later.
7077
7078 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7079
7080 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7081 replace-regexp-in-string and inadvertent omissions in previous change.
7082 (todo-filter-items): Ensure only file names are comma-separated in
7083 name of filtered items buffer.
7084
7085 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7086
7087 * desktop.el: Optionally force offscreen frames back onscreen.
7088 (desktop-restoring-reuses-frames): New option.
7089 (desktop--compute-pos, desktop--move-onscreen): New functions.
7090 (desktop--make-frame): Use desktop--move-onscreen.
7091
7092 2013-07-27 Alan Mackenzie <acm@muc.de>
7093
7094 Fontify a Java generic method as a function.
7095 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7096 value to t.
7097
7098 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7099
7100 * calendar/todo-mode.el: Add command to rename todo files.
7101 (todo-rename-file): New command.
7102 (todo-key-bindings-t): Add key binding for it. Change the
7103 bindings of todo-filter-regexp-items(-multifile) to use `x'
7104 instead of `r', since the latter is better suited to the new
7105 renaming command.
7106
7107 2013-07-27 Alan Mackenzie <acm@muc.de>
7108
7109 Make Java try-with-resources statement parse properly.
7110 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7111 (c-block-stmt-1-2-key): New language constants/variables.
7112 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7113 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7114 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7115 with c-block-stmt-1-2-key.
7116
7117 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7118
7119 * desktop.el (desktop--make-frame): Apply most frame parameters after
7120 creating the frame to force (partially or totally) offscreen frames to
7121 be restored as such.
7122
7123 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7124
7125 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7126 (Bug#14948)
7127
7128 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7131 `base' arg of backtrace-frame.
7132
7133 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7134
7135 * simple.el (list-processes): Doc fix.
7136
7137 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7138
7139 * desktop.el (desktop--select-frame):
7140 Try harder to reuse existing frames.
7141
7142 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7145 (edebug-eval): Use backtrace-eval.
7146 (edebug--display, edebug--recursive-edit): Don't let-bind the
7147 edebug-outer-* vars that keep track of variables we locally let-bind.
7148 (edebug-outside-excursion): Don't restore outside values of locally
7149 let-bound vars.
7150 (edebug--display): Use user-error.
7151 (cl-lexical-debug, cl-debug-env): Remove.
7152
7153 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7154
7155 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7156 are restored to be sure that they are visible before deleting any
7157 remaining ones.
7158
7159 2013-07-26 Matthias Meulien <orontee@gmail.com>
7160
7161 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7162 vc-print-root-log. (Bug#14948)
7163
7164 2013-07-26 Richard Stallman <rms@gnu.org>
7165
7166 Add aliases for encrypting mail.
7167 * epa.el (epa-mail-aliases): New option.
7168 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7169 Bind inhibit-read-only so read-only text doesn't ruin everything.
7170 (epa-mail-default-recipients): New subroutine broken out.
7171 Handle epa-mail-aliases.
7172
7173 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 Add support for lexical variables to the debugger's `e' command.
7176 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7177 vars, except for debugger-outer-match-data.
7178 (debugger-frame-number): Move check for "on a function call" from
7179 callers into it. Add `skip-base' argument.
7180 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7181 (debugger-env-macro): Only reset the state stored in non-variables,
7182 i.e. current-buffer and match-data.
7183 (debugger-eval-expression): Rewrite using backtrace-eval.
7184 * subr.el (internal--called-interactively-p--get-frame): Remove.
7185 (called-interactively-p):
7186 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7187 `base' arg of backtrace-frame instead.
7188
7189 2013-07-26 Glenn Morris <rgm@gnu.org>
7190
7191 * align.el (align-regexp): Doc fix. (Bug#14857)
7192 (align-region): Explicit error if subexpression missing/does not match.
7193
7194 * simple.el (global-visual-line-mode):
7195 Do not duplicate the mode lighter. (Bug#14858)
7196
7197 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7198
7199 * window.el (display-buffer): In display-buffer bind
7200 split-window-keep-point to t, bug#14829.
7201
7202 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7203
7204 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7205 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7206 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7207 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7208 Change accordingly.
7209 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7210 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7211
7212 2013-07-25 Glenn Morris <rgm@gnu.org>
7213
7214 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7215
7216 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7217
7218 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7219 parameter to modify-frame-parameters if the value has not changed;
7220 this is a workaround for bug#14949.
7221 (desktop--make-frame): On cl-delete-if call, check parameter name,
7222 not full parameter.
7223
7224 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7225
7226 * vc/vc.el (vc-ignore): New function.
7227
7228 * vc/vc-svn.el (vc-svn-ignore): New function.
7229
7230 * vc/vc-hg.el (vc-hg-ignore): New function.
7231
7232 * vc/vc-git.el (vc-git-ignore): New function.
7233
7234 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7235 (vc-dir-ignore): New function.
7236
7237 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7238 (cvs-append-to-ignore): Move here from pcvs.el.
7239
7240 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7241
7242 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7243
7244 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7245
7246 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7247 (desktop-restore-frames): Warn when deleting an existing frame failed.
7248
7249 2013-07-24 Glenn Morris <rgm@gnu.org>
7250
7251 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7252
7253 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7254
7255 * filenotify.el (file-notify-supported-p):
7256 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7257 Remove functions.
7258
7259 * autorevert.el (auto-revert-use-notify):
7260 (auto-revert-notify-add-watch):
7261 * net/tramp.el (tramp-file-name-for-operation):
7262 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7263 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7264 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7265 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7266 Remove `file-notify-supported-p' entry.
7267
7268 2013-07-24 Glenn Morris <rgm@gnu.org>
7269
7270 * printing.el: Replace all uses of deleted ps-windows-system,
7271 ps-lp-system, ps-flatten-list with lpr- versions.
7272
7273 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7274
7275 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7276 checked with memq (bug#14935).
7277
7278 * files.el (revert-buffer-function): Use a non-nil default.
7279 (revert-buffer-preserve-modes): Declare var to
7280 provide access to the `preserve-modes' argument.
7281 (revert-buffer): Let-bind it.
7282 (revert-buffer--default): New function, extracted from revert-buffer.
7283
7284 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * lpr.el: Signal print errors more prominently.
7287 (print-region-function): Don't default to nil.
7288 (lpr-print-region): New function, extracted from print-region-1.
7289 Check lpr's return value and signal an error in case of problem.
7290 (print-region-1): Use it.
7291 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7292 versions instead.
7293 (ps-printer-name): Default to nil.
7294 (ps-printer-name-option): Default to lpr-printer-switch.
7295 (ps-print-region-function): Don't default to nil.
7296 (ps-postscript-code-directory): Simplify default.
7297 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7298 (ps-string-list, ps-eval-switch, ps-flatten-list)
7299 (ps-flatten-list-1): Remove.
7300 (ps-multibyte-buffer): Avoid setq.
7301 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7302 (print-region-function, ps-print-region-function): Don't set them here.
7303
7304 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7305
7306 * ido.el (ido-fractionp):
7307 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7308 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7309 (ido-max-directory-size, ido-max-dir-file-cache)
7310 (ido-decorations): Doc fix.
7311
7312 * ansi-color.el: Fix old URL.
7313
7314 2013-07-23 Michael R. Mauger <michael@mauger.com>
7315
7316 * progmodes/sql.el: Version 3.3
7317 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7318 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7319 (sql-interactive-remove-continuation-prompt): Rewrite, use
7320 functions above. Fix continuation prompt and complete output line
7321 handling.
7322 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7323 redirected output buffer.
7324 (sql-mode): Restore deleted code (Bug#13591).
7325
7326 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7327
7328 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7329
7330 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7331
7332 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7333
7334 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7335 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7336 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7337
7338 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7339
7340 * desktop.el (desktop-clear): Simplify; remove useless checks
7341 against invalid buffer names.
7342 (desktop-list*): Use cl-list*.
7343 (desktop-buffer-info, desktop-create-buffer): Simplify.
7344
7345 2013-07-23 Leo Liu <sdl.web@gmail.com>
7346
7347 * bookmark.el (bookmark-make-record): Restore NAME as a default
7348 value. (Bug#14933)
7349
7350 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7353 extracted from autoload--insert-text.
7354 (autoload--insert-text): Remove.
7355 (autoload--print-cookie-text): New function, extracted from
7356 autoload--insert-cookie-text.
7357 (autoload--insert-cookie-text): Remove.
7358 (autoload-generate-file-autoloads): Adjust calls accordingly.
7359
7360 * winner.el (winner-hook-installed-p): Remove.
7361 (winner-mode): Simplify accordingly.
7362
7363 * subr.el (add-to-list): Fix compiler-macro when `append' is
7364 not constant. Don't use `cl-member' for the base case.
7365
7366 * progmodes/subword.el: Fix boundary case (bug#13758).
7367 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7368 own group.
7369 (subword-backward-regexp): Make it a constant.
7370 (subword-forward-internal): Don't treat a trailing capital as the
7371 beginning of a word.
7372
7373 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7374
7375 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7376 global value of tabulated-list-revert-hook (bug#14930).
7377
7378 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7379
7380 * desktop.el: Require 'cl-lib.
7381 (desktop-before-saving-frames-functions): New hook.
7382 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7383 for frames being saved. Rename from desktop--save-minibuffer-frames.
7384 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7385 Do not save frames with non-nil `desktop-dont-save' parameter.
7386 Filter out deleted frames.
7387 (desktop--find-frame): Use cl-find-if.
7388 (desktop--select-frame): Use cl-(first|second|third) to access values
7389 of desktop-mini.
7390 (desktop--make-frame): Use cl-delete-if.
7391 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7392 (desktop-restore-frames): Use cl-(first|second|third) to access values
7393 of desktop-mini. Look for visible frame at the end, not while
7394 restoring frames.
7395
7396 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7397 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7398 Use string-match-p, looking-at-p (bug#14927).
7399
7400 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7401
7402 * desktop.el (desktop-saved-frame-states):
7403 Rename from desktop--saved-states; all users changed.
7404 (desktop-save-frames): Rename from desktop--save-frames.
7405 Do not save state to desktop file.
7406 (desktop-save): Save desktop-saved-frame-states to desktop file
7407 and reset to nil.
7408 (desktop-restoring-frames-p): New function.
7409 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7410 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7411 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7412
7413 * desktop.el: Correctly restore iconified frames.
7414 (desktop--filter-iconified-position): New function.
7415 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7416
7417 2013-07-20 Glenn Morris <rgm@gnu.org>
7418
7419 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7420 Let `message' do the formatting.
7421 (def-gdb-preempt-display-buffer): Add explicit format.
7422
7423 * image-dired.el (image-dired-track-original-file):
7424 Use with-current-buffer.
7425 (image-dired-track-thumbnail): Use with-current-buffer.
7426 Avoid changing point of wrong window.
7427
7428 * image-dired.el (image-dired-track-original-file):
7429 Avoid changing point of wrong window. (Bug#14909)
7430
7431 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7432
7433 * progmodes/gdb-mi.el (gdb-done-or-error):
7434 Guard against "%" in gdb output. (Bug#14127)
7435
7436 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7437
7438 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7439 (Bug#14826)
7440
7441 * international/mule.el (coding-system-iso-2022-flags): Fix last
7442 change.
7443
7444 2013-07-20 Kenichi Handa <handa@gnu.org>
7445
7446 * international/mule.el (coding-system-iso-2022-flags):
7447 Add `8-bit-level-4'. (Bug#8522)
7448
7449 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7450
7451 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7452 (bug#14815).
7453
7454 * net/eww.el (eww-process-text-input): Allow inputting when the
7455 point is at the start of the line, as the properties aren't
7456 front-sticky.
7457
7458 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7459 degenerate widths.
7460
7461 2013-07-19 Richard Stallman <rms@gnu.org>
7462
7463 * epa.el (epa-popup-info-window): Doc fix.
7464
7465 * subr.el (split-string): New arg TRIM.
7466
7467 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7468
7469 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7470 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7471
7472 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7473
7474 * filenotify.el (file-notify--library): Rename from
7475 `file-notify-support'. Do not autoload. Adapt all uses.
7476 (file-notify-supported-p): New defun.
7477
7478 * autorevert.el (auto-revert-use-notify):
7479 Use `file-notify-supported-p' instead of `file-notify-support'.
7480 Adapt docstring.
7481 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7482
7483 * net/tramp.el (tramp-file-name-for-operation):
7484 Add `file-notify-supported-p'.
7485
7486 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7487 New defun.
7488 (tramp-sh-file-name-handler-alist): Add it as handler for
7489 `file-notify-supported-p '.
7490
7491 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7492 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7493 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7494 Add `ignore' as handler for `file-notify-*' functions.
7495
7496 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7497
7498 * simple.el (line-move-partial, line-move): Don't start vscroll or
7499 scroll-up if the current line is not taller than the window.
7500 (Bug#14881)
7501
7502 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7503
7504 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7505 highlight question marks in the method names as strings.
7506 (ruby-block-beg-keywords): Inline.
7507 (ruby-font-lock-keyword-beg-re): Extract from
7508 `ruby-font-lock-keywords'.
7509
7510 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7511
7512 * frame.el (blink-cursor-blinks): New defcustom.
7513 (blink-cursor-blinks-done): New defvar.
7514 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7515 (blink-cursor-timer-function): Check if number of blinks has been
7516 done on X and NS.
7517 (blink-cursor-suspend, blink-cursor-check): New defuns.
7518
7519 2013-07-15 Glenn Morris <rgm@gnu.org>
7520
7521 * edmacro.el (edmacro-format-keys): Fix previous change.
7522
7523 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7524
7525 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7526 The hack didn't work outside English locales anyway.
7527
7528 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7529
7530 * simple.el (define-alternatives): Rename from alternatives-define,
7531 per RMS' suggestion.
7532
7533 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7534
7535 * desktop.el (desktop-restore-frames): Change default to t.
7536 (desktop-restore-in-current-display): Now offer more options.
7537 (desktop-restoring-reuses-frames): New customization option.
7538 (desktop--saved-states): Doc fix.
7539 (desktop-filter-parameters-alist): New variable, renamed and expanded
7540 from desktop--excluded-frame-parameters.
7541 (desktop--target-display): New variable.
7542 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7543 (desktop--filter-tty*, desktop--filter-*-color)
7544 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7545 (desktop--filter-save-desktop-parm)
7546 (desktop-restore-in-original-display-p): New functions.
7547 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7548 (desktop--save-minibuffer-frames): New function, inspired by a similar
7549 function from Martin Rudalics.
7550 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7551 (desktop--restore-in-this-display-p): Remove.
7552 (desktop--find-frame): Rename from desktop--find-frame-in-display
7553 and add predicate argument.
7554 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7555 (desktop--reuse-list): New variable.
7556 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7557 New functions.
7558 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7559
7560 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7561
7562 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7563
7564 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7565
7566 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7567 Highlight conversion methods on Kernel.
7568
7569 2013-07-13 Alan Mackenzie <acm@muc.de>
7570
7571 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7572 and comment it out. This out-commenting enables certain C++
7573 declarations to be parsed correctly.
7574
7575 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7576
7577 * international/mule.el (define-coding-system): Doc fix.
7578
7579 * simple.el (default-font-height): Don't call font-info if the
7580 frame's default font didn't change since the frame was created.
7581 (Bug#14838)
7582
7583 2013-07-13 Leo Liu <sdl.web@gmail.com>
7584
7585 * ido.el (ido-read-file-name): Guard against non-symbol value.
7586
7587 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7588
7589 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7590 in nested defuns.
7591
7592 2013-07-13 Leo Liu <sdl.web@gmail.com>
7593
7594 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7595 ido-set-matches call. (Bug#6852)
7596
7597 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7598
7599 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7600 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7601 Ruby 2.0.
7602 (ruby-font-lock-keywords): Distinguish calls to functions with
7603 module-like names from module references. Highlight character
7604 literals.
7605
7606 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7607
7608 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7609 (gdb-send): Handle continued commands. (Bug#14847)
7610
7611 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7612
7613 * desktop.el (desktop--v2s): Remove unused local variable.
7614 (desktop-save-buffer): Make defvar-local; adjust docstring.
7615 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7616 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7617
7618 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7619
7620 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7621
7622 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7623
7624 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7625 (Bug#14842)
7626
7627 2013-07-12 Glenn Morris <rgm@gnu.org>
7628
7629 * doc-view.el: Require cl-lib at runtime too.
7630 (doc-view-remove-if): Remove.
7631 (doc-view-search-next-match, doc-view-search-previous-match):
7632 Use cl-remove-if.
7633
7634 * edmacro.el: Require cl-lib at runtime too.
7635 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7636 (edmacro-mismatch, edmacro-subseq): Remove.
7637
7638 * shadowfile.el: Require cl-lib.
7639 (shadow-remove-if): Remove.
7640 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7641 Use cl-remove-if.
7642
7643 * wid-edit.el: Require cl-lib.
7644 (widget-choose): Use cl-remove-if.
7645 (widget-remove-if): Remove.
7646
7647 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7648 (ebrowse-delete-if-not): Remove.
7649 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7650 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7651 Use cl-delete-if-not.
7652
7653 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7654
7655 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7656 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7657
7658 2013-07-12 Leo Liu <sdl.web@gmail.com>
7659
7660 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7661
7662 2013-07-11 Glenn Morris <rgm@gnu.org>
7663
7664 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7665 (edebug-gensym-index, edebug-gensym):
7666 Remove reimplementation of cl-gensym.
7667 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7668
7669 * thumbs.el: Require cl-lib at run-time too.
7670 (thumbs-gensym-counter, thumbs-gensym):
7671 Remove reimplementation of cl-gensym.
7672 (thumbs-temp-file): Use cl-gensym.
7673
7674 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7675 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7676 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7677 (ert--union, ert--gensym-counter, ert--gensym-counter)
7678 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7679 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7680 (ert-make-test-unbound, ert--expand-should-1)
7681 (ert--expand-should, ert--should-error-handle-error)
7682 (should-error, ert--explain-equal-rec)
7683 (ert--plist-difference-explanation, ert-select-tests)
7684 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7685 Use cl-lib functions rather than reimplementations.
7686
7687 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7688
7689 * net/tramp.el (tramp-methods): Extend docstring.
7690 (tramp-connection-timeout): New defcustom.
7691 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7692 (with-tramp-progress-reporter): Simplify.
7693 (tramp-process-actions): Improve messages.
7694
7695 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7696 * net/tramp-sh.el (tramp-maybe-open-connection):
7697 Use `tramp-connection-timeout'.
7698 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7699 (Bug#14808)
7700
7701 2013-07-11 Leo Liu <sdl.web@gmail.com>
7702
7703 * ido.el (ido-read-file-name): Conform to the requirements of
7704 read-file-name. (Bug#11861)
7705 (ido-read-directory-name): Conform to the requirements of
7706 read-directory-name.
7707
7708 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7709
7710 * subr.el (delay-warning): New function.
7711
7712 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7713
7714 * simple.el (default-line-height): New function.
7715 (line-move-partial, line-move): Use it instead of computing the
7716 line height inline.
7717 (line-move-partial): Always compute ROWH. If the last line is
7718 partially-visible, but its text is completely visible, allow
7719 cursor to enter such a partially-visible line.
7720
7721 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7722
7723 Improve error messages. (Bug#14808)
7724
7725 * net/tramp.el (tramp-current-connection): New defvar, moved from
7726 tramp-sh.el.
7727 (tramp-message-show-progress-reporter-message): Remove, not
7728 needed anymore.
7729 (tramp-error-with-buffer): Show message in minibuffer.
7730 Discard input before waiting. Reset connection timestamp.
7731 (with-tramp-progress-reporter): Improve messages.
7732 (tramp-process-actions): Use progress reporter. Delete process in
7733 case of error. Improve messages.
7734
7735 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7736 Call `tramp-error-with-buffer' with vector and buffer.
7737 (tramp-current-connection): Remove.
7738 (tramp-maybe-open-connection): The car of
7739 `tramp-current-connection' are the first 3 slots of the vector.
7740
7741 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7742
7743 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7744 inside continued strings.
7745
7746 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7747
7748 Timestamp fixes for undo (Bug#14824).
7749 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7750
7751 2013-07-10 Leo Liu <sdl.web@gmail.com>
7752
7753 * files.el (require-final-newline): Allow safe local value.
7754 (Bug#14834)
7755
7756 2013-07-09 Leo Liu <sdl.web@gmail.com>
7757
7758 * ido.el (ido-read-directory-name): Handle fallback.
7759 (ido-read-file-name): Update DIR to ido-current-directory.
7760 (Bug#1516)
7761 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7762
7763 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7764
7765 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7766 "autoload". Remove "warn lower camel case" section, previously
7767 commented out. Highlight negation char. Do not highlight the
7768 target in singleton method definitions.
7769
7770 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7771
7772 * faces.el (tty-setup-hook): Declare the hook.
7773
7774 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7775 and detect when a guard/pred depends on local vars (bug#14773).
7776 (pcase--u1): Adjust caller.
7777
7778 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7779
7780 * simple.el (line-move-partial, line-move): Account for
7781 line-spacing.
7782 (line-move-partial): Avoid setting vscroll when the last
7783 partially-visible line in window is of default height.
7784
7785 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7786
7787 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7788 been used a while.
7789
7790 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7791
7792 * subr.el (read-quoted-char): Remove unused local variable `char'.
7793
7794 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7795
7796 * ediff.el (ediff-version): Version update.
7797 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7798 (ediff-merge-with-ancestor-command, ediff-directories-command)
7799 (ediff-directories3-command, ediff-merge-directories-command)
7800 (ediff-merge-directories-with-ancestor-command): New functions.
7801 All are command-line interfaces to ediff: to facilitate calling
7802 Emacs with the appropriate ediff functions invoked.
7803
7804 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7805 (viper-save-kill-buffer): Check if buffer is modified.
7806
7807 * viper.el (viper-version): Version update.
7808 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7809
7810 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7813 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7814 (viper-intercept-ESC-key): Simplify.
7815 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7816 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7817 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7818 (viper-setup-ESC-to-escape): New functions.
7819 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7820 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7821
7822 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7823
7824 * simple.el (default-font-height, window-screen-lines):
7825 New functions.
7826 (line-move, line-move-partial): Use them instead of
7827 frame-char-height and window-text-height. This makes scrolling
7828 text smoother when the buffer's default face uses a font that is
7829 different from the frame's default font.
7830
7831 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7832
7833 * files.el (write-file): Do not display confirm dialog for NS,
7834 it does its own dialog, which can't be canceled (Bug#14578).
7835
7836 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7837
7838 * simple.el (line-move-partial): Adjust the row returned by
7839 posn-at-point for the current window-vscroll. (Bug#14567)
7840
7841 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7842
7843 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7844 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7845 spaces.
7846
7847 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7848
7849 * window.el (window-state-put-stale-windows): New variable.
7850 (window--state-put-2): Save list of windows without matching buffer.
7851 (window-state-put): Remove "bufferless" windows if possible.
7852
7853 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7854
7855 * simple.el (alternatives-define): Remove leftover :group keyword.
7856 Tweak docstring.
7857
7858 2013-07-06 Leo Liu <sdl.web@gmail.com>
7859
7860 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7861 (ido-enable-virtual-buffers): New variable.
7862 (ido-buffer-internal, ido-toggle-virtual-buffers)
7863 (ido-make-buffer-list): Use it.
7864 (ido-exhibit): Support turning on and off virtual buffers
7865 automatically.
7866
7867 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7868
7869 * simple.el (alternatives-define): New macro.
7870
7871 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * subr.el (read-quoted-char): Use read-key.
7874 (sit-for): Let read-event decode tty input (bug#14782).
7875
7876 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7877
7878 * calendar/todo-mode.el: Add handling of file deletion, both by
7879 mode command and externally. Fix various related bugs.
7880 Clarify Commentary and improve some documentation strings and code.
7881 (todo-delete-file): New command.
7882 (todo-check-file): New function.
7883 (todo-show): Handle external deletion of the file we're trying to
7884 show (bug#14688). Replace called-interactively-p by an optional
7885 prefix argument to avoid problematic interaction with catch form
7886 when byte compiled (bug#14702).
7887 (todo-quit): Handle external deletion of the archive's todo file.
7888 Make sure the buffer that was visiting the archive file is still
7889 live before trying to bury it.
7890 (todo-category-completions): Handle external deletion of any
7891 category completion files.
7892 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7893 of todo files, in case of external deletion.
7894 (todo-add-file): Replace unnecessary setq by let-binding.
7895 (todo-find-archive): Check whether there are any archives.
7896 Replace unnecessary setq by let-binding.
7897 (todo-archive-done-item): Use find-file-noselect to get the
7898 archive buffer whether or not the archive already exists.
7899 Remove superfluous code. Use file size instead of buffer-file-name to
7900 check if the archive is new; if it is, update list of archives.
7901 (todo-default-todo-file): Allow nil to be a valid value for when
7902 there are no todo files.
7903 (todo-reevaluate-default-file-defcustom): Use corrected definition
7904 of todo-default-todo-file.
7905 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7906 (todo-delete-category, todo-show-categories-table)
7907 (todo-category-number): Clarify comment.
7908 (todo-filter-items): Clarify documentation string.
7909 (todo-show-current-file, todo-display-as-todo-file)
7910 (todo-reset-and-enable-done-separator): Tweak documentation string.
7911 (todo-done-separator): Make separator length window-width, since
7912 bug#2749 is now fixed.
7913
7914 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7915
7916 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7917 Support both "gvfs-monitor-dir" and "inotifywait".
7918 (tramp-sh-file-inotifywait-process-filter): Rename from
7919 `tramp-sh-file-notify-process-filter'.
7920 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7921 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7922
7923 2013-07-05 Leo Liu <sdl.web@gmail.com>
7924
7925 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7926
7927 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7928
7929 * frame.el (display-pixel-height, display-pixel-width)
7930 (display-mm-height, display-mm-width): Mention behavior on
7931 multi-monitor setups in docstrings.
7932 (w32-display-monitor-attributes-list): Declare function.
7933 (display-monitor-attributes-list): Use it.
7934
7935 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7936
7937 * filenotify.el: New package.
7938
7939 * autorevert.el (top): Require filenotify.el.
7940 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7941 instead.
7942 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7943 (auto-revert-notify-handler): Use `file-notify-*' functions.
7944
7945 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7946
7947 * net/tramp.el (tramp-file-name-for-operation):
7948 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7949
7950 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7951 for `file-notify-add-watch' and `file-notify-rm-watch'.
7952 (tramp-process-sentinel): Improve trace.
7953 (tramp-sh-handle-file-notify-add-watch)
7954 (tramp-sh-file-notify-process-filter)
7955 (tramp-sh-handle-file-notify-rm-watch)
7956 (tramp-get-remote-inotifywait): New defuns.
7957
7958 2013-07-03 Juri Linkov <juri@jurta.org>
7959
7960 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7961 call of `occur-read-primary-args' to interactive spec.
7962
7963 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7964 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7965
7966 2013-07-03 Matthias Meulien <orontee@gmail.com>
7967
7968 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7969 `Buffer-menu-multi-occur'. Add it to the menu.
7970 (Buffer-menu-mode): Document it in docstring.
7971 (Buffer-menu-multi-occur): New command. (Bug#14673)
7972
7973 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7974
7975 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7976 keywords and built-ins.
7977
7978 2013-07-03 Glenn Morris <rgm@gnu.org>
7979
7980 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7981
7982 Make info-xref checks case-sensitive by default
7983 * info.el (Info-find-node, Info-find-in-tag-table)
7984 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7985 Add option for exact case matching of nodes.
7986 * info-xref.el (info-xref): New custom group.
7987 (info-xref-case-fold): New option.
7988 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7989
7990 2013-07-03 Leo Liu <sdl.web@gmail.com>
7991
7992 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7993
7994 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7995
7996 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7997 middle of block statement initially, lower the depth. Remove
7998 FIXME comment, not longer valid. Remove middle of block statement
7999 detection, no need to do that anymore since we've been using
8000 `ruby-parse-region' here.
8001
8002 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8003
8004 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8005
8006 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8007
8008 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8009
8010 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8011
8012 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8013 (desktop-restore-in-current-display): New customization option.
8014 (desktop--excluded-frame-parameters): Add `font'.
8015 (desktop--save-frames): Rename from desktop--save-windows.
8016 (desktop--restore-in-this-display-p): New function.
8017 (desktop--make-full-frame): Remove unwanted width/height from
8018 full(width|height) frames.
8019 (desktop--restore-frames): Rename from desktop--restore-windows.
8020 Obey desktop-restore-current-display. Do not delete old frames or
8021 select a new frame unless we were able to restore at least one frame.
8022
8023 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8024
8025 * files.el (find-file-noselect): Simplify conditional expression.
8026
8027 * textmodes/remember.el (remember-append-to-file):
8028 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8029
8030 Add `remember-notes' function to store random notes across Emacs
8031 restarts.
8032 * textmodes/remember.el (remember-data-file): Add :set callback to
8033 affect notes buffer (if any).
8034 (remember-notes): New command.
8035 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8036 New defcustoms for the `remember-notes' function.
8037 (remember-notes-save-and-bury-buffer): New command.
8038 (remember-notes-mode-map): New variable.
8039 (remember-mode): New minor mode.
8040 (remember-notes--kill-buffer-query): New function.
8041 * startup.el (initial-buffer-choice): Add notes to custom type.
8042
8043 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8044
8045 * bindings.el (right-char, left-char): Don't call sit-for, this is
8046 no longer needed. Use arithmetic comparison only for numerical
8047 arguments.
8048
8049 * international/mule-cmds.el (select-safe-coding-system):
8050 Handle the case of FROM being a string correctly. (Bug#14755)
8051
8052 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8053
8054 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8055 progression on degenerate tables.
8056 (shr-rescale-image): ImageMagick animated images currently don't work.
8057
8058 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8059
8060 Some fixes and improvements for desktop frame restoration.
8061 It is still experimental and disabled by default.
8062 * desktop.el (desktop--save-windows): Put the selected frame at
8063 the head of the list.
8064 (desktop--make-full-frame): New function.
8065 (desktop--restore-windows): Try to re-select the frame that was
8066 selected upon saving. Do not abort if some frames fail to restore,
8067 just show an error message and continue. Set up maximized frames
8068 so they have default non-maximized dimensions.
8069
8070 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8071
8072 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8073 Don't start heredoc inside a string or comment.
8074
8075 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8076
8077 * bindings.el (visual-order-cursor-movement): New defcustom.
8078 (right-char, left-char): Provide visual-order cursor motion by
8079 calling move-point-visually. Update the doc strings.
8080
8081 2013-06-28 Kenichi Handa <handa@gnu.org>
8082
8083 * international/mule.el (define-coding-system): New coding system
8084 properties :inhibit-null-byte-detection,
8085 :inhibit-iso-escape-detection, and :prefer-utf-8.
8086 (set-buffer-file-coding-system): If :charset-list property of
8087 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8088 appropriate for setting.
8089
8090 * international/mule-cmds.el (select-safe-coding-system):
8091 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8092 multibyte characters, return utf-8 (or one of its siblings).
8093
8094 * international/mule-conf.el (prefer-utf-8): New coding system.
8095 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8096 files.
8097
8098 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8099
8100 * net/shr.el (shr-render-region): New function.
8101
8102 * net/eww.el: Autoload `eww-browse-url'.
8103
8104 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8105
8106 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8107 Adapt to `package-desc-version' being a list.
8108 Use `package--ac-desc-version' to retrieve version from a package
8109 archive element.
8110
8111 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8112
8113 New experimental feature to save&restore window and frame setup.
8114 * desktop.el (desktop-save-windows): New defcustom.
8115 (desktop--saved-states): New var.
8116 (desktop--excluded-frame-parameters): New defconst.
8117 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8118 (desktop--restore-windows, desktop--save-windows): New functions.
8119 (desktop-save): Call `desktop--save-windows'.
8120 (desktop-read): Call `desktop--restore-windows'.
8121
8122 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8123
8124 * net/shr.el (add-face-text-property): Remove compat definition.
8125
8126 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8127
8128 * info.el (Info-try-follow-nearest-node): Move search for footnote
8129 above search for node name to prevent missing a footnote (bug#14717).
8130
8131 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8132
8133 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8134
8135 2013-06-27 Leo Liu <sdl.web@gmail.com>
8136
8137 * net/eww.el (eww-read-bookmarks): Check file size.
8138
8139 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8142 advice--pending if newdef is nil or an autoload (bug#13820).
8143 (advice-mapc): New function.
8144
8145 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8146
8147 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8148 probably.
8149 (eww-mode-map): Add a menu bar.
8150 (eww-add-bookmark): New command.
8151 (eww-bookmark-mode): New mode and commands.
8152 (eww-add-bookmark): Remove newlines from the title.
8153 (eww-bookmark-browse): Don't bug out if it's the only window.
8154
8155 2013-06-26 Glenn Morris <rgm@gnu.org>
8156
8157 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8158 (hfy-size): Handle ttys. (Bug#14668)
8159
8160 * info-xref.el: Update for Texinfo 5 change in *note format.
8161 (info-xref-node-re, info-xref-note-re): New constants.
8162 (info-xref-check-buffer): Use info-xref-note-re.
8163
8164 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8167
8168 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8169 nil terminate the loop (bug#14718).
8170
8171 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8172
8173 * net/eww.el: Rework history traversal. When going forward/back,
8174 put these actions into the history, too, so that they can be
8175 replayed.
8176 (eww-render): Move the history reset to the correct buffer.
8177
8178 2013-06-25 Juri Linkov <juri@jurta.org>
8179
8180 * files-x.el (modify-dir-local-variable): Change the header comment
8181 in the file with directory local variables. (Bug#14692)
8182
8183 * files-x.el (read-file-local-variable-value): Add `default'.
8184 (Bug#14710)
8185
8186 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8187
8188 * net/eww.el (eww-make-unique-file-name): Create a unique file
8189 name before saving to entering `y' accidentally asynchronously.
8190
8191 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8192
8193 * net/eww.el (eww-download): New command and keystroke.
8194
8195 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8196
8197 * net/eww.el (eww-copy-page-url): Change name of command.
8198
8199 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8200 be more consistent with Info and dired.
8201
8202 * net/eww.el (eww-mode-map): Ditto.
8203
8204 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8207 packages from archives.
8208 (package-archive-contents): Change format; include obsolete packages.
8209 (package-desc): Use `dir' to mark builtin packages.
8210 (package--from-builtin): Set the `dir' field to `builtin'.
8211 (generated-autoload-file, version-control): Declare.
8212 (package-compute-transaction): Change first arg and return value to be
8213 lists of package-descs. Adjust to new package-archive-contents format.
8214 (package--add-to-archive-contents): Adjust to new
8215 package-archive-contents format.
8216 (package-download-transaction): Arg is now a list of package-descs.
8217 (package-install): If `pkg' is a package name, pass it as
8218 a requirement, so it is subject to the usual (e.g. disabled) checks.
8219 (describe-package): Accept package-desc as well.
8220 (describe-package-1): Describe a specific package-desc. Add links to
8221 other package-descs for the same package name.
8222 (package-menu-describe-package): Pass the actual package-desc.
8223 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8224 works correctly.
8225 (package-desc-status): New function.
8226 (package-menu--refresh): New function, extracted
8227 from package-menu--generate.
8228 (package-menu--generate): Use it.
8229 (package-delete): Update package-alist.
8230 (package-menu-execute): Don't call package-initialize.
8231
8232 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8233 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8234 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8235 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8236 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8237 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8238
8239 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8240
8241 * window.el (window--state-get-1): Workaround for bug#14527.
8242 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8243
8244 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8245
8246 * net/eww.el (eww-back-url): Implement the history by stashing all
8247 the data into a list.
8248 (eww-forward-url): Allow going forward in the history, too.
8249
8250 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8251
8252 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8253 for values and use read--expression for expressions (bug#14710).
8254 (read-file-local-variable): Avoid setq.
8255 (read-file-local-variable-mode): Use minor-mode-list.
8256
8257 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8258
8259 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8260 for DOI URLs.
8261
8262 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8263
8264 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8265 Update imenu-support when dialect changes.
8266
8267 2013-06-25 Leo Liu <sdl.web@gmail.com>
8268
8269 * ido.el (ido-read-internal): Allow forward slash on windows.
8270
8271 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8272
8273 * net/eww.el (eww): Start of strings is \\`, not ^.
8274
8275 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8276
8277 * net/shr.el (shr-browse-url): Fix interactive spec.
8278
8279 * net/eww.el (eww): Add a trailing slash to domain names.
8280
8281 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8282
8283 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8284
8285 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8286
8287 * net/shr.el (shr-browse-url): Use an external browser if given a
8288 prefix.
8289
8290 * net/eww.el (eww-external-browser): Move to shr.
8291
8292 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8293
8294 * net/eww.el (eww): Work more correctly for file: URLs.
8295 (eww-detect-charset): Allow quoted charsets.
8296 (eww-yank-page-url): New command and keystroke.
8297
8298 2013-06-24 Daiki Ueno <ueno@gnu.org>
8299
8300 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8301 file name of gpg executable.
8302 (epg-context-program): New function.
8303 (epg-context-home-directory): New function.
8304 (epg-context-set-program): New function.
8305 (epg-context-set-home-directory): New function.
8306 (epg--start): Use `epg-context-program' instead of
8307 'epg-gpg-program'.
8308 (epg--list-keys-1): Likewise.
8309
8310 2013-06-24 Leo Liu <sdl.web@gmail.com>
8311
8312 * ido.el (ido-read-internal): Fix bug#14620.
8313
8314 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8315
8316 * faces.el (face-documentation): Simplify.
8317 (read-face-attribute, tty-find-type, x-resolve-font-name):
8318 Use `string-match-p'.
8319 (list-faces-display): Use `string-match-p'. Simplify.
8320 (face-spec-recalc): Check face to avoid face alias loops.
8321 (read-color): Use `string-match-p' and non-capturing parenthesis.
8322
8323 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8324
8325 * net/shr.el (shr-rescale-image): Use the new
8326 :max-width/:max-height functionality.
8327
8328 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8329
8330 * net/eww.el (eww-search-prefix): New variable.
8331 (eww): Use it.
8332 (eww-external-browser): New variable.
8333 (eww-mode-map): New keystroke.
8334 (eww-browse-with-external-browser): New command.
8335
8336 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8337
8338 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8339
8340 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8341 Don't skip aligning the next header field when padding is 0;
8342 otherwise, field width is not respected unless the title is as
8343 wide as the field.
8344
8345 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * emacs-lisp/package.el (package-el-version): Remove.
8348 (package-process-define-package): Fix inf-loop.
8349 (package-install): Allow symbols as arguments again.
8350
8351 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8352
8353 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8354 add some more keyword-like methods.
8355 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8356
8357 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8358
8359 * bs.el (bs-buffer-show-mark): Make defvar-local.
8360 (bs-mode): Use setq-local.
8361
8362 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8363 (emacs-lock--try-unlocking): Make defvar-local.
8364
8365 2013-06-22 Glenn Morris <rgm@gnu.org>
8366
8367 * play/cookie1.el (cookie-apropos): Minor simplification.
8368
8369 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8370
8371 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8372
8373 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8374 `regexp-opt', it breaks the build during dumping.
8375
8376 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8377
8378 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8379 Highlight keyword-like methods on Kernel and Module with
8380 font-lock-builtin-face.
8381 (auto-mode-alist): Consolidate different entries into one regexp
8382 and add more *file-s.
8383
8384 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8385
8386 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8387
8388 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8389 (diary-entry): Use it in the action of this button type instead of
8390 diary-goto-entry.
8391
8392 * calendar/todo-mode.el: New version.
8393 (todo-add-category): Append new category to end of file and give
8394 it the highest number, instead of putting it at the beginning and
8395 giving it 0. Incorporate noninteractive functionality.
8396 (todo-forward-category): Adapt to 1-based category numbering.
8397 Allow skipping over archived categories.
8398 (todo-backward-category): Derive from todo-forward-category.
8399 (todo-backward-item, todo-forward-item): Make noninteractive and
8400 delegate interactive part to new commands. Make sensitive to done items.
8401 (todo-categories): Make value an alist of category names and
8402 vectors of item counts.
8403 (todo-category-beg): Make a defconst.
8404 (todo-category-number): Use 1 instead of 0 as initial value.
8405 (todo-category-select): Make sensitive to overlays, optional item
8406 highlighting and done items.
8407 (todo-delete-item): Make sensitive to overlays and marked and done items.
8408 (todo-edit-item): Make sensitive to overlays and editing of
8409 date/time header optional. Add format checks.
8410 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8411 no-op if point is not on an item. Advertise using todo-edit-quit.
8412 (todo-edit-mode): Make sensitive to new format, font-locking, and
8413 multiple todo files.
8414 (todo-insert-item, todo-insert-item-here): Derive from
8415 todo-basic-insert-item and extend functionality.
8416 (todo-item-end, todo-item-start): Make sensitive to done items.
8417 (todo-item-string): Don't return text properties. Restore point.
8418 (todo-jump-to-category): Make sensitive to multiple todo files and
8419 todo archives. Use extended category completion.
8420 (todo-lower-item, todo-raise-item): Rename to *-priority and
8421 derive from todo-set-item-priority.
8422 (todo-mode): Derive from special-mode. Make sensitive to new
8423 format, font-locking and multiple todo files. Make read-only.
8424 (todo-mode-map): Don't suppress digit keys, so they can supply
8425 prefix arguments. Add many new key bindings.
8426 (todo-prefix): Insert as an overlay instead of file text.
8427 Change semantics from diary date expression to purely visual mark.
8428 (todo-print): Rename to todo-print-buffer. Make buffer display
8429 features printable. Remove option to restrict number of items
8430 printed. Add option to print to file.
8431 (todo-print-function): Rename to todo-print-buffer-function.
8432 (todo-quit): Extend to handle exiting new todo modes.
8433 (todo-remove-item): Make sensitive to overlays.
8434 (todo-save): Extend to buffers of filtered items.
8435 (todo-show): Make sensitive to done items, multiple todo files and
8436 new todo modes. Offer to convert legacy todo file before creating
8437 first new todo file.
8438 (todo-show-priorities): Rename to todo-top-priorities.
8439 Change semantics of value 0.
8440 (todo-top-priorities): Rename to todo-filter-top-priorities,
8441 derive from todo-filter-items and extend functionality.
8442 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8443 and extend functionality to other types of filtered items.
8444 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8445 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8446 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8447 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8448 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8449 (todo-edit-mode-hook, todo-entry-prefix-function)
8450 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8451 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8452 (todo-initials, todo-insert-threshold, todo-item-string-start)
8453 (todo-line-string, todo-menu, todo-mode-hook)
8454 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8455 (todo-print-priorities, todo-remove-separator)
8456 (todo-save-top-priorities-too, todo-string-count-lines)
8457 (todo-string-multiline-p, todo-time-string-format)
8458 (todo-tmp-buffer-name): Remove.
8459 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8460 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8461 (todo-edit-category-diary-inclusion)
8462 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8463 (todo-edit-file, todo-edit-item-date-day)
8464 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8465 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8466 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8467 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8468 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8469 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8470 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8471 (todo-filter-top-priorities-multifile, todo-find-archive)
8472 (todo-find-filtered-items-file, todo-go-to-source-item)
8473 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8474 (todo-jump-to-archive-category, todo-lower-category)
8475 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8476 (todo-move-category, todo-move-item, todo-next-button)
8477 (todo-next-item, todo-padded-string, todo-powerset)
8478 (todo-previous-button, todo-previous-item)
8479 (todo-print-buffer-to-file, todo-raise-category)
8480 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8481 (todo-set-category-number, todo-set-item-priority)
8482 (todo-set-top-priorities-in-category)
8483 (todo-set-top-priorities-in-file, todo-show-categories-table)
8484 (todo-sort-categories-alphabetically-or-numerically)
8485 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8486 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8487 (todo-toggle-item-header, todo-toggle-item-highlighting)
8488 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8489 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8490 (todo-unarchive-items, todo-unmark-category): New commands.
8491 (todo-absolute-file-name, todo-add-to-buffer-list)
8492 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8493 (todo-basic-insert-item, todo-category-completions)
8494 (todo-category-number, todo-category-string-matcher-1)
8495 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8496 (todo-check-format, todo-clear-matches)
8497 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8498 (todo-current-category, todo-date-string-matcher)
8499 (todo-define-insertion-command, todo-diary-expired-matcher)
8500 (todo-diary-goto-entry, todo-diary-item-p)
8501 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8502 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8503 (todo-done-item-section-p, todo-done-separator)
8504 (todo-done-string-matcher, todo-files, todo-filter-items)
8505 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8506 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8507 (todo-insert-category-line, todo-insert-item-from-calendar)
8508 (todo-insert-sort-button, todo-insert-with-overlays)
8509 (todo-insertion-command-name, todo-insertion-key-bindings)
8510 (todo-label-to-key, todo-longest-category-name-length)
8511 (todo-make-categories-list, todo-mode-external-set)
8512 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8513 (todo-modes-set-3, todo-multiple-filter-files)
8514 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8515 (todo-read-category, todo-read-date, todo-read-dayname)
8516 (todo-read-file-name, todo-read-time)
8517 (todo-reevaluate-category-completions-files-defcustom)
8518 (todo-reevaluate-default-file-defcustom)
8519 (todo-reevaluate-filelist-defcustoms)
8520 (todo-reevaluate-filter-files-defcustom)
8521 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8522 (todo-reset-done-separator, todo-reset-done-separator-string)
8523 (todo-reset-done-string, todo-reset-global-current-todo-file)
8524 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8525 (todo-reset-prefix, todo-set-categories)
8526 (todo-set-date-from-calendar, todo-set-show-current-file)
8527 (todo-set-top-priorities, todo-short-file-name)
8528 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8529 (todo-total-item-counts, todo-update-buffer-list)
8530 (todo-update-categories-display, todo-update-categories-sexp)
8531 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8532 New functions.
8533 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8534 New major modes.
8535 (todo-categories, todo-display, todo-edit, todo-faces)
8536 (todo-filtered): New defgroups.
8537 (todo-archived-only, todo-button, todo-category-string, todo-date)
8538 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8539 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8540 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8541 (todo-add-item-if-new-category, todo-always-add-time-string)
8542 (todo-categories-align, todo-categories-archived-label)
8543 (todo-categories-category-label, todo-categories-diary-label)
8544 (todo-categories-done-label, todo-categories-number-separator)
8545 (todo-categories-todo-label, todo-categories-totals-label)
8546 (todo-category-completions-files, todo-completion-ignore-case)
8547 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8548 (todo-done-separator-string, todo-done-string)
8549 (todo-files-function, todo-filter-done-items, todo-filter-files)
8550 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8551 (todo-initial-category, todo-initial-file, todo-item-mark)
8552 (todo-legacy-date-time-regexp, todo-mode-line-function)
8553 (todo-nondiary-marker, todo-number-prefix)
8554 (todo-print-buffer-function, todo-show-current-file)
8555 (todo-show-done-only, todo-show-first, todo-show-with-done)
8556 (todo-skip-archived-categories, todo-top-priorities-overrides)
8557 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8558 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8559 New defcustoms.
8560 (todo-category-done, todo-date-pattern, todo-date-string-start)
8561 (todo-diary-items-buffer, todo-done-string-start)
8562 (todo-filtered-items-buffer, todo-item-start)
8563 (todo-month-abbrev-array, todo-month-name-array)
8564 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8565 (todo-top-priorities-buffer): New defconsts.
8566 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8567 (todo-categories-with-marks, todo-category-string-face)
8568 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8569 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8570 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8571 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8572 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8573 (todo-font-lock-keywords, todo-global-current-todo-file)
8574 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8575 (todo-insertion-commands-args)
8576 (todo-insertion-commands-args-genlist)
8577 (todo-insertion-commands-names, todo-insertion-map)
8578 (todo-key-bindings-t, todo-key-bindings-t+a)
8579 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8580 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8581 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8582 (todo-visited): New variables.
8583
8584 2013-06-21 Glenn Morris <rgm@gnu.org>
8585
8586 * play/cookie1.el (cookie-apropos): Add optional display argument.
8587 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8588 (psychoanalyze-pinhead): Use cookie-doctor.
8589
8590 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8591
8592 * emacs-lisp/package.el (tar-get-file-descriptor)
8593 (tar--extract): Declare.
8594
8595 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8596
8597 Extend flymake's warning predicate to be a function (bug#14217).
8598 * progmodes/flymake.el (flymake-warning-predicate): New.
8599 (flymake-parse-line): Use it.
8600 (flymake-warning-re): Make obsolete alias to
8601 `flymake-warning-predicate'.
8602
8603 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8606 (package-obsolete-list): Remove.
8607 (package-activate): Remove min-version argument. Add `force' argument.
8608 Adjust to new package-alist format.
8609 (package-mark-obsolete): Remove.
8610 (package-unpack): Force reload of the package's autoloads.
8611 (package-installed-p): Check builtins if the installed package is not
8612 recent enough.
8613 (package-initialize): Don't reset package-obsolete-list.
8614 Don't specify which package version to activate.
8615 (package-process-define-package, describe-package-1)
8616 (package-menu--generate): Adjust to new package-alist format.
8617
8618 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8619
8620 * allout-widgets.el (allout-widgets-mode-off)
8621 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8622 (allout-widgets-post-command-business)
8623 (allout-widgets-after-copy-or-kill-function)
8624 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8625 (allout-decorate-item-and-context)
8626 (allout-graphics-modification-handler): Fix typos in docstrings.
8627 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8628
8629 * cmuscheme.el (scheme-start-file): Doc fix.
8630 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8631 (scheme-input-filter): Use `string-match-p'.
8632
8633 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8634
8635 * dired-x.el: Use Dired consistently in docstrings.
8636
8637 * dired.el: Use Dired consistently in docstrings.
8638 (dired-readin, dired-mode): Use `setq-local'.
8639 (dired-switches-alist): Make defvar-local.
8640 (dired-buffers-for-dir): Use `zerop'.
8641 (dired-safe-switches-p, dired-switches-escape-p)
8642 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8643 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8644 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8645 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8646 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8647 (dired-toggle-marks, dired-mark-files-containing-regexp)
8648 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8649 (dired-flag-auto-save-files, dired-flag-backup-files):
8650 Use `looking-at-p'.
8651 (dired-mark-files-regexp, dired-build-subdir-alist):
8652 Use `string-match-p', `looking-at-p'.
8653
8654 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8655 (direct-print-region-helper): Use `string-match-p'.
8656
8657 2013-06-21 Leo Liu <sdl.web@gmail.com>
8658
8659 * comint.el (comint-redirect-results-list-from-process):
8660 Fix infinite loop.
8661
8662 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8663
8664 * net/eww.el (eww-update-header-line-format): Quote % characters.
8665
8666 2013-06-21 Glenn Morris <rgm@gnu.org>
8667
8668 * play/cookie1.el (cookie): New custom group.
8669 (cookie-file): New option.
8670 (cookie-check-file): New function.
8671 (cookie): Make it interactive. Make start and end messages optional.
8672 Interactively, display the result. Default to cookie-file.
8673 (cookie-insert): Default to cookie-file.
8674 (cookie-snarf): Make start and end messages optional.
8675 Default to cookie-file. Use with-temp-buffer.
8676 (cookie-read): Rename from read-cookie.
8677 Make start and end messages optional. Default to cookie-file.
8678 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8679 Do not autoload it.
8680 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8681 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8682
8683 2013-06-21 Leo Liu <sdl.web@gmail.com>
8684
8685 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8686
8687 2013-06-21 Glenn Morris <rgm@gnu.org>
8688
8689 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8690
8691 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8692 Daniel Hackney <dan@haxney.org>
8693
8694 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8695 Consolidate the single-file vs tarball code.
8696 (package-desc-suffix): New function.
8697 (package-desc-full-name): Don't bother inlining it.
8698 (package-load-descriptor): Return the new package-desc.
8699 (package-mark-obsolete): Remove unused arg `package'.
8700 (package-unpack): Make it work for single files as well.
8701 Make it update package-alist.
8702 (package--make-autoloads-and-stuff): Rename from
8703 package--make-autoloads-and-compile. Don't compile any more.
8704 (package--compile): New function.
8705 (package-generate-description-file): New function, extracted from
8706 package-unpack-single.
8707 (package-unpack-single): Remove.
8708 (package--with-work-buffer): Add indentation and debugging info.
8709 (package-download-single): Remove.
8710 (package-install-from-archive): Rename from package-download-tar, make
8711 it take a pkg-desc, and make it work for single files as well.
8712 (package-download-transaction): Simplify.
8713 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8714 external tar program.
8715 (package-install-from-buffer): Remove `pkg-desc' argument.
8716 Use package-tar-file-info for tar-mode buffers.
8717 (package-install-file): Simplify accordingly.
8718 (package-archive-base): Change to take a pkg-desc.
8719 * tar-mode.el (tar--check-descriptor): New function, extracted from
8720 tar-get-descriptor.
8721 (tar-get-descriptor): Use it.
8722 (tar-get-file-descriptor): New function.
8723 (tar--extract): New function, extracted from tar-extract.
8724 (tar--extract): Use it.
8725 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8726 case the summary uses non-ascii. Adjust to new calling convention of
8727 package-tar-file-info.
8728
8729 2013-06-21 Leo Liu <sdl.web@gmail.com>
8730
8731 * comint.el (comint-redirect-results-list-from-process):
8732 Fix random delay. (Bug#14681)
8733
8734 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8735
8736 * profiler.el (profiler-format-number): Use log, not log10.
8737
8738 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8739
8740 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8741
8742 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8743
8744 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8745 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8746 yet available.
8747 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8748 (AUTOGENEL): ... here.
8749 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8750 (cl--defsubst-expand): Use it.
8751
8752 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8753
8754 * subr.el (log10): Move here from C code, and declare as obsolete.
8755 All uses of (log10 X) replaced with (log X 10).
8756
8757 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8758
8759 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8760 Declare with `defvar-local'.
8761 (tabulated-list-use-header-line, tabulated-list-entries)
8762 (tabulated-list-padding, tabulated-list-printer)
8763 (tabulated-list-sort-key): Declare with `defvar-local'.
8764 (tabulated-list-init-header, tabulated-list-print-fake-header):
8765 Use `setq-local'.
8766
8767 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8768
8769 * arc-mode.el (archive-mode): Add `archive-write-file' to
8770 `write-contents-functions' also for remote files. (Bug#14652)
8771
8772 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8773
8774 * cus-edit.el (custom-commands): Fix typos.
8775 (custom-display): Fix tooltip text.
8776 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8777 Fix typos in docstrings.
8778 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8779 (custom-unlispify-menu-entry, custom-magic-value-create)
8780 (custom-add-see-also, custom-group-value-create): Use ?\s.
8781 (custom-guess-type, customize-apropos, editable-field)
8782 (custom-face-value-create): Use `string-match-p'.
8783 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8784
8785 * custom.el (custom-load-symbol): Use `string-match-p'.
8786
8787 * ansi-color.el: Convert to lexical binding.
8788 (ansi-colors): Fix URL.
8789 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8790 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8791 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8792
8793 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8794
8795 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8796
8797 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8798
8799 2013-06-19 Tom Tromey <tromey@redhat.com>
8800
8801 * net/eww.el (eww-top-url): Remove.
8802 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8803 (eww-render): Set new variables. Don't set eww-top-url.
8804 (eww-handle-link): Handle "prev", "home", and "contents".
8805 Downcase the rel text.
8806 (eww-top-url): Choose best top URL.
8807
8808 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8809
8810 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8811 relying in widget.el. Using widget.el leads to too many
8812 user interface inconsistencies.
8813 (eww-self-insert): Implement entering commands in text fields.
8814 (eww-process-text-input): New function to make text input field editing
8815 work.
8816 (eww-submit): Rewrite to use the new-style form methods.
8817 (eww-select-display): Display the correct selected item.
8818 (eww-change-select): Implement changing the select value.
8819 (eww-toggle-checkbox): Implement radio/checkboxes.
8820 (eww-update-field): Fix compilation error.
8821 (eww-tag-textarea): Implement <textarea>.
8822
8823 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8824 we don't shadow mode-specific bindings.
8825
8826 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8827 nothing to push.
8828
8829 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8830
8831 2013-06-19 Glenn Morris <rgm@gnu.org>
8832
8833 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8834
8835 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8836
8837 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8838 not needed.
8839
8840 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8841
8842 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8843
8844 * net/browse-url.el (browse-url-browser-function):
8845 `eww-browse-url' has the right calling signature, `eww' does not.
8846
8847 2013-06-19 Glenn Morris <rgm@gnu.org>
8848
8849 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8850 Only eval autoloaded macros.
8851 (byte-compile-autoload): Only give the macro warning for macros.
8852
8853 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8854 (ps-underlined-faces): Declare.
8855
8856 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8857 (speedbar-add-supported-extension): Declare.
8858
8859 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8860 Don't include a date stamp in the header of the generated file;
8861 it leads to needless differences between output files.
8862
8863 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8864
8865 * net/secrets.el (secrets-struct-secret-content-type):
8866 Replace check of introspection data by a test call of "CreateItem".
8867 Some servers do not offer introspection.
8868
8869 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8870
8871 * electric.el (electric-pair-mode): Improve interaction with
8872 electric-layout-mode.
8873 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8874 (electric-pair-syntax): Use text-mode-syntax-table in comments
8875 and strings.
8876 (electric-pair--insert): New function.
8877 (electric-pair-post-self-insert-function): Use it and
8878 electric--after-char-pos.
8879
8880 2013-06-19 Leo Liu <sdl.web@gmail.com>
8881
8882 * progmodes/octave.el (octave-help): Fix regexp.
8883
8884 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8885
8886 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8887 (shr-table-horizontal-line): Allow nil as a value, and change the
8888 default.
8889 (shr-insert-table-ruler): Respect the nil value.
8890
8891 2013-06-18 Tom Tromey <tromey@barimba>
8892
8893 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8894 New defvars.
8895 (eww-open-file): New defun.
8896 (eww-render): Initialize new variables.
8897 (eww-display-html): Handle "link" and "a".
8898 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8899 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8900 (eww-back-url): Rename from eww-previous-url.
8901 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8902 New defuns.
8903
8904 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8905
8906 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8907 Distinguish ternary operator tokens from slash symbol and slash
8908 char literal.
8909
8910 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8911
8912 Convert symbol prettification into minor mode and global minor mode.
8913
8914 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8915 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8916 (prettify-symbols--keywords): Rename from
8917 `prog-prettify-symbols-alist' and make a local defvar.
8918 (prettify-symbols--compose-symbol): Rename from
8919 `prog--prettify-font-lock-compose-symbol'.
8920 (prettify-symbols--make-keywords): Rename from
8921 `prog-prettify-font-lock-symbols-keywords' and simplify.
8922 (prog-prettify-install): Remove.
8923 (prettify-symbols-mode): New minor mode, based on
8924 `prog-prettify-install'.
8925 (turn-on-prettify-symbols-mode): New function.
8926 (global-prettify-symbols-mode): New globalized minor mode.
8927
8928 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8929 * progmodes/cfengine.el (cfengine3-mode):
8930 * progmodes/perl-mode.el (perl-mode): Don't call
8931 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8932
8933 2013-06-18 Juri Linkov <juri@jurta.org>
8934
8935 * files-x.el (modify-file-local-variable-message): New function.
8936 (modify-file-local-variable)
8937 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8938 and call `modify-file-local-variable-message' when it's non-nil.
8939 (add-file-local-variable, delete-file-local-variable)
8940 (add-file-local-variable-prop-line)
8941 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8942 and use it. (Bug#9820)
8943
8944 2013-06-18 Juri Linkov <juri@jurta.org>
8945
8946 * emulation/vi.el (vi-shell-op):
8947 * emulation/vip.el (vip-execute-com, ex-command):
8948 * emulation/viper-cmd.el (viper-exec-bang):
8949 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8950 the call of `shell-command-on-region'. (Bug#14637)
8951
8952 * simple.el (shell-command-on-region): Doc fix.
8953
8954 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8955
8956 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8957 (bug#14633).
8958
8959 2013-06-18 Glenn Morris <rgm@gnu.org>
8960
8961 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8962
8963 * newcomment.el (comment-search-forward, comment-search-backward):
8964 Doc fix. (Bug#14376)
8965
8966 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8967
8968 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8969 (buffer-face-mode-invoke): Doc fix.
8970
8971 2013-06-18 Matthias Meulien <orontee@gmail.com>
8972
8973 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8974 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8975
8976 2013-06-18 Glenn Morris <rgm@gnu.org>
8977
8978 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8979 Replace obsolete function generic-make-keywords with its expansion.
8980
8981 * progmodes/python.el (ffap-alist): Declare.
8982
8983 * textmodes/reftex.el (bibtex-mode-map): Declare.
8984
8985 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8988 (package-unpack, package-unpack-single): Return the pkg-dir.
8989 (package-download-transaction): Use it to update package-alist.
8990
8991 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8992
8993 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8994 possible choice.
8995
8996 2013-06-17 Juri Linkov <juri@jurta.org>
8997
8998 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8999
9000 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9001
9002 * emacs-lisp/package.el (package-load-descriptor):
9003 Remove `with-syntax-table' call, `read' doesn't need it.
9004 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9005
9006 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9007
9008 * startup.el (command-line): Expand package name returned by
9009 `package--description-file' (bug#14639).
9010
9011 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9012
9013 * emacs-lisp/package.el (package-load-descriptor): Do not call
9014 `emacs-lisp-mode', just use its syntax table.
9015
9016 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9017
9018 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9019 `font-lock-extra-managed-props' if any prettifying keyword is added.
9020 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9021 (prog-mode): Use `setq-local'.
9022
9023 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9024
9025 * international/characters.el (standard-case-table): Set syntax of ?»
9026 and ?« to punctuation.
9027
9028 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9029
9030 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9031 Save relevant match data before calling `syntax-ppss' (bug#14595).
9032
9033 2013-06-15 Juri Linkov <juri@jurta.org>
9034
9035 * files-x.el (modify-file-local-variable-prop-line): Add local
9036 variables to the end of the existing comment on the first line.
9037 Use `file-auto-mode-skip' to skip interpreter magic line,
9038 and also skip XML declaration.
9039
9040 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * startup.el (package--builtin-versions): New var.
9043 (package-subdirectory-regexp): Remove.
9044 (package--description-file): Hard code its value instead.
9045
9046 * emacs-lisp/package.el: Don't activate packages older than builtin.
9047 (package-obsolete-list): Rename from package-obsolete-alist, and make
9048 it into a simple list of package-desc.
9049 (package-strip-version): Remove.
9050 (package-built-in-p): Use package--builtin-versions.
9051 (package-mark-obsolete): Simplify.
9052 (package-process-define-package): Mark it obsolete if older than the
9053 builtin version.
9054 (package-handle-response): Use line-end-position.
9055 (package-read-archive-contents, package--download-one-archive):
9056 Simplify.
9057 (package--add-to-archive-contents): Skip if older than the builtin or
9058 installed version.
9059 (package-menu-describe-package): Fix last change.
9060 (package-list-unversioned): New var.
9061 (package-menu--generate): Use it.
9062
9063 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9064 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9065 (autoload-builtin-package-versions): New variable.
9066 (autoload-generate-file-autoloads): Use them.
9067 Remove the list of autoloaded functions/macros from the
9068 (autoload...) comments.
9069
9070 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9071
9072 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9073
9074 * simple.el (line-move-partial): Don't jump to the next screen
9075 line as soon as it becomes visible. Instead, continue enlarging
9076 the vscroll until the portion of a tall screen line that's left on
9077 display is about the height of the frame's default font.
9078 (Bug#14567)
9079
9080 2013-06-15 Glenn Morris <rgm@gnu.org>
9081
9082 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9083 compilation-error-regexp-alist void, or local while let-bound.
9084
9085 * progmodes/make-mode.el (makefile-mode-syntax-table):
9086 Treat "=" as punctuation. (Bug#14614)
9087
9088 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9089
9090 * help-fns.el (describe-variable):
9091 Add extra line for permanent-local variables.
9092
9093 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9094
9095 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9096 Add export, import, library. (Bug#9164)
9097 (library): Set indent function.
9098
9099 2013-06-14 Glenn Morris <rgm@gnu.org>
9100
9101 * term/xterm.el (xterm--query):
9102 Stop after first matching handler. (Bug#14615)
9103
9104 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9105
9106 Add support for dired in saveplace.
9107 * dired.el (dired-initial-position-hook): New variable.
9108 (dired-initial-position): Call hook to place cursor position.
9109 * saveplace.el (save-place-to-alist): Add dired position.
9110 (save-place-dired-hook): New function.
9111
9112 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9113
9114 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9115 through a symbol rather than letrec.
9116
9117 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9118 (package-desc): Add `dir' field.
9119 (package-desc-full-name): New function.
9120 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9121 (package-maybe-load-descriptor): Remove.
9122 (package-load-all-descriptors): Just call package-load-descriptor.
9123 (package--disabled-p): New function.
9124 (package-desc-vers, package-desc-doc): Remove aliases.
9125 (package--dir): Remove function.
9126 (package-activate): Check if a package is disabled.
9127 (package-process-define-package): New function, extracted from
9128 define-package.
9129 (define-package): Turn into a place holder.
9130 (package-unpack-single, package-tar-file-info):
9131 Use package--description-file.
9132 (package-compute-transaction): Use package--disabled-p.
9133 (package-download-transaction): Don't call
9134 package-maybe-load-descriptor since they're all loaded anyway.
9135 (package-install): Change argument to be a pkg-desc.
9136 (package-delete): Use a single pkg-desc argument.
9137 (describe-package-1): Use package-desc-dir instead of package--dir.
9138 Use package-desc property instead of package-symbol.
9139 (package-install-button-action): Adjust accordingly.
9140 (package--push): Rewrite.
9141 (package-menu--print-info): Adjust accordingly. Change the ID format
9142 to be a pkg-desc.
9143 (package-menu-describe-package, package-menu-get-status)
9144 (package-menu--find-upgrades, package-menu-mark-upgrades)
9145 (package-menu-execute, package-menu--name-predicate):
9146 Adjust accordingly.
9147 * startup.el (package--description-file): New function.
9148 (command-line): Use it.
9149 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9150 Use package-desc-version.
9151
9152 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9153 (byte-compile-preprocess): Use it.
9154 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9155 can't quite recognize.
9156 (byte-compile-add-to-list): Remove.
9157 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9158 (cconv-closure-convert): Add assertion.
9159
9160 * emacs-lisp/map-ynp.el: Use lexical-binding.
9161 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9162 Factor out some repeated code.
9163
9164 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9165
9166 * subr.el (with-eval-after-load): New macro.
9167 (eval-after-load): Allow form to be a function.
9168 take advantage of lexical-binding.
9169 (do-after-load-evaluation): Use dolist and adjust to new format.
9170 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9171
9172 2013-06-13 Juri Linkov <juri@jurta.org>
9173
9174 * replace.el (perform-replace): Display "symbol " and other search
9175 modes from `isearch-message-prefix' in the *Help* buffer.
9176
9177 * isearch.el (isearch-query-replace): Add " symbol" and other
9178 possible search modes from `isearch-message-prefix' to the prompt.
9179 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9180 when reading a regexp to collect.
9181
9182 2013-06-13 Juri Linkov <juri@jurta.org>
9183
9184 * isearch.el (word-search-regexp): Match whitespace if the search
9185 string begins or ends in whitespace. The LAX arg is applied to
9186 both ends of the search string. Use `regexp-quote' and explicit
9187 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9188 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9189 boundaries are replaced with symbol boundaries, and characters
9190 between symbols match non-word non-symbol syntax. (Bug#14602)
9191
9192 2013-06-13 Juri Linkov <juri@jurta.org>
9193
9194 * isearch.el (isearch-del-char): Don't exceed the length of
9195 `isearch-string' by the prefix arg. (Bug#14563)
9196
9197 2013-06-13 Juri Linkov <juri@jurta.org>
9198
9199 * isearch.el (isearch-yank-word, isearch-yank-line)
9200 (isearch-char-by-name, isearch-quote-char)
9201 (isearch-printing-char, isearch-process-search-char):
9202 Add optional count prefix arg. (Bug#14563)
9203
9204 * international/isearch-x.el
9205 (isearch-process-search-multibyte-characters):
9206 Add optional count prefix arg.
9207
9208 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9209
9210 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9211 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9212 lexical-binding.
9213
9214 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9215
9216 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9217
9218 2013-06-13 Glenn Morris <rgm@gnu.org>
9219
9220 * startup.el (tty-handle-args):
9221 Don't just discard "--" and anything after. (Bug#14608)
9222
9223 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9224
9225 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9226
9227 Implement changes in Secret Service API. Make it backward compatible.
9228 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9229 (secrets-create-item): Use it. Prefix properties with interface.
9230
9231 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9232
9233 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9234 (term-emulate-terminal): Respect term-suppress-hard-newline.
9235
9236 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9237
9238 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9239 Only remove a `thumb-file' overlay. (Bug#14548)
9240
9241 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9242
9243 * mail/reporter.el (reporter-submit-bug-report):
9244 Handle missing package-name. (Bug#14600)
9245
9246 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9247
9248 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9249 (reftex-citation-prompt, reftex-default-bibliography)
9250 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9251 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9252 (reftex-bib-sort-author, reftex-bib-sort-year)
9253 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9254 (reftex-extract-bib-entries-from-thebibliography)
9255 (reftex-get-bibkey-default, reftex-get-bib-names)
9256 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9257 (reftex-format-bib-entry, reftex-parse-bibitem)
9258 (reftex-format-bibitem, reftex-do-citation)
9259 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9260 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9261 (reftex-insert-bib-matches, reftex-format-citation)
9262 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9263 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9264 existing comments into docstrings.
9265
9266 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9267
9268 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9269
9270 2013-06-12 Andreas Schwab <schwab@suse.de>
9271
9272 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9273 for auto-save files.
9274
9275 2013-06-12 Glenn Morris <rgm@gnu.org>
9276
9277 * ido.el (ido-delete-ignored-files): Remove.
9278 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9279 Go back to calling ido-ignore-item-p directly.
9280
9281 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9282
9283 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9284
9285 * ido.el (ido-delete-ignored-files): New function,
9286 split from ido-make-file-list-1.
9287 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9288 (ido-make-file-list-1): Use ido-delete-ignored-files.
9289
9290 2013-06-12 Leo Liu <sdl.web@gmail.com>
9291
9292 * progmodes/octave.el (inferior-octave-startup)
9293 (inferior-octave-completion-table)
9294 (inferior-octave-track-window-width-change)
9295 (octave-eldoc-function-signatures, octave-help)
9296 (octave-find-definition): Use single quoted strings.
9297 (inferior-octave-startup-args): Change default value.
9298 (inferior-octave-startup): Do not hard code "-i" and
9299 "--no-line-editing".
9300 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9301 (inferior-octave-directory-tracker): Use it.
9302 (octave-goto-function-definition): Robustify.
9303 (octave-help): Support highlighting operators in 'See also'.
9304 (octave-find-definition): Find subfunctions only in Octave mode.
9305
9306 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * help-fns.el (help-fns--compiler-macro): If the handler function is
9309 named, then put a link to it.
9310 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9311 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9312 (cl-typep): Use it.
9313 (cl-eval-when): Simplify debug spec.
9314 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9315 compiler-macro function instead of setting `compiler-macro-file'.
9316
9317 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9318
9319 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9320 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9321
9322 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9323 Daniel Hackney <dan@haxney.org>
9324
9325 First part of Daniel Hackney's patch to package.el.
9326 * emacs-lisp/package.el: Use defstruct.
9327 (package-desc): New, main struct.
9328 (package--bi-desc, package--ac-desc): New structs, used to describe the
9329 format in external files.
9330 (package-desc-vers): Replace with package-desc-version accessor.
9331 (package-desc-doc): Replace with package-desc-summary accessor.
9332 (package-activate-1): Remove `package' arg since the pkg-vec now
9333 includes the name.
9334 (define-package): Use package-desc-from-define.
9335 (package-unpack-single): Change file-name arg to be a symbol.
9336 (package--add-to-archive-contents): Use package-desc-create and new
9337 accessor functions to package--ac-desc.
9338 (package-buffer-info, package-tar-file-info): Return a package-desc.
9339 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9340 arg to be a package-desc.
9341 (package-install-file): Adjust accordingly. Use \' to match EOS.
9342 (package--from-builtin): New function.
9343 (describe-package-1, package-menu--generate): Use it.
9344 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9345 (package-generate-autoloads): Idem and return the name of the file.
9346 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9347 Change pkg-info arg to be a package-desc.
9348 Use package-make-ac-desc.
9349 (package-upload-file): Use \' to match EOS.
9350 * finder.el (finder-compile-keywords): Use package-make-builtin.
9351
9352 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9353
9354 * vc/vc.el (vc-deduce-fileset): Change error message.
9355 (vc-read-backend): New function.
9356 (vc-next-action): Use it.
9357
9358 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9359
9360 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9361 (prolog-font-lock-keywords): Use regexp-opt instead.
9362 Don't manually highlight strings.
9363 (prolog-mode-variables): Simplify comment-start-skip.
9364 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9365
9366 * emacs-lisp/generic.el (generic--normalise-comments)
9367 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9368 (generic-mode-set-comments): Use them.
9369 (generic-bracket-support): Use setq-local.
9370 (generic-make-keywords-list): Declare obsolete.
9371
9372 2013-06-11 Glenn Morris <rgm@gnu.org>
9373
9374 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9375 Prettify after setting font-lock-defaults. (Bug#14574)
9376
9377 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9378
9379 * replace.el (query-replace, occur-read-regexp-defaults-function)
9380 (replace-search):
9381 * subr.el (declare-function, number-sequence, local-set-key)
9382 (substitute-key-definition, locate-user-emacs-file)
9383 (with-silent-modifications, split-string, eval-after-load):
9384 Fix typos, remove unneeded backslashes and reflow some docstrings.
9385
9386 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9389 default for Elisp files.
9390
9391 2013-06-11 Glenn Morris <rgm@gnu.org>
9392
9393 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9394 although define-derived-mode was doing this anyway. (Bug#14583)
9395
9396 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9397
9398 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9399 Fix make-variable-buffer-local call to refer to the correct variable.
9400
9401 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9402
9403 * eshell/em-term.el (eshell-visual-commands)
9404 (eshell-visual-subcommands, eshell-visual-options):
9405 Add summary line to docstrings. Add cross-references.
9406
9407 2013-06-10 Glenn Morris <rgm@gnu.org>
9408
9409 * epa.el (epa-read-file-name): New function. (Bug#14510)
9410 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9411
9412 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9413
9414 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9415 output redirection to be ignored with visual commands.
9416
9417 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9418
9419 * eshell/em-term.el (eshell-visual-command-p): New function.
9420 (eshell-term-initialize): Move long lambda to separate function
9421 eshell-visual-command-p.
9422 * eshell/em-dirs.el (eshell-dirs-initialise):
9423 * eshell/em-script.el (eshell-script-initialize):
9424 Add missing #' to lambda.
9425
9426 2013-06-08 Leo Liu <sdl.web@gmail.com>
9427
9428 * progmodes/octave.el (octave-add-log-current-defun): New function.
9429 (octave-mode): Set add-log-current-defun-function.
9430 (octave-goto-function-definition): Do not move point if not found.
9431 (octave-find-definition): Enhance to try subfunctions first.
9432
9433 2013-06-08 Glenn Morris <rgm@gnu.org>
9434
9435 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9436 (byte-compile-backward-char, byte-compile-backward-word):
9437 Improve previous change, to handle non-explicit nil.
9438
9439 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9440
9441 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9442 (smie--opener/closer-at-point): New function.
9443 (smie--matching-block-data): Use it. Don't match from right after an
9444 opener or right before a closer. Obey smie-blink-matching-inners.
9445 Don't signal a mismatch for repeated inners like "switch..case..case".
9446
9447 2013-06-07 Leo Liu <sdl.web@gmail.com>
9448
9449 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9450 to t. (Bug#14303)
9451 (octave-function-header-regexp): Fix. (Bug#14570)
9452 (octave-help-mode-finish-hook, octave-help-mode-finish):
9453 Remove. Just use temp-buffer-show-hook.
9454
9455 * newcomment.el (comment-search-backward): Revert last change.
9456 (Bug#14434)
9457
9458 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9459
9460 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9461
9462 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9463 through xargs, to avoid failure due to MS-Windows limitations on
9464 command-line length.
9465
9466 2013-06-06 Glenn Morris <rgm@gnu.org>
9467
9468 * font-lock.el (lisp-font-lock-keywords-2):
9469 Treat user-error like error.
9470
9471 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9472 (byte-compile-backward-char, byte-compile-backward-word):
9473 Handle explicit nil arguments. (Bug#14565)
9474
9475 2013-06-05 Alan Mackenzie <acm@muc.de>
9476
9477 * isearch.el (isearch-allow-prefix): New user option.
9478 (isearch-other-meta-char): Don't exit isearch when a prefix
9479 argument is typed whilst `isearch-allow-prefix' is non-nil.
9480 (Bug#9706)
9481
9482 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * autorevert.el (auto-revert-notify-handler): Use memq.
9485 Hide assertion failure.
9486
9487 * skeleton.el: Use cl-lib.
9488 (skeleton-further-elements): Use defvar-local.
9489 (skeleton-insert): Use cl-progv.
9490
9491 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9492
9493 * progmodes/prog-mode.el (prog-prettify-symbols)
9494 (prog-prettify-install): Update docstrings.
9495
9496 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9497
9498 * simple.el: Move all the prog-mode code to prog-mode.el.
9499 * progmodes/prog-mode.el: New file.
9500 * loadup.el: Add prog-mode.el.
9501
9502 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9503
9504 * simple.el (prog-prettify-symbols): Add version.
9505 (prog-prettify-install): Add convenience function to prettify symbols.
9506
9507 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9508 (perl--augmented-font-lock-keywords-1)
9509 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9510 variables and use it.
9511
9512 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9513 (cfengine3-mode): Remove unneeded variable and use it.
9514
9515 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9516 (lisp--augmented-font-lock-keywords-1)
9517 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9518 Remove unneeded variables and use it.
9519
9520 2013-06-05 João Távora <joaotavora@gmail.com>
9521
9522 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9523 to point when opening the connection. (Bug#14380)
9524
9525 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * subr.el (load-history-regexp, load-history-filename-element)
9528 (eval-after-load, after-load-functions, do-after-load-evaluation)
9529 (eval-next-after-load, display-delayed-warnings)
9530 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9531 definition of save-match-data.
9532 (overriding-local-map): Remove accidental obsolescence declaration.
9533
9534 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9535
9536 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9537
9538 Generalize symbol prettify support to prog-mode and implement it
9539 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9540 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9541 (prog--prettify-font-lock-compose-symbol)
9542 (prog-prettify-font-lock-symbols-keywords): New variables and
9543 functions to support symbol prettification.
9544 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9545 (lisp--augmented-font-lock-keywords-1)
9546 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9547 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9548 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9549 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9550 Implement prettify of -> => :: strings.
9551 * progmodes/perl-mode.el (perl-prettify-symbols)
9552 (perl--font-lock-compose-symbol)
9553 (perl--font-lock-symbols-keywords): Move to prog-mode.
9554 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9555 (perl-font-lock-keywords-1)
9556 (perl-font-lock-keywords-2): Remove explicit prettify support.
9557 (perl--augmented-font-lock-keywords)
9558 (perl--augmented-font-lock-keywords-1)
9559 (perl--augmented-font-lock-keywords-2, perl-mode):
9560 Implement prettify support.
9561
9562 2013-06-05 Leo Liu <sdl.web@gmail.com>
9563
9564 Re-implement smie matching block highlight using
9565 show-paren-data-function. (Bug#14395)
9566 * emacs-lisp/smie.el (smie-matching-block-highlight)
9567 (smie--highlight-matching-block-overlay)
9568 (smie--highlight-matching-block-lastpos)
9569 (smie-highlight-matching-block)
9570 (smie-highlight-matching-block-mode): Remove.
9571 (smie--matching-block-data-cache): New variable.
9572 (smie--matching-block-data): New function.
9573 (smie-setup): Use smie--matching-block-data for
9574 show-paren-data-function.
9575
9576 * progmodes/octave.el (octave-mode-menu): Fix.
9577 (octave-find-definition): Skip garbage lines.
9578
9579 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9581 Fix compilation error with simultaneous dynamic+lexical scoping.
9582 Add warning when a defvar appears after the first let-binding.
9583 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9584 (byte-compile-close-variables): Initialize it.
9585 (byte-compile--declare-var): New function.
9586 (byte-compile-file-form-defvar)
9587 (byte-compile-file-form-define-abbrev-table)
9588 (byte-compile-file-form-custom-declare-variable): Use it.
9589 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9590 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9591 (byte-compile-bind): Handle dynamic bindings that shadow
9592 lexical bindings.
9593 (byte-compile-unbind): Make arg non-optional.
9594 (byte-compile-let): Simplify.
9595 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9596 (cconv--analyse-function, cconv-analyse-form): Populate it.
9597 Protect byte-compile-bound-variables to limit the scope of defvars.
9598 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9599 Remove unneeded rule for `declare'.
9600
9601 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9602 so as to avoid depending on cl-adjoin at run-time.
9603 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9604
9605 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9606 (macroexp--warn-and-return): Use it.
9607
9608 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9609
9610 * subr.el: Convert to lexical binding.
9611 (overriding-local-map): Make obsolete.
9612 (add-to-list): Doc fix. Add compiler macro.
9613 (read-key): Swap values of local maps.
9614
9615 2013-06-05 Leo Liu <sdl.web@gmail.com>
9616
9617 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9618
9619 2013-06-04 Leo Liu <sdl.web@gmail.com>
9620
9621 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9622 (compilation-auto-jump): Suppress the "Mark set" message to give
9623 way to exit message.
9624
9625 2013-06-04 Alan Mackenzie <acm@muc.de>
9626
9627 Remove faulty optimisation from indentation calculation.
9628 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9629 search limit based on 2000 characters back from indent-point.
9630
9631 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9632
9633 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9634
9635 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * emacs-lisp/lisp.el: Use lexical-binding.
9638 (lisp--local-variables-1, lisp--local-variables): New functions.
9639 (lisp--local-variables-completion-table): New var.
9640 (lisp-completion-at-point): Use it complete let-bound vars.
9641
9642 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9643 eagerly (bug#14422).
9644
9645 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9646
9647 * autorevert.el (auto-revert-notify-enabled)
9648 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9649 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9650 (auto-revert-notify-handler): Handle also gfilenotify.
9651
9652 * subr.el (file-notify-handle-event): New defun. Replacing ...
9653 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9654 Remove.
9655
9656 2013-06-03 Juri Linkov <juri@jurta.org>
9657
9658 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9659 `M-s h .'. (Bug#14427)
9660
9661 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9662 command `hi-lock-face-symbol-at-point'.
9663 (hi-lock-face-symbol-at-point): New command.
9664 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9665 (hi-lock-menu): Add `highlight-symbol-at-point'.
9666 (hi-lock-mode): Doc fix.
9667
9668 * isearch.el (isearch-forward-symbol-at-point): New command.
9669 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9670 (isearch-highlight-regexp): Add a regexp which matches
9671 words/symbols for word/symbol mode.
9672
9673 * subr.el (find-tag-default-bounds): New function with the body
9674 mostly moved from `find-tag-default'.
9675 (find-tag-default): Move most code to `find-tag-default-bounds',
9676 call it and apply `buffer-substring-no-properties' afterwards.
9677
9678 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9679
9680 * eshell/em-term.el (eshell-term-initialize):
9681 Use `cl-intersection' rather than `intersection'.
9682
9683 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9684
9685 * vc/log-view.el: Doc fix.
9686 (log-view-mode-map): Copy keymap from `special-mode-map'.
9687
9688 2013-06-02 Eric Ludlam <zappo@gnu.org>
9689
9690 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9691 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9692 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9693 (eieio-unbound, eieio-default-superclass)
9694 (eieio--define-field-accessors, method-static, method-before)
9695 (method-primary, method-after, method-num-lists)
9696 (method-generic-before, method-generic-primary)
9697 (method-generic-after, method-num-slots)
9698 (eieio-specialized-key-to-generic-key)
9699 (eieio--check-type, class-v, class-p)
9700 (eieio-class-name, define-obsolete-function-alias)
9701 (eieio-class-parents-fast, eieio-class-children-fast)
9702 (same-class-fast-p, class-constructor, generic-p)
9703 (generic-primary-only-p, generic-primary-only-one-p)
9704 (class-option-assoc, class-option, eieio-object-p)
9705 (class-abstract-p, class-method-invocation-order)
9706 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9707 (eieio-class-un-autoload, eieio-defclass)
9708 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9709 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9710 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9711 (eieio-defgeneric-reset-generic-form)
9712 (eieio-defgeneric-form-primary-only)
9713 (eieio-defgeneric-reset-generic-form-primary-only)
9714 (eieio-defgeneric-form-primary-only-one)
9715 (eieio-defgeneric-reset-generic-form-primary-only-one)
9716 (eieio-unbind-method-implementations)
9717 (eieio--defmethod, eieio--typep)
9718 (eieio-perform-slot-validation, eieio-validate-slot-value)
9719 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9720 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9721 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9722 (eieio-slot-name-index, eieio-class-slot-name-index)
9723 (eieio-set-defaults, eieio-initarg-to-attribute)
9724 (eieio-attribute-to-initarg, eieio-c3-candidate)
9725 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9726 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9727 (eieio-class-precedence-list, eieio-generic-call-methodname)
9728 (eieio-generic-call-arglst, eieio-generic-call-key)
9729 (eieio-generic-call-next-method-list)
9730 (eieio-pre-method-execution-functions, eieio-generic-call)
9731 (eieio-generic-call-primary-only, eieiomt-method-list)
9732 (eieiomt-optimizing-obarray, eieiomt-install)
9733 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9734 (eieio-generic-form, eieio-defmethod, make-obsolete)
9735 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9736 (defclass): Remove `eval-and-compile' from macro.
9737 (call-next-method, shared-initialize): Instead of using
9738 `scoped-class' variable, use new eieio--scoped-class, and
9739 eieio--with-scoped-class.
9740 (initialize-instance): Rename local variable 'scoped-class' to
9741 'this-class' to remove ambiguitity from old global.
9742
9743 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9744 eieio.el.
9745 (eieio--scoped-class-stack): New variable.
9746 (eieio--scoped-class): New fcn.
9747 (eieio--with-scoped-class): New scoping macro.
9748 (eieio-defclass): Use pushnew instead of add-to-list.
9749 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9750 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9751 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9752 `scoped-class' variable, use new eieio--scoped-class, and
9753 eieio--with-scoped-class.
9754
9755 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9756
9757 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9758
9759 * eshell/esh-ext.el (eshell-external-command): Pass args to
9760 `eshell-find-interpreter'.
9761 (eshell-find-interpreter): Add new second parameter ARGS.
9762
9763 * eshell/em-script.el (eshell-script-initialize): Add second arg
9764 to the function added as MATCH to `eshell-interpreter-alist'.
9765
9766 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9767 the function added as MATCH to `eshell-interpreter-alist'.
9768
9769 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9770 (eshell-visual-options): New defcustom.
9771 (eshell-escape-control-x): Adapt docstring.
9772 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9773 `eshell-visual-options' in addition to `eshell-visual-commands'.
9774 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9775
9776 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9777
9778 * progmodes/python.el (python-indent-block-enders): Add break,
9779 continue and raise keywords.
9780
9781 2013-06-01 Glenn Morris <rgm@gnu.org>
9782
9783 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9784
9785 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9786 * progmodes/cc-cmds.el (delete-forward-p):
9787 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9788 * progmodes/cc-engine.el (buffer-syntactic-context):
9789 * progmodes/cc-fonts.el (face-property-instance):
9790 * progmodes/cc-mode.el (set-keymap-parents):
9791 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9792 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9793 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9794 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9795 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9796
9797 * progmodes/cc-vars.el (other): Emacs has this widget since
9798 at least 21.1, so don't (re)define it.
9799
9800 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9801 Replace the obsolete alias pcomplete-arg-quote-list.
9802
9803 2013-06-01 Leo Liu <sdl.web@gmail.com>
9804
9805 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9806 punctuation syntax.
9807 (inferior-octave-minimal-columns)
9808 (inferior-octave-last-column-width): New variables.
9809 (inferior-octave-track-window-width-change): New function.
9810 (inferior-octave-mode): Adjust column width so that Octave output,
9811 for example from 'ls', can fit into the window nicely.
9812
9813 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9814
9815 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9816 Highlight expansions inside regexp literals.
9817
9818 2013-05-31 Glenn Morris <rgm@gnu.org>
9819
9820 * obsolete/sym-comp.el (symbol-complete):
9821 Replace obsolete completion-annotate-function.
9822
9823 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9824
9825 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9826
9827 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9828 New function, checks if point is inside a literal that allows
9829 expression expansion.
9830 (ruby-syntax-propertize-expansion): Use it.
9831 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9832 around the body.
9833
9834 2013-05-30 Juri Linkov <juri@jurta.org>
9835
9836 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9837 to "\M-si".
9838 (isearch-invisible): New variable.
9839 (isearch-forward): Doc fix.
9840 (isearch-mode): Set `isearch-invisible'
9841 to the value of `search-invisible'.
9842 (isearch-toggle-case-fold): Doc fix.
9843 (isearch-toggle-invisible): New command.
9844 (isearch-query-replace): Let-bind `search-invisible'
9845 to the value of `isearch-invisible'.
9846 (isearch-search): Use `isearch-invisible' instead of
9847 `search-invisible'. Let-bind `search-invisible'
9848 to the value of `isearch-invisible'. (Bug#11378)
9849
9850 2013-05-30 Juri Linkov <juri@jurta.org>
9851
9852 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9853 call when `query-flag' is nil and `search-invisible' is non-nil.
9854 (Bug#11746)
9855
9856 2013-05-30 Glenn Morris <rgm@gnu.org>
9857
9858 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9859
9860 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9861 (cc-require): Suppress spurious "noruntime" warnings.
9862 (cc-require-when-compile): Use fboundp, for sake of compiler.
9863
9864 * progmodes/cc-mode.el: Move load of cc-vars before that of
9865 cc-langs (which in turn loads cc-vars), to quieten compiler.
9866
9867 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * paren.el: Simplify the code.
9870 (show-paren-mode): Always start the timer.
9871 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9872 (show-paren--overlay, show-paren--overlay-1): Rename from
9873 show-paren-overlay and show-paren-overlay-1, and initialize to an
9874 overlay rather than to nil.
9875 (show-paren-function): Misc cleanup and simplifications.
9876
9877 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9878
9879 * paren.el (show-paren-data-function): New hook.
9880 (show-paren--default): New function, extracted from show-paren-function.
9881 (show-paren-function): Use show-paren-data-function.
9882
9883 2013-05-30 Glenn Morris <rgm@gnu.org>
9884
9885 * ielm.el (ielm-map, ielm-complete-symbol):
9886 Use completion-at-point rather than obsolete functions.
9887 (inferior-emacs-lisp-mode): Doc fix.
9888 Set completion-at-point-functions, rather than
9889 comint-dynamic-complete-functions.
9890
9891 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9892 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9893 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9894
9895 * image.el (image-animated-p): Tweak definition.
9896
9897 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9898 (rlogin-process-connection-type): Tweak default. Add set-after.
9899 (rlogin-host): Doc fix.
9900 (rlogin): Tweak prompt.
9901 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9902
9903 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9904 * progmodes/tcl.el (inferior-tcl-mode-map):
9905 Use completion-at-point rather than obsolete alias.
9906
9907 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9908
9909 * minibuffer.el (read-file-name-completion-ignore-case):
9910 Move before completion--in-region, for eager macro expansion.
9911
9912 2013-05-29 Juri Linkov <juri@jurta.org>
9913
9914 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9915 for total count of matching lines. Add `global-matches' for total
9916 count of matches. Rename `matches' to `lines' for count of
9917 matching lines. Add `matches' for count of matches.
9918 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9919 to `prev-line' for line number of prev match endpt.
9920 Increment `matches' for every match. Print the number of
9921 matching lines in the header.
9922 (occur-context-lines): Rename `lines' to `curr-line'.
9923 Rename `prev-lines' to `prev-line'. (Bug#14017)
9924
9925 2013-05-29 Juri Linkov <juri@jurta.org>
9926
9927 * replace.el (perform-replace): Add `skip-read-only-count',
9928 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9929 Increment them for corresponding conditions and report the number
9930 of skipped occurrences in the final message. (Bug#11746)
9931 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9932 (replace-string, replace-regexp): Doc fix.
9933
9934 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9937
9938 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9939 prog-mode-map (bug#14504).
9940
9941 2013-05-29 Leo Liu <sdl.web@gmail.com>
9942
9943 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9944 (octave-help): Small simplification.
9945
9946 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9947 off the highlight first.
9948
9949 2013-05-29 Glenn Morris <rgm@gnu.org>
9950
9951 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9952 Handle idlwave-last-system-routine-info-cons-cell being nil.
9953
9954 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9955 (idlwave-write-paths): Simplify via with-temp-buffer.
9956
9957 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9958 * emulation/cua-rect.el: Also load cua-base at run time.
9959
9960 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9961 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9962 (cperl-imenu-on-info): Require imenu.
9963
9964 2013-05-28 Alan Mackenzie <acm@muc.de>
9965
9966 Handle "capitalised keywords" correctly.
9967 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9968
9969 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9970
9971 * eshell/em-unix.el: Add -r option to cp.
9972
9973 2013-05-28 Glenn Morris <rgm@gnu.org>
9974
9975 * vc/vc-arch.el (vc-exec-after): Declare.
9976 (vc-switches): Autoload.
9977 * vc/vc-bzr.el: No need to require vc when compiling.
9978 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9979 (vc-resynch-buffer, vc-dir-refresh): Declare.
9980 (vc-setup-buffer, vc-switches): Autoload.
9981 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9982 (vc-resynch-buffer): Declare.
9983 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9984 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9985 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9986 (grep-read-regexp, grep-read-files, grep-expand-template)
9987 (vc-dir-refresh): Declare.
9988 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9989 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9990 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9991 * vc/vc-mtn.el (vc-exec-after): Declare.
9992 (vc-switches): Autoload.
9993 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9994 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9995 (vc-file-tree-walk): Declare.
9996 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9997 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9998 (vc-tag-precondition, vc-rename-master): Autoload.
9999 * vc/vc-svn.el (vc-exec-after): Declare.
10000 (vc-switches, vc-setup-buffer): Autoload.
10001 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10002 Autoload.
10003 (vc-resynch-buffer): Declare.
10004
10005 * obsolete/fast-lock.el (byte-compile-warnings):
10006 Don't warn about obsolete features in this obsolete file.
10007
10008 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10009 Move definition before use.
10010
10011 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10012 (dun-unix-verbs): Remove dun-zippy.
10013 (dun-zippy): Remove function.
10014
10015 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10016
10017 2013-05-27 Juri Linkov <juri@jurta.org>
10018
10019 * replace.el (replace-search): New function with code moved out
10020 from `perform-replace'.
10021 (replace-highlight, replace-dehighlight): Move function definitions
10022 up closer to `replace-search'. (Bug#11746)
10023
10024 2013-05-27 Juri Linkov <juri@jurta.org>
10025
10026 * replace.el (perform-replace): Ignore invisible matches.
10027 In addition to checking `query-replace-skip-read-only', also
10028 filter out matches by calling `run-hook-with-args-until-failure'
10029 on `isearch-filter-predicates', and also check `search-invisible'
10030 for t or call `isearch-range-invisible'.
10031 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10032
10033 2013-05-27 Juri Linkov <juri@jurta.org>
10034
10035 * isearch.el (isearch-filter-predicates): Rename from
10036 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10037 (isearch-message-prefix): Display text from the property
10038 `isearch-message-prefix' of the currently active filters.
10039 (isearch-search): Don't compare `isearch-filter-predicate' with
10040 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10041 on `isearch-filter-predicates'. Also check `search-invisible' for t
10042 or call `isearch-range-invisible'.
10043 (isearch-filter-visible): Make obsolete.
10044 (isearch-lazy-highlight-search):
10045 Call `run-hook-with-args-until-failure' on
10046 `isearch-filter-predicates' and use `isearch-range-invisible'.
10047
10048 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10049 `isearch-filter-predicates' instead of `funcall'ing
10050 `isearch-filter-predicate'.
10051 (Info-mode): Set `Info-isearch-filter' to
10052 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10053
10054 * dired-aux.el (dired-isearch-filter-predicate-orig):
10055 Remove variable.
10056 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10057 (dired-isearch-filenames-end): Add and remove
10058 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10059 instead of changing the value of `isearch-filter-predicate'.
10060 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10061 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10062 Put property `isearch-message-prefix' to "filename " on
10063 `dired-isearch-filter-filenames'.
10064
10065 * wdired.el (wdired-change-to-wdired-mode):
10066 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10067 locally instead of changing `isearch-filter-predicate'.
10068 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10069
10070 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10071
10072 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10073 return the commit hash (Bug#14459). Also set the
10074 `vc-git-detached' property.
10075 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10076 (vc-git-mode-line-string): Use the same help-echo format whether
10077 in detached mode or not, because we know the actual revision now.
10078 When in detached mode, shorten the revision to 7 chars.
10079
10080 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 * emacs-lisp/easy-mmode.el (define-minor-mode):
10083 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10084 mode hook and provide a docstring.
10085
10086 2013-05-27 Alan Mackenzie <acm@muc.de>
10087
10088 Remove spurious syntax-table text properties inserted by C-y.
10089 * progmodes/cc-mode.el (c-after-change): Also clear hard
10090 syntax-table property with value nil.
10091
10092 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10093
10094 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10095 when reading the events; the buffer layout shall not be changed.
10096
10097 2013-05-27 Leo Liu <sdl.web@gmail.com>
10098
10099 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10100 New variable.
10101 (inferior-octave-directory-tracker): Automatically re-sync
10102 default-directory.
10103 (octave-help): Improve handling of 'See also'.
10104
10105 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10106
10107 * doc-view.el: Minor naming convention tweaks.
10108 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10109
10110 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10111 even if there's no `display' property yet (bug#14435).
10112
10113 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10114
10115 * subr.el (unmsys--file-name): Rename from reveal-filename.
10116
10117 * Makefile.in (custom-deps, finder-data, autoloads)
10118 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10119 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10120 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10121
10122 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10125 error-completion on the first 2 args of condition-case (bug#14446).
10126 Don't burp at EOB.
10127
10128 2013-05-25 Leo Liu <sdl.web@gmail.com>
10129
10130 * comint.el (comint-previous-matching-input): Do not flood the
10131 *Messages* buffer with trivial messages.
10132
10133 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * progmodes/flymake.el (flymake-nop): Don't return a string.
10136 (flymake-set-at): Fix typo.
10137
10138 * simple.el (read--expression): New function, extracted from
10139 eval-expression. Set completion-at-point-functions (bug#14465).
10140 (eval-expression, eval-minibuffer): Use it.
10141
10142 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10143
10144 * progmodes/flymake.el (flymake-save-buffer-in-file)
10145 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10146 (flymake-selected-frame, flymake-log, flymake-ins-after)
10147 (flymake-set-at, flymake-get-buildfile-from-cache)
10148 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10149 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10150 Refine the doc string.
10151 (flymake-get-file-name-mode-and-masks): Reformat.
10152 (flymake-get-real-file-name-function): Fix a minor bug.
10153
10154 2013-05-24 Juri Linkov <juri@jurta.org>
10155
10156 * progmodes/grep.el (grep-mode-font-lock-keywords):
10157 Support =linenumber= format used by git-grep for lines with
10158 function names. (Bug#13549)
10159
10160 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10161
10162 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10163 0 after a semi-colon; it works better for smie-auto-fill.
10164 (octave--indent-new-comment-line): New function.
10165 (octave-indent-new-comment-line): Use it (indirectly).
10166 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10167 modify comment-line-break-function.
10168
10169 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10170 (smie-setup): Use add-function to set it.
10171
10172 2013-05-24 Sam Steingold <sds@gnu.org>
10173
10174 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10175 argument (before the `interactive' argument).
10176
10177 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * image-mode.el (image-mode-winprops): Add winprops to
10180 image-mode-winprops-alist before running
10181 image-mode-new-window-functions.
10182 * doc-view.el (doc-view-new-window-function): Don't delay
10183 doc-view-goto-page via timers (bug#14435).
10184
10185 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10186
10187 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10188 (doc-view-desktop-save-buffer): New function.
10189 (doc-view-restore-desktop-buffer): New function.
10190 (desktop-buffer-mode-handlers):
10191 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10192 handler.
10193 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10194 `desktop-save-buffer' function.
10195
10196 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10197
10198 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10199 (tramp-gvfs-file-name-handler): Raise a user error when
10200 `tramp-gvfs-enabled' is nil.
10201 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10202 Do not raise a user error when loading package. (Bug#14447)
10203
10204 * net/xesam.el: Move to obsolete/.
10205
10206 2013-05-24 Glenn Morris <rgm@gnu.org>
10207
10208 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10209
10210 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10211
10212 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10213 (Info-find-node, Man-getpage-in-background): Declare.
10214
10215 * mail/unrmail.el (unrmail):
10216 Replace obsolete detect-coding-with-priority.
10217
10218 * net/socks.el (socks-split-string): Use this rather than split-string.
10219 (socks-nslookup-host): Update for above change.
10220 (dynamic-choice, s5-dynamic-choice-match)
10221 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10222 Comment out unused code.
10223
10224 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10225 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10226 (gud-tooltip-echo-area): Make obsolete.
10227 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10228
10229 * progmodes/js.el (js--optimize-arglist): Declare.
10230
10231 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10232
10233 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10234 (ediff-window-C): Declare.
10235
10236 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10237 Tweak requires to silence compiler.
10238
10239 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10240 (he-search-string, he-tried-table, he-expand-list)
10241 (he-init-string, he-string-member, he-substitute-string)
10242 (he-reset-string): Declare.
10243
10244 * obsolete/options.el (list-options): Use custom-variable-p,
10245 rather than obsolete alias.
10246
10247 2013-05-23 Sam Steingold <sds@gnu.org>
10248
10249 * simple.el (shell-command-on-region): Pass the `replace' argument
10250 down to `call-process-region' to comply with the doc as reported on
10251 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10252
10253 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * emacs-lisp/smie.el (smie-indent-forward-token)
10256 (smie-indent-backward-token): Handle string tokens (bug#14381).
10257
10258 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10259
10260 * ielm.el (ielm-menu): New menu.
10261 (inferior-emacs-lisp-mode): Set comment-start.
10262
10263 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10264
10265 * textmodes/reftex.el (reftex-ref-style-toggle):
10266 Fix deactivate action.
10267
10268 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10269 Add cleveref macros.
10270
10271 * textmodes/reftex-parse.el
10272 (reftex-locate-bibliography-files): Accept options for
10273 bibliography commands.
10274 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10275 Add addbibresource. Basic Biblatex support.
10276
10277 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10278
10279 * net/tramp-gvfs.el (top):
10280 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10281 when loading package. (Bug#14447)
10282
10283 2013-05-23 Glenn Morris <rgm@gnu.org>
10284
10285 * progmodes/js.el: No need to load comint when compiling.
10286 (ring-insert, comint-send-string, comint-send-input)
10287 (comint-last-input-end, ido-chop): Declare.
10288
10289 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10290 * vc/ediff-mult.el: Adjust requires.
10291 (ediff-directories-internal, ediff-directory-revisions-internal)
10292 (ediff-patch-file-internal): Declare.
10293 * vc/ediff-ptch.el: Adjust requires.
10294 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10295 (ediff-find-file): Autoload.
10296 * vc/ediff-util.el: No need to load ediff when compiling.
10297 (ediff-regions-internal): Declare.
10298 * vc/ediff-wind.el: Adjust requires.
10299 (ediff-compute-toolbar-width): Define when compiling.
10300 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10301 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10302 (dired-get-filename, dired-get-marked-files)
10303 (ediff-last-dir-patch, ediff-patch-default-directory)
10304 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10305 (ediff-patch-buffer-internal): Declare.
10306
10307 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10308 (ispell-process, ispell-buffer-local-words, lm-summary)
10309 (lm-section-start, lm-section-end): Declare.
10310 (checkdoc-ispell-init): Simplify.
10311
10312 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10313 (he-string-member, he-reset-string, he-substitute-string): Declare.
10314
10315 * eshell/em-ls.el: Adjust requires.
10316 (eshell-glob-regexp): Declare.
10317 * eshell/em-tramp.el: Adjust requires.
10318 (eshell-parse-command): Autoload.
10319 * eshell/em-xtra.el: Adjust requires.
10320 (eshell-parse-command): Autoload.
10321 * eshell/esh-ext.el: Adjust requires.
10322 (eshell-parse-command, eshell-close-handles): Autoload.
10323 * eshell/esh-io.el: Adjust requires.
10324 (eshell-output-filter): Autoload.
10325 * eshell/esh-util.el: No need to load tramp when compiling.
10326 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10327 Declare.
10328 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10329 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10330 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10331 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10332 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10333 * eshell/esh-opt.el, eshell/esh-proc.el:
10334 * eshell/esh-var.el: Adjust requires.
10335 * eshell/eshell.el: Do not require esh-util twice.
10336 (eshell-add-input-to-history): Declare.
10337 (eshell-command): Check history module is active before using it.
10338
10339 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10340
10341 2013-05-22 Leo Liu <sdl.web@gmail.com>
10342
10343 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10344
10345 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10346
10347 * autorevert.el (auto-revert-notify-add-watch)
10348 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10349 it indicates changes in file modification time.
10350
10351 2013-05-22 Glenn Morris <rgm@gnu.org>
10352
10353 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10354 Always delete the autoloaded function from the noruntime and
10355 unresolved functions lists.
10356
10357 * allout.el: No need to load epa, epg, overlay when compiling.
10358 (epg-context-set-passphrase-callback, epg-list-keys)
10359 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10360 (epg-key-user-id-list): Declare.
10361
10362 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10363 (viper-set-parsing-style-toggling-macro)
10364 (viper-set-emacs-state-searchstyle-macros):
10365 Use called-interactively-p on Emacs.
10366 (viper-looking-back): Make it an obsolete alias. Update callers.
10367 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10368 Use looking-back rather than viper-looking-back.
10369 (viper-tmp-insert-at-eob, viper-enlarge-region)
10370 (viper-read-string-with-history, viper-register-to-point)
10371 (viper-append-to-register, viper-change-state-to-vi)
10372 (viper-backward-char-carefully, viper-forward-char-carefully)
10373 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10374 (viper-change-state-to-emacs): Declare.
10375 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10376 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10377 * emulation/viper-mous.el: Do not load viper-cmd.
10378 (viper-backward-char-carefully, viper-forward-char-carefully)
10379 (viper-forward-word, viper-adjust-window): Declare.
10380
10381 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10382
10383 * progmodes/idlw-help.el (idlwave-help-fontify):
10384 Use called-interactively-p.
10385
10386 * term/w32console.el (w32-get-console-codepage)
10387 (w32-get-console-output-codepage): Declare.
10388
10389 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10390 Remove unnecessary declarations.
10391 (dframe-message): Doc fix.
10392
10393 * info.el (dframe-select-attached-frame, dframe-current-frame):
10394 Declare.
10395
10396 * speedbar.el (speedbar-message): Make it an obsolete alias.
10397 Update all callers.
10398 (speedbar-with-attached-buffer)
10399 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10400 (speedbar-with-writable): Use backquote.
10401 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10402 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10403 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10404 rather than speedbar- aliases.
10405 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10406 (speedbar-make-specialized-keymap, speedbar-insert-button)
10407 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10408 (speedbar-do-function-pointer): Declare.
10409 (rmail-speedbar-button, rmail-speedbar-find-file)
10410 (rmail-speedbar-move-message):
10411 Use dframe-with-attached-buffer rather than speedbar- alias.
10412 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10413 (dframe-message, speedbar-make-specialized-keymap)
10414 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10415 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10416 (speedbar-insert-button, dframe-select-attached-frame)
10417 (dframe-maybee-jump-to-attached-frame)
10418 (speedbar-change-initial-expansion-list)
10419 (speedbar-previously-used-expansion-list-name): Declare.
10420 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10421 Use dframe-message, dframe-with-attached-buffer rather than
10422 speedbar- aliases.
10423 (gud-sentinel): Silence compiler.
10424 * progmodes/vhdl-mode.el (speedbar-refresh)
10425 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10426 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10427 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10428 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10429 (speedbar-file-lists, speedbar-make-tag-line)
10430 (speedbar-line-directory, speedbar-goto-this-file)
10431 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10432 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10433 (speedbar-make-button, speedbar-reset-scanners)
10434 (speedbar-files-item-info, speedbar-line-text)
10435 (speedbar-find-file-in-frame, speedbar-set-timer)
10436 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10437 (speedbar-with-writable): Do not (re)define it.
10438 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10439 rather than speedbar- alias.
10440
10441 2013-05-21 Leo Liu <sdl.web@gmail.com>
10442
10443 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10444 menu items.
10445 (octave-mode): Tweak fill-nobreak-predicate.
10446 (inferior-octave-startup): Check process to avoid infinite loop.
10447 (inferior-octave): Pop to buffer first to show abornmal process
10448 exit information.
10449
10450 2013-05-21 Glenn Morris <rgm@gnu.org>
10451
10452 * printing.el (pr-menu-bar): Define when compiling.
10453
10454 2013-05-21 Leo Liu <sdl.web@gmail.com>
10455
10456 * progmodes/octave.el (octave-auto-fill): Remove.
10457 (octave-indent-new-comment-line): Improve.
10458 (octave-mode): Use auto fill mode through
10459 comment-line-break-function and fill-nobreak-predicate.
10460 (octave-goto-function-definition): Support DEFUN_DLD.
10461 (octave-beginning-of-defun): Small tweak.
10462 (octave-help): Show parent directory.
10463
10464 2013-05-21 Glenn Morris <rgm@gnu.org>
10465
10466 * files.el (dired-unmark):
10467 * progmodes/gud.el (gdb-input): Update declarations.
10468
10469 * calculator.el (electric, ehelp): No need to load when compiling.
10470 (Electric-command-loop, electric-describe-mode): Declare.
10471
10472 * doc-view.el (doc-view-current-converter-processes): Move before use.
10473
10474 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10475 Move MODE-set-explicitly definition before use.
10476
10477 * international/mule-diag.el (mule-diag):
10478 Don't use obsolete window-system-version.
10479
10480 * mail/feedmail.el (smtpmail): No need to load when compiling.
10481 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10482
10483 * mail/mail-utils.el (rfc822): No need to load when compiling.
10484 (rfc822-addresses): Autoload it.
10485 (mail-strip-quoted-names): Trivial simplification.
10486
10487 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10488 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10489
10490 * net/snmp-mode.el (tempo): Don't duplicate requires.
10491
10492 * progmodes/prolog.el (info): No need to load when compiling.
10493 (comint): Require before shell requires it.
10494 (Info-goto-node): Autoload it.
10495 (Info-follow-nearest-node): Declare.
10496 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10497
10498 * textmodes/artist.el (picture-mode-exit): Declare.
10499
10500 * textmodes/reftex-parse.el (reftex-parse-from-file):
10501 Trivial rewrite so the compiler can parse it better.
10502
10503 2013-05-20 Leo Liu <sdl.web@gmail.com>
10504
10505 * progmodes/octave.el (octave-help-mode-map)
10506 (octave-help-mode-finish-hook): New variables.
10507 (octave-help-mode, octave-help-mode-finish): New functions.
10508 (octave-help): Use octave-help-mode.
10509
10510 2013-05-20 Glenn Morris <rgm@gnu.org>
10511
10512 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10513
10514 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10515
10516 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10517 start at point, so that expansion starting right after opening
10518 slash in a regexp is recognized.
10519 (ruby-syntax-before-regexp-re): New defvar, extracted from
10520 ruby-syntax-propertize-function. Since the value of this regexp
10521 is looked up at runtime now, we should be able to turn
10522 `ruby-syntax-methods-before-regexp' into a defcustom later.
10523 (ruby-syntax-propertize-function): Split regexp matching into two
10524 parts, for opening and closing slashes. That allows us to skip
10525 over string interpolations and support multiline regexps.
10526 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10527 for them, which calls `ruby-syntax-propertize-expansion'.
10528 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10529 call to `ruby-syntax-propertize-function'.
10530 (ruby-syntax-propertize-expansion): Extracted from
10531 `ruby-syntax-propertize-expansions'. Handles one expansion.
10532 (ruby-syntax-propertize-percent-literal): Leave point right after
10533 the percent symbol, so that the expression expansion rule can
10534 propertize the contents.
10535 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10536 heredoc openers.
10537 (ruby-syntax-propertize-expansions): Remove.
10538
10539 2013-05-18 Juri Linkov <juri@jurta.org>
10540
10541 * man.el (Man-default-man-entry): Remove `-' from the end
10542 of the default value. (Bug#14400)
10543
10544 2013-05-18 Glenn Morris <rgm@gnu.org>
10545
10546 * comint.el (comint-password-prompt-regexp):
10547 Allow "password for XXX" where XXX contains colons (eg https://...).
10548
10549 2013-05-18 Leo Liu <sdl.web@gmail.com>
10550
10551 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10552 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10553 (octave-source-directories): Don't check process.
10554 (octave-source-directories, octave-find-definition): Doc fix.
10555
10556 2013-05-18 Glenn Morris <rgm@gnu.org>
10557
10558 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10559 Remove backspace/delete bindings. (Bug#14392)
10560
10561 * cus-dep.el (custom-make-dependencies): Sort the output.
10562 (custom-versions-load-alist): Convert comment to doc.
10563
10564 2013-05-17 Leo Liu <sdl.web@gmail.com>
10565
10566 * newcomment.el (comment-search-backward): Stricter in finding
10567 comment start. (Bug#14303)
10568
10569 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10570 (octave-comment-start-skip): Properly anchored.
10571
10572 2013-05-17 Leo Liu <sdl.web@gmail.com>
10573
10574 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10575 Clean up when turned off. (Bug#14395)
10576 (smie--highlight-matching-block-overlay): No longer buffer-local.
10577 (smie-highlight-matching-block): Adjust.
10578
10579 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10580
10581 Doc string fix for "nanoseconds" (Bug#14406).
10582 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10583 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10584
10585 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10586
10587 * calc/calc-units.el (math-extract-units): Preserve powers
10588 of units.
10589
10590 2013-05-17 Leo Liu <sdl.web@gmail.com>
10591
10592 * subr.el (delete-consecutive-dups): New function.
10593 * ido.el (ido-set-matches-1): Use it.
10594 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10595 * ido.el (ido-remove-consecutive-dups): Remove.
10596
10597 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10600 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10601 regexp-opt's `words'.
10602
10603 2013-05-16 Leo Liu <sdl.web@gmail.com>
10604
10605 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10606 (smie--highlight-matching-block-overlay)
10607 (smie--highlight-matching-block-lastpos)
10608 (smie--highlight-matching-block-timer): New variables.
10609 (smie-highlight-matching-block): New function.
10610 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10611 (smie-setup): Conditionally enable smie-blink-matching-open.
10612
10613 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10614
10615 Sync with upstream verilog-mode r840.
10616 * progmodes/verilog-mode.el (verilog-mode-version)
10617 (verilog-mode-release-date): Update.
10618 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10619 (verilog-sig-tieoff): Fix string error on
10620 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10621 (verilog-read-decls): Fix parameters confusing
10622 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10623
10624 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10625
10626 * subr.el (reveal-filename): New function.
10627
10628 * loadup.el: Compute Emacs executable versions on MS-Windows,
10629 where executables have the .exe extension. Add a hard link
10630 emacs-XX.YY.ZZ.exe on MS-Windows.
10631
10632 * Makefile.in (XARGS_LIMIT): New variable.
10633 (custom-deps, finder-data, autoloads)
10634 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10635 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10636 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10637 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10638
10639 2013-05-16 Leo Liu <sdl.web@gmail.com>
10640
10641 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10642 (octave-mode-menu, octave-mode-map): Remove its uses.
10643
10644 2013-05-16 Reto Zimmermann <reto@gnu.org>
10645
10646 Sync with upstream vhdl mode v3.34.2.
10647 * progmodes/vhdl-mode.el: Use `push' throughout.
10648 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10649 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10650 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10651 (vhdl-actual-generic-name): New option to derive actual generic name.
10652 (vhdl-port-paste-signals): Replace formal by actual generics.
10653 (vhdl-beautify): New name for old group vhdl-align. Update users.
10654 (vhdl-beautify-options): New option.
10655 (vhdl-last-input-event): New compat alias. Use throughout.
10656 (vhdl-goto-line): Replace user level function `goto-line'.
10657 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10658 vhdl-fix-statement-buffer.
10659 (vhdl-create-mode-menu): Add some entries.
10660 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10661 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10662 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10663 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10664 to force statements on one line.
10665 (vhdl-remove-trailing-spaces-region):
10666 New, split from vhdl-remove-trailing-spaces.
10667 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10668 Respect vhdl-beautify-options.
10669 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10670 (vhdl-update-sensitivity-list): Not add with index if exists without.
10671 Not include array index with signal. Ignore keywords in comments.
10672 (vhdl-get-visible-signals): Regexp tweaks.
10673 (vhdl-template-component-inst): Handle empty library.
10674 (vhdl-template-type): Add template for 'enum' type.
10675 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10676 Use vhdl-replace-string.
10677 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10678 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10679 (vhdl-speedbar-initialize): Update for above name change.
10680 (vhdl-compose-wire-components): Fix in handling of constants.
10681 (vhdl-error-regexp-emacs-alist): New variable.
10682 (vhdl-error-regexp-add-emacs): New function;
10683 adds support for new compile.el (Emacs 22+)
10684 (vhdl-generate-makefile-1): Change target order for single lib. units.
10685 Allow use of absolute file names.
10686
10687 2013-05-16 Leo Liu <sdl.web@gmail.com>
10688
10689 * simple.el (prog-indent-sexp): Indent enclosing defun.
10690
10691 2013-05-15 Glenn Morris <rgm@gnu.org>
10692
10693 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10694 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10695 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10696 (whitespace-highlight): Move to whitespace group.
10697
10698 * comint.el (comint-source):
10699 * pcmpl-linux.el (pcmpl-linux):
10700 * shell.el (shell-faces):
10701 * eshell/esh-opt.el (eshell-opt):
10702 * international/ccl.el (ccl): Remove empty custom groups.
10703
10704 * completion.el (dynamic-completion-mode):
10705 * jit-lock.el (jit-lock-debug-mode):
10706 * minibuffer.el (completion-in-region-mode):
10707 * type-break.el (type-break-mode-line-message-mode)
10708 (type-break-query-mode):
10709 * emulation/tpu-edt.el (tpu-edt-mode):
10710 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10711 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10712 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10713
10714 * term/xterm.el (xterm): Change parent group to terminals.
10715
10716 * master.el (master): Remove empty custom group.
10717 (master-mode): Remove unused :group argument.
10718 * textmodes/refill.el (refill): Remove empty custom group.
10719 (refill-mode): Remove unused :group argument.
10720
10721 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10722
10723 * cus-dep.el: Provide a feature.
10724 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10725 Don't mistakenly ignore files whose basenames match a basename
10726 from preloaded-file-list (eg cedet/ede/simple.el).
10727 Add a fallback method for getting :group.
10728
10729 2013-05-15 Juri Linkov <juri@jurta.org>
10730
10731 * isearch.el (isearch-char-by-name): Rename from
10732 `isearch-insert-char-by-name'. Doc fix.
10733 (isearch-forward): Mention `isearch-char-by-name' in
10734 the docstring. (Bug#13348)
10735
10736 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10737 `exit-minibuffer' instead of
10738 `isearch-nonincremental-exit-minibuffer'.
10739 (isearch-edit-string): Remove mention of
10740 `isearch-nonincremental-exit-minibuffer' from docstring.
10741 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10742 (isearch-forward-exit-minibuffer)
10743 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10744
10745 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10746
10747 * loadup.el: Just use unversioned DOC.
10748
10749 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10750 literals as extending to EOB.
10751 (nxml-last-fontify-end): Remove unused variable.
10752 (nxml-after-change1): Use with-silent-modifications.
10753 (nxml-extend-after-change-region): Simplify.
10754 (nxml-extend-after-change-region1): Remove function.
10755 (nxml-after-change1): Don't adjust for dependent regions.
10756 (nxml-fontify-matcher): Simplify.
10757 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10758 (xmltok-add-dependent): Remove function.
10759 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10760 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10761 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10762 unclosed <[[, <?, comment, and other literals as extending to EOB.
10763 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10764 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10765 Remove functions.
10766 (rng-do-some-validation-1): Don't mark dependent regions.
10767 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10768 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10769 (nxml-clear-dependent-regions): Remove functions.
10770 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10771 (nxml-ensure-scan-up-to-date):
10772 Don't clear&mark dependent regions.
10773
10774 2013-05-15 Leo Liu <sdl.web@gmail.com>
10775
10776 * progmodes/octave.el (octave-goto-function-definition):
10777 Improve and fix callers.
10778
10779 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10782 the setter (bug#14387).
10783
10784 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10785 surrounding group (bug#14402).
10786
10787 2013-05-14 Juri Linkov <juri@jurta.org>
10788
10789 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10790 (Bug#14390)
10791
10792 2013-05-14 Glenn Morris <rgm@gnu.org>
10793
10794 * progmodes/f90.el (f90-imenu-generic-expression):
10795 Fix typo in 2013-05-08 change. (Bug#14402)
10796
10797 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10798
10799 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10800 Remove signals for which replies are never received.
10801
10802 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10803
10804 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10805 (gdb-handler-alist, gdb-handler-number): Remove variables.
10806 (gdb-handler-list): New variable.
10807 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10808 (gdb-pending-handler-p, gdb-handle-reply)
10809 (gdb-remove-all-pending-triggers): New functions.
10810 (gdb-discard-unordered-replies): New defcustom.
10811 (gdb-handler): New defstruct.
10812 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10813 instead of gdb-pending-triggers. Update docstring.
10814 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10815 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10816 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10817 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10818 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10819 (gdb-frame-handler): Pending triggers are now automatically managed.
10820 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10821 Remove argument.
10822 (gdb-input): Automatically handles pending triggers. Update docstring.
10823 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10824 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10825 Update comments.
10826 (gdb-done-or-error): Now use gdb-handle-reply.
10827
10828 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10829
10830 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10831 gdb-debug-log.
10832
10833 2013-05-14 Glenn Morris <rgm@gnu.org>
10834
10835 * subr.el (user-emacs-directory-warning): New option.
10836 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10837
10838 2013-05-14 Leo Liu <sdl.web@gmail.com>
10839
10840 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10841 during redisplay.
10842 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10843 (octave-font-lock-texinfo-comment): Fix invalid search bound
10844 error: wrong side of point.
10845
10846 2013-05-14 Glenn Morris <rgm@gnu.org>
10847
10848 * progmodes/flymake.el (flymake-xml-program): New option.
10849 (flymake-xml-init): Use it.
10850
10851 * term/xterm.el: Provide a feature.
10852
10853 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10854
10855 2013-05-13 Glenn Morris <rgm@gnu.org>
10856
10857 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10858 Add compat aliases as a hack workaround. (Bug#14384)
10859
10860 2013-05-13 Leo Liu <sdl.web@gmail.com>
10861
10862 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10863 ###, and %!.
10864 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10865 C-M-q.
10866 (octave-comment-start-skip): Include %!.
10867 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10868
10869 2013-05-12 Leo Liu <sdl.web@gmail.com>
10870
10871 * progmodes/octave.el (inferior-octave-startup): Store the value
10872 of __octave_srcdir__ for octave-source-directories.
10873 (inferior-octave-check-process): New function refactored out of
10874 inferior-octave-send-list-and-digest.
10875 (octave-source-directories)
10876 (octave-find-definition-filename-function): New variables.
10877 (octave-source-directories)
10878 (octave-find-definition-default-filename): New functions.
10879 (octave-find-definition): Improve to find functions implemented in C++.
10880
10881 2013-05-12 Glenn Morris <rgm@gnu.org>
10882
10883 * calendar/diary-lib.el (diary-outlook-format-1):
10884 Don't include dayname in the output. (Bug#14349)
10885
10886 2013-05-11 Glenn Morris <rgm@gnu.org>
10887
10888 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10889
10890 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10891 Treat cc-provide like provide.
10892
10893 2013-05-11 Kevin Ryde <user42@zip.com.au>
10894
10895 * cus-dep.el (custom-make-dependencies):
10896 Use generated-autoload-load-name for the sake of files such
10897 such cedet/semantic/bovine/c.el, where the base file name
10898 is not in load-path. (Bug#5277)
10899
10900 2013-05-11 Glenn Morris <rgm@gnu.org>
10901
10902 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10903 Provide features.
10904
10905 2013-05-11 Leo Liu <sdl.web@gmail.com>
10906
10907 * progmodes/octave.el (octave-indent-comment): Improve.
10908 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10909 (octave-eldoc-function-signatures, octave-eldoc-function):
10910 New functions.
10911 (octave-mode, inferior-octave-mode): Add eldoc support.
10912
10913 2013-05-11 Richard Stallman <rms@gnu.org>
10914
10915 * epa.el (epa-decrypt-file): Take output file name as argument
10916 and read it using `interactive'.
10917
10918 2013-05-11 Leo Liu <sdl.web@gmail.com>
10919
10920 * progmodes/octave.el (octave-beginning-of-line)
10921 (octave-end-of-line): Check before using up-list because it jumps
10922 out of more syntactic contructs since moving to smie.
10923 (octave-indent-comment): New function.
10924 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10925 (octave-begin-keywords, octave-end-keywords)
10926 (octave-reserved-words, octave-smie-bnf-table)
10927 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10928
10929 2013-05-11 Glenn Morris <rgm@gnu.org>
10930
10931 * faces.el (internal-face-x-get-resource):
10932 * frame.el (ns-display-monitor-attributes-list):
10933 * calc/calc-aent.el (math-to-radians-2):
10934 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10935 Fix declarations.
10936
10937 * calc/calc-menu.el: Make it loadable in isolation.
10938
10939 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10940 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10941 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10942 (eudc-bbdb-query-internal): Require 'bbdb.
10943
10944 * lpr.el (lpr-headers-switches):
10945 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10946
10947 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10948
10949 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10950
10951 * term.el (term-set-escape-char): Make it idempotent.
10952
10953 2013-05-10 Leo Liu <sdl.web@gmail.com>
10954
10955 * progmodes/octave.el (inferior-octave-completion-table):
10956 No longer a function and all uses changed. Use cache to speed up
10957 completion due to bug#11906.
10958 (octave-beginning-of-defun): Re-write to be more general.
10959
10960 2013-05-10 Glenn Morris <rgm@gnu.org>
10961
10962 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10963
10964 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10965
10966 * comint.el (comint-redirect-send-command-to-process): Use :around
10967 rather than :override for comint-redirect-filter.
10968 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10969 Call it instead of comint-redirect-original-filter-function (which
10970 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10971
10972 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10973
10974 * frame.el (display-monitor-attributes-list): Add NS case.
10975 (ns-display-monitor-attributes-list): Declare.
10976
10977 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10978
10979 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10980
10981 2013-05-09 Glenn Morris <rgm@gnu.org>
10982
10983 * international/fontset.el (vertical-centering-font-regexp):
10984 Set standard-value.
10985
10986 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10987
10988 * bookmark.el (bookmark-search-delay):
10989 * cus-start.el (vertical-centering-font-regexp):
10990 * ps-mule.el (ps-mule-font-info-database-default):
10991 * ps-print.el (ps-default-fg, ps-default-bg):
10992 * type-break.el (type-break-good-break-interval):
10993 * whitespace.el (whitespace-indentation-regexp)
10994 (whitespace-space-after-tab-regexp):
10995 * emacs-lisp/testcover.el (testcover-1value-functions)
10996 (testcover-noreturn-functions, testcover-progn-functions)
10997 (testcover-prog1-functions):
10998 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10999 * eshell/em-glob.el (eshell-glob-translate-alist):
11000 * play/tetris.el (tetris-tty-colors):
11001 * progmodes/cpp.el (cpp-face-default-list):
11002 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11003 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11004 (idlwave-help-browser-generic-args):
11005 * progmodes/make-mode.el (makefile-special-targets-list):
11006 * progmodes/python.el (python-shell-virtualenv-path):
11007 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11008 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11009 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11010 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11011 * textmodes/reftex-vars.el (reftex-format-label-function):
11012 * textmodes/remember.el (remember-diary-file): Fix custom types.
11013
11014 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11015 Add :version.
11016
11017 2013-05-09 Leo Liu <sdl.web@gmail.com>
11018
11019 * progmodes/octave.el (inferior-octave-completion-at-point):
11020 Restore file completion. (Bug#14300)
11021 (inferior-octave-startup): Fix incorrect highlighting for the
11022 first prompt.
11023
11024 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11025
11026 * progmodes/ruby-mode.el: First cut at SMIE support.
11027 (ruby-use-smie): New var.
11028 (ruby-smie-grammar): New constant.
11029 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11030 (ruby-smie--forward-token, ruby-smie--backward-token)
11031 (ruby-smie-rules): New functions.
11032 (ruby-mode-variables): Setup SMIE if applicable.
11033
11034 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11035
11036 * simple.el (line-move-visual): Signal beginning/end of buffer
11037 only if vertical-motion moved less than it was requested. Avoids
11038 silly incorrect error messages when there are display strings with
11039 multiple newlines at EOL.
11040
11041 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11042
11043 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11044 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11045 (prolog-char-quote-workaround):
11046 * progmodes/cperl-mode.el (cperl-under-as-char):
11047 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11048 Mark as obsolete.
11049 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11050 their declaration.
11051 (vhdl-mode-syntax-table-init): Remove.
11052
11053 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11054 last change.
11055
11056 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11057 syntax for "_".
11058 (ld-script-font-lock-keywords):
11059 Change regexps to use things like \_< and \_>.
11060
11061 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11062 Change all regexps to use things like \_< and \_>.
11063
11064 * progmodes/autoconf.el (autoconf-definition-regexp)
11065 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11066 Handle a _ with symbol syntax.
11067 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11068
11069 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11070 Consolidate declaration.
11071 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11072 the declaration.
11073 (ada-create-syntax-table): Remove.
11074 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11075 already has the right syntax nowadays.
11076 (ada-goto-next-word): Don't change the syntax of "_".
11077
11078 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11079 with-wrapper-hook.
11080
11081 2013-05-08 Sam Steingold <sds@gnu.org>
11082
11083 * thingatpt.el (thing-at-point): Accept optional second argument
11084 NO-PROPERTIES to strip the text properties from the return value.
11085 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11086 to `thing-at-point' instead of stripping the properties ourselves.
11087 Also, when `thing-at-point' fails to find a url, prepend "http://"
11088 to the filename at point on the assumption that the user is
11089 pointing at something like gnu.org/gnu.
11090
11091 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11092
11093 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11094 * faces.el (crm-separator):
11095 Silence byte-compiler.
11096
11097 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11098 (tool-bar-map): Remove unneeded defvars.
11099
11100 2013-05-08 Leo Liu <sdl.web@gmail.com>
11101
11102 Re-work a fix for bug#10994 based on Le Wang's patch.
11103 * ido.el (ido-remove-consecutive-dups): New helper.
11104 (ido-completing-read): Use it.
11105 (ido-chop): Revert fix for bug#10994.
11106
11107 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11108
11109 * cus-edit.el (custom-save-variables):
11110 Pretty-print long values. (Bug#14187)
11111
11112 2013-05-08 Glenn Morris <rgm@gnu.org>
11113
11114 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11115 (m4-mode-syntax-table): Init in the defvar.
11116 (m4-mode-abbrev-table): Let define-derived-mode define it.
11117
11118 2013-05-08 Tom Tromey <tromey@redhat.com>
11119
11120 * progmodes/m4-mode.el (m4-mode-syntax-table):
11121 Do not treat "_" as word constituent. (Bug#14167)
11122
11123 2013-05-07 Glenn Morris <rgm@gnu.org>
11124
11125 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11126 Remove explicit eshell-isearch-cancel-map.
11127
11128 * progmodes/f90.el (f90-smart-end-names): New option.
11129 (f90-smart-end): Doc fix.
11130 (f90-end-block-optional-name): New constant.
11131 (f90-block-match): Respect f90-smart-end-names.
11132
11133 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11134
11135 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11136 about implicit semi-colons (bug#14218).
11137
11138 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11139
11140 * frame.el (display-monitor-attributes-list)
11141 (frame-monitor-attributes): New functions.
11142
11143 2013-05-06 Leo Liu <sdl.web@gmail.com>
11144
11145 * progmodes/octave.el (octave-syntax-propertize-function): Change
11146 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11147 (octave-font-lock-keywords): Use octave-operator-regexp.
11148 (octave-completion-at-point): Rename from
11149 octave-completion-at-point-function.
11150 (inferior-octave-directory-tracker): Robustify.
11151 (octave-text-functions): Remove and fix its uses. No such things
11152 any more.
11153
11154 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11155
11156 * emacs-lisp/trace.el (trace--display-buffer): New function.
11157 (trace-make-advice): Use it.
11158
11159 2013-05-06 Juri Linkov <juri@jurta.org>
11160
11161 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11162 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11163 Doc fix.
11164 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11165 in the help string. (Bug#12985)
11166
11167 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11168
11169 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11170
11171 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11172
11173 * progmodes/perl-mode.el: Add support for here documents.
11174 (perl-syntax-propertize-function): Match here-doc markers.
11175 (perl-syntax-propertize-special-constructs): Find their end.
11176 (perl-imenu-generic-expression): Use [:alnum:].
11177
11178 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11179 (advice--add-function): Refresh the advice if already present
11180 (bug#14317).
11181
11182 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11183
11184 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11185
11186 2013-05-06 Glenn Morris <rgm@gnu.org>
11187
11188 * w32-fns.el (w32-charset-info-alist): Declare.
11189
11190 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11191 of its defcustom properties.
11192 (eshell-cmpl-initialize): No need to load pcomplete.
11193
11194 * generic-x.el: No need to require comint when compiling.
11195
11196 * net/eudc-export.el: Make it loadable without bbdb.
11197 (top-level): Use require rather than load-library.
11198 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11199 (eudc-batch-export-records-to-bbdb)
11200 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11201 Require bbdb.
11202
11203 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11206 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11207 some tweaks, instead.
11208
11209 2013-05-05 Leo Liu <sdl.web@gmail.com>
11210
11211 * progmodes/octave.el (octave-font-lock-keywords)
11212 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11213 (inferior-octave-send-list-and-digest): Improve error message.
11214 (octave-mode, inferior-octave-mode): Use setq-local.
11215 (octave-help): Set info-lookup-mode.
11216
11217 2013-05-05 Richard Stallman <rms@gnu.org>
11218
11219 * vc/compare-w.el (compare-windows-whitespace):
11220 Treat no-break space as whitespace.
11221
11222 * mail/rmailsum.el (rmail-summary-rmail-update):
11223 Detect empty summary and don't change selected message.
11224 (rmail-summary-goto-msg): Likewise.
11225
11226 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11227 Doc fixes, rename args.
11228
11229 2013-05-05 Alan Mackenzie <acm@muc.de>
11230
11231 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11232
11233 2013-05-05 Juri Linkov <juri@jurta.org>
11234
11235 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11236 to not add the length of the summary segment to the return value.
11237 (Bug#14125)
11238
11239 2013-05-05 Leo Liu <sdl.web@gmail.com>
11240
11241 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11242 (inferior-octave-output-filter): Remove.
11243 (octave-send-region, inferior-octave-startup): Fix callers.
11244 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11245 (octave-binary-file-extensions): New user variable.
11246 (octave-find-definition): Confirm if opening binary files.
11247 (octave-help-file): Use octave-find-definition to get the binary
11248 confirmation.
11249 (octave-help): Adjust for octave-help-file change.
11250
11251 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11252
11253 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11254 Merge the two entries that handle function definitions.
11255 (pascal--syntax-propertize): New const.
11256 (pascal-mode): Use it. Use setq-local.
11257
11258 2013-05-04 Glenn Morris <rgm@gnu.org>
11259
11260 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11261 (diary-from-outlook): Respect diary-from-outlook-function.
11262
11263 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11266 Move the declaration from C.
11267 (read-minibuffer, eval-minibuffer): Move from C.
11268 (completion-setup-function): Avoid minibuffer-completion-contents.
11269
11270 2013-05-03 Leo Liu <sdl.web@gmail.com>
11271
11272 * progmodes/octave.el (octave-font-lock-keywords): Do not
11273 dehighlight 'end' in comments or strings.
11274 (octave-completing-read, octave-goto-function-definition):
11275 New helpers.
11276 (octave-help-buffer): New user variable.
11277 (octave-help-file, octave-help-function): New button types.
11278 (octave-help): New command and bind it to C-h ;.
11279 (octave-find-definition): New command and bind it to M-.
11280 (user-error): Alias to error if not defined.
11281
11282 2013-05-02 Leo Liu <sdl.web@gmail.com>
11283
11284 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11285 for \. (bug#14332)
11286 (octave-font-lock-keywords): Include [ and {.
11287
11288 2013-05-02 Leo Liu <sdl.web@gmail.com>
11289
11290 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11291 (inferior-octave): Remove calling comint-mode and return the buffer.
11292 (inferior-octave-startup): Cosmetic changes.
11293
11294 2013-05-02 Leo Liu <sdl.web@gmail.com>
11295
11296 * progmodes/octave.el (octave-syntax-propertize-function):
11297 Include the case when ' is at line beginning. (Bug#14336)
11298
11299 2013-05-02 Glenn Morris <rgm@gnu.org>
11300
11301 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11302 * desktop.el (vc-dir-mode): Just autoload it here.
11303
11304 2013-05-02 Alan Mackenzie <acm@muc.de>
11305
11306 Eliminate variable c-standard-font-lock-fontify-region-function.
11307 * progmodes/cc-mode.el
11308 (c-standard-font-lock-fontify-region-function): Remove.
11309 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11310
11311 2013-05-01 Leo Liu <sdl.web@gmail.com>
11312
11313 * progmodes/octave.el: Compatible with older emacs-24 releases.
11314 (inferior-octave-has-built-in-variables): Remove. Built-in
11315 variables were removed from Octave in 2007.
11316 (inferior-octave-startup): Fix uses.
11317 (comint-line-beginning-position): Remove compatibility code for
11318 emacs 21.
11319
11320 2013-05-01 Juri Linkov <juri@jurta.org>
11321
11322 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11323
11324 2013-05-01 Juri Linkov <juri@jurta.org>
11325
11326 * comint.el (comint-previous-matching-input): Don't print message
11327 "History item: %d" when `isearch-mode' is active.
11328 (comint-history-isearch-message): Print message "History item: %d"
11329 when `comint-input-ring-index' is not empty and this function is
11330 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11331
11332 2013-05-01 Leo Liu <sdl.web@gmail.com>
11333
11334 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11335 definitions. Use completion-at-point to insert keywords.
11336 (octave-abbrev-start): Remove.
11337 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11338
11339 2013-04-30 Leo Liu <sdl.web@gmail.com>
11340
11341 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11342 change.
11343
11344 2013-04-30 Alan Mackenzie <acm@muc.de>
11345
11346 Handle arbitrarily long C++ member initialisation lists.
11347 * progmodes/cc-engine.el (c-back-over-member-initializers):
11348 new function.
11349 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11350 (most) member init lists.
11351
11352 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11353
11354 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11355 variable.
11356
11357 2013-04-30 Leo Liu <sdl.web@gmail.com>
11358
11359 * progmodes/octave.el (octave-variables): Remove. No builtin
11360 variables any more. All converted to functions.
11361 (octave-font-lock-keywords, octave-completion-at-point-function):
11362 Fix uses.
11363 (octave-font-lock-texinfo-comment): New user variable.
11364 (octave-texinfo-font-lock-keywords): New variable for texinfo
11365 comment block.
11366 (octave-function-comment-block): New face.
11367 (octave-font-lock-texinfo-comment): New function.
11368 (octave-mode): Font lock texinfo comment block.
11369
11370 2013-04-29 Leo Liu <sdl.web@gmail.com>
11371
11372 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11373 indexing expression.
11374 (octave-continuation-string): Do not use \.
11375 (inferior-octave-complete-impossible): Remove.
11376 (inferior-octave-completion-table)
11377 (inferior-octave-completion-at-point): Remove its uses.
11378 (inferior-octave-startup): completion_matches was introduced to
11379 Octave in 1996 so safe to assume it.
11380 (octave-function-file-comment): Improve to follow how Octave does it.
11381 (octave-update-function-file-comment): Tweak.
11382
11383 2013-04-29 Leo Liu <sdl.web@gmail.com>
11384
11385 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11386 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11387 (octave-function-file-comment): Fix typo.
11388 (octave-sync-function-file-names): Use read-char-choice.
11389
11390 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11391
11392 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11393 to t for the less important warnings.
11394
11395 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11396
11397 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11398
11399 2013-04-27 Glenn Morris <rgm@gnu.org>
11400
11401 * vc/log-view.el (log-view-current-entry):
11402 Treat "---" separator lines as part of the following rev. (Bug#14169)
11403
11404 2013-04-27 Juri Linkov <juri@jurta.org>
11405
11406 * subr.el (read-number): Doc fix about using it by interactive
11407 code letter `n'. (Bug#14254)
11408
11409 2013-04-27 Juri Linkov <juri@jurta.org>
11410
11411 * desktop.el (desktop-auto-save-timeout): New option.
11412 (desktop-file-checksum): New variable.
11413 (desktop-save): Add optional arg `auto-save' and don't auto-save
11414 if nothing changed.
11415 (desktop-auto-save-timer): New variable.
11416 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11417 (after-init-hook): Call `desktop-auto-save-set-timer'.
11418 Suggested by Reuben Thomas <rrt@sc3d.org> in
11419 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11420
11421 2013-04-27 Leo Liu <sdl.web@gmail.com>
11422
11423 * progmodes/octave.el (octave-function-file-p)
11424 (octave-skip-comment-forward, octave-function-file-comment)
11425 (octave-update-function-file-comment): New functions.
11426 (octave-mode-map): Bind C-c ; to
11427 octave-update-function-file-comment.
11428 (octave-mode-menu): Add octave-update-function-file-comment.
11429 (octave-mode, inferior-octave-mode): Fix doc-string.
11430 (octave-insert-defun): Conform to Octave's coding convention.
11431 (Bug#14285)
11432
11433 * files.el (basic-save-buffer): Don't let errors in
11434 before-save-hook prevent saving buffer.
11435
11436 2013-04-20 Roland Winkler <winkler@gnu.org>
11437
11438 * faces.el (read-face-name): Use completing-read if arg multiple
11439 is nil.
11440
11441 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11442
11443 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11444 displayed, move point to after the totals line.
11445 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11446 for the details.
11447
11448 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11449
11450 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11451 Add current dir to the load-path.
11452 (package-generate-autoloads): Don't rely on
11453 autoload-ensure-default-file.
11454
11455 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11456
11457 * textmodes/remember.el (remember-store-in-files): Document that
11458 the file name format is passed to `format-time-string'.
11459
11460 2013-04-26 Leo Liu <sdl.web@gmail.com>
11461
11462 * progmodes/octave.el (octave-sync-function-file-names): New function.
11463 (octave-mode): Use it in before-save-hook.
11464
11465 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11468 (bug#14274).
11469
11470 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11471 \n and comment, even if it's not an implicit ; (bug#14218).
11472
11473 2013-04-26 Glenn Morris <rgm@gnu.org>
11474
11475 * subr.el (read-number): Once more use `read' rather than
11476 `string-to-number', to trap non-numeric input. (Bug#14254)
11477
11478 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11479
11480 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11481 Use `syntax-multiline' text property consistently instead of
11482 `font-lock-multiline'. (Bug#14237)
11483
11484 2013-04-26 Glenn Morris <rgm@gnu.org>
11485
11486 * emacs-lisp/shadow.el (list-load-path-shadows):
11487 No longer necessary to check for duplicate simple.el, since
11488 2012-07-07 change to init_lread to not include installation lisp
11489 directories in load-path when running uninstalled. (Bug#14270)
11490
11491 2013-04-26 Leo Liu <sdl.web@gmail.com>
11492
11493 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11494 (octave-mode, inferior-octave-mode): Use setq-local.
11495 (octave-not-in-string-or-comment-p): Rename to
11496 octave-in-string-or-comment-p.
11497 (octave-in-comment-p, octave-in-string-p)
11498 (octave-in-string-or-comment-p): Replace defsubst with defun.
11499
11500 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11501
11502 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11503
11504 2013-04-25 Bastien Guerry <bzg@gnu.org>
11505
11506 * textmodes/remember.el (remember-data-directory)
11507 (remember-directory-file-name-format): Fix custom types.
11508
11509 2013-04-25 Leo Liu <sdl.web@gmail.com>
11510
11511 * progmodes/octave.el (octave-completion-at-point-function):
11512 Make use of inferior octave process.
11513 (octave-initialize-completions): Remove.
11514 (inferior-octave-completion-table): New function.
11515 (inferior-octave-completion-at-point): Use it.
11516 (octave-completion-alist): Remove.
11517
11518 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11519
11520 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11521 (opascal-mode-syntax-table): New var.
11522 (opascal-literal-kind, opascal-is-literal-end)
11523 (opascal-literal-token-at): Rewrite.
11524 (opascal--literal-start-re, opascal-font-lock-keywords)
11525 (opascal--syntax-propertize): New constants.
11526 (opascal-font-lock-defaults): Adjust.
11527 (opascal-mode): Use them. Set comment-<foo> variables as well.
11528 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11529 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11530 (delphi-other-face, opascal-other-face): Remove face variables.
11531 (opascal-save-state): Remove macro.
11532 (opascal-fontifying-progress-step): Remove constant.
11533 (opascal--ignore-changes): Remove var.
11534 (opascal-set-token-property, opascal-parse-next-literal)
11535 (opascal-is-stable-literal, opascal-complete-literal)
11536 (opascal-is-literal-start, opascal-face-of)
11537 (opascal-parse-region, opascal-parse-region-until-stable)
11538 (opascal-fontify-region, opascal-after-change)
11539 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11540 (opascal-debug-parse-region, opascal-debug-parse-window)
11541 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11542 (opascal-debug-fontify-buffer): Remove.
11543 (opascal-debug-mode-map): Adjust accordingly.
11544
11545 2013-04-25 Leo Liu <sdl.web@gmail.com>
11546
11547 Merge octave-mod.el and octave-inf.el into octave.el with some
11548 cleanups.
11549 * progmodes/octave.el: New file renamed from octave-mod.el.
11550 * progmodes/octave-inf.el: Merged into octave.el.
11551 * progmodes/octave-mod.el: Renamed to octave.el.
11552
11553 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11554
11555 * textmodes/reftex-vars.el
11556 (reftex-label-ignored-macros-and-environments): New defcustom.
11557
11558 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11559
11560 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11561
11562 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11563 (smie-indent-keyword): Improve the check to ensure that the next
11564 comment is really on the same line.
11565 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11566
11567 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11568 semi-colons if the line is not otherwise empty (bug#14218).
11569
11570 2013-04-25 Glenn Morris <rgm@gnu.org>
11571
11572 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11573
11574 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * progmodes/opascal.el (opascal-set-token-property): Rename from
11577 opascal-set-text-properties and only set `token' (bug#14134).
11578 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11579 (opascal-literal-text-properties): Remove.
11580 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11581 Adjust callers.
11582
11583 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11584
11585 * textmodes/remember.el (remember-handler-functions): Add an
11586 option for a new handler `remember-store-in-files'.
11587 (remember-data-directory, remember-directory-file-name-format):
11588 New options.
11589 (remember-store-in-files): New function to store remember notes
11590 as separate files within a directory.
11591
11592 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11593
11594 * progmodes/compile.el (compilation-next-error-function):
11595 Pass "formats" to compilation-find-file (bug#11777).
11596
11597 2013-04-24 Glenn Morris <rgm@gnu.org>
11598
11599 * vc/vc-bzr.el (vc-bzr-print-log):
11600 * vc/vc-hg.el (vc-hg-print-log):
11601 * vc/vc-svn.el (vc-svn-print-log):
11602 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11603
11604 * vc/vc-bzr.el (vc-bzr-print-log):
11605 * vc/vc-cvs.el (vc-cvs-print-log):
11606 * vc/vc-git.el (vc-git-print-log):
11607 * vc/vc-hg.el (vc-hg-print-log):
11608 * vc/vc-mtn.el (vc-mtn-print-log):
11609 * vc/vc-rcs.el (vc-rcs-print-log):
11610 * vc/vc-sccs.el (vc-sccs-print-log):
11611 * vc/vc-svn.el (vc-svn-print-log):
11612 * vc/vc.el (vc-print-log-internal): Doc fixes.
11613
11614 2013-04-23 Glenn Morris <rgm@gnu.org>
11615
11616 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11617 Remove venerable code attempting to avoid substitute-command-keys.
11618
11619 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11620
11621 * textmodes/reftex-vars.el (reftex-label-regexps):
11622 Call `reftex-compile-variables' after changes to this variable.
11623
11624 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11625
11626 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11627 Use lexical-binding.
11628 (jit-lock-force-redisplay): Use markers, check buffer's continued
11629 existence and beware narrowed buffers.
11630 (jit-lock-fontify-now): Adjust call accordingly.
11631
11632 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11635 to avoid misleading the user.
11636
11637 2013-04-22 Leo Liu <sdl.web@gmail.com>
11638
11639 * info-look.el: Prefer latex2e.info. (Bug#14240)
11640
11641 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11642
11643 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11644
11645 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11646 * net/tramp.el (tramp-call-process): ... here.
11647 (tramp-set-completion-function, tramp-parse-putty):
11648 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11649 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11650 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11651 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11652 (tramp-call-local-coding-command): Use `tramp-call-process'
11653 instead of `tramp-compat-call-process'.
11654
11655 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11656 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11657 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11658 (tramp-find-inline-compress): Improve traces.
11659 (tramp-maybe-send-script): Check for Perl binary.
11660 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11661
11662 2013-04-22 Daiki Ueno <ueno@gnu.org>
11663
11664 * epg.el (epg-context-pinentry-mode): New function.
11665 (epg-context-set-pinentry-mode): New function.
11666 (epg--start): Pass --pinentry-mode option to gpg command.
11667
11668 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11669
11670 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11671 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11672 `completion-at-point'. (Bug#13774)
11673
11674 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11675 default key binding for `describe-distribution' has been moved to
11676 `C-h C-o'. (Bug#13970)
11677
11678 2013-04-21 Glenn Morris <rgm@gnu.org>
11679
11680 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11681 Add doc strings.
11682 (vc-print-log): Clarify interactive prompt.
11683
11684 2013-04-20 Glenn Morris <rgm@gnu.org>
11685
11686 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11687 No longer include timestamp etc information.
11688
11689 2013-04-20 Roland Winkler <winkler@gnu.org>
11690
11691 * faces.el (read-face-name): Bug fix, return just one face if arg
11692 multiple is nil. (Bug#14209)
11693
11694 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11695
11696 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11697 (remove-function): Autoload.
11698
11699 * comint.el (comint-redirect-original-filter-function): Remove.
11700 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11701 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11702 (vc-cvs-annotate-command):
11703 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11704 * progmodes/prolog.el (prolog-consult-compile):
11705 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11706 Use add/remove-function instead.
11707 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11708 (gud-tooltip-process-output, gud-tooltip-tips):
11709 Use add/remove-function instead.
11710 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11711 (scheme-interaction-mode, exit-scheme-interaction-mode):
11712 Use add/remove-function instead.
11713
11714 * vc/vc-dispatcher.el: Use lexical-binding.
11715 (vc--process-sentinel): Rename from vc-process-sentinel.
11716 Change last arg to be the code to run. Don't use vc-previous-sentinel
11717 and vc-sentinel-commands any more.
11718 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11719 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11720
11721 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11722
11723 * progmodes/sh-script.el (sh-imenu-generic-expression):
11724 Handle function names with a single character. (Bug#14111)
11725
11726 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11727
11728 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11729 for subroutines defined in an eval (bug#14182).
11730
11731 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11732
11733 * bookmark.el (bookmark-completing-read): Improve handling of empty
11734 string (bug#14176).
11735
11736 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11737
11738 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11739
11740 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11741
11742 New faster Imenu implementation (bug#14058).
11743 * progmodes/python.el:
11744 (python-imenu-prev-index-position):
11745 (python-imenu-format-item-label-function)
11746 (python-imenu-format-parent-item-label-function)
11747 (python-imenu-format-parent-item-jump-label-function):
11748 New vars.
11749 (python-imenu-format-item-label)
11750 (python-imenu-format-parent-item-label)
11751 (python-imenu-format-parent-item-jump-label)
11752 (python-imenu--put-parent, python-imenu--build-tree)
11753 (python-imenu-create-index, python-imenu-create-flat-index)
11754 (python-util-popn): New functions.
11755 (python-mode): Set imenu-create-index-function to
11756 python-imenu-create-index.
11757
11758 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11759
11760 * winner.el (winner-active-region): Use region-active-p, activate-mark
11761 and deactivate-mark (bug#14225).
11762
11763 * simple.el (deactivate-mark): Don't inline it.
11764
11765 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11766
11767 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11768
11769 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11770
11771 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11772 file extensions from the archive-mode entry in order to prefer
11773 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11774
11775 2013-04-18 Leo Liu <sdl.web@gmail.com>
11776
11777 * bindings.el (help-event-list): Add ?\?.
11778
11779 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * subr.el (with-wrapper-hook): Declare obsolete.
11782 * simple.el (filter-buffer-substring-function): New hook.
11783 (filter-buffer-substring): Use it.
11784 (filter-buffer-substring-functions): Mark obsolete.
11785 * minibuffer.el (completion-in-region-function): New hook.
11786 (completion-in-region): Use it.
11787 (completion-in-region-functions): Mark obsolete.
11788 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11789 * abbrev.el (abbrev-expand-function): New hook.
11790 (expand-abbrev): Use it.
11791 (abbrev-expand-functions): Mark obsolete.
11792 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11793 and :filter-return.
11794
11795 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11796
11797 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11798 and do not care about match data.
11799
11800 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11803 completion tables when completing error conditions and
11804 `declare' arguments.
11805 (lisp-complete-symbol, field-complete): Mark as obsolete.
11806 (check-parens): Unmatched parens are user errors.
11807 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11808
11809 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11810
11811 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11812 command changed buffer (ie. `flyspell-pre-buffer' is not current
11813 buffer), which prevents making decisions based on invalid value of
11814 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11815 cause an error when `flyspell-pre-point' was nil after switching
11816 buffers.
11817 (flyspell-post-command-hook): No longer needs to change buffers when
11818 checking pre-word. While at it remove unnecessary progn.
11819
11820 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11821
11822 * textmodes/ispell.el (ispell-add-per-file-word-list):
11823 Fix `flyspell-correct-word-before-point' error when accepting
11824 words and `coment-padding' is an integer by using
11825 `comment-normalize-vars' (Bug #14214).
11826
11827 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11828
11829 New defun movement commands.
11830 * progmodes/python.el (python-nav--syntactically)
11831 (python-nav--forward-defun, python-nav-backward-defun)
11832 (python-nav-forward-defun): New functions.
11833
11834 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11835
11836 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11837 (python-syntax-context): Use named compiler-macro for backwards
11838 compatibility with Emacs 24.x.
11839
11840 2013-04-17 Leo Liu <sdl.web@gmail.com>
11841
11842 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11843 octave-hide-process-buffer.
11844
11845 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11846
11847 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11848 (bug#14216).
11849
11850 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11851
11852 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11853 Fix adjustment of offset when receiving incomplete responses from GDB
11854 (bug#14129).
11855
11856 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11857
11858 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11859 python-mode-abbrev-table.
11860 (python-skeleton-define): Adjust accordingly.
11861 (python-mode-abbrev-table): New table that inherits from it so that
11862 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11863
11864 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11865 (abbrev-symbol): Use it.
11866 (abbrev--before-point): Use it since we already handle inheritance.
11867
11868 2013-04-16 Leo Liu <sdl.web@gmail.com>
11869
11870 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11871 binding to info-lookup-symbol.
11872
11873 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11874
11875 * minibuffer.el (completion--twq-all):
11876 * term/ns-win.el (ns-initialize-window-system):
11877 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11878
11879 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11882 global bindings.
11883
11884 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11885
11886 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11887
11888 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11889 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11890 to nil.
11891 (ruby-end-of-defun): Remove the unused arg, change the docstring
11892 to reflect that this function is only used as the value of
11893 `end-of-defun-function'.
11894 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11895 to reflect an earlier change that beginning/end-of-defun functions
11896 jump between methods in a class definition, as well as top-level
11897 functions.
11898
11899 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * minibuffer.el (minibuffer-complete): Don't just scroll
11902 a *Completions* that's been iconified.
11903 (minibuffer-force-complete): Make sure repetitions do cycle when going
11904 through completion-in-region -> minibuffer-complete.
11905
11906 2013-04-15 Alan Mackenzie <acm@muc.de>
11907
11908 Correct the placement of c-cpp-delimiters when there're #s not at
11909 col 0.
11910
11911 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11912 place a submatch around the #.
11913 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11914 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11915 on the #, not BOL.
11916
11917 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11920 (advice--member-p): New arg `name'.
11921 (advice--add-function, advice-member-p): Use it (bug#14202).
11922
11923 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11924
11925 Reformulate java imenu-generic-expression.
11926 The old expression contained ill formed regexps.
11927
11928 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11929 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11930 (cc-imenu-java-method-arg-regexp): New defconsts.
11931 (cc-imenu-java-build-type-args-regex): New defun.
11932 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11933 handling of spaces in the regexp.
11934
11935 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11936
11937 * textmodes/ispell.el (ispell-command-loop): Remove
11938 flyspell highlight of a word when ispell accepts it (bug #14178).
11939
11940 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11941
11942 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11943 uses code from the previous `ange-ftp-run-real-handler'.
11944 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11945 only in case that function exist. This is needed for proper
11946 unloading of Tramp.
11947
11948 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11949
11950 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11951
11952 * textmodes/reftex.el (reftex-compile-variables): Use it.
11953
11954 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11955
11956 * files.el (normal-mode): Only use default major-mode if no other mode
11957 was specified.
11958
11959 * emacs-lisp/trace.el (trace-values): New function.
11960
11961 * files.el: Allow : in local variables (bug#14089).
11962 (hack-local-variable-regexp): New var.
11963 (hack-local-variables-prop-line, hack-local-variables): Use it.
11964
11965 2013-04-13 Roland Winkler <winkler@gnu.org>
11966
11967 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11968 data before it gets modified by bibtex-beginning-of-entry.
11969
11970 2013-04-13 Roland Winkler <winkler@gnu.org>
11971
11972 * textmodes/bibtex.el (bibtex-url): Doc fix.
11973
11974 2013-04-13 Roland Winkler <winkler@gnu.org>
11975
11976 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11977 does not visit a BibTeX file, exclude it from the list of buffers
11978 returned by bibtex-initialize.
11979
11980 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11981
11982 * window.el (split-window): Remove interactive form, since as a
11983 command this function is a special case of split-window-below.
11984 Correct doc string.
11985
11986 2013-04-12 Roland Winkler <winkler@gnu.org>
11987
11988 * faces.el (read-face-name): Do not override value of arg default.
11989 Allow single faces and strings as default values. Remove those
11990 elements from return value that are not faces.
11991 (describe-face): Simplify.
11992 (face-at-point): New optional args thing and multiple so that this
11993 function can provide the same functionality previously provided by
11994 read-face-name.
11995 (make-face-bold, make-face-unbold, make-face-italic)
11996 (make-face-unitalic, make-face-bold-italic, invert-face)
11997 (modify-face, read-face-and-attribute): Use face-at-point.
11998
11999 * cus-edit.el (customize-face, customize-face-other-window)
12000 * cus-theme.el (custom-theme-add-face)
12001 * face-remap.el (buffer-face-set)
12002 * facemenu.el (facemenu-set-face): Use face-at-point.
12003
12004 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12005
12006 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12007
12008 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12009
12010 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12011 off leading { and trailing } from field values.
12012
12013 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12014
12015 * emacs-lisp/timer.el (timer--check): New function.
12016 (timer--time, timer-set-function, timer-event-handler): Use it.
12017 (timer-set-idle-time): Simplify.
12018 (timer--activate): CSE.
12019 (timer-event-handler): Give more info in error message.
12020 (internal-timer-start-idle): New function, moved from C.
12021
12022 * mpc.el (mpc-proc): Add `restart' argument.
12023 (mpc-proc-cmd): Use it.
12024 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12025 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12026 less often.
12027
12028 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12029
12030 * progmodes/sh-script.el: Implement `sh-mode' own
12031 `add-log-current-defun-function' (bug#14112).
12032 (sh-current-defun-name): New function.
12033 (sh-mode): Use the function.
12034
12035 2013-04-09 Bastien Guerry <bzg@gnu.org>
12036
12037 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12038
12039 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12040
12041 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12042
12043 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12044 timer (bug#14156).
12045
12046 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12047
12048 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12049 declaration.
12050
12051 2013-04-07 Leo Liu <sdl.web@gmail.com>
12052
12053 * pcmpl-x.el: New file.
12054
12055 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12056
12057 Do not set x-display-name until X connection is established.
12058 This is needed to prevent from weird situation described at
12059 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12060 * frame.el (make-frame): Set x-display-name after call to
12061 window system initialization function, not before.
12062 * term/x-win.el (x-initialize-window-system): Add optional
12063 display argument and use it.
12064 * term/w32-win.el (w32-initialize-window-system):
12065 * term/ns-win.el (ns-initialize-window-system):
12066 * term/pc-win.el (msdos-initialize-window-system):
12067 Add compatible optional display argument.
12068
12069 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12070
12071 * files.el (normal-backup-enable-predicate): On MS-Windows and
12072 MS-DOS compare truenames of temporary-file-directory and of the
12073 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12074 don't fail comparison by compare-strings. Also, compare file
12075 names case-insensitively on MS-Windows and MS-DOS.
12076
12077 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12078
12079 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12080 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12081
12082 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12083
12084 * whitespace.el (whitespace-color-on, whitespace-color-off):
12085 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12086
12087 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12088
12089 * ispell.el (ispell-set-spellchecker-params):
12090 Really set `ispell-args' for all equivs.
12091
12092 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12093
12094 * ido.el (ido-completions): Use extra elements of ido-decorations
12095 (bug#14143).
12096 (ido-decorations): Update docstring.
12097
12098 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12099
12100 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12101 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12102 nil during initialization, in order not to miss changes since the
12103 file was opened. (Bug#14140)
12104
12105 2013-04-05 Leo Liu <sdl.web@gmail.com>
12106
12107 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12108
12109 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12110
12111 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12112
12113 2013-04-04 Glenn Morris <rgm@gnu.org>
12114
12115 * electric.el (electric-pair-inhibit-predicate): Add :version.
12116
12117 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12118
12119 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12120 when a package is required several times (bug#14082).
12121
12122 2013-04-04 Roland Winkler <winkler@gnu.org>
12123
12124 * faces.el (read-face-name): Behave as promised by the docstring.
12125 Assume that arg default is a list of faces.
12126 (describe-face): Call read-face-name with list of default faces.
12127
12128 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12129
12130 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12131 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12132 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12133 the header.
12134 (bookmark-exit-hook-internal): Save even if list is empty.
12135
12136 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12137
12138 * emacs-lisp/package.el (package-pinned-packages): New var.
12139 (package--add-to-archive-contents): Obey it (bug#14118).
12140
12141 2013-04-03 Alan Mackenzie <acm@muc.de>
12142
12143 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12144 Also adapt to the new values of element 7 of a parse state.
12145
12146 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12147 parameter `not-in-delimiter'. Handle being inside comment opener.
12148 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12149 character in case we're typing a '*' after a '/'.
12150 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12151 instead by passing the parameter to c-state-pp-to-literal.
12152
12153 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12154 for elt. 7 of a parse state.
12155
12156 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12157
12158 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12159 * international/latin1-disp.el, international/mule-util.el:
12160 * language/cyril-util.el, language/european.el, language/ind-util.el:
12161 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12162 * language/tibetan.el, language/viet-util.el:
12163 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12164
12165 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12168 (electric-pair-post-self-insert-function): Use it.
12169 (electric-pair-default-inhibit): New function, extracted from
12170 electric-pair-post-self-insert-function.
12171
12172 2013-03-31 Roland Winkler <winkler@gnu.org>
12173
12174 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12175
12176 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12179
12180 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12181
12182 Un-indent after "pass" and "return" statements (Bug#13888)
12183 * progmodes/python.el (python-indent-block-enders): New var.
12184 (python-indent-calculate-indentation): Use it.
12185
12186 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12187
12188 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12189 defun. Defining it as defalias could introduce too eager
12190 byte-compiler optimization. (Bug#14030)
12191
12192 2013-03-30 Chong Yidong <cyd@gnu.org>
12193
12194 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12195
12196 2013-03-30 Leo Liu <sdl.web@gmail.com>
12197
12198 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12199 (kmacro-execute-from-register): Pass the keyboard macro to
12200 kmacro-call-macro or repeating won't work correctly.
12201
12202 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12203
12204 * progmodes/subword.el: Back to using `forward-symbol'.
12205
12206 * subr.el (forward-whitespace, forward-symbol)
12207 (forward-same-syntax): Move from thingatpt.el.
12208
12209 2013-03-29 Leo Liu <sdl.web@gmail.com>
12210
12211 * kmacro.el (kmacro-to-register): New command.
12212 (kmacro-execute-from-register): New function.
12213 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12214
12215 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * mpc.el: Use defvar-local and setq-local.
12218 (mpc--proc-connect): Connection failures are not bugs.
12219 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12220 (mpc-volume-map): Bind to the up-events.
12221
12222 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12223
12224 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12225 instead of `forward-symbol'.
12226
12227 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12230 (edebug--recursive-edit): Use it.
12231 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12232 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12233
12234 2013-03-28 Leo Liu <sdl.web@gmail.com>
12235
12236 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12237
12238 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12239
12240 * facemenu.el (list-colors-callback): New defvar.
12241 (list-colors-redisplay): New function.
12242 (list-colors-display): Install list-colors-redisplay as the
12243 revert-buffer-function. (Bug#14063)
12244
12245 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12246
12247 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12248 and suffixes don't overlap (bug#14061).
12249
12250 * case-table.el: Use lexical-binding.
12251 (case-table-get-table): New function.
12252 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12253
12254 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12255
12256 * progmodes/subword.el: Add `superword-mode' to do word motion
12257 over symbol_words (parallels and leverages `subword-mode' which
12258 does word motion inside MixedCaseWords).
12259
12260 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12261
12262 * eshell/em-unix.el: Move su and sudo to...
12263 * eshell/em-tramp.el: ...Eshell tramp module.
12264
12265 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12266
12267 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12268 Change return value to be a sexp. Delay `get-buffer' to after
12269 restoring the desktop (bug#13951).
12270
12271 2013-03-26 Leo Liu <sdl.web@gmail.com>
12272
12273 * register.el: Move semantic tag handling back to
12274 cedet/semantic/senator.el. (Bug#14052)
12275
12276 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12277
12278 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12279 into the prompt either (bug#13963).
12280
12281 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12284 part of "(error-foo)".
12285
12286 2013-03-24 Juri Linkov <juri@jurta.org>
12287
12288 * replace.el (list-matching-lines-prefix-face): New defcustom.
12289 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12290 `occur-engine' if `face-differs-from-default-p' returns t.
12291 (occur-engine): Add `,' inside backquote construct to evaluate
12292 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12293 Pass `prefix-face' to the functions `occur-context-lines' and
12294 `occur-engine-add-prefix'.
12295 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12296 `prefix-face' and propertize the prefix with `prefix-face'.
12297 (Bug#14017)
12298
12299 2013-03-24 Leo Liu <sdl.web@gmail.com>
12300
12301 * nxml/rng-valid.el (rng-validate-while-idle)
12302 (rng-validate-quick-while-idle): Guard against deleted buffer.
12303 (Bug#13999)
12304
12305 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12306 is the last entry in kill-buffer-hook.
12307
12308 * files.el (kill-buffer-hook): Doc fix.
12309
12310 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12311
12312 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12313 Make it safe-local.
12314
12315 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12316
12317 2013-03-23 Leo Liu <sdl.web@gmail.com>
12318
12319 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12320 Remove.
12321
12322 * nxml/rng-valid.el (rng-validate-mode)
12323 (rng-after-change-function, rng-do-some-validation):
12324 * nxml/rng-maint.el (rng-validate-buffer):
12325 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12326 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12327 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12328 (nxml-extend-after-change-region): Use with-silent-modifications.
12329
12330 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12331 timer-idle-list.
12332
12333 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12334 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12335 timer-idle-list. (Bug#13999)
12336
12337 2013-03-23 Juri Linkov <juri@jurta.org>
12338
12339 * info.el (info-index-match): New face.
12340 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12341 main pattern and add text properties with the new face to matches
12342 in index entries relative to the beginning of the index entry.
12343 (Bug#14015)
12344
12345 2013-03-21 Eric Ludlam <zappo@gnu.org>
12346
12347 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12348 Inhibit read only while inserting objects.
12349
12350 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12351
12352 * progmodes/cfengine.el: Update docs to mention
12353 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12354 symbol motion. Remove "_" from the word syntax.
12355
12356 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12357
12358 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12359 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12360
12361 2013-03-20 Juri Linkov <juri@jurta.org>
12362
12363 * info.el (Info-next-reference-or-link)
12364 (Info-prev-reference-or-link): New functions.
12365 (Info-next-reference, Info-prev-reference): Use them.
12366 (Info-try-follow-nearest-node): Handle footnote navigation.
12367 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12368
12369 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12370
12371 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12372 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12373
12374 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12375
12376 Suppress unnecessary non-ASCII chatter during build process.
12377 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12378 (batch-skkdic-convert): Suppress most of the chatter.
12379 It's not needed so much now that machines are faster,
12380 and its non-ASCII component was confusing; see Dmitry Gutov in
12381 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12382
12383 2013-03-20 Leo Liu <sdl.web@gmail.com>
12384
12385 * ido.el (ido-chop): Fix bug#10994.
12386
12387 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12388
12389 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12390 Remove vars.
12391 (whitespace-color-on, whitespace-color-off):
12392 Use `font-lock-fontify-buffer' (Bug#13817).
12393
12394 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12395
12396 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12397 remapping in mode-line.
12398 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12399
12400 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12401
12402 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12403 value for `whitespace-line' face (Bug#13875).
12404 (whitespace-font-lock-keywords): Change description.
12405 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12406 the constructed keywords instead.
12407 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12408
12409 2013-03-19 Leo Liu <sdl.web@gmail.com>
12410
12411 * progmodes/compile.el (compilation-display-error): New command.
12412 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12413 C-o. (Bug#13992)
12414
12415 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12416
12417 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12418
12419 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12420
12421 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12422
12423 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12424
12425 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12426
12427 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12428 * net/tramp-gvfs.el (top):
12429 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12430 (tramp-handle-shell-command): Use it.
12431 (tramp-dissect-file-name): Raise an error when hostname is a
12432 method name, and neither method nor user is specified.
12433
12434 * net/trampver.el: Update release number.
12435
12436 2013-03-18 Leo Liu <sdl.web@gmail.com>
12437
12438 Make sure eldoc can be turned off properly.
12439 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12440 eldoc-mode.
12441 (eldoc-display-message-p): Revert last change.
12442 (eldoc-display-message-no-interference-p)
12443 (eldoc-print-current-symbol-info): Tweak.
12444
12445 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12446
12447 * doc-view.el (doc-view-new-window-function): Check the new window
12448 overlay's display property instead the char property of the
12449 buffer's first char. Use `with-selected-window' instead of
12450 `save-window-excursion' with `select-window'.
12451 (doc-view-document->bitmap): Check the current doc-view overlay's
12452 display property instead the char property of the buffer's first char.
12453
12454 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12455
12456 Automate the build of ja-dic.el (Bug#13984).
12457 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12458 from the input, rather than assume that it's been done for us by the
12459 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12460 the current date into a ja-dic.el comment, as that complicates
12461 regression testing.
12462
12463 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12464
12465 * whitespace.el: Fix double evaluation.
12466 (whitespace-space, whitespace-hspace, whitespace-tab)
12467 (whitespace-newline, whitespace-trailing, whitespace-line)
12468 (whitespace-space-before-tab, whitespace-indentation)
12469 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12470 obsolete defvars.
12471 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12472 (whitespace-color-on): Use a single font-lock-add-keywords call.
12473 Fix double-evaluation of face variables.
12474
12475 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12476
12477 * net/tramp-adb.el (tramp-adb-parse-device-names):
12478 Use `start-process' instead of `call-process'. Otherwise, the
12479 function might be blocked under MS Windows. (Bug#13299)
12480
12481 2013-03-17 Leo Liu <sdl.web@gmail.com>
12482
12483 Extend eldoc to display info in the mode-line. (Bug#13978)
12484 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12485 (eldoc-mode-line-string): New variable.
12486 (eldoc-minibuffer-message): New function.
12487 (eldoc-message-function): New variable.
12488 (eldoc-message): Use it.
12489 (eldoc-display-message-p)
12490 (eldoc-display-message-no-interference-p):
12491 Support eldoc-post-insert-mode.
12492
12493 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12494 (eval-expression): Run it.
12495
12496 2013-03-17 Roland Winkler <winkler@gnu.org>
12497
12498 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12499 strings in the list of return values.
12500
12501 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12502
12503 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12504 radix before checking for HMS forms.
12505
12506 2013-03-16 Leo Liu <sdl.web@gmail.com>
12507
12508 * progmodes/scheme.el: Add indentation and font-locking for λ.
12509 (Bug#13975)
12510
12511 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12514 token before point (bug#13942).
12515
12516 2013-03-16 Leo Liu <sdl.web@gmail.com>
12517
12518 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12519
12520 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12521
12522 * startup.el (command-line-normalize-file-name): Fix handling of
12523 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12524 <xfq.free@gmail.com> in
12525 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12526
12527 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12528
12529 Sync with Tramp 2.2.7.
12530
12531 * net/trampver.el: Update release number.
12532
12533 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12534
12535 * doc-view.el: Fix bug#13887.
12536 (doc-view-insert-image): Don't modify overlay associated to
12537 non-live windows, and implement horizontal centering of image in
12538 case it's smaller than the window.
12539 (doc-view-new-window-function): Force redisplay of new windows on
12540 doc-view buffers.
12541
12542 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12543
12544 * saveplace.el (save-place-alist-to-file): Don't sort
12545 `save-place-alist', just pretty-print it (bug#13882).
12546
12547 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12548
12549 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12550 Check whether `default-file-name-coding-system' is bound.
12551 It isn't in XEmacs.
12552
12553 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12554
12555 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12556 backquotes for `obsolete' (bug#13929).
12557
12558 * international/mule.el (find-auto-coding): Include file name in
12559 obsolescence warning (bug#13922).
12560
12561 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12562
12563 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12564 for CFEngine 3-specific indentation.
12565 (cfengine3-indent-line): Use it. Fix up category regex.
12566 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12567
12568 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12569
12570 * type-break.el (type-break-file-name):
12571 * textmodes/remember.el (remember-data-file):
12572 * strokes.el (strokes-file):
12573 * shadowfile.el (shadow-initialize):
12574 * saveplace.el (save-place-file):
12575 * ps-bdf.el (bdf-cache-file):
12576 * progmodes/idlwave.el (idlwave-config-directory):
12577 * net/quickurl.el (quickurl-url-file):
12578 * international/kkc.el (kkc-init-file-name):
12579 * ido.el (ido-save-directory-list-file):
12580 * emulation/viper.el (viper-custom-file-name):
12581 * emulation/vip.el (vip-startup-file):
12582 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12583 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12584
12585 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12586
12587 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12588 * language/thai-word.el: Switch to UTF-8.
12589
12590 See ChangeLog.16 for earlier changes.
12591
12592 ;; Local Variables:
12593 ;; coding: utf-8
12594 ;; End:
12595
12596 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12597
12598 This file is part of GNU Emacs.
12599
12600 GNU Emacs is free software: you can redistribute it and/or modify
12601 it under the terms of the GNU General Public License as published by
12602 the Free Software Foundation, either version 3 of the License, or
12603 (at your option) any later version.
12604
12605 GNU Emacs is distributed in the hope that it will be useful,
12606 but WITHOUT ANY WARRANTY; without even the implied warranty of
12607 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12608 GNU General Public License for more details.
12609
12610 You should have received a copy of the GNU General Public License
12611 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.