f74ede68cd165e4d3106e01fd7baa99d3d6d69b5
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-03 Chong Yidong <cyd@gnu.org>
2
3 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4 (advice--docstring): Delete variable.
5 (advice--make-1): Leave the docstring empty.
6 (advice-add): Use function-documentation for advised docstring.
7
8 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
9 Ignore function-documentation property when getting documentation.
10 (ad-activate-advised-definition): Use function-documentation
11 generate the docstring.
12 (ad-make-advised-definition): Don't call
13 ad-make-advised-definition-docstring.
14 (ad-make-advised-definition-docstring, ad-advised-definition-p):
15 Delete functions.
16
17 * progmodes/sql.el (sql-help): Use function-documentation instead
18 of dynamic-docstring-function property. No need to autoload now.
19 (sql--help-docstring): New variable.
20 (sql--make-help-docstring): Use it.
21
22 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * ielm.el (ielm-tab): Retarget.
25 (ielm-map): Use ielm-tab for tab.
26 (ielm-complete-filename): Use comint-filename-completion.
27 (ielm-complete-symbol): Remove.
28 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
29 remove ielm-tab from completion-at-point-functions (bug#16224).
30
31 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
32 Beware signals raised by predicates (bug#16201).
33
34 2014-01-02 Richard Stallman <rms@gnu.org>
35
36 * dired-aux.el (dired-do-print): Handle printer-name.
37
38 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
39 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
40 (rmail-epa-decrypt): Turn off mime processing.
41
42 * mail/rmail.el (rmail-make-in-reply-to-field):
43 Add parens in message-id.
44
45 * mail/rmail.el (rmail-get-coding-function): Variable.
46 (rmail-get-coding-system): Use it.
47
48 2014-01-02 Vincent Belaïche <vincentb1@users.sourceforge.net>
49
50 * ses.el (ses-initial-global-parameters-re): New defconst, a
51 specific regexp is needed now that ses.el can handle both
52 file-format 2 (no local printers) and 3 (may have local printers).
53 (silence compiler): Add local variables needed for local printer
54 handling.
55 (ses-set-localvars): Handle hashmap initialisation.
56 (ses-paramlines-plist): Add param-line for number of local printers.
57 (ses-paramfmt-plist): New defconst, needed for code factorization
58 between functions `ses-set-parameter' and
59 `ses-file-format-extend-paramter-list'
60 (ses-make-local-printer-info): New defsubst.
61 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
62 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
63 (ses-cell-printer-aset): New defmacro.
64 (ses-local-printer-compile): New defun.
65 (ses-local-printer): New defmacro.
66 (ses-printer-validate, ses-call-printer): Add support for local
67 printer functions.
68 (ses-file-format-extend-paramter-list): New defun.
69 (ses-set-parameter): Use const `ses-paramfmt-plist' for code factorization.
70 (ses-load): Add support for local
71 printer functions.
72 (ses-read-printer): Update docstring and add support for local printer functions.
73 (ses-refresh-local-printer, ses-define-local-printer): New defun.
74 (ses-safe-printer): Add support for local printer functions.
75
76 2013-12-31 Eli Zaretskii <eliz@gnu.org>
77
78 * international/mule-conf.el: Unify the charset indian-is13194.
79 (indian-is13194): Specify unify-map.
80
81 2013-12-31 Leo Liu <sdl.web@gmail.com>
82
83 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
84
85 2013-12-30 Daniel Colascione <dancol@dancol.org>
86
87 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
88 of printing a useless when we resume from sleep.
89
90 * progmodes/sh-script.el
91 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
92 in indentation code. (Bug#16233)
93
94 2013-12-28 João Távora <joaotavora@gmail.com>
95
96 * elec-pair.el (electric-pair-post-self-insert-function):
97 Don't open extra newlines at beginning of buffer. (Bug#16272)
98
99 2013-12-28 Eli Zaretskii <eliz@gnu.org>
100
101 * frame.el (window-system-for-display): Don't allow to create a
102 GUI frame from a -nw session on MS-Windows. (Bug#14739)
103
104 2013-12-28 Glenn Morris <rgm@gnu.org>
105
106 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
107 Update callers.
108
109 * apropos.el (apropos-match-face):
110 * calculator.el (calculator-displayer):
111 * dabbrev.el (dabbrev-search-these-buffers-only):
112 * face-remap.el (buffer-face-mode-face):
113 * simple.el (yank-handled-properties):
114 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
115 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
116 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
117 (hashcash-double-spend-database):
118 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
119 (ruby-deep-indent-paren-style):
120 * textmodes/flyspell.el (flyspell-auto-correct-binding):
121 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
122 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
123 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
124 Specify custom types.
125
126 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
127 * bookmark.el (bookmark-bmenu-use-header-line):
128 * doc-view.el (doc-view-scale-internally):
129 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
130 * register.el (register-preview-delay):
131 * net/shr.el (shr-bullet):
132 * progmodes/cfengine.el (cfengine-cf-promises)
133 (cfengine-parameters-indent):
134 * progmodes/octave.el (inferior-octave-error-regexp-alist):
135 * textmodes/reftex-vars.el (reftex-label-regexps):
136 * vc/log-edit.el (log-edit-setup-add-author): Add version.
137
138 * net/tls.el (tls-certtool-program): Fix default value.
139
140 * desktop.el (desktop-restore-in-current-display):
141 * newcomment.el (comment-empty-lines):
142 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
143 (idlwave-pad-keyword):
144 * progmodes/tcl.el (tcl-tab-always-indent):
145 * textmodes/reftex-vars.el (reftex-index-default-tag):
146 * elec-pair.el (electric-pair-skip-whitespace):
147 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
148
149 * emacs-lisp/authors.el (authors-ignored-files)
150 (authors-valid-file-names, authors-renamed-files-alist): Additions.
151
152 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
153
154 * shell.el (shell-dynamic-complete-command): Doc fix.
155 (shell--command-completion-data): Shell completion now matches
156 executable filenames from the current buffer's directory, on
157 systems in which this behaviour is the default (windows-nt, ms-dos).
158
159 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
160
161 * net/shr.el (shr-insert): Don't infloop if the width is zero.
162
163 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
166 (bug#16251).
167
168 * electric.el: Move all electric-pair-* to elec-pair.el.
169 * elec-pair.el: New file, split from electric.el.
170
171 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
172
173 * net/shr.el (shr-find-fill-point): Don't try to fill if the
174 indentation level is larger than the width, because that will
175 infloop.
176 (shr-insert): Fill repeatedly long texts, so that Japanese is
177 formatted correctly (bug#16263).
178 (shr-find-fill-point): Off by one error in comparison with the
179 indentation.
180
181 2013-12-26 João Távora <joaotavora@gmail.com>
182
183 * electric.el (electric-pair-mode): More flexible engine for skip-
184 and inhibit predicates, new options for pairing-related functionality.
185 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
186 if that keeps or improves their balance in buffers.
187 (electric-pair-delete-adjacent-pairs): Delete the pair when
188 backspacing over adjacent matched delimiters.
189 (electric-pair-open-extra-newline): Open extra newline when
190 inserting newlines between adjacent matched delimiters.
191 (electric--sort-post-self-insertion-hook):
192 Sort post-self-insert-hook according to priority values when
193 minor-modes are activated.
194 * simple.el (newline-and-indent): Call newline with interactive
195 set to t.
196 (blink-paren-post-self-insert-function): Set priority to 100.
197 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
198 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
199 comments. Locally set electric-pair-skip-whitespace to 'chomp and
200 electric-pair-open-newline-between-pairs to nil.
201
202 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
203
204 * progmodes/python.el: Use lexical-binding.
205 (python-nav-beginning-of-defun): Stop searching ASAP.
206
207 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
208
209 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
210 Fix interactive spec. Doc fix. (Bug#15754)
211
212 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
213
214 * emacs-lisp/byte-run.el (eval-when-compile):
215 * progmodes/cc-defs.el (cc-eval-when-compile):
216 Fix edebug spec (bug#16184).
217
218 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
219
220 * net/shr.el (shr-visit-file): Remove debugging function.
221 (shr-insert): Don't infloop if we can't find a good place to break
222 the line (bug#16256).
223
224 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
225
226 * progmodes/python.el:
227 (python-nav--lisp-forward-sexp): New function.
228 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
229 python-nav-lisp-forward-sexp-safe.
230 (python-nav--forward-sexp): New argument SAFE allows switching
231 forward sexp movement behavior for parens.
232 (python-nav-forward-sexp): Throw errors on unterminated parens
233 (Bug#16191).
234 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
235 (python-nav-backward-sexp-safe): New functions.
236 (python-shell-buffer-substring):
237 Use `python-nav-forward-sexp-safe'.
238
239 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
240
241 * net/shr.el (shr-find-fill-point): Don't break lines before a
242 quotation mark.
243 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
244 (shr-find-fill-point): Remove the special checks for the quotation
245 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
246
247 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
248
249 * net/eww.el (eww-form-textarea): Use a different face for
250 textareas than text input since they have different keymaps
251 (bug#16142).
252
253 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
254
255 * progmodes/python.el (python-nav-beginning-of-statement):
256 Speed up (Bug#15295).
257
258 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
259
260 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
261 the window configuration.
262
263 2013-12-24 Eli Zaretskii <eliz@gnu.org>
264
265 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
266 we run on MS-Windows or MS-DOS.
267
268 2013-12-24 Martin Rudalics <rudalics@gmx.at>
269
270 * window.el (balance-windows-area): Call window-size instead of
271 window-height and window-width. Bug#16241.
272
273 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
274
275 * net/eww.el (eww-bookmark-quit): Remove.
276 (eww-bookmark-browse): Restore the window configuration when you
277 choose a bookmark (bug#16144).
278
279 2013-12-24 Daniel Colascione <dancol@dancol.org>
280
281 * icomplete.el: Remove redundant :group arguments to `defcustom'
282 throughout.
283 (icomplete-show-matches-on-no-input): New customizable variable.
284 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
285 we have something to show.
286 (icomplete-exhibit): Compute completions even if we have no user input.
287
288 2013-12-23 Daniel Colascione <dancol@dancol.org>
289
290 * icomplete.el: Move `provide' to end of file.
291
292 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
293
294 * net/gnutls.el (gnutls-verify-error): Add version tag.
295
296 2013-12-23 Chong Yidong <cyd@gnu.org>
297
298 * subr.el (set-transient-map): Rename from
299 set-temporary-overlay-map. Doc fix.
300
301 * face-remap.el (text-scale-adjust):
302 * indent.el (indent-rigidly):
303 * kmacro.el (kmacro-call-macro):
304 * minibuffer.el (minibuffer-force-complete):
305 * repeat.el (repeat):
306 * simple.el (universal-argument--mode):
307 * calendar/todo-mode.el (todo-insert-item--next-param):
308 * progmodes/f90.el (f90-abbrev-start): Callers changed.
309
310 * indent.el (indent-rigidly): Use substitute-command-keys.
311
312 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
313
314 * net/eww.el (eww-tag-select): Add text-property to jump to next
315 select field.
316 (eww): Add non-supported ftp error.
317
318 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
319
320 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
321 comments. Handle electric indent after typing `?' and `!'.
322
323 2013-12-22 Chong Yidong <cyd@gnu.org>
324
325 * faces.el (face-spec-recalc): If the theme specs are not
326 applicable to a frame, fall back on the defface spec.
327 This prevents themes from obliterating faces on low-color terminals.
328
329 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
330
331 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
332 after `{'. We need it after block openers, and it doesn't seem
333 to hurt after hash openers.
334
335 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
336
337 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
338 extracted from `ruby-smie-rules'.
339 (ruby--electric-indent-chars): New variable.
340 (ruby--electric-indent-p): New function.
341 (ruby-mode): Use `electric-indent-functions' instead of
342 `electric-indent-chars'.
343
344 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
345
346 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
347 docstring.
348 (ruby-smie-rules): Indent plus one level after `=>'.
349
350 2013-12-21 Richard Stallman <rms@gnu.org>
351
352 * simple.el (newline): Doc fix.
353
354 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
355
356 * net/eww.el (eww-list-histories, eww-list-histories)
357 (eww-history-browse, eww-history-quit, eww-history-kill)
358 (eww-history-mode-map, eww-history-mode): New command and
359 functions to list browser histories.
360 (eww-form-text): Support text form with disabled
361 and readonly attributes.
362 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
363
364 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
365
366 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
367 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
368 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
369 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
370 Use `user-error'.
371 (eww-bookmark-mode-map): Add menu.
372 (eww-render, eww-mode): Use `setq-local'.
373 (eww-tool-bar-map): New variable.
374 (eww-mode): Set `tool-bar-map'.
375 (eww-view-source): Check for `html-mode' with `fboundp'.
376
377 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
378
379 * net/shr.el (shr--extract-best-source): Don't bug out on audio
380 elements with text inside. Also remove debugging.
381
382 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
383
384 * cus-start.el (all): Add ns-use-srgb-colorspace.
385
386 2013-12-21 Chong Yidong <cyd@gnu.org>
387
388 * custom.el (custom-theme-recalc-face): Do nothing if the face is
389 undefined. Thus, theme settings for undefined faces do not take
390 effect until the faces are defined with defface, the same as with
391 theme variables.
392
393 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
394 (face-spec-reset-face): Don't assign extra properties in temacs.
395 (face-spec-recalc): Apply X resources too.
396
397 2013-12-21 Chong Yidong <cyd@gnu.org>
398
399 * faces.el (face-spec-set):
400 * cus-face.el (custom-theme-set-faces, custom-set-faces):
401 * custom.el (defface): Doc fixes (Bug#16203).
402
403 * indent.el (indent-rigidly-map): Add docstring, and move commands
404 into named functions.
405 (indent-rigidly-left, indent-rigidly-right)
406 (indent-rigidly-left-to-tab-stop)
407 (indent-rigidly-right-to-tab-stop): New functions. Decide on
408 indentation direction based on bidi direction, and accumulate
409 sequential commands in a single undo boundary.
410 (indent-rigidly--pop-undo): New utility function.
411
412 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
413
414 * faces.el (read-face-name): Require crm.el when using crm-separator.
415
416 2013-12-20 Daniel Colascione <dancol@dancol.org>
417
418 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
419 so that we don't reflow comments into the shebang line.
420
421 2013-12-20 Juri Linkov <juri@jurta.org>
422
423 * saveplace.el (save-place-to-alist): Add `dired-filename' as
424 a position when `dired-directory' is non-nil. Check integer
425 positions with `integerp'.
426 (toggle-save-place, save-places-to-alist): Add check for
427 `dired-directory'.
428 (save-place-find-file-hook): Check integer positions with
429 `integerp'.
430 (save-place-dired-hook): Use `dired-goto-file' when
431 `dired-filename' is found in the assoc list. Check integer
432 positions with `integerp'.
433 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
434
435 * dired.el (dired-initial-position-hook): Rename back from
436 `dired-initial-point-hook'.
437 (dired-initial-position): Rename `dired-initial-point-hook' to
438 `dired-initial-position-hook'.
439 (dired-file-name-at-point): Doc fix. (Bug#15329)
440
441 2013-12-20 Juri Linkov <juri@jurta.org>
442
443 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
444 (read-regexp-suggestions): New function.
445 (read-regexp): Use `read-regexp-defaults-function' to get default values.
446 Use `read-regexp-suggestions'. Add non-empty default to history
447 for empty input.
448 (occur-read-regexp-defaults-function): Remove function.
449 (occur-read-primary-args): Use `regexp-history-last' instead of
450 `occur-read-regexp-defaults-function'.
451
452 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
453 (hi-lock-line-face-buffer, hi-lock-face-buffer)
454 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
455 `hi-lock-read-regexp-defaults-function'. Doc fix.
456 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
457 with `find-tag-default-as-symbol-regexp'. Doc fix.
458 (hi-lock-read-regexp-defaults): Remove function.
459 (hi-lock-regexp-okay): Add check for null.
460
461 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
462 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
463
464 * subr.el (find-tag-default-as-symbol-regexp): New function.
465 (find-tag-default-as-regexp): Move symbol regexp formatting to
466 `find-tag-default-as-symbol-regexp'.
467
468 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
469
470 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
471 (Bug#14179)
472
473 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
474
475 * calendar/todo-mode.el: New implementation of item insertion
476 commands and key bindings.
477 (todo-key-prompt): New face.
478 (todo-insert-item): New command.
479 (todo-insert-item--parameters): New defconst, replacing defvar
480 todo-insertion-commands-args-genlist.
481 (todo-insert-item--param-key-alist): New defconst, replacing
482 defvar todo-insertion-commands-arg-key-list.
483 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
484 (todo-insert-item--argsleft, todo-insert-item--apply-args)
485 (todo-insert-item--next-param): New functions.
486 (todo-insert-item--args, todo-insert-item--argleft)
487 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
488 New variables.
489 (todo-key-bindings-t): Change binding of "i" from
490 todo-insertion-map to todo-insert-item.
491 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
492 (todo-insertion-command-name, todo-insertion-commands-names)
493 (todo-define-insertion-command, todo-insertion-commands)
494 (todo-insertion-key-bindings, todo-insertion-map): Remove.
495
496 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
497
498 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
499 (todo-toggle-item-highlighting): Use eval-and-compile instead of
500 eval-when-compile.
501 (todo-move-category): Allow choosing a non-existing todo file to
502 move the category to, and create that file.
503 (todo-default-priority): New user option.
504 (todo-set-item-priority): Use it.
505 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
506 (desktop-restore-file-buffer): Declare.
507 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
508 (todo-modes-set-2): Locally set desktop-save-buffer to
509 todo-desktop-save-buffer.
510 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
511 (auto-mode-alist): Add autoload cookie.
512
513 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
514
515 * emacs-lisp/subr-x.el: Renamed from helpers.el.
516 helpers.el was a poor choice of name.
517 (string-remove-prefix): New function.
518 (string-remove-suffix): New function.
519
520 2013-12-20 Martin Rudalics <rudalics@gmx.at>
521
522 Fix assignment for new window total sizes.
523 * window.el (window--pixel-to-size): Remove function.
524 (window--pixel-to-total-1, window--pixel-to-total):
525 Fix calculation of new total sizes.
526
527 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
528
529 * comint.el (comint-output-filter): Fix rear-nonsticky property
530 placement (Bug#16010).
531
532 2013-12-20 Chong Yidong <cyd@gnu.org>
533
534 * faces.el (read-color): Minor fix for completion function.
535
536 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
537
538 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
539 New option. (Bug#16182)
540 (ruby-smie--indent-to-stmt-p): Use it.
541 (ruby-smie-rules): Revert the logic in the handling of `when'.
542 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
543 (ruby-deep-arglist, ruby-deep-indent-paren)
544 (ruby-deep-indent-paren-style): Update docstrings to note that the
545 vars don't have any effect with SMIE.
546
547 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
548
549 * calc/calc.el (calc-enter, calc-pop): Use the variable
550 `calc-context-sensitive-enter'.
551
552 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
553
554 * net/shr.el (shr-insert): Protect against infloops in degenerate
555 tables.
556
557 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
558
559 * progmodes/octave.el (octave): Add link to manual and octave
560 homepage.
561 (octave-mode-menu): Link to octave-mode manual.
562
563 2013-12-20 Leo Liu <sdl.web@gmail.com>
564
565 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
566 insertion using skeleton-end-newline. (Bug#16138)
567
568 2013-12-20 Juri Linkov <juri@jurta.org>
569
570 * replace.el (occur-engine): Use `add-face-text-property'
571 to add the face property to matches and titles. (Bug#14645)
572
573 * hi-lock.el (hi-green): Use lighter color "light green" closer to
574 the palette of other hi-lock colors.
575 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
576
577 2013-12-19 Juri Linkov <juri@jurta.org>
578
579 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
580 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
581 (minibuffer-history-symbol): Move variable declaration closer to
582 its usage.
583
584 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
585 (Bug#14785)
586
587 2013-12-19 Juri Linkov <juri@jurta.org>
588
589 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
590 New function.
591 (log-edit-hook): Add it to :options. (Bug#16170)
592
593 2013-12-19 Juri Linkov <juri@jurta.org>
594
595 * simple.el (eval-expression-print-format): Don't check for
596 command names and the last command. Always display additional
597 formats of the integer result in the echo area, and insert them
598 to the current buffer only with a zero prefix arg.
599 Display character when char-displayable-p is non-nil.
600 (eval-expression): With a zero prefix arg, set `print-length' and
601 `print-level' to nil, and insert the integer values from
602 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
603
604 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
605 `eval-last-sexp-arg-internal'. Doc fix.
606 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
607 `eval-last-sexp-print-value'. Doc fix.
608 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
609 Set `print-length' and `print-level' to nil when arg is zero.
610 (eval-last-sexp): Doc fix.
611 (eval-defun-2): Print the integer values from
612 `eval-expression-print-format' at the end.
613
614 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
615 values from `eval-expression-print-format' at the end.
616
617 * ielm.el (ielm-eval-input): Print the integer
618 values from `eval-expression-print-format' at the end.
619
620 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
621
622 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
623 2013-12-11T19:01:44Z!tzz@lifelogs.com.
624
625 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
626
627 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
628 (hl-line-highlight, global-hl-line-highlight): Use it.
629 (hl-line-overlay): Use defvar-local.
630
631 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
632
633 * term/ns-win.el: Require dnd.
634 (global-map): Remove drag items.
635 (ns-insert-text, ns-set-foreground-at-mouse)
636 (ns-set-background-at-mouse):
637 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
638 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
639 New functions.
640
641 2013-12-19 Glenn Morris <rgm@gnu.org>
642
643 * emacs-lisp/ert.el (ert-select-tests):
644 Fix string/symbol mixup. (Bug#16121)
645
646 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
647
648 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
649 keywords to their parent.
650
651 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
652
653 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
654 first arg to be a string (fixed dead code), or an operator symbol.
655 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
656 operator symbols.
657 (ruby-smie-rules): Remove parent token check in the `.' clause, it
658 did nothing. Don't respond to `(:after ".")', it will be called
659 with :before anyway. Remove the ` @ ' rule, it didn't seem to
660 change anything. Only return indentation for binary operators
661 when they are hanging. De-dent opening paren when its parent is
662 `.', otherwise it looks bad when the dot is not at bol or eol
663 (bug#16182).
664
665 2013-12-19 Juri Linkov <juri@jurta.org>
666
667 * replace.el (query-replace-read-args): Split a non-negative arg
668 and a negative arg into separate elements.
669 (query-replace, query-replace-regexp, replace-string)
670 (replace-regexp): Add arg `backward'. Doc fix.
671 (replace-match-maybe-edit): When new arg `backward' is non-nil,
672 move point to the beginning of the match.
673 (replace-search, replace-highlight): Use new arg `backward'
674 to set the value of `isearch-forward'.
675 (perform-replace): Add arg `backward' and use it to perform
676 replacement backward. (Bug#14979)
677
678 * isearch.el (isearch-query-replace): Use a negative prefix arg
679 to call `perform-replace' with a non-nil arg `backward'.
680
681 2013-12-18 Juri Linkov <juri@jurta.org>
682
683 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
684 to the default list. Move `log-edit-show-files' to the end.
685 Add more available functions to options.
686 (log-edit): Move default specific settings to
687 `log-edit-insert-message-template'. Don't move point.
688 (log-edit-insert-message-template): New function.
689 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
690 (Bug#16170)
691
692 2013-12-18 Juri Linkov <juri@jurta.org>
693
694 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
695 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
696
697 2013-12-18 Leo Liu <sdl.web@gmail.com>
698
699 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
700 (Bug#16186)
701
702 2013-12-18 Eli Zaretskii <eliz@gnu.org>
703
704 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
705 formats for displaying file sizes when the -s switch is given.
706 Instead, compute a separate format for displaying the size in
707 blocks, which is displayed in addition to the "regular" size.
708 When -h is given in addition to -s, produce size in blocks in
709 human-readable form as well. (Bug#16179)
710
711 2013-12-18 Tassilo Horn <tsdh@gnu.org>
712
713 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
714 Reference tables with ~\ref{...} instead of only \ref{...}.
715
716 2013-12-18 Chong Yidong <cyd@gnu.org>
717
718 * cus-edit.el (custom-magic-alist): Fix "themed" description
719 (Bug#14348).
720
721 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
722 is non-nil, do not create a new entry in the symbol's theme-value
723 or theme-face property; update theme-settings only (Bug#14664).
724 (custom-available-themes): Doc fix.
725
726 * cus-theme.el (custom-new-theme-mode-map): Add bindings
727 (Bug#15674).
728
729 * replace.el (occur-engine): Avoid infloop (Bug#7593).
730
731 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
732
733 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
734 (Bug#13914).
735
736 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
737
738 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
739
740 2013-12-18 Glenn Morris <rgm@gnu.org>
741
742 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
743 * cus-start.el (load-prefer-newer): New option.
744
745 2013-12-18 Le Wang <l26wang@gmail.com>
746
747 * comint.el (comint-previous-matching-input-from-input):
748 Retain point (Bug#13404).
749
750 2013-12-18 Chong Yidong <cyd@gnu.org>
751
752 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
753
754 2013-12-18 Glenn Morris <rgm@gnu.org>
755
756 * mail/emacsbug.el (report-emacs-bug):
757 Only mention enable-multibyte-characters if non-standard.
758
759 2013-12-17 Juri Linkov <juri@jurta.org>
760
761 * arc-mode.el (archive-extract-by-file): Check if directory exists
762 before deletion to not show irrelevant errors if it doesn't exist.
763
764 2013-12-17 Juri Linkov <juri@jurta.org>
765
766 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
767 (Bug#14751)
768
769 * net/eww.el (browse-web): Add alias to `eww'.
770 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
771 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
772
773 * net/browse-url.el (browse-url-browser-function): Move `eww'
774 closer to similar functions.
775
776 * startup.el (fancy-startup-screen, fancy-about-screen):
777 Set browse-url-browser-function to eww-browse-url locally.
778 (Bug#14751)
779
780 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * window.el (window--pixel-to-total): Remove unused `mini' var.
783 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
784 (split-window): Remove unused `new' var.
785 (window--display-buffer): Remove unused `frame' and `delta' vars.
786 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
787 and display-width'.
788
789 2013-12-17 Martin Rudalics <rudalics@gmx.at>
790
791 * dired.el (dired-mark-pop-up):
792 * register.el (register-preview): Don't bind
793 split-height-threshold here since it's now done in
794 display-buffer-below-selected.
795
796 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
797
798 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
799 xterm-rgb-convert-to-16bit.
800 (rxvt-register-default-colors): Standardize with
801 xterm-register-default-colors (Bug#14078).
802
803 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
804
805 * simple.el (kill-region): Pass mark first, then point, so that
806 kill-append works right (Bug#12819).
807 (copy-region-as-kill, kill-ring-save): Likewise.
808
809 2013-12-17 Leo Liu <sdl.web@gmail.com>
810
811 * net/rcirc.el (rcirc-add-face):
812 * eshell/em-prompt.el (eshell-emit-prompt):
813 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
814 (Bug#16167)
815
816 2013-12-17 Chong Yidong <cyd@gnu.org>
817
818 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
819 Suggested by Xue Fuqiao.
820
821 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
822
823 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
824
825 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * net/shr.el (shr-insert-document): Remove unused var
828 `shr-preliminary-table-render'.
829 (shr-rescale-image): Remove unused arg `force'.
830 (shr-put-image): Update calls accordingly.
831 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
832
833 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
834
835 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
836 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
837 :close-all, to see which indentation method to use (Bug#16116).
838 (smie-rules-function): Document the method :close-all.
839
840 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
841
842 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
843
844 * net/eww.el (eww-display-html): If we can't find the anchor we're
845 looking for, then go to point-min.
846
847 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
848
849 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
850 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
851 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
852 Expand dir too, in case it's relative.
853
854 2013-12-16 Juri Linkov <juri@jurta.org>
855
856 * desktop.el (desktop-auto-save-timeout): Change default to
857 `auto-save-timeout'. Doc fix.
858 (desktop-save): Skip the timestamp in desktop-saved-frameset
859 when checking for auto-save changes.
860 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
861 `desktop-auto-save' is called repeatedly by the idle timer.
862 (desktop-auto-save-set-timer): Replace `run-with-timer' with
863 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
864 (Bug#15331)
865
866 2013-12-16 Juri Linkov <juri@jurta.org>
867
868 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
869 (Bug#16035)
870 (isearch-pre-command-hook): Check `this-command' for symbolp.
871
872 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
875
876 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
877
878 * progmodes/cfengine.el (cfengine3--current-word): Remove.
879 (cfengine3--current-function): Bring in the current-function
880 functionality from `cfengine3--current-word'.
881 (cfengine3-completion-function): Bring in the
882 bounds-of-current-word functionality from
883 `cfengine3--current-word'.
884
885 2013-12-16 Martin Rudalics <rudalics@gmx.at>
886
887 * window.el (display-buffer-below-selected):
888 Bind split-height-threshold to 0 as suggested by Juri Linkov.
889
890 2013-12-16 Leo Liu <sdl.web@gmail.com>
891
892 * progmodes/compile.el (compile-goto-error): Do not push-mark.
893 Remove NOMSG arg and all uses changed.
894
895 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
898 (cua--deactivate-rectangle): Don't deactivate the mark.
899 (cua-set-rectangle-mark): Don't set mark-active since
900 cua--activate-rectangle already does it for us.
901 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
902 non-rectangular region.
903
904 * emulation/cua-base.el (cua-repeat-replace-region):
905 Use with-current-buffer.
906
907 * net/gnutls.el: Use cl-lib.
908 (gnutls-negotiate): `mapcan' -> cl-mapcan.
909
910 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
911
912 * emacs-lisp/package.el (package-built-in-p): Support both
913 built-in and the package.el converted package descriptions.
914 (package-show-package-list): Allow keywords.
915 (package-keyword-button-action): Use it instead of
916 `finder-list-matches'.
917 (package-menu-filter-interactive): Interactive filtering (by
918 keyword) function.
919 (package-menu--generate): Support keywords and change keymappings
920 and headers when they are given.
921 (package--has-keyword-p): Helper function.
922 (package-menu--refresh): Use it.
923 (package--mapc): Helper function.
924 (package-all-keywords): Use it.
925 (package-menu-mode-map): Set up menu items and keybindings to
926 provide a filtering UI.
927
928 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
929
930 * net/gnutls.el (gnutls-verify-error): New defcustom to control
931 the behavior when a certificate fails validation. Defaults to
932 old behavior: never abort, just warn.
933 (gnutls-negotiate): Use it.
934
935 2013-12-14 Martin Rudalics <rudalics@gmx.at>
936
937 * window.el (display-buffer-below-selected): Never split window
938 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
939
940 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
941
942 * emacs-lisp/package.el (package--prepare-dependencies): New function.
943 (package-buffer-info): Use it (bug#15108).
944
945 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * icomplete.el (icomplete-completions): Make sure the prefix is already
948 displayed elsewhere before hiding it (bug#16219).
949
950 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
951
952 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
953 open-paren tokens when preceded by a open-paren, too.
954 (ruby-smie-rules): Handle virtual indentation after open-paren
955 tokens specially. If there is code between it and eol, return the
956 column where is starts (Bug#16118).
957
958 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
959
960 * progmodes/cfengine.el: Fix `add-hook' doc.
961 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
962 (cfengine3--current-word): Fix parameters.
963 (cfengine3-make-syntax-cache): Simplify further.
964 (cfengine3-completion-function, cfengine3--current-function):
965 Use `assq' for symbols.
966 (cfengine3--current-function): Fix `cfengine3--current-word' call.
967
968 2013-12-13 Glenn Morris <rgm@gnu.org>
969
970 * loadup.el (load-path): Warn if site-load or site-init changes it.
971 No more need to reset it when bootstrapping.
972
973 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
974
975 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
976 locations for cf-promises.
977 (cfengine-mode-syntax-functions-regex): New caching variable.
978 (cfengine3-fallback-syntax): Fallback syntax for cases where
979 cf-promises doesn't run.
980 (cfengine3--current-word): Reimplement using
981 `cfengine-mode-syntax-functions-regex'.
982 (cfengine3-completion-function, cfengine3--current-function):
983 Use `cfengine3-make-syntax-cache' directly.
984 (cfengine3-clear-syntax-cache): New function.
985 (cfengine3-make-syntax-cache): Simplify and create
986 `cfengine-mode-syntax-functions-regex' on demand.
987 (cfengine3-format-function-docstring): Don't call
988 `cfengine3-make-syntax-cache' explicitly.
989
990 2013-12-13 Martin Rudalics <rudalics@gmx.at>
991
992 Fix windmove-find-other-window broken after pixelwise resizing
993 (Bug#16017).
994 * windmove.el (windmove-other-window-loc): Revert change from
995 2013-12-04.
996 (windmove-find-other-window): Call window-in-direction.
997 * window.el (window-in-direction): New arguments SIGN, WRAP and
998 MINI to emulate original windmove-find-other-window behavior.
999
1000 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1001
1002 * simple.el (blink-matching--overlay): New variable.
1003 (blink-matching-open): Instead of moving point, highlight the
1004 matching paren with an overlay
1005 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1006
1007 * faces.el (paren-showing-faces, show-paren-match)
1008 (show-paren-mismatch): Move from paren.el.
1009
1010 2013-12-13 Leo Liu <sdl.web@gmail.com>
1011
1012 * indent.el (indent-region): Disable progress reporter in
1013 minibuffer. (Bug#16108)
1014
1015 * bindings.el (visual-order-cursor-movement): Fix version.
1016
1017 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1018
1019 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1020 Also match after beginning of line.
1021 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1022 files. Thanks to Russell Sim. (Bug#15378)
1023
1024 2013-12-13 Juri Linkov <juri@jurta.org>
1025
1026 * simple.el <Keypad support>: Remove key bindings duplicated
1027 with bindings.el. (Bug#14397)
1028
1029 2013-12-13 Juri Linkov <juri@jurta.org>
1030
1031 * comint.el (comint-mode-map): Replace `delete-char' with
1032 `delete-forward-char'. (Bug#16109)
1033
1034 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1035
1036 * progmodes/python.el (python-indent-calculate-indentation):
1037 Fix de-denters cornercase. (Bug#15731)
1038
1039 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1042 (advice--make): Pay attention to `depth'.
1043 (advice--make-1): Don't autoload commands eagerly.
1044 * emacs-lisp/elp.el (elp-instrument-function):
1045 * emacs-lisp/trace.el (trace-function-internal):
1046 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1047
1048 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1049
1050 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1051
1052 * term/w32-win.el (w32-handle-dropped-file):
1053 * startup.el (normal-top-level):
1054 * net/browse-url.el (browse-url-file-url):
1055 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1056 decode file names using 'utf-8' rather than
1057 file-name-coding-system.
1058
1059 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1060
1061 * progmodes/python.el (python-indent-context)
1062 (python-indent-calculate-indentation): Fix auto-identation
1063 behavior for comment blocks. (Bug#15916)
1064
1065 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1066
1067 * progmodes/python.el (python-indent-calculate-indentation):
1068 When determining indentation, don't treat "return", "pass", etc., as
1069 operators when they are just string constituents. (Bug#15812)
1070
1071 2013-12-12 Juri Linkov <juri@jurta.org>
1072
1073 * uniquify.el (uniquify-buffer-name-style): Change default to
1074 `post-forward-angle-brackets'.
1075
1076 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1077 `uniquify'. Change default to `post-forward-angle-brackets'.
1078
1079 2013-12-11 Glenn Morris <rgm@gnu.org>
1080
1081 * emacs-lisp/package.el (finder-list-matches):
1082 Autoload rather than falsely declaring.
1083
1084 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1085
1086 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1087 (eww-mode-map): Use them.
1088
1089 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1090
1091 * window.el (display-buffer-in-side-window): Fix doc-string
1092 (Bug#16115).
1093
1094 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1095
1096 * vc/vc-git.el: Silence byte-compiler warnings.
1097 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1098 (log-edit-set-header): Declare.
1099
1100 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1101
1102 * Makefile.in (custom-deps, finder-data): Run output file names
1103 through unmsys--file-name. (Bug#16099)
1104
1105 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1108 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1109
1110 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1111 instead of deleting the selection "by hand" (bug#16098).
1112 Rely on insert-for-yank to yank rectangles.
1113 (cua-highlight-region-shift-only): Mark obsolete.
1114 (cua-mode): Don't enable/disable transient-mark-mode,
1115 shift-select-mode (cua-mode works both with and without them), and
1116 pc-selection-mode (obsolete).
1117 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1118 (cua--deactivate-rectangle): Deactivate it.
1119
1120 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1121 (delete-selection-helper): Make sure yank starts at the top of the
1122 deleted region.
1123 (minibuffer-keyboard-quit): Use region-active-p.
1124
1125 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1126
1127 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1128 to `delete' (bug#16109).
1129
1130 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1131
1132 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1133 info manual and show keybindings and set `:group' keyword.
1134
1135 2013-12-11 Juri Linkov <juri@jurta.org>
1136
1137 * delsel.el (delete-active-region): Let-bind `this-command'
1138 to prevent `kill-region' from changing its original value.
1139 (delete-selection-helper): Handle `overwrite-mode' for the type
1140 `kill' exactly the same way as for the type `t'.
1141 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1142 Support more commands. (Bug#13312)
1143
1144 2013-12-11 Juri Linkov <juri@jurta.org>
1145
1146 * bindings.el: Map kp keys to non-kp keys systematically
1147 with basic modifiers control, meta and shift. (Bug#14397)
1148
1149 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1150
1151 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1152 "Close browser" menu items. Fix wrong function of "List
1153 bookmarks".
1154
1155 2013-12-11 Juri Linkov <juri@jurta.org>
1156
1157 * misearch.el (multi-isearch-buffers): Set the value of
1158 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1159 arg of isearch-forward to t.
1160 (multi-isearch-buffers-regexp): Set the value of
1161 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1162 arg of isearch-forward-regexp to t.
1163 (multi-isearch-files): Set the value of
1164 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1165 arg of isearch-forward to t.
1166 (multi-isearch-files-regexp): Set the value of
1167 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1168 arg of isearch-forward-regexp to t. (Bug#16035)
1169
1170 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1171 arg of isearch-forward to t.
1172 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1173 arg of isearch-forward-regexp to t.
1174 (dired-isearch-filter-filenames): Remove unnecessary check for
1175 `dired-isearch-filenames'.
1176
1177 * comint.el (comint-history-isearch-backward):
1178 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1179 (comint-history-isearch-backward-regexp):
1180 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1181
1182 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1183
1184 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1185 unmsys--file-name. (Bug#16099)
1186
1187 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1188
1189 * emacs-lisp/package.el (package-keyword-button-action):
1190 Remove finder.el require dependency.
1191
1192 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1193
1194 * emacs-lisp/package.el: Require finder.el.
1195 (describe-package-1): Add keyword buttons.
1196 (package-make-button): New convenience function.
1197 (package-keyword-button-action): Keyword button action using
1198 `finder-list-matches'.
1199
1200 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1201
1202 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1203 last commit.
1204
1205 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1206
1207 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1208 symlinked files.
1209
1210 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1211
1212 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1213 after the end of a percent literal.
1214
1215 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1216
1217 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1218 Handle caret-delimited strings (Bug#16079).
1219
1220 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1221
1222 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1223 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1224 `ruby-parse-partial' (Bug#16078).
1225
1226 2013-12-09 Leo Liu <sdl.web@gmail.com>
1227
1228 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1229
1230 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1231
1232 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1233 (js-switch-indent-offset): New option.
1234 (js--proper-indentation): Use it. And handle the case when
1235 "default" is actually a key in an object literal.
1236 (js--same-line): New function.
1237 (js--multi-line-declaration-indentation): Use it.
1238 (js--indent-in-array-comp, js--array-comp-indentation):
1239 New functions.
1240 (js--proper-indentation): Use them, to handle array comprehension
1241 continuations.
1242
1243 2013-12-08 Leo Liu <sdl.web@gmail.com>
1244
1245 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1246 (flymake-make-overlay): Remove arg MOUSE-FACE.
1247 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1248
1249 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1252 New function.
1253 (redisplay-highlight-region-function): Use it.
1254
1255 * emulation/cua-base.el (cua--explicit-region-start)
1256 (cua--last-region-shifted): Remove.
1257 (cua--deactivate): Use deactivate-mark.
1258 (cua--pre-command-handler-1): Don't handle shift-selection.
1259 (cua--post-command-handler-1): Don't change transient-mark-mode.
1260 (cua--select-keymaps): Use region-active-p rather than
1261 cua--explicit-region-start or cua--last-region-shifted.
1262 (cua-mode): Enable shift-select-mode.
1263
1264 2013-12-08 Leo Liu <sdl.web@gmail.com>
1265
1266 * progmodes/flymake.el (flymake-popup-current-error-menu):
1267 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1268 (flymake-posn-at-point-as-event, flymake-popup-menu)
1269 (flymake-make-emacs-menu): Remove. (Bug#16077)
1270
1271 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 * rect.el (rectangle-mark-mode): Activate mark even if
1274 transient-mark-mode is off (bug#16066).
1275 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1276 is > mark and at bolp.
1277
1278 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1279 (region-extract-function): Use it.
1280 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1281 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1282 Delete functions.
1283 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1284 kill-ring-save, kill-region, delete-char, delete-forward-char.
1285 Ignore self-insert-iso.
1286
1287 * emulation/cua-gmrk.el (cua--init-global-mark):
1288 Ignore `self-insert-iso'.
1289
1290 * emulation/cua-base.el (cua--prefix-copy-handler)
1291 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1292 checking cua--rectangle.
1293 (cua-delete-region): Use region-extract-function.
1294 (cua-replace-region): Delete function.
1295 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1296 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1297 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1298 (cua--init-keymaps): Don't remap delete-selection commands.
1299 (cua-mode): Use delete-selection-mode instead of rolling our own
1300 (bug#16085).
1301
1302 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1303 Obey region-extract-function.
1304
1305 Make registers and delete-selection-mode work on rectangles.
1306 * register.el (describe-register-1): Don't modify the register's value.
1307 (copy-to-register): Obey region-extract-function.
1308 * delsel.el (delete-active-region): Obey region-extract-function.
1309
1310 2013-12-08 Leo Liu <sdl.web@gmail.com>
1311
1312 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1313 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1314 (flymake-compilation-prevents-syntax-check)
1315 (flymake-start-syntax-check-on-newline)
1316 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1317 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1318 (flymake-xml-program, flymake-master-file-dirs)
1319 (flymake-master-file-count-limit)
1320 (flymake-allowed-file-name-masks): Relocate.
1321 (flymake-makehash, flymake-float-time)
1322 (flymake-replace-regexp-in-string, flymake-split-string)
1323 (flymake-get-temp-dir): Remove.
1324 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1325 (flymake-current-row, flymake-selected-frame)
1326 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1327 related functions. (Bug#16077)
1328
1329 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1330
1331 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1332
1333 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1334
1335 * help-fns.el (describe-function-1): Use new advice-* functions
1336 rather than old ad-* functions. Fix function type description and
1337 source links for advised functions and subrs.
1338
1339 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1340
1341 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1342
1343 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1344
1345 * progmodes/compile.el (compilation-start):
1346 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1347
1348 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1349 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1350
1351 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1352
1353 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1354 Touch up the last change.
1355
1356 2013-12-06 Leo Liu <sdl.web@gmail.com>
1357
1358 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1359 (inferior-octave-startup): Always use "octave> " for prompt.
1360 (octave-goto-function-definition)
1361 (octave-sync-function-file-names)
1362 (octave-find-definition-default-filename): Remove redundant backquotes.
1363
1364 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1365
1366 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1367 syntax for `?'.
1368 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1369 where appropriate already.
1370 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1371 end of method names (Bug#15874).
1372
1373 2013-12-06 Juri Linkov <juri@jurta.org>
1374
1375 * isearch.el (isearch--saved-overriding-local-map):
1376 New internal variable.
1377 (isearch-mode): Set it to the initial value of
1378 `overriding-terminal-local-map'.
1379 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1380 with `isearch--saved-overriding-local-map'. (Bug#16035)
1381
1382 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1383
1384 * progmodes/octave.el (inferior-octave-completion-table):
1385 Turn back into function, use `completion-table-with-cache'
1386 (Bug#11906). Update all references.
1387
1388 * minibuffer.el (completion-table-with-cache): New function.
1389
1390 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1391
1392 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1393
1394 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1395
1396 * net/eww.el (eww-current-source): New variable to store page
1397 source.
1398 (eww-display-html, eww-mode, eww-save-history)
1399 (eww-restore-history): Use it.
1400 (eww-view-source): New command to view page source.
1401 Opportunistically uses `html-mode' to highlight the buffer.
1402 (eww-mode-map): Install it.
1403
1404 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1405
1406 * net/dbus.el (dbus-unregister-service)
1407 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1408 Fix docstring.
1409 (dbus-unregister-service): Skip :serial entries in
1410 `dbus-registered-objects-table'.
1411 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1412
1413 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1414
1415 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1416 around keywords with extra `split-string' argument.
1417
1418 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1419
1420 * windmove.el (windmove-other-window-loc): Handle navigation
1421 between windows (excluding the minibuffer window - Bug#16017).
1422
1423 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1424
1425 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1426 in D-Bus type syntax.
1427 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1428 preserve unibyte strings. (Bug#16048)
1429
1430 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1433 Call force-mode-line-update is the proper buffer (bug#16042).
1434
1435 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1436
1437 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1438 `log-edit-remember-comment', make argument optional. Adjust all
1439 callers.
1440 (log-edit-mode): Add `log-edit-remember-comment' to
1441 `kill-buffer-hook' locally.
1442 (log-edit-kill-buffer): Don't remember comment explicitly since
1443 the buffer is killed anyway.
1444
1445 2013-12-04 Juri Linkov <juri@jurta.org>
1446
1447 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1448 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1449
1450 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1451
1452 * notifications.el (notifications-close-notification): Call the
1453 D-Bus method with ID being a `:uint32'. (Bug#16030)
1454
1455 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1456
1457 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1458
1459 2013-12-03 Juri Linkov <juri@jurta.org>
1460
1461 * progmodes/compile.el (compilation-start): Rename window alist
1462 entry `no-display-ok' to `allow-no-window'.
1463
1464 * simple.el (shell-command): Add window alist entry
1465 `allow-no-window' to `display-buffer'.
1466 (async-shell-command): Doc fix.
1467
1468 * window.el (display-buffer-no-window): New action function.
1469 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1470
1471 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1472
1473 * vc/log-edit.el (log-edit-set-header): Extract from
1474 `log-edit-toggle-header'.
1475 (log-edit-extract-headers): Separate the summary, when extracted
1476 from header, from the rest of the message with an empty line.
1477
1478 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1479 line, if present, to the Summary header.
1480
1481 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1482
1483 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1484 in current-buffer (bug#16029).
1485
1486 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1487
1488 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1489 (debugger-mode-map): Bind it.
1490 (debugger--backtrace-base): New function.
1491 (debugger-eval-expression): Use it.
1492 (debugger-frame-number): Skip local vars when present.
1493 (debugger--locals-visible-p, debugger--insert-locals)
1494 (debugger--show-locals, debugger--hide-locals): New functions.
1495
1496 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1497
1498 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1499 "LC_ALL".
1500 (tramp-get-remote-locale): New defun.
1501 (tramp-open-connection-setup-interactive-shell): Use it.
1502
1503 2013-12-02 Leo Liu <sdl.web@gmail.com>
1504
1505 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1506
1507 * progmodes/sh-script.el (sh-shell-process):
1508 * progmodes/octave.el (inferior-octave-process-live-p):
1509 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1510 (gdb-inferior-io-sentinel):
1511 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1512
1513 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1514
1515 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1516 `save-selected-window' to `log-edit-hide-buf'. This makes
1517 `log-edit-show-files' idempotent.
1518 (log-edit-show-files): Mark the new window as dedicated.
1519
1520 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1521
1522 * vc/log-edit.el (log-edit-mode-map): Add binding for
1523 `log-edit-kill-biffer'.
1524 (log-edit-hide-buf): Add a FIXME comment.
1525 (log-edit-add-new-comment): New function, extracted from
1526 `log-edit-done'.
1527 (log-edit-done, log-edit-add-to-changelog): Use it.
1528 (log-edit-kill-buffer): New command.
1529
1530 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1531
1532 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1533 instead of killing the buffer.
1534
1535 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1538
1539 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1540
1541 * net/eww.el (eww-form-checkbox-selected-symbol)
1542 (eww-form-checkbox-symbol): New customizable variable.
1543 (eww-form-checkbox, eww-toggle-checkbox):
1544 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1545
1546 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1547 (shr--get-media-pref, shr--extract-best-source): New function.
1548 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1549 no :src tag was specified.
1550
1551 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1552 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1553 Use \\` to match beginning of string instead of ^.
1554 (eww-browse-with-external-browser): Provide optional URL parameter.
1555 (eww-render): Set `eww-current-title' back to "".
1556
1557 * net/shr.el (shr-tag-video): Display content for video if no
1558 poster is available.
1559 (shr-tag-audio): Add support for <audio> tag.
1560
1561 * net/eww.el (eww-text-input-types): New const.
1562 (eww-process-text-input): Treat input types in
1563 `eww-text-input-types' as text.
1564
1565 * net/shr.el (shr-tag-table): Fix comment typo.
1566
1567 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1568
1569 * net/eww.el (eww-follow-link): New command to avoid reloading
1570 pages when we follow #target links (bug#15243).
1571 (eww-quit): Special mode buffers shouldn't query before exiting.
1572
1573 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1574
1575 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1576 forms.
1577
1578 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1579
1580 * net/eww.el (eww-restore-history): Update the window title after
1581 moving in the history.
1582 (eww-current-dom): New variable used to save the current DOM.
1583
1584 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1585
1586 * vc/log-edit.el (log-edit-mode-map): Add binding for
1587 `log-edit-beginning-of-line'.
1588 (log-edit-setup-add-author): New user option.
1589 (log-edit-beginning-of-line): New command.
1590 (log-edit): Move major mode call above the contents setup so that
1591 the local variable values are already applied.
1592 (log-edit): Only insert "Author: " when
1593 `log-edit-setup-add-author' is non-nil.
1594 (log-edit): When SETUP is non-nil, position point after ": "
1595 instead of point-min.
1596
1597 2013-12-01 Glenn Morris <rgm@gnu.org>
1598
1599 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1600
1601 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1602
1603 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1604 redisplay to make sure the initial frame gets a chance to become
1605 visible. (Bug#16014)
1606
1607 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1608
1609 Support resizing frames and windows pixelwise.
1610 * cus-start.el (frame-resize-pixelwise)
1611 (window-resize-pixelwise): New entries.
1612 * emacs-lisp/debug.el (debug): Use window-total-height instead
1613 of window-total-size.
1614 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1615 * help.el (describe-bindings-internal): Call help-buffer
1616 (temp-buffer-max-width): New option.
1617 (resize-temp-buffer-window, help-window-setup)
1618 (with-help-window): Rewrite.
1619 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1620 dragging dividers.
1621 * window.el (frame-char-size, window-min-pixel-height)
1622 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1623 (window-min-pixel-width, window-safe-min-pixel-size)
1624 (window-combination-p, window-safe-min-size)
1625 (window-resizable-p, window--size-to-pixel)
1626 (window--pixel-to-size, window--resize-apply-p): New functions.
1627 (window-safe-min-height): Fix doc-string.
1628 (window-size, window-min-size, window--min-size-1)
1629 (window-sizable, window-sizable-p, window--min-delta-1)
1630 (window-min-delta, window--max-delta-1, window-max-delta)
1631 (window--resizable, window--resizable-p, window-resizable)
1632 (window-full-height-p, window-full-width-p, window-at-side-p)
1633 (window--in-direction-2, window-in-direction)
1634 (window--resize-reset-1, window--resize-mini-window)
1635 (window-resize, window-resize-no-error)
1636 (window--resize-child-windows-normal)
1637 (window--resize-child-windows, window--resize-siblings)
1638 (window--resize-this-window, window--resize-root-window)
1639 (window--resize-root-window-vertically)
1640 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1641 (maximize-window, minimize-window, delete-window)
1642 (quit-restore-window, window-split-min-size, split-window)
1643 (balance-windows-2, balance-windows)
1644 (balance-windows-area-adjust, balance-windows-area)
1645 (window--state-get-1, window-state-get, window--state-put-1)
1646 (window--state-put-2, window-state-put)
1647 (display-buffer-record-window, window--display-buffer):
1648 Make functions handle pixelwise sizing of windows.
1649 (display-buffer--action-function-custom-type)
1650 (display-buffer-fallback-action):
1651 Add display-buffer-in-previous-window.
1652 (display-buffer-use-some-window): Resize window to height it had
1653 before.
1654 (fit-window-to-buffer-horizontally): New option.
1655 (fit-frame-to-buffer): Describe new values.
1656 (fit-frame-to-buffer-bottom-margin): Replace with
1657 fit-frame-to-buffer-margins.
1658 (window--sanitize-margin): New function.
1659 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1660 using window-text-pixel-size.
1661
1662 2013-11-30 Glenn Morris <rgm@gnu.org>
1663
1664 * emacs-lisp/bytecomp.el (byte-compile-form):
1665 Make the `interactive-only' warning like the `obsolete' one.
1666 * comint.el (comint-run):
1667 * files.el (insert-file-literally, insert-file):
1668 * replace.el (replace-string, replace-regexp):
1669 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1670 (goto-line, insert-buffer, next-line, previous-line):
1671 Tweak `interactive-only' spec.
1672
1673 Stop keeping (most) generated cedet grammar files in the repository.
1674 * Makefile.in (semantic): New.
1675 (compile-main): Depend on semantic.
1676
1677 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1680 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1681
1682 * uniquify.el (uniquify-buffer-name-style): Change default.
1683
1684 * loadup.el: Preload "uniquify".
1685
1686 * time.el (display-time-update): Update all mode lines (bug#15999).
1687
1688 * electric.el (electric-indent-mode): Enable by default.
1689 * loadup.el: Preload "electric".
1690
1691 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1692
1693 * emacs-lisp/helpers.el (string-empty-p): New function.
1694 (string-blank-p): New function.
1695
1696 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1697
1698 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1699 (Bug#14029).
1700
1701 2013-11-29 Andreas Politz <politza@fh-trier.de>
1702 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1703 allow non-lambda lists as functions.
1704 (imenu--in-alist): Don't recurse into non-subalists.
1705 (imenu): Don't pass function itself as an argument (Bug#14029).
1706
1707 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * progmodes/python.el (python-mode-map): Remove binding for ":".
1710 (python-indent-electric-colon): Remove command.
1711 (python-indent-post-self-insert-function): Integrate the previous code
1712 of python-indent-electric-colon. Make it conditional on
1713 electric-indent-mode.
1714 (python-mode): Add ?: to electric-indent-chars.
1715 Move python-indent-post-self-insert-function to the end of
1716 post-self-insert-hook.
1717
1718 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * doc-view.el (doc-view-goto-page): Update mode-line.
1721
1722 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1723
1724 2013-11-27 Glenn Morris <rgm@gnu.org>
1725
1726 * international/charprop.el, international/uni-bidi.el:
1727 * international/uni-category.el, international/uni-combining.el:
1728 * international/uni-comment.el, international/uni-decimal.el:
1729 * international/uni-decomposition.el, international/uni-digit.el:
1730 * international/uni-lowercase.el, international/uni-mirrored.el:
1731 * international/uni-name.el, international/uni-numeric.el:
1732 * international/uni-old-name.el, international/uni-titlecase.el:
1733 * international/uni-uppercase.el:
1734 Remove generated files from VCS repository.
1735
1736 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1737
1738 * filenotify.el (file-notify-add-watch): Don't special-case
1739 w32notify when computing the directory to watch.
1740
1741 2013-11-27 Glenn Morris <rgm@gnu.org>
1742
1743 Make bootstrap without generated uni-*.el files possible again.
1744 * loadup.el: Update command-line-args checking for unidata-gen.
1745 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1746 * composite.el, international/characters.el:
1747 Handle unicode tables being undefined.
1748
1749 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1750 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1751 (compile-main): Depend on leim rule.
1752 (leim): New rule.
1753 * loadup.el: Move leim-list.el to leim/ subdirectory.
1754 * startup.el (normal-top-level): No more leim directory.
1755 * international/ja-dic-cnv.el (skkdic-convert):
1756 Disable version-control and autoloads in output files.
1757 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1758 Disable version-control and autoloads in output files.
1759 * leim/quail: Move here from ../leim.
1760 * leim/quail/hangul.el (hangul-input-method-activate):
1761 Add autoload cookie.
1762 (generated-autoload-load-name): Set file-local value.
1763 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1764 (generated-autoload-load-name): Set file-local value.
1765
1766 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1767
1768 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1769 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1770 (eww-quit): Ask confirmation before quitting eww.
1771
1772 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1773
1774 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1775 reading output from Diff on MS-Windows and MS-DOS.
1776
1777 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1778
1779 * emacs-lisp/helpers.el (string-reverse): New function.
1780
1781 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1782
1783 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1784 names on MS Windows, like "/[::1]:".
1785
1786 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1787 SWITCHES.
1788
1789 2013-11-26 Glenn Morris <rgm@gnu.org>
1790
1791 * progmodes/python.el (python-indent-guess-indent-offset):
1792 Avoid corner-case error. (Bug#15975)
1793
1794 Preload leim-list.el. (Bug#4789)
1795 * loadup.el: Load leim-list.el when found.
1796 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1797
1798 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1799
1800 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1801
1802 * emacs-lisp/helpers.el (string-join): New function.
1803
1804 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1805
1806 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1807 Mark as obsolete and replace it with a symbol property.
1808 (byte-compile-form): Use new 'interactive-only property.
1809 * comint.el, files.el, replace.el, simple.el:
1810 Apply new 'interactive-only properly.
1811
1812 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1813
1814 * window.el (display-buffer-at-bottom): Make sure that
1815 split-window-sensibly creates the new window on bottom
1816 (Bug#15961).
1817
1818 2013-11-23 David Kastrup <dak@gnu.org>
1819
1820 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1821 on the conflict markers when available.
1822 (smerge--get-marker): New function.
1823 (smerge-end-re, smerge-base-re): Add subgroup.
1824
1825 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * frame.el (handle-focus-in, handle-focus-out): Add missing
1828 interactive spec.
1829
1830 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1831
1832 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1833 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1834
1835 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1838 (gomoku--last-pos): New var.
1839 (gomoku--intangible-chars): New const.
1840 (gomoku--intangible): New function.
1841 (gomoku-mode): Use it. Derive from special-mode.
1842 (gomoku-move-up): Adjust line count.
1843 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1844 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1845 Simplify accordingly.
1846
1847 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1848 Remove blink-cursor code.
1849 (blink-cursor-timer-function, blink-cursor-suspend):
1850 Don't special-case GUIs.
1851 (blink-cursor-mode): Use focus-in/out-hook.
1852
1853 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1854
1855 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1856 work when annotation is invisible (Bug#13886).
1857
1858 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1859
1860 * json.el (json-alist-p): Only return non-nil if the alist has
1861 simple keys (Bug#13518).
1862
1863 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1864
1865 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1866 when control-statement is the first statement in a buffer (Bug#15956).
1867
1868 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1869
1870 * imenu.el (imenu-generic-skip-comments-and-strings):
1871 New option (Bug#15560).
1872 (imenu--generic-function): Use it.
1873
1874 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1875
1876 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1877 (Bug#13898)
1878
1879 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1880
1881 * emacs-lisp/helpers.el: Add some string helpers.
1882 (string-trim-left): Removes leading whitespace.
1883 (string-trim-right): Removes trailing whitespace.
1884 (string-trim): Removes leading and trailing whitespace.
1885
1886 * subr.el (string-suffix-p): New function.
1887
1888 2013-11-23 Glenn Morris <rgm@gnu.org>
1889
1890 * progmodes/python.el (python-shell-send-file):
1891 Add option to delete file when done. (Bug#15647)
1892 (python-shell-send-string, python-shell-send-region): Use it.
1893
1894 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1895
1896 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1897 to set buffer-read-only to t, never to nil. (Bug#15938)
1898
1899 * textmodes/tex-mode.el (latex-noindent-environments):
1900 Add safe-local-variable property. (Bug#15936)
1901
1902 2013-11-23 Glenn Morris <rgm@gnu.org>
1903
1904 * textmodes/enriched.el (enriched-mode): Doc fix.
1905 * emacs-lisp/authors.el (authors-renamed-files-alist):
1906 Add enriched.doc -> enriched.txt.
1907
1908 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1909
1910 2013-11-22 Leo Liu <sdl.web@gmail.com>
1911
1912 * progmodes/octave.el (inferior-octave-startup): Spit out error
1913 message.
1914
1915 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1916
1917 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1918 Improve docstring.
1919 Add :version.
1920 (ruby-encoding-magic-comment-style): Add :version.
1921
1922 2013-11-22 Leo Liu <sdl.web@gmail.com>
1923
1924 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1925 (Bug#15076)
1926 (octave-help-mode): Adapt to change to help-mode-finish to use
1927 derived-mode-p on 2013-09-17.
1928 (inferior-octave-prompt): Also match octave-gui.
1929 (octave-kill-process): Don't ask twice. (Bug#10564)
1930
1931 2013-11-22 Leo Liu <sdl.web@gmail.com>
1932
1933 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1934 (inferior-octave-startup, inferior-octave-check-process)
1935 (inferior-octave-track-window-width-change)
1936 (octave-completion-at-point, octave-eldoc-function): Use it.
1937 (octave-kill-process): Provide confirmation. (Bug#10564)
1938
1939 2013-11-21 Leo Liu <sdl.web@gmail.com>
1940
1941 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1942 Fix obsolete variable comment-use-global-state.
1943
1944 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1945
1946 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1947 Add `octave-source-file'.
1948 (octave-source-file): New function. (Bug#15935)
1949
1950 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1951
1952 * net/eww.el (eww-local-regex): New variable.
1953 (eww): Use it to detect localhost and similar.
1954
1955 2013-11-21 Leo Liu <sdl.web@gmail.com>
1956
1957 Add completion for command `ag'.
1958 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1959 (pcomplete/ag): New function.
1960 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1961
1962 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1965 (bug#14646).
1966 (make-obsolete): Remove interactive spec.
1967
1968 2013-11-21 Glenn Morris <rgm@gnu.org>
1969
1970 * startup.el (command-line-1): Use path-separator with -L.
1971
1972 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1973
1974 * emacs-lisp/package.el (describe-package-1): Add package archive
1975 to shown fields.
1976
1977 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1978
1979 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1980 Change default to "# encoding: %s" to differentiate it from the
1981 default Ruby encoding comment template.
1982
1983 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1984
1985 * ses.el (ses-mode): Doc fix. (Bug#14748)
1986
1987 2013-11-20 Leo Liu <sdl.web@gmail.com>
1988
1989 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1990
1991 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1992
1993 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1994 when rebase or bisect are in progress.
1995
1996 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1997
1998 * filenotify.el (file-notify-add-watch): Doc fix.
1999
2000 2013-11-19 Leo Liu <sdl.web@gmail.com>
2001
2002 * obsolete/rcompile.el: Mark obsolete.
2003
2004 * progmodes/compile.el (compilation-start)
2005 (compilation-goto-locus, compilation-find-file):
2006 Pass no-display-ok and handle nil value from display-buffer.
2007 (Bug#13594)
2008
2009 * window.el (display-buffer-alist, display-buffer): Document the
2010 new parameter no-display-ok. Return either a window or nil
2011 but never a non-window value.
2012
2013 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * electric.el (electric-indent-mode-map): Remove.
2016 (electric-indent-mode): Change the global-map instead (bug#15915).
2017
2018 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2019 Use add-function.
2020
2021 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * emacs-lisp/nadvice.el (remove-function): Align with
2024 add-function's behavior.
2025
2026 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2027 (gdb--string-regexp): New constant.
2028 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2029 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2030 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2031 submatch 1.
2032 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2033 Adjust use accordingly.
2034 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2035
2036 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2037
2038 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2039 interpolation curlies (Bug#15914).
2040
2041 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2042
2043 * calc/calc.el (calc-context-sensitive-enter): New variable.
2044 (calc-enter): Use `calc-context-sensitive-enter'.
2045
2046 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2047
2048 * progmodes/cfengine.el: Version bump.
2049 (cfengine-cf-promises): New defcustom to locate cf-promises.
2050 (cfengine3-vartypes): Add new "data" type.
2051 (cfengine3--current-word): New function to get current name-like
2052 word or its bounds.
2053 (cfengine3--current-function): New function to look up a CFEngine
2054 function's definition.
2055 (cfengine3-format-function-docstring): New function.
2056 (cfengine3-make-syntax-cache): New function.
2057 (cfengine3-documentation-function): New function: ElDoc glue.
2058 (cfengine3-completion-function): New function: completion glue.
2059 (cfengine3-mode): Set `compile-command',
2060 `eldoc-documentation-function', and add to
2061 `completion-at-point-functions'.
2062
2063 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2066 `tramp-current-connection'.
2067
2068 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2069
2070 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2071 nil/self/true/false with "end of symbol".
2072
2073 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2074
2075 * subr.el (version-regexp-alist): Fix a typo.
2076
2077 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2078
2079 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2080 "en_US.utf8" and "LC_CTYPE" to "".
2081 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2082 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2083
2084 2013-11-15 Leo Liu <sdl.web@gmail.com>
2085
2086 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2087
2088 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * progmodes/gud.el (ctl-x-map):
2091 Remove C-x SPC binding. (Bug#12342)
2092 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2093
2094 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2095
2096 * subr.el (version-regexp-alist):
2097 Recognize hg, svn and darcs versions as snapshot versions.
2098
2099 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2100 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2101 (ruby--encoding-comment-required-p): Extract from
2102 `ruby-mode-set-encoding'.
2103 (ruby-mode-set-encoding): Add the ability to always insert an
2104 utf-8 encoding comment. Fix and simplify coding comment update
2105 logic.
2106
2107 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2108
2109 * net/tramp-gvfs.el (top): Run init code only when
2110 `tramp-gvfs-enabled' is not nil.
2111 (tramp-gvfs-enabled): Check also :system bus.
2112
2113 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 Sync with upstream verilog-mode revision 78e66ba.
2116 * progmodes/verilog-mode.el (verilog-end-of-defun)
2117 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2118 (verilog-get-end-of-defun): Remove unused argument.
2119 (verilog-comment-depth): Remove unused local `e'.
2120 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2121 Don't pass arg to verilog-get-end-of-defun.
2122
2123 2013-11-14 Glenn Morris <rgm@gnu.org>
2124
2125 * obsolete/assoc.el (aget): Prefix dynamic variable.
2126
2127 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2128
2129 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * widget.el, hfy-cmap.el: Remove bogus package version number.
2132
2133 2013-11-13 Glenn Morris <rgm@gnu.org>
2134
2135 * replace.el (replace-eval-replacement):
2136 Try to give more helpful error message. (Bug#15836)
2137
2138 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2139 (archive-7z-update): Avoid custom type mismatches.
2140
2141 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2142
2143 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2144
2145 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2146 address can be empty.
2147
2148 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2149 Accept nil SWITCHES.
2150 (tramp-gvfs-handle-write-region): Implement APPEND.
2151
2152 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2153
2154 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2155 binary "|" operator and closing block args delimiter.
2156 Remove FIXME comment referring to Ruby 1.8-only syntax.
2157 (ruby-smie--implicit-semi-p): Not after "|" operator.
2158 (ruby-smie--closing-pipe-p): New function.
2159 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2160 (ruby-smie-rules): Indent after "|".
2161
2162 2013-11-12 Glenn Morris <rgm@gnu.org>
2163
2164 * ps-print.el (ps-face-attribute-list):
2165 Handle anonymous faces. (Bug#15827)
2166
2167 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2168
2169 * window.el (display-buffer-other-frame): Fix doc-string.
2170 (Bug#15868)
2171
2172 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2173
2174 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2175
2176 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2177
2178 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2179 (tramp-sh-handle-file-local-copy): Don't write a message when
2180 saving temporary files.
2181
2182 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2183 both directories are remote.
2184 (tramp-smb-handle-directory-files): Do not return double entries.
2185 Do not expand full file names.
2186 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2187 (tramp-smb-handle-write-region): Implement APPEND.
2188 (tramp-smb-get-stat-capability): Fix a stupid bug.
2189
2190 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2193
2194 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2195
2196 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2197 throwing error over malformed let/let* (bug#15814).
2198
2199 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * iswitchb.el (iswitchb-mode): Mark obsolete.
2202
2203 2013-11-11 Glenn Morris <rgm@gnu.org>
2204
2205 * international/uni-bidi.el, international/uni-category.el:
2206 * international/uni-name.el, international/uni-numeric.el:
2207 Regenerate for Unicode 6.3.0.
2208
2209 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2210
2211 * net/tramp.el (tramp-methods):
2212 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2213 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2214
2215 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2216
2217 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2218 Force highlighting text after Summary keyword in doc face for rpm.
2219
2220 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2221
2222 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2223 available and the word has no wildcards, append one to the grep pattern.
2224 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2225 (ispell-complete-word): Call `ispell-lookup-words' with the value
2226 independent of `ispell-look-p'.
2227
2228 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2229
2230 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2231 Not after "||".
2232 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2233 their parent.
2234
2235 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2238 (ruby-font-lock-keywords): Use backquote.
2239
2240 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2241
2242 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2243 (ruby-smie--backward-token): Only consider full-string matches.
2244
2245 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2246
2247 * faces.el (describe-face): Add distant-foreground.
2248
2249 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2250
2251 * progmodes/ruby-mode.el: Improve encoding comment handling.
2252 (ruby-encoding-magic-comment-style): New option.
2253 (ruby-custom-encoding-magic-comment-template): New option.
2254 (ruby--insert-coding-comment, ruby--detect-encoding):
2255 New functions extracted from `ruby-mode-set-encoding'.
2256 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2257 to control the style of the auto-inserted encoding comment.
2258
2259 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2260
2261 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2262 Use `smie-backward-sexp' with token argument.
2263
2264 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2265
2266 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2267 Remove instrumentation code.
2268
2269 2013-11-08 Glenn Morris <rgm@gnu.org>
2270
2271 * progmodes/autoconf.el (autoconf-mode):
2272 Tweak comment-start-skip. (Bug#15822)
2273
2274 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2277 at bobp (bug#15826).
2278 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2279
2280 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2281
2282 * man.el (Man-start-calling): New macro, extracted from
2283 Man-getpage-in-background.
2284 (Man-getpage-in-background): Use it.
2285 (Man-update-manpage): New command.
2286 (Man-mode-map): Bind it.
2287
2288 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2289
2290 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2291 of "and", "or", "&&" and "||".
2292 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2293 argument. Prohibit opening curly brace because it could only be a
2294 block opener in that position.
2295 (ruby-smie--forward-token, ruby-smie--backward-token):
2296 Separate "|" from "&" or "*" going after it. That can happen in block
2297 arguments.
2298 (ruby-smie--indent-to-stmt): New function, seeks the end of
2299 previous statement or beginning of buffer.
2300 (ruby-smie-rules): Use it.
2301 (ruby-smie-rules): Check if there's a ":" before a curly block
2302 opener candidate; if there is, it's a hash.
2303
2304 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2307 (cl--block-wrapper): Fix last accidental change.
2308
2309 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2310
2311 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2312 Instrument, in order to hunt failure on hydra.
2313
2314 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2315
2316 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2317 malformed bindings form (bug#15814).
2318
2319 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2320
2321 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2322 "." compared to " @ ". This incidentally fixes some indentation
2323 examples with "do".
2324 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2325 (ruby-smie-grammar): New tokens: "and" and "or".
2326 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2327 Exclude "and" and "or". Remove "do" in order to work around token
2328 priorities.
2329 (ruby-smie-rules): Add all infix tokens. Handle the case of
2330 beginning-of-buffer.
2331
2332 2013-11-06 Glenn Morris <rgm@gnu.org>
2333
2334 * Makefile.in (setwins_almost, setwins_for_subdirs):
2335 Avoid accidental matches.
2336
2337 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * menu-bar.el (popup-menu): Use key-binding.
2340
2341 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2342
2343 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2344 menus, support also the menus produced by minor modes.
2345 (Bug#15817)
2346
2347 2013-11-06 Leo Liu <sdl.web@gmail.com>
2348
2349 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2350 DISTANCE to bound the search. All uses changed. (Bug#15808)
2351
2352 2013-11-06 Glenn Morris <rgm@gnu.org>
2353
2354 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2355 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2356 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2357
2358 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2359
2360 * electric.el (electric-indent-just-newline): New command.
2361 (electric-indent-mode-map): New keymap.
2362 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2363 Re-add :group which weren't redundant.
2364
2365 * electric.el (electric-indent-local-mode): New minor mode.
2366 (electric-indent-functions-without-reindent): New var.
2367 (electric-indent-post-self-insert-function): Use it.
2368 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2369
2370 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2371
2372 * international/quail.el (quail-help): Be more explicit about the
2373 meaning of the labels shown on the keys. (Bug#15800)
2374
2375 * startup.el (normal-top-level): Load the subdirs.el files before
2376 setting the locale environment. (Bug#15805)
2377
2378 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2379
2380 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2381 via arguments so as to get the right ones (bug#15418).
2382
2383 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2384
2385 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2386
2387 Fix problems found while writing a test suite.
2388
2389 * net/tramp-compat.el (tramp-compat-load): New defun.
2390 * net/tramp.el (tramp-handle-load): Use it.
2391
2392 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2393 "(numberp ok-if-already-exists)" correctly.
2394
2395 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2396
2397 * international/characters.el (glyphless-char-display-control):
2398 Add usage note.
2399
2400 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2401
2402 * progmodes/python.el (python-mode):
2403 * progmodes/scheme.el (scheme-mode):
2404 * progmodes/prolog.el (prolog-mode):
2405 * progmodes/ruby-mode.el (ruby-mode):
2406 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2407 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2408
2409 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * rect.el (rectangle--highlight-for-redisplay):
2412 * emacs-lisp/smie.el (smie--next-indent-change):
2413 Use buffer-chars-modified-tick.
2414
2415 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2416
2417 * electric.el (electric-indent-post-self-insert-function):
2418 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2419
2420 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2421
2422 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2423
2424 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2425
2426 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2427 (bug#15786).
2428
2429 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2432
2433 * progmodes/python.el: Fix up last change.
2434 (python-shell--save-temp-file): New function.
2435 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2436 `string' comes from the current buffer.
2437 (python-shell-send-string-no-output): Remove `msg' arg.
2438 (python--use-fake-loc): New var.
2439 (python-shell-buffer-substring): Obey it. Try to compensate for the
2440 extra coding line added by python-shell--save-temp-file.
2441 (python-shell-send-region): Use python-shell--save-temp-file and
2442 python-shell-send-file directly. Add `nomain' argument.
2443 (python-shell-send-buffer): Use python-shell-send-region.
2444 (python-electric-pair-string-delimiter): New function.
2445 (python-mode): Use it.
2446
2447 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2448
2449 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2450 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2451 environment and decoding all of the default-directory's to here
2452 from command-line.
2453 (command-line): Decode also argv[0].
2454
2455 * loadup.el: Error out if default-directory is a multibyte string
2456 when we are dumping.
2457
2458 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2459
2460 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2461
2462 * emacs-lisp/package.el (package-menu-mode)
2463 (package-menu--print-info, package-menu--archive-predicate):
2464 Add Archive column to package list.
2465
2466 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2467
2468 Fix problems found while writing a test suite.
2469
2470 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2471 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2472 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2473 to nil when running original file name handler. Otherwise,
2474 there are problems with constructs like "$$FOO".
2475
2476 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2477 for `localname'.
2478
2479 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2480
2481 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2482
2483 * subr.el (version<, version<=, version=):
2484 Update docstrings with information for snapshot versions.
2485
2486 * helpers.el: New library for misc helper functions.
2487 (hash-table-keys): New function returning a list of hash keys.
2488 (hash-table-values): New function returning a list of hash values.
2489
2490 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2491
2492 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2493 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2494
2495 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2496
2497 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2498 checking whether point is after a 1-letter word.
2499
2500 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2501
2502 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2503 Don't infloop when expanding region over `multiline' syntax-type that
2504 begins a line (bug#15778).
2505
2506 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2509 Make it into a proper minor mode.
2510 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2511 (rectangle-mark-mode-map): New keymap.
2512 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2513
2514 2013-11-04 Glenn Morris <rgm@gnu.org>
2515
2516 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2517
2518 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2521 (ruby-smie-rules): Use smie-rule-parent instead.
2522
2523 * emacs-lisp/smie.el (smie-rule-parent): Always call
2524 smie-indent-virtual rather than only for hanging tokens.
2525 (smie--next-indent-change): New helper command.
2526
2527 2013-11-03 Glenn Morris <rgm@gnu.org>
2528
2529 * Makefile.in (abs_srcdir): Remove.
2530 (emacs): Unset EMACSLOADPATH.
2531
2532 2013-11-02 Glenn Morris <rgm@gnu.org>
2533
2534 * Makefile.in (EMACS): Use a relative filename.
2535 (abs_top_builddir): Remove.
2536 (custom-deps, finder-data, autoloads): Use --chdir.
2537
2538 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2539
2540 Use relative filenames in TAGS files.
2541 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2542 (lisptagsfiles4, TAGS): Use relative file names.
2543 (TAGS-LISP): Remove.
2544 (maintainer-clean): No more TAGS-LISP file.
2545
2546 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2547 (lisptagsfiles4): Use absolute filenames again.
2548 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2549 Remove all *loaddefs files, not just the first. Remove esh-groups.
2550 (maintainer-clean): Delete TAGS, TAGS-LISP.
2551
2552 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2553
2554 * emacs-lisp/package.el (package-version-join):
2555 Recognize snapshot versions.
2556
2557 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2558
2559 * subr.el (version-regexp-alist): Add support for snapshot versions.
2560
2561 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2562
2563 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2564 New function, replacement for `smie-rule-parent' for when we want to
2565 skip over our direct parent if it's an assignment token..
2566 (ruby-smie-rules): Use it.
2567
2568 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2569
2570 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2571 unconditionally. Remove now unnecessary forward declarations.
2572 Remove XEmacs-specific setup.
2573 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2574 (ruby-font-lock-syntactic-keywords)
2575 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2576 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2577 (ruby-here-doc-end-syntax): Remove.
2578 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2579 defined as function.
2580
2581 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2582
2583 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2584
2585 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2586
2587 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2588 table and abbrev table, `define-derived-mode' does that for us
2589 anyway.
2590
2591 2013-11-01 Glenn Morris <rgm@gnu.org>
2592
2593 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2594 files is atomic for some time, so no parallel compilation issues).
2595
2596 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2597
2598 * faces.el (face-x-resources): Add :distant-foreground.
2599 (region): Use :distant-foreground for gtk and ns.
2600
2601 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2602
2603 Allow multiple bibliographies when BibLaTeX is used rather than
2604 BibTeX.
2605 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2606 (reftex-locate-bibliography-files): Us it.
2607
2608 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2609
2610 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2611 allow comments in pbm files.
2612
2613 * term/w32-win.el (dynamic-library-alist): Support newer versions
2614 of libjpeg starting with v7: look only for the DLL from the
2615 version against which Emacs was built.
2616 Support versions of libpng beyond 1.4.x.
2617 Support libtiff v4.x.
2618
2619 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2620
2621 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2622 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2623 Add property :safe.
2624 (ruby-deep-arglist): Add property :type.
2625
2626 2013-10-31 Glenn Morris <rgm@gnu.org>
2627
2628 * Makefile.in (custom-deps, finder-data): No need to setq the target
2629 variables, we are in the right directory and the defaults work fine.
2630
2631 2013-10-30 Glenn Morris <rgm@gnu.org>
2632
2633 * Makefile.in (autoloads): Do not use abs_lisp.
2634
2635 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2636 `newline' does not respect `standard-output', so use `princ'.
2637
2638 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2639
2640 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2641 * buff-menu.el (Buffer-menu--unmark): New function.
2642 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2643
2644 2013-10-30 Glenn Morris <rgm@gnu.org>
2645
2646 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2647
2648 * emacs-lisp/package.el (lm-homepage): Declare.
2649
2650 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2651 Fix doc typos.
2652
2653 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2654
2655 * Makefile.in (finder-data, autoloads, update-subdirs)
2656 (compile-main, compile-clean, compile-always, bootstrap-clean):
2657 Check return value of cd.
2658 (compile-calc): Remove.
2659
2660 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2663
2664 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2665 (byte-compile-and-folded): New function.
2666 (=, <, >, <=, >=): Use it.
2667
2668 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2669 (path-separator, null-device, buffer-file-coding-system)
2670 (lpr-headers-switches): Check system-type before modifying them.
2671 (find-buffer-file-type-coding-system): Mark obsolete.
2672 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2673 find-file-not-found-set-buffer-file-coding-system.
2674 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2675 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2676 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2677 (w32-direct-print-region-helper, w32-direct-print-region-function)
2678 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2679 * startup.el (normal-top-level-add-subdirs-to-load-path):
2680 * ps-print.el (ps-print-region-function):
2681 * lpr.el (print-region-function): Use new name.
2682
2683 * subr.el (custom-declare-variable-early): Remove function.
2684 (custom-declare-variable-list): Remove var.
2685 (error, user-error): Remove `while' loop.
2686 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2687 (user-emacs-directory-warning, locate-user-emacs-file):
2688 Move to files.el.
2689 * simple.el (read-quoted-char-radix, read-quoted-char):
2690 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2691 Move from subr.el.
2692 * custom.el (custom-declare-variable-list): Don't process
2693 custom-declare-variable-list.
2694
2695 * progmodes/python.el (python-shell-get-buffer): New function.
2696 (python-shell-get-process): Use it.
2697 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2698 Python which encoding was used. Don't split-string since we only care
2699 about the first line. Return the temp-file, if applicable.
2700 (python-shell-send-region): Tell compile.el how to turn locations in
2701 the temp-file into locations in the source buffer.
2702
2703 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * subr.el (undefined): Add missing behavior from the C code for
2706 unbound keys.
2707
2708 * rect.el: Use lexical-binding. Add new rectangular region support.
2709 (rectangle-mark): New command.
2710 (rectangle--region): New var.
2711 (deactivate-mark-hook): Reset rectangle--region.
2712 (rectangle--extract-region, rectangle--insert-for-yank)
2713 (rectangle--highlight-for-redisplay)
2714 (rectangle--unhighlight-for-redisplay): New functions.
2715 (region-extract-function, redisplay-unhighlight-region-function)
2716 (redisplay-highlight-region-function): Use them to handle
2717 rectangular region.
2718 * simple.el (region-extract-function): New var.
2719 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2720 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2721 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2722 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2723 (redisplay-unhighlight-region-function)
2724 (redisplay-highlight-region-function): New vars.
2725 (redisplay--update-region-highlight): New function.
2726 (pre-redisplay-function): Use it.
2727 (exchange-point-and-mark): Don't deactivate the mark before
2728 reactivate-it anyway.
2729 * comint.el (comint-kill-region): Remove yank-handler argument.
2730 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2731 (delete-char): Remove property, since it's now part of their
2732 default behavior.
2733 (self-insert-iso): Remove property since this command doesn't exist.
2734
2735 * emacs-lisp/package.el (package--download-one-archive)
2736 (describe-package-1): Don't query the user about final newline.
2737
2738 2013-10-29 Daniel Colascione <dancol@dancol.org>
2739
2740 * net/tramp.el (tramp-methods): Document new functionality.
2741 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2742 tramp-hostname-checker if method provides one instead of scanning
2743 argument list for "%h" to decide hostname acceptability.
2744
2745 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2746
2747 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2748 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2749 Handle COPY-CONTENTS. (Bug#15737)
2750
2751 2013-10-28 Daiki Ueno <ueno@gnu.org>
2752
2753 * epa-file.el
2754 (epa-file-cache-passphrase-for-symmetric-encryption):
2755 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2756
2757 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2758
2759 * image.el (defimage):
2760 (image-load-path): Doc fixes.
2761
2762 2013-10-27 Alan Mackenzie <acm@muc.de>
2763
2764 Indent statements in macros following "##" correctly.
2765 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2766 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2767
2768 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2769
2770 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2771
2772 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2773
2774 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2775 after `=' is probably a new expression.
2776
2777 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2778
2779 * man.el (man-imenu-title): New option.
2780 (Man-mode-map): Add menu. (Bug#15722)
2781 (Man-mode): Add imenu to menu.
2782
2783 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2784
2785 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2786 specific in what the first arg can be: a non-keyword word,
2787 string/regexp/percent literal opener, opening paren, or unary
2788 operator followed directly by word.
2789
2790 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2793 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2794 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2795 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2796 Remove vars, they do not apply any more.
2797 (prolog-mode-abbrev-table): Remove redundant declaration.
2798 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2799 (prolog-use-smie): Remove.
2800 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2801 supported by prolog-electric-if-then-else-flag.
2802 (prolog-mode-variables, prolog-menu): Use setq-local.
2803 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2804 Remove binding to `Backspace' since this key doesn't exist anyway.
2805 Remove bindings for electric self-inserting keys.
2806 (prog-mode): Assume it's defined.
2807 (prolog-post-self-insert): New function.
2808 (prolog-mode): Use it.
2809 (prolog-indent-line, prolog-indent-level)
2810 (prolog-find-indent-of-matching-paren)
2811 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2812 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2813 (prolog-goto-next-paren, prolog-in-string-or-comment)
2814 (prolog-tokenize, prolog-inside-mline-comment)
2815 (prolog-find-start-of-mline-comment): Remove functions.
2816 (prolog-find-unmatched-paren, prolog-clause-end)
2817 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2818 (prolog-electric--if-then-else): Rename from
2819 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2820 (prolog-tokenize-searchkey): Remove const.
2821 (prolog-clause-info): Use forward-sexp.
2822 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2823 (prolog-electric-if-then-else): Remove commands.
2824 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2825 for use in post-self-insert-hook.
2826 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2827 for use in post-self-insert-hook.
2828 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2829 for use in post-self-insert-hook.
2830 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2831 adapt it for use in post-self-insert-hook.
2832
2833 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2834
2835 * emacs-lisp/ert.el (ert-run-tests-interactively):
2836 Use `completing-read'. (Bug#9756)
2837
2838 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2839
2840 * simple.el (line-move): Call line-move-1 instead of
2841 line-move-visual when the current window hscroll is zero, but
2842 temporary-goal-column indicates we will need to hscroll as result
2843 of the movement. (Bug#15712)
2844
2845 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2846
2847 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2848 capitalization. Use :visible instead of :active.
2849 Fix `ruby-indent-exp' reference. Add menu items for the generic
2850 commands that are used with SMIE.
2851 (ruby-do-end-to-brace): Insert space after `{'.
2852
2853 2013-10-25 John Anthony <john@jo.hnanthony.com>
2854
2855 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2856
2857 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2858
2859 2013-10-25 Glenn Morris <rgm@gnu.org>
2860
2861 * vc/vc.el (vc-print-log): Don't use a working revision unless
2862 one was explicitly specified. (Bug#15322)
2863
2864 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * subr.el (add-to-list): Preserve return value in compiler-macro
2867 (bug#15692).
2868
2869 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2870
2871 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2872 result. Ask user to retry using '-all' flag. (Bug#15701)
2873
2874 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * emacs-lisp/smie.el: New smie-config system.
2877 (smie-config): New defcustom.
2878 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2879 (smie-config-guess, smie-config-save): New commands.
2880 (smie-config--mode-local, smie-config--buffer-local)
2881 (smie-config--trace, smie-config--modefuns): New vars.
2882 (smie-config--advice, smie-config--mode-hook)
2883 (smie-config--setter, smie-config-local, smie-config--get-trace)
2884 (smie-config--guess-value, smie-config--guess): New functions.
2885 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2886 text properties. Treat "string fence" syntax like string syntax.
2887
2888 * progmodes/sh-script.el (sh-use-smie): Change default.
2889 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2890 (sh-var-value): Simplify by CSE.
2891 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2892 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2893 is used.
2894 (sh-guess-basic-offset): Use cl-incf.
2895 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2896
2897 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2898
2899 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2900 (bug#15699).
2901
2902 2013-10-24 Glenn Morris <rgm@gnu.org>
2903
2904 * Makefile.in (abs_top_srcdir): Remove.
2905 (update-subdirs): Use relative path to update-subdirs.
2906
2907 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2908
2909 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2910 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2911 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2912 Call unmsys--file-name before expand-file-name, not after it.
2913
2914 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2917 (ert-test-skipped): New error.
2918 (ert-skip, ert-stats-skipped): New defuns.
2919 (ert--skip-unless): New macro.
2920 (ert-test-skipped): New struct.
2921 (ert--run-test-debugger, ert-test-result-type-p)
2922 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2923 (ert--stats-set-test-and-result, ert-char-for-test-result)
2924 (ert-string-for-test-result, ert-run-tests-batch)
2925 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2926 Handle skipped tests. (Bug#9803)
2927
2928 2013-10-24 Glenn Morris <rgm@gnu.org>
2929
2930 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2931
2932 * Makefile.in (abs_top_srcdir): New, set by configure.
2933 (update-subdirs): Correct build-aux location.
2934
2935 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2936
2937 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2938 value, whether we could auto-deduce `backend', or not.
2939
2940 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2941 with parameters" example. Simplify the "is it block or is it
2942 hash" check, but also make it more thorough.
2943
2944 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2945
2946 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2947
2948 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2951 { if it is hanging.
2952
2953 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2954 :before ";".
2955
2956 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2957
2958 * progmodes/compile.el (compilation-directory-matcher)
2959 (compilation-page-delimiter):
2960 Support GNU Make-4.0 directory quoting. (Bug#15678)
2961
2962 2013-10-23 Leo Liu <sdl.web@gmail.com>
2963
2964 * ido.el (ido-tidy): Handle read-only text.
2965
2966 2013-10-23 Glenn Morris <rgm@gnu.org>
2967
2968 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2969 (emacs, compile, compile-always):
2970 Quote entities that might contain whitespace.
2971 (custom-deps, finder-data, autoloads): Use abs_lisp.
2972 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2973 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2974 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2975
2976 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2977
2978 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2979 Use `following-char'.
2980
2981 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2984 * progmodes/ruby-mode.el (ruby-smie-rules):
2985 Remove corresponding workaround. Fix indentation rule of ";" so it
2986 also applies when ";" is the parent.
2987
2988 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2989
2990 * frame.el (display-screens, display-pixel-height)
2991 (display-pixel-width, display-mm-width, display-backing-store)
2992 (display-save-under, display-planes, display-color-cells)
2993 (display-visual-class, display-monitor-attributes-list):
2994 Mention the optional ‘display’ argument in doc strings.
2995
2996 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2997
2998 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2999 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3000
3001 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3002
3003 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3004 TODO. Add "." after " @ ".
3005 (ruby-smie--at-dot-call): New function. Checks if point at method
3006 call with explicit target.
3007 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3008 to the method name tokens when it precedes them.
3009 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3010 (ruby-smie-rules): Add rule for indentation before and after "."
3011 token.
3012
3013 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * textmodes/remember.el (remember-diary-extract-entries):
3016 Avoid add-to-list.
3017
3018 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3019 an instruction.
3020
3021 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3022
3023 * progmodes/ruby-mode.el (ruby-smie-grammar):
3024 Add (almost) all infix operators.
3025 (ruby-smie--implicit-semi-p): Add new operator chars.
3026
3027 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3028 `smie-down-list'.
3029 (ruby-smie--args-separator-p): Check that there's no newline
3030 between method call and its arguments.
3031
3032 2013-10-20 Alan Mackenzie <acm@muc.de>
3033
3034 Allow comma separated lists after Java "implements".
3035
3036 * progmodes/cc-engine.el (c-backward-over-enum-header):
3037 Parse commas.
3038 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3039 from a "disallowed" list in enum fontification.
3040
3041 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3042
3043 * startup.el (default-frame-background-mode): Remove unused defvar.
3044
3045 * progmodes/verilog-mode.el (verilog-mode): Don't set
3046 comment-indent-function globally.
3047
3048 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3049
3050 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3051 Move Info menu item creation to ns-win.el.
3052
3053 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3054 in menu bar.
3055
3056 * menu-bar.el: Move GNUStep specific menus...
3057
3058 * term/ns-win.el (ns-initialize-window-system): ... to here.
3059
3060 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * simple.el (newline): Only run post-self-insert-hook when
3063 called interactively.
3064
3065 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3066
3067 * icomplete.el (icomplete-with-completion-tables): Add :version.
3068
3069 2013-10-19 Alan Mackenzie <acm@muc.de>
3070
3071 Fix fontification bugs with constructors and const.
3072
3073 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3074 CASE 2) Remove the check for the absence of a suffix construct
3075 after a function declaration with only types (no identifiers) in
3076 the parentheses. Also, accept a function declaration with just a
3077 type inside the parentheses, if this type can be positively
3078 recognised as such, or if a prefix keyword like "explicit" nails
3079 down the construct as a declaration.
3080
3081 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3082
3083 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3084 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3085 the problem whereby selecting a menu item that leads to a
3086 minibuffer prompt moves the cursor out of the minibuffer window,
3087 making it hard to type at the prompt. Suggested by Stefan Monnier
3088 <monnier@iro.umontreal.ca>.
3089
3090 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3091
3092 * menu-bar.el: Don't make Services menu.
3093
3094 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3095
3096 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3097 (ffap-alist): Use ffap-c++-mode for c++-mode.
3098 (ffap-c++-path): New variable.
3099 (ffap-c++-mode): New function.
3100
3101 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3102
3103 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3104
3105 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3106
3107 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3108 introduced on 2013-09-08, which results in an infinite loop
3109 requesting a password.
3110
3111 2013-10-18 Glenn Morris <rgm@gnu.org>
3112
3113 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3114
3115 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3116
3117 Sync with upstream verilog-mode revision 1a6ecec7.
3118 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3119 (verilog-mode-release-date): Remove.
3120 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3121 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3122 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3123 (verilog-auto-tieoff-ignore-regexp)
3124 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3125 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3126 (verilog-signals-with, verilog-dir-cache-preserving)
3127 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3128 Doc fixes.
3129 (verilog-case-fold): New option, to control case folding in
3130 regexp searches, bug597.
3131 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3132 (verilog-string-match-fold, verilog-in-paren-count)
3133 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3134 (verilog-at-close-struct-p): New functions.
3135 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3136 (verilog-forward-sexp, verilog-set-auto-endcomments):
3137 (verilog-leap-to-case-head): Handle "unique0" case.
3138 (verilog-in-constraint-re): New constant.
3139 (verilog-keywords, verilog-type-font-keywords):
3140 Add some SystemVerilog 1800-2012 keywords.
3141 (verilog-label-be): Remove unimplemented argument, bug669.
3142 (verilog-batch-execute-func): When batch expanding clear
3143 create-lockfiles to prevent spurious user locks when a file ends
3144 up not changing.
3145 (verilog-calculate-indent, verilog-calc-1)
3146 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3147 (verilog-do-indent): Fix indentation of nested constraints
3148 and structures.
3149 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3150 (verilog-auto-inst-param): Use verilog-string-match-fold.
3151 (verilog-read-inst-module-matcher):
3152 Fix AUTOINST on gate primitives with #1.
3153 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3154 Reads all user-defined typed variables.
3155 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3156 (verilog-signals-matching-regexp)
3157 (verilog-signals-not-matching-regexp, verilog-auto):
3158 Respect verilog-case-fold.
3159 (verilog-diff-report): Fix line count.
3160 (verilog-auto-assign-modport): Remove unused local `modi'.
3161 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3162 better handle multidimensional arrays.
3163 Fix packed array ports misadding bit index in AUTOINST, bug637.
3164 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3165 to not double-declare existing outputs and inputs, respectively.
3166 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3167 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3168 (verilog-sk-uvm-component): New skeleton.
3169 (verilog-submit-bug-report): Add verilog-case-fold,
3170 remove verilog-mode-release-date.
3171
3172 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3173
3174 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3175 as before.
3176
3177 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3178
3179 * textmodes/remember.el (remember): Set buffer-offer-save in
3180 remember buffers (bug#13566).
3181
3182 2013-10-18 Daniel Colascione <dancol@dancol.org>
3183
3184 When evaluating forms in ielm, direct standard output to ielm
3185 buffer. Add new ielm-return-for-effect command. Remove trailing
3186 whitespace throughout.
3187
3188 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3189 (ielm-return-for-effect): New command.
3190 (ielm-send-input): Accept optional `for-effect' parameter.
3191 (ielm-eval-input): Accept optional `for-effect' parameter.
3192 Bind `standard-output' to stream we create using
3193 `ielm-standard-output-impl'. Suppress printing result when
3194 `for-effect'.
3195 (ielm-standard-output-impl): New function.
3196 (inferior-emacs-lisp-mode): Explain new features in documentation.
3197
3198 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3199
3200 Code cleanup.
3201
3202 * net/tramp.el (tramp-debug-message): Do not check for connection
3203 buffer.
3204 (tramp-message): Use "vector" connection property.
3205
3206 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3207 (tramp-equal-remote, tramp-eshell-directory-change)
3208 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3209 (tramp-adb-handle-rename-file)
3210 * net/tramp-cmds.el (tramp-list-remote-buffers)
3211 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3212 * net/tramp-compat.el (tramp-compat-process-running-p)
3213 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3214 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3215 (tramp-gvfs-handle-rename-file)
3216 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3217 (tramp-set-file-uid-gid)
3218 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3219 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3220 of `file-remote-p'.
3221
3222 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3223 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3224 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3225 (tramp-gw-open-network-stream): Suppress unrelated traces.
3226
3227 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3228 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3229 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3230 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3231 connection property.
3232
3233 * net/tramp-cache.el (top): Suppress traces when reading
3234 persistency file.
3235
3236 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3237 Refactor common code. Improve debug message.
3238 (tramp-maybe-open-connection)
3239 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3240 connection buffer too early.
3241
3242 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3243 from `tramp-smb-actions-with-acl'.
3244 (tramp-smb-actions-set-acl): New defconst.
3245 (tramp-smb-handle-copy-directory)
3246 (tramp-smb-action-get-acl): New defun, renamed from
3247 `tramp-smb-action-with-acl'.
3248 (tramp-smb-action-set-acl): New defun.
3249 (tramp-smb-handle-set-file-acl): Rewrite.
3250
3251 2013-10-17 Glenn Morris <rgm@gnu.org>
3252
3253 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3254
3255 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * skeleton.el (skeleton-newline): Remove.
3258 (skeleton-internal-1): Use (insert "\n") instead.
3259
3260 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3261 let-bindings.
3262
3263 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3264 forward-sexp-function while we redo its job (bug#15613).
3265
3266 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3267
3268 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3269 represented by lists.
3270
3271 2013-10-16 Glenn Morris <rgm@gnu.org>
3272
3273 * tmm.el (tmm--history): New dynamic variable.
3274 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3275
3276 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3277
3278 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3279 (tramp-smb-errors): Add error messages.
3280 (tramp-smb-actions-with-acl): New defconst.
3281 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3282 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3283 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3284 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3285 (tramp-smb-get-stat-capability): Fix tests.
3286
3287 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3288
3289 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3290 (bug#15580).
3291
3292 2013-10-16 Glenn Morris <rgm@gnu.org>
3293
3294 * ansi-color.el (ansi-color-drop-regexp):
3295 Add 1J, 1K, 2K. (Bug#15617)
3296
3297 * files.el (hack-local-variables--warned-lexical): New.
3298 (hack-local-variables):
3299 Warn about misplaced lexical-binding. (Bug#15616)
3300
3301 * net/eww.el (eww-render): Always set eww-current-url,
3302 and update header line. (Bug#15622)
3303 (eww-display-html): ... Rather than just doing it here.
3304
3305 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3306
3307 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3308 menu navigations commands.
3309
3310 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3311
3312 * progmodes/subword.el (subword-capitalize): Be careful when
3313 the search for [[:alpha:]] fails (bug#15580).
3314
3315 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3316
3317 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3318 to commands that scroll the menu.
3319
3320 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3321
3322 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3323 Handle methods ending with `?' and `!'.
3324
3325 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3326
3327 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3328 `japanese-cp932' to `cp932' to fix the problem where saving a
3329 source file written in Shift_JIS twice would end up having
3330 `coding: japanese-cp932' which Ruby could not recognize.
3331 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3332 in `ruby-encoding-map'.
3333 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3334 doesn't need to be explicitly declared in magic comment.
3335 (ruby-encoding-map): Add type declaration for better customize UI.
3336
3337 2013-10-13 Glenn Morris <rgm@gnu.org>
3338
3339 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3340 Occur buffers are read-only. http://bugs.debian.org/720775
3341
3342 * emacs-lisp/authors.el (authors-fixed-entries):
3343 Comment out old alpha stuff.
3344
3345 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3346
3347 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3348 to `after-save-hook' instead of `before-save-hook'.
3349 (ruby-mode-set-encoding): Use the value of coding system used to
3350 write the file. Call `basic-save-buffer-1' after modifying the
3351 buffer.
3352
3353 2013-10-13 Alan Mackenzie <acm@muc.de>
3354
3355 Fix indentation/fontification of Java enum with
3356 "implements"/generic.
3357
3358 * progmodes/cc-engine.el (c-backward-over-enum-header):
3359 Extracted from the three other places and enhanced to handle generics.
3360 (c-inside-bracelist-p): Uses new function above.
3361 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3362 function above.
3363 (c-font-lock-enum-tail): Uses new function above.
3364
3365 2013-10-13 Kenichi Handa <handa@gnu.org>
3366
3367 * international/mule-cmds.el (select-safe-coding-system): Remove a
3368 superfluous condition in chekcing whether a coding system is safe
3369 or not.
3370
3371 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3372
3373 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3374
3375 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3376
3377 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3378
3379 2013-10-13 Glenn Morris <rgm@gnu.org>
3380
3381 * menu-bar.el (menu-bar-update-buffers):
3382 Unify Buffers menu prompt string. (Bug#15576)
3383
3384 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3385
3386 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3387 Add some entries.
3388 (authors-fixed-entries): Use accented form of name.
3389
3390 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3393 method calls (bug#15594).
3394 (ruby-smie--args-separator-p): New function.
3395 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3396 recognize paren-free method calls.
3397
3398 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3399 internals of universal-argument.
3400
3401 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3402
3403 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3404 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3405 dropped menu on second mouse click on the menu bar.
3406
3407 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3410 (explicit-shell-file-name): Declare.
3411 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3412 (sh-completion-at-point-function): New function.
3413 (sh-mode): Use it.
3414 (sh-smie--keyword-p): Remove unused argument.
3415 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3416 vars.
3417 (sh-set-shell): Always setup SMIE, even if we use the
3418 old indentation code.
3419
3420 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3421
3422 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3423 cases of ? and =.
3424 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3425 predicate would return nil are almost non-existent.
3426 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3427
3428 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3429 cache also after commands that modify the buffer but don't move
3430 point.
3431
3432 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * env.el (substitute-env-in-file-name): New function.
3435 (substitute-env-vars): Extend the meaning of the optional arg.
3436
3437 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3438
3439 * term/w32-win.el (dynamic-library-alist): Define separate lists
3440 of GIF DLLs for versions before and after 5.0.0 of giflib.
3441 (Bug#15531)
3442
3443 2013-10-10 João Távora <joaotavora@gmail.com>
3444
3445 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3446 not locked, use last revision and current source as
3447 defaults. (Bug#15569)
3448
3449 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3450
3451 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3452 menu-bar is hidden.
3453
3454 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3455
3456 * window.el (pop-to-buffer-same-window): Fix doc-string.
3457 (Bug#15492)
3458
3459 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3462
3463 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3464
3465 * calendar/icalendar.el (icalendar-import-file):
3466 Fix interactive spec. (Bug#15482)
3467
3468 2013-10-10 Glenn Morris <rgm@gnu.org>
3469
3470 * desktop.el (desktop-save): Default to saving in .emacs.d,
3471 since PWD is no longer in desktop-path by default. (Bug#15319)
3472
3473 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3474 now that text mode has a menu with the same entry.
3475 (menu-bar-text-mode-auto-fill): Remove now unused func.
3476 * textmodes/text-mode.el (text-mode-map):
3477 Use auto-fill help text from menu-bar.el.
3478
3479 2013-10-10 John Anthony <john@jo.hnanthony.com>
3480
3481 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3482
3483 2013-10-09 Juri Linkov <juri@jurta.org>
3484
3485 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3486 instead of this-command-keys. Add universal-argument-more and
3487 universal-argument-minus to the list of prefix commands. (Bug#15568)
3488
3489 2013-10-09 Glenn Morris <rgm@gnu.org>
3490
3491 * vc/vc-svn.el (vc-svn-create-repo):
3492 Expand paths in file://... url. (Bug#15446)
3493
3494 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3495 Add some entries.
3496 (authors): Remove unused local variables.
3497
3498 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3499
3500 * profiler.el: Create a more coherent calltree from partial backtraces.
3501 (profiler-format): Hide the tail with `invisible' so that C-s can still
3502 find the hidden elements.
3503 (profiler-calltree-depth): Don't recurse so enthusiastically.
3504 (profiler-function-equal): New hash-table-test.
3505 (profiler-calltree-build-unified): New function.
3506 (profiler-calltree-build): Use it.
3507 (profiler-report-make-name-part): Indent the calltree less.
3508 (profiler-report-mode): Add visibility specs for profiler-format.
3509 (profiler-report-expand-entry, profiler-report-toggle-entry):
3510 Expand the whole subtree when provided with a prefix arg.
3511
3512 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3513
3514 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3515 iuwu-mod token.
3516 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3517 hanging iuwu-mod token.
3518 (ruby-smie--forward-token): Do not include a dot after a token in
3519 that token.
3520 (ruby-smie--backward-token): Likewise.
3521
3522 2013-10-08 Juri Linkov <juri@jurta.org>
3523
3524 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3525 to isearch-other-control-char.
3526 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3527 and isearch-post-command-hook to post-command-hook.
3528 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3529 and isearch-post-command-hook from post-command-hook.
3530 (isearch-unread-key-sequence)
3531 (isearch-reread-key-sequence-naturally)
3532 (isearch-lookup-scroll-key, isearch-other-control-char)
3533 (isearch-other-meta-char): Remove functions.
3534 (isearch-pre-command-hook, isearch-post-command-hook):
3535 New functions based on isearch-other-meta-char rewritten
3536 relying on the new behavior of overriding-terminal-local-map
3537 that does not replace the local keymaps any more. (Bug#15200)
3538
3539 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3540
3541 Support menus on text-mode terminals.
3542 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3543 functionality.
3544
3545 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3546
3547 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3548 Move here from mouse.el.
3549 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3550 and arrow keys.
3551 (tty-menu-navigation-map): New map for TTY menu navigation.
3552
3553 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3554
3555 * frame.el (display-mouse-p): Report text-mode mouse as available
3556 on w32.
3557 (display-popup-menus-p): Report availability if mouse is
3558 available; don't condition on window-system.
3559
3560 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3561 (tty-menu-selected-face): New faces.
3562
3563 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3566 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3567 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3568 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3569 New constants.
3570 (lisp-mode-variables): New `elisp' argument.
3571 (emacs-lisp-mode): Use it.
3572 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3573 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3574
3575 * indent.el: Use lexical-binding.
3576 (indent-region): Add progress reporter.
3577 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3578 last step.
3579 (indent--next-tab-stop): New function to implement this behavior.
3580 (tab-to-tab-stop, move-to-tab-stop): Use it.
3581
3582 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3583
3584 * indent.el (indent-rigidly--current-indentation): New function.
3585 (indent-rigidly-map): New var.
3586 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3587
3588 2013-10-08 Bastien Guerry <bzg@gnu.org>
3589
3590 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3591
3592 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * progmodes/perl-mode.el: Use lexical-binding.
3595 Remove redundant :group args.
3596 (perl-nochange): Change default to be closer to other major modes's
3597 standard behavior.
3598 (perl-indent-line): Don't consider text on current line as a
3599 valid beginning of function from which to indent.
3600
3601 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3602 with more than one argument (bug#15538).
3603
3604 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3605
3606 * vc/pcvs.el: Use lexical-binding.
3607 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3608 environment of `eval'.
3609 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3610 than a list of expressions. Adjust callers.
3611 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3612
3613 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3614
3615 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3616 case of the dot in a chained method call being on the following line.
3617
3618 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * electric.el (electric-indent-inhibit): New var.
3621 (electric-indent-post-self-insert-function): Use it.
3622 * progmodes/python.el (python-mode): Set it.
3623
3624 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3625 open braces.
3626
3627 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3628
3629 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3630 (css-mode): Use electric-indent-chars.
3631
3632 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3633 (font-lock-beg, font-lock-end): Move before first use.
3634 (nxml-mode): Use syntax-propertize-function.
3635 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3636 (nxml-extend-after-change-region): Remove.
3637 * nxml/xmltok.el: Use lexical-binding.
3638 (xmltok-save): Use `declare'.
3639 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3640 * nxml/nxml-util.el: Use lexical-binding.
3641 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3642 Use `declare'.
3643 * nxml/nxml-ns.el: Use lexical-binding.
3644 (nxml-ns-save): Use `declare'.
3645 (nxml-ns-prefixes-for): Avoid add-to-list.
3646 * nxml/rng-match.el: Use lexical-binding.
3647 (rng--ipattern): Use cl-defstruct.
3648 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3649 (rng-cons-group-after, rng-subst-group-after)
3650 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3651 Use closures instead of `(lambda...).
3652
3653 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3654
3655 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3656 of BEG and END.
3657
3658 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3659 Use `tramp-handle-insert-file-contents'.
3660 (tramp-gvfs-handle-insert-file-contents): Remove function.
3661
3662 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3663 Use `save-restriction' in order to keep markers.
3664
3665 * net/trampver.el: Update release number.
3666
3667 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3668
3669 * progmodes/compile.el (compilation-parse-errors):
3670 Use compilation--put-prop.
3671 (compilation--ensure-parse): Check compilation-multiline.
3672
3673 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3674
3675 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3676 lexical-binding.
3677
3678 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3679
3680 * progmodes/ruby-mode.el: Fix recently added tests.
3681 (ruby-smie-grammar): Add - and +.
3682 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3683 (ruby-smie--backward-id): New functions.
3684 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3685 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3686 any more.
3687
3688 2013-10-07 Leo Liu <sdl.web@gmail.com>
3689
3690 * register.el (register-preview-delay)
3691 (register-preview-functions): New variables.
3692 (register-read-with-preview, register-preview)
3693 (register-describe-oneline): New functions.
3694 (point-to-register, window-configuration-to-register)
3695 (frame-configuration-to-register, jump-to-register)
3696 (number-to-register, view-register, insert-register)
3697 (copy-to-register, append-to-register, prepend-to-register)
3698 (copy-rectangle-to-register): Use register-read-with-preview to
3699 read register. (Bug#15525)
3700
3701 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3702
3703 * net/network-stream.el (network-stream-open-starttls): Don't add
3704 --insecure if it's already present, because that gnutls-cli
3705 rejects getting that parameter twice.
3706
3707 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3708
3709 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3710 keyword, too.
3711
3712 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3713
3714 * newcomment.el (comment-use-global-state): Change default value
3715 to t, mark obsolete (Bug#15251).
3716 (comment-beginning): In addition to `comment-to-syntax', check the
3717 value of `comment-use-global-state'.
3718
3719 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3722 (ruby-comment-column): Follow the global default, by default.
3723 (ruby-smie-grammar): Add assignment syntax.
3724 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3725 open-paren, a comma, or a \.
3726 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3727 and line continuations.
3728 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3729 followed by implicit semi-colons. Add rule for string concatenation
3730 and for indentation at BOB.
3731 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3732
3733 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3734 calling next-sexp, since next-token may have skipped chars which
3735 next-sexp doesn't know should be skipped!
3736
3737 2013-10-05 Leo Liu <sdl.web@gmail.com>
3738
3739 * progmodes/octave.el (octave-send-region):
3740 Call compilation-forget-errors.
3741
3742 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3743
3744 * vc/vc-svn.el (vc-svn-find-admin-dir):
3745 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3746 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3747 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3748 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3749
3750 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3753
3754 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * subr.el (read-passwd): Hide chars even when called within a context
3757 where after-change-functions is disabled (bug#15501).
3758 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3759 until we removed ourself from overriding-terminal-local-map.
3760
3761 2013-10-04 Leo Liu <sdl.web@gmail.com>
3762
3763 * progmodes/octave.el (inferior-octave-mode):
3764 Call compilation-forget-errors.
3765
3766 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3767
3768 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3769
3770 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3771
3772 * net/secrets.el (secrets-create-collection): Add optional
3773 argument ALIAS. Use proper Label keyword. Append ALIAS as
3774 dbus-call-method argument. (Bug#15516)
3775
3776 2013-10-04 Leo Liu <sdl.web@gmail.com>
3777
3778 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3779 (inferior-octave-compilation-font-lock-keywords): New variables.
3780 (compilation-error-regexp-alist)
3781 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3782 (inferior-octave-mode): Use compilation-shell-minor-mode.
3783
3784 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3785
3786 * minibuffer.el (completion--replace): Be careful that `end' might be
3787 a marker.
3788
3789 2013-10-03 Daiki Ueno <ueno@gnu.org>
3790
3791 Add support for package signature checking.
3792 * emacs-lisp/package.el (url-http-file-exists-p)
3793 (epg-make-context, epg-context-set-home-directory)
3794 (epg-verify-string, epg-context-result-for)
3795 (epg-signature-status, epg-signature-to-string)
3796 (epg-check-configuration, epg-configuration)
3797 (epg-import-keys-from-file): Declare.
3798 (package-check-signature): New user option.
3799 (package-unsigned-archives): New user option.
3800 (package-desc): Add `signed' field.
3801 (package-load-descriptor): Set `signed' field if .signed file exists.
3802 (package--archive-file-exists-p): New function.
3803 (package--check-signature): New function.
3804 (package-install-from-archive): Check package signature.
3805 (package--download-one-archive): Check archive signature.
3806 (package-delete): Remove .signed file.
3807 (package-import-keyring): New command.
3808 (package-refresh-contents): Import default keyring.
3809 (package-desc-status): Add "unsigned" status.
3810 (describe-package-1, package-menu--print-info)
3811 (package-menu-mark-delete, package-menu--find-upgrades)
3812 (package-menu--status-predicate): Support "unsigned" status.
3813
3814 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3817 the new compilation scheme using the new byte-codes.
3818
3819 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3820 (byte-pophandler): New byte codes.
3821 (byte-goto-ops): Adjust accordingly.
3822 (byte-compile--use-old-handlers): New var.
3823 (byte-compile-catch): Use new byte codes depending on
3824 byte-compile--use-old-handlers.
3825 (byte-compile-condition-case--old): Rename from
3826 byte-compile-condition-case.
3827 (byte-compile-condition-case--new): New function.
3828 (byte-compile-condition-case): New function that dispatches depending
3829 on byte-compile--use-old-handlers.
3830 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3831 when we can.
3832
3833 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3834 Optimize under `condition-case' and `catch' if
3835 byte-compile--use-old-handlers is nil.
3836 (disassemble-offset): Handle new bytecodes.
3837
3838 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * subr.el (error): Use `declare'.
3841 (decode-char, encode-char): Use advertised-calling-convention instead
3842 of the docstring to discourage use of the `restriction' arg.
3843
3844 2013-10-03 Daiki Ueno <ueno@gnu.org>
3845
3846 * epg.el (epg-verify-file): Add a comment saying that it does not
3847 notify verification error as a return value nor a signal.
3848 (epg-verify-string): Ditto.
3849
3850 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3851
3852 * progmodes/compile.el (compilation-start): Try globbing the arg to
3853 `cd' (bug#15417).
3854
3855 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3856
3857 Sync with Tramp 2.2.8.
3858
3859 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3860 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3861 * net/trampver.el: Update release number.
3862
3863 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3864
3865 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3866 and default-process-coding-system for darwin only.
3867
3868 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3869
3870 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3871
3872 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3873
3874 * vc/vc-git.el (vc-git-grep): Disable pager.
3875
3876 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3877
3878 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3879 Use :url instead of :homepage, as per
3880 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3881
3882 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3883 non-nil, use `syntax-ppss' (Bug#15251).
3884
3885 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3886
3887 * progmodes/octave.el (inferior-octave-startup-file):
3888 Prefer ~/.emacs.d/init_octave.m.
3889
3890 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3891
3892 * emacs-lisp/package.el (package-desc-from-define):
3893 Accept additional arguments as plist, convert them to an alist and store
3894 them in the `extras' slot.
3895 (package-generate-description-file): Convert extras alist back to
3896 plist and append to the `define-package' form arguments.
3897 (package--alist-to-plist): New function.
3898 (package--ac-desc): Add `extras' slot.
3899 (package--add-to-archive-contents): Check if the archive-contents
3900 vector is long enough, and if it is, pass its `extras' slot value
3901 to `package-desc-create'.
3902 (package-buffer-info): Call `lm-homepage', pass the returned value
3903 to `package-desc-from-define'.
3904 (describe-package-1): Render the homepage button (Bug#13291).
3905
3906 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3907 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3908
3909 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3910
3911 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3912 and default-process-coding-system to utf-8-unix (Bug#15402).
3913
3914 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3915
3916 * subr.el (looking-back): Do not recommend using looking-back.
3917
3918 2013-09-28 Alan Mackenzie <acm@muc.de>
3919
3920 Fix indentation/fontification of Java enum with "implements".
3921
3922 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3923 regexp which matches "implements", etc., in Java.
3924 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3925 specifier clauses coming after "enum".
3926 * progmodes/cc-fonts.el (c-font-lock-declarations)
3927 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3928 after "enum".
3929
3930 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3931
3932 * faces.el (region): Change ns_selection_color to
3933 ns_selection_fg_color, add ns_selection_bg_color.
3934
3935 2013-09-28 Leo Liu <sdl.web@gmail.com>
3936
3937 * progmodes/octave.el (inferior-octave-completion-table)
3938 (inferior-octave-completion-at-point): Minor tweaks.
3939
3940 * textmodes/ispell.el (ispell-lookup-words): Rename from
3941 lookup-words. (Bug#15460)
3942 (lookup-words): Obsolete.
3943 (ispell-complete-word, ispell-command-loop): All uses changed.
3944
3945 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3946
3947 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3948 (octave-mode-menu): Add octave-send-buffer.
3949 (octave-send-buffer): New function.
3950
3951 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3952
3953 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3954 octave-lookfor.
3955 (octave-mode-menu): Add octave-lookfor.
3956 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3957 octave-lookfor.
3958 (octave-lookfor): New function.
3959
3960 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3961
3962 * emacs-lisp/cl-macs.el:
3963 (cl--loop-destr-temps): Remove.
3964 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3965 its convention.
3966 (cl--loop-set-iterator-function): New function.
3967 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3968 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3969 Bind `it' with `let' instead of substituting it with `cl-subst'.
3970 (cl--unused-var-p): New function.
3971 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3972 Eliminate some unused variable warnings (bug#15326).
3973
3974 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3975
3976 * doc-view.el (doc-view-scale-reset): Rename from
3977 `doc-view-reset-zoom-level'.
3978 (doc-view-scale-adjust): New command.
3979 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3980 `doc-view-scale-adjust'.
3981
3982 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3983
3984 * doc-view.el (doc-view-reset-zoom-level): New command.
3985 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3986 zoom commands (bug#15466).
3987
3988 2013-09-26 Kenichi Handa <handa@gnu.org>
3989
3990 * international/quail.el (quail-help): Make it not a command.
3991
3992 2013-09-26 Leo Liu <sdl.web@gmail.com>
3993
3994 * minibuffer.el (completion-all-sorted-completions): Make args
3995 optional as they are.
3996
3997 2013-09-25 Daniel Colascione <dancol@dancol.org>
3998
3999 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4000 specs are and that they're not evaluated.
4001
4002 2013-09-24 Sam Steingold <sds@gnu.org>
4003
4004 * midnight.el (clean-buffer-list-kill-regexps)
4005 (clean-buffer-list-kill-buffer-names): Update for the new Man
4006 buffer naming which includes the object name.
4007
4008 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4011 (eshell-parse-command, eshell-parse-pipeline): Use it since
4012 eshell-separate-commands requires a dynamic scoped var.
4013 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4014
4015 2013-09-23 Leo Liu <sdl.web@gmail.com>
4016
4017 * autoinsert.el (auto-insert-alist): Make the value of
4018 lexical-binding match its file setting.
4019
4020 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4021
4022 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4023
4024 * autoarg.el (autoarg-kp-digit-argument):
4025 * electric.el (Electric-command-loop):
4026 * kmacro.el (kmacro-step-edit-insert):
4027 Do not set universal-argument-num-events.
4028
4029 2013-09-22 Leo Liu <sdl.web@gmail.com>
4030
4031 * files.el (interpreter-mode-alist): Add octave.
4032
4033 2013-09-21 Alan Mackenzie <acm@muc.de>
4034
4035 C++: fontify identifier in declaration following "public:" correctly.
4036 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4037 to match "public", etc.
4038 (c-decl-prefix-re): Add ":" into the C++ value.
4039 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4040 bit. Add a check for a ":" preceded by "public", etc.
4041
4042 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4043
4044 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4045 recognized by GDB 7.5 and later.
4046
4047 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4048
4049 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4050
4051 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * subr.el (internal--call-interactively): New const.
4054 (called-interactively-p): Use it (bug#3984).
4055
4056 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4057
4058 * vc/pcvs.el (cvs-mode-ignore):
4059 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4060 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4061
4062 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4065 (eshell-ls-orig-insert-directory): Remove.
4066 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4067 (eshell-ls-use-in-dired): Use advice-add/remove.
4068 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4069 Add `orig-fun' arg for use in :around advice.
4070 Make it check (redundantly) eshell-ls-use-in-dired.
4071
4072 2013-09-19 Glenn Morris <rgm@gnu.org>
4073
4074 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4075
4076 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4077
4078 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4079
4080 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4081
4082 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4083 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4084 (tramp-get-remote-python): New defuns.
4085 (tramp-get-remote-uid-with-perl)
4086 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4087 contributed by yary <not.com@gmail.com> (tiny change).
4088 (tramp-get-remote-uid-with-python)
4089 (tramp-get-remote-gid-with-python): New defuns. Python code
4090 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4091 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4092
4093 2013-09-19 Glenn Morris <rgm@gnu.org>
4094
4095 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4096
4097 * eshell/em-unix.el (eshell-remove-entries):
4098 Rename argument to avoid name-clash with global `top-level'.
4099
4100 * eshell/esh-proc.el (eshell-kill-process-function):
4101 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4102 (eshell-reset-after-proc): Remove unused arg `proc'.
4103
4104 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4105 (directory-files-and-attributes): Mark unused arg.
4106
4107 * eshell/em-unix.el (eshell-remove-entries):
4108 Remove unused arg `path'. Update callers.
4109
4110 * eshell/em-hist.el (eshell-hist-parse-arguments):
4111 Remove unused arg `silent'. Update callers.
4112
4113 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4114 Fix (f)boundp mix-up.
4115
4116 * eshell/em-smart.el (eshell-smart-scroll-window)
4117 (eshell-disable-after-change):
4118 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4119
4120 2013-09-18 Alan Mackenzie <acm@muc.de>
4121
4122 Fix fontification of type when followed by "const".
4123 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4124 "known" types from fontification.
4125
4126 2013-09-18 Glenn Morris <rgm@gnu.org>
4127
4128 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4129 (chart-face-list): Drop Emacsen without display-color-p.
4130
4131 * net/eww.el (libxml-parse-html-region): Declare.
4132 (eww-display-html): Explicit error if no libxml2 support.
4133
4134 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4135
4136 * image.el (image-type-from-buffer, image-multi-frame-p):
4137 Remove --without-x warning/error.
4138
4139 * mouse.el (mouse-yank-primary):
4140 * term.el (term-mouse-paste):
4141 Reorder to silence --without-x compilation.
4142
4143 * mpc.el (doc-view-mode): Silence --without-x compilation.
4144
4145 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4146 Silence --without-x compilation.
4147
4148 * progmodes/gud.el (gud-find-file, gud-mode):
4149 Silence --without-x compilation.
4150 (tooltip-mode): Declare.
4151
4152 * wdired.el (dired-backup-overwrite): Remove declaration.
4153 (wdired-mode-map): Add doc string.
4154
4155 * custom.el (x-get-resource): Declare.
4156
4157 * eshell/em-glob.el (ange-cache):
4158 * eshell/em-unix.el (ange-cache): Declare.
4159
4160 * faces.el (x-display-list, x-open-connection, x-get-resource):
4161 Declare.
4162
4163 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4164 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4165 Declare.
4166
4167 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4168
4169 * net/gnutls.el (gnutls-log-level): Declare.
4170
4171 * net/shr.el (image-size, image-animate): Declare.
4172
4173 * simple.el (font-info): Declare.
4174
4175 * subr.el (x-popup-dialog): Declare.
4176
4177 * term/common-win.el (x-select-enable-primary)
4178 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4179 Declare.
4180
4181 * term/ns-win.el (x-handle-args): Declare.
4182
4183 * term/x-win.el (x-select-enable-clipboard): Declare.
4184
4185 * term/w32-win.el (create-default-fontset): Declare.
4186
4187 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4188 Declare.
4189
4190 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4191 (fit-frame-to-buffer): Explicit error if --without-x.
4192 (mouse-autoselect-window-select): Silence compiler.
4193
4194 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4195
4196 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4197 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4198 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4199 * eshell/esh-util.el (eshell-sublist):
4200 Remove unused local variables.
4201
4202 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4203
4204 * textmodes/two-column.el: Make 2C-split work for --without-x.
4205 (scroll-bar-columns): Autoload.
4206 (top-level): Require fringe when compiling.
4207
4208 2013-09-18 Leo Liu <sdl.web@gmail.com>
4209
4210 * subr.el (add-hook): Robustify to handle closure as well.
4211
4212 2013-09-17 Glenn Morris <rgm@gnu.org>
4213
4214 * simple.el (messages-buffer-mode-map): Unbind "g".
4215
4216 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * help-mode.el (help-mode-finish): Use derived-mode-p.
4219 Remove obsolete highlighting.
4220
4221 * play/life.el (life-mode): Use define-derived-mode. Derive from
4222 special-mode.
4223 (life): Let-bind inhibit-read-only.
4224 (life-setup): Avoid `setq'. Use `life-mode'.
4225
4226 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4227 which should not be needed any more.
4228 (package-menu-refresh, package-menu-describe-package): Use user-error.
4229
4230 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4231 (eshell-post-rewrite-command-hook): Make obsolete.
4232 (eshell-parse-command): Simplify.
4233 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4234 (eshell--cmd): Declare.
4235 (eshell-parse-pipeline): Remove unused var `final-p'.
4236 Pass a dynvar to eshell-post-rewrite-command-hook.
4237 Implement the new eshell-post-rewrite-command-function.
4238 (eshell-invoke-directly): Remove unused arg `input'.
4239 * eshell/esh-io.el (eshell-io-initialize):
4240 Use eshell-post-rewrite-command-function (bug#15399).
4241 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4242 adjust to new calling convention.
4243 (eshell-create-handles): Rename args to avoid clashing with dynvar
4244 `standard-output'.
4245
4246 2013-09-17 Glenn Morris <rgm@gnu.org>
4247
4248 * simple.el (messages-buffer-mode): New major mode.
4249 (messages-buffer): New function.
4250 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4251 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4252 (ert-run-test): Use `messages-buffer' function.
4253 (ert--force-message-log-buffer-truncation): Ignore read-only.
4254 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4255 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4256
4257 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4260
4261 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4262
4263 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * icomplete.el (icomplete-in-buffer): New var.
4266 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4267 vars and replace them with functions.
4268 (icomplete-minibuffer-setup): Adjust accordingly.
4269 (icomplete--completion-table, icomplete--completion-predicate)
4270 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4271 New functions.
4272 (icomplete-forward-completions, icomplete-backward-completions)
4273 (icomplete-simple-completing-p, icomplete-exhibit)
4274 (icomplete-completions): Use them.
4275 (icomplete--in-region-buffer): New var.
4276 (icomplete--in-region-setup): New function.
4277 (icomplete-mode): Use it.
4278
4279 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4280 (bug#15379).
4281 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4282 return args and options.
4283 (eshell-eval-using-options): Use the new return value of
4284 eshell--do-opts to set the options's vars in their scope.
4285 (eshell--set-option): Rename from eshell-set-option.
4286 Add arg `opt-vals'.
4287 (eshell--process-option): Rename from eshell-process-option.
4288 Add arg `opt-vals'.
4289 (eshell--process-args): Use an `opt-vals' alist to store the options's
4290 values during their processing and return them additionally to the
4291 remaining args.
4292
4293 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4294
4295 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4296 continuation character an operator, as far as indentation is
4297 concerned (Bug#15369).
4298
4299 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4300
4301 * window.el (window--state-put-2): Don't process buffer state
4302 when buffer doesn't exist any more (Bug#15382).
4303
4304 2013-09-15 Glenn Morris <rgm@gnu.org>
4305
4306 * eshell/em-unix.el (eshell/rm):
4307 Make -f ignore missing files. (Bug#15373)
4308
4309 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4310 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4311 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4312
4313 2013-09-14 Glenn Morris <rgm@gnu.org>
4314
4315 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4316
4317 2013-09-13 Glenn Morris <rgm@gnu.org>
4318
4319 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4320 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4321
4322 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4323
4324 * frame.el (x-focus-frame): Mark as declared in frame.c.
4325
4326 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * ls-lisp.el: Use advice-add.
4329 (original-insert-directory): Remove.
4330 (ls-lisp--insert-directory): Rename from insert-directory; add
4331 `orig-fun' argument.
4332 (insert-directory): Advise.
4333
4334 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4335
4336 * term.el (term-emulate-terminal): Decode the command string
4337 before passing it to term-command-hook. (Bug#15337)
4338
4339 2013-09-13 Glenn Morris <rgm@gnu.org>
4340
4341 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4342
4343 * eshell/esh-ext.el (eshell-search-path): Declare.
4344
4345 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4346 Otherwise an error occurs if eshell-dirs module not loaded.
4347
4348 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4349
4350 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4351
4352 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4353 `tramp-check-proper-host'. Check for a valid method name.
4354
4355 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4356 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4357 * net/tramp-sh.el (tramp-maybe-open-connection):
4358 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4359
4360 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4361 also for hash values.
4362
4363 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * term/ns-win.el (parameters): Don't declare as dynamic.
4366 (before-make-frame-hook): Don't add ineffective function.
4367
4368 * eshell/*.el: Use lexical-binding (bug#15231).
4369
4370 2013-09-12 Kenichi Handa <handa@gnu.org>
4371
4372 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4373
4374 2013-09-12 Glenn Morris <rgm@gnu.org>
4375
4376 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4377 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4378
4379 * subr.el (do-after-load-evaluation): Also give compiler warnings
4380 when obsolete files are used (except by obsolete files).
4381
4382 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4383 in the status output, assume `filename' is the first. (Bug#15322)
4384
4385 * vc/vc.el (vc-deduce-fileset): Doc fix.
4386
4387 * calc/calc-help.el (Info-goto-node):
4388 * progmodes/cperl-mode.el (Info-find-node):
4389 * vc/ediff.el (Info-goto-node): Update declarations.
4390
4391 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4392
4393 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4394 (vc-bzr-pull): Require vc-dispatcher.
4395 * vc/vc-git.el (vc-compilation-mode): Declare.
4396 (vc-git-pull): Require vc-dispatcher.
4397
4398 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4399
4400 * progmodes/octave.el (help-button-action): Declare.
4401
4402 * shell.el (shell-directory-tracker): Output error as a message
4403 rather than just returning it as a string.
4404 (shell-process-pushd): Remove useless use of message.
4405
4406 * dframe.el (dframe-timer-fn):
4407 * files.el (dir-locals-read-from-file):
4408 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4409 (mpc-format):
4410 * reveal.el (reveal-post-command):
4411 * saveplace.el (load-save-place-alist-from-file):
4412 * shell.el (shell-resync-dirs):
4413 * w32-common-fns.el (x-get-selection-value):
4414 * emacs-lisp/copyright.el (copyright-find-copyright):
4415 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4416 * emulation/tpu-edt.el (tpu-copy-keyfile):
4417 * play/bubbles.el (bubbles--mark-neighbourhood):
4418 * progmodes/executable.el
4419 (executable-make-buffer-file-executable-if-script-p):
4420 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4421
4422 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 Cleanup Eshell to rely less on dynamic scoping.
4425 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4426 last-value, and ext-command here. Bind `args' closer to `body'.
4427 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4428 (eshell--args): Declare new dynamic var.
4429 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4430 last-value, and ext-command. Pass `args' to `body'.
4431 (eshell-process-args): Bind eshell--args.
4432 (eshell-set-option): Use eshell--args.
4433 * eshell/eshell.el (eshell): Use derived-mode-p.
4434 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4435 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4436 (eshell-glob-function): Declare.
4437 * eshell/esh-util.el: Require cl-lib.
4438 (eshell-read-hosts-file): Avoid add-to-list.
4439 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4440 `err'.
4441 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4442 Declare.
4443 (eshell/diff): Remove unused var `err'.
4444 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4445 `killflag'.
4446 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4447 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4448 first use.
4449 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4450 Move declaration before first use.
4451 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4452 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4453 rely on cl-return.
4454
4455 2013-09-12 Glenn Morris <rgm@gnu.org>
4456
4457 * term/ns-win.el (global-map): Remove binding for ispell-next,
4458 deleted 1999-05-29. (Bug#15357)
4459
4460 2013-09-11 Glenn Morris <rgm@gnu.org>
4461
4462 * echistory.el (electric-command-history): Remove call to deleted func.
4463
4464 * play/landmark.el (landmark-mode): Fix typos.
4465
4466 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4467 Check cvs-sort-ignore-file is bound.
4468
4469 * savehist.el: No need for cl when compiling on Emacs.
4470
4471 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4472
4473 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4474 (bug#15338).
4475 (eshell-self-insert-command, eshell-send-invisible):
4476 Remove unused argument.
4477 (eshell-handle-control-codes): Remove unused var `orig'.
4478 Avoid delete-backward-char.
4479
4480 * files.el (set-auto-mode): Simplify a bit further.
4481
4482 2013-09-11 Glenn Morris <rgm@gnu.org>
4483
4484 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4485 (set-auto-mode): Don't regexp-quote elements.
4486 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4487 * progmodes/cc-mode.el (interpreter-mode-alist):
4488 * progmodes/ruby-mode.el (interpreter-mode-alist):
4489 Revert previous change.
4490
4491 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * play/snake.el (snake-mode):
4494 * play/mpuz.el (mpuz-mode):
4495 * play/landmark.el (lm-mode):
4496 * play/blackbox.el (blackbox-mode):
4497 * play/5x5.el (5x5-mode):
4498 * obsolete/options.el (Edit-options-mode):
4499 * net/quickurl.el (quickurl-list-mode):
4500 * net/newst-treeview.el (newsticker-treeview-mode):
4501 * mail/rmailsum.el (rmail-summary-mode):
4502 * mail/mspools.el (mspools-mode):
4503 * locate.el (locate-mode):
4504 * ibuffer.el (ibuffer-mode):
4505 * emulation/ws-mode.el (wordstar-mode):
4506 * emacs-lisp/debug.el (debugger-mode):
4507 * array.el (array-mode):
4508 * net/eudc.el (eudc-mode): Use define-derived-mode.
4509 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4510 Move initialization into declaration.
4511 (mairix-searches-mode): Use define-derived-mode.
4512 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4513 (eudc-edit-hotlist): Use dolist.
4514 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4515 (Man-mode): Use define-derived-mode.
4516 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4517 (Info-edit-mode): Use define-derived-mode.
4518 (Info-cease-edit): Use Info-mode.
4519 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4520 into declaration.
4521 (eshell-mode): Use define-derived-mode.
4522 * chistory.el (command-history-mode-map): Rename from
4523 command-history-map.
4524 (command-history-mode): Use define-derived-mode.
4525 (Command-history-setup): Remove function.
4526 * calc/calc.el (calc-trail-mode-map): New var.
4527 (calc-trail-mode): Use define-derived-mode.
4528 (calc-trail-buffer): Set calc-main-buffer manually.
4529 * bookmark.el (bookmark-insert-annotation): New function.
4530 (bookmark-edit-annotation): Use it.
4531 (bookmark-edit-annotation-mode): Make it a proper major mode.
4532 (bookmark-send-edited-annotation): Use derived-mode-p.
4533 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4534 closer to its ideal place. Use \' to match EOS.
4535
4536 * profiler.el (profiler-calltree-find): Use function-equal.
4537
4538 2013-09-10 Glenn Morris <rgm@gnu.org>
4539
4540 * files.el (interpreter-mode-alist): Convert to regexps.
4541 (set-auto-mode): Adapt for this. (Bug#15306)
4542 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4543 Comment out unused variable.
4544 * progmodes/cc-mode.el (interpreter-mode-alist):
4545 * progmodes/python.el (interpreter-mode-alist):
4546 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4547 * progmodes/sh-script.el (sh-set-shell):
4548 No longer use interpreter-mode-alist to get list of shells.
4549
4550 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4551
4552 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * simple.el: Use set-temporary-overlay-map for universal-argument.
4555 (universal-argument-map): Don't use default-bindings (bug#15317).
4556 Bind switch-frame explicitly. Replace universal-argument-minus with
4557 a conditional binding.
4558 (universal-argument-num-events, saved-overriding-map): Remove.
4559 (restore-overriding-map): Remove.
4560 (universal-argument--mode): Rename from save&set-overriding-map,
4561 and rewrite.
4562 (universal-argument, universal-argument-more, negative-argument)
4563 (digit-argument): Adjust accordingly.
4564 (universal-argument-minus): Remove.
4565 (universal-argument-other-key): Remove.
4566
4567 * subr.el (with-demoted-errors): Add `format' argument.
4568
4569 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4570
4571 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4572 `tramp-cleanup-connection'.
4573
4574 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4575 parameters KEEP-DEBUG and KEEP-PASSWORD.
4576
4577 * net/tramp.el (tramp-file-name-handler):
4578 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4579 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4580 (tramp-maybe-open-connection):
4581 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4582 Use `tramp-cleanup-connection'.
4583
4584 * net/tramp-sh.el (tramp-maybe-open-connection):
4585 Catch 'uname-changed inside the progress reporter.
4586
4587 2013-09-10 Glenn Morris <rgm@gnu.org>
4588
4589 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4590
4591 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4592 returns "alternate access method" in mode (eg "-rw-r--r--.").
4593
4594 2013-09-08 Glenn Morris <rgm@gnu.org>
4595
4596 * saveplace.el (load-save-place-alist-from-file):
4597 Demote errors. (Bug#15305)
4598
4599 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4600
4601 Improve compatibility with older Emacsen, and XEmacs.
4602
4603 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4604 only if it is bound. It isn't for XEmacs.
4605 (with-tramp-progress-reporter): Do not let-bind `result'.
4606 This yields to scoping errors in XEmacs.
4607 (tramp-handle-make-auto-save-file-name): New function, moved from
4608 tramp-sh.el.
4609
4610 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4611 for `make-auto-save-file-name'.
4612 (tramp-adb--gnu-switches-to-ash):
4613 Use `tramp-compat-replace-regexp-in-string'.
4614
4615 * net/tramp-cache.el (tramp-cache-print): Call
4616 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4617
4618 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4619 bound. It isn't for XEmacs.
4620
4621 * net/tramp-compat.el (tramp-compat-copy-file):
4622 Catch `wrong-number-of-arguments' error.
4623 (tramp-compat-replace-regexp-in-string): New defun.
4624
4625 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4626 for `make-auto-save-file-name'.
4627 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4628 `copy-file'.
4629 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4630 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4631 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4632
4633 * net/tramp-gw.el (tramp-gw-open-network-stream):
4634 Use `tramp-compat-replace-regexp-in-string'.
4635
4636 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4637 Call `tramp-handle-make-auto-save-file-name'.
4638 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4639 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4640 (tramp-sh-file-inotifywait-process-filter):
4641 Use `tramp-compat-replace-regexp-in-string'.
4642 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4643
4644 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4645 for `make-auto-save-file-name'.
4646 (tramp-smb-handle-copy-directory):
4647 Call `tramp-compat-replace-regexp-in-string'.
4648 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4649 (tramp-smb-handle-copy-file): Improve error message.
4650 (tramp-smb-handle-rename-file): Rename directly only in case
4651 `newname' does not exist yet. This is a restriction of smbclient.
4652 (tramp-smb-maybe-open-connection): Rerun the function only when
4653 `auth-sources' is non-nil.
4654
4655 2013-09-08 Kenichi Handa <handa@gnu.org>
4656
4657 * international/characters.el: Set category "^" (Combining) for
4658 more characters.
4659
4660 2013-09-07 Alan Mackenzie <acm@muc.de>
4661
4662 Correctly fontify Java class constructors.
4663 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4664 in Java Mode.
4665 (c-recognize-typeless-decls): Set the Java value to t.
4666 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4667 While handling a "(", add a check for, effectively, Java, and handle a
4668 "typeless" declaration there.
4669
4670 2013-09-07 Roland Winkler <winkler@gnu.org>
4671
4672 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4673 field subtitle for entry type book.
4674
4675 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * minibuffer.el: Make minibuffer-complete call completion-in-region
4678 rather than other way around.
4679 (completion--some, completion-pcm--find-all-completions):
4680 Don't delay signals when debugging.
4681 (minibuffer-completion-contents): Beware fields within the
4682 minibuffer contents.
4683 (completion-all-sorted-completions): Use defvar-local.
4684 (completion--do-completion, completion--cache-all-sorted-completions)
4685 (completion-all-sorted-completions, minibuffer-force-complete):
4686 Add args `beg' and `end'.
4687 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4688 (minibuffer-complete): Use completion-in-region.
4689 (completion-complete-and-exit): New fun, extracted from
4690 minibuffer-complete-and-exit.
4691 (minibuffer-complete-and-exit): Use it.
4692 (completion--complete-and-exit): Rename from
4693 minibuffer--complete-and-exit.
4694 (completion-in-region--single-word): New function, extracted from
4695 minibuffer-complete-word.
4696 (minibuffer-complete-word): Use it.
4697 (display-completion-list): Make `common-substring' argument obsolete.
4698 (completion--in-region): Call completion--in-region-1 instead of
4699 minibuffer-complete.
4700 (completion-help-at-point): Pass boundaries to
4701 minibuffer-completion-help as args rather than via an overlay.
4702 (completion-pcm--string->pattern): Use `any-delim'.
4703 (completion-pcm--optimize-pattern): New function.
4704 (completion-pcm--pattern->regex): Handle `any-delim'.
4705 * icomplete.el (icomplete-forward-completions)
4706 (icomplete-backward-completions, icomplete-completions):
4707 Adjust calls to completion-all-sorted-completions and
4708 completion--cache-all-sorted-completions.
4709 (icomplete-with-completion-tables): Default to t.
4710 * emacs-lisp/crm.el (crm--current-element): Rename from
4711 crm--select-current-element. Don't put an overlay but return the
4712 boundaries instead.
4713 (crm--completion-command): Take two new args to bind to the boundaries.
4714 (crm-completion-help): Adjust accordingly.
4715 (crm-complete): Use completion-in-region.
4716 (crm-complete-word): Use completion-in-region--single-word.
4717 (crm-complete-and-exit): Use completion-complete-and-exit.
4718
4719 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4722 than dynamically.
4723
4724 2013-09-06 Juri Linkov <juri@jurta.org>
4725
4726 * info.el (Info-display-images-node): When image file doesn't exist
4727 display text version of the image if it's provided in the Info file.
4728 Otherwise, display the location of missing image from SRC attribute.
4729 Add help-echo text property from ALT attribute. (Bug#15279)
4730
4731 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4734 (edit-abbrevs-mode): Use define-derived-mode.
4735
4736 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4737 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4738 that it's defined.
4739 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4740 Use define-derived-mode.
4741
4742 * epg.el (epg-start-encrypt): Minor CSE simplification.
4743
4744 2013-09-06 William Xu <william.xwl@gmail.com>
4745
4746 * arc-mode.el: Add support for 7za (bug#15264).
4747 (archive-7z-program): New var.
4748 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4749 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4750 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4751
4752 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4753
4754 Remove URL syntax.
4755
4756 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4757 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4758 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4759 (tramp-postfix-host-format, tramp-file-name-regexp)
4760 (tramp-completion-file-name-regexp)
4761 (tramp-completion-dissect-file-name)
4762 (tramp-handle-substitute-in-file-name): Remove 'url case.
4763 (tramp-file-name-regexp-url)
4764 (tramp-completion-file-name-regexp-url): Remove constants.
4765
4766 2013-09-06 Glenn Morris <rgm@gnu.org>
4767
4768 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4769
4770 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4771
4772 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4773 keywords" below "here-doc beginnings" (Bug#15270).
4774
4775 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * subr.el (pop): Use `car-safe'.
4778 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4779 to detect unused `pop' return value.
4780
4781 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4782 var `block-regexp'.
4783 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4784 (python-fill-string): Remove unused var `marker'.
4785 (python-skeleton-add-menu-items): Remove unused var `items'.
4786
4787 * international/mule-cmds.el: Require CL.
4788 (find-coding-systems-for-charsets): Avoid add-to-list.
4789 (sanitize-coding-system-list): New function, extracted from
4790 select-safe-coding-system-interactively.
4791 (select-safe-coding-system-interactively): Use it.
4792 (read-input-method-name): Accept symbols for `default'.
4793
4794 * emacs-lisp/advice.el (defadvice): Add indent rule.
4795
4796 2013-09-05 Daniel Hackney <dan@haxney.org>
4797
4798 * dired-x.el:
4799 * net/ange-ftp.el:
4800 * net/browse-url.el:
4801 * net/dbus.el:
4802 * net/eudc.el:
4803 * net/eudcb-ldap.el:
4804 * net/eww.el:
4805 * net/imap.el:
4806 * printing.el:
4807 * vc/ediff-diff.el:
4808 * vc/ediff-init.el:
4809 * vc/ediff-merg.el:
4810 * vc/ediff-mult.el:
4811 * vc/ediff-util.el:
4812 * vc/ediff-wind.el:
4813 * vc/ediff.el:
4814 * vc/emerge.el:
4815 * vc/pcvs.el:
4816 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4817 byte compiler. Remove some unused let-bound variables.
4818
4819 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4822 a "ref-cell", since it gets better optimized (bug#14883).
4823
4824 2013-09-05 Glenn Morris <rgm@gnu.org>
4825
4826 * progmodes/cc-awk.el (c-forward-sws): Declare.
4827
4828 2013-09-04 Glenn Morris <rgm@gnu.org>
4829
4830 * generic-x.el [rul-generic-mode]: Require cc-mode.
4831 (c++-mode-syntax-table): Declare.
4832 (rul-generic-mode-syntax-table): Init in the defvar.
4833
4834 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4837 (vc-do-command, vc-set-async-update):
4838 * vc/vc-mtn.el (vc-mtn-dir-status):
4839 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4840 (vc-hg-pull, vc-hg-merge-branch):
4841 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4842 (vc-git-merge-branch):
4843 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4844 (vc-cvs-dir-status-files):
4845 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4846 (vc-bzr-dir-status-files):
4847 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4848 * vc/vc-annotate.el: Use lexical-binding.
4849 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4850 (vc-sentinel-movepoint): Declare.
4851 (vc-annotate): Don't use `goto-line'.
4852 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4853 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4854 (vc-sentinel-movepoint): Declare.
4855 * vc/vc-svn.el: Use lexical-binding.
4856 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4857 * vc/vc-sccs.el:
4858 * vc/vc-rcs.el: Use lexical-binding.
4859
4860 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4861 `deleted'. Don't drop errors silently.
4862
4863 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4864
4865 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4866
4867 * vc/vc.el (vc-ignore): Rewrite.
4868 (vc-default-ignore): New function.
4869 (vc-default-ignore-completion-table): Use find-ignore-file.
4870
4871 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4872 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4873 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4874 Remove. Most code moved to vc.el.
4875
4876 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4879 * net/tramp-smb.el (tramp-smb-get-file-entries):
4880 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4881 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4882
4883 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4884 Update call to it.
4885 (eww-change-select): Remove unused var `properties'.
4886 (eww-make-unique-file-name): Remove unused var `base'.
4887
4888 * finder.el (finder-compile-keywords): Don't mess with windows.
4889
4890 * calculator.el (calculator-funcall): Fix typo in last change.
4891
4892 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4893
4894 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4895 <pkg>-autoloads.el file stop us.
4896
4897 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4898 warnings, and factor out common code.
4899
4900 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4901
4902 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4903 two-character operators and whether the character preceding them
4904 changes their meaning (Bug#15208).
4905
4906 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4907
4908 Format code sent to Python shell for robustness.
4909 * progmodes/python.el (python-shell-buffer-substring):
4910 New function.
4911 (python-shell-send-region, python-shell-send-buffer): Use it.
4912
4913 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4914
4915 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4916 * net/tramp.el (tramp-user-error): ... here.
4917 (tramp-find-method, tramp-check-proper-host)
4918 (tramp-dissect-file-name, tramp-debug-message)
4919 (tramp-handle-shell-command):
4920 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4921 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4922
4923 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4924
4925 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4926
4927 * avoid.el (mouse-avoidance-point-position)
4928 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4929 returns nil.
4930
4931 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4932
4933 * progmodes/python.el (python-shell-completion-get-completions):
4934 Drop use of deleted `comint-last-prompt-overlay'.
4935 (python-nav-if-name-main): New command.
4936
4937 2013-09-01 Glenn Morris <rgm@gnu.org>
4938
4939 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4940 Avoid leading space in $wins. Otherwise the sed command used by
4941 eg compile-main ends up containing "/*.el". (Bug#15170)
4942
4943 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4944
4945 2013-08-30 Glenn Morris <rgm@gnu.org>
4946
4947 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4948 Fix is-this-a-directory logic. (Bug#15220)
4949
4950 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * textmodes/css-mode.el: Use SMIE.
4953 (css-smie-grammar): New var.
4954 (css-smie--forward-token, css-smie--backward-token)
4955 (css-smie-rules): New functions.
4956 (css-mode): Use them.
4957 (css-navigation-syntax-table): Remove var.
4958 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4959 (css-indent-calculate, css-indent-line): Remove functions.
4960
4961 Misc changes to reduce use of `(lambda...); and other cleanups.
4962 * cus-edit.el: Use lexical-binding.
4963 (customize-push-and-save, customize-apropos)
4964 (custom-buffer-create-internal): Use closures.
4965 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4966 * progmodes/ada-xref.el: Use setq.
4967 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4968 * dframe.el: Use lexical-binding.
4969 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4970 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4971 * descr-text.el: Use lexical-binding.
4972 (describe-text-widget, describe-text-sexp, describe-property-list):
4973 Use closures.
4974 * comint.el (comint-history-isearch-push-state): Use a closure.
4975 * calculator.el: Use lexical-binding.
4976 (calculator-number-to-string): Make it work with lexical-binding.
4977 (calculator-funcall): Same and use cl-letf.
4978
4979 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4980 (lisp--company-doc-string, lisp--company-location): New functions.
4981 (lisp-completion-at-point): Use them to improve Company support.
4982
4983 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4984 params of lambda expressions.
4985 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4986 (ruby-smie--opening-pipe-p): New function.
4987 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4988 symbols and matched |...| for formal params.
4989 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4990 from being treated as hanging. Handle "rescue".
4991
4992 2013-08-29 Glenn Morris <rgm@gnu.org>
4993
4994 * progmodes/cc-engine.el (c-pull-open-brace):
4995 Move definition before use.
4996
4997 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5000 are immutable. Don't use `unsafe' any more.
5001 (cl--defsubst-expand): Don't substitute at the same time as keeping
5002 a residual unused let-binding. Don't use `unsafe' any more.
5003
5004 2013-08-29 Glenn Morris <rgm@gnu.org>
5005
5006 * calendar/cal-china.el (calendar-chinese-year-cache):
5007 Recenter on 2015.
5008
5009 * nxml/nxml-util.el (nxml-debug-clear-inside):
5010 Use cl-loop rather than loop.
5011
5012 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5013
5014 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5015
5016 2013-08-28 Glenn Morris <rgm@gnu.org>
5017
5018 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5019
5020 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5021
5022 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5023
5024 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * simple.el (repeat-complex-command--called-interactively-skip):
5027 New function.
5028 (repeat-complex-command): Use it (bug#14136).
5029
5030 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5031 (c-define-abbrev-table): Add `doc' argument.
5032 (c-mode-abbrev-table, c++-mode-abbrev-table)
5033 (objc-mode-abbrev-table, java-mode-abbrev-table)
5034 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5035 (awk-mode-abbrev-table): Use it.
5036 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5037 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5038 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5039 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5040 Move initialization into the declaration; and remove any
5041 autoload cookie.
5042
5043 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5044 and dynamic let binding.
5045
5046 * vc/smerge-mode.el: Remove redundant :group args.
5047
5048 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5049 to load-path.
5050
5051 2013-08-28 Juri Linkov <juri@jurta.org>
5052
5053 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5054 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5055 (isearch-other-meta-char): Handle an undefined shifted printing
5056 character by downshifting it. (Bug#15200)
5057
5058 2013-08-28 Juri Linkov <juri@jurta.org>
5059
5060 * isearch.el (isearch-search): Change regexp error message for
5061 non-regexp searches. (Bug#15166)
5062
5063 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5064
5065 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5066 for portability to hosts where /bin/sh has problems.
5067
5068 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5071
5072 2013-08-27 Juri Linkov <juri@jurta.org>
5073
5074 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5075 in the keyboard macro. (Bug#15126)
5076
5077 2013-08-27 Juri Linkov <juri@jurta.org>
5078
5079 * isearch.el (isearch-quote-char): Comment out converting unibyte
5080 to multibyte, thus syncing with its `quoted-insert' counterpart.
5081 (Bug#15166)
5082
5083 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5084
5085 * window.el (display-buffer-use-some-window): Add missing
5086 argument in call of get-largest-window (Bug#15185).
5087 Reported by Stephen Leake.
5088
5089 2013-08-27 Glenn Morris <rgm@gnu.org>
5090
5091 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5092
5093 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5094
5095 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5096 from a matcher-function unless there's no more matches (bug#15161).
5097
5098 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5099
5100 * minibuffer.el: Revert change from 2013-08-20.
5101
5102 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5103 with text property `tramp-default', if appropriate.
5104 (tramp-check-proper-host): New defun.
5105 (tramp-dissect-file-name): Do not check hostname. Revert change
5106 of 2013-03-18.
5107 (tramp-backtrace): Make VEC-OR-PROC optional.
5108
5109 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5110 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5111 * net/tramp-sh.el (tramp-maybe-open-connection):
5112 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5113 Apply `tramp-check-proper-host'.
5114
5115 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5116
5117 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5118 lambda expression in order to have `describe-variable' display it.
5119
5120 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5121
5122 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5123 BUF can be optional. (Bug#15186)
5124
5125 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5126
5127 * progmodes/flymake.el (flymake-get-real-file-name-function):
5128 Fix broken customization. (Bug#15184)
5129
5130 2013-08-25 Alan Mackenzie <acm@muc.de>
5131
5132 Improve indentation of bracelists defined by macros (without "=").
5133
5134 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5135 expansion begins with "{", regard it as bracelist when it doesn't
5136 contain a ";".
5137
5138 Parse C++ inher-intro when there's a template split over 2 lines.
5139
5140 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5141 rigorously the search for "class" etc. followed by ":".
5142
5143 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5144 random languages a regexp which never matches rather than nil.
5145
5146 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5147
5148 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5149 (c-awk-regexp-one-line-possibly-open-char-list-re)
5150 (c-awk-one-line-possibly-open-regexp-re)
5151 (c-awk-one-line-non-syn-ws*-re): Remove.
5152 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5153 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5154 (c-awk-space*-unclosed-regexp-/-re): New constants.
5155 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5156 aren't regexp delimiters.
5157
5158 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5159 handling for a rare situation in AWK Mode involving unterminated
5160 strings/regexps.
5161
5162 2013-08-23 Glenn Morris <rgm@gnu.org>
5163
5164 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5165
5166 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5167
5168 * files.el (create-file-buffer): If the result would begin with
5169 spaces, prepend a "|" instead of removing them. (Bug#15162)
5170
5171 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5174 text-properties (bug#15155).
5175
5176 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5177 exist any more.
5178 (calc-keypad-redraw): Remove unused var `pad'.
5179 (calc-keypad-press): Remove unused var `menu'.
5180
5181 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5182
5183 * window.el (display-buffer-pop-up-frame):
5184 Call pop-up-frame-function with BUFFER current so `make-frame' will
5185 use it as the new frame's buffer (Bug#15133).
5186
5187 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * calendar/timeclock.el: Minor cleanups.
5190 (timeclock-ask-before-exiting, timeclock-use-display-time):
5191 Use `symbol'.
5192 (timeclock-modeline-display): Define as alias before the
5193 actual definition.
5194 (timeclock-mode-line-display): Use define-minor-mode.
5195 (timeclock-day-list-template): Make it a function, add an argument.
5196 (timeclock-day-list-required, timeclock-day-list-length)
5197 (timeclock-day-list-debt, timeclock-day-list-span)
5198 (timeclock-day-list-break): Adjust calls accordingly.
5199
5200 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5201
5202 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5203 Use read--expression so that completion works again.
5204
5205 2013-08-21 Sam Steingold <sds@gnu.org>
5206
5207 Add rudimentary inferior shell interaction
5208 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5209 (sh-set-shell): Reset it.
5210 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5211 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5212
5213 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5214
5215 * align.el: Use lexical-binding.
5216 (align-region): Simplify accordingly.
5217
5218 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5219
5220 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5221
5222 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5223 `non-essential' up.
5224
5225 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5226
5227 * net/tramp.el:
5228 * net/tramp-adb.el:
5229 * net/tramp-cmds.el:
5230 * net/tramp-ftp.el:
5231 * net/tramp-gvfs.el:
5232 * net/tramp-gw.el:
5233 * net/tramp-sh.el: Don't wrap external variable declarations by
5234 `eval-when-compile'.
5235
5236 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5237
5238 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5239 now that Emacs supports ImageMagick animations.
5240
5241 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5242
5243 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5244 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5245
5246 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5247
5248 * window.el (mouse-autoselect-window-select): Do autoselect when
5249 mouse pointer is on margin.
5250
5251 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5252
5253 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5254
5255 2013-08-16 Glenn Morris <rgm@gnu.org>
5256
5257 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5258 Handle "Remote Directory" response of some clients. (Bug#15058)
5259
5260 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5261 Tweak warning. (Bug#14926)
5262
5263 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5264 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5265
5266 * image-mode.el (image-mode-map): Add menu items to reverse,
5267 increase, decrease, reset animation speed.
5268 (image--set-speed, image-increase-speed, image-decrease-speed)
5269 (image-reverse-speed, image-reset-speed): New functions.
5270 (image-mode-map): Add bindings for speed commands.
5271
5272 * image.el (image-animate-get-speed, image-animate-set-speed):
5273 New functions.
5274 (image-animate-timeout): Respect image :speed property.
5275
5276 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5279 previous line (bug#15101).
5280 (debugger-eval-expression, debugger-record-expression):
5281 Use read--expression (bug#15102).
5282
5283 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5284
5285 Remove byte compiler warnings, visible when compiling with
5286 `byte-compile-force-lexical-warnings' set to t.
5287
5288 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5289 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5290 (tramp-handle-unhandled-file-name-directory)
5291 (tramp-handle-file-notify-add-watch, tramp-action-login)
5292 (tramp-action-succeed, tramp-action-permission-denied)
5293 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5294 arguments with "_".
5295
5296 * net/tramp-adb.el (tramp-adb-parse-device-names)
5297 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5298 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5299 (tramp-adb-handle-file-truename): Remove unused arguments.
5300
5301 * net/tramp-cache.el (tramp-flush-directory-property)
5302 (tramp-flush-connection-property, tramp-list-connections)
5303 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5304
5305 * net/tramp-compat.el (tramp-compat-make-temp-file):
5306 Rename FILENAME to F.
5307
5308 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5309 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5310 (tramp-zeroconf-parse-workstation-device-names)
5311 (tramp-zeroconf-parse-webdav-device-names)
5312 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5313
5314 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5315 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5316
5317 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5318 arguments.
5319 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5320 (tramp-sh-handle-insert-file-contents-literally)
5321 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5322 with "_".
5323 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5324 Remove unused variables.
5325
5326 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5327 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5328 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5329
5330 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5331 Make them a defconst.
5332 (tramp-uuencode-region): Remove unused variable.
5333
5334 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5335
5336 * frameset.el (frameset--prop-setter): New function.
5337 (frameset-prop): Add gv-setter declaration.
5338 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5339 parameter was already set in FILTERED. Doc fix.
5340 (frameset--record-minibuffer-relationships): Allow saving a
5341 minibufferless frame without its corresponding minibuffer frame.
5342 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5343 frame, if the frame id matches.
5344 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5345 frames before orphaned ones.
5346 (frameset-restore): Warn about orphaned windows, instead of error out.
5347
5348 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5349
5350 * window.el (window-make-atom): Don't overwrite parameter
5351 already present.
5352 (display-buffer-in-atom-window): Handle special case where we
5353 split an already atomic window.
5354 (window--major-non-side-window, display-buffer-in-side-window)
5355 (window--side-check): Ignore minibuffer window when walking
5356 window tree.
5357 (window-deletable-p): Return 'frame only if no other frame uses
5358 our minibuffer window.
5359 (record-window-buffer): Run buffer-list-update-hook.
5360 (split-window): Make sure window--check-frame won't destroy an
5361 existing atomic window in case the new window gets nested
5362 inside.
5363 (display-buffer-at-bottom): Ignore minibuffer window when
5364 walking window tree. Don't split a side window.
5365 (pop-to-buffer): Don't set-buffer here, the select-window call
5366 should do that.
5367 (mouse-autoselect-window-select): Autoselect only if we are in the
5368 text portion of the window.
5369
5370 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5371
5372 * net/shr.el (shr-parse-image-data): New function to grab both the
5373 data itself and the Content-Type.
5374 (shr-put-image): Use it.
5375
5376 * net/eww.el (eww-display-image): Ditto.
5377
5378 * image.el (image-content-type-suffixes): New variable.
5379
5380 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5381
5382 * progmodes/python.el (python-imenu--build-tree)
5383 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5384
5385 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5386
5387 * simple.el (backward-word): Mention the optional argument.
5388
5389 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * frameset.el (frameset--make): Rename constructor from make-frameset.
5392 (frameset-p, frameset-valid-p): Don't autoload.
5393 (frameset-valid-p): Use normal accessors.
5394
5395 2013-08-13 Glenn Morris <rgm@gnu.org>
5396
5397 * progmodes/compile.el (compile-command): Tweak example in doc.
5398 * obsolete/scribe.el (scribe-mode):
5399 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5400
5401 * mail/feedmail.el (feedmail-confirm-outgoing)
5402 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5403
5404 * cus-start.el (truncate-partial-width-windows): Fix type.
5405
5406 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5407
5408 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5409
5410 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * emacs-lisp/timer.el (timer--time-setter): New function.
5413 (timer--time): Use it as gv-setter.
5414
5415 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5416 setter is not a symbol.
5417
5418 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5419
5420 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5421 if sending fails. This makes debugging easier.
5422
5423 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5424
5425 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5426 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5427 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5428
5429 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5430
5431 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5432
5433 2013-08-12 Glenn Morris <rgm@gnu.org>
5434
5435 * format.el (format-annotate-function):
5436 Handle read-only text properties in the source. (Bug#14887)
5437
5438 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5439
5440 * net/eww.el (eww-display-html): Ignore coding system errors.
5441 One web site uses "utf-8lias" as the coding system.
5442
5443 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5444
5445 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5446
5447 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5448
5449 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5450 (tutorial--detailed-help): Remove unused local variables.
5451 (tutorial--save-tutorial-to): Use ignore-errors.
5452 (help-with-tutorial): Use looking-at-p.
5453
5454 * view.el (view-buffer-other-window, view-buffer-other-frame):
5455 Mark unused arguments.
5456
5457 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5458 (woman-select-symbol-fonts, woman, woman-find-file)
5459 (woman-insert-file-contents, woman-non-underline-faces):
5460 Use string-match-p.
5461 (woman1-unquote): Move declaration.
5462
5463 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5464 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5465 argument. Remove unused local variable.
5466 (xml-parse-elem-type): Use string-match-p.
5467 (xml-substitute-numeric-entities): Use ignore-errors.
5468
5469 * calculator.el (calculator): Mark unused argument.
5470 (calculator-paste, calculator-quit, calculator-integer-p):
5471 Use ignore-errors.
5472 (calculator-string-to-number, calculator-decimal, calculator-exp)
5473 (calculator-op-or-exp): Use string-match-p.
5474
5475 * dired.el (dired-buffer-more-recently-used-p): Declare.
5476 (dired-insert-set-properties, dired-insert-old-subdirs):
5477 Use ignore-errors.
5478
5479 * dired-aux.el (dired-compress): Use ignore-errors.
5480 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5481 (dired-do-async-shell-command, dired-do-shell-command)
5482 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5483 (dired-insert-subdir-validate): Use string-match-p.
5484 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5485 (dired-add-entry): Use string-match-p, looking-at-p.
5486 (dired-insert-subdir-newpos): Remove unused local variable.
5487
5488 * filenotify.el (file-notify-callback): Remove unused local variable.
5489
5490 * filesets.el (filesets-error): Mark unused argument.
5491 (filesets-which-command-p, filesets-filter-dir-names)
5492 (filesets-directory-files, filesets-get-external-viewer)
5493 (filesets-ingroup-get-data): Use string-match-p.
5494
5495 * find-file.el (ff-other-file-name, ff-other-file-name)
5496 (ff-find-the-other-file, ff-cc-hh-converter):
5497 Remove unused local variables.
5498 (ff-get-file-name): Use string-match-p.
5499 (ff-all-dirs-under): Use ignore-errors.
5500
5501 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5502 (follow-select-if-visible): Remove unused local variable.
5503
5504 * forms.el (read-file-filter): Move declaration.
5505 (forms--make-format, forms--make-parser, forms-insert-record):
5506 Quote function with #'.
5507 (forms--update): Use string-match-p. Quote function with #'.
5508
5509 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5510 (help-make-xrefs): Use looking-at-p.
5511 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5512
5513 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5514 (ibuffer-confirm-operation-on): Use string-match-p.
5515
5516 * msb.el (msb-item-handler, msb-dired-item-handler):
5517 Mark unused arguments.
5518
5519 * ses.el (ses-decode-cell-symbol)
5520 (ses-kill-override): Remove unused local variable.
5521 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5522 (ses-load): Use ignore-errors, looking-at-p.
5523 (ses-jump-safe): Use ignore-errors.
5524 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5525
5526 * tabify.el (untabify, tabify): Mark unused arguments.
5527
5528 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5529 Mark unused argument.
5530 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5531 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5532
5533 * emacs-lisp/timer.el (timer--time): Define setter with
5534 gv-define-setter to avoid deprecation warning.
5535
5536 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5537 (*record-cmpl-statistics-p*): Remove (was commented out).
5538 (cmpl-statistics-block): Remove (body was commented out).
5539 All callers changed.
5540 (add-completions-from-buffer, load-completions-from-file):
5541 Remove unused variables.
5542
5543 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5544
5545 * filecache.el (file-cache-delete-file-list):
5546 Print message only when told so.
5547 (file-cache-files-matching): Use #' in mapconcat argument.
5548
5549 * ffap.el (ffap-url-at-point): Fix reference to variable
5550 thing-at-point-default-mail-uri-scheme.
5551
5552 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * subr.el (define-error): New function.
5555 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5556 error-file-not-found and define with define-error.
5557 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5558 and define with define-error.
5559 * userlock.el (file-locked, file-supersession):
5560 * simple.el (mark-inactive):
5561 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5562 * progmodes/ada-mode.el (ada-mode-errors):
5563 * play/life.el (life-extinct):
5564 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5565 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5566 * nxml/rng-util.el (rng-error):
5567 * nxml/rng-uri.el (rng-uri-error):
5568 * nxml/rng-match.el (rng-compile-error):
5569 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5570 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5571 * nxml/nxml-rap.el (nxml-scan-error):
5572 * nxml/nxml-outln.el (nxml-outline-error):
5573 * net/soap-client.el (soap-error):
5574 * net/gnutls.el (gnutls-error):
5575 * net/ange-ftp.el (ftp-error):
5576 * mpc.el (mpc-proc-error):
5577 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5578 (json-number-format, json-string-escape, json-string-format)
5579 (json-key-format, json-object-format):
5580 * jka-compr.el (compression-error):
5581 * international/quail.el (quail-error):
5582 * international/kkc.el (kkc-error):
5583 * emacs-lisp/ert.el (ert-test-failed):
5584 * calc/calc.el (calc-error, inexact-result, math-overflow)
5585 (math-underflow):
5586 * bookmark.el (bookmark-error-no-filename):
5587 * epg.el (epg-error): Define with define-error.
5588
5589 * time.el (display-time-event-handler)
5590 (display-time-next-load-average): Don't call sit-for since it seems
5591 unnecessary (bug#15045).
5592
5593 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5594 Use #' instead of ' to quote functions.
5595 (checkdoc-output-mode): Use setq-local.
5596 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5597 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5598 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5599 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5600 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5601 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5602 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5603 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5604
5605 * ido.el (ido-completion-help): Fix up compiler warning.
5606
5607 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5608
5609 * frameset.el (frameset-p): Add autoload cookie.
5610 (frameset--jump-to-register): New function, based on code moved from
5611 register.el.
5612 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5613
5614 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5615 (frameset-restore, frameset-save, frameset-session-filter-alist):
5616 Remove declarations.
5617 (register-alist): Doc fix.
5618 (frameset-to-register): Move to frameset.el.
5619 (jump-to-register, describe-register-1): Remove frameset-specific code.
5620
5621 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5622
5623 * allout-widgets.el (allout-widgets-pre-command-business)
5624 (allout-widgets-post-command-business)
5625 (allout-widgets-after-change-handler)
5626 (allout-decorate-item-and-context, allout-set-boundary-marker)
5627 (allout-body-modification-handler)
5628 (allout-graphics-modification-handler): Mark ignored arguments.
5629 (allout-widgets-post-command-business)
5630 (allout-widgets-exposure-change-processor)
5631 (allout-widgets-exposure-undo-processor)
5632 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5633 (allout-parse-item-at-point, allout-decorate-item-guides)
5634 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5635 * allout.el (epa-passphrase-callback-function): Declare.
5636 (allout-overlay-insert-in-front-handler)
5637 (allout-overlay-interior-modification-handler)
5638 (allout-isearch-end-handler, allout-chart-siblings)
5639 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5640 (allout-yank-processing, allout-process-exposed)
5641 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5642 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5643 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5644 (lisp-indent-defform): Mark ignored arguments.
5645 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5646 (calculate-lisp-indent): Remove unused variables.
5647 * international/characters.el (indian-2-column, arabic-2-column)
5648 (tibetan): Mark ignored arguments.
5649 (use-cjk-char-width-table): Mark ignored arguments.
5650 Remove unused variables.
5651 * international/fontset.el (build-default-fontset-data)
5652 (x-compose-font-name, create-fontset-from-fontset-spec):
5653 Mark ignored arguments.
5654 (fontset-plain-name): Remove unused variables.
5655 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5656 (keyboard-coding-system): Mark ignored arguments.
5657 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5658 * help.el (resize-temp-buffer-window):
5659 * window.el (display-buffer-in-major-side-window)
5660 (display-buffer-in-side-window, display-buffer-in-previous-window):
5661 Remove unused variables.
5662 * isearch.el (isearch-forward-symbol):
5663 * version.el (emacs-bzr-version-bzr):
5664 * international/mule-cmds.el (current-language-environment):
5665 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5666 (x-handle-display):
5667 * term/pc-win.el (x-list-fonts, x-display-planes)
5668 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5669 (x-server-version, x-display-screens, x-display-mm-height)
5670 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5671 (x-selection-owner-p, x-own-selection-internal)
5672 (x-disown-selection-internal, x-get-selection-internal)
5673 (msdos-initialize-window-system):
5674 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5675 * term/x-win.el (x-handle-no-bitmap-icon):
5676 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5677 (vc-default-find-file-hook, vc-default-extra-menu):
5678 Mark ignored arguments.
5679
5680 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5681
5682 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5683 break-condition in the context of the debugged code (bug#12685).
5684
5685 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5686
5687 * comint.el:
5688 Do not use an overlay to highlight the last prompt. (Bug#14744)
5689 (comint-mode): Make comint-last-prompt buffer local.
5690 (comint-last-prompt): New variable.
5691 (comint-last-prompt-overlay): Remove. Superseded by
5692 comint-last-prompt.
5693 (comint-snapshot-last-prompt, comint-output-filter):
5694 Use comint-last-prompt.
5695
5696 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5697
5698 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5699 (frameset-save): Check validity of the resulting frameset.
5700
5701 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5702
5703 * ido.el (ido-record-command): Add doc string.
5704
5705 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5706
5707 * frameset.el (frameset): Do not disable creation of the default
5708 frameset-p predicate. Doc fix.
5709 (frameset-valid-p): New function, copied from the old predicate-p.
5710 Add additional checks.
5711 (frameset-restore): Check with frameset-valid-p.
5712 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5713 (frameset-name, frameset-description, frameset-properties)
5714 (frameset-states): Add docstring.
5715 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5716 (frameset-filter-alist): Doc fixes.
5717
5718 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5719
5720 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5721
5722 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5725 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5726 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5727 (byte-compile-normal-call): Remove obsolescence check.
5728
5729 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5730
5731 * frameset.el (frameset-restore): Doc fix.
5732
5733 * register.el (frameset-frame-id, frameset-frame-with-id)
5734 (frameset-p, frameset-restore, frameset-save): Declare.
5735 (register-alist): Document framesets.
5736 (frameset-session-filter-alist): Declare.
5737 (frameset-to-register): New function.
5738 (jump-to-register): Implement jumping to framesets. Doc fix.
5739 (describe-register-1): Describe framesets.
5740
5741 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5742
5743 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5744
5745 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5746 Use lexical-binding.
5747
5748 * frameset.el (frameset): Use type vector, not list (incompatible
5749 change). Do not declare a new constructor, use the default one.
5750 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5751 `name' and `description', respectively, and add read-only slot
5752 `timestamp'. Doc fixes.
5753 (frameset-copy, frameset-persistent-filter-alist)
5754 (frameset-filter-alist, frameset-switch-to-gui-p)
5755 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5756 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5757 (frameset-filter-iconified, frameset-keep-original-display-p):
5758 Doc fixes.
5759 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5760 Rename from frameset-filter-(save|restore)-param. All callers changed.
5761 Doc fix.
5762 (frameset-p): Adapt to change to vector and be more thorough.
5763 Change arg name to OBJECT. Doc fix.
5764 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5765 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5766 All callers changed.
5767 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5768 All callers changed.
5769 (frameset--record-minibuffer-relationships): Rename from
5770 frameset--process-minibuffer-frames. All callers changed.
5771 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5772 Use new default constructor (again). Doc fix.
5773 (frameset--find-frame-if): Rename from `frameset--find-frame.
5774 All callers changed.
5775 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5776 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5777 Doc fix.
5778 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5779 PARAMETERS and WINDOW-STATE, respectively.
5780 (frameset-restore): Add new keyword argument PREDICATE.
5781 Reset frameset--target-display to nil. Doc fix.
5782
5783 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5786 (bat-mode): Use it.
5787 (bat-mode-syntax-table): Mark \n as end-of-comment.
5788 (bat-font-lock-keywords): Remove comment rule.
5789
5790 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5791 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5792
5793 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5794 (byte-compile-callargs-warn): Use `push'.
5795 (byte-compile-arglist-warn): Ignore higher-order "calls".
5796 (byte-compile-file-form-autoload): Use `pcase'.
5797 (byte-compile-function-form): If quoting a symbol, check that it exists.
5798
5799 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5800
5801 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5802 and add a few popular commands found in batch files.
5803 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5804 (dos-mode): Doc fixes.
5805
5806 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5809 (dos-mode): Use setq-local. Add space after "rem".
5810 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5811 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5812
5813 2013-08-07 Arni Magnusson <arnima@hafro.is>
5814
5815 * progmodes/dos.el: New file.
5816 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5817 dos-mode.
5818
5819 2013-08-06 Glenn Morris <rgm@gnu.org>
5820
5821 * calendar/calendar.el: Add new faces, and day-header-array.
5822 (calendar-weekday-header, calendar-weekend-header)
5823 (calendar-month-header): New faces.
5824 (calendar-day-header-construct): New function.
5825 (calendar-day-header-width): Also :set calendar-day-header-array.
5826 (calendar-american-month-header, calendar-european-month-header)
5827 (calendar-iso-month-header): Use calendar- faces.
5828 (calendar-generate-month):
5829 Use calendar-day-header-array for day headers; apply faces to them.
5830 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5831 (calendar-abbrev-construct): Add optional maxlen argument.
5832 (calendar-day-name-array): Doc fix.
5833 (calendar-day-name-array, calendar-abbrev-length)
5834 (calendar-day-abbrev-array):
5835 Also :set calendar-day-header-array, and maybe redraw.
5836 (calendar-day-header-array): New option. (Bug#15007)
5837 (calendar-font-lock-keywords): Set to nil and make obsolete.
5838 (calendar-day-name): Add option to use header array.
5839
5840 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5841
5842 * net/shr.el (shr-render-td): Remove debugging.
5843 (shr-render-td): Make width computation consistent by defaulting
5844 all zero-width columns to 10 characters. This may not be optimal,
5845 but it's at least consistent.
5846 (shr-make-table-1): Redo last change to fix the real problem in
5847 colspan handling.
5848
5849 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5850
5851 * files.el (cache-long-line-scans):
5852 Make obsolete alias to `cache-long-scans'.
5853
5854 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5855
5856 * frameset.el (frameset, frameset-filter-alist)
5857 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5858 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5859 (frameset-compute-pos): Rename from frameset--compute-pos,
5860 and add docstring.
5861 (frameset-move-onscreen): Use frameset-compute-pos.
5862 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5863
5864 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5865 Fix typos in docstrings.
5866
5867 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5868
5869 * frame.el (get-other-frame): Tiny cleanup.
5870
5871 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5872
5873 * vc/vc.el (vc-default-ignore-completion-table):
5874 Silence byte-compiler warning.
5875
5876 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5877 slot , which can indeed be nil.
5878 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5879 Move entry for `left' from persistent to live filter alist.
5880 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5881 Doc fixes.
5882 (frameset-filter-params): When restoring a frame, copy items added to
5883 `filtered', to avoid unwittingly modifying the original parameters.
5884 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5885 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5886
5887 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5888 to use looking-at-p instead of looking-at. (Bug#15028)
5889
5890 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 Revert introduction of isearch-filter-predicates (bug#14714).
5893 Rely on add-function instead.
5894 * isearch.el (isearch-filter-predicates): Rename it back to
5895 isearch-filter-predicate.
5896 (isearch-message-prefix): Use advice-function-mapc and advice
5897 properties to get the isearch-message-prefix.
5898 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5899 instead of run-hook-with-args-until-failure.
5900 (isearch-filter-visible): Not obsolete any more.
5901 * loadup.el: Preload nadvice.
5902 * replace.el (perform-replace): Revert to funcall
5903 instead of run-hook-with-args-until-failure.
5904 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5905 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5906 dired-isearch-filenames-toggle; make it into a proper minor mode.
5907 Use add/remove-function.
5908 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5909 Call the minor-mode rather than add/remove-hook.
5910 (dired-isearch-filter-filenames):
5911 Remove isearch-message-prefix property.
5912 * info.el (Info--search-loop): New function, extracted from Info-search.
5913 Funcall isearch-filter-predicate instead of
5914 run-hook-with-args-until-failure isearch-filter-predicates.
5915 (Info-search): Use it.
5916 (Info-mode): Use isearch-filter-predicate instead of
5917 isearch-filter-predicates.
5918
5919 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5920
5921 Do not call to `selected-window' where it is assumed by default.
5922 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5923 `window-hscroll', `window-width', `window-height', `window-buffer',
5924 `window-frame', `window-start', `window-point', `next-window'
5925 and `window-display-table'.
5926 * abbrev.el (abbrev--default-expand):
5927 * bs.el (bs--show-with-configuration):
5928 * buff-menu.el (Buffer-menu-mouse-select):
5929 * calc/calc.el (calc):
5930 * calendar/calendar.el (calendar-generate-window):
5931 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5932 (diary-make-entry):
5933 * comint.el (send-invisible, comint-dynamic-complete-filename)
5934 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5935 * completion.el (complete):
5936 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5937 * disp-table.el (describe-current-display-table):
5938 * doc-view.el (doc-view-insert-image):
5939 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5940 * ehelp.el (with-electric-help):
5941 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5942 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5943 * emacs-lisp/helper.el (Helper-help-scroller):
5944 * emulation/cua-base.el (cua--post-command-handler-1):
5945 * eshell/esh-mode.el (eshell-output-filter):
5946 * ffap.el (ffap-gnus-wrapper):
5947 * help-macro.el (make-help-screen):
5948 * hilit-chg.el (highlight-compare-buffers):
5949 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5950 * hl-line.el (global-hl-line-highlight):
5951 * icomplete.el (icomplete-simple-completing-p):
5952 * isearch.el (isearch-done):
5953 * jit-lock.el (jit-lock-stealth-fontify):
5954 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5955 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5956 * mpc.el (mpc-tagbrowser, mpc):
5957 * net/rcirc.el (rcirc-any-buffer):
5958 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5959 * play/landmark.el (landmark-max-width, landmark-max-height):
5960 * play/zone.el (zone):
5961 * progmodes/compile.el (compilation-goto-locus):
5962 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5963 * progmodes/etags.el (find-tag-other-window):
5964 * progmodes/fortran.el (fortran-column-ruler):
5965 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5966 * progmodes/verilog-mode.el (verilog-point-text):
5967 * reposition.el (reposition-window):
5968 * rot13.el (toggle-rot13-mode):
5969 * server.el (server-switch-buffer):
5970 * shell.el (shell-dynamic-complete-command)
5971 (shell-dynamic-complete-environment-variable):
5972 * simple.el (insert-buffer, set-selective-display)
5973 (delete-completion-window):
5974 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5975 (speedbar-recenter):
5976 * startup.el (fancy-splash-head):
5977 * textmodes/ispell.el (ispell-command-loop):
5978 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5979 * tutorial.el (help-with-tutorial):
5980 * vc/add-log.el (add-change-log-entry):
5981 * vc/compare-w.el (compare-windows):
5982 * vc/ediff-help.el (ediff-indent-help-message):
5983 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5984 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5985 (ediff-setup-control-frame):
5986 * vc/emerge.el (emerge-position-region):
5987 * vc/pcvs-util.el (cvs-bury-buffer):
5988 * window.el (walk-windows, mouse-autoselect-window-select):
5989 * winner.el (winner-set-conf, winner-undo): Related users changed.
5990
5991 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5992
5993 * frameset.el (frameset--set-id): Doc fix.
5994 (frameset-frame-id, frameset-frame-id-equal-p)
5995 (frameset-locate-frame-id): New functions.
5996 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5997 (frameset-restore): Use them.
5998
5999 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6000
6001 Do not call to `selected-frame' where it is assumed by default.
6002 Affected functions are `raise-frame', `redraw-frame',
6003 `frame-first-window', `frame-terminal' and `delete-frame'.
6004 * calendar/appt.el (appt-disp-window):
6005 * epg.el (epg-wait-for-completion):
6006 * follow.el (follow-delete-other-windows-and-split)
6007 (follow-avoid-tail-recenter):
6008 * international/mule.el (set-terminal-coding-system):
6009 * mail/rmail.el (rmail-mail-return):
6010 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6011 * progmodes/f90.el (f90-add-imenu-menu):
6012 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6013 * server.el (server-switch-buffer):
6014 * simple.el (delete-completion-window):
6015 * talk.el (talk):
6016 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6017 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6018 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6019 * vc/ediff.el (ediff-documentation): Related users changed.
6020 * frame.el (selected-terminal): Remove the leftover.
6021
6022 2013-08-05 Glenn Morris <rgm@gnu.org>
6023
6024 * calendar/calendar.el (calendar-generate-month):
6025 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6026 (calendar-generate-month, calendar-font-lock-keywords):
6027 Fix for calendar-day-header-width > length of any day name.
6028
6029 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6030
6031 * desktop.el (desktop-clear): Use new name of sort predicate.
6032
6033 * frameset.el (frameset): Add docstring. Move :version property to its
6034 own `version' slot.
6035 (frameset-copy): Rename from copy-frameset.
6036 (frameset-p): Check more thoroughly.
6037 (frameset-prop): Do not check for :version, which is no longer a prop.
6038 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6039 Use new :never value instead of t.
6040 (frameset-filter-alist): Expand and clarify docstring.
6041 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6042 (frameset-filter-minibuffer, frameset-filter-save-param)
6043 (frameset-filter-restore-param, frameset-filter-iconified):
6044 Add pointer to docstring of frameset-filter-alist.
6045 (frameset-filter-params): Rename filter values to be more meaningful:
6046 :never instead of t, and reverse the meanings of :save and :restore.
6047 (frameset--process-minibuffer-frames): Clarify error message.
6048 (frameset-save): Avoid unnecessary and confusing call to framep.
6049 Use new BOA constructor for framesets.
6050 (frameset--reuse-list): Doc fix.
6051 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6052 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6053 (frameset-minibufferless-first-p): Doc fix.
6054 Rename from frameset-sort-frames-for-deletion.
6055 (frameset-restore): Doc fixes. Use new function names.
6056 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6057
6058 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6059
6060 * desktop.el (desktop-restore-forces-onscreen)
6061 (desktop-restore-reuses-frames): Document :keyword constant values.
6062 (desktop-filter-parameters-alist): Remove, now identical to
6063 frameset-filter-alist.
6064 (desktop--filter-tty*): Remove, moved to frameset.el.
6065 (desktop-save-frameset, desktop-restore-frameset):
6066 Do not pass :filters argument.
6067
6068 * frameset.el (frameset-live-filter-alist)
6069 (frameset-persistent-filter-alist): New variables.
6070 (frameset-filter-alist): Use them. Add autoload cookie.
6071 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6072 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6073 `frameset--id' (it's supposed to be internal to frameset.el).
6074 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6075 (frameset--initial-params): New function.
6076 (frameset--get-frame): Use it. Doc fix.
6077 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6078 Accept :all, not 'all.
6079 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6080 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6081 with fbound symbols. Fix frame id matching, and remove matching ids if
6082 the frame being restored is deleted. Obey :delete.
6083
6084 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * subr.el (macrop): New function.
6087 (text-clone--maintaining): New var.
6088 (text-clone--maintain): Rename from text-clone-maintain. Use it
6089 instead of inhibit-modification-hooks.
6090
6091 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6092 a proxy, so as handle autoloads and redefinitions of the target.
6093 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6094
6095 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6096 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6097 (pcase--mutually-exclusive-p): New function.
6098 (pcase--split-consp): Use it.
6099 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6100 mutually exclusive with the current predicate.
6101
6102 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6103 (edebug-macrop): Remove. Use `macrop' instead.
6104 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6105 (ad-macro-p):
6106 * eshell/esh-cmd.el (eshell-macrop):
6107 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6108
6109 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6110
6111 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6112 (advice-mapc): New function, using it.
6113 (advice-function-member-p): New function.
6114 (advice--normalize): Store the cdr in advice--saved-rewrite since
6115 that's the part that will be changed.
6116 (advice--symbol-function): New function.
6117 (advice-remove): Handle removal before the function is defined.
6118 Adjust to new advice--saved-rewrite.
6119 (advice-member-p): Use advice-function-member-p and
6120 advice--symbol-function.
6121
6122 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6123
6124 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6125 (frameset-filter-minibuffer): Doc fix.
6126 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6127 (frameset--set-id, frameset--process-minibuffer-frames)
6128 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6129 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6130
6131 * desktop.el (desktop-clear): Only delete frames when called
6132 interactively and desktop-restore-frames is non-nil. Doc fix.
6133 (desktop-read): Set desktop-saved-frameset to nil.
6134
6135 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6136
6137 * vc/vc.el (vc-ignore): Rewrite.
6138 (vc-default-ignore-completion-table):
6139 (vc--read-lines):
6140 (vc--add-line, vc--remove-regexp): New functions.
6141
6142 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6143 (vc-svn-ignore-completion-table): New function.
6144
6145 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6146 (vc-hg-ignore-completion-table):
6147 (vc-hg-find-ignore-file): New functions.
6148
6149 * vc/vc-git.el (vc-git-ignore): Rewrite.
6150 (vc-git-ignore-completion-table):
6151 (vc-git-find-ignore-file): New functions.
6152
6153 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6154
6155 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6156 (vc-bzr-ignore-completion-table):
6157 (vc-bzr-find-ignore-file): New functions.
6158
6159 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6160
6161 * frameset.el (frameset-prop): New function and setter.
6162 (frameset-save): Do not modify frame list passed by the caller.
6163
6164 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6165
6166 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6167
6168 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6171 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6172
6173 * custom.el (custom-initialize-default, custom-initialize-set)
6174 (custom-initialize-reset, custom-initialize-changed): Affect the
6175 toplevel-default-value (bug#6275, bug#14586).
6176 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6177 for bug#6275.
6178
6179 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6180
6181 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6182 Add cl-def* expressions.
6183
6184 * frameset.el (frameset-filter-params): Fix order of arguments.
6185
6186 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6187
6188 Move code related to saving frames to frameset.el.
6189 * desktop.el: Require frameset.
6190 (desktop-restore-frames): Doc fix.
6191 (desktop-restore-reuses-frames): Rename from
6192 desktop-restoring-reuses-frames.
6193 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6194 (desktop-clear): Clear frames too.
6195 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6196 (desktop--filter-tty*, desktop-save, desktop-read):
6197 Use frameset functions.
6198 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6199 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6200 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6201 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6202 (desktop--process-minibuffer-frames, desktop-save-frames)
6203 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6204 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6205 (desktop--sort-states, desktop-restoring-frames-p)
6206 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6207 (desktop-restoring-frameset-p, desktop-restore-frameset)
6208 (desktop--check-dont-save, desktop-save-frameset): New functions.
6209 (desktop--app-id): New constant.
6210 (desktop-first-buffer, desktop-buffer-ok-count)
6211 (desktop-buffer-fail-count): Move before first use.
6212 * frameset.el: New file.
6213
6214 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6215
6216 * files.el: Use lexical-binding.
6217 (dir-locals-read-from-file): Remove unused `err' variable.
6218 (hack-dir-local-variables--warned-coding): New var.
6219 (hack-dir-local-variables): Use it to avoid repeated warnings.
6220 (make-backup-file-name--default-function): New function.
6221 (make-backup-file-name-function): Use it as default.
6222 (buffer-stale--default-function): New function.
6223 (buffer-stale-function): Use it as default.
6224 (revert-buffer-insert-file-contents--default-function): New function.
6225 (revert-buffer-insert-file-contents-function): Use it as default.
6226 (insert-directory): Avoid add-to-list.
6227
6228 * autorevert.el (auto-revert-handler): Simplify.
6229 Use buffer-stale--default-function.
6230
6231 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6232
6233 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6234
6235 * whitespace.el (whitespace-ensure-local-variables): New function.
6236 (whitespace-cleanup-region): Call it.
6237 (whitespace-turn-on): Call it.
6238
6239 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6240
6241 Complete file name handlers.
6242
6243 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6244 (tramp-handle-verify-visited-file-modtime)
6245 (tramp-handle-file-notify-rm-watch): New functions.
6246 (tramp-call-process): Do not bind `default-directory'.
6247
6248 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6249 Order alphabetically.
6250 [access-file, add-name-to-file, dired-call-process]:
6251 [dired-compress-file, file-acl, file-notify-rm-watch]:
6252 [file-ownership-preserved-p, file-selinux-context]:
6253 [make-directory-internal, make-symbolic-link, set-file-acl]:
6254 [set-file-selinux-context, set-visited-file-modtime]:
6255 [verify-visited-file-modtime]: Add handler.
6256 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6257
6258 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6259 [file-notify-add-watch, file-notify-rm-watch]:
6260 [set-file-times, set-visited-file-modtime]:
6261 [verify-visited-file-modtime]: Add handler.
6262 (with-tramp-gvfs-error-message)
6263 (tramp-gvfs-handle-set-visited-file-modtime)
6264 (tramp-gvfs-fuse-file-name): Remove.
6265 (tramp-gvfs-handle-file-notify-add-watch)
6266 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6267 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6268
6269 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6270 Order alphabetically.
6271 [file-notify-rm-watch ]: Use default Tramp handler.
6272 [executable-find]: Remove private handler.
6273 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6274 `default-directory'.
6275 (tramp-sh-handle-executable-find)
6276 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6277 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6278 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6279 Do not use `format' in `tramp-message'.
6280
6281 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6282 [file-notify-rm-watch, set-visited-file-modtime]:
6283 [verify-visited-file-modtime]: Add handler.
6284 (tramp-smb-call-winexe): Do not bind `default-directory'.
6285
6286 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6287
6288 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6289
6290 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6291
6292 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6293 use it.
6294 (log-view-diff-changeset): Same.
6295 (log-view-diff-common): Call backend command `previous-revision'
6296 to find out the previous revision, in both cases. Swap the
6297 variables `to' and `fr', so that `fr' usually refers to the
6298 earlier revision (Bug#14989).
6299
6300 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6301
6302 * ibuf-ext.el (ibuffer-filter-by-filename):
6303 Make it work with dired buffers too.
6304
6305 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6306
6307 * emacs-lisp/re-builder.el (reb-color-display-p):
6308 * files.el (save-buffers-kill-terminal):
6309 * net/browse-url.el (browse-url):
6310 * server.el (server-save-buffers-kill-terminal):
6311 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6312 Prefer nil to selected-frame for the first arg of frame-parameter.
6313
6314 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6315
6316 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6317
6318 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6319
6320 * minibuffer.el (completion--twq-all): Try and preserve each
6321 completion's case choice (bug#14907).
6322
6323 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6324
6325 * net/network-stream.el (open-network-stream): Mention the new
6326 :nogreeting parameter.
6327 (network-stream-open-starttls): Use the :nogreeting parameter
6328 (bug#14938).
6329
6330 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6331
6332 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6333 more natural than popping.
6334
6335 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6336 (shr-urlify): Highlight under mouse.
6337
6338 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6339
6340 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6341
6342 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6343
6344 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6345 buffer for output.
6346
6347 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6348 point-min==1. Fix search string. Fix parentheses missing.
6349
6350 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6351 assume point-min==1. Fix search string. Fix parentheses missing.
6352
6353 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6354
6355 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6356 buffer for output.
6357
6358 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6359
6360 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6361 initial frame is minibuffer-less. (Bug#14841)
6362
6363 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6364
6365 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6366 option.
6367
6368 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6369 (tramp-maybe-open-connection): Use it.
6370
6371 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6372
6373 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6374 minimal set of parameters passed when creating a frame, because
6375 the minibuffer status of a frame cannot be changed later.
6376
6377 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6378
6379 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6380 replace-regexp-in-string and inadvertent omissions in previous change.
6381 (todo-filter-items): Ensure only file names are comma-separated in
6382 name of filtered items buffer.
6383
6384 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6385
6386 * desktop.el: Optionally force offscreen frames back onscreen.
6387 (desktop-restoring-reuses-frames): New option.
6388 (desktop--compute-pos, desktop--move-onscreen): New functions.
6389 (desktop--make-frame): Use desktop--move-onscreen.
6390
6391 2013-07-27 Alan Mackenzie <acm@muc.de>
6392
6393 Fontify a Java generic method as a function.
6394 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6395 value to t.
6396
6397 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6398
6399 * calendar/todo-mode.el: Add command to rename todo files.
6400 (todo-rename-file): New command.
6401 (todo-key-bindings-t): Add key binding for it. Change the
6402 bindings of todo-filter-regexp-items(-multifile) to use `x'
6403 instead of `r', since the latter is better suited to the new
6404 renaming command.
6405
6406 2013-07-27 Alan Mackenzie <acm@muc.de>
6407
6408 Make Java try-with-resources statement parse properly.
6409 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6410 (c-block-stmt-1-2-key): New language constants/variables.
6411 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6412 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6413 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6414 with c-block-stmt-1-2-key.
6415
6416 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * desktop.el (desktop--make-frame): Apply most frame parameters after
6419 creating the frame to force (partially or totally) offscreen frames to
6420 be restored as such.
6421
6422 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6423
6424 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6425 (Bug#14948)
6426
6427 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6428
6429 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6430 `base' arg of backtrace-frame.
6431
6432 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6433
6434 * simple.el (list-processes): Doc fix.
6435
6436 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6437
6438 * desktop.el (desktop--select-frame):
6439 Try harder to reuse existing frames.
6440
6441 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6444 (edebug-eval): Use backtrace-eval.
6445 (edebug--display, edebug--recursive-edit): Don't let-bind the
6446 edebug-outer-* vars that keep track of variables we locally let-bind.
6447 (edebug-outside-excursion): Don't restore outside values of locally
6448 let-bound vars.
6449 (edebug--display): Use user-error.
6450 (cl-lexical-debug, cl-debug-env): Remove.
6451
6452 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6453
6454 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6455 are restored to be sure that they are visible before deleting any
6456 remaining ones.
6457
6458 2013-07-26 Matthias Meulien <orontee@gmail.com>
6459
6460 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6461 vc-print-root-log. (Bug#14948)
6462
6463 2013-07-26 Richard Stallman <rms@gnu.org>
6464
6465 Add aliases for encrypting mail.
6466 * epa.el (epa-mail-aliases): New option.
6467 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6468 Bind inhibit-read-only so read-only text doesn't ruin everything.
6469 (epa-mail-default-recipients): New subroutine broken out.
6470 Handle epa-mail-aliases.
6471
6472 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 Add support for lexical variables to the debugger's `e' command.
6475 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6476 vars, except for debugger-outer-match-data.
6477 (debugger-frame-number): Move check for "on a function call" from
6478 callers into it. Add `skip-base' argument.
6479 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6480 (debugger-env-macro): Only reset the state stored in non-variables,
6481 i.e. current-buffer and match-data.
6482 (debugger-eval-expression): Rewrite using backtrace-eval.
6483 * subr.el (internal--called-interactively-p--get-frame): Remove.
6484 (called-interactively-p):
6485 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6486 `base' arg of backtrace-frame instead.
6487
6488 2013-07-26 Glenn Morris <rgm@gnu.org>
6489
6490 * align.el (align-regexp): Doc fix. (Bug#14857)
6491 (align-region): Explicit error if subexpression missing/does not match.
6492
6493 * simple.el (global-visual-line-mode):
6494 Do not duplicate the mode lighter. (Bug#14858)
6495
6496 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6497
6498 * window.el (display-buffer): In display-buffer bind
6499 split-window-keep-point to t, bug#14829.
6500
6501 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6502
6503 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6504 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6505 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6506 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6507 Change accordingly.
6508 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6509 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6510
6511 2013-07-25 Glenn Morris <rgm@gnu.org>
6512
6513 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6514
6515 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6516
6517 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6518 parameter to modify-frame-parameters if the value has not changed;
6519 this is a workaround for bug#14949.
6520 (desktop--make-frame): On cl-delete-if call, check parameter name,
6521 not full parameter.
6522
6523 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6524
6525 * vc/vc.el (vc-ignore): New function.
6526
6527 * vc/vc-svn.el (vc-svn-ignore): New function.
6528
6529 * vc/vc-hg.el (vc-hg-ignore): New function.
6530
6531 * vc/vc-git.el (vc-git-ignore): New function.
6532
6533 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6534 (vc-dir-ignore): New function.
6535
6536 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6537 (cvs-append-to-ignore): Move here from pcvs.el.
6538
6539 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6540
6541 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6542
6543 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6544
6545 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6546 (desktop-restore-frames): Warn when deleting an existing frame failed.
6547
6548 2013-07-24 Glenn Morris <rgm@gnu.org>
6549
6550 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6551
6552 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6553
6554 * filenotify.el (file-notify-supported-p):
6555 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6556 Remove functions.
6557
6558 * autorevert.el (auto-revert-use-notify):
6559 (auto-revert-notify-add-watch):
6560 * net/tramp.el (tramp-file-name-for-operation):
6561 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6562 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6563 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6564 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6565 Remove `file-notify-supported-p' entry.
6566
6567 2013-07-24 Glenn Morris <rgm@gnu.org>
6568
6569 * printing.el: Replace all uses of deleted ps-windows-system,
6570 ps-lp-system, ps-flatten-list with lpr- versions.
6571
6572 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6575 checked with memq (bug#14935).
6576
6577 * files.el (revert-buffer-function): Use a non-nil default.
6578 (revert-buffer-preserve-modes): Declare var to
6579 provide access to the `preserve-modes' argument.
6580 (revert-buffer): Let-bind it.
6581 (revert-buffer--default): New function, extracted from revert-buffer.
6582
6583 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6584
6585 * lpr.el: Signal print errors more prominently.
6586 (print-region-function): Don't default to nil.
6587 (lpr-print-region): New function, extracted from print-region-1.
6588 Check lpr's return value and signal an error in case of problem.
6589 (print-region-1): Use it.
6590 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6591 versions instead.
6592 (ps-printer-name): Default to nil.
6593 (ps-printer-name-option): Default to lpr-printer-switch.
6594 (ps-print-region-function): Don't default to nil.
6595 (ps-postscript-code-directory): Simplify default.
6596 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6597 (ps-string-list, ps-eval-switch, ps-flatten-list)
6598 (ps-flatten-list-1): Remove.
6599 (ps-multibyte-buffer): Avoid setq.
6600 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6601 (print-region-function, ps-print-region-function): Don't set them here.
6602
6603 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6604
6605 * ido.el (ido-fractionp):
6606 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6607 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6608 (ido-max-directory-size, ido-max-dir-file-cache)
6609 (ido-decorations): Doc fix.
6610
6611 * ansi-color.el: Fix old URL.
6612
6613 2013-07-23 Michael R. Mauger <michael@mauger.com>
6614
6615 * progmodes/sql.el: Version 3.3
6616 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6617 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6618 (sql-interactive-remove-continuation-prompt): Rewrite, use
6619 functions above. Fix continuation prompt and complete output line
6620 handling.
6621 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6622 redirected output buffer.
6623 (sql-mode): Restore deleted code (Bug#13591).
6624
6625 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6626
6627 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6628
6629 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6630
6631 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6632
6633 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6634 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6635 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6636
6637 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6638
6639 * desktop.el (desktop-clear): Simplify; remove useless checks
6640 against invalid buffer names.
6641 (desktop-list*): Use cl-list*.
6642 (desktop-buffer-info, desktop-create-buffer): Simplify.
6643
6644 2013-07-23 Leo Liu <sdl.web@gmail.com>
6645
6646 * bookmark.el (bookmark-make-record): Restore NAME as a default
6647 value. (Bug#14933)
6648
6649 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6650
6651 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6652 extracted from autoload--insert-text.
6653 (autoload--insert-text): Remove.
6654 (autoload--print-cookie-text): New function, extracted from
6655 autoload--insert-cookie-text.
6656 (autoload--insert-cookie-text): Remove.
6657 (autoload-generate-file-autoloads): Adjust calls accordingly.
6658
6659 * winner.el (winner-hook-installed-p): Remove.
6660 (winner-mode): Simplify accordingly.
6661
6662 * subr.el (add-to-list): Fix compiler-macro when `append' is
6663 not constant. Don't use `cl-member' for the base case.
6664
6665 * progmodes/subword.el: Fix boundary case (bug#13758).
6666 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6667 own group.
6668 (subword-backward-regexp): Make it a constant.
6669 (subword-forward-internal): Don't treat a trailing capital as the
6670 beginning of a word.
6671
6672 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6673
6674 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6675 global value of tabulated-list-revert-hook (bug#14930).
6676
6677 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6678
6679 * desktop.el: Require 'cl-lib.
6680 (desktop-before-saving-frames-functions): New hook.
6681 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6682 for frames being saved. Rename from desktop--save-minibuffer-frames.
6683 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6684 Do not save frames with non-nil `desktop-dont-save' parameter.
6685 Filter out deleted frames.
6686 (desktop--find-frame): Use cl-find-if.
6687 (desktop--select-frame): Use cl-(first|second|third) to access values
6688 of desktop-mini.
6689 (desktop--make-frame): Use cl-delete-if.
6690 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6691 (desktop-restore-frames): Use cl-(first|second|third) to access values
6692 of desktop-mini. Look for visible frame at the end, not while
6693 restoring frames.
6694
6695 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6696 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6697 Use string-match-p, looking-at-p (bug#14927).
6698
6699 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6700
6701 * desktop.el (desktop-saved-frame-states):
6702 Rename from desktop--saved-states; all users changed.
6703 (desktop-save-frames): Rename from desktop--save-frames.
6704 Do not save state to desktop file.
6705 (desktop-save): Save desktop-saved-frame-states to desktop file
6706 and reset to nil.
6707 (desktop-restoring-frames-p): New function.
6708 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6709 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6710 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6711
6712 * desktop.el: Correctly restore iconified frames.
6713 (desktop--filter-iconified-position): New function.
6714 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6715
6716 2013-07-20 Glenn Morris <rgm@gnu.org>
6717
6718 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6719 Let `message' do the formatting.
6720 (def-gdb-preempt-display-buffer): Add explicit format.
6721
6722 * image-dired.el (image-dired-track-original-file):
6723 Use with-current-buffer.
6724 (image-dired-track-thumbnail): Use with-current-buffer.
6725 Avoid changing point of wrong window.
6726
6727 * image-dired.el (image-dired-track-original-file):
6728 Avoid changing point of wrong window. (Bug#14909)
6729
6730 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6731
6732 * progmodes/gdb-mi.el (gdb-done-or-error):
6733 Guard against "%" in gdb output. (Bug#14127)
6734
6735 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6736
6737 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6738 (Bug#14826)
6739
6740 * international/mule.el (coding-system-iso-2022-flags): Fix last
6741 change.
6742
6743 2013-07-20 Kenichi Handa <handa@gnu.org>
6744
6745 * international/mule.el (coding-system-iso-2022-flags):
6746 Add `8-bit-level-4'. (Bug#8522)
6747
6748 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6749
6750 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6751 (bug#14815).
6752
6753 * net/eww.el (eww-process-text-input): Allow inputting when the
6754 point is at the start of the line, as the properties aren't
6755 front-sticky.
6756
6757 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6758 degenerate widths.
6759
6760 2013-07-19 Richard Stallman <rms@gnu.org>
6761
6762 * epa.el (epa-popup-info-window): Doc fix.
6763
6764 * subr.el (split-string): New arg TRIM.
6765
6766 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6767
6768 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6769 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6770
6771 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6772
6773 * filenotify.el (file-notify--library): Rename from
6774 `file-notify-support'. Do not autoload. Adapt all uses.
6775 (file-notify-supported-p): New defun.
6776
6777 * autorevert.el (auto-revert-use-notify):
6778 Use `file-notify-supported-p' instead of `file-notify-support'.
6779 Adapt docstring.
6780 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6781
6782 * net/tramp.el (tramp-file-name-for-operation):
6783 Add `file-notify-supported-p'.
6784
6785 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6786 New defun.
6787 (tramp-sh-file-name-handler-alist): Add it as handler for
6788 `file-notify-supported-p '.
6789
6790 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6791 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6792 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6793 Add `ignore' as handler for `file-notify-*' functions.
6794
6795 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6796
6797 * simple.el (line-move-partial, line-move): Don't start vscroll or
6798 scroll-up if the current line is not taller than the window.
6799 (Bug#14881)
6800
6801 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6802
6803 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6804 highlight question marks in the method names as strings.
6805 (ruby-block-beg-keywords): Inline.
6806 (ruby-font-lock-keyword-beg-re): Extract from
6807 `ruby-font-lock-keywords'.
6808
6809 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6810
6811 * frame.el (blink-cursor-blinks): New defcustom.
6812 (blink-cursor-blinks-done): New defvar.
6813 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6814 (blink-cursor-timer-function): Check if number of blinks has been
6815 done on X and NS.
6816 (blink-cursor-suspend, blink-cursor-check): New defuns.
6817
6818 2013-07-15 Glenn Morris <rgm@gnu.org>
6819
6820 * edmacro.el (edmacro-format-keys): Fix previous change.
6821
6822 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6823
6824 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6825 The hack didn't work outside English locales anyway.
6826
6827 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6828
6829 * simple.el (define-alternatives): Rename from alternatives-define,
6830 per RMS' suggestion.
6831
6832 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6833
6834 * desktop.el (desktop-restore-frames): Change default to t.
6835 (desktop-restore-in-current-display): Now offer more options.
6836 (desktop-restoring-reuses-frames): New customization option.
6837 (desktop--saved-states): Doc fix.
6838 (desktop-filter-parameters-alist): New variable, renamed and expanded
6839 from desktop--excluded-frame-parameters.
6840 (desktop--target-display): New variable.
6841 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6842 (desktop--filter-tty*, desktop--filter-*-color)
6843 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6844 (desktop--filter-save-desktop-parm)
6845 (desktop-restore-in-original-display-p): New functions.
6846 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6847 (desktop--save-minibuffer-frames): New function, inspired by a similar
6848 function from Martin Rudalics.
6849 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6850 (desktop--restore-in-this-display-p): Remove.
6851 (desktop--find-frame): Rename from desktop--find-frame-in-display
6852 and add predicate argument.
6853 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6854 (desktop--reuse-list): New variable.
6855 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6856 New functions.
6857 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6858
6859 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6860
6861 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6862
6863 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6864
6865 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6866 Highlight conversion methods on Kernel.
6867
6868 2013-07-13 Alan Mackenzie <acm@muc.de>
6869
6870 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6871 and comment it out. This out-commenting enables certain C++
6872 declarations to be parsed correctly.
6873
6874 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6875
6876 * international/mule.el (define-coding-system): Doc fix.
6877
6878 * simple.el (default-font-height): Don't call font-info if the
6879 frame's default font didn't change since the frame was created.
6880 (Bug#14838)
6881
6882 2013-07-13 Leo Liu <sdl.web@gmail.com>
6883
6884 * ido.el (ido-read-file-name): Guard against non-symbol value.
6885
6886 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6887
6888 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6889 in nested defuns.
6890
6891 2013-07-13 Leo Liu <sdl.web@gmail.com>
6892
6893 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6894 ido-set-matches call. (Bug#6852)
6895
6896 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6897
6898 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6899 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6900 Ruby 2.0.
6901 (ruby-font-lock-keywords): Distinguish calls to functions with
6902 module-like names from module references. Highlight character
6903 literals.
6904
6905 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6906
6907 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6908 (gdb-send): Handle continued commands. (Bug#14847)
6909
6910 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6911
6912 * desktop.el (desktop--v2s): Remove unused local variable.
6913 (desktop-save-buffer): Make defvar-local; adjust docstring.
6914 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6915 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6916
6917 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6918
6919 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6920
6921 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6922
6923 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6924 (Bug#14842)
6925
6926 2013-07-12 Glenn Morris <rgm@gnu.org>
6927
6928 * doc-view.el: Require cl-lib at runtime too.
6929 (doc-view-remove-if): Remove.
6930 (doc-view-search-next-match, doc-view-search-previous-match):
6931 Use cl-remove-if.
6932
6933 * edmacro.el: Require cl-lib at runtime too.
6934 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6935 (edmacro-mismatch, edmacro-subseq): Remove.
6936
6937 * shadowfile.el: Require cl-lib.
6938 (shadow-remove-if): Remove.
6939 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6940 Use cl-remove-if.
6941
6942 * wid-edit.el: Require cl-lib.
6943 (widget-choose): Use cl-remove-if.
6944 (widget-remove-if): Remove.
6945
6946 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6947 (ebrowse-delete-if-not): Remove.
6948 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6949 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6950 Use cl-delete-if-not.
6951
6952 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6953
6954 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6955 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6956
6957 2013-07-12 Leo Liu <sdl.web@gmail.com>
6958
6959 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6960
6961 2013-07-11 Glenn Morris <rgm@gnu.org>
6962
6963 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6964 (edebug-gensym-index, edebug-gensym):
6965 Remove reimplementation of cl-gensym.
6966 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6967
6968 * thumbs.el: Require cl-lib at run-time too.
6969 (thumbs-gensym-counter, thumbs-gensym):
6970 Remove reimplementation of cl-gensym.
6971 (thumbs-temp-file): Use cl-gensym.
6972
6973 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6974 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6975 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6976 (ert--union, ert--gensym-counter, ert--gensym-counter)
6977 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6978 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6979 (ert-make-test-unbound, ert--expand-should-1)
6980 (ert--expand-should, ert--should-error-handle-error)
6981 (should-error, ert--explain-equal-rec)
6982 (ert--plist-difference-explanation, ert-select-tests)
6983 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6984 Use cl-lib functions rather than reimplementations.
6985
6986 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6987
6988 * net/tramp.el (tramp-methods): Extend docstring.
6989 (tramp-connection-timeout): New defcustom.
6990 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6991 (with-tramp-progress-reporter): Simplify.
6992 (tramp-process-actions): Improve messages.
6993
6994 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6995 * net/tramp-sh.el (tramp-maybe-open-connection):
6996 Use `tramp-connection-timeout'.
6997 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6998 (Bug#14808)
6999
7000 2013-07-11 Leo Liu <sdl.web@gmail.com>
7001
7002 * ido.el (ido-read-file-name): Conform to the requirements of
7003 read-file-name. (Bug#11861)
7004 (ido-read-directory-name): Conform to the requirements of
7005 read-directory-name.
7006
7007 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7008
7009 * subr.el (delay-warning): New function.
7010
7011 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7012
7013 * simple.el (default-line-height): New function.
7014 (line-move-partial, line-move): Use it instead of computing the
7015 line height inline.
7016 (line-move-partial): Always compute ROWH. If the last line is
7017 partially-visible, but its text is completely visible, allow
7018 cursor to enter such a partially-visible line.
7019
7020 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7021
7022 Improve error messages. (Bug#14808)
7023
7024 * net/tramp.el (tramp-current-connection): New defvar, moved from
7025 tramp-sh.el.
7026 (tramp-message-show-progress-reporter-message): Remove, not
7027 needed anymore.
7028 (tramp-error-with-buffer): Show message in minibuffer.
7029 Discard input before waiting. Reset connection timestamp.
7030 (with-tramp-progress-reporter): Improve messages.
7031 (tramp-process-actions): Use progress reporter. Delete process in
7032 case of error. Improve messages.
7033
7034 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7035 Call `tramp-error-with-buffer' with vector and buffer.
7036 (tramp-current-connection): Remove.
7037 (tramp-maybe-open-connection): The car of
7038 `tramp-current-connection' are the first 3 slots of the vector.
7039
7040 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7041
7042 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7043 inside continued strings.
7044
7045 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7046
7047 Timestamp fixes for undo (Bug#14824).
7048 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7049
7050 2013-07-10 Leo Liu <sdl.web@gmail.com>
7051
7052 * files.el (require-final-newline): Allow safe local value.
7053 (Bug#14834)
7054
7055 2013-07-09 Leo Liu <sdl.web@gmail.com>
7056
7057 * ido.el (ido-read-directory-name): Handle fallback.
7058 (ido-read-file-name): Update DIR to ido-current-directory.
7059 (Bug#1516)
7060 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7061
7062 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7063
7064 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7065 "autoload". Remove "warn lower camel case" section, previously
7066 commented out. Highlight negation char. Do not highlight the
7067 target in singleton method definitions.
7068
7069 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * faces.el (tty-setup-hook): Declare the hook.
7072
7073 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7074 and detect when a guard/pred depends on local vars (bug#14773).
7075 (pcase--u1): Adjust caller.
7076
7077 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7078
7079 * simple.el (line-move-partial, line-move): Account for
7080 line-spacing.
7081 (line-move-partial): Avoid setting vscroll when the last
7082 partially-visible line in window is of default height.
7083
7084 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7085
7086 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7087 been used a while.
7088
7089 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7090
7091 * subr.el (read-quoted-char): Remove unused local variable `char'.
7092
7093 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7094
7095 * ediff.el (ediff-version): Version update.
7096 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7097 (ediff-merge-with-ancestor-command, ediff-directories-command)
7098 (ediff-directories3-command, ediff-merge-directories-command)
7099 (ediff-merge-directories-with-ancestor-command): New functions.
7100 All are command-line interfaces to ediff: to facilitate calling
7101 Emacs with the appropriate ediff functions invoked.
7102
7103 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7104 (viper-save-kill-buffer): Check if buffer is modified.
7105
7106 * viper.el (viper-version): Version update.
7107 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7108
7109 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7112 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7113 (viper-intercept-ESC-key): Simplify.
7114 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7115 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7116 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7117 (viper-setup-ESC-to-escape): New functions.
7118 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7119 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7120
7121 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7122
7123 * simple.el (default-font-height, window-screen-lines):
7124 New functions.
7125 (line-move, line-move-partial): Use them instead of
7126 frame-char-height and window-text-height. This makes scrolling
7127 text smoother when the buffer's default face uses a font that is
7128 different from the frame's default font.
7129
7130 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7131
7132 * files.el (write-file): Do not display confirm dialog for NS,
7133 it does its own dialog, which can't be cancelled (Bug#14578).
7134
7135 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7136
7137 * simple.el (line-move-partial): Adjust the row returned by
7138 posn-at-point for the current window-vscroll. (Bug#14567)
7139
7140 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7141
7142 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7143 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7144 spaces.
7145
7146 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7147
7148 * window.el (window-state-put-stale-windows): New variable.
7149 (window--state-put-2): Save list of windows without matching buffer.
7150 (window-state-put): Remove "bufferless" windows if possible.
7151
7152 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7153
7154 * simple.el (alternatives-define): Remove leftover :group keyword.
7155 Tweak docstring.
7156
7157 2013-07-06 Leo Liu <sdl.web@gmail.com>
7158
7159 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7160 (ido-enable-virtual-buffers): New variable.
7161 (ido-buffer-internal, ido-toggle-virtual-buffers)
7162 (ido-make-buffer-list): Use it.
7163 (ido-exhibit): Support turning on and off virtual buffers
7164 automatically.
7165
7166 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7167
7168 * simple.el (alternatives-define): New macro.
7169
7170 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7171
7172 * subr.el (read-quoted-char): Use read-key.
7173 (sit-for): Let read-event decode tty input (bug#14782).
7174
7175 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7176
7177 * calendar/todo-mode.el: Add handling of file deletion, both by
7178 mode command and externally. Fix various related bugs.
7179 Clarify Commentary and improve some documentation strings and code.
7180 (todo-delete-file): New command.
7181 (todo-check-file): New function.
7182 (todo-show): Handle external deletion of the file we're trying to
7183 show (bug#14688). Replace called-interactively-p by an optional
7184 prefix argument to avoid problematic interaction with catch form
7185 when byte compiled (bug#14702).
7186 (todo-quit): Handle external deletion of the archive's todo file.
7187 Make sure the buffer that was visiting the archive file is still
7188 live before trying to bury it.
7189 (todo-category-completions): Handle external deletion of any
7190 category completion files.
7191 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7192 of todo files, in case of external deletion.
7193 (todo-add-file): Replace unnecessary setq by let-binding.
7194 (todo-find-archive): Check whether there are any archives.
7195 Replace unnecessary setq by let-binding.
7196 (todo-archive-done-item): Use find-file-noselect to get the
7197 archive buffer whether or not the archive already exists.
7198 Remove superfluous code. Use file size instead of buffer-file-name to
7199 check if the archive is new; if it is, update list of archives.
7200 (todo-default-todo-file): Allow nil to be a valid value for when
7201 there are no todo files.
7202 (todo-reevaluate-default-file-defcustom): Use corrected definition
7203 of todo-default-todo-file.
7204 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7205 (todo-delete-category, todo-show-categories-table)
7206 (todo-category-number): Clarify comment.
7207 (todo-filter-items): Clarify documentation string.
7208 (todo-show-current-file, todo-display-as-todo-file)
7209 (todo-reset-and-enable-done-separator): Tweak documentation string.
7210 (todo-done-separator): Make separator length window-width, since
7211 bug#2749 is now fixed.
7212
7213 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7214
7215 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7216 Support both "gvfs-monitor-dir" and "inotifywait".
7217 (tramp-sh-file-inotifywait-process-filter): Rename from
7218 `tramp-sh-file-notify-process-filter'.
7219 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7220 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7221
7222 2013-07-05 Leo Liu <sdl.web@gmail.com>
7223
7224 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7225
7226 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7227
7228 * frame.el (display-pixel-height, display-pixel-width)
7229 (display-mm-height, display-mm-width): Mention behavior on
7230 multi-monitor setups in docstrings.
7231 (w32-display-monitor-attributes-list): Declare function.
7232 (display-monitor-attributes-list): Use it.
7233
7234 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7235
7236 * filenotify.el: New package.
7237
7238 * autorevert.el (top): Require filenotify.el.
7239 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7240 instead.
7241 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7242 (auto-revert-notify-handler): Use `file-notify-*' functions.
7243
7244 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7245
7246 * net/tramp.el (tramp-file-name-for-operation):
7247 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7248
7249 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7250 for `file-notify-add-watch' and `file-notify-rm-watch'.
7251 (tramp-process-sentinel): Improve trace.
7252 (tramp-sh-handle-file-notify-add-watch)
7253 (tramp-sh-file-notify-process-filter)
7254 (tramp-sh-handle-file-notify-rm-watch)
7255 (tramp-get-remote-inotifywait): New defuns.
7256
7257 2013-07-03 Juri Linkov <juri@jurta.org>
7258
7259 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7260 call of `occur-read-primary-args' to interactive spec.
7261
7262 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7263 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7264
7265 2013-07-03 Matthias Meulien <orontee@gmail.com>
7266
7267 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7268 `Buffer-menu-multi-occur'. Add it to the menu.
7269 (Buffer-menu-mode): Document it in docstring.
7270 (Buffer-menu-multi-occur): New command. (Bug#14673)
7271
7272 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7273
7274 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7275 keywords and built-ins.
7276
7277 2013-07-03 Glenn Morris <rgm@gnu.org>
7278
7279 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7280
7281 Make info-xref checks case-sensitive by default
7282 * info.el (Info-find-node, Info-find-in-tag-table)
7283 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7284 Add option for exact case matching of nodes.
7285 * info-xref.el (info-xref): New custom group.
7286 (info-xref-case-fold): New option.
7287 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7288
7289 2013-07-03 Leo Liu <sdl.web@gmail.com>
7290
7291 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7292
7293 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7294
7295 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7296 middle of block statement initially, lower the depth. Remove
7297 FIXME comment, not longer valid. Remove middle of block statement
7298 detection, no need to do that anymore since we've been using
7299 `ruby-parse-region' here.
7300
7301 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7302
7303 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7304
7305 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7306
7307 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7308
7309 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7310
7311 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7312 (desktop-restore-in-current-display): New customization option.
7313 (desktop--excluded-frame-parameters): Add `font'.
7314 (desktop--save-frames): Rename from desktop--save-windows.
7315 (desktop--restore-in-this-display-p): New function.
7316 (desktop--make-full-frame): Remove unwanted width/height from
7317 full(width|height) frames.
7318 (desktop--restore-frames): Rename from desktop--restore-windows.
7319 Obey desktop-restore-current-display. Do not delete old frames or
7320 select a new frame unless we were able to restore at least one frame.
7321
7322 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7323
7324 * files.el (find-file-noselect): Simplify conditional expression.
7325
7326 * remember.el (remember-append-to-file):
7327 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7328
7329 Add `remember-notes' function to store random notes across Emacs
7330 restarts.
7331 * remember.el (remember-data-file): Add :set callback to affect
7332 notes buffer (if any).
7333 (remember-notes): New command.
7334 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7335 New defcustoms for the `remember-notes' function.
7336 (remember-notes-save-and-bury-buffer): New command.
7337 (remember-notes-mode-map): New variable.
7338 (remember-mode): New minor mode.
7339 (remember-notes--kill-buffer-query): New function.
7340 * startup.el (initial-buffer-choice): Add notes to custom type.
7341
7342 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7343
7344 * bindings.el (right-char, left-char): Don't call sit-for, this is
7345 no longer needed. Use arithmetic comparison only for numerical
7346 arguments.
7347
7348 * international/mule-cmds.el (select-safe-coding-system):
7349 Handle the case of FROM being a string correctly. (Bug#14755)
7350
7351 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7352
7353 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7354 progression on degenerate tables.
7355 (shr-rescale-image): ImageMagick animated images currently don't work.
7356
7357 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7358
7359 Some fixes and improvements for desktop frame restoration.
7360 It is still experimental and disabled by default.
7361 * desktop.el (desktop--save-windows): Put the selected frame at
7362 the head of the list.
7363 (desktop--make-full-frame): New function.
7364 (desktop--restore-windows): Try to re-select the frame that was
7365 selected upon saving. Do not abort if some frames fail to restore,
7366 just show an error message and continue. Set up maximized frames
7367 so they have default non-maximized dimensions.
7368
7369 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7370
7371 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7372 Don't start heredoc inside a string or comment.
7373
7374 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7375
7376 * bindings.el (visual-order-cursor-movement): New defcustom.
7377 (right-char, left-char): Provide visual-order cursor motion by
7378 calling move-point-visually. Update the doc strings.
7379
7380 2013-06-28 Kenichi Handa <handa@gnu.org>
7381
7382 * international/mule.el (define-coding-system): New coding system
7383 properties :inhibit-null-byte-detection,
7384 :inhibit-iso-escape-detection, and :prefer-utf-8.
7385 (set-buffer-file-coding-system): If :charset-list property of
7386 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7387 appropriate for setting.
7388
7389 * international/mule-cmds.el (select-safe-coding-system):
7390 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7391 multibyte characters, return utf-8 (or one of its siblings).
7392
7393 * international/mule-conf.el (prefer-utf-8): New coding system.
7394 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7395 files.
7396
7397 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7398
7399 * net/shr.el (shr-render-region): New function.
7400
7401 * net/eww.el: Autoload `eww-browse-url'.
7402
7403 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7404
7405 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7406 Adapt to `package-desc-version' being a list.
7407 Use `package--ac-desc-version' to retrieve version from a package
7408 archive element.
7409
7410 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7411
7412 New experimental feature to save&restore window and frame setup.
7413 * desktop.el (desktop-save-windows): New defcustom.
7414 (desktop--saved-states): New var.
7415 (desktop--excluded-frame-parameters): New defconst.
7416 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7417 (desktop--restore-windows, desktop--save-windows): New functions.
7418 (desktop-save): Call `desktop--save-windows'.
7419 (desktop-read): Call `desktop--restore-windows'.
7420
7421 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7422
7423 * net/shr.el (add-face-text-property): Remove compat definition.
7424
7425 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7426
7427 * info.el (Info-try-follow-nearest-node): Move search for footnote
7428 above search for node name to prevent missing a footnote (bug#14717).
7429
7430 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7431
7432 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7433
7434 2013-06-27 Leo Liu <sdl.web@gmail.com>
7435
7436 * net/eww.el (eww-read-bookmarks): Check file size.
7437
7438 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7441 advice--pending if newdef is nil or an autoload (bug#13820).
7442 (advice-mapc): New function.
7443
7444 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7445
7446 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7447 probably.
7448 (eww-mode-map): Add a menu bar.
7449 (eww-add-bookmark): New command.
7450 (eww-bookmark-mode): New mode and commands.
7451 (eww-add-bookmark): Remove newlines from the title.
7452 (eww-bookmark-browse): Don't bug out if it's the only window.
7453
7454 2013-06-26 Glenn Morris <rgm@gnu.org>
7455
7456 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7457 (hfy-size): Handle ttys. (Bug#14668)
7458
7459 * info-xref.el: Update for Texinfo 5 change in *note format.
7460 (info-xref-node-re, info-xref-note-re): New constants.
7461 (info-xref-check-buffer): Use info-xref-note-re.
7462
7463 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7466
7467 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7468 nil terminate the loop (bug#14718).
7469
7470 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7471
7472 * net/eww.el: Rework history traversal. When going forward/back,
7473 put these actions into the history, too, so that they can be
7474 replayed.
7475 (eww-render): Move the history reset to the correct buffer.
7476
7477 2013-06-25 Juri Linkov <juri@jurta.org>
7478
7479 * files-x.el (modify-dir-local-variable): Change the header comment
7480 in the file with directory local variables. (Bug#14692)
7481
7482 * files-x.el (read-file-local-variable-value): Add `default'.
7483 (Bug#14710)
7484
7485 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7486
7487 * net/eww.el (eww-make-unique-file-name): Create a unique file
7488 name before saving to entering `y' accidentally asynchronously.
7489
7490 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7491
7492 * net/eww.el (eww-download): New command and keystroke.
7493
7494 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7495
7496 * net/eww.el (eww-copy-page-url): Change name of command.
7497
7498 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7499 be more consistent with Info and dired.
7500
7501 * net/eww.el (eww-mode-map): Ditto.
7502
7503 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7506 packages from archives.
7507 (package-archive-contents): Change format; include obsolete packages.
7508 (package-desc): Use `dir' to mark builtin packages.
7509 (package--from-builtin): Set the `dir' field to `builtin'.
7510 (generated-autoload-file, version-control): Declare.
7511 (package-compute-transaction): Change first arg and return value to be
7512 lists of package-descs. Adjust to new package-archive-contents format.
7513 (package--add-to-archive-contents): Adjust to new
7514 package-archive-contents format.
7515 (package-download-transaction): Arg is now a list of package-descs.
7516 (package-install): If `pkg' is a package name, pass it as
7517 a requirement, so it is subject to the usual (e.g. disabled) checks.
7518 (describe-package): Accept package-desc as well.
7519 (describe-package-1): Describe a specific package-desc. Add links to
7520 other package-descs for the same package name.
7521 (package-menu-describe-package): Pass the actual package-desc.
7522 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7523 works correctly.
7524 (package-desc-status): New function.
7525 (package-menu--refresh): New function, extracted
7526 from package-menu--generate.
7527 (package-menu--generate): Use it.
7528 (package-delete): Update package-alist.
7529 (package-menu-execute): Don't call package-initialize.
7530
7531 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7532 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7533 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7534 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7535 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7536 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7537
7538 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7539
7540 * window.el (window--state-get-1): Workaround for bug#14527.
7541 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7542
7543 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7544
7545 * net/eww.el (eww-back-url): Implement the history by stashing all
7546 the data into a list.
7547 (eww-forward-url): Allow going forward in the history, too.
7548
7549 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7550
7551 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7552 for values and use read--expression for expressions (bug#14710).
7553 (read-file-local-variable): Avoid setq.
7554 (read-file-local-variable-mode): Use minor-mode-list.
7555
7556 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7557
7558 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7559 for DOI URLs.
7560
7561 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7562
7563 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7564 Update imenu-support when dialect changes.
7565
7566 2013-06-25 Leo Liu <sdl.web@gmail.com>
7567
7568 * ido.el (ido-read-internal): Allow forward slash on windows.
7569
7570 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7571
7572 * net/eww.el (eww): Start of strings is \\`, not ^.
7573
7574 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7575
7576 * net/shr.el (shr-browse-url): Fix interactive spec.
7577
7578 * net/eww.el (eww): Add a trailing slash to domain names.
7579
7580 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7581
7582 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7583
7584 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7585
7586 * net/shr.el (shr-browse-url): Use an external browser if given a
7587 prefix.
7588
7589 * net/eww.el (eww-external-browser): Move to shr.
7590
7591 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7592
7593 * net/eww.el (eww): Work more correctly for file: URLs.
7594 (eww-detect-charset): Allow quoted charsets.
7595 (eww-yank-page-url): New command and keystroke.
7596
7597 2013-06-24 Daiki Ueno <ueno@gnu.org>
7598
7599 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7600 file name of gpg executable.
7601 (epg-context-program): New function.
7602 (epg-context-home-directory): New function.
7603 (epg-context-set-program): New function.
7604 (epg-context-set-home-directory): New function.
7605 (epg--start): Use `epg-context-program' instead of
7606 'epg-gpg-program'.
7607 (epg--list-keys-1): Likewise.
7608
7609 2013-06-24 Leo Liu <sdl.web@gmail.com>
7610
7611 * ido.el (ido-read-internal): Fix bug#14620.
7612
7613 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7614
7615 * faces.el (face-documentation): Simplify.
7616 (read-face-attribute, tty-find-type, x-resolve-font-name):
7617 Use `string-match-p'.
7618 (list-faces-display): Use `string-match-p'. Simplify.
7619 (face-spec-recalc): Check face to avoid face alias loops.
7620 (read-color): Use `string-match-p' and non-capturing parenthesis.
7621
7622 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7623
7624 * net/shr.el (shr-rescale-image): Use the new
7625 :max-width/:max-height functionality.
7626
7627 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7628
7629 * net/eww.el (eww-search-prefix): New variable.
7630 (eww): Use it.
7631 (eww-external-browser): New variable.
7632 (eww-mode-map): New keystroke.
7633 (eww-browse-with-external-browser): New command.
7634
7635 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7636
7637 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7638
7639 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7640 Don't skip aligning the next header field when padding is 0;
7641 otherwise, field width is not respected unless the title is as
7642 wide as the field.
7643
7644 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7645
7646 * emacs-lisp/package.el (package-el-version): Remove.
7647 (package-process-define-package): Fix inf-loop.
7648 (package-install): Allow symbols as arguments again.
7649
7650 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7651
7652 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7653 add some more keyword-like methods.
7654 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7655
7656 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7657
7658 * bs.el (bs-buffer-show-mark): Make defvar-local.
7659 (bs-mode): Use setq-local.
7660
7661 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7662 (emacs-lock--try-unlocking): Make defvar-local.
7663
7664 2013-06-22 Glenn Morris <rgm@gnu.org>
7665
7666 * play/cookie1.el (cookie-apropos): Minor simplification.
7667
7668 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7669
7670 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7671
7672 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7673 `regexp-opt', it breaks the build during dumping.
7674
7675 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7676
7677 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7678 Highlight keyword-like methods on Kernel and Module with
7679 font-lock-builtin-face.
7680 (auto-mode-alist): Consolidate different entries into one regexp
7681 and add more *file-s.
7682
7683 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7684
7685 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7686
7687 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7688 (diary-entry): Use it in the action of this button type instead of
7689 diary-goto-entry.
7690
7691 * calendar/todo-mode.el: New version.
7692 (todo-add-category): Append new category to end of file and give
7693 it the highest number, instead of putting it at the beginning and
7694 giving it 0. Incorporate noninteractive functionality.
7695 (todo-forward-category): Adapt to 1-based category numbering.
7696 Allow skipping over archived categories.
7697 (todo-backward-category): Derive from todo-forward-category.
7698 (todo-backward-item, todo-forward-item): Make noninteractive and
7699 delegate interactive part to new commands. Make sensitive to done items.
7700 (todo-categories): Make value an alist of category names and
7701 vectors of item counts.
7702 (todo-category-beg): Make a defconst.
7703 (todo-category-number): Use 1 instead of 0 as initial value.
7704 (todo-category-select): Make sensitive to overlays, optional item
7705 highlighting and done items.
7706 (todo-delete-item): Make sensitive to overlays and marked and done items.
7707 (todo-edit-item): Make sensitive to overlays and editing of
7708 date/time header optional. Add format checks.
7709 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7710 no-op if point is not on an item. Advertise using todo-edit-quit.
7711 (todo-edit-mode): Make sensitive to new format, font-locking, and
7712 multiple todo files.
7713 (todo-insert-item, todo-insert-item-here): Derive from
7714 todo-basic-insert-item and extend functionality.
7715 (todo-item-end, todo-item-start): Make sensitive to done items.
7716 (todo-item-string): Don't return text properties. Restore point.
7717 (todo-jump-to-category): Make sensitive to multiple todo files and
7718 todo archives. Use extended category completion.
7719 (todo-lower-item, todo-raise-item): Rename to *-priority and
7720 derive from todo-set-item-priority.
7721 (todo-mode): Derive from special-mode. Make sensitive to new
7722 format, font-locking and multiple todo files. Make read-only.
7723 (todo-mode-map): Don't suppress digit keys, so they can supply
7724 prefix arguments. Add many new key bindings.
7725 (todo-prefix): Insert as an overlay instead of file text.
7726 Change semantics from diary date expression to purely visual mark.
7727 (todo-print): Rename to todo-print-buffer. Make buffer display
7728 features printable. Remove option to restrict number of items
7729 printed. Add option to print to file.
7730 (todo-print-function): Rename to todo-print-buffer-function.
7731 (todo-quit): Extend to handle exiting new todo modes.
7732 (todo-remove-item): Make sensitive to overlays.
7733 (todo-save): Extend to buffers of filtered items.
7734 (todo-show): Make sensitive to done items, multiple todo files and
7735 new todo modes. Offer to convert legacy todo file before creating
7736 first new todo file.
7737 (todo-show-priorities): Rename to todo-top-priorities.
7738 Change semantics of value 0.
7739 (todo-top-priorities): Rename to todo-filter-top-priorities,
7740 derive from todo-filter-items and extend functionality.
7741 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7742 and extend functionality to other types of filtered items.
7743 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7744 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7745 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7746 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7747 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7748 (todo-edit-mode-hook, todo-entry-prefix-function)
7749 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7750 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7751 (todo-initials, todo-insert-threshold, todo-item-string-start)
7752 (todo-line-string, todo-menu, todo-mode-hook)
7753 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7754 (todo-print-priorities, todo-remove-separator)
7755 (todo-save-top-priorities-too, todo-string-count-lines)
7756 (todo-string-multiline-p, todo-time-string-format)
7757 (todo-tmp-buffer-name): Remove.
7758 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7759 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7760 (todo-edit-category-diary-inclusion)
7761 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7762 (todo-edit-file, todo-edit-item-date-day)
7763 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7764 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7765 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7766 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7767 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7768 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7769 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7770 (todo-filter-top-priorities-multifile, todo-find-archive)
7771 (todo-find-filtered-items-file, todo-go-to-source-item)
7772 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7773 (todo-jump-to-archive-category, todo-lower-category)
7774 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7775 (todo-move-category, todo-move-item, todo-next-button)
7776 (todo-next-item, todo-padded-string, todo-powerset)
7777 (todo-previous-button, todo-previous-item)
7778 (todo-print-buffer-to-file, todo-raise-category)
7779 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7780 (todo-set-category-number, todo-set-item-priority)
7781 (todo-set-top-priorities-in-category)
7782 (todo-set-top-priorities-in-file, todo-show-categories-table)
7783 (todo-sort-categories-alphabetically-or-numerically)
7784 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7785 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7786 (todo-toggle-item-header, todo-toggle-item-highlighting)
7787 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7788 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7789 (todo-unarchive-items, todo-unmark-category): New commands.
7790 (todo-absolute-file-name, todo-add-to-buffer-list)
7791 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7792 (todo-basic-insert-item, todo-category-completions)
7793 (todo-category-number, todo-category-string-matcher-1)
7794 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7795 (todo-check-format, todo-clear-matches)
7796 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7797 (todo-current-category, todo-date-string-matcher)
7798 (todo-define-insertion-command, todo-diary-expired-matcher)
7799 (todo-diary-goto-entry, todo-diary-item-p)
7800 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7801 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7802 (todo-done-item-section-p, todo-done-separator)
7803 (todo-done-string-matcher, todo-files, todo-filter-items)
7804 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7805 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7806 (todo-insert-category-line, todo-insert-item-from-calendar)
7807 (todo-insert-sort-button, todo-insert-with-overlays)
7808 (todo-insertion-command-name, todo-insertion-key-bindings)
7809 (todo-label-to-key, todo-longest-category-name-length)
7810 (todo-make-categories-list, todo-mode-external-set)
7811 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7812 (todo-modes-set-3, todo-multiple-filter-files)
7813 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7814 (todo-read-category, todo-read-date, todo-read-dayname)
7815 (todo-read-file-name, todo-read-time)
7816 (todo-reevaluate-category-completions-files-defcustom)
7817 (todo-reevaluate-default-file-defcustom)
7818 (todo-reevaluate-filelist-defcustoms)
7819 (todo-reevaluate-filter-files-defcustom)
7820 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7821 (todo-reset-done-separator, todo-reset-done-separator-string)
7822 (todo-reset-done-string, todo-reset-global-current-todo-file)
7823 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7824 (todo-reset-prefix, todo-set-categories)
7825 (todo-set-date-from-calendar, todo-set-show-current-file)
7826 (todo-set-top-priorities, todo-short-file-name)
7827 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7828 (todo-total-item-counts, todo-update-buffer-list)
7829 (todo-update-categories-display, todo-update-categories-sexp)
7830 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7831 New functions.
7832 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7833 New major modes.
7834 (todo-categories, todo-display, todo-edit, todo-faces)
7835 (todo-filtered): New defgroups.
7836 (todo-archived-only, todo-button, todo-category-string, todo-date)
7837 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7838 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7839 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7840 (todo-add-item-if-new-category, todo-always-add-time-string)
7841 (todo-categories-align, todo-categories-archived-label)
7842 (todo-categories-category-label, todo-categories-diary-label)
7843 (todo-categories-done-label, todo-categories-number-separator)
7844 (todo-categories-todo-label, todo-categories-totals-label)
7845 (todo-category-completions-files, todo-completion-ignore-case)
7846 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7847 (todo-done-separator-string, todo-done-string)
7848 (todo-files-function, todo-filter-done-items, todo-filter-files)
7849 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7850 (todo-initial-category, todo-initial-file, todo-item-mark)
7851 (todo-legacy-date-time-regexp, todo-mode-line-function)
7852 (todo-nondiary-marker, todo-number-prefix)
7853 (todo-print-buffer-function, todo-show-current-file)
7854 (todo-show-done-only, todo-show-first, todo-show-with-done)
7855 (todo-skip-archived-categories, todo-top-priorities-overrides)
7856 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7857 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7858 New defcustoms.
7859 (todo-category-done, todo-date-pattern, todo-date-string-start)
7860 (todo-diary-items-buffer, todo-done-string-start)
7861 (todo-filtered-items-buffer, todo-item-start)
7862 (todo-month-abbrev-array, todo-month-name-array)
7863 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7864 (todo-top-priorities-buffer): New defconsts.
7865 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7866 (todo-categories-with-marks, todo-category-string-face)
7867 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7868 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7869 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7870 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7871 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7872 (todo-font-lock-keywords, todo-global-current-todo-file)
7873 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7874 (todo-insertion-commands-args)
7875 (todo-insertion-commands-args-genlist)
7876 (todo-insertion-commands-names, todo-insertion-map)
7877 (todo-key-bindings-t, todo-key-bindings-t+a)
7878 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7879 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7880 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7881 (todo-visited): New variables.
7882
7883 2013-06-21 Glenn Morris <rgm@gnu.org>
7884
7885 * play/cookie1.el (cookie-apropos): Add optional display argument.
7886 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7887 (psychoanalyze-pinhead): Use cookie-doctor.
7888
7889 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7890
7891 * emacs-lisp/package.el (tar-get-file-descriptor)
7892 (tar--extract): Declare.
7893
7894 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7895
7896 Extend flymake's warning predicate to be a function (bug#14217).
7897 * progmodes/flymake.el (flymake-warning-predicate): New.
7898 (flymake-parse-line): Use it.
7899 (flymake-warning-re): Make obsolete alias to
7900 `flymake-warning-predicate'.
7901
7902 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7903
7904 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7905 (package-obsolete-list): Remove.
7906 (package-activate): Remove min-version argument. Add `force' argument.
7907 Adjust to new package-alist format.
7908 (package-mark-obsolete): Remove.
7909 (package-unpack): Force reload of the package's autoloads.
7910 (package-installed-p): Check builtins if the installed package is not
7911 recent enough.
7912 (package-initialize): Don't reset package-obsolete-list.
7913 Don't specify which package version to activate.
7914 (package-process-define-package, describe-package-1)
7915 (package-menu--generate): Adjust to new package-alist format.
7916
7917 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7918
7919 * allout-widgets.el (allout-widgets-mode-off)
7920 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7921 (allout-widgets-post-command-business)
7922 (allout-widgets-after-copy-or-kill-function)
7923 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7924 (allout-decorate-item-and-context)
7925 (allout-graphics-modification-handler): Fix typos in docstrings.
7926 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7927
7928 * cmuscheme.el (scheme-start-file): Doc fix.
7929 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7930 (scheme-input-filter): Use `string-match-p'.
7931
7932 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7933
7934 * dired-x.el: Use Dired consistently in docstrings.
7935
7936 * dired.el: Use Dired consistently in docstrings.
7937 (dired-readin, dired-mode): Use `setq-local'.
7938 (dired-switches-alist): Make defvar-local.
7939 (dired-buffers-for-dir): Use `zerop'.
7940 (dired-safe-switches-p, dired-switches-escape-p)
7941 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7942 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7943 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7944 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7945 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7946 (dired-toggle-marks, dired-mark-files-containing-regexp)
7947 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7948 (dired-flag-auto-save-files, dired-flag-backup-files):
7949 Use `looking-at-p'.
7950 (dired-mark-files-regexp, dired-build-subdir-alist):
7951 Use `string-match-p', `looking-at-p'.
7952
7953 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7954 (direct-print-region-helper): Use `string-match-p'.
7955
7956 2013-06-21 Leo Liu <sdl.web@gmail.com>
7957
7958 * comint.el (comint-redirect-results-list-from-process):
7959 Fix infinite loop.
7960
7961 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7962
7963 * net/eww.el (eww-update-header-line-format): Quote % characters.
7964
7965 2013-06-21 Glenn Morris <rgm@gnu.org>
7966
7967 * play/cookie1.el (cookie): New custom group.
7968 (cookie-file): New option.
7969 (cookie-check-file): New function.
7970 (cookie): Make it interactive. Make start and end messages optional.
7971 Interactively, display the result. Default to cookie-file.
7972 (cookie-insert): Default to cookie-file.
7973 (cookie-snarf): Make start and end messages optional.
7974 Default to cookie-file. Use with-temp-buffer.
7975 (cookie-read): Rename from read-cookie.
7976 Make start and end messages optional. Default to cookie-file.
7977 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7978 Do not autoload it.
7979 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7980 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7981
7982 2013-06-21 Leo Liu <sdl.web@gmail.com>
7983
7984 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7985
7986 2013-06-21 Glenn Morris <rgm@gnu.org>
7987
7988 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7989
7990 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7991 Daniel Hackney <dan@haxney.org>
7992
7993 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7994 Consolidate the single-file vs tarball code.
7995 (package-desc-suffix): New function.
7996 (package-desc-full-name): Don't bother inlining it.
7997 (package-load-descriptor): Return the new package-desc.
7998 (package-mark-obsolete): Remove unused arg `package'.
7999 (package-unpack): Make it work for single files as well.
8000 Make it update package-alist.
8001 (package--make-autoloads-and-stuff): Rename from
8002 package--make-autoloads-and-compile. Don't compile any more.
8003 (package--compile): New function.
8004 (package-generate-description-file): New function, extracted from
8005 package-unpack-single.
8006 (package-unpack-single): Remove.
8007 (package--with-work-buffer): Add indentation and debugging info.
8008 (package-download-single): Remove.
8009 (package-install-from-archive): Rename from package-download-tar, make
8010 it take a pkg-desc, and make it work for single files as well.
8011 (package-download-transaction): Simplify.
8012 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8013 external tar program.
8014 (package-install-from-buffer): Remove `pkg-desc' argument.
8015 Use package-tar-file-info for tar-mode buffers.
8016 (package-install-file): Simplify accordingly.
8017 (package-archive-base): Change to take a pkg-desc.
8018 * tar-mode.el (tar--check-descriptor): New function, extracted from
8019 tar-get-descriptor.
8020 (tar-get-descriptor): Use it.
8021 (tar-get-file-descriptor): New function.
8022 (tar--extract): New function, extracted from tar-extract.
8023 (tar--extract): Use it.
8024 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8025 case the summary uses non-ascii. Adjust to new calling convention of
8026 package-tar-file-info.
8027
8028 2013-06-21 Leo Liu <sdl.web@gmail.com>
8029
8030 * comint.el (comint-redirect-results-list-from-process):
8031 Fix random delay. (Bug#14681)
8032
8033 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8034
8035 * profiler.el (profiler-format-number): Use log, not log10.
8036
8037 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8038
8039 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8040
8041 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8044 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8045 yet available.
8046 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8047 (AUTOGENEL): ... here.
8048 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8049 (cl--defsubst-expand): Use it.
8050
8051 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8052
8053 * subr.el (log10): Move here from C code, and declare as obsolete.
8054 All uses of (log10 X) replaced with (log X 10).
8055
8056 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8057
8058 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8059 Declare with `defvar-local'.
8060 (tabulated-list-use-header-line, tabulated-list-entries)
8061 (tabulated-list-padding, tabulated-list-printer)
8062 (tabulated-list-sort-key): Declare with `defvar-local'.
8063 (tabulated-list-init-header, tabulated-list-print-fake-header):
8064 Use `setq-local'.
8065
8066 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8067
8068 * arc-mode.el (archive-mode): Add `archive-write-file' to
8069 `write-contents-functions' also for remote files. (Bug#14652)
8070
8071 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8072
8073 * cus-edit.el (custom-commands): Fix typos.
8074 (custom-display): Fix tooltip text.
8075 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8076 Fix typos in docstrings.
8077 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8078 (custom-unlispify-menu-entry, custom-magic-value-create)
8079 (custom-add-see-also, custom-group-value-create): Use ?\s.
8080 (custom-guess-type, customize-apropos, editable-field)
8081 (custom-face-value-create): Use `string-match-p'.
8082 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8083
8084 * custom.el (custom-load-symbol): Use `string-match-p'.
8085
8086 * ansi-color.el: Convert to lexical binding.
8087 (ansi-colors): Fix URL.
8088 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8089 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8090 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8091
8092 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8093
8094 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8095
8096 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8097
8098 2013-06-19 Tom Tromey <tromey@redhat.com>
8099
8100 * net/eww.el (eww-top-url): Remove.
8101 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8102 (eww-render): Set new variables. Don't set eww-top-url.
8103 (eww-handle-link): Handle "prev", "home", and "contents".
8104 Downcase the rel text.
8105 (eww-top-url): Choose best top URL.
8106
8107 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8108
8109 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8110 relying in widget.el. Using widget.el leads to too many
8111 user interface inconsistencies.
8112 (eww-self-insert): Implement entering commands in text fields.
8113 (eww-process-text-input): New function to make text input field editing
8114 work.
8115 (eww-submit): Rewrite to use the new-style form methods.
8116 (eww-select-display): Display the correct selected item.
8117 (eww-change-select): Implement changing the select value.
8118 (eww-toggle-checkbox): Implement radio/checkboxes.
8119 (eww-update-field): Fix compilation error.
8120 (eww-tag-textarea): Implement <textarea>.
8121
8122 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8123 we don't shadow mode-specific bindings.
8124
8125 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8126 nothing to push.
8127
8128 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8129
8130 2013-06-19 Glenn Morris <rgm@gnu.org>
8131
8132 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8133
8134 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8135
8136 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8137 not needed.
8138
8139 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8140
8141 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8142
8143 * net/browse-url.el (browse-url-browser-function):
8144 `eww-browse-url' has the right calling signature, `eww' does not.
8145
8146 2013-06-19 Glenn Morris <rgm@gnu.org>
8147
8148 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8149 Only eval autoloaded macros.
8150 (byte-compile-autoload): Only give the macro warning for macros.
8151
8152 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8153 (ps-underlined-faces): Declare.
8154
8155 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8156 (speedbar-add-supported-extension): Declare.
8157
8158 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8159 Don't include a date stamp in the header of the generated file;
8160 it leads to needless differences between output files.
8161
8162 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8163
8164 * net/secrets.el (secrets-struct-secret-content-type):
8165 Replace check of introspection data by a test call of "CreateItem".
8166 Some servers do not offer introspection.
8167
8168 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * electric.el (electric-pair-mode): Improve interaction with
8171 electric-layout-mode.
8172 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8173 (electric-pair-syntax): Use text-mode-syntax-table in comments
8174 and strings.
8175 (electric-pair--insert): New function.
8176 (electric-pair-post-self-insert-function): Use it and
8177 electric--after-char-pos.
8178
8179 2013-06-19 Leo Liu <sdl.web@gmail.com>
8180
8181 * progmodes/octave.el (octave-help): Fix regexp.
8182
8183 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8184
8185 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8186 (shr-table-horizontal-line): Allow nil as a value, and change the
8187 default.
8188 (shr-insert-table-ruler): Respect the nil value.
8189
8190 2013-06-18 Tom Tromey <tromey@barimba>
8191
8192 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8193 New defvars.
8194 (eww-open-file): New defun.
8195 (eww-render): Initialize new variables.
8196 (eww-display-html): Handle "link" and "a".
8197 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8198 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8199 (eww-back-url): Rename from eww-previous-url.
8200 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8201 New defuns.
8202
8203 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8204
8205 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8206 Distinguish ternary operator tokens from slash symbol and slash
8207 char literal.
8208
8209 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8210
8211 Convert symbol prettification into minor mode and global minor mode.
8212
8213 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8214 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8215 (prettify-symbols--keywords): Rename from
8216 `prog-prettify-symbols-alist' and make a local defvar.
8217 (prettify-symbols--compose-symbol): Rename from
8218 `prog--prettify-font-lock-compose-symbol'.
8219 (prettify-symbols--make-keywords): Rename from
8220 `prog-prettify-font-lock-symbols-keywords' and simplify.
8221 (prog-prettify-install): Remove.
8222 (prettify-symbols-mode): New minor mode, based on
8223 `prog-prettify-install'.
8224 (turn-on-prettify-symbols-mode): New function.
8225 (global-prettify-symbols-mode): New globalized minor mode.
8226
8227 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8228 * progmodes/cfengine.el (cfengine3-mode):
8229 * progmodes/perl-mode.el (perl-mode): Don't call
8230 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8231
8232 2013-06-18 Juri Linkov <juri@jurta.org>
8233
8234 * files-x.el (modify-file-local-variable-message): New function.
8235 (modify-file-local-variable)
8236 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8237 and call `modify-file-local-variable-message' when it's non-nil.
8238 (add-file-local-variable, delete-file-local-variable)
8239 (add-file-local-variable-prop-line)
8240 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8241 and use it. (Bug#9820)
8242
8243 2013-06-18 Juri Linkov <juri@jurta.org>
8244
8245 * emulation/vi.el (vi-shell-op):
8246 * emulation/vip.el (vip-execute-com, ex-command):
8247 * emulation/viper-cmd.el (viper-exec-bang):
8248 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8249 the call of `shell-command-on-region'. (Bug#14637)
8250
8251 * simple.el (shell-command-on-region): Doc fix.
8252
8253 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8256 (bug#14633).
8257
8258 2013-06-18 Glenn Morris <rgm@gnu.org>
8259
8260 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8261
8262 * newcomment.el (comment-search-forward, comment-search-backward):
8263 Doc fix. (Bug#14376)
8264
8265 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8266
8267 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8268 (buffer-face-mode-invoke): Doc fix.
8269
8270 2013-06-18 Matthias Meulien <orontee@gmail.com>
8271
8272 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8273 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8274
8275 2013-06-18 Glenn Morris <rgm@gnu.org>
8276
8277 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8278 Replace obsolete function generic-make-keywords with its expansion.
8279
8280 * progmodes/python.el (ffap-alist): Declare.
8281
8282 * textmodes/reftex.el (bibtex-mode-map): Declare.
8283
8284 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8287 (package-unpack, package-unpack-single): Return the pkg-dir.
8288 (package-download-transaction): Use it to update package-alist.
8289
8290 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8291
8292 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8293 possible choice.
8294
8295 2013-06-17 Juri Linkov <juri@jurta.org>
8296
8297 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8298
8299 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8300
8301 * emacs-lisp/package.el (package-load-descriptor):
8302 Remove `with-syntax-table' call, `read' doesn't need it.
8303 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8304
8305 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8306
8307 * startup.el (command-line): Expand package name returned by
8308 `package--description-file' (bug#14639).
8309
8310 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8311
8312 * emacs-lisp/package.el (package-load-descriptor): Do not call
8313 `emacs-lisp-mode', just use its syntax table.
8314
8315 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8316
8317 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8318 `font-lock-extra-managed-props' if any prettifying keyword is added.
8319 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8320 (prog-mode): Use `setq-local'.
8321
8322 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * international/characters.el (standard-case-table): Set syntax of ?»
8325 and ?« to punctuation.
8326
8327 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8328
8329 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8330 Save relevant match data before calling `syntax-ppss' (bug#14595).
8331
8332 2013-06-15 Juri Linkov <juri@jurta.org>
8333
8334 * files-x.el (modify-file-local-variable-prop-line): Add local
8335 variables to the end of the existing comment on the first line.
8336 Use `file-auto-mode-skip' to skip interpreter magic line,
8337 and also skip XML declaration.
8338
8339 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8340
8341 * startup.el (package--builtin-versions): New var.
8342 (package-subdirectory-regexp): Remove.
8343 (package--description-file): Hard code its value instead.
8344
8345 * emacs-lisp/package.el: Don't activate packages older than builtin.
8346 (package-obsolete-list): Rename from package-obsolete-alist, and make
8347 it into a simple list of package-desc.
8348 (package-strip-version): Remove.
8349 (package-built-in-p): Use package--builtin-versions.
8350 (package-mark-obsolete): Simplify.
8351 (package-process-define-package): Mark it obsolete if older than the
8352 builtin version.
8353 (package-handle-response): Use line-end-position.
8354 (package-read-archive-contents, package--download-one-archive):
8355 Simplify.
8356 (package--add-to-archive-contents): Skip if older than the builtin or
8357 installed version.
8358 (package-menu-describe-package): Fix last change.
8359 (package-list-unversioned): New var.
8360 (package-menu--generate): Use it.
8361
8362 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8363 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8364 (autoload-builtin-package-versions): New variable.
8365 (autoload-generate-file-autoloads): Use them.
8366 Remove the list of autoloaded functions/macros from the
8367 (autoload...) comments.
8368
8369 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8370
8371 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8372
8373 * simple.el (line-move-partial): Don't jump to the next screen
8374 line as soon as it becomes visible. Instead, continue enlarging
8375 the vscroll until the portion of a tall screen line that's left on
8376 display is about the height of the frame's default font.
8377 (Bug#14567)
8378
8379 2013-06-15 Glenn Morris <rgm@gnu.org>
8380
8381 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8382 compilation-error-regexp-alist void, or local while let-bound.
8383
8384 * progmodes/make-mode.el (makefile-mode-syntax-table):
8385 Treat "=" as punctuation. (Bug#14614)
8386
8387 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8388
8389 * help-fns.el (describe-variable):
8390 Add extra line for permanent-local variables.
8391
8392 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8393
8394 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8395 Add export, import, library. (Bug#9164)
8396 (library): Set indent function.
8397
8398 2013-06-14 Glenn Morris <rgm@gnu.org>
8399
8400 * term/xterm.el (xterm--query):
8401 Stop after first matching handler. (Bug#14615)
8402
8403 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8404
8405 Add support for dired in saveplace.
8406 * dired.el (dired-initial-position-hook): New variable.
8407 (dired-initial-position): Call hook to place cursor position.
8408 * saveplace.el (save-place-to-alist): Add dired position.
8409 (save-place-dired-hook): New function.
8410
8411 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8414 through a symbol rather than letrec.
8415
8416 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8417 (package-desc): Add `dir' field.
8418 (package-desc-full-name): New function.
8419 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8420 (package-maybe-load-descriptor): Remove.
8421 (package-load-all-descriptors): Just call package-load-descriptor.
8422 (package--disabled-p): New function.
8423 (package-desc-vers, package-desc-doc): Remove aliases.
8424 (package--dir): Remove function.
8425 (package-activate): Check if a package is disabled.
8426 (package-process-define-package): New function, extracted from
8427 define-package.
8428 (define-package): Turn into a place holder.
8429 (package-unpack-single, package-tar-file-info):
8430 Use package--description-file.
8431 (package-compute-transaction): Use package--disabled-p.
8432 (package-download-transaction): Don't call
8433 package-maybe-load-descriptor since they're all loaded anyway.
8434 (package-install): Change argument to be a pkg-desc.
8435 (package-delete): Use a single pkg-desc argument.
8436 (describe-package-1): Use package-desc-dir instead of package--dir.
8437 Use package-desc property instead of package-symbol.
8438 (package-install-button-action): Adjust accordingly.
8439 (package--push): Rewrite.
8440 (package-menu--print-info): Adjust accordingly. Change the ID format
8441 to be a pkg-desc.
8442 (package-menu-describe-package, package-menu-get-status)
8443 (package-menu--find-upgrades, package-menu-mark-upgrades)
8444 (package-menu-execute, package-menu--name-predicate):
8445 Adjust accordingly.
8446 * startup.el (package--description-file): New function.
8447 (command-line): Use it.
8448 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8449 Use package-desc-version.
8450
8451 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8452 (byte-compile-preprocess): Use it.
8453 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8454 can't quite recognize.
8455 (byte-compile-add-to-list): Remove.
8456 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8457 (cconv-closure-convert): Add assertion.
8458
8459 * emacs-lisp/map-ynp.el: Use lexical-binding.
8460 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8461 Factor out some repeated code.
8462
8463 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * subr.el (with-eval-after-load): New macro.
8466 (eval-after-load): Allow form to be a function.
8467 take advantage of lexical-binding.
8468 (do-after-load-evaluation): Use dolist and adjust to new format.
8469 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8470
8471 2013-06-13 Juri Linkov <juri@jurta.org>
8472
8473 * replace.el (perform-replace): Display "symbol " and other search
8474 modes from `isearch-message-prefix' in the *Help* buffer.
8475
8476 * isearch.el (isearch-query-replace): Add " symbol" and other
8477 possible search modes from `isearch-message-prefix' to the prompt.
8478 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8479 when reading a regexp to collect.
8480
8481 2013-06-13 Juri Linkov <juri@jurta.org>
8482
8483 * isearch.el (word-search-regexp): Match whitespace if the search
8484 string begins or ends in whitespace. The LAX arg is applied to
8485 both ends of the search string. Use `regexp-quote' and explicit
8486 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8487 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8488 boundaries are replaced with symbol boundaries, and characters
8489 between symbols match non-word non-symbol syntax. (Bug#14602)
8490
8491 2013-06-13 Juri Linkov <juri@jurta.org>
8492
8493 * isearch.el (isearch-del-char): Don't exceed the length of
8494 `isearch-string' by the prefix arg. (Bug#14563)
8495
8496 2013-06-13 Juri Linkov <juri@jurta.org>
8497
8498 * isearch.el (isearch-yank-word, isearch-yank-line)
8499 (isearch-char-by-name, isearch-quote-char)
8500 (isearch-printing-char, isearch-process-search-char):
8501 Add optional count prefix arg. (Bug#14563)
8502
8503 * international/isearch-x.el
8504 (isearch-process-search-multibyte-characters):
8505 Add optional count prefix arg.
8506
8507 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8510 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8511 lexical-binding.
8512
8513 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8514
8515 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8516
8517 2013-06-13 Glenn Morris <rgm@gnu.org>
8518
8519 * startup.el (tty-handle-args):
8520 Don't just discard "--" and anything after. (Bug#14608)
8521
8522 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8523
8524 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8525
8526 Implement changes in Secret Service API. Make it backward compatible.
8527 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8528 (secrets-create-item): Use it. Prefix properties with interface.
8529
8530 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8531
8532 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8533 (term-emulate-terminal): Respect term-suppress-hard-newline.
8534
8535 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8536
8537 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8538 Only remove a `thumb-file' overlay. (Bug#14548)
8539
8540 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8541
8542 * mail/reporter.el (reporter-submit-bug-report):
8543 Handle missing package-name. (Bug#14600)
8544
8545 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8546
8547 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8548 (reftex-citation-prompt, reftex-default-bibliography)
8549 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8550 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8551 (reftex-bib-sort-author, reftex-bib-sort-year)
8552 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8553 (reftex-extract-bib-entries-from-thebibliography)
8554 (reftex-get-bibkey-default, reftex-get-bib-names)
8555 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8556 (reftex-format-bib-entry, reftex-parse-bibitem)
8557 (reftex-format-bibitem, reftex-do-citation)
8558 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8559 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8560 (reftex-insert-bib-matches, reftex-format-citation)
8561 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8562 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8563 existing comments into docstrings.
8564
8565 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8566
8567 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8568
8569 2013-06-12 Andreas Schwab <schwab@suse.de>
8570
8571 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8572 for auto-save files.
8573
8574 2013-06-12 Glenn Morris <rgm@gnu.org>
8575
8576 * ido.el (ido-delete-ignored-files): Remove.
8577 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8578 Go back to calling ido-ignore-item-p directly.
8579
8580 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8581
8582 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8583
8584 * ido.el (ido-delete-ignored-files): New function,
8585 split from ido-make-file-list-1.
8586 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8587 (ido-make-file-list-1): Use ido-delete-ignored-files.
8588
8589 2013-06-12 Leo Liu <sdl.web@gmail.com>
8590
8591 * progmodes/octave.el (inferior-octave-startup)
8592 (inferior-octave-completion-table)
8593 (inferior-octave-track-window-width-change)
8594 (octave-eldoc-function-signatures, octave-help)
8595 (octave-find-definition): Use single quoted strings.
8596 (inferior-octave-startup-args): Change default value.
8597 (inferior-octave-startup): Do not hard code "-i" and
8598 "--no-line-editing".
8599 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8600 (inferior-octave-directory-tracker): Use it.
8601 (octave-goto-function-definition): Robustify.
8602 (octave-help): Support highlighting operators in 'See also'.
8603 (octave-find-definition): Find subfunctions only in Octave mode.
8604
8605 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 * help-fns.el (help-fns--compiler-macro): If the handler function is
8608 named, then put a link to it.
8609 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8610 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8611 (cl-typep): Use it.
8612 (cl-eval-when): Simplify debug spec.
8613 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8614 compiler-macro function instead of setting `compiler-macro-file'.
8615
8616 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8617
8618 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8619 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8620
8621 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8622 Daniel Hackney <dan@haxney.org>
8623
8624 First part of Daniel Hackney's patch to package.el.
8625 * emacs-lisp/package.el: Use defstruct.
8626 (package-desc): New, main struct.
8627 (package--bi-desc, package--ac-desc): New structs, used to describe the
8628 format in external files.
8629 (package-desc-vers): Replace with package-desc-version accessor.
8630 (package-desc-doc): Replace with package-desc-summary accessor.
8631 (package-activate-1): Remove `package' arg since the pkg-vec now
8632 includes the name.
8633 (define-package): Use package-desc-from-define.
8634 (package-unpack-single): Change file-name arg to be a symbol.
8635 (package--add-to-archive-contents): Use package-desc-create and new
8636 accessor functions to package--ac-desc.
8637 (package-buffer-info, package-tar-file-info): Return a package-desc.
8638 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8639 arg to be a package-desc.
8640 (package-install-file): Adjust accordingly. Use \' to match EOS.
8641 (package--from-builtin): New function.
8642 (describe-package-1, package-menu--generate): Use it.
8643 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8644 (package-generate-autoloads): Idem and return the name of the file.
8645 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8646 Change pkg-info arg to be a package-desc.
8647 Use package-make-ac-desc.
8648 (package-upload-file): Use \' to match EOS.
8649 * finder.el (finder-compile-keywords): Use package-make-builtin.
8650
8651 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8652
8653 * vc/vc.el (vc-deduce-fileset): Change error message.
8654 (vc-read-backend): New function.
8655 (vc-next-action): Use it.
8656
8657 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8658
8659 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8660 (prolog-font-lock-keywords): Use regexp-opt instead.
8661 Don't manually highlight strings.
8662 (prolog-mode-variables): Simplify comment-start-skip.
8663 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8664
8665 * emacs-lisp/generic.el (generic--normalise-comments)
8666 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8667 (generic-mode-set-comments): Use them.
8668 (generic-bracket-support): Use setq-local.
8669 (generic-make-keywords-list): Declare obsolete.
8670
8671 2013-06-11 Glenn Morris <rgm@gnu.org>
8672
8673 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8674 Prettify after setting font-lock-defaults. (Bug#14574)
8675
8676 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8677
8678 * replace.el (query-replace, occur-read-regexp-defaults-function)
8679 (replace-search):
8680 * subr.el (declare-function, number-sequence, local-set-key)
8681 (substitute-key-definition, locate-user-emacs-file)
8682 (with-silent-modifications, split-string, eval-after-load):
8683 Fix typos, remove unneeded backslashes and reflow some docstrings.
8684
8685 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8688 default for Elisp files.
8689
8690 2013-06-11 Glenn Morris <rgm@gnu.org>
8691
8692 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8693 although define-derived-mode was doing this anyway. (Bug#14583)
8694
8695 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8696
8697 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8698 Fix make-variable-buffer-local call to refer to the correct variable.
8699
8700 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8701
8702 * eshell/em-term.el (eshell-visual-commands)
8703 (eshell-visual-subcommands, eshell-visual-options):
8704 Add summary line to docstrings. Add cross-references.
8705
8706 2013-06-10 Glenn Morris <rgm@gnu.org>
8707
8708 * epa.el (epa-read-file-name): New function. (Bug#14510)
8709 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8710
8711 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8712
8713 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8714 output redirection to be ignored with visual commands.
8715
8716 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8717
8718 * eshell/em-term.el (eshell-visual-command-p): New function.
8719 (eshell-term-initialize): Move long lambda to separate function
8720 eshell-visual-command-p.
8721 * eshell/em-dirs.el (eshell-dirs-initialise):
8722 * eshell/em-script.el (eshell-script-initialize):
8723 Add missing #' to lambda.
8724
8725 2013-06-08 Leo Liu <sdl.web@gmail.com>
8726
8727 * progmodes/octave.el (octave-add-log-current-defun): New function.
8728 (octave-mode): Set add-log-current-defun-function.
8729 (octave-goto-function-definition): Do not move point if not found.
8730 (octave-find-definition): Enhance to try subfunctions first.
8731
8732 2013-06-08 Glenn Morris <rgm@gnu.org>
8733
8734 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8735 (byte-compile-backward-char, byte-compile-backward-word):
8736 Improve previous change, to handle non-explicit nil.
8737
8738 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8741 (smie--opener/closer-at-point): New function.
8742 (smie--matching-block-data): Use it. Don't match from right after an
8743 opener or right before a closer. Obey smie-blink-matching-inners.
8744 Don't signal a mismatch for repeated inners like "switch..case..case".
8745
8746 2013-06-07 Leo Liu <sdl.web@gmail.com>
8747
8748 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8749 to t. (Bug#14303)
8750 (octave-function-header-regexp): Fix. (Bug#14570)
8751 (octave-help-mode-finish-hook, octave-help-mode-finish):
8752 Remove. Just use temp-buffer-show-hook.
8753
8754 * newcomment.el (comment-search-backward): Revert last change.
8755 (Bug#14434)
8756
8757 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8758
8759 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8760
8761 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8762 through xargs, to avoid failure due to MS-Windows limitations on
8763 command-line length.
8764
8765 2013-06-06 Glenn Morris <rgm@gnu.org>
8766
8767 * font-lock.el (lisp-font-lock-keywords-2):
8768 Treat user-error like error.
8769
8770 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8771 (byte-compile-backward-char, byte-compile-backward-word):
8772 Handle explicit nil arguments. (Bug#14565)
8773
8774 2013-06-05 Alan Mackenzie <acm@muc.de>
8775
8776 * isearch.el (isearch-allow-prefix): New user option.
8777 (isearch-other-meta-char): Don't exit isearch when a prefix
8778 argument is typed whilst `isearch-allow-prefix' is non-nil.
8779 (Bug#9706)
8780
8781 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8782
8783 * autorevert.el (auto-revert-notify-handler): Use memq.
8784 Hide assertion failure.
8785
8786 * skeleton.el: Use cl-lib.
8787 (skeleton-further-elements): Use defvar-local.
8788 (skeleton-insert): Use cl-progv.
8789
8790 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8791
8792 * progmodes/prog-mode.el (prog-prettify-symbols)
8793 (prog-prettify-install): Update docstrings.
8794
8795 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8796
8797 * simple.el: Move all the prog-mode code to prog-mode.el.
8798 * progmodes/prog-mode.el: New file.
8799 * loadup.el: Add prog-mode.el.
8800
8801 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8802
8803 * simple.el (prog-prettify-symbols): Add version.
8804 (prog-prettify-install): Add convenience function to prettify symbols.
8805
8806 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8807 (perl--augmented-font-lock-keywords-1)
8808 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8809 variables and use it.
8810
8811 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8812 (cfengine3-mode): Remove unneeded variable and use it.
8813
8814 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8815 (lisp--augmented-font-lock-keywords-1)
8816 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8817 Remove unneeded variables and use it.
8818
8819 2013-06-05 João Távora <joaotavora@gmail.com>
8820
8821 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8822 to point when opening the connection. (Bug#14380)
8823
8824 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * subr.el (load-history-regexp, load-history-filename-element)
8827 (eval-after-load, after-load-functions, do-after-load-evaluation)
8828 (eval-next-after-load, display-delayed-warnings)
8829 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8830 definition of save-match-data.
8831 (overriding-local-map): Remove accidental obsolescence declaration.
8832
8833 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8834
8835 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8836
8837 Generalize symbol prettify support to prog-mode and implement it
8838 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8839 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8840 (prog--prettify-font-lock-compose-symbol)
8841 (prog-prettify-font-lock-symbols-keywords): New variables and
8842 functions to support symbol prettification.
8843 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8844 (lisp--augmented-font-lock-keywords-1)
8845 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8846 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8847 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8848 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8849 Implement prettify of -> => :: strings.
8850 * progmodes/perl-mode.el (perl-prettify-symbols)
8851 (perl--font-lock-compose-symbol)
8852 (perl--font-lock-symbols-keywords): Move to prog-mode.
8853 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8854 (perl-font-lock-keywords-1)
8855 (perl-font-lock-keywords-2): Remove explicit prettify support.
8856 (perl--augmented-font-lock-keywords)
8857 (perl--augmented-font-lock-keywords-1)
8858 (perl--augmented-font-lock-keywords-2, perl-mode):
8859 Implement prettify support.
8860
8861 2013-06-05 Leo Liu <sdl.web@gmail.com>
8862
8863 Re-implement smie matching block highlight using
8864 show-paren-data-function. (Bug#14395)
8865 * emacs-lisp/smie.el (smie-matching-block-highlight)
8866 (smie--highlight-matching-block-overlay)
8867 (smie--highlight-matching-block-lastpos)
8868 (smie-highlight-matching-block)
8869 (smie-highlight-matching-block-mode): Remove.
8870 (smie--matching-block-data-cache): New variable.
8871 (smie--matching-block-data): New function.
8872 (smie-setup): Use smie--matching-block-data for
8873 show-paren-data-function.
8874
8875 * progmodes/octave.el (octave-mode-menu): Fix.
8876 (octave-find-definition): Skip garbage lines.
8877
8878 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8879
8880 Fix compilation error with simultaneous dynamic+lexical scoping.
8881 Add warning when a defvar appears after the first let-binding.
8882 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8883 (byte-compile-close-variables): Initialize it.
8884 (byte-compile--declare-var): New function.
8885 (byte-compile-file-form-defvar)
8886 (byte-compile-file-form-define-abbrev-table)
8887 (byte-compile-file-form-custom-declare-variable): Use it.
8888 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8889 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8890 (byte-compile-bind): Handle dynamic bindings that shadow
8891 lexical bindings.
8892 (byte-compile-unbind): Make arg non-optional.
8893 (byte-compile-let): Simplify.
8894 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8895 (cconv--analyse-function, cconv-analyse-form): Populate it.
8896 Protect byte-compile-bound-variables to limit the scope of defvars.
8897 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8898 Remove unneeded rule for `declare'.
8899
8900 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8901 so as to avoid depending on cl-adjoin at run-time.
8902 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8903
8904 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8905 (macroexp--warn-and-return): Use it.
8906
8907 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8908
8909 * lisp/subr.el: Convert to lexical binding.
8910 (overriding-local-map): Make obsolete.
8911 (add-to-list): Doc fix. Add compiler macro.
8912 (read-key): Swap values of local maps.
8913
8914 2013-06-05 Leo Liu <sdl.web@gmail.com>
8915
8916 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8917
8918 2013-06-04 Leo Liu <sdl.web@gmail.com>
8919
8920 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8921 (compilation-auto-jump): Suppress the "Mark set" message to give
8922 way to exit message.
8923
8924 2013-06-04 Alan Mackenzie <acm@muc.de>
8925
8926 Remove faulty optimisation from indentation calculation.
8927 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8928 search limit based on 2000 characters back from indent-point.
8929
8930 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8931
8932 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8933
8934 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * emacs-lisp/lisp.el: Use lexical-binding.
8937 (lisp--local-variables-1, lisp--local-variables): New functions.
8938 (lisp--local-variables-completion-table): New var.
8939 (lisp-completion-at-point): Use it complete let-bound vars.
8940
8941 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8942 eagerly (bug#14422).
8943
8944 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8945
8946 * autorevert.el (auto-revert-notify-enabled)
8947 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8948 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8949 (auto-revert-notify-handler): Handle also gfilenotify.
8950
8951 * subr.el (file-notify-handle-event): New defun. Replacing ...
8952 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8953 Remove.
8954
8955 2013-06-03 Juri Linkov <juri@jurta.org>
8956
8957 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8958 `M-s h .'. (Bug#14427)
8959
8960 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8961 command `hi-lock-face-symbol-at-point'.
8962 (hi-lock-face-symbol-at-point): New command.
8963 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8964 (hi-lock-menu): Add `highlight-symbol-at-point'.
8965 (hi-lock-mode): Doc fix.
8966
8967 * isearch.el (isearch-forward-symbol-at-point): New command.
8968 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8969 (isearch-highlight-regexp): Add a regexp which matches
8970 words/symbols for word/symbol mode.
8971
8972 * subr.el (find-tag-default-bounds): New function with the body
8973 mostly moved from `find-tag-default'.
8974 (find-tag-default): Move most code to `find-tag-default-bounds',
8975 call it and apply `buffer-substring-no-properties' afterwards.
8976
8977 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8978
8979 * eshell/em-term.el (eshell-term-initialize):
8980 Use `cl-intersection' rather than `intersection'.
8981
8982 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8983
8984 * vc/log-view.el: Doc fix.
8985 (log-view-mode-map): Copy keymap from `special-mode-map'.
8986
8987 2013-06-02 Eric Ludlam <zappo@gnu.org>
8988
8989 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8990 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8991 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8992 (eieio-unbound, eieio-default-superclass)
8993 (eieio--define-field-accessors, method-static, method-before)
8994 (method-primary, method-after, method-num-lists)
8995 (method-generic-before, method-generic-primary)
8996 (method-generic-after, method-num-slots)
8997 (eieio-specialized-key-to-generic-key)
8998 (eieio--check-type, class-v, class-p)
8999 (eieio-class-name, define-obsolete-function-alias)
9000 (eieio-class-parents-fast, eieio-class-children-fast)
9001 (same-class-fast-p, class-constructor, generic-p)
9002 (generic-primary-only-p, generic-primary-only-one-p)
9003 (class-option-assoc, class-option, eieio-object-p)
9004 (class-abstract-p, class-method-invocation-order)
9005 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9006 (eieio-class-un-autoload, eieio-defclass)
9007 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9008 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9009 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9010 (eieio-defgeneric-reset-generic-form)
9011 (eieio-defgeneric-form-primary-only)
9012 (eieio-defgeneric-reset-generic-form-primary-only)
9013 (eieio-defgeneric-form-primary-only-one)
9014 (eieio-defgeneric-reset-generic-form-primary-only-one)
9015 (eieio-unbind-method-implementations)
9016 (eieio--defmethod, eieio--typep)
9017 (eieio-perform-slot-validation, eieio-validate-slot-value)
9018 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9019 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9020 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9021 (eieio-slot-name-index, eieio-class-slot-name-index)
9022 (eieio-set-defaults, eieio-initarg-to-attribute)
9023 (eieio-attribute-to-initarg, eieio-c3-candidate)
9024 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9025 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9026 (eieio-class-precedence-list, eieio-generic-call-methodname)
9027 (eieio-generic-call-arglst, eieio-generic-call-key)
9028 (eieio-generic-call-next-method-list)
9029 (eieio-pre-method-execution-functions, eieio-generic-call)
9030 (eieio-generic-call-primary-only, eieiomt-method-list)
9031 (eieiomt-optimizing-obarray, eieiomt-install)
9032 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9033 (eieio-generic-form, eieio-defmethod, make-obsolete)
9034 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9035 (defclass): Remove `eval-and-compile' from macro.
9036 (call-next-method, shared-initialize): Instead of using
9037 `scoped-class' variable, use new eieio--scoped-class, and
9038 eieio--with-scoped-class.
9039 (initialize-instance): Rename local variable 'scoped-class' to
9040 'this-class' to remove ambiguitity from old global.
9041
9042 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9043 eieio.el.
9044 (eieio--scoped-class-stack): New variable.
9045 (eieio--scoped-class): New fcn.
9046 (eieio--with-scoped-class): New scoping macro.
9047 (eieio-defclass): Use pushnew instead of add-to-list.
9048 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9049 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9050 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9051 `scoped-class' variable, use new eieio--scoped-class, and
9052 eieio--with-scoped-class.
9053
9054 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9055
9056 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9057
9058 * eshell/esh-ext.el (eshell-external-command): Pass args to
9059 `eshell-find-interpreter'.
9060 (eshell-find-interpreter): Add new second parameter ARGS.
9061
9062 * eshell/em-script.el (eshell-script-initialize): Add second arg
9063 to the function added as MATCH to `eshell-interpreter-alist'.
9064
9065 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9066 the function added as MATCH to `eshell-interpreter-alist'.
9067
9068 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9069 (eshell-visual-options): New defcustom.
9070 (eshell-escape-control-x): Adapt docstring.
9071 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9072 `eshell-visual-options' in addition to `eshell-visual-commands'.
9073 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9074
9075 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9076
9077 * progmodes/python.el (python-indent-block-enders): Add break,
9078 continue and raise keywords.
9079
9080 2013-06-01 Glenn Morris <rgm@gnu.org>
9081
9082 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9083
9084 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9085 * progmodes/cc-cmds.el (delete-forward-p):
9086 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9087 * progmodes/cc-engine.el (buffer-syntactic-context):
9088 * progmodes/cc-fonts.el (face-property-instance):
9089 * progmodes/cc-mode.el (set-keymap-parents):
9090 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9091 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9092 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9093 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9094 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9095
9096 * progmodes/cc-vars.el (other): Emacs has this widget since
9097 at least 21.1, so don't (re)define it.
9098
9099 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9100 Replace the obsolete alias pcomplete-arg-quote-list.
9101
9102 2013-06-01 Leo Liu <sdl.web@gmail.com>
9103
9104 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9105 punctuation syntax.
9106 (inferior-octave-minimal-columns)
9107 (inferior-octave-last-column-width): New variables.
9108 (inferior-octave-track-window-width-change): New function.
9109 (inferior-octave-mode): Adjust column width so that Octave output,
9110 for example from 'ls', can fit into the window nicely.
9111
9112 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9113
9114 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9115 Highlight expansions inside regexp literals.
9116
9117 2013-05-31 Glenn Morris <rgm@gnu.org>
9118
9119 * obsolete/sym-comp.el (symbol-complete):
9120 Replace obsolete completion-annotate-function.
9121
9122 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9123
9124 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9125
9126 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9127 New function, checks if point is inside a literal that allows
9128 expression expansion.
9129 (ruby-syntax-propertize-expansion): Use it.
9130 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9131 around the body.
9132
9133 2013-05-30 Juri Linkov <juri@jurta.org>
9134
9135 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9136 to "\M-si".
9137 (isearch-invisible): New variable.
9138 (isearch-forward): Doc fix.
9139 (isearch-mode): Set `isearch-invisible'
9140 to the value of `search-invisible'.
9141 (isearch-toggle-case-fold): Doc fix.
9142 (isearch-toggle-invisible): New command.
9143 (isearch-query-replace): Let-bind `search-invisible'
9144 to the value of `isearch-invisible'.
9145 (isearch-search): Use `isearch-invisible' instead of
9146 `search-invisible'. Let-bind `search-invisible'
9147 to the value of `isearch-invisible'. (Bug#11378)
9148
9149 2013-05-30 Juri Linkov <juri@jurta.org>
9150
9151 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9152 call when `query-flag' is nil and `search-invisible' is non-nil.
9153 (Bug#11746)
9154
9155 2013-05-30 Glenn Morris <rgm@gnu.org>
9156
9157 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9158
9159 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9160 (cc-require): Suppress spurious "noruntime" warnings.
9161 (cc-require-when-compile): Use fboundp, for sake of compiler.
9162
9163 * progmodes/cc-mode.el: Move load of cc-vars before that of
9164 cc-langs (which in turn loads cc-vars), to quieten compiler.
9165
9166 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * paren.el: Simplify the code.
9169 (show-paren-mode): Always start the timer.
9170 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9171 (show-paren--overlay, show-paren--overlay-1): Rename from
9172 show-paren-overlay and show-paren-overlay-1, and initialize to an
9173 overlay rather than to nil.
9174 (show-paren-function): Misc cleanup and simplifications.
9175
9176 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9177
9178 * paren.el (show-paren-data-function): New hook.
9179 (show-paren--default): New function, extracted from show-paren-function.
9180 (show-paren-function): Use show-paren-data-function.
9181
9182 2013-05-30 Glenn Morris <rgm@gnu.org>
9183
9184 * ielm.el (ielm-map, ielm-complete-symbol):
9185 Use completion-at-point rather than obsolete functions.
9186 (inferior-emacs-lisp-mode): Doc fix.
9187 Set completion-at-point-functions, rather than
9188 comint-dynamic-complete-functions.
9189
9190 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9191 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9192 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9193
9194 * image.el (image-animated-p): Tweak definition.
9195
9196 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9197 (rlogin-process-connection-type): Tweak default. Add set-after.
9198 (rlogin-host): Doc fix.
9199 (rlogin): Tweak prompt.
9200 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9201
9202 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9203 * progmodes/tcl.el (inferior-tcl-mode-map):
9204 Use completion-at-point rather than obsolete alias.
9205
9206 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9207
9208 * minibuffer.el (read-file-name-completion-ignore-case):
9209 Move before completion--in-region, for eager macro expansion.
9210
9211 2013-05-29 Juri Linkov <juri@jurta.org>
9212
9213 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9214 for total count of matching lines. Add `global-matches' for total
9215 count of matches. Rename `matches' to `lines' for count of
9216 matching lines. Add `matches' for count of matches.
9217 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9218 to `prev-line' for line number of prev match endpt.
9219 Increment `matches' for every match. Print the number of
9220 matching lines in the header.
9221 (occur-context-lines): Rename `lines' to `curr-line'.
9222 Rename `prev-lines' to `prev-line'. (Bug#14017)
9223
9224 2013-05-29 Juri Linkov <juri@jurta.org>
9225
9226 * replace.el (perform-replace): Add `skip-read-only-count',
9227 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9228 Increment them for corresponding conditions and report the number
9229 of skipped occurrences in the final message. (Bug#11746)
9230 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9231 (replace-string, replace-regexp): Doc fix.
9232
9233 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9234
9235 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9236
9237 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9238 prog-mode-map (bug#14504).
9239
9240 2013-05-29 Leo Liu <sdl.web@gmail.com>
9241
9242 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9243 (octave-help): Small simplification.
9244
9245 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9246 off the highlight first.
9247
9248 2013-05-29 Glenn Morris <rgm@gnu.org>
9249
9250 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9251 Handle idlwave-last-system-routine-info-cons-cell being nil.
9252
9253 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9254 (idlwave-write-paths): Simplify via with-temp-buffer.
9255
9256 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9257 * emulation/cua-rect.el: Also load cua-base at run time.
9258
9259 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9260 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9261 (cperl-imenu-on-info): Require imenu.
9262
9263 2013-05-28 Alan Mackenzie <acm@muc.de>
9264
9265 Handle "capitalised keywords" correctly.
9266 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9267
9268 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9269
9270 * eshell/em-unix.el: Add -r option to cp.
9271
9272 2013-05-28 Glenn Morris <rgm@gnu.org>
9273
9274 * vc/vc-arch.el (vc-exec-after): Declare.
9275 (vc-switches): Autoload.
9276 * vc/vc-bzr.el: No need to require vc when compiling.
9277 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9278 (vc-resynch-buffer, vc-dir-refresh): Declare.
9279 (vc-setup-buffer, vc-switches): Autoload.
9280 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9281 (vc-resynch-buffer): Declare.
9282 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9283 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9284 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9285 (grep-read-regexp, grep-read-files, grep-expand-template)
9286 (vc-dir-refresh): Declare.
9287 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9288 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9289 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9290 * vc/vc-mtn.el (vc-exec-after): Declare.
9291 (vc-switches): Autoload.
9292 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9293 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9294 (vc-file-tree-walk): Declare.
9295 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9296 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9297 (vc-tag-precondition, vc-rename-master): Autoload.
9298 * vc/vc-svn.el (vc-exec-after): Declare.
9299 (vc-switches, vc-setup-buffer): Autoload.
9300 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9301 Autoload.
9302 (vc-resynch-buffer): Declare.
9303
9304 * obsolete/fast-lock.el (byte-compile-warnings):
9305 Don't warn about obsolete features in this obsolete file.
9306
9307 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9308 Move definition before use.
9309
9310 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9311 (dun-unix-verbs): Remove dun-zippy.
9312 (dun-zippy): Remove function.
9313
9314 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9315
9316 2013-05-27 Juri Linkov <juri@jurta.org>
9317
9318 * replace.el (replace-search): New function with code moved out
9319 from `perform-replace'.
9320 (replace-highlight, replace-dehighlight): Move function definitions
9321 up closer to `replace-search'. (Bug#11746)
9322
9323 2013-05-27 Juri Linkov <juri@jurta.org>
9324
9325 * replace.el (perform-replace): Ignore invisible matches.
9326 In addition to checking `query-replace-skip-read-only', also
9327 filter out matches by calling `run-hook-with-args-until-failure'
9328 on `isearch-filter-predicates', and also check `search-invisible'
9329 for t or call `isearch-range-invisible'.
9330 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9331
9332 2013-05-27 Juri Linkov <juri@jurta.org>
9333
9334 * isearch.el (isearch-filter-predicates): Rename from
9335 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9336 (isearch-message-prefix): Display text from the property
9337 `isearch-message-prefix' of the currently active filters.
9338 (isearch-search): Don't compare `isearch-filter-predicate' with
9339 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9340 on `isearch-filter-predicates'. Also check `search-invisible' for t
9341 or call `isearch-range-invisible'.
9342 (isearch-filter-visible): Make obsolete.
9343 (isearch-lazy-highlight-search):
9344 Call `run-hook-with-args-until-failure' on
9345 `isearch-filter-predicates' and use `isearch-range-invisible'.
9346
9347 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9348 `isearch-filter-predicates' instead of `funcall'ing
9349 `isearch-filter-predicate'.
9350 (Info-mode): Set `Info-isearch-filter' to
9351 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9352
9353 * dired-aux.el (dired-isearch-filter-predicate-orig):
9354 Remove variable.
9355 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9356 (dired-isearch-filenames-end): Add and remove
9357 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9358 instead of changing the value of `isearch-filter-predicate'.
9359 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9360 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9361 Put property `isearch-message-prefix' to "filename " on
9362 `dired-isearch-filter-filenames'.
9363
9364 * wdired.el (wdired-change-to-wdired-mode):
9365 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9366 locally instead of changing `isearch-filter-predicate'.
9367 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9368
9369 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9370
9371 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9372 return the commit hash (Bug#14459). Also set the
9373 `vc-git-detached' property.
9374 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9375 (vc-git-mode-line-string): Use the same help-echo format whether
9376 in detached mode or not, because we know the actual revision now.
9377 When in detached mode, shorten the revision to 7 chars.
9378
9379 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9380
9381 * emacs-lisp/easy-mmode.el (define-minor-mode):
9382 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9383 mode hook and provide a docstring.
9384
9385 2013-05-27 Alan Mackenzie <acm@muc.de>
9386
9387 Remove spurious syntax-table text properties inserted by C-y.
9388 * progmodes/cc-mode.el (c-after-change): Also clear hard
9389 syntax-table property with value nil.
9390
9391 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9392
9393 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9394 when reading the events; the buffer layout shall not be changed.
9395
9396 2013-05-27 Leo Liu <sdl.web@gmail.com>
9397
9398 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9399 New variable.
9400 (inferior-octave-directory-tracker): Automatically re-sync
9401 default-directory.
9402 (octave-help): Improve handling of 'See also'.
9403
9404 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * doc-view.el: Minor naming convention tweaks.
9407 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9408
9409 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9410 even if there's no `display' property yet (bug#14435).
9411
9412 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9413
9414 * subr.el (unmsys--file-name): Rename from reveal-filename.
9415
9416 * Makefile.in (custom-deps, finder-data, autoloads)
9417 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9418 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9419 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9420
9421 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9424 error-completion on the first 2 args of condition-case (bug#14446).
9425 Don't burp at EOB.
9426
9427 2013-05-25 Leo Liu <sdl.web@gmail.com>
9428
9429 * comint.el (comint-previous-matching-input): Do not flood the
9430 *Messages* buffer with trivial messages.
9431
9432 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9433
9434 * progmodes/flymake.el (flymake-nop): Don't return a string.
9435 (flymake-set-at): Fix typo.
9436
9437 * simple.el (read--expression): New function, extracted from
9438 eval-expression. Set completion-at-point-functions (bug#14465).
9439 (eval-expression, eval-minibuffer): Use it.
9440
9441 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9442
9443 * progmodes/flymake.el (flymake-save-buffer-in-file)
9444 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9445 (flymake-selected-frame, flymake-log, flymake-ins-after)
9446 (flymake-set-at, flymake-get-buildfile-from-cache)
9447 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9448 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9449 Refine the doc string.
9450 (flymake-get-file-name-mode-and-masks): Reformat.
9451 (flymake-get-real-file-name-function): Fix a minor bug.
9452
9453 2013-05-24 Juri Linkov <juri@jurta.org>
9454
9455 * progmodes/grep.el (grep-mode-font-lock-keywords):
9456 Support =linenumber= format used by git-grep for lines with
9457 function names. (Bug#13549)
9458
9459 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9460
9461 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9462 0 after a semi-colon; it works better for smie-auto-fill.
9463 (octave--indent-new-comment-line): New function.
9464 (octave-indent-new-comment-line): Use it (indirectly).
9465 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9466 modify comment-line-break-function.
9467
9468 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9469 (smie-setup): Use add-function to set it.
9470
9471 2013-05-24 Sam Steingold <sds@gnu.org>
9472
9473 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9474 argument (before the `interactive' argument).
9475
9476 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9477
9478 * image-mode.el (image-mode-winprops): Add winprops to
9479 image-mode-winprops-alist before running
9480 image-mode-new-window-functions.
9481 * doc-view.el (doc-view-new-window-function): Don't delay
9482 doc-view-goto-page via timers (bug#14435).
9483
9484 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9485
9486 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9487 (doc-view-desktop-save-buffer): New function.
9488 (doc-view-restore-desktop-buffer): New function.
9489 (desktop-buffer-mode-handlers):
9490 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9491 handler.
9492 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9493 `desktop-save-buffer' function.
9494
9495 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9496
9497 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9498 (tramp-gvfs-file-name-handler): Raise a user error when
9499 `tramp-gvfs-enabled' is nil.
9500 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9501 Do not raise a user error when loading package. (Bug#14447)
9502
9503 * net/xesam.el: Move to obsolete/.
9504
9505 2013-05-24 Glenn Morris <rgm@gnu.org>
9506
9507 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9508
9509 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9510
9511 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9512 (Info-find-node, Man-getpage-in-background): Declare.
9513
9514 * mail/unrmail.el (unrmail):
9515 Replace obsolete detect-coding-with-priority.
9516
9517 * net/socks.el (socks-split-string): Use this rather than split-string.
9518 (socks-nslookup-host): Update for above change.
9519 (dynamic-choice, s5-dynamic-choice-match)
9520 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9521 Comment out unused code.
9522
9523 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9524 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9525 (gud-tooltip-echo-area): Make obsolete.
9526 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9527
9528 * progmodes/js.el (js--optimize-arglist): Declare.
9529
9530 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9531
9532 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9533 (ediff-window-C): Declare.
9534
9535 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9536 Tweak requires to silence compiler.
9537
9538 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9539 (he-search-string, he-tried-table, he-expand-list)
9540 (he-init-string, he-string-member, he-substitute-string)
9541 (he-reset-string): Declare.
9542
9543 * obsolete/options.el (list-options): Use custom-variable-p,
9544 rather than obsolete alias.
9545
9546 2013-05-23 Sam Steingold <sds@gnu.org>
9547
9548 * simple.el (shell-command-on-region): Pass the `replace' argument
9549 down to `call-process-region' to comply with the doc as reported on
9550 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9551
9552 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9553
9554 * emacs-lisp/smie.el (smie-indent-forward-token)
9555 (smie-indent-backward-token): Handle string tokens (bug#14381).
9556
9557 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9558
9559 * ielm.el (ielm-menu): New menu.
9560 (inferior-emacs-lisp-mode): Set comment-start.
9561
9562 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9563
9564 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9565 Fix deactivate action.
9566
9567 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9568 Add cleveref macros.
9569
9570 * lisp/textmodes/reftex-parse.el
9571 (reftex-locate-bibliography-files): Accept options for
9572 bibliography commands.
9573 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9574 Add addbibresource. Basic Biblatex support.
9575
9576 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9577
9578 * net/tramp-gvfs.el (top):
9579 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9580 when loading package. (Bug#14447)
9581
9582 2013-05-23 Glenn Morris <rgm@gnu.org>
9583
9584 * progmodes/js.el: No need to load comint when compiling.
9585 (ring-insert, comint-send-string, comint-send-input)
9586 (comint-last-input-end, ido-chop): Declare.
9587
9588 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9589 * vc/ediff-mult.el: Adjust requires.
9590 (ediff-directories-internal, ediff-directory-revisions-internal)
9591 (ediff-patch-file-internal): Declare.
9592 * vc/ediff-ptch.el: Adjust requires.
9593 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9594 (ediff-find-file): Autoload.
9595 * vc/ediff-util.el: No need to load ediff when compiling.
9596 (ediff-regions-internal): Declare.
9597 * vc/ediff-wind.el: Adjust requires.
9598 (ediff-compute-toolbar-width): Define when compiling.
9599 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9600 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9601 (dired-get-filename, dired-get-marked-files)
9602 (ediff-last-dir-patch, ediff-patch-default-directory)
9603 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9604 (ediff-patch-buffer-internal): Declare.
9605
9606 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9607 (ispell-process, ispell-buffer-local-words, lm-summary)
9608 (lm-section-start, lm-section-end): Declare.
9609 (checkdoc-ispell-init): Simplify.
9610
9611 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9612 (he-string-member, he-reset-string, he-substitute-string): Declare.
9613
9614 * eshell/em-ls.el: Adjust requires.
9615 (eshell-glob-regexp): Declare.
9616 * eshell/em-tramp.el: Adjust requires.
9617 (eshell-parse-command): Autoload.
9618 * eshell/em-xtra.el: Adjust requires.
9619 (eshell-parse-command): Autoload.
9620 * eshell/esh-ext.el: Adjust requires.
9621 (eshell-parse-command, eshell-close-handles): Autoload.
9622 * eshell/esh-io.el: Adjust requires.
9623 (eshell-output-filter): Autoload.
9624 * eshell/esh-util.el: No need to load tramp when compiling.
9625 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9626 Declare.
9627 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9628 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9629 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9630 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9631 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9632 * eshell/esh-opt.el, eshell/esh-proc.el:
9633 * eshell/esh-var.el: Adjust requires.
9634 * eshell/eshell.el: Do not require esh-util twice.
9635 (eshell-add-input-to-history): Declare.
9636 (eshell-command): Check history module is active before using it.
9637
9638 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9639
9640 2013-05-22 Leo Liu <sdl.web@gmail.com>
9641
9642 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9643
9644 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9645
9646 * autorevert.el (auto-revert-notify-add-watch)
9647 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9648 it indicates changes in file modification time.
9649
9650 2013-05-22 Glenn Morris <rgm@gnu.org>
9651
9652 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9653 Always delete the autoloaded function from the noruntime and
9654 unresolved functions lists.
9655
9656 * allout.el: No need to load epa, epg, overlay when compiling.
9657 (epg-context-set-passphrase-callback, epg-list-keys)
9658 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9659 (epg-key-user-id-list): Declare.
9660
9661 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9662 (viper-set-parsing-style-toggling-macro)
9663 (viper-set-emacs-state-searchstyle-macros):
9664 Use called-interactively-p on Emacs.
9665 (viper-looking-back): Make it an obsolete alias. Update callers.
9666 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9667 Use looking-back rather than viper-looking-back.
9668 (viper-tmp-insert-at-eob, viper-enlarge-region)
9669 (viper-read-string-with-history, viper-register-to-point)
9670 (viper-append-to-register, viper-change-state-to-vi)
9671 (viper-backward-char-carefully, viper-forward-char-carefully)
9672 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9673 (viper-change-state-to-emacs): Declare.
9674 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9675 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9676 * emulation/viper-mous.el: Do not load viper-cmd.
9677 (viper-backward-char-carefully, viper-forward-char-carefully)
9678 (viper-forward-word, viper-adjust-window): Declare.
9679
9680 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9681
9682 * progmodes/idlw-help.el (idlwave-help-fontify):
9683 Use called-interactively-p.
9684
9685 * term/w32console.el (w32-get-console-codepage)
9686 (w32-get-console-output-codepage): Declare.
9687
9688 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9689 Remove unnecessary declarations.
9690 (dframe-message): Doc fix.
9691
9692 * info.el (dframe-select-attached-frame, dframe-current-frame):
9693 Declare.
9694
9695 * speedbar.el (speedbar-message): Make it an obsolete alias.
9696 Update all callers.
9697 (speedbar-with-attached-buffer)
9698 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9699 (speedbar-with-writable): Use backquote.
9700 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9701 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9702 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9703 rather than speedbar- aliases.
9704 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9705 (speedbar-make-specialized-keymap, speedbar-insert-button)
9706 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9707 (speedbar-do-function-pointer): Declare.
9708 (rmail-speedbar-button, rmail-speedbar-find-file)
9709 (rmail-speedbar-move-message):
9710 Use dframe-with-attached-buffer rather than speedbar- alias.
9711 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9712 (dframe-message, speedbar-make-specialized-keymap)
9713 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9714 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9715 (speedbar-insert-button, dframe-select-attached-frame)
9716 (dframe-maybee-jump-to-attached-frame)
9717 (speedbar-change-initial-expansion-list)
9718 (speedbar-previously-used-expansion-list-name): Declare.
9719 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9720 Use dframe-message, dframe-with-attached-buffer rather than
9721 speedbar- aliases.
9722 (gud-sentinel): Silence compiler.
9723 * progmodes/vhdl-mode.el (speedbar-refresh)
9724 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9725 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9726 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9727 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9728 (speedbar-file-lists, speedbar-make-tag-line)
9729 (speedbar-line-directory, speedbar-goto-this-file)
9730 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9731 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9732 (speedbar-make-button, speedbar-reset-scanners)
9733 (speedbar-files-item-info, speedbar-line-text)
9734 (speedbar-find-file-in-frame, speedbar-set-timer)
9735 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9736 (speedbar-with-writable): Do not (re)define it.
9737 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9738 rather than speedbar- alias.
9739
9740 2013-05-21 Leo Liu <sdl.web@gmail.com>
9741
9742 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9743 menu items.
9744 (octave-mode): Tweak fill-nobreak-predicate.
9745 (inferior-octave-startup): Check process to avoid infinite loop.
9746 (inferior-octave): Pop to buffer first to show abornmal process
9747 exit information.
9748
9749 2013-05-21 Glenn Morris <rgm@gnu.org>
9750
9751 * printing.el (pr-menu-bar): Define when compiling.
9752
9753 2013-05-21 Leo Liu <sdl.web@gmail.com>
9754
9755 * progmodes/octave.el (octave-auto-fill): Remove.
9756 (octave-indent-new-comment-line): Improve.
9757 (octave-mode): Use auto fill mode through
9758 comment-line-break-function and fill-nobreak-predicate.
9759 (octave-goto-function-definition): Support DEFUN_DLD.
9760 (octave-beginning-of-defun): Small tweak.
9761 (octave-help): Show parent directory.
9762
9763 2013-05-21 Glenn Morris <rgm@gnu.org>
9764
9765 * files.el (dired-unmark):
9766 * progmodes/gud.el (gdb-input): Update declarations.
9767
9768 * calculator.el (electric, ehelp): No need to load when compiling.
9769 (Electric-command-loop, electric-describe-mode): Declare.
9770
9771 * doc-view.el (doc-view-current-converter-processes): Move before use.
9772
9773 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9774 Move MODE-set-explicitly definition before use.
9775
9776 * international/mule-diag.el (mule-diag):
9777 Don't use obsolete window-system-version.
9778
9779 * mail/feedmail.el (smtpmail): No need to load when compiling.
9780 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9781
9782 * mail/mail-utils.el (rfc822): No need to load when compiling.
9783 (rfc822-addresses): Autoload it.
9784 (mail-strip-quoted-names): Trivial simplification.
9785
9786 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9787 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9788
9789 * net/snmp-mode.el (tempo): Don't duplicate requires.
9790
9791 * progmodes/prolog.el (info): No need to load when compiling.
9792 (comint): Require before shell requires it.
9793 (Info-goto-node): Autoload it.
9794 (Info-follow-nearest-node): Declare.
9795 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9796
9797 * textmodes/artist.el (picture-mode-exit): Declare.
9798
9799 * textmodes/reftex-parse.el (reftex-parse-from-file):
9800 Trivial rewrite so the compiler can parse it better.
9801
9802 2013-05-20 Leo Liu <sdl.web@gmail.com>
9803
9804 * progmodes/octave.el (octave-help-mode-map)
9805 (octave-help-mode-finish-hook): New variables.
9806 (octave-help-mode, octave-help-mode-finish): New functions.
9807 (octave-help): Use octave-help-mode.
9808
9809 2013-05-20 Glenn Morris <rgm@gnu.org>
9810
9811 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9812
9813 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9814
9815 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9816 start at point, so that expansion starting right after opening
9817 slash in a regexp is recognized.
9818 (ruby-syntax-before-regexp-re): New defvar, extracted from
9819 ruby-syntax-propertize-function. Since the value of this regexp
9820 is looked up at runtime now, we should be able to turn
9821 `ruby-syntax-methods-before-regexp' into a defcustom later.
9822 (ruby-syntax-propertize-function): Split regexp matching into two
9823 parts, for opening and closing slashes. That allows us to skip
9824 over string interpolations and support multiline regexps.
9825 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9826 for them, which calls `ruby-syntax-propertize-expansion'.
9827 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9828 call to `ruby-syntax-propertize-function'.
9829 (ruby-syntax-propertize-expansion): Extracted from
9830 `ruby-syntax-propertize-expansions'. Handles one expansion.
9831 (ruby-syntax-propertize-percent-literal): Leave point right after
9832 the percent symbol, so that the expression expansion rule can
9833 propertize the contents.
9834 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9835 heredoc openers.
9836 (ruby-syntax-propertize-expansions): Remove.
9837
9838 2013-05-18 Juri Linkov <juri@jurta.org>
9839
9840 * man.el (Man-default-man-entry): Remove `-' from the end
9841 of the default value. (Bug#14400)
9842
9843 2013-05-18 Glenn Morris <rgm@gnu.org>
9844
9845 * comint.el (comint-password-prompt-regexp):
9846 Allow "password for XXX" where XXX contains colons (eg https://...).
9847
9848 2013-05-18 Leo Liu <sdl.web@gmail.com>
9849
9850 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9851 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9852 (octave-source-directories): Don't check process.
9853 (octave-source-directories, octave-find-definition): Doc fix.
9854
9855 2013-05-18 Glenn Morris <rgm@gnu.org>
9856
9857 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9858 Remove backspace/delete bindings. (Bug#14392)
9859
9860 * cus-dep.el (custom-make-dependencies): Sort the output.
9861 (custom-versions-load-alist): Convert comment to doc.
9862
9863 2013-05-17 Leo Liu <sdl.web@gmail.com>
9864
9865 * newcomment.el (comment-search-backward): Stricter in finding
9866 comment start. (Bug#14303)
9867
9868 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9869 (octave-comment-start-skip): Properly anchored.
9870
9871 2013-05-17 Leo Liu <sdl.web@gmail.com>
9872
9873 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9874 Clean up when turned off. (Bug#14395)
9875 (smie--highlight-matching-block-overlay): No longer buffer-local.
9876 (smie-highlight-matching-block): Adjust.
9877
9878 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9879
9880 Doc string fix for "nanoseconds" (Bug#14406).
9881 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9882 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9883
9884 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9885
9886 * calc/calc-units.el (math-extract-units): Preserve powers
9887 of units.
9888
9889 2013-05-17 Leo Liu <sdl.web@gmail.com>
9890
9891 * subr.el (delete-consecutive-dups): New function.
9892 * ido.el (ido-set-matches-1): Use it.
9893 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9894 * ido.el (ido-remove-consecutive-dups): Remove.
9895
9896 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9899 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9900 regexp-opt's `words'.
9901
9902 2013-05-16 Leo Liu <sdl.web@gmail.com>
9903
9904 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9905 (smie--highlight-matching-block-overlay)
9906 (smie--highlight-matching-block-lastpos)
9907 (smie--highlight-matching-block-timer): New variables.
9908 (smie-highlight-matching-block): New function.
9909 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9910 (smie-setup): Conditionally enable smie-blink-matching-open.
9911
9912 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9913
9914 Sync with upstream verilog-mode r840.
9915 * progmodes/verilog-mode.el (verilog-mode-version)
9916 (verilog-mode-release-date): Update.
9917 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9918 (verilog-sig-tieoff): Fix string error on
9919 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9920 (verilog-read-decls): Fix parameters confusing
9921 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9922
9923 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9924
9925 * subr.el (reveal-filename): New function.
9926
9927 * loadup.el: Compute Emacs executable versions on MS-Windows,
9928 where executables have the .exe extension. Add a hard link
9929 emacs-XX.YY.ZZ.exe on MS-Windows.
9930
9931 * Makefile.in (XARGS_LIMIT): New variable.
9932 (custom-deps, finder-data, autoloads)
9933 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9934 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9935 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9936 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9937
9938 2013-05-16 Leo Liu <sdl.web@gmail.com>
9939
9940 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9941 (octave-mode-menu, octave-mode-map): Remove its uses.
9942
9943 2013-05-16 Reto Zimmermann <reto@gnu.org>
9944
9945 Sync with upstream vhdl mode v3.34.2.
9946 * progmodes/vhdl-mode.el: Use `push' throughout.
9947 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9948 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9949 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9950 (vhdl-actual-generic-name): New option to derive actual generic name.
9951 (vhdl-port-paste-signals): Replace formal by actual generics.
9952 (vhdl-beautify): New name for old group vhdl-align. Update users.
9953 (vhdl-beautify-options): New option.
9954 (vhdl-last-input-event): New compat alias. Use throughout.
9955 (vhdl-goto-line): Replace user level function `goto-line'.
9956 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9957 vhdl-fix-statement-buffer.
9958 (vhdl-create-mode-menu): Add some entries.
9959 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9960 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9961 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9962 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9963 to force statements on one line.
9964 (vhdl-remove-trailing-spaces-region):
9965 New, split from vhdl-remove-trailing-spaces.
9966 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9967 Respect vhdl-beautify-options.
9968 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9969 (vhdl-update-sensitivity-list): Not add with index if exists without.
9970 Not include array index with signal. Ignore keywords in comments.
9971 (vhdl-get-visible-signals): Regexp tweaks.
9972 (vhdl-template-component-inst): Handle empty library.
9973 (vhdl-template-type): Add template for 'enum' type.
9974 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9975 Use vhdl-replace-string.
9976 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9977 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9978 (vhdl-speedbar-initialize): Update for above name change.
9979 (vhdl-compose-wire-components): Fix in handling of constants.
9980 (vhdl-error-regexp-emacs-alist): New variable.
9981 (vhdl-error-regexp-add-emacs): New function;
9982 adds support for new compile.el (Emacs 22+)
9983 (vhdl-generate-makefile-1): Change target order for single lib. units.
9984 Allow use of absolute file names.
9985
9986 2013-05-16 Leo Liu <sdl.web@gmail.com>
9987
9988 * simple.el (prog-indent-sexp): Indent enclosing defun.
9989
9990 2013-05-15 Glenn Morris <rgm@gnu.org>
9991
9992 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9993 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9994 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9995 (whitespace-highlight): Move to whitespace group.
9996
9997 * comint.el (comint-source):
9998 * pcmpl-linux.el (pcmpl-linux):
9999 * shell.el (shell-faces):
10000 * eshell/esh-opt.el (eshell-opt):
10001 * international/ccl.el (ccl): Remove empty custom groups.
10002
10003 * completion.el (dynamic-completion-mode):
10004 * jit-lock.el (jit-lock-debug-mode):
10005 * minibuffer.el (completion-in-region-mode):
10006 * type-break.el (type-break-mode-line-message-mode)
10007 (type-break-query-mode):
10008 * emulation/tpu-edt.el (tpu-edt-mode):
10009 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10010 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10011 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10012
10013 * term/xterm.el (xterm): Change parent group to terminals.
10014
10015 * master.el (master): Remove empty custom group.
10016 (master-mode): Remove unused :group argument.
10017 * textmodes/refill.el (refill): Remove empty custom group.
10018 (refill-mode): Remove unused :group argument.
10019
10020 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10021
10022 * cus-dep.el: Provide a feature.
10023 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10024 Don't mistakenly ignore files whose basenames match a basename
10025 from preloaded-file-list (eg cedet/ede/simple.el).
10026 Add a fallback method for getting :group.
10027
10028 2013-05-15 Juri Linkov <juri@jurta.org>
10029
10030 * isearch.el (isearch-char-by-name): Rename from
10031 `isearch-insert-char-by-name'. Doc fix.
10032 (isearch-forward): Mention `isearch-char-by-name' in
10033 the docstring. (Bug#13348)
10034
10035 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10036 `exit-minibuffer' instead of
10037 `isearch-nonincremental-exit-minibuffer'.
10038 (isearch-edit-string): Remove mention of
10039 `isearch-nonincremental-exit-minibuffer' from docstring.
10040 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10041 (isearch-forward-exit-minibuffer)
10042 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10043
10044 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * loadup.el: Just use unversioned DOC.
10047
10048 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10049 literals as extending to EOB.
10050 (nxml-last-fontify-end): Remove unused variable.
10051 (nxml-after-change1): Use with-silent-modifications.
10052 (nxml-extend-after-change-region): Simplify.
10053 (nxml-extend-after-change-region1): Remove function.
10054 (nxml-after-change1): Don't adjust for dependent regions.
10055 (nxml-fontify-matcher): Simplify.
10056 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10057 (xmltok-add-dependent): Remove function.
10058 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10059 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10060 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10061 unclosed <[[, <?, comment, and other literals as extending to EOB.
10062 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10063 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10064 Remove functions.
10065 (rng-do-some-validation-1): Don't mark dependent regions.
10066 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10067 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10068 (nxml-clear-dependent-regions): Remove functions.
10069 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10070 (nxml-ensure-scan-up-to-date):
10071 Don't clear&mark dependent regions.
10072
10073 2013-05-15 Leo Liu <sdl.web@gmail.com>
10074
10075 * progmodes/octave.el (octave-goto-function-definition):
10076 Improve and fix callers.
10077
10078 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10079
10080 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10081 the setter (bug#14387).
10082
10083 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10084 surrounding group (bug#14402).
10085
10086 2013-05-14 Juri Linkov <juri@jurta.org>
10087
10088 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10089 (Bug#14390)
10090
10091 2013-05-14 Glenn Morris <rgm@gnu.org>
10092
10093 * progmodes/f90.el (f90-imenu-generic-expression):
10094 Fix typo in 2013-05-08 change. (Bug#14402)
10095
10096 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10097
10098 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10099 Remove signals for which replies are never received.
10100
10101 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10102
10103 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10104 (gdb-handler-alist, gdb-handler-number): Remove variables.
10105 (gdb-handler-list): New variable.
10106 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10107 (gdb-pending-handler-p, gdb-handle-reply)
10108 (gdb-remove-all-pending-triggers): New functions.
10109 (gdb-discard-unordered-replies): New defcustom.
10110 (gdb-handler): New defstruct.
10111 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10112 instead of gdb-pending-triggers. Update docstring.
10113 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10114 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10115 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10116 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10117 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10118 (gdb-frame-handler): Pending triggers are now automatically managed.
10119 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10120 Remove argument.
10121 (gdb-input): Automatically handles pending triggers. Update docstring.
10122 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10123 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10124 Update comments.
10125 (gdb-done-or-error): Now use gdb-handle-reply.
10126
10127 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10128
10129 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10130 gdb-debug-log.
10131
10132 2013-05-14 Glenn Morris <rgm@gnu.org>
10133
10134 * subr.el (user-emacs-directory-warning): New option.
10135 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10136
10137 2013-05-14 Leo Liu <sdl.web@gmail.com>
10138
10139 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10140 during redisplay.
10141 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10142 (octave-font-lock-texinfo-comment): Fix invalid search bound
10143 error: wrong side of point.
10144
10145 2013-05-14 Glenn Morris <rgm@gnu.org>
10146
10147 * progmodes/flymake.el (flymake-xml-program): New option.
10148 (flymake-xml-init): Use it.
10149
10150 * term/xterm.el: Provide a feature.
10151
10152 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10153
10154 2013-05-13 Glenn Morris <rgm@gnu.org>
10155
10156 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10157 Add compat aliases as a hack workaround. (Bug#14384)
10158
10159 2013-05-13 Leo Liu <sdl.web@gmail.com>
10160
10161 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10162 ###, and %!.
10163 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10164 C-M-q.
10165 (octave-comment-start-skip): Include %!.
10166 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10167
10168 2013-05-12 Leo Liu <sdl.web@gmail.com>
10169
10170 * progmodes/octave.el (inferior-octave-startup): Store the value
10171 of __octave_srcdir__ for octave-source-directories.
10172 (inferior-octave-check-process): New function refactored out of
10173 inferior-octave-send-list-and-digest.
10174 (octave-source-directories)
10175 (octave-find-definition-filename-function): New variables.
10176 (octave-source-directories)
10177 (octave-find-definition-default-filename): New functions.
10178 (octave-find-definition): Improve to find functions implemented in C++.
10179
10180 2013-05-12 Glenn Morris <rgm@gnu.org>
10181
10182 * calendar/diary-lib.el (diary-outlook-format-1):
10183 Don't include dayname in the output. (Bug#14349)
10184
10185 2013-05-11 Glenn Morris <rgm@gnu.org>
10186
10187 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10188
10189 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10190 Treat cc-provide like provide.
10191
10192 2013-05-11 Kevin Ryde <user42@zip.com.au>
10193
10194 * cus-dep.el (custom-make-dependencies):
10195 Use generated-autoload-load-name for the sake of files such
10196 such cedet/semantic/bovine/c.el, where the base file name
10197 is not in load-path. (Bug#5277)
10198
10199 2013-05-11 Glenn Morris <rgm@gnu.org>
10200
10201 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10202 Provide features.
10203
10204 2013-05-11 Leo Liu <sdl.web@gmail.com>
10205
10206 * progmodes/octave.el (octave-indent-comment): Improve.
10207 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10208 (octave-eldoc-function-signatures, octave-eldoc-function):
10209 New functions.
10210 (octave-mode, inferior-octave-mode): Add eldoc support.
10211
10212 2013-05-11 Richard Stallman <rms@gnu.org>
10213
10214 * epa.el (epa-decrypt-file): Take output file name as argument
10215 and read it using `interactive'.
10216
10217 2013-05-11 Leo Liu <sdl.web@gmail.com>
10218
10219 * progmodes/octave.el (octave-beginning-of-line)
10220 (octave-end-of-line): Check before using up-list because it jumps
10221 out of more syntactic contructs since moving to smie.
10222 (octave-indent-comment): New function.
10223 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10224 (octave-begin-keywords, octave-end-keywords)
10225 (octave-reserved-words, octave-smie-bnf-table)
10226 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10227
10228 2013-05-11 Glenn Morris <rgm@gnu.org>
10229
10230 * faces.el (internal-face-x-get-resource):
10231 * frame.el (ns-display-monitor-attributes-list):
10232 * calc/calc-aent.el (math-to-radians-2):
10233 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10234 Fix declarations.
10235
10236 * calc/calc-menu.el: Make it loadable in isolation.
10237
10238 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10239 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10240 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10241 (eudc-bbdb-query-internal): Require 'bbdb.
10242
10243 * lpr.el (lpr-headers-switches):
10244 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10245
10246 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10247
10248 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10249
10250 * term.el (term-set-escape-char): Make it idempotent.
10251
10252 2013-05-10 Leo Liu <sdl.web@gmail.com>
10253
10254 * progmodes/octave.el (inferior-octave-completion-table):
10255 No longer a function and all uses changed. Use cache to speed up
10256 completion due to bug#11906.
10257 (octave-beginning-of-defun): Re-write to be more general.
10258
10259 2013-05-10 Glenn Morris <rgm@gnu.org>
10260
10261 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10262
10263 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10264
10265 * comint.el (comint-redirect-send-command-to-process): Use :around
10266 rather than :override for comint-redirect-filter.
10267 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10268 Call it instead of comint-redirect-original-filter-function (which
10269 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10270
10271 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10272
10273 * frame.el (display-monitor-attributes-list): Add NS case.
10274 (ns-display-monitor-attributes-list): Declare.
10275
10276 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10277
10278 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10279
10280 2013-05-09 Glenn Morris <rgm@gnu.org>
10281
10282 * international/fontset.el (vertical-centering-font-regexp):
10283 Set standard-value.
10284
10285 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10286
10287 * bookmark.el (bookmark-search-delay):
10288 * cus-start.el (vertical-centering-font-regexp):
10289 * ps-mule.el (ps-mule-font-info-database-default):
10290 * ps-print.el (ps-default-fg, ps-default-bg):
10291 * type-break.el (type-break-good-break-interval):
10292 * whitespace.el (whitespace-indentation-regexp)
10293 (whitespace-space-after-tab-regexp):
10294 * emacs-lisp/testcover.el (testcover-1value-functions)
10295 (testcover-noreturn-functions, testcover-progn-functions)
10296 (testcover-prog1-functions):
10297 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10298 * eshell/em-glob.el (eshell-glob-translate-alist):
10299 * play/tetris.el (tetris-tty-colors):
10300 * progmodes/cpp.el (cpp-face-default-list):
10301 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10302 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10303 (idlwave-help-browser-generic-args):
10304 * progmodes/make-mode.el (makefile-special-targets-list):
10305 * progmodes/python.el (python-shell-virtualenv-path):
10306 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10307 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10308 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10309 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10310 * textmodes/reftex-vars.el (reftex-format-label-function):
10311 * textmodes/remember.el (remember-diary-file): Fix custom types.
10312
10313 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10314 Add :version.
10315
10316 2013-05-09 Leo Liu <sdl.web@gmail.com>
10317
10318 * progmodes/octave.el (inferior-octave-completion-at-point):
10319 Restore file completion. (Bug#14300)
10320 (inferior-octave-startup): Fix incorrect highlighting for the
10321 first prompt.
10322
10323 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * progmodes/ruby-mode.el: First cut at SMIE support.
10326 (ruby-use-smie): New var.
10327 (ruby-smie-grammar): New constant.
10328 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10329 (ruby-smie--forward-token, ruby-smie--backward-token)
10330 (ruby-smie-rules): New functions.
10331 (ruby-mode-variables): Setup SMIE if applicable.
10332
10333 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10334
10335 * simple.el (line-move-visual): Signal beginning/end of buffer
10336 only if vertical-motion moved less than it was requested. Avoids
10337 silly incorrect error messages when there are display strings with
10338 multiple newlines at EOL.
10339
10340 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10343 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10344 (prolog-char-quote-workaround):
10345 * progmodes/cperl-mode.el (cperl-under-as-char):
10346 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10347 Mark as obsolete.
10348 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10349 their declaration.
10350 (vhdl-mode-syntax-table-init): Remove.
10351
10352 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10353 last change.
10354
10355 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10356 syntax for "_".
10357 (ld-script-font-lock-keywords):
10358 Change regexps to use things like \_< and \_>.
10359
10360 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10361 Change all regexps to use things like \_< and \_>.
10362
10363 * progmodes/autoconf.el (autoconf-definition-regexp)
10364 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10365 Handle a _ with symbol syntax.
10366 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10367
10368 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10369 Consolidate declaration.
10370 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10371 the declaration.
10372 (ada-create-syntax-table): Remove.
10373 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10374 already has the right syntax nowadays.
10375 (ada-goto-next-word): Don't change the syntax of "_".
10376
10377 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10378 with-wrapper-hook.
10379
10380 2013-05-08 Sam Steingold <sds@gnu.org>
10381
10382 * thingatpt.el (thing-at-point): Accept optional second argument
10383 NO-PROPERTIES to strip the text properties from the return value.
10384 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10385 to `thing-at-point' instead of stripping the properties ourselves.
10386 Also, when `thing-at-point' fails to find a url, prepend "http://"
10387 to the filename at point on the assumption that the user is
10388 pointing at something like gnu.org/gnu.
10389
10390 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10391
10392 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10393 * faces.el (crm-separator):
10394 Silence byte-compiler.
10395
10396 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10397 (tool-bar-map): Remove unneeded defvars.
10398
10399 2013-05-08 Leo Liu <sdl.web@gmail.com>
10400
10401 Re-work a fix for bug#10994 based on Le Wang's patch.
10402 * ido.el (ido-remove-consecutive-dups): New helper.
10403 (ido-completing-read): Use it.
10404 (ido-chop): Revert fix for bug#10994.
10405
10406 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10407
10408 * cus-edit.el (custom-save-variables):
10409 Pretty-print long values. (Bug#14187)
10410
10411 2013-05-08 Glenn Morris <rgm@gnu.org>
10412
10413 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10414 (m4-mode-syntax-table): Init in the defvar.
10415 (m4-mode-abbrev-table): Let define-derived-mode define it.
10416
10417 2013-05-08 Tom Tromey <tromey@redhat.com>
10418
10419 * progmodes/m4-mode.el (m4-mode-syntax-table):
10420 Do not treat "_" as word constituent. (Bug#14167)
10421
10422 2013-05-07 Glenn Morris <rgm@gnu.org>
10423
10424 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10425 Remove explicit eshell-isearch-cancel-map.
10426
10427 * progmodes/f90.el (f90-smart-end-names): New option.
10428 (f90-smart-end): Doc fix.
10429 (f90-end-block-optional-name): New constant.
10430 (f90-block-match): Respect f90-smart-end-names.
10431
10432 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10435 about implicit semi-colons (bug#14218).
10436
10437 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10438
10439 * frame.el (display-monitor-attributes-list)
10440 (frame-monitor-attributes): New functions.
10441
10442 2013-05-06 Leo Liu <sdl.web@gmail.com>
10443
10444 * progmodes/octave.el (octave-syntax-propertize-function): Change
10445 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10446 (octave-font-lock-keywords): Use octave-operator-regexp.
10447 (octave-completion-at-point): Rename from
10448 octave-completion-at-point-function.
10449 (inferior-octave-directory-tracker): Robustify.
10450 (octave-text-functions): Remove and fix its uses. No such things
10451 any more.
10452
10453 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10454
10455 * emacs-lisp/trace.el (trace--display-buffer): New function.
10456 (trace-make-advice): Use it.
10457
10458 2013-05-06 Juri Linkov <juri@jurta.org>
10459
10460 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10461 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10462 Doc fix.
10463 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10464 in the help string. (Bug#12985)
10465
10466 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10467
10468 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10469
10470 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * progmodes/perl-mode.el: Add support for here documents.
10473 (perl-syntax-propertize-function): Match here-doc markers.
10474 (perl-syntax-propertize-special-constructs): Find their end.
10475 (perl-imenu-generic-expression): Use [:alnum:].
10476
10477 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10478 (advice--add-function): Refresh the advice if already present
10479 (bug#14317).
10480
10481 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10482
10483 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10484
10485 2013-05-06 Glenn Morris <rgm@gnu.org>
10486
10487 * w32-fns.el (w32-charset-info-alist): Declare.
10488
10489 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10490 of its defcustom properties.
10491 (eshell-cmpl-initialize): No need to load pcomplete.
10492
10493 * generic-x.el: No need to require comint when compiling.
10494
10495 * net/eudc-export.el: Make it loadable without bbdb.
10496 (top-level): Use require rather than load-library.
10497 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10498 (eudc-batch-export-records-to-bbdb)
10499 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10500 Require bbdb.
10501
10502 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10503
10504 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10505 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10506 some tweaks, instead.
10507
10508 2013-05-05 Leo Liu <sdl.web@gmail.com>
10509
10510 * progmodes/octave.el (octave-font-lock-keywords)
10511 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10512 (inferior-octave-send-list-and-digest): Improve error message.
10513 (octave-mode, inferior-octave-mode): Use setq-local.
10514 (octave-help): Set info-lookup-mode.
10515
10516 2013-05-05 Richard Stallman <rms@gnu.org>
10517
10518 * vc/compare-w.el (compare-windows-whitespace):
10519 Treat no-break space as whitespace.
10520
10521 * mail/rmailsum.el (rmail-summary-rmail-update):
10522 Detect empty summary and don't change selected message.
10523 (rmail-summary-goto-msg): Likewise.
10524
10525 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10526 Doc fixes, rename args.
10527
10528 2013-05-05 Alan Mackenzie <acm@muc.de>
10529
10530 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10531
10532 2013-05-05 Juri Linkov <juri@jurta.org>
10533
10534 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10535 to not add the length of the summary segment to the return value.
10536 (Bug#14125)
10537
10538 2013-05-05 Leo Liu <sdl.web@gmail.com>
10539
10540 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10541 (inferior-octave-output-filter): Remove.
10542 (octave-send-region, inferior-octave-startup): Fix callers.
10543 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10544 (octave-binary-file-extensions): New user variable.
10545 (octave-find-definition): Confirm if opening binary files.
10546 (octave-help-file): Use octave-find-definition to get the binary
10547 confirmation.
10548 (octave-help): Adjust for octave-help-file change.
10549
10550 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10551
10552 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10553 Merge the two entries that handle function definitions.
10554 (pascal--syntax-propertize): New const.
10555 (pascal-mode): Use it. Use setq-local.
10556
10557 2013-05-04 Glenn Morris <rgm@gnu.org>
10558
10559 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10560 (diary-from-outlook): Respect diary-from-outlook-function.
10561
10562 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10563
10564 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10565 Move the declaration from C.
10566 (read-minibuffer, eval-minibuffer): Move from C.
10567 (completion-setup-function): Avoid minibuffer-completion-contents.
10568
10569 2013-05-03 Leo Liu <sdl.web@gmail.com>
10570
10571 * progmodes/octave.el (octave-font-lock-keywords): Do not
10572 dehighlight 'end' in comments or strings.
10573 (octave-completing-read, octave-goto-function-definition):
10574 New helpers.
10575 (octave-help-buffer): New user variable.
10576 (octave-help-file, octave-help-function): New button types.
10577 (octave-help): New command and bind it to C-h ;.
10578 (octave-find-definition): New command and bind it to M-.
10579 (user-error): Alias to error if not defined.
10580
10581 2013-05-02 Leo Liu <sdl.web@gmail.com>
10582
10583 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10584 for \. (bug#14332)
10585 (octave-font-lock-keywords): Include [ and {.
10586
10587 2013-05-02 Leo Liu <sdl.web@gmail.com>
10588
10589 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10590 (inferior-octave): Remove calling comint-mode and return the buffer.
10591 (inferior-octave-startup): Cosmetic changes.
10592
10593 2013-05-02 Leo Liu <sdl.web@gmail.com>
10594
10595 * progmodes/octave.el (octave-syntax-propertize-function):
10596 Include the case when ' is at line beginning. (Bug#14336)
10597
10598 2013-05-02 Glenn Morris <rgm@gnu.org>
10599
10600 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10601 * desktop.el (vc-dir-mode): Just autoload it here.
10602
10603 2013-05-02 Alan Mackenzie <acm@muc.de>
10604
10605 Eliminate variable c-standard-font-lock-fontify-region-function.
10606 * progmodes/cc-mode.el
10607 (c-standard-font-lock-fontify-region-function): Remove.
10608 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10609
10610 2013-05-01 Leo Liu <sdl.web@gmail.com>
10611
10612 * progmodes/octave.el: Compatible with older emacs-24 releases.
10613 (inferior-octave-has-built-in-variables): Remove. Built-in
10614 variables were removed from Octave in 2007.
10615 (inferior-octave-startup): Fix uses.
10616 (comint-line-beginning-position): Remove compatibility code for
10617 emacs 21.
10618
10619 2013-05-01 Juri Linkov <juri@jurta.org>
10620
10621 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10622
10623 2013-05-01 Juri Linkov <juri@jurta.org>
10624
10625 * comint.el (comint-previous-matching-input): Don't print message
10626 "History item: %d" when `isearch-mode' is active.
10627 (comint-history-isearch-message): Print message "History item: %d"
10628 when `comint-input-ring-index' is not empty and this function is
10629 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10630
10631 2013-05-01 Leo Liu <sdl.web@gmail.com>
10632
10633 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10634 definitions. Use completion-at-point to insert keywords.
10635 (octave-abbrev-start): Remove.
10636 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10637
10638 2013-04-30 Leo Liu <sdl.web@gmail.com>
10639
10640 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10641 change.
10642
10643 2013-04-30 Alan Mackenzie <acm@muc.de>
10644
10645 Handle arbitrarily long C++ member initialisation lists.
10646 * progmodes/cc-engine.el (c-back-over-member-initializers):
10647 new function.
10648 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10649 (most) member init lists.
10650
10651 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10652
10653 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10654 variable.
10655
10656 2013-04-30 Leo Liu <sdl.web@gmail.com>
10657
10658 * progmodes/octave.el (octave-variables): Remove. No builtin
10659 variables any more. All converted to functions.
10660 (octave-font-lock-keywords, octave-completion-at-point-function):
10661 Fix uses.
10662 (octave-font-lock-texinfo-comment): New user variable.
10663 (octave-texinfo-font-lock-keywords): New variable for texinfo
10664 comment block.
10665 (octave-function-comment-block): New face.
10666 (octave-font-lock-texinfo-comment): New function.
10667 (octave-mode): Font lock texinfo comment block.
10668
10669 2013-04-29 Leo Liu <sdl.web@gmail.com>
10670
10671 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10672 indexing expression.
10673 (octave-continuation-string): Do not use \.
10674 (inferior-octave-complete-impossible): Remove.
10675 (inferior-octave-completion-table)
10676 (inferior-octave-completion-at-point): Remove its uses.
10677 (inferior-octave-startup): completion_matches was introduced to
10678 Octave in 1996 so safe to assume it.
10679 (octave-function-file-comment): Improve to follow how Octave does it.
10680 (octave-update-function-file-comment): Tweak.
10681
10682 2013-04-29 Leo Liu <sdl.web@gmail.com>
10683
10684 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10685 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10686 (octave-function-file-comment): Fix typo.
10687 (octave-sync-function-file-names): Use read-char-choice.
10688
10689 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10690
10691 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10692 to t for the less important warnings.
10693
10694 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10695
10696 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10697
10698 2013-04-27 Glenn Morris <rgm@gnu.org>
10699
10700 * vc/log-view.el (log-view-current-entry):
10701 Treat "---" separator lines as part of the following rev. (Bug#14169)
10702
10703 2013-04-27 Juri Linkov <juri@jurta.org>
10704
10705 * subr.el (read-number): Doc fix about using it by interactive
10706 code letter `n'. (Bug#14254)
10707
10708 2013-04-27 Juri Linkov <juri@jurta.org>
10709
10710 * desktop.el (desktop-auto-save-timeout): New option.
10711 (desktop-file-checksum): New variable.
10712 (desktop-save): Add optional arg `auto-save' and don't auto-save
10713 if nothing changed.
10714 (desktop-auto-save-timer): New variable.
10715 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10716 (after-init-hook): Call `desktop-auto-save-set-timer'.
10717 Suggested by Reuben Thomas <rrt@sc3d.org> in
10718 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10719
10720 2013-04-27 Leo Liu <sdl.web@gmail.com>
10721
10722 * progmodes/octave.el (octave-function-file-p)
10723 (octave-skip-comment-forward, octave-function-file-comment)
10724 (octave-update-function-file-comment): New functions.
10725 (octave-mode-map): Bind C-c ; to
10726 octave-update-function-file-comment.
10727 (octave-mode-menu): Add octave-update-function-file-comment.
10728 (octave-mode, inferior-octave-mode): Fix doc-string.
10729 (octave-insert-defun): Conform to Octave's coding convention.
10730 (Bug#14285)
10731
10732 * files.el (basic-save-buffer): Don't let errors in
10733 before-save-hook prevent saving buffer.
10734
10735 2013-04-20 Roland Winkler <winkler@gnu.org>
10736
10737 * faces.el (read-face-name): Use completing-read if arg multiple
10738 is nil.
10739
10740 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10741
10742 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10743 displayed, move point to after the totals line.
10744 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10745 for the details.
10746
10747 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10748
10749 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10750 Add current dir to the load-path.
10751 (package-generate-autoloads): Don't rely on
10752 autoload-ensure-default-file.
10753
10754 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10755
10756 * textmodes/remember.el (remember-store-in-files): Document that
10757 the file name format is passed to `format-time-string'.
10758
10759 2013-04-26 Leo Liu <sdl.web@gmail.com>
10760
10761 * progmodes/octave.el (octave-sync-function-file-names): New function.
10762 (octave-mode): Use it in before-save-hook.
10763
10764 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10765
10766 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10767 (bug#14274).
10768
10769 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10770 \n and comment, even if it's not an implicit ; (bug#14218).
10771
10772 2013-04-26 Glenn Morris <rgm@gnu.org>
10773
10774 * subr.el (read-number): Once more use `read' rather than
10775 `string-to-number', to trap non-numeric input. (Bug#14254)
10776
10777 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10778
10779 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10780 Use `syntax-multiline' text property consistently instead of
10781 `font-lock-multiline'. (Bug#14237)
10782
10783 2013-04-26 Glenn Morris <rgm@gnu.org>
10784
10785 * emacs-lisp/shadow.el (list-load-path-shadows):
10786 No longer necessary to check for duplicate simple.el, since
10787 2012-07-07 change to init_lread to not include installation lisp
10788 directories in load-path when running uninstalled. (Bug#14270)
10789
10790 2013-04-26 Leo Liu <sdl.web@gmail.com>
10791
10792 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10793 (octave-mode, inferior-octave-mode): Use setq-local.
10794 (octave-not-in-string-or-comment-p): Rename to
10795 octave-in-string-or-comment-p.
10796 (octave-in-comment-p, octave-in-string-p)
10797 (octave-in-string-or-comment-p): Replace defsubst with defun.
10798
10799 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10800
10801 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10802
10803 2013-04-25 Bastien Guerry <bzg@gnu.org>
10804
10805 * textmodes/remember.el (remember-data-directory)
10806 (remember-directory-file-name-format): Fix custom types.
10807
10808 2013-04-25 Leo Liu <sdl.web@gmail.com>
10809
10810 * progmodes/octave.el (octave-completion-at-point-function):
10811 Make use of inferior octave process.
10812 (octave-initialize-completions): Remove.
10813 (inferior-octave-completion-table): New function.
10814 (inferior-octave-completion-at-point): Use it.
10815 (octave-completion-alist): Remove.
10816
10817 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10818
10819 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10820 (opascal-mode-syntax-table): New var.
10821 (opascal-literal-kind, opascal-is-literal-end)
10822 (opascal-literal-token-at): Rewrite.
10823 (opascal--literal-start-re, opascal-font-lock-keywords)
10824 (opascal--syntax-propertize): New constants.
10825 (opascal-font-lock-defaults): Adjust.
10826 (opascal-mode): Use them. Set comment-<foo> variables as well.
10827 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10828 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10829 (delphi-other-face, opascal-other-face): Remove face variables.
10830 (opascal-save-state): Remove macro.
10831 (opascal-fontifying-progress-step): Remove constant.
10832 (opascal--ignore-changes): Remove var.
10833 (opascal-set-token-property, opascal-parse-next-literal)
10834 (opascal-is-stable-literal, opascal-complete-literal)
10835 (opascal-is-literal-start, opascal-face-of)
10836 (opascal-parse-region, opascal-parse-region-until-stable)
10837 (opascal-fontify-region, opascal-after-change)
10838 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10839 (opascal-debug-parse-region, opascal-debug-parse-window)
10840 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10841 (opascal-debug-fontify-buffer): Remove.
10842 (opascal-debug-mode-map): Adjust accordingly.
10843
10844 2013-04-25 Leo Liu <sdl.web@gmail.com>
10845
10846 Merge octave-mod.el and octave-inf.el into octave.el with some
10847 cleanups.
10848 * progmodes/octave.el: New file renamed from octave-mod.el.
10849 * progmodes/octave-inf.el: Merged into octave.el.
10850 * progmodes/octave-mod.el: Renamed to octave.el.
10851
10852 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10853
10854 * textmodes/reftex-vars.el
10855 (reftex-label-ignored-macros-and-environments): New defcustom.
10856
10857 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10858
10859 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10860
10861 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10862 (smie-indent-keyword): Improve the check to ensure that the next
10863 comment is really on the same line.
10864 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10865
10866 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10867 semi-colons if the line is not otherwise empty (bug#14218).
10868
10869 2013-04-25 Glenn Morris <rgm@gnu.org>
10870
10871 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10872
10873 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10874
10875 * progmodes/opascal.el (opascal-set-token-property): Rename from
10876 opascal-set-text-properties and only set `token' (bug#14134).
10877 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10878 (opascal-literal-text-properties): Remove.
10879 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10880 Adjust callers.
10881
10882 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10883
10884 * textmodes/remember.el (remember-handler-functions): Add an
10885 option for a new handler `remember-store-in-files'.
10886 (remember-data-directory, remember-directory-file-name-format):
10887 New options.
10888 (remember-store-in-files): New function to store remember notes
10889 as separate files within a directory.
10890
10891 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10892
10893 * progmodes/compile.el (compilation-next-error-function):
10894 Pass "formats" to compilation-find-file (bug#11777).
10895
10896 2013-04-24 Glenn Morris <rgm@gnu.org>
10897
10898 * vc/vc-bzr.el (vc-bzr-print-log):
10899 * vc/vc-hg.el (vc-hg-print-log):
10900 * vc/vc-svn.el (vc-svn-print-log):
10901 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10902
10903 * vc/vc-bzr.el (vc-bzr-print-log):
10904 * vc/vc-cvs.el (vc-cvs-print-log):
10905 * vc/vc-git.el (vc-git-print-log):
10906 * vc/vc-hg.el (vc-hg-print-log):
10907 * vc/vc-mtn.el (vc-mtn-print-log):
10908 * vc/vc-rcs.el (vc-rcs-print-log):
10909 * vc/vc-sccs.el (vc-sccs-print-log):
10910 * vc/vc-svn.el (vc-svn-print-log):
10911 * vc/vc.el (vc-print-log-internal): Doc fixes.
10912
10913 2013-04-23 Glenn Morris <rgm@gnu.org>
10914
10915 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10916 Remove venerable code attempting to avoid substitute-command-keys.
10917
10918 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10919
10920 * textmodes/reftex-vars.el (reftex-label-regexps):
10921 Call `reftex-compile-variables' after changes to this variable.
10922
10923 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10924
10925 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10926 Use lexical-binding.
10927 (jit-lock-force-redisplay): Use markers, check buffer's continued
10928 existence and beware narrowed buffers.
10929 (jit-lock-fontify-now): Adjust call accordingly.
10930
10931 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10932
10933 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10934 to avoid misleading the user.
10935
10936 2013-04-22 Leo Liu <sdl.web@gmail.com>
10937
10938 * info-look.el: Prefer latex2e.info. (Bug#14240)
10939
10940 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10941
10942 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10943
10944 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10945 * net/tramp.el (tramp-call-process): ... here.
10946 (tramp-set-completion-function, tramp-parse-putty):
10947 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10948 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10949 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10950 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10951 (tramp-call-local-coding-command): Use `tramp-call-process'
10952 instead of `tramp-compat-call-process'.
10953
10954 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10955 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10956 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10957 (tramp-find-inline-compress): Improve traces.
10958 (tramp-maybe-send-script): Check for Perl binary.
10959 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10960
10961 2013-04-22 Daiki Ueno <ueno@gnu.org>
10962
10963 * epg.el (epg-context-pinentry-mode): New function.
10964 (epg-context-set-pinentry-mode): New function.
10965 (epg--start): Pass --pinentry-mode option to gpg command.
10966
10967 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10968
10969 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10970 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10971 `completion-at-point'. (Bug#13774)
10972
10973 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10974 default key binding for `describe-distribution' has been moved to
10975 `C-h C-o'. (Bug#13970)
10976
10977 2013-04-21 Glenn Morris <rgm@gnu.org>
10978
10979 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10980 Add doc strings.
10981 (vc-print-log): Clarify interactive prompt.
10982
10983 2013-04-20 Glenn Morris <rgm@gnu.org>
10984
10985 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10986 No longer include timestamp etc information.
10987
10988 2013-04-20 Roland Winkler <winkler@gnu.org>
10989
10990 * faces.el (read-face-name): Bug fix, return just one face if arg
10991 multiple is nil. (Bug#14209)
10992
10993 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10994
10995 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10996 (remove-function): Autoload.
10997
10998 * comint.el (comint-redirect-original-filter-function): Remove.
10999 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11000 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11001 (vc-cvs-annotate-command):
11002 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11003 * progmodes/prolog.el (prolog-consult-compile):
11004 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11005 Use add/remove-function instead.
11006 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11007 (gud-tooltip-process-output, gud-tooltip-tips):
11008 Use add/remove-function instead.
11009 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11010 (scheme-interaction-mode, exit-scheme-interaction-mode):
11011 Use add/remove-function instead.
11012
11013 * vc/vc-dispatcher.el: Use lexical-binding.
11014 (vc--process-sentinel): Rename from vc-process-sentinel.
11015 Change last arg to be the code to run. Don't use vc-previous-sentinel
11016 and vc-sentinel-commands any more.
11017 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11018 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11019
11020 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11021
11022 * progmodes/sh-script.el (sh-imenu-generic-expression):
11023 Handle function names with a single character. (Bug#14111)
11024
11025 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11026
11027 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11028 for subroutines defined in an eval (bug#14182).
11029
11030 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11031
11032 * bookmark.el (bookmark-completing-read): Improve handling of empty
11033 string (bug#14176).
11034
11035 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11036
11037 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11038
11039 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11040
11041 New faster Imenu implementation (bug#14058).
11042 * progmodes/python.el:
11043 (python-imenu-prev-index-position):
11044 (python-imenu-format-item-label-function)
11045 (python-imenu-format-parent-item-label-function)
11046 (python-imenu-format-parent-item-jump-label-function):
11047 New vars.
11048 (python-imenu-format-item-label)
11049 (python-imenu-format-parent-item-label)
11050 (python-imenu-format-parent-item-jump-label)
11051 (python-imenu--put-parent, python-imenu--build-tree)
11052 (python-imenu-create-index, python-imenu-create-flat-index)
11053 (python-util-popn): New functions.
11054 (python-mode): Set imenu-create-index-function to
11055 python-imenu-create-index.
11056
11057 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * winner.el (winner-active-region): Use region-active-p, activate-mark
11060 and deactivate-mark (bug#14225).
11061
11062 * simple.el (deactivate-mark): Don't inline it.
11063
11064 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11065
11066 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11067
11068 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11069
11070 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11071 file extensions from the archive-mode entry in order to prefer
11072 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11073
11074 2013-04-18 Leo Liu <sdl.web@gmail.com>
11075
11076 * bindings.el (help-event-list): Add ?\?.
11077
11078 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 * subr.el (with-wrapper-hook): Declare obsolete.
11081 * simple.el (filter-buffer-substring-function): New hook.
11082 (filter-buffer-substring): Use it.
11083 (filter-buffer-substring-functions): Mark obsolete.
11084 * minibuffer.el (completion-in-region-function): New hook.
11085 (completion-in-region): Use it.
11086 (completion-in-region-functions): Mark obsolete.
11087 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11088 * abbrev.el (abbrev-expand-function): New hook.
11089 (expand-abbrev): Use it.
11090 (abbrev-expand-functions): Mark obsolete.
11091 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11092 and :filter-return.
11093
11094 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11095
11096 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11097 and do not care about match data.
11098
11099 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11100
11101 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11102 completion tables when completing error conditions and
11103 `declare' arguments.
11104 (lisp-complete-symbol, field-complete): Mark as obsolete.
11105 (check-parens): Unmatched parens are user errors.
11106 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11107
11108 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11109
11110 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11111 command changed buffer (ie. `flyspell-pre-buffer' is not current
11112 buffer), which prevents making decisions based on invalid value of
11113 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11114 cause an error when `flyspell-pre-point' was nil after switching
11115 buffers.
11116 (flyspell-post-command-hook): No longer needs to change buffers when
11117 checking pre-word. While at it remove unnecessary progn.
11118
11119 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11120
11121 * textmodes/ispell.el (ispell-add-per-file-word-list):
11122 Fix `flyspell-correct-word-before-point' error when accepting
11123 words and `coment-padding' is an integer by using
11124 `comment-normalize-vars' (Bug #14214).
11125
11126 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11127
11128 New defun movement commands.
11129 * progmodes/python.el (python-nav--syntactically)
11130 (python-nav--forward-defun, python-nav-backward-defun)
11131 (python-nav-forward-defun): New functions.
11132
11133 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11134
11135 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11136 (python-syntax-context): Use named compiler-macro for backwards
11137 compatibility with Emacs 24.x.
11138
11139 2013-04-17 Leo Liu <sdl.web@gmail.com>
11140
11141 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11142 octave-hide-process-buffer.
11143
11144 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11145
11146 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11147 (bug#14216).
11148
11149 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11150
11151 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11152 Fix adjustment of offset when receiving incomplete responses from GDB
11153 (bug#14129).
11154
11155 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11156
11157 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11158 python-mode-abbrev-table.
11159 (python-skeleton-define): Adjust accordingly.
11160 (python-mode-abbrev-table): New table that inherits from it so that
11161 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11162
11163 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11164 (abbrev-symbol): Use it.
11165 (abbrev--before-point): Use it since we already handle inheritance.
11166
11167 2013-04-16 Leo Liu <sdl.web@gmail.com>
11168
11169 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11170 binding to info-lookup-symbol.
11171
11172 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11173
11174 * minibuffer.el (completion--twq-all):
11175 * term/ns-win.el (ns-initialize-window-system):
11176 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11177
11178 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11179
11180 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11181 global bindings.
11182
11183 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11184
11185 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11186
11187 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11188 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11189 to nil.
11190 (ruby-end-of-defun): Remove the unused arg, change the docstring
11191 to reflect that this function is only used as the value of
11192 `end-of-defun-function'.
11193 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11194 to reflect an earlier change that beginning/end-of-defun functions
11195 jump between methods in a class definition, as well as top-level
11196 functions.
11197
11198 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11199
11200 * minibuffer.el (minibuffer-complete): Don't just scroll
11201 a *Completions* that's been iconified.
11202 (minibuffer-force-complete): Make sure repetitions do cycle when going
11203 through completion-in-region -> minibuffer-complete.
11204
11205 2013-04-15 Alan Mackenzie <acm@muc.de>
11206
11207 Correct the placement of c-cpp-delimiters when there're #s not at
11208 col 0.
11209
11210 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11211 place a submatch around the #.
11212 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11213 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11214 on the #, not BOL.
11215
11216 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11219 (advice--member-p): New arg `name'.
11220 (advice--add-function, advice-member-p): Use it (bug#14202).
11221
11222 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11223
11224 Reformulate java imenu-generic-expression.
11225 The old expression contained ill formed regexps.
11226
11227 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11228 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11229 (cc-imenu-java-method-arg-regexp): New defconsts.
11230 (cc-imenu-java-build-type-args-regex): New defun.
11231 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11232 handling of spaces in the regexp.
11233
11234 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11235
11236 * textmodes/ispell.el (ispell-command-loop): Remove
11237 flyspell highlight of a word when ispell accepts it (bug #14178).
11238
11239 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11240
11241 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11242 uses code from the previous `ange-ftp-run-real-handler'.
11243 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11244 only in case that function exist. This is needed for proper
11245 unloading of Tramp.
11246
11247 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11248
11249 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11250
11251 * textmodes/reftex.el (reftex-compile-variables): Use it.
11252
11253 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11254
11255 * files.el (normal-mode): Only use default major-mode if no other mode
11256 was specified.
11257
11258 * emacs-lisp/trace.el (trace-values): New function.
11259
11260 * files.el: Allow : in local variables (bug#14089).
11261 (hack-local-variable-regexp): New var.
11262 (hack-local-variables-prop-line, hack-local-variables): Use it.
11263
11264 2013-04-13 Roland Winkler <winkler@gnu.org>
11265
11266 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11267 data before it gets modified by bibtex-beginning-of-entry.
11268
11269 2013-04-13 Roland Winkler <winkler@gnu.org>
11270
11271 * textmodes/bibtex.el (bibtex-url): Doc fix.
11272
11273 2013-04-13 Roland Winkler <winkler@gnu.org>
11274
11275 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11276 does not visit a BibTeX file, exclude it from the list of buffers
11277 returned by bibtex-initialize.
11278
11279 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11280
11281 * window.el (split-window): Remove interactive form, since as a
11282 command this function is a special case of split-window-below.
11283 Correct doc string.
11284
11285 2013-04-12 Roland Winkler <winkler@gnu.org>
11286
11287 * faces.el (read-face-name): Do not override value of arg default.
11288 Allow single faces and strings as default values. Remove those
11289 elements from return value that are not faces.
11290 (describe-face): Simplify.
11291 (face-at-point): New optional args thing and multiple so that this
11292 function can provide the same functionality previously provided by
11293 read-face-name.
11294 (make-face-bold, make-face-unbold, make-face-italic)
11295 (make-face-unitalic, make-face-bold-italic, invert-face)
11296 (modify-face, read-face-and-attribute): Use face-at-point.
11297
11298 * cus-edit.el (customize-face, customize-face-other-window)
11299 * cus-theme.el (custom-theme-add-face)
11300 * face-remap.el (buffer-face-set)
11301 * facemenu.el (facemenu-set-face): Use face-at-point.
11302
11303 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11304
11305 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11306
11307 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11308
11309 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11310 off leading { and trailing } from field values.
11311
11312 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11313
11314 * emacs-lisp/timer.el (timer--check): New function.
11315 (timer--time, timer-set-function, timer-event-handler): Use it.
11316 (timer-set-idle-time): Simplify.
11317 (timer--activate): CSE.
11318 (timer-event-handler): Give more info in error message.
11319 (internal-timer-start-idle): New function, moved from C.
11320
11321 * mpc.el (mpc-proc): Add `restart' argument.
11322 (mpc-proc-cmd): Use it.
11323 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11324 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11325 less often.
11326
11327 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11328
11329 * progmodes/sh-script.el: Implement `sh-mode' own
11330 `add-log-current-defun-function' (bug#14112).
11331 (sh-current-defun-name): New function.
11332 (sh-mode): Use the function.
11333
11334 2013-04-09 Bastien Guerry <bzg@gnu.org>
11335
11336 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11337
11338 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11339
11340 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11341
11342 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11343 timer (bug#14156).
11344
11345 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11346
11347 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11348 declaration.
11349
11350 2013-04-07 Leo Liu <sdl.web@gmail.com>
11351
11352 * pcmpl-x.el: New file.
11353
11354 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11355
11356 Do not set x-display-name until X connection is established.
11357 This is needed to prevent from weird situation described at
11358 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11359 * frame.el (make-frame): Set x-display-name after call to
11360 window system initialization function, not before.
11361 * term/x-win.el (x-initialize-window-system): Add optional
11362 display argument and use it.
11363 * term/w32-win.el (w32-initialize-window-system):
11364 * term/ns-win.el (ns-initialize-window-system):
11365 * term/pc-win.el (msdos-initialize-window-system):
11366 Add compatible optional display argument.
11367
11368 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11369
11370 * files.el (normal-backup-enable-predicate): On MS-Windows and
11371 MS-DOS compare truenames of temporary-file-directory and of the
11372 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11373 don't fail comparison by compare-strings. Also, compare file
11374 names case-insensitively on MS-Windows and MS-DOS.
11375
11376 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11377
11378 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11379 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11380
11381 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11382
11383 * whitespace.el (whitespace-color-on, whitespace-color-off):
11384 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11385
11386 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11387
11388 * ispell.el (ispell-set-spellchecker-params):
11389 Really set `ispell-args' for all equivs.
11390
11391 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11392
11393 * ido.el (ido-completions): Use extra elements of ido-decorations
11394 (bug#14143).
11395 (ido-decorations): Update docstring.
11396
11397 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11398
11399 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11400 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11401 nil during initialization, in order not to miss changes since the
11402 file was opened. (Bug#14140)
11403
11404 2013-04-05 Leo Liu <sdl.web@gmail.com>
11405
11406 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11407
11408 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11409
11410 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11411
11412 2013-04-04 Glenn Morris <rgm@gnu.org>
11413
11414 * electric.el (electric-pair-inhibit-predicate): Add :version.
11415
11416 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11419 when a package is required several times (bug#14082).
11420
11421 2013-04-04 Roland Winkler <winkler@gnu.org>
11422
11423 * faces.el (read-face-name): Behave as promised by the docstring.
11424 Assume that arg default is a list of faces.
11425 (describe-face): Call read-face-name with list of default faces.
11426
11427 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11428
11429 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11430 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11431 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11432 the header.
11433 (bookmark-exit-hook-internal): Save even if list is empty.
11434
11435 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11436
11437 * emacs-lisp/package.el (package-pinned-packages): New var.
11438 (package--add-to-archive-contents): Obey it (bug#14118).
11439
11440 2013-04-03 Alan Mackenzie <acm@muc.de>
11441
11442 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11443 Also adapt to the new values of element 7 of a parse state.
11444
11445 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11446 parameter `not-in-delimiter'. Handle being inside comment opener.
11447 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11448 character in case we're typing a '*' after a '/'.
11449 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11450 instead by passing the parameter to c-state-pp-to-literal.
11451
11452 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11453 for elt. 7 of a parse state.
11454
11455 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11456
11457 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11458 * international/latin1-disp.el, international/mule-util.el:
11459 * language/cyril-util.el, language/european.el, language/ind-util.el:
11460 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11461 * language/tibetan.el, language/viet-util.el:
11462 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11463
11464 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11465
11466 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11467 (electric-pair-post-self-insert-function): Use it.
11468 (electric-pair-default-inhibit): New function, extracted from
11469 electric-pair-post-self-insert-function.
11470
11471 2013-03-31 Roland Winkler <winkler@gnu.org>
11472
11473 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11474
11475 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11476
11477 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11478
11479 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11480
11481 Un-indent after "pass" and "return" statements (Bug#13888)
11482 * progmodes/python.el (python-indent-block-enders): New var.
11483 (python-indent-calculate-indentation): Use it.
11484
11485 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11486
11487 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11488 defun. Defining it as defalias could introduce too eager
11489 byte-compiler optimization. (Bug#14030)
11490
11491 2013-03-30 Chong Yidong <cyd@gnu.org>
11492
11493 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11494
11495 2013-03-30 Leo Liu <sdl.web@gmail.com>
11496
11497 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11498 (kmacro-execute-from-register): Pass the keyboard macro to
11499 kmacro-call-macro or repeating won't work correctly.
11500
11501 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11502
11503 * progmodes/subword.el: Back to using `forward-symbol'.
11504
11505 * subr.el (forward-whitespace, forward-symbol)
11506 (forward-same-syntax): Move from thingatpt.el.
11507
11508 2013-03-29 Leo Liu <sdl.web@gmail.com>
11509
11510 * kmacro.el (kmacro-to-register): New command.
11511 (kmacro-execute-from-register): New function.
11512 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11513
11514 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * mpc.el: Use defvar-local and setq-local.
11517 (mpc--proc-connect): Connection failures are not bugs.
11518 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11519 (mpc-volume-map): Bind to the up-events.
11520
11521 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11522
11523 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11524 instead of `forward-symbol'.
11525
11526 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11527
11528 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11529 (edebug--recursive-edit): Use it.
11530 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11531 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11532
11533 2013-03-28 Leo Liu <sdl.web@gmail.com>
11534
11535 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11536
11537 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11538
11539 * facemenu.el (list-colors-callback): New defvar.
11540 (list-colors-redisplay): New function.
11541 (list-colors-display): Install list-colors-redisplay as the
11542 revert-buffer-function. (Bug#14063)
11543
11544 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11545
11546 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11547 and suffixes don't overlap (bug#14061).
11548
11549 * case-table.el: Use lexical-binding.
11550 (case-table-get-table): New function.
11551 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11552
11553 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11554
11555 * progmodes/subword.el: Add `superword-mode' to do word motion
11556 over symbol_words (parallels and leverages `subword-mode' which
11557 does word motion inside MixedCaseWords).
11558
11559 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11560
11561 * eshell/em-unix.el: Move su and sudo to...
11562 * eshell/em-tramp.el: ...Eshell tramp module.
11563
11564 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11565
11566 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11567 Change return value to be a sexp. Delay `get-buffer' to after
11568 restoring the desktop (bug#13951).
11569
11570 2013-03-26 Leo Liu <sdl.web@gmail.com>
11571
11572 * register.el: Move semantic tag handling back to
11573 cedet/semantic/senator.el. (Bug#14052)
11574
11575 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11576
11577 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11578 into the prompt either (bug#13963).
11579
11580 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11581
11582 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11583 part of "(error-foo)".
11584
11585 2013-03-24 Juri Linkov <juri@jurta.org>
11586
11587 * replace.el (list-matching-lines-prefix-face): New defcustom.
11588 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11589 `occur-engine' if `face-differs-from-default-p' returns t.
11590 (occur-engine): Add `,' inside backquote construct to evaluate
11591 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11592 Pass `prefix-face' to the functions `occur-context-lines' and
11593 `occur-engine-add-prefix'.
11594 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11595 `prefix-face' and propertize the prefix with `prefix-face'.
11596 (Bug#14017)
11597
11598 2013-03-24 Leo Liu <sdl.web@gmail.com>
11599
11600 * nxml/rng-valid.el (rng-validate-while-idle)
11601 (rng-validate-quick-while-idle): Guard against deleted buffer.
11602 (Bug#13999)
11603
11604 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11605 is the last entry in kill-buffer-hook.
11606
11607 * files.el (kill-buffer-hook): Doc fix.
11608
11609 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11610
11611 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11612 Make it safe-local.
11613
11614 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11615
11616 2013-03-23 Leo Liu <sdl.web@gmail.com>
11617
11618 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11619 Remove.
11620
11621 * nxml/rng-valid.el (rng-validate-mode)
11622 (rng-after-change-function, rng-do-some-validation):
11623 * nxml/rng-maint.el (rng-validate-buffer):
11624 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11625 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11626 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11627 (nxml-extend-after-change-region): Use with-silent-modifications.
11628
11629 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11630 timer-idle-list.
11631
11632 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11633 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11634 timer-idle-list. (Bug#13999)
11635
11636 2013-03-23 Juri Linkov <juri@jurta.org>
11637
11638 * info.el (info-index-match): New face.
11639 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11640 main pattern and add text properties with the new face to matches
11641 in index entries relative to the beginning of the index entry.
11642 (Bug#14015)
11643
11644 2013-03-21 Eric Ludlam <zappo@gnu.org>
11645
11646 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11647 Inhibit read only while inserting objects.
11648
11649 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11650
11651 * progmodes/cfengine.el: Update docs to mention
11652 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11653 symbol motion. Remove "_" from the word syntax.
11654
11655 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11656
11657 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11658 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11659
11660 2013-03-20 Juri Linkov <juri@jurta.org>
11661
11662 * info.el (Info-next-reference-or-link)
11663 (Info-prev-reference-or-link): New functions.
11664 (Info-next-reference, Info-prev-reference): Use them.
11665 (Info-try-follow-nearest-node): Handle footnote navigation.
11666 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11667
11668 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11671 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11672
11673 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11674
11675 Suppress unnecessary non-ASCII chatter during build process.
11676 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11677 (batch-skkdic-convert): Suppress most of the chatter.
11678 It's not needed so much now that machines are faster,
11679 and its non-ASCII component was confusing; see Dmitry Gutov in
11680 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11681
11682 2013-03-20 Leo Liu <sdl.web@gmail.com>
11683
11684 * ido.el (ido-chop): Fix bug#10994.
11685
11686 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11687
11688 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11689 Remove vars.
11690 (whitespace-color-on, whitespace-color-off):
11691 Use `font-lock-fontify-buffer' (Bug#13817).
11692
11693 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11696 remapping in mode-line.
11697 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11698
11699 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11700
11701 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11702 value for `whitespace-line' face (Bug#13875).
11703 (whitespace-font-lock-keywords): Change description.
11704 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11705 the constructed keywords instead.
11706 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11707
11708 2013-03-19 Leo Liu <sdl.web@gmail.com>
11709
11710 * progmodes/compile.el (compilation-display-error): New command.
11711 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11712 C-o. (Bug#13992)
11713
11714 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11715
11716 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11717
11718 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11719
11720 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11721
11722 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11723
11724 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11725
11726 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11727 * net/tramp-gvfs.el (top):
11728 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11729 (tramp-handle-shell-command): Use it.
11730 (tramp-dissect-file-name): Raise an error when hostname is a
11731 method name, and neither method nor user is specified.
11732
11733 * net/trampver.el: Update release number.
11734
11735 2013-03-18 Leo Liu <sdl.web@gmail.com>
11736
11737 Make sure eldoc can be turned off properly.
11738 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11739 eldoc-mode.
11740 (eldoc-display-message-p): Revert last change.
11741 (eldoc-display-message-no-interference-p)
11742 (eldoc-print-current-symbol-info): Tweak.
11743
11744 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11745
11746 * doc-view.el (doc-view-new-window-function): Check the new window
11747 overlay's display property instead the char property of the
11748 buffer's first char. Use `with-selected-window' instead of
11749 `save-window-excursion' with `select-window'.
11750 (doc-view-document->bitmap): Check the current doc-view overlay's
11751 display property instead the char property of the buffer's first char.
11752
11753 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11754
11755 Automate the build of ja-dic.el (Bug#13984).
11756 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11757 from the input, rather than assume that it's been done for us by the
11758 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11759 the current date into a ja-dic.el comment, as that complicates
11760 regression testing.
11761
11762 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * whitespace.el: Fix double evaluation.
11765 (whitespace-space, whitespace-hspace, whitespace-tab)
11766 (whitespace-newline, whitespace-trailing, whitespace-line)
11767 (whitespace-space-before-tab, whitespace-indentation)
11768 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11769 obsolete defvars.
11770 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11771 (whitespace-color-on): Use a single font-lock-add-keywords call.
11772 Fix double-evaluation of face variables.
11773
11774 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11775
11776 * net/tramp-adb.el (tramp-adb-parse-device-names):
11777 Use `start-process' instead of `call-process'. Otherwise, the
11778 function might be blocked under MS Windows. (Bug#13299)
11779
11780 2013-03-17 Leo Liu <sdl.web@gmail.com>
11781
11782 Extend eldoc to display info in the mode-line. (Bug#13978)
11783 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11784 (eldoc-mode-line-string): New variable.
11785 (eldoc-minibuffer-message): New function.
11786 (eldoc-message-function): New variable.
11787 (eldoc-message): Use it.
11788 (eldoc-display-message-p)
11789 (eldoc-display-message-no-interference-p):
11790 Support eldoc-post-insert-mode.
11791
11792 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11793 (eval-expression): Run it.
11794
11795 2013-03-17 Roland Winkler <winkler@gnu.org>
11796
11797 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11798 strings in the list of return values.
11799
11800 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11801
11802 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11803 radix before checking for HMS forms.
11804
11805 2013-03-16 Leo Liu <sdl.web@gmail.com>
11806
11807 * progmodes/scheme.el: Add indentation and font-locking for λ.
11808 (Bug#13975)
11809
11810 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11811
11812 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11813 token before point (bug#13942).
11814
11815 2013-03-16 Leo Liu <sdl.web@gmail.com>
11816
11817 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11818
11819 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11820
11821 * startup.el (command-line-normalize-file-name): Fix handling of
11822 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11823 <xfq.free@gmail.com> in
11824 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11825
11826 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11827
11828 Sync with Tramp 2.2.7.
11829
11830 * net/trampver.el: Update release number.
11831
11832 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11833
11834 * doc-view.el: Fix bug#13887.
11835 (doc-view-insert-image): Don't modify overlay associated to
11836 non-live windows, and implement horizontal centering of image in
11837 case it's smaller than the window.
11838 (doc-view-new-window-function): Force redisplay of new windows on
11839 doc-view buffers.
11840
11841 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11842
11843 * saveplace.el (save-place-alist-to-file): Don't sort
11844 `save-place-alist', just pretty-print it (bug#13882).
11845
11846 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11847
11848 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11849 Check whether `default-file-name-coding-system' is bound.
11850 It isn't in XEmacs.
11851
11852 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11853
11854 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11855 backquotes for `obsolete' (bug#13929).
11856
11857 * international/mule.el (find-auto-coding): Include file name in
11858 obsolescence warning (bug#13922).
11859
11860 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11861
11862 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11863 for CFEngine 3-specific indentation.
11864 (cfengine3-indent-line): Use it. Fix up category regex.
11865 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11866
11867 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11868
11869 * type-break.el (type-break-file-name):
11870 * textmodes/remember.el (remember-data-file):
11871 * strokes.el (strokes-file):
11872 * shadowfile.el (shadow-initialize):
11873 * saveplace.el (save-place-file):
11874 * ps-bdf.el (bdf-cache-file):
11875 * progmodes/idlwave.el (idlwave-config-directory):
11876 * net/quickurl.el (quickurl-url-file):
11877 * international/kkc.el (kkc-init-file-name):
11878 * ido.el (ido-save-directory-list-file):
11879 * emulation/viper.el (viper-custom-file-name):
11880 * emulation/vip.el (vip-startup-file):
11881 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11882 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11883
11884 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11885
11886 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11887 * language/thai-word.el: Switch to UTF-8.
11888
11889 See ChangeLog.16 for earlier changes.
11890
11891 ;; Local Variables:
11892 ;; coding: utf-8
11893 ;; End:
11894
11895 Copyright (C) 2011-2014 Free Software Foundation, Inc.
11896
11897 This file is part of GNU Emacs.
11898
11899 GNU Emacs is free software: you can redistribute it and/or modify
11900 it under the terms of the GNU General Public License as published by
11901 the Free Software Foundation, either version 3 of the License, or
11902 (at your option) any later version.
11903
11904 GNU Emacs is distributed in the hope that it will be useful,
11905 but WITHOUT ANY WARRANTY; without even the implied warranty of
11906 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11907 GNU General Public License for more details.
11908
11909 You should have received a copy of the GNU General Public License
11910 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.