lisp/ChangeLog: Fix last commit
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * emacs-lisp/byte-run.el (eval-when-compile):
4 * progmodes/cc-defs.el (cc-eval-when-compile):
5 Fix edebug spec (bug#16184).
6
7 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
8
9 * net/shr.el (shr-visit-file): Remove debugging function.
10
11 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
12
13 * progmodes/python.el:
14 (python-nav--lisp-forward-sexp): New function.
15 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
16 python-nav-lisp-forward-sexp-safe.
17 (python-nav--forward-sexp): New argument SAFE allows switching
18 forward sexp movement behavior for parens.
19 (python-nav-forward-sexp): Throw errors on unterminated parens
20 (Bug#16191).
21 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
22 (python-nav-backward-sexp-safe): New functions.
23 (python-shell-buffer-substring): Use
24 `python-nav-forward-sexp-safe'.
25
26 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
27
28 * net/shr.el (shr-find-fill-point): Don't break lines before a
29 quotation mark.
30 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
31 (shr-find-fill-point): Remove the special checks for the quotation
32 mark, since `shr-char-kinsoku-bol-p' should now return the right
33 thing.
34
35 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
36
37 * net/eww.el (eww-form-textarea): Use a different face for
38 textareas than text input since they have different keymaps
39 (bug#16142).
40
41 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
42
43 * progmodes/python.el (python-nav-beginning-of-statement): Speed
44 up (Bug#15295).
45
46 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
47
48 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
49 the window configuration.
50
51 2013-12-24 Eli Zaretskii <eliz@gnu.org>
52
53 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
54 we run on MS-Windows or MS-DOS.
55
56 2013-12-24 Martin Rudalics <rudalics@gmx.at>
57
58 * window.el (balance-windows-area): Call window-size instead of
59 window-height and window-width. Bug#16241.
60
61 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
62
63 * net/eww.el (eww-bookmark-quit): Remove.
64 (eww-bookmark-browse): Restore the window configuration when you
65 choose a bookmark (bug#16144).
66
67 2013-12-24 Daniel Colascione <dancol@dancol.org>
68
69 * icomplete.el: Remove redundant :group arguments to `defcustom'
70 throughout.
71 (icomplete-show-matches-on-no-input): New customizable variable.
72 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
73 we have something to show.
74 (icomplete-exhibit): Compute completions even if we have no user
75 input.
76
77 2013-12-23 Daniel Colascione <dancol@dancol.org>
78
79 * icomplete.el: Move `provide' to end of file.
80
81 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
82
83 * net/gnutls.el (gnutls-verify-error): Add version tag.
84
85 2013-12-23 Chong Yidong <cyd@gnu.org>
86
87 * subr.el (set-transient-map): Rename from
88 set-temporary-overlay-map. Doc fix.
89
90 * face-remap.el (text-scale-adjust):
91 * indent.el (indent-rigidly):
92 * kmacro.el (kmacro-call-macro):
93 * minibuffer.el (minibuffer-force-complete):
94 * repeat.el (repeat):
95 * simple.el (universal-argument--mode):
96 * calendar/todo-mode.el (todo-insert-item--next-param):
97 * progmodes/f90.el (f90-abbrev-start): Callers changed.
98
99 * indent.el (indent-rigidly): Use substitute-command-keys.
100
101 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
102
103 * net/eww.el (eww-tag-select): Add text-property to jump to next
104 select field.
105 (eww) : Add non-supported ftp error.
106
107 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
108
109 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
110 comments. Handle electric indent after typing `?' and `!'.
111
112 2013-12-22 Chong Yidong <cyd@gnu.org>
113
114 * faces.el (face-spec-recalc): If the theme specs are not
115 applicable to a frame, fall back on the defface spec. This
116 prevents themes from obliterating faces on low-color terminals.
117
118 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
119
120 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
121 after `{'. We need it after block openers, and it doesn't seem
122 to hurt after hash openers.
123
124 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
125
126 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
127 extracted from `ruby-smie-rules'.
128 (ruby--electric-indent-chars): New variable.
129 (ruby--electric-indent-p): New function.
130 (ruby-mode): Use `electric-indent-functions' instead of
131 `electric-indent-chars'.
132
133 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
134
135 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
136 docstring.
137 (ruby-smie-rules): Indent plus one level after `=>'.
138
139 2013-12-21 Richard Stallman <rms@gnu.org>
140
141 * simple.el (newline): Doc fix.
142
143 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
144
145 * net/eww.el (eww-list-histories, eww-list-histories)
146 (eww-history-browse, eww-history-quit, eww-history-kill)
147 (eww-history-mode-map, eww-history-mode): New command and
148 functions to list browser histories.
149 (eww-form-text): Support text form with disabled
150 and readonly attributes.
151 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
152
153 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
154
155 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
156 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
157 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
158 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
159 Use `user-error'.
160 (eww-bookmark-mode-map): Add menu.
161 (eww-render, eww-mode): Use `setq-local'.
162 (eww-tool-bar-map): New variable.
163 (eww-mode): Set `tool-bar-map'.
164 (eww-view-source): Check for `html-mode' with `fboundp'.
165
166 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
167
168 * net/shr.el (shr--extract-best-source): Don't bug out on audio
169 elements with text inside. Also remove debugging.
170
171 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
172
173 * cus-start.el (all): Add ns-use-srgb-colorspace.
174
175 2013-12-21 Chong Yidong <cyd@gnu.org>
176
177 * custom.el (custom-theme-recalc-face): Do nothing if the face is
178 undefined. Thus, theme settings for undefined faces do not take
179 effect until the faces are defined with defface, the same as with
180 theme variables.
181
182 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
183 (face-spec-reset-face): Don't assign extra properties in temacs.
184 (face-spec-recalc): Apply X resources too.
185
186 2013-12-21 Chong Yidong <cyd@gnu.org>
187
188 * faces.el (face-spec-set):
189 * cus-face.el (custom-theme-set-faces, custom-set-faces):
190 * custom.el (defface): Doc fixes (Bug#16203).
191
192 * indent.el (indent-rigidly-map): Add docstring, and move commands
193 into named functions.
194 (indent-rigidly-left, indent-rigidly-right)
195 (indent-rigidly-left-to-tab-stop)
196 (indent-rigidly-right-to-tab-stop): New functions. Decide on
197 indentation direction based on bidi direction, and accumulate
198 sequential commands in a single undo boundary.
199 (indent-rigidly--pop-undo): New utility function.
200
201 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
202
203 * faces.el (read-face-name): Require crm.el when using crm-separator.
204
205 2013-12-20 Daniel Colascione <dancol@dancol.org>
206
207 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
208 so that we don't reflow comments into the shebang line.
209
210 2013-12-20 Juri Linkov <juri@jurta.org>
211
212 * saveplace.el (save-place-to-alist): Add `dired-filename' as
213 a position when `dired-directory' is non-nil. Check integer
214 positions with `integerp'.
215 (toggle-save-place, save-places-to-alist): Add check for
216 `dired-directory'.
217 (save-place-find-file-hook): Check integer positions with
218 `integerp'.
219 (save-place-dired-hook): Use `dired-goto-file' when
220 `dired-filename' is found in the assoc list. Check integer
221 positions with `integerp'.
222 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
223
224 * dired.el (dired-initial-position-hook): Rename back from
225 `dired-initial-point-hook'.
226 (dired-initial-position): Rename `dired-initial-point-hook' to
227 `dired-initial-position-hook'.
228 (dired-file-name-at-point): Doc fix. (Bug#15329)
229
230 2013-12-20 Juri Linkov <juri@jurta.org>
231
232 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
233 (read-regexp-suggestions): New function.
234 (read-regexp): Use `read-regexp-defaults-function' to get default values.
235 Use `read-regexp-suggestions'. Add non-empty default to history
236 for empty input.
237 (occur-read-regexp-defaults-function): Remove function.
238 (occur-read-primary-args): Use `regexp-history-last' instead of
239 `occur-read-regexp-defaults-function'.
240
241 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
242 (hi-lock-line-face-buffer, hi-lock-face-buffer)
243 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
244 `hi-lock-read-regexp-defaults-function'. Doc fix.
245 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
246 with `find-tag-default-as-symbol-regexp'. Doc fix.
247 (hi-lock-read-regexp-defaults): Remove function.
248 (hi-lock-regexp-okay): Add check for null.
249
250 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
251 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
252
253 * subr.el (find-tag-default-as-symbol-regexp): New function.
254 (find-tag-default-as-regexp): Move symbol regexp formatting to
255 `find-tag-default-as-symbol-regexp'.
256
257 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
258
259 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
260 (Bug#14179)
261
262 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
263
264 * calendar/todo-mode.el: New implementation of item insertion
265 commands and key bindings.
266 (todo-key-prompt): New face.
267 (todo-insert-item): New command.
268 (todo-insert-item--parameters): New defconst, replacing defvar
269 todo-insertion-commands-args-genlist.
270 (todo-insert-item--param-key-alist): New defconst, replacing
271 defvar todo-insertion-commands-arg-key-list.
272 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
273 (todo-insert-item--argsleft, todo-insert-item--apply-args)
274 (todo-insert-item--next-param): New functions.
275 (todo-insert-item--args, todo-insert-item--argleft)
276 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
277 New variables.
278 (todo-key-bindings-t): Change binding of "i" from
279 todo-insertion-map to todo-insert-item.
280 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
281 (todo-insertion-command-name, todo-insertion-commands-names)
282 (todo-define-insertion-command, todo-insertion-commands)
283 (todo-insertion-key-bindings, todo-insertion-map): Remove.
284
285 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
286
287 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
288 (todo-toggle-item-highlighting): Use eval-and-compile instead of
289 eval-when-compile.
290 (todo-move-category): Allow choosing a non-existing todo file to
291 move the category to, and create that file.
292 (todo-default-priority): New user option.
293 (todo-set-item-priority): Use it.
294 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
295 (desktop-restore-file-buffer): Declare.
296 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
297 (todo-modes-set-2): Locally set desktop-save-buffer to
298 todo-desktop-save-buffer.
299 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
300 (auto-mode-alist): Add autoload cookie.
301
302 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
303
304 * emacs-lisp/subr-x.el: Renamed from helpers.el.
305 helpers.el was a poor choice of name.
306 (string-remove-prefix): New function.
307 (string-remove-suffix): New function.
308
309 2013-12-20 Martin Rudalics <rudalics@gmx.at>
310
311 Fix assignment for new window total sizes.
312 * window.el (window--pixel-to-size): Remove function.
313 (window--pixel-to-total-1, window--pixel-to-total):
314 Fix calculation of new total sizes.
315
316 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
317
318 * comint.el (comint-output-filter): Fix rear-nonsticky property
319 placement (Bug#16010).
320
321 2013-12-20 Chong Yidong <cyd@gnu.org>
322
323 * faces.el (read-color): Minor fix for completion function.
324
325 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
326
327 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
328 New option. (Bug#16182)
329 (ruby-smie--indent-to-stmt-p): Use it.
330 (ruby-smie-rules): Revert the logic in the handling of `when'.
331 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
332 (ruby-deep-arglist, ruby-deep-indent-paren)
333 (ruby-deep-indent-paren-style): Update docstrings to note that the
334 vars don't have any effect with SMIE.
335
336 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
337
338 * calc/calc.el (calc-enter, calc-pop): Use the variable
339 `calc-context-sensitive-enter'.
340
341 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
342
343 * net/shr.el (shr-insert): Protect against infloops in degenerate
344 tables.
345
346 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
347
348 * progmodes/octave.el (octave): Add link to manual and octave
349 homepage.
350 (octave-mode-menu): Link to octave-mode manual.
351
352 2013-12-20 Leo Liu <sdl.web@gmail.com>
353
354 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
355 insertion using skeleton-end-newline. (Bug#16138)
356
357 2013-12-20 Juri Linkov <juri@jurta.org>
358
359 * replace.el (occur-engine): Use `add-face-text-property'
360 to add the face property to matches and titles. (Bug#14645)
361
362 * hi-lock.el (hi-green): Use lighter color "light green" closer to
363 the palette of other hi-lock colors.
364 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
365
366 2013-12-19 Juri Linkov <juri@jurta.org>
367
368 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
369 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
370 (minibuffer-history-symbol): Move variable declaration closer to
371 its usage.
372
373 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
374 (Bug#14785)
375
376 2013-12-19 Juri Linkov <juri@jurta.org>
377
378 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
379 New function.
380 (log-edit-hook): Add it to :options. (Bug#16170)
381
382 2013-12-19 Juri Linkov <juri@jurta.org>
383
384 * simple.el (eval-expression-print-format): Don't check for
385 command names and the last command. Always display additional
386 formats of the integer result in the echo area, and insert them
387 to the current buffer only with a zero prefix arg.
388 Display character when char-displayable-p is non-nil.
389 (eval-expression): With a zero prefix arg, set `print-length' and
390 `print-level' to nil, and insert the integer values from
391 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
392
393 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
394 `eval-last-sexp-arg-internal'. Doc fix.
395 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
396 `eval-last-sexp-print-value'. Doc fix.
397 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
398 Set `print-length' and `print-level' to nil when arg is zero.
399 (eval-last-sexp): Doc fix.
400 (eval-defun-2): Print the integer values from
401 `eval-expression-print-format' at the end.
402
403 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
404 values from `eval-expression-print-format' at the end.
405
406 * ielm.el (ielm-eval-input): Print the integer
407 values from `eval-expression-print-format' at the end.
408
409 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
410
411 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
412 2013-12-11T19:01:44Z!tzz@lifelogs.com.
413
414 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
415
416 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
417 (hl-line-highlight, global-hl-line-highlight): Use it.
418 (hl-line-overlay): Use defvar-local.
419
420 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
421
422 * term/ns-win.el: Require dnd.
423 (global-map): Remove drag items.
424 (ns-insert-text, ns-set-foreground-at-mouse)
425 (ns-set-background-at-mouse):
426 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
427 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
428 New functions.
429
430 2013-12-19 Glenn Morris <rgm@gnu.org>
431
432 * emacs-lisp/ert.el (ert-select-tests):
433 Fix string/symbol mixup. (Bug#16121)
434
435 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
436
437 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
438 keywords to their parent.
439
440 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
441
442 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
443 first arg to be a string (fixed dead code), or an operator symbol.
444 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
445 operator symbols.
446 (ruby-smie-rules): Remove parent token check in the `.' clause, it
447 did nothing. Don't respond to `(:after ".")', it will be called
448 with :before anyway. Remove the ` @ ' rule, it didn't seem to
449 change anything. Only return indentation for binary operators
450 when they are hanging. De-dent opening paren when its parent is
451 `.', otherwise it looks bad when the dot is not at bol or eol
452 (bug#16182).
453
454 2013-12-19 Juri Linkov <juri@jurta.org>
455
456 * replace.el (query-replace-read-args): Split a non-negative arg
457 and a negative arg into separate elements.
458 (query-replace, query-replace-regexp, replace-string)
459 (replace-regexp): Add arg `backward'. Doc fix.
460 (replace-match-maybe-edit): When new arg `backward' is non-nil,
461 move point to the beginning of the match.
462 (replace-search, replace-highlight): Use new arg `backward'
463 to set the value of `isearch-forward'.
464 (perform-replace): Add arg `backward' and use it to perform
465 replacement backward. (Bug#14979)
466
467 * isearch.el (isearch-query-replace): Use a negative prefix arg
468 to call `perform-replace' with a non-nil arg `backward'.
469
470 2013-12-18 Juri Linkov <juri@jurta.org>
471
472 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
473 to the default list. Move `log-edit-show-files' to the end.
474 Add more available functions to options.
475 (log-edit): Move default specific settings to
476 `log-edit-insert-message-template'. Don't move point.
477 (log-edit-insert-message-template): New function.
478 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
479 (Bug#16170)
480
481 2013-12-18 Juri Linkov <juri@jurta.org>
482
483 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
484 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
485
486 2013-12-18 Leo Liu <sdl.web@gmail.com>
487
488 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
489
490 2013-12-18 Eli Zaretskii <eliz@gnu.org>
491
492 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
493 formats for displaying file sizes when the -s switch is given.
494 Instead, compute a separate format for displaying the size in
495 blocks, which is displayed in addition to the "regular" size.
496 When -h is given in addition to -s, produce size in blocks in
497 human-readable form as well. (Bug#16179)
498
499 2013-12-18 Tassilo Horn <tsdh@gnu.org>
500
501 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
502 Reference tables with ~\ref{...} instead of only \ref{...}.
503
504 2013-12-18 Chong Yidong <cyd@gnu.org>
505
506 * cus-edit.el (custom-magic-alist): Fix "themed" description
507 (Bug#14348).
508
509 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
510 is non-nil, do not create a new entry in the symbol's theme-value
511 or theme-face property; update theme-settings only (Bug#14664).
512 (custom-available-themes): Doc fix.
513
514 * cus-theme.el (custom-new-theme-mode-map): Add bindings
515 (Bug#15674).
516
517 * replace.el (occur-engine): Avoid infloop (Bug#7593).
518
519 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
520
521 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
522 (Bug#13914).
523
524 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
525
526 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
527
528 2013-12-18 Glenn Morris <rgm@gnu.org>
529
530 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
531 * cus-start.el (load-prefer-newer): New option.
532
533 2013-12-18 Le Wang <l26wang@gmail.com>
534
535 * comint.el (comint-previous-matching-input-from-input):
536 Retain point (Bug#13404).
537
538 2013-12-18 Chong Yidong <cyd@gnu.org>
539
540 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
541
542 2013-12-18 Glenn Morris <rgm@gnu.org>
543
544 * mail/emacsbug.el (report-emacs-bug):
545 Only mention enable-multibyte-characters if non-standard.
546
547 2013-12-17 Juri Linkov <juri@jurta.org>
548
549 * arc-mode.el (archive-extract-by-file): Check if directory exists
550 before deletion to not show irrelevant errors if it doesn't exist.
551
552 2013-12-17 Juri Linkov <juri@jurta.org>
553
554 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
555 (Bug#14751)
556
557 * net/eww.el (browse-web): Add alias to `eww'.
558 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
559 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
560
561 * net/browse-url.el (browse-url-browser-function): Move `eww'
562 closer to similar functions.
563
564 * startup.el (fancy-startup-screen, fancy-about-screen):
565 Set browse-url-browser-function to eww-browse-url locally.
566 (Bug#14751)
567
568 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
569
570 * window.el (window--pixel-to-total): Remove unused `mini' var.
571 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
572 (split-window): Remove unused `new' var.
573 (window--display-buffer): Remove unused `frame' and `delta' vars.
574 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
575 and display-width'.
576
577 2013-12-17 Martin Rudalics <rudalics@gmx.at>
578
579 * dired.el (dired-mark-pop-up):
580 * register.el (register-preview): Don't bind
581 split-height-threshold here since it's now done in
582 display-buffer-below-selected.
583
584 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
585
586 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
587 xterm-rgb-convert-to-16bit.
588 (rxvt-register-default-colors): Standardize with
589 xterm-register-default-colors (Bug#14078).
590
591 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
592
593 * simple.el (kill-region): Pass mark first, then point, so that
594 kill-append works right (Bug#12819).
595 (copy-region-as-kill, kill-ring-save): Likewise.
596
597 2013-12-17 Leo Liu <sdl.web@gmail.com>
598
599 * net/rcirc.el (rcirc-add-face):
600 * eshell/em-prompt.el (eshell-emit-prompt):
601 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
602 (Bug#16167)
603
604 2013-12-17 Chong Yidong <cyd@gnu.org>
605
606 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
607 Suggested by Xue Fuqiao.
608
609 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
610
611 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
612
613 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * net/shr.el (shr-insert-document): Remove unused var
616 `shr-preliminary-table-render'.
617 (shr-rescale-image): Remove unused arg `force'.
618 (shr-put-image): Update calls accordingly.
619 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
620
621 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
622
623 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
624 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
625 :close-all, to see which indentation method to use (Bug#16116).
626 (smie-rules-function): Document the method :close-all.
627
628 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
629
630 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
631
632 * net/eww.el (eww-display-html): If we can't find the anchor we're
633 looking for, then go to point-min.
634
635 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
636
637 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
638 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
639 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
640 Expand dir too, in case it's relative.
641
642 2013-12-16 Juri Linkov <juri@jurta.org>
643
644 * desktop.el (desktop-auto-save-timeout): Change default to
645 `auto-save-timeout'. Doc fix.
646 (desktop-save): Skip the timestamp in desktop-saved-frameset
647 when checking for auto-save changes.
648 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
649 `desktop-auto-save' is called repeatedly by the idle timer.
650 (desktop-auto-save-set-timer): Replace `run-with-timer' with
651 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
652 (Bug#15331)
653
654 2013-12-16 Juri Linkov <juri@jurta.org>
655
656 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
657 (Bug#16035)
658 (isearch-pre-command-hook): Check `this-command' for symbolp.
659
660 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
663
664 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
665
666 * progmodes/cfengine.el (cfengine3--current-word): Remove.
667 (cfengine3--current-function): Bring in the current-function
668 functionality from `cfengine3--current-word'.
669 (cfengine3-completion-function): Bring in the
670 bounds-of-current-word functionality from
671 `cfengine3--current-word'.
672
673 2013-12-16 Martin Rudalics <rudalics@gmx.at>
674
675 * window.el (display-buffer-below-selected):
676 Bind split-height-threshold to 0 as suggested by Juri Linkov.
677
678 2013-12-16 Leo Liu <sdl.web@gmail.com>
679
680 * progmodes/compile.el (compile-goto-error): Do not push-mark.
681 Remove NOMSG arg and all uses changed.
682
683 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
686 (cua--deactivate-rectangle): Don't deactivate the mark.
687 (cua-set-rectangle-mark): Don't set mark-active since
688 cua--activate-rectangle already does it for us.
689 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
690 non-rectangular region.
691
692 * emulation/cua-base.el (cua-repeat-replace-region):
693 Use with-current-buffer.
694
695 * net/gnutls.el: Use cl-lib.
696 (gnutls-negotiate): `mapcan' -> cl-mapcan.
697
698 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
699
700 * emacs-lisp/package.el (package-built-in-p): Support both
701 built-in and the package.el converted package descriptions.
702 (package-show-package-list): Allow keywords.
703 (package-keyword-button-action): Use it instead of
704 `finder-list-matches'.
705 (package-menu-filter-interactive): Interactive filtering (by
706 keyword) function.
707 (package-menu--generate): Support keywords and change keymappings
708 and headers when they are given.
709 (package--has-keyword-p): Helper function.
710 (package-menu--refresh): Use it.
711 (package--mapc): Helper function.
712 (package-all-keywords): Use it.
713 (package-menu-mode-map): Set up menu items and keybindings to
714 provide a filtering UI.
715
716 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
717
718 * net/gnutls.el (gnutls-verify-error): New defcustom to control
719 the behavior when a certificate fails validation. Defaults to
720 old behavior: never abort, just warn.
721 (gnutls-negotiate): Use it.
722
723 2013-12-14 Martin Rudalics <rudalics@gmx.at>
724
725 * window.el (display-buffer-below-selected): Never split window
726 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
727
728 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
729
730 * emacs-lisp/package.el (package--prepare-dependencies): New function.
731 (package-buffer-info): Use it (bug#15108).
732
733 * icomplete.el (icomplete-completions): Make sure the prefix is already
734 displayed elsewhere before hiding it.
735
736 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
737
738 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
739 open-paren tokens when preceded by a open-paren, too.
740 (ruby-smie-rules): Handle virtual indentation after open-paren
741 tokens specially. If there is code between it and eol, return the
742 column where is starts (Bug#16118).
743
744 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
745
746 * progmodes/cfengine.el: Fix `add-hook' doc.
747 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
748 (cfengine3--current-word): Fix parameters.
749 (cfengine3-make-syntax-cache): Simplify further.
750 (cfengine3-completion-function, cfengine3--current-function):
751 Use `assq' for symbols.
752 (cfengine3--current-function): Fix `cfengine3--current-word' call.
753
754 2013-12-13 Glenn Morris <rgm@gnu.org>
755
756 * loadup.el (load-path): Warn if site-load or site-init changes it.
757 No more need to reset it when bootstrapping.
758
759 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
760
761 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
762 locations for cf-promises.
763 (cfengine-mode-syntax-functions-regex): New caching variable.
764 (cfengine3-fallback-syntax): Fallback syntax for cases where
765 cf-promises doesn't run.
766 (cfengine3--current-word): Reimplement using
767 `cfengine-mode-syntax-functions-regex'.
768 (cfengine3-completion-function, cfengine3--current-function):
769 Use `cfengine3-make-syntax-cache' directly.
770 (cfengine3-clear-syntax-cache): New function.
771 (cfengine3-make-syntax-cache): Simplify and create
772 `cfengine-mode-syntax-functions-regex' on demand.
773 (cfengine3-format-function-docstring): Don't call
774 `cfengine3-make-syntax-cache' explicitly.
775
776 2013-12-13 Martin Rudalics <rudalics@gmx.at>
777
778 Fix windmove-find-other-window broken after pixelwise resizing
779 (Bug#16017).
780 * windmove.el (windmove-other-window-loc): Revert change from
781 2013-12-04.
782 (windmove-find-other-window): Call window-in-direction.
783 * window.el (window-in-direction): New arguments SIGN, WRAP and
784 MINI to emulate original windmove-find-other-window behavior.
785
786 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
787
788 * simple.el (blink-matching--overlay): New variable.
789 (blink-matching-open): Instead of moving point, highlight the
790 matching paren with an overlay
791 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
792
793 * faces.el (paren-showing-faces, show-paren-match)
794 (show-paren-mismatch): Move from paren.el.
795
796 2013-12-13 Leo Liu <sdl.web@gmail.com>
797
798 * indent.el (indent-region): Disable progress reporter in
799 minibuffer. (Bug#16108)
800
801 * bindings.el (visual-order-cursor-movement): Fix version.
802
803 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
804
805 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
806 Also match after beginning of line.
807 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
808 files. Thanks to Russell Sim. (Bug#15378)
809
810 2013-12-13 Juri Linkov <juri@jurta.org>
811
812 * simple.el <Keypad support>: Remove key bindings duplicated
813 with bindings.el. (Bug#14397)
814
815 2013-12-13 Juri Linkov <juri@jurta.org>
816
817 * comint.el (comint-mode-map): Replace `delete-char' with
818 `delete-forward-char'. (Bug#16109)
819
820 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
821
822 * progmodes/python.el (python-indent-calculate-indentation):
823 Fix de-denters cornercase. (Bug#15731)
824
825 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
828 (advice--make): Pay attention to `depth'.
829 (advice--make-1): Don't autoload commands eagerly.
830 * emacs-lisp/elp.el (elp-instrument-function):
831 * emacs-lisp/trace.el (trace-function-internal):
832 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
833
834 * iswitchb.el (iswitchb-mode): Don't belittle ido.
835
836 2013-12-12 Eli Zaretskii <eliz@gnu.org>
837
838 * term/w32-win.el (w32-handle-dropped-file):
839 * startup.el (normal-top-level):
840 * net/browse-url.el (browse-url-file-url):
841 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
842 decode file names using 'utf-8' rather than
843 file-name-coding-system.
844
845 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
846
847 * progmodes/python.el (python-indent-context)
848 (python-indent-calculate-indentation): Fix auto-identation
849 behavior for comment blocks. (Bug#15916)
850
851 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
852
853 * progmodes/python.el (python-indent-calculate-indentation):
854 When determining indentation, don't treat "return", "pass", etc., as
855 operators when they are just string constituents. (Bug#15812)
856
857 2013-12-12 Juri Linkov <juri@jurta.org>
858
859 * uniquify.el (uniquify-buffer-name-style): Change default to
860 `post-forward-angle-brackets'.
861
862 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
863 `uniquify'. Change default to `post-forward-angle-brackets'.
864
865 2013-12-11 Glenn Morris <rgm@gnu.org>
866
867 * emacs-lisp/package.el (finder-list-matches):
868 Autoload rather than falsely declaring.
869
870 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
871
872 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
873 (eww-mode-map): Use them.
874
875 2013-12-11 Martin Rudalics <rudalics@gmx.at>
876
877 * window.el (display-buffer-in-side-window): Fix doc-string
878 (Bug#16115).
879
880 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
881
882 * vc/vc-git.el: Silence byte-compiler warnings.
883 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
884 (log-edit-set-header): Declare.
885
886 2013-12-11 Eli Zaretskii <eliz@gnu.org>
887
888 * Makefile.in (custom-deps, finder-data): Run output file names
889 through unmsys--file-name. (Bug#16099)
890
891 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
894 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
895
896 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
897 instead of deleting the selection "by hand" (bug#16098).
898 Rely on insert-for-yank to yank rectangles.
899 (cua-highlight-region-shift-only): Mark obsolete.
900 (cua-mode): Don't enable/disable transient-mark-mode,
901 shift-select-mode (cua-mode works both with and without them), and
902 pc-selection-mode (obsolete).
903 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
904 (cua--deactivate-rectangle): Deactivate it.
905
906 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
907 (delete-selection-helper): Make sure yank starts at the top of the
908 deleted region.
909 (minibuffer-keyboard-quit): Use region-active-p.
910
911 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
912
913 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
914 to `delete' (bug#16109).
915
916 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
917
918 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
919 info manual and show keybindings and set `:group' keyword.
920
921 2013-12-11 Juri Linkov <juri@jurta.org>
922
923 * delsel.el (delete-active-region): Let-bind `this-command'
924 to prevent `kill-region' from changing its original value.
925 (delete-selection-helper): Handle `overwrite-mode' for the type
926 `kill' exactly the same way as for the type `t'.
927 (insert-char, quoted-insert, reindent-then-newline-and-indent):
928 Support more commands. (Bug#13312)
929
930 2013-12-11 Juri Linkov <juri@jurta.org>
931
932 * bindings.el: Map kp keys to non-kp keys systematically
933 with basic modifiers control, meta and shift. (Bug#14397)
934
935 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
936
937 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
938 "Close browser" menu items. Fix wrong function of "List
939 bookmarks".
940
941 2013-12-11 Juri Linkov <juri@jurta.org>
942
943 * misearch.el (multi-isearch-buffers): Set the value of
944 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
945 arg of isearch-forward to t.
946 (multi-isearch-buffers-regexp): Set the value of
947 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
948 arg of isearch-forward-regexp to t.
949 (multi-isearch-files): Set the value of
950 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
951 arg of isearch-forward to t.
952 (multi-isearch-files-regexp): Set the value of
953 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
954 arg of isearch-forward-regexp to t. (Bug#16035)
955
956 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
957 arg of isearch-forward to t.
958 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
959 arg of isearch-forward-regexp to t.
960 (dired-isearch-filter-filenames): Remove unnecessary check for
961 `dired-isearch-filenames'.
962
963 * comint.el (comint-history-isearch-backward):
964 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
965 (comint-history-isearch-backward-regexp):
966 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
967
968 2013-12-10 Eli Zaretskii <eliz@gnu.org>
969
970 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
971 unmsys--file-name. (Bug#16099)
972
973 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
974
975 * emacs-lisp/package.el (package-keyword-button-action):
976 Remove finder.el require dependency.
977
978 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
979
980 * emacs-lisp/package.el: Require finder.el.
981 (describe-package-1): Add keyword buttons.
982 (package-make-button): New convenience function.
983 (package-keyword-button-action): Keyword button action using
984 `finder-list-matches'.
985
986 2013-12-09 Eli Zaretskii <eliz@gnu.org>
987
988 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
989 last commit.
990
991 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
992
993 * autorevert.el (auto-revert-notify-add-watch): Do not handle
994 symlinked files.
995
996 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
997
998 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
999 after the end of a percent literal.
1000
1001 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1002
1003 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1004 Handle caret-delimited strings (Bug#16079).
1005
1006 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1007
1008 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1009 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1010 `ruby-parse-partial' (Bug#16078).
1011
1012 2013-12-09 Leo Liu <sdl.web@gmail.com>
1013
1014 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1015
1016 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1017
1018 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1019 (js-switch-indent-offset): New option.
1020 (js--proper-indentation): Use it. And handle the case when
1021 "default" is actually a key in an object literal.
1022 (js--same-line): New function.
1023 (js--multi-line-declaration-indentation): Use it.
1024 (js--indent-in-array-comp, js--array-comp-indentation):
1025 New functions.
1026 (js--proper-indentation): Use them, to handle array comprehension
1027 continuations.
1028
1029 2013-12-08 Leo Liu <sdl.web@gmail.com>
1030
1031 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1032 (flymake-make-overlay): Remove arg MOUSE-FACE.
1033 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1034
1035 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1038 New function.
1039 (redisplay-highlight-region-function): Use it.
1040
1041 * emulation/cua-base.el (cua--explicit-region-start)
1042 (cua--last-region-shifted): Remove.
1043 (cua--deactivate): Use deactivate-mark.
1044 (cua--pre-command-handler-1): Don't handle shift-selection.
1045 (cua--post-command-handler-1): Don't change transient-mark-mode.
1046 (cua--select-keymaps): Use region-active-p rather than
1047 cua--explicit-region-start or cua--last-region-shifted.
1048 (cua-mode): Enable shift-select-mode.
1049
1050 2013-12-08 Leo Liu <sdl.web@gmail.com>
1051
1052 * progmodes/flymake.el (flymake-popup-current-error-menu):
1053 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1054 (flymake-posn-at-point-as-event, flymake-popup-menu)
1055 (flymake-make-emacs-menu): Remove. (Bug#16077)
1056
1057 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * rect.el (rectangle-mark-mode): Activate mark even if
1060 transient-mark-mode is off (bug#16066).
1061 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1062 is > mark and at bolp.
1063
1064 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1065 (region-extract-function): Use it.
1066 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1067 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1068 Delete functions.
1069 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1070 kill-ring-save, kill-region, delete-char, delete-forward-char.
1071 Ignore self-insert-iso.
1072
1073 * emulation/cua-gmrk.el (cua--init-global-mark):
1074 Ignore `self-insert-iso'.
1075
1076 * emulation/cua-base.el (cua--prefix-copy-handler)
1077 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1078 checking cua--rectangle.
1079 (cua-delete-region): Use region-extract-function.
1080 (cua-replace-region): Delete function.
1081 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1082 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1083 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1084 (cua--init-keymaps): Don't remap delete-selection commands.
1085 (cua-mode): Use delete-selection-mode instead of rolling our own
1086 (bug#16085).
1087
1088 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1089 Obey region-extract-function.
1090
1091 Make registers and delete-selection-mode work on rectangles.
1092 * register.el (describe-register-1): Don't modify the register's value.
1093 (copy-to-register): Obey region-extract-function.
1094 * delsel.el (delete-active-region): Obey region-extract-function.
1095
1096 2013-12-08 Leo Liu <sdl.web@gmail.com>
1097
1098 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1099 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1100 (flymake-compilation-prevents-syntax-check)
1101 (flymake-start-syntax-check-on-newline)
1102 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1103 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1104 (flymake-xml-program, flymake-master-file-dirs)
1105 (flymake-master-file-count-limit)
1106 (flymake-allowed-file-name-masks): Relocate.
1107 (flymake-makehash, flymake-float-time)
1108 (flymake-replace-regexp-in-string, flymake-split-string)
1109 (flymake-get-temp-dir): Remove.
1110 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1111 (flymake-current-row, flymake-selected-frame)
1112 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1113 related functions. (Bug#16077)
1114
1115 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1116
1117 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1118
1119 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1120
1121 * help-fns.el (describe-function-1): Use new advice-* functions
1122 rather than old ad-* functions. Fix function type description and
1123 source links for advised functions and subrs.
1124
1125 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1126
1127 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1128
1129 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1130
1131 * progmodes/compile.el (compilation-start):
1132 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1133
1134 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1135 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1136
1137 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1138
1139 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1140 Touch up the last change.
1141
1142 2013-12-06 Leo Liu <sdl.web@gmail.com>
1143
1144 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1145 (inferior-octave-startup): Always use "octave> " for prompt.
1146 (octave-goto-function-definition)
1147 (octave-sync-function-file-names)
1148 (octave-find-definition-default-filename): Remove redundant backquotes.
1149
1150 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1151
1152 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1153 syntax for `?'.
1154 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1155 where appropriate already.
1156 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1157 end of method names (Bug#15874).
1158
1159 2013-12-06 Juri Linkov <juri@jurta.org>
1160
1161 * isearch.el (isearch--saved-overriding-local-map):
1162 New internal variable.
1163 (isearch-mode): Set it to the initial value of
1164 `overriding-terminal-local-map'.
1165 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1166 with `isearch--saved-overriding-local-map'. (Bug#16035)
1167
1168 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1169
1170 * progmodes/octave.el (inferior-octave-completion-table):
1171 Turn back into function, use `completion-table-with-cache'
1172 (Bug#11906). Update all references.
1173
1174 * minibuffer.el (completion-table-with-cache): New function.
1175
1176 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1177
1178 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1179
1180 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1181
1182 * net/eww.el (eww-current-source): New variable to store page
1183 source.
1184 (eww-display-html, eww-mode, eww-save-history)
1185 (eww-restore-history): Use it.
1186 (eww-view-source): New command to view page source.
1187 Opportunistically uses `html-mode' to highlight the buffer.
1188 (eww-mode-map): Install it.
1189
1190 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1191
1192 * net/dbus.el (dbus-unregister-service)
1193 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1194 Fix docstring.
1195 (dbus-unregister-service): Skip :serial entries in
1196 `dbus-registered-objects-table'.
1197 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1198
1199 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1200
1201 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1202 around keywords with extra `split-string' argument.
1203
1204 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1205
1206 * windmove.el (windmove-other-window-loc): Handle navigation
1207 between windows (excluding the minibuffer window - Bug#16017).
1208
1209 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1210
1211 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1212 in D-Bus type syntax.
1213 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1214 preserve unibyte strings. (Bug#16048)
1215
1216 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1219 Call force-mode-line-update is the proper buffer (bug#16042).
1220
1221 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1222
1223 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1224 `log-edit-remember-comment', make argument optional. Adjust all
1225 callers.
1226 (log-edit-mode): Add `log-edit-remember-comment' to
1227 `kill-buffer-hook' locally.
1228 (log-edit-kill-buffer): Don't remember comment explicitly since
1229 the buffer is killed anyway.
1230
1231 2013-12-04 Juri Linkov <juri@jurta.org>
1232
1233 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1234 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1235
1236 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1237
1238 * notifications.el (notifications-close-notification): Call the
1239 D-Bus method with ID being a `:uint32'. (Bug#16030)
1240
1241 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1242
1243 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1244
1245 2013-12-03 Juri Linkov <juri@jurta.org>
1246
1247 * progmodes/compile.el (compilation-start): Rename window alist
1248 entry `no-display-ok' to `allow-no-window'.
1249
1250 * simple.el (shell-command): Add window alist entry
1251 `allow-no-window' to `display-buffer'.
1252 (async-shell-command): Doc fix.
1253
1254 * window.el (display-buffer-no-window): New action function.
1255 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1256
1257 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1258
1259 * vc/log-edit.el (log-edit-set-header): Extract from
1260 `log-edit-toggle-header'.
1261 (log-edit-extract-headers): Separate the summary, when extracted
1262 from header, from the rest of the message with an empty line.
1263
1264 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1265 line, if present, to the Summary header.
1266
1267 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1270 in current-buffer (bug#16029).
1271
1272 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1273
1274 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1275 (debugger-mode-map): Bind it.
1276 (debugger--backtrace-base): New function.
1277 (debugger-eval-expression): Use it.
1278 (debugger-frame-number): Skip local vars when present.
1279 (debugger--locals-visible-p, debugger--insert-locals)
1280 (debugger--show-locals, debugger--hide-locals): New functions.
1281
1282 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1283
1284 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1285 "LC_ALL".
1286 (tramp-get-remote-locale): New defun.
1287 (tramp-open-connection-setup-interactive-shell): Use it.
1288
1289 2013-12-02 Leo Liu <sdl.web@gmail.com>
1290
1291 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1292
1293 * progmodes/sh-script.el (sh-shell-process):
1294 * progmodes/octave.el (inferior-octave-process-live-p):
1295 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1296 (gdb-inferior-io-sentinel):
1297 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1298
1299 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1300
1301 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1302 `save-selected-window' to `log-edit-hide-buf'. This makes
1303 `log-edit-show-files' idempotent.
1304 (log-edit-show-files): Mark the new window as dedicated.
1305
1306 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1307
1308 * vc/log-edit.el (log-edit-mode-map): Add binding for
1309 `log-edit-kill-biffer'.
1310 (log-edit-hide-buf): Add a FIXME comment.
1311 (log-edit-add-new-comment): New function, extracted from
1312 `log-edit-done'.
1313 (log-edit-done, log-edit-add-to-changelog): Use it.
1314 (log-edit-kill-buffer): New command.
1315
1316 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1317
1318 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1319 instead of killing the buffer.
1320
1321 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1322
1323 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1324
1325 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1326
1327 * net/eww.el (eww-form-checkbox-selected-symbol)
1328 (eww-form-checkbox-symbol): New customizable variable.
1329 (eww-form-checkbox, eww-toggle-checkbox):
1330 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1331
1332 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1333 (shr--get-media-pref, shr--extract-best-source): New function.
1334 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1335 no :src tag was specified.
1336
1337 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1338 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1339 Use \\` to match beginning of string instead of ^.
1340 (eww-browse-with-external-browser): Provide optional URL parameter.
1341 (eww-render): Set `eww-current-title' back to "".
1342
1343 * net/shr.el (shr-tag-video): Display content for video if no
1344 poster is available.
1345 (shr-tag-audio): Add support for <audio> tag.
1346
1347 * net/eww.el (eww-text-input-types): New const.
1348 (eww-process-text-input): Treat input types in
1349 `eww-text-input-types' as text.
1350
1351 * net/shr.el (shr-tag-table): Fix comment typo.
1352
1353 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1354
1355 * net/eww.el (eww-follow-link): New command to avoid reloading
1356 pages when we follow #target links (bug#15243).
1357 (eww-quit): Special mode buffers shouldn't query before exiting.
1358
1359 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1360
1361 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1362 forms.
1363
1364 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1365
1366 * net/eww.el (eww-restore-history): Update the window title after
1367 moving in the history.
1368 (eww-current-dom): New variable used to save the current DOM.
1369
1370 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1371
1372 * vc/log-edit.el (log-edit-mode-map): Add binding for
1373 `log-edit-beginning-of-line'.
1374 (log-edit-setup-add-author): New user option.
1375 (log-edit-beginning-of-line): New command.
1376 (log-edit): Move major mode call above the contents setup so that
1377 the local variable values are already applied.
1378 (log-edit): Only insert "Author: " when
1379 `log-edit-setup-add-author' is non-nil.
1380 (log-edit): When SETUP is non-nil, position point after ": "
1381 instead of point-min.
1382
1383 2013-12-01 Glenn Morris <rgm@gnu.org>
1384
1385 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1386
1387 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1388
1389 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1390 redisplay to make sure the initial frame gets a chance to become
1391 visible. (Bug#16014)
1392
1393 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1394
1395 Support resizing frames and windows pixelwise.
1396 * cus-start.el (frame-resize-pixelwise)
1397 (window-resize-pixelwise): New entries.
1398 * emacs-lisp/debug.el (debug): Use window-total-height instead
1399 of window-total-size.
1400 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1401 * help.el (describe-bindings-internal): Call help-buffer
1402 (temp-buffer-max-width): New option.
1403 (resize-temp-buffer-window, help-window-setup)
1404 (with-help-window): Rewrite.
1405 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1406 dragging dividers.
1407 * window.el (frame-char-size, window-min-pixel-height)
1408 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1409 (window-min-pixel-width, window-safe-min-pixel-size)
1410 (window-combination-p, window-safe-min-size)
1411 (window-resizable-p, window--size-to-pixel)
1412 (window--pixel-to-size, window--resize-apply-p): New functions.
1413 (window-safe-min-height): Fix doc-string.
1414 (window-size, window-min-size, window--min-size-1)
1415 (window-sizable, window-sizable-p, window--min-delta-1)
1416 (window-min-delta, window--max-delta-1, window-max-delta)
1417 (window--resizable, window--resizable-p, window-resizable)
1418 (window-full-height-p, window-full-width-p, window-at-side-p)
1419 (window--in-direction-2, window-in-direction)
1420 (window--resize-reset-1, window--resize-mini-window)
1421 (window-resize, window-resize-no-error)
1422 (window--resize-child-windows-normal)
1423 (window--resize-child-windows, window--resize-siblings)
1424 (window--resize-this-window, window--resize-root-window)
1425 (window--resize-root-window-vertically)
1426 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1427 (maximize-window, minimize-window, delete-window)
1428 (quit-restore-window, window-split-min-size, split-window)
1429 (balance-windows-2, balance-windows)
1430 (balance-windows-area-adjust, balance-windows-area)
1431 (window--state-get-1, window-state-get, window--state-put-1)
1432 (window--state-put-2, window-state-put)
1433 (display-buffer-record-window, window--display-buffer):
1434 Make functions handle pixelwise sizing of windows.
1435 (display-buffer--action-function-custom-type)
1436 (display-buffer-fallback-action):
1437 Add display-buffer-in-previous-window.
1438 (display-buffer-use-some-window): Resize window to height it had
1439 before.
1440 (fit-window-to-buffer-horizontally): New option.
1441 (fit-frame-to-buffer): Describe new values.
1442 (fit-frame-to-buffer-bottom-margin): Replace with
1443 fit-frame-to-buffer-margins.
1444 (window--sanitize-margin): New function.
1445 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1446 using window-text-pixel-size.
1447
1448 2013-11-30 Glenn Morris <rgm@gnu.org>
1449
1450 * emacs-lisp/bytecomp.el (byte-compile-form):
1451 Make the `interactive-only' warning like the `obsolete' one.
1452 * comint.el (comint-run):
1453 * files.el (insert-file-literally, insert-file):
1454 * replace.el (replace-string, replace-regexp):
1455 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1456 (goto-line, insert-buffer, next-line, previous-line):
1457 Tweak `interactive-only' spec.
1458
1459 Stop keeping (most) generated cedet grammar files in the repository.
1460 * Makefile.in (semantic): New.
1461 (compile-main): Depend on semantic.
1462
1463 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1464
1465 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1466 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1467
1468 * uniquify.el (uniquify-buffer-name-style): Change default.
1469
1470 * loadup.el: Preload "uniquify".
1471
1472 * time.el (display-time-update): Update all mode lines (bug#15999).
1473
1474 * electric.el (electric-indent-mode): Enable by default.
1475 * loadup.el: Preload "electric".
1476
1477 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1478
1479 * emacs-lisp/helpers.el (string-empty-p): New function.
1480 (string-blank-p): New function.
1481
1482 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1483
1484 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1485 (Bug#14029).
1486
1487 2013-11-29 Andreas Politz <politza@fh-trier.de>
1488 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1489 allow non-lambda lists as functions.
1490 (imenu--in-alist): Don't recurse into non-subalists.
1491 (imenu): Don't pass function itself as an argument (Bug#14029).
1492
1493 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1495 * progmodes/python.el (python-mode-map): Remove binding for ":".
1496 (python-indent-electric-colon): Remove command.
1497 (python-indent-post-self-insert-function): Integrate the previous code
1498 of python-indent-electric-colon. Make it conditional on
1499 electric-indent-mode.
1500 (python-mode): Add ?: to electric-indent-chars.
1501 Move python-indent-post-self-insert-function to the end of
1502 post-self-insert-hook.
1503
1504 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * doc-view.el (doc-view-goto-page): Update mode-line.
1507
1508 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1509
1510 2013-11-27 Glenn Morris <rgm@gnu.org>
1511
1512 * international/charprop.el, international/uni-bidi.el:
1513 * international/uni-category.el, international/uni-combining.el:
1514 * international/uni-comment.el, international/uni-decimal.el:
1515 * international/uni-decomposition.el, international/uni-digit.el:
1516 * international/uni-lowercase.el, international/uni-mirrored.el:
1517 * international/uni-name.el, international/uni-numeric.el:
1518 * international/uni-old-name.el, international/uni-titlecase.el:
1519 * international/uni-uppercase.el:
1520 Remove generated files from VCS repository.
1521
1522 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1523
1524 * filenotify.el (file-notify-add-watch): Don't special-case
1525 w32notify when computing the directory to watch.
1526
1527 2013-11-27 Glenn Morris <rgm@gnu.org>
1528
1529 Make bootstrap without generated uni-*.el files possible again.
1530 * loadup.el: Update command-line-args checking for unidata-gen.
1531 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1532 * composite.el, international/characters.el:
1533 Handle unicode tables being undefined.
1534
1535 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1536 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1537 (compile-main): Depend on leim rule.
1538 (leim): New rule.
1539 * loadup.el: Move leim-list.el to leim/ subdirectory.
1540 * startup.el (normal-top-level): No more leim directory.
1541 * international/ja-dic-cnv.el (skkdic-convert):
1542 Disable version-control and autoloads in output files.
1543 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1544 Disable version-control and autoloads in output files.
1545 * leim/quail: Move here from ../leim.
1546 * leim/quail/hangul.el (hangul-input-method-activate):
1547 Add autoload cookie.
1548 (generated-autoload-load-name): Set file-local value.
1549 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1550 (generated-autoload-load-name): Set file-local value.
1551
1552 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1553
1554 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1555 (eww-add-bookmark): Ask confirmation when add to bookmarks
1556 (eww-quit): Ask confirmation before quitting eww.
1557
1558 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1559
1560 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1561 reading output from Diff on MS-Windows and MS-DOS.
1562
1563 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1564
1565 * emacs-lisp/helpers.el (string-reverse): New function.
1566
1567 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1568
1569 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1570 names on MS Windows, like "/[::1]:".
1571
1572 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1573 SWITCHES.
1574
1575 2013-11-26 Glenn Morris <rgm@gnu.org>
1576
1577 * progmodes/python.el (python-indent-guess-indent-offset):
1578 Avoid corner-case error. (Bug#15975)
1579
1580 Preload leim-list.el. (Bug#4789)
1581 * loadup.el: Load leim-list.el when found.
1582 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1583
1584 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1585
1586 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1587
1588 * emacs-lisp/helpers.el (string-join): New function.
1589
1590 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1591
1592 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1593 Mark as obsolete and replace it with a symbol property.
1594 (byte-compile-form): Use new 'interactive-only property.
1595 * comint.el, files.el, replace.el, simple.el:
1596 Apply new 'interactive-only properly.
1597
1598 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1599
1600 * window.el (display-buffer-at-bottom): Make sure that
1601 split-window-sensibly creates the new window on bottom
1602 (Bug#15961).
1603
1604 2013-11-23 David Kastrup <dak@gnu.org>
1605
1606 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1607 on the conflict markers when available.
1608 (smerge--get-marker): New function.
1609 (smerge-end-re, smerge-base-re): Add subgroup.
1610
1611 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1612
1613 * frame.el (handle-focus-in, handle-focus-out): Add missing
1614 interactive spec.
1615
1616 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1617
1618 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1619 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1620
1621 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1624 (gomoku--last-pos): New var.
1625 (gomoku--intangible-chars): New const.
1626 (gomoku--intangible): New function.
1627 (gomoku-mode): Use it. Derive from special-mode.
1628 (gomoku-move-up): Adjust line count.
1629 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1630 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1631 Simplify accordingly.
1632
1633 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1634 Remove blink-cursor code.
1635 (blink-cursor-timer-function, blink-cursor-suspend):
1636 Don't special-case GUIs.
1637 (blink-cursor-mode): Use focus-in/out-hook.
1638
1639 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1640
1641 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1642 work when annotation is invisible (Bug#13886).
1643
1644 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1645
1646 * json.el (json-alist-p): Only return non-nil if the alist has
1647 simple keys (Bug#13518).
1648
1649 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1650
1651 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1652 when control-statement is the first statement in a buffer (Bug#15956).
1653
1654 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1655
1656 * imenu.el (imenu-generic-skip-comments-and-strings):
1657 New option (Bug#15560).
1658 (imenu--generic-function): Use it.
1659
1660 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1661
1662 * minibuffer.el (completion--in-region-1): Scroll the correct
1663 window. (Bug#13898)
1664
1665 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1666
1667 * emacs-lisp/helpers.el: Add some string helpers.
1668 (string-trim-left): Removes leading whitespace.
1669 (string-trim-right): Removes trailing whitespace.
1670 (string-trim): Removes leading and trailing whitespace.
1671
1672 * subr.el (string-suffix-p): New function.
1673
1674 2013-11-23 Glenn Morris <rgm@gnu.org>
1675
1676 * progmodes/python.el (python-shell-send-file):
1677 Add option to delete file when done. (Bug#15647)
1678 (python-shell-send-string, python-shell-send-region): Use it.
1679
1680 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1681
1682 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1683 to set buffer-read-only to t, never to nil. (Bug#15938)
1684
1685 * textmodes/tex-mode.el (latex-noindent-environments):
1686 Add safe-local-variable property. (Bug#15936)
1687
1688 2013-11-23 Glenn Morris <rgm@gnu.org>
1689
1690 * textmodes/enriched.el (enriched-mode): Doc fix.
1691 * emacs-lisp/authors.el (authors-renamed-files-alist):
1692 Add enriched.doc -> enriched.txt.
1693
1694 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1695
1696 2013-11-22 Leo Liu <sdl.web@gmail.com>
1697
1698 * progmodes/octave.el (inferior-octave-startup): Spit out error
1699 message.
1700
1701 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1702
1703 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1704 Improve docstring.
1705 Add :version.
1706 (ruby-encoding-magic-comment-style): Add :version.
1707
1708 2013-11-22 Leo Liu <sdl.web@gmail.com>
1709
1710 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1711 (Bug#15076)
1712 (octave-help-mode): Adapt to change to help-mode-finish to use
1713 derived-mode-p on 2013-09-17.
1714 (inferior-octave-prompt): Also match octave-gui.
1715 (octave-kill-process): Don't ask twice. (Bug#10564)
1716
1717 2013-11-22 Leo Liu <sdl.web@gmail.com>
1718
1719 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1720 (inferior-octave-startup, inferior-octave-check-process)
1721 (inferior-octave-track-window-width-change)
1722 (octave-completion-at-point, octave-eldoc-function): Use it.
1723 (octave-kill-process): Provide confirmation. (Bug#10564)
1724
1725 2013-11-21 Leo Liu <sdl.web@gmail.com>
1726
1727 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1728 Fix obsolete variable comment-use-global-state.
1729
1730 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1731
1732 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1733 Add `octave-source-file'.
1734 (octave-source-file): New function. (Bug#15935)
1735
1736 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1737
1738 * net/eww.el (eww-local-regex): New variable.
1739 (eww): Use it to detect localhost and similar.
1740
1741 2013-11-21 Leo Liu <sdl.web@gmail.com>
1742
1743 Add completion for command `ag'.
1744 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1745 (pcomplete/ag): New function.
1746 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1747
1748 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1751 (bug#14646).
1752 (make-obsolete): Remove interactive spec.
1753
1754 2013-11-21 Glenn Morris <rgm@gnu.org>
1755
1756 * startup.el (command-line-1): Use path-separator with -L.
1757
1758 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1759
1760 * emacs-lisp/package.el (describe-package-1): Add package archive
1761 to shown fields.
1762
1763 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1764
1765 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1766 Change default to "# encoding: %s" to differentiate it from the
1767 default Ruby encoding comment template.
1768
1769 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1770
1771 * ses.el (ses-mode): Doc fix. (Bug#14748)
1772
1773 2013-11-20 Leo Liu <sdl.web@gmail.com>
1774
1775 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1776
1777 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1778
1779 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1780 when rebase or bisect are in progress.
1781
1782 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1783
1784 * filenotify.el (file-notify-add-watch): Doc fix.
1785
1786 2013-11-19 Leo Liu <sdl.web@gmail.com>
1787
1788 * obsolete/rcompile.el: Mark obsolete.
1789
1790 * progmodes/compile.el (compilation-start)
1791 (compilation-goto-locus, compilation-find-file):
1792 Pass no-display-ok and handle nil value from display-buffer.
1793 (Bug#13594)
1794
1795 * window.el (display-buffer-alist, display-buffer): Document the
1796 new parameter no-display-ok. Return either a window or nil
1797 but never a non-window value.
1798
1799 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * electric.el (electric-indent-mode-map): Remove.
1802 (electric-indent-mode): Change the global-map instead (bug#15915).
1803
1804 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1805 Use add-function.
1806
1807 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1808
1809 * emacs-lisp/nadvice.el (remove-function): Align with
1810 add-function's behavior.
1811
1812 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1813 (gdb--string-regexp): New constant.
1814 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1815 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1816 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1817 submatch 1.
1818 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1819 Adjust use accordingly.
1820 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1821
1822 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1823
1824 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1825 interpolation curlies (Bug#15914).
1826
1827 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1828
1829 * calc/calc.el (calc-context-sensitive-enter): New variable.
1830 (calc-enter): Use `calc-context-sensitive-enter'.
1831
1832 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1833
1834 * progmodes/cfengine.el: Version bump.
1835 (cfengine-cf-promises): New defcustom to locate cf-promises.
1836 (cfengine3-vartypes): Add new "data" type.
1837 (cfengine3--current-word): New function to get current name-like
1838 word or its bounds.
1839 (cfengine3--current-function): New function to look up a CFEngine
1840 function's definition.
1841 (cfengine3-format-function-docstring): New function.
1842 (cfengine3-make-syntax-cache): New function.
1843 (cfengine3-documentation-function): New function: ElDoc glue.
1844 (cfengine3-completion-function): New function: completion glue.
1845 (cfengine3-mode): Set `compile-command',
1846 `eldoc-documentation-function', and add to
1847 `completion-at-point-functions'.
1848
1849 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1850
1851 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1852 `tramp-current-connection'.
1853
1854 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1855
1856 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1857 nil/self/true/false with "end of symbol".
1858
1859 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1860
1861 * subr.el (version-regexp-alist): Fix a typo.
1862
1863 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1864
1865 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1866 "en_US.utf8" and "LC_CTYPE" to "".
1867 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1868 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1869
1870 2013-11-15 Leo Liu <sdl.web@gmail.com>
1871
1872 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1873
1874 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * progmodes/gud.el (ctl-x-map):
1877 Remove C-x SPC binding. (Bug#12342)
1878 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1879
1880 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1881
1882 * subr.el (version-regexp-alist):
1883 Recognize hg, svn and darcs versions as snapshot versions.
1884
1885 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1886 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1887 (ruby--encoding-comment-required-p): Extract from
1888 `ruby-mode-set-encoding'.
1889 (ruby-mode-set-encoding): Add the ability to always insert an
1890 utf-8 encoding comment. Fix and simplify coding comment update
1891 logic.
1892
1893 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1894
1895 * net/tramp-gvfs.el (top): Run init code only when
1896 `tramp-gvfs-enabled' is not nil.
1897 (tramp-gvfs-enabled): Check also :system bus.
1898
1899 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 Sync with upstream verilog-mode revision 78e66ba.
1902 * progmodes/verilog-mode.el (verilog-end-of-defun)
1903 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1904 (verilog-get-end-of-defun): Remove unused argument.
1905 (verilog-comment-depth): Remove unused local `e'.
1906 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1907 Don't pass arg to verilog-get-end-of-defun.
1908
1909 2013-11-14 Glenn Morris <rgm@gnu.org>
1910
1911 * obsolete/assoc.el (aget): Prefix dynamic variable.
1912
1913 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1914
1915 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * widget.el, hfy-cmap.el: Remove bogus package version number.
1918
1919 2013-11-13 Glenn Morris <rgm@gnu.org>
1920
1921 * replace.el (replace-eval-replacement):
1922 Try to give more helpful error message. (Bug#15836)
1923
1924 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1925 (archive-7z-update): Avoid custom type mismatches.
1926
1927 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1928
1929 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1930
1931 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1932 address can be empty.
1933
1934 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1935 Accept nil SWITCHES.
1936 (tramp-gvfs-handle-write-region): Implement APPEND.
1937
1938 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1939
1940 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1941 binary "|" operator and closing block args delimiter.
1942 Remove FIXME comment referring to Ruby 1.8-only syntax.
1943 (ruby-smie--implicit-semi-p): Not after "|" operator.
1944 (ruby-smie--closing-pipe-p): New function.
1945 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1946 (ruby-smie-rules): Indent after "|".
1947
1948 2013-11-12 Glenn Morris <rgm@gnu.org>
1949
1950 * ps-print.el (ps-face-attribute-list):
1951 Handle anonymous faces. (Bug#15827)
1952
1953 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1954
1955 * window.el (display-buffer-other-frame): Fix doc-string.
1956 (Bug#15868)
1957
1958 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1961
1962 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1963
1964 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1965 (tramp-sh-handle-file-local-copy): Don't write a message when
1966 saving temporary files.
1967
1968 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1969 both directories are remote.
1970 (tramp-smb-handle-directory-files): Do not return double entries.
1971 Do not expand full file names.
1972 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1973 (tramp-smb-handle-write-region): Implement APPEND.
1974 (tramp-smb-get-stat-capability): Fix a stupid bug.
1975
1976 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1977
1978 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1979
1980 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1981
1982 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1983 throwing error over malformed let/let* (bug#15814).
1984
1985 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * iswitchb.el (iswitchb-mode): Mark obsolete.
1988
1989 2013-11-11 Glenn Morris <rgm@gnu.org>
1990
1991 * international/uni-bidi.el, international/uni-category.el:
1992 * international/uni-name.el, international/uni-numeric.el:
1993 Regenerate for Unicode 6.3.0.
1994
1995 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1996
1997 * net/tramp.el (tramp-methods):
1998 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1999 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2000
2001 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2002
2003 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2004 Force highlighting text after Summary keyword in doc face for rpm.
2005
2006 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2007
2008 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2009 available and the word has no wildcards, append one to the grep pattern.
2010 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2011 (ispell-complete-word): Call `ispell-lookup-words' with the value
2012 independent of `ispell-look-p'.
2013
2014 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2015
2016 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2017 Not after "||".
2018 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2019 their parent.
2020
2021 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2024 (ruby-font-lock-keywords): Use backquote.
2025
2026 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2027
2028 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2029 (ruby-smie--backward-token): Only consider full-string matches.
2030
2031 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2032
2033 * faces.el (describe-face): Add distant-foreground.
2034
2035 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2036
2037 * progmodes/ruby-mode.el: Improve encoding comment handling.
2038 (ruby-encoding-magic-comment-style): New option.
2039 (ruby-custom-encoding-magic-comment-template): New option.
2040 (ruby--insert-coding-comment, ruby--detect-encoding):
2041 New functions extracted from `ruby-mode-set-encoding'.
2042 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2043 to control the style of the auto-inserted encoding comment.
2044
2045 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2046
2047 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2048 Use `smie-backward-sexp' with token argument.
2049
2050 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2051
2052 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2053 Remove instrumentation code.
2054
2055 2013-11-08 Glenn Morris <rgm@gnu.org>
2056
2057 * progmodes/autoconf.el (autoconf-mode):
2058 Tweak comment-start-skip. (Bug#15822)
2059
2060 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2061
2062 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2063 at bobp (bug#15826).
2064 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2065
2066 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2067
2068 * man.el (Man-start-calling): New macro, extracted from
2069 Man-getpage-in-background.
2070 (Man-getpage-in-background): Use it.
2071 (Man-update-manpage): New command.
2072 (Man-mode-map): Bind it.
2073
2074 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2075
2076 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2077 of "and", "or", "&&" and "||".
2078 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2079 argument. Prohibit opening curly brace because it could only be a
2080 block opener in that position.
2081 (ruby-smie--forward-token, ruby-smie--backward-token):
2082 Separate "|" from "&" or "*" going after it. That can happen in block
2083 arguments.
2084 (ruby-smie--indent-to-stmt): New function, seeks the end of
2085 previous statement or beginning of buffer.
2086 (ruby-smie-rules): Use it.
2087 (ruby-smie-rules): Check if there's a ":" before a curly block
2088 opener candidate; if there is, it's a hash.
2089
2090 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2093 (cl--block-wrapper): Fix last accidental change.
2094
2095 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2096
2097 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2098 Instrument, in order to hunt failure on hydra.
2099
2100 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2101
2102 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2103 malformed bindings form (bug#15814).
2104
2105 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2106
2107 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2108 "." compared to " @ ". This incidentally fixes some indentation
2109 examples with "do".
2110 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2111 (ruby-smie-grammar): New tokens: "and" and "or".
2112 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2113 Exclude "and" and "or". Remove "do" in order to work around token
2114 priorities.
2115 (ruby-smie-rules): Add all infix tokens. Handle the case of
2116 beginning-of-buffer.
2117
2118 2013-11-06 Glenn Morris <rgm@gnu.org>
2119
2120 * Makefile.in (setwins_almost, setwins_for_subdirs):
2121 Avoid accidental matches.
2122
2123 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * menu-bar.el (popup-menu): Use key-binding.
2126
2127 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2128
2129 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2130 menus, support also the menus produced by minor modes.
2131 (Bug#15817)
2132
2133 2013-11-06 Leo Liu <sdl.web@gmail.com>
2134
2135 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2136 DISTANCE to bound the search. All uses changed. (Bug#15808)
2137
2138 2013-11-06 Glenn Morris <rgm@gnu.org>
2139
2140 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2141 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2142 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2143
2144 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 * electric.el (electric-indent-just-newline): New command.
2147 (electric-indent-mode-map): New keymap.
2148 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2149 Re-add :group which weren't redundant.
2150
2151 * electric.el (electric-indent-local-mode): New minor mode.
2152 (electric-indent-functions-without-reindent): New var.
2153 (electric-indent-post-self-insert-function): Use it.
2154 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2155
2156 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2157
2158 * international/quail.el (quail-help): Be more explicit about the
2159 meaning of the labels shown on the keys. (Bug#15800)
2160
2161 * startup.el (normal-top-level): Load the subdirs.el files before
2162 setting the locale environment. (Bug#15805)
2163
2164 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2167 via arguments so as to get the right ones (bug#15418).
2168
2169 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2170
2171 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2172
2173 Fix problems found while writing a test suite.
2174
2175 * net/tramp-compat.el (tramp-compat-load): New defun.
2176 * net/tramp.el (tramp-handle-load): Use it.
2177
2178 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2179 "(numberp ok-if-already-exists)" correctly.
2180
2181 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2182
2183 * international/characters.el (glyphless-char-display-control):
2184 Add usage note.
2185
2186 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2187
2188 * progmodes/python.el (python-mode):
2189 * progmodes/scheme.el (scheme-mode):
2190 * progmodes/prolog.el (prolog-mode):
2191 * progmodes/ruby-mode.el (ruby-mode):
2192 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2193 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2194
2195 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * rect.el (rectangle--highlight-for-redisplay):
2198 * emacs-lisp/smie.el (smie--next-indent-change):
2199 Use buffer-chars-modified-tick.
2200
2201 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2202
2203 * electric.el (electric-indent-post-self-insert-function):
2204 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2205
2206 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2207
2208 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2209
2210 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2211
2212 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2213 (bug#15786).
2214
2215 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2218
2219 * progmodes/python.el: Fix up last change.
2220 (python-shell--save-temp-file): New function.
2221 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2222 `string' comes from the current buffer.
2223 (python-shell-send-string-no-output): Remove `msg' arg.
2224 (python--use-fake-loc): New var.
2225 (python-shell-buffer-substring): Obey it. Try to compensate for the
2226 extra coding line added by python-shell--save-temp-file.
2227 (python-shell-send-region): Use python-shell--save-temp-file and
2228 python-shell-send-file directly. Add `nomain' argument.
2229 (python-shell-send-buffer): Use python-shell-send-region.
2230 (python-electric-pair-string-delimiter): New function.
2231 (python-mode): Use it.
2232
2233 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2234
2235 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2236 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2237 environment and decoding all of the default-directory's to here
2238 from command-line.
2239 (command-line): Decode also argv[0].
2240
2241 * loadup.el: Error out if default-directory is a multibyte string
2242 when we are dumping.
2243
2244 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2245
2246 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2247
2248 * emacs-lisp/package.el (package-menu-mode)
2249 (package-menu--print-info, package-menu--archive-predicate):
2250 Add Archive column to package list.
2251
2252 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2253
2254 Fix problems found while writing a test suite.
2255
2256 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2257 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2258 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2259 to nil when running original file name handler. Otherwise,
2260 there are problems with constructs like "$$FOO".
2261
2262 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2263 for `localname'.
2264
2265 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2266
2267 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2268
2269 * subr.el (version<, version<=, version=):
2270 Update docstrings with information for snapshot versions.
2271
2272 * helpers.el: New library for misc helper functions.
2273 (hash-table-keys): New function returning a list of hash keys.
2274 (hash-table-values): New function returning a list of hash values.
2275
2276 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2277
2278 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2279 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2280
2281 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2282
2283 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2284 checking whether point is after a 1-letter word.
2285
2286 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2287
2288 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2289 Don't infloop when expanding region over `multiline' syntax-type that
2290 begins a line (bug#15778).
2291
2292 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2295 Make it into a proper minor mode.
2296 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2297 (rectangle-mark-mode-map): New keymap.
2298 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2299
2300 2013-11-04 Glenn Morris <rgm@gnu.org>
2301
2302 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2303
2304 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2307 (ruby-smie-rules): Use smie-rule-parent instead.
2308
2309 * emacs-lisp/smie.el (smie-rule-parent): Always call
2310 smie-indent-virtual rather than only for hanging tokens.
2311 (smie--next-indent-change): New helper command.
2312
2313 2013-11-03 Glenn Morris <rgm@gnu.org>
2314
2315 * Makefile.in (abs_srcdir): Remove.
2316 (emacs): Unset EMACSLOADPATH.
2317
2318 2013-11-02 Glenn Morris <rgm@gnu.org>
2319
2320 * Makefile.in (EMACS): Use a relative filename.
2321 (abs_top_builddir): Remove.
2322 (custom-deps, finder-data, autoloads): Use --chdir.
2323
2324 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2325
2326 Use relative filenames in TAGS files.
2327 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2328 (lisptagsfiles4, TAGS): Use relative file names.
2329 (TAGS-LISP): Remove.
2330 (maintainer-clean): No more TAGS-LISP file.
2331
2332 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2333 (lisptagsfiles4): Use absolute filenames again.
2334 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2335 Remove all *loaddefs files, not just the first. Remove esh-groups.
2336 (maintainer-clean): Delete TAGS, TAGS-LISP.
2337
2338 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2339
2340 * emacs-lisp/package.el (package-version-join):
2341 Recognize snapshot versions.
2342
2343 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2344
2345 * subr.el (version-regexp-alist): Add support for snapshot versions.
2346
2347 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2348
2349 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2350 New function, replacement for `smie-rule-parent' for when we want to
2351 skip over our direct parent if it's an assignment token..
2352 (ruby-smie-rules): Use it.
2353
2354 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2355
2356 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2357 unconditionally. Remove now unnecessary forward declarations.
2358 Remove XEmacs-specific setup.
2359 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2360 (ruby-font-lock-syntactic-keywords)
2361 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2362 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2363 (ruby-here-doc-end-syntax): Remove.
2364 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2365 defined as function.
2366
2367 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2368
2369 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2370
2371 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2372
2373 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2374 table and abbrev table, `define-derived-mode' does that for us
2375 anyway.
2376
2377 2013-11-01 Glenn Morris <rgm@gnu.org>
2378
2379 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2380 files is atomic for some time, so no parallel compilation issues).
2381
2382 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2383
2384 * faces.el (face-x-resources): Add :distant-foreground.
2385 (region): Use :distant-foreground for gtk and ns.
2386
2387 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2388
2389 Allow multiple bibliographies when BibLaTeX is used rather than
2390 BibTeX.
2391 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2392 (reftex-locate-bibliography-files): Us it.
2393
2394 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2395
2396 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2397 allow comments in pbm files.
2398
2399 * term/w32-win.el (dynamic-library-alist): Support newer versions
2400 of libjpeg starting with v7: look only for the DLL from the
2401 version against which Emacs was built.
2402 Support versions of libpng beyond 1.4.x.
2403 Support libtiff v4.x.
2404
2405 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2406
2407 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2408 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2409 Add property :safe.
2410 (ruby-deep-arglist): Add property :type.
2411
2412 2013-10-31 Glenn Morris <rgm@gnu.org>
2413
2414 * Makefile.in (custom-deps, finder-data): No need to setq the target
2415 variables, we are in the right directory and the defaults work fine.
2416
2417 2013-10-30 Glenn Morris <rgm@gnu.org>
2418
2419 * Makefile.in (autoloads): Do not use abs_lisp.
2420
2421 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2422 `newline' does not respect `standard-output', so use `princ'.
2423
2424 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2425
2426 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2427 * buff-menu.el (Buffer-menu--unmark): New function.
2428 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2429
2430 2013-10-30 Glenn Morris <rgm@gnu.org>
2431
2432 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2433
2434 * emacs-lisp/package.el (lm-homepage): Declare.
2435
2436 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2437 Fix doc typos.
2438
2439 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2440
2441 * Makefile.in (finder-data, autoloads, update-subdirs)
2442 (compile-main, compile-clean, compile-always, bootstrap-clean):
2443 Check return value of cd.
2444 (compile-calc): Remove.
2445
2446 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2449
2450 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2451 (byte-compile-and-folded): New function.
2452 (=, <, >, <=, >=): Use it.
2453
2454 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2455 (path-separator, null-device, buffer-file-coding-system)
2456 (lpr-headers-switches): Check system-type before modifying them.
2457 (find-buffer-file-type-coding-system): Mark obsolete.
2458 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2459 find-file-not-found-set-buffer-file-coding-system.
2460 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2461 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2462 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2463 (w32-direct-print-region-helper, w32-direct-print-region-function)
2464 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2465 * startup.el (normal-top-level-add-subdirs-to-load-path):
2466 * ps-print.el (ps-print-region-function):
2467 * lpr.el (print-region-function): Use new name.
2468
2469 * subr.el (custom-declare-variable-early): Remove function.
2470 (custom-declare-variable-list): Remove var.
2471 (error, user-error): Remove `while' loop.
2472 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2473 (user-emacs-directory-warning, locate-user-emacs-file):
2474 Move to files.el.
2475 * simple.el (read-quoted-char-radix, read-quoted-char):
2476 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2477 Move from subr.el.
2478 * custom.el (custom-declare-variable-list): Don't process
2479 custom-declare-variable-list.
2480
2481 * progmodes/python.el (python-shell-get-buffer): New function.
2482 (python-shell-get-process): Use it.
2483 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2484 Python which encoding was used. Don't split-string since we only care
2485 about the first line. Return the temp-file, if applicable.
2486 (python-shell-send-region): Tell compile.el how to turn locations in
2487 the temp-file into locations in the source buffer.
2488
2489 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * subr.el (undefined): Add missing behavior from the C code for
2492 unbound keys.
2493
2494 * rect.el: Use lexical-binding. Add new rectangular region support.
2495 (rectangle-mark): New command.
2496 (rectangle--region): New var.
2497 (deactivate-mark-hook): Reset rectangle--region.
2498 (rectangle--extract-region, rectangle--insert-for-yank)
2499 (rectangle--highlight-for-redisplay)
2500 (rectangle--unhighlight-for-redisplay): New functions.
2501 (region-extract-function, redisplay-unhighlight-region-function)
2502 (redisplay-highlight-region-function): Use them to handle
2503 rectangular region.
2504 * simple.el (region-extract-function): New var.
2505 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2506 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2507 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2508 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2509 (redisplay-unhighlight-region-function)
2510 (redisplay-highlight-region-function): New vars.
2511 (redisplay--update-region-highlight): New function.
2512 (pre-redisplay-function): Use it.
2513 (exchange-point-and-mark): Don't deactivate the mark before
2514 reactivate-it anyway.
2515 * comint.el (comint-kill-region): Remove yank-handler argument.
2516 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2517 (delete-char): Remove property, since it's now part of their
2518 default behavior.
2519 (self-insert-iso): Remove property since this command doesn't exist.
2520
2521 * emacs-lisp/package.el (package--download-one-archive)
2522 (describe-package-1): Don't query the user about final newline.
2523
2524 2013-10-29 Daniel Colascione <dancol@dancol.org>
2525
2526 * net/tramp.el (tramp-methods): Document new functionality.
2527 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2528 tramp-hostname-checker if method provides one instead of scanning
2529 argument list for "%h" to decide hostname acceptability.
2530
2531 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2532
2533 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2534 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2535 Handle COPY-CONTENTS. (Bug#15737)
2536
2537 2013-10-28 Daiki Ueno <ueno@gnu.org>
2538
2539 * epa-file.el
2540 (epa-file-cache-passphrase-for-symmetric-encryption):
2541 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2542
2543 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2544
2545 * image.el (defimage):
2546 (image-load-path): Doc fixes.
2547
2548 2013-10-27 Alan Mackenzie <acm@muc.de>
2549
2550 Indent statements in macros following "##" correctly.
2551 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2552 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2553
2554 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2555
2556 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2557
2558 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2559
2560 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2561 after `=' is probably a new expression.
2562
2563 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2564
2565 * man.el (man-imenu-title): New option.
2566 (Man-mode-map): Add menu. (Bug#15722)
2567 (Man-mode): Add imenu to menu.
2568
2569 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2570
2571 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2572 specific in what the first arg can be: a non-keyword word,
2573 string/regexp/percent literal opener, opening paren, or unary
2574 operator followed directly by word.
2575
2576 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2579 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2580 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2581 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2582 Remove vars, they do not apply any more.
2583 (prolog-mode-abbrev-table): Remove redundant declaration.
2584 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2585 (prolog-use-smie): Remove.
2586 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2587 supported by prolog-electric-if-then-else-flag.
2588 (prolog-mode-variables, prolog-menu): Use setq-local.
2589 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2590 Remove binding to `Backspace' since this key doesn't exist anyway.
2591 Remove bindings for electric self-inserting keys.
2592 (prog-mode): Assume it's defined.
2593 (prolog-post-self-insert): New function.
2594 (prolog-mode): Use it.
2595 (prolog-indent-line, prolog-indent-level)
2596 (prolog-find-indent-of-matching-paren)
2597 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2598 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2599 (prolog-goto-next-paren, prolog-in-string-or-comment)
2600 (prolog-tokenize, prolog-inside-mline-comment)
2601 (prolog-find-start-of-mline-comment): Remove functions.
2602 (prolog-find-unmatched-paren, prolog-clause-end)
2603 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2604 (prolog-electric--if-then-else): Rename from
2605 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2606 (prolog-tokenize-searchkey): Remove const.
2607 (prolog-clause-info): Use forward-sexp.
2608 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2609 (prolog-electric-if-then-else): Remove commands.
2610 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2611 for use in post-self-insert-hook.
2612 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2613 for use in post-self-insert-hook.
2614 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2615 for use in post-self-insert-hook.
2616 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2617 adapt it for use in post-self-insert-hook.
2618
2619 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2620
2621 * emacs-lisp/ert.el (ert-run-tests-interactively):
2622 Use `completing-read'. (Bug#9756)
2623
2624 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2625
2626 * simple.el (line-move): Call line-move-1 instead of
2627 line-move-visual when the current window hscroll is zero, but
2628 temporary-goal-column indicates we will need to hscroll as result
2629 of the movement. (Bug#15712)
2630
2631 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2632
2633 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2634 capitalization. Use :visible instead of :active.
2635 Fix `ruby-indent-exp' reference. Add menu items for the generic
2636 commands that are used with SMIE.
2637 (ruby-do-end-to-brace): Insert space after `{'.
2638
2639 2013-10-25 John Anthony <john@jo.hnanthony.com>
2640
2641 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2642
2643 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2644
2645 2013-10-25 Glenn Morris <rgm@gnu.org>
2646
2647 * vc/vc.el (vc-print-log): Don't use a working revision unless
2648 one was explicitly specified. (Bug#15322)
2649
2650 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * subr.el (add-to-list): Preserve return value in compiler-macro
2653 (bug#15692).
2654
2655 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2656
2657 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2658 result. Ask user to retry using '-all' flag. (Bug#15701)
2659
2660 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * emacs-lisp/smie.el: New smie-config system.
2663 (smie-config): New defcustom.
2664 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2665 (smie-config-guess, smie-config-save): New commands.
2666 (smie-config--mode-local, smie-config--buffer-local)
2667 (smie-config--trace, smie-config--modefuns): New vars.
2668 (smie-config--advice, smie-config--mode-hook)
2669 (smie-config--setter, smie-config-local, smie-config--get-trace)
2670 (smie-config--guess-value, smie-config--guess): New functions.
2671 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2672 text properties. Treat "string fence" syntax like string syntax.
2673
2674 * progmodes/sh-script.el (sh-use-smie): Change default.
2675 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2676 (sh-var-value): Simplify by CSE.
2677 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2678 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2679 is used.
2680 (sh-guess-basic-offset): Use cl-incf.
2681 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2682
2683 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2684
2685 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2686 (bug#15699).
2687
2688 2013-10-24 Glenn Morris <rgm@gnu.org>
2689
2690 * Makefile.in (abs_top_srcdir): Remove.
2691 (update-subdirs): Use relative path to update-subdirs.
2692
2693 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2694
2695 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2696 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2697 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2698 Call unmsys--file-name before expand-file-name, not after it.
2699
2700 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2701
2702 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2703 (ert-test-skipped): New error.
2704 (ert-skip, ert-stats-skipped): New defuns.
2705 (ert--skip-unless): New macro.
2706 (ert-test-skipped): New struct.
2707 (ert--run-test-debugger, ert-test-result-type-p)
2708 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2709 (ert--stats-set-test-and-result, ert-char-for-test-result)
2710 (ert-string-for-test-result, ert-run-tests-batch)
2711 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2712 Handle skipped tests. (Bug#9803)
2713
2714 2013-10-24 Glenn Morris <rgm@gnu.org>
2715
2716 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2717
2718 * Makefile.in (abs_top_srcdir): New, set by configure.
2719 (update-subdirs): Correct build-aux location.
2720
2721 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2722
2723 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2724 value, whether we could auto-deduce `backend', or not.
2725
2726 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2727 with parameters" example. Simplify the "is it block or is it
2728 hash" check, but also make it more thorough.
2729
2730 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2731
2732 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2733
2734 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2737 { if it is hanging.
2738
2739 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2740 :before ";".
2741
2742 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2743
2744 * progmodes/compile.el (compilation-directory-matcher)
2745 (compilation-page-delimiter):
2746 Support GNU Make-4.0 directory quoting. (Bug#15678)
2747
2748 2013-10-23 Leo Liu <sdl.web@gmail.com>
2749
2750 * ido.el (ido-tidy): Handle read-only text.
2751
2752 2013-10-23 Glenn Morris <rgm@gnu.org>
2753
2754 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2755 (emacs, compile, compile-always):
2756 Quote entities that might contain whitespace.
2757 (custom-deps, finder-data, autoloads): Use abs_lisp.
2758 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2759 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2760 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2761
2762 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2763
2764 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2765 Use `following-char'.
2766
2767 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2770 * progmodes/ruby-mode.el (ruby-smie-rules):
2771 Remove corresponding workaround. Fix indentation rule of ";" so it
2772 also applies when ";" is the parent.
2773
2774 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2775
2776 * frame.el (display-screens, display-pixel-height)
2777 (display-pixel-width, display-mm-width, display-backing-store)
2778 (display-save-under, display-planes, display-color-cells)
2779 (display-visual-class, display-monitor-attributes-list):
2780 Mention the optional ‘display’ argument in doc strings.
2781
2782 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2783
2784 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2785 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2786
2787 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2788
2789 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2790 TODO. Add "." after " @ ".
2791 (ruby-smie--at-dot-call): New function. Checks if point at method
2792 call with explicit target.
2793 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2794 to the method name tokens when it precedes them.
2795 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2796 (ruby-smie-rules): Add rule for indentation before and after "."
2797 token.
2798
2799 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 * textmodes/remember.el (remember-diary-extract-entries):
2802 Avoid add-to-list.
2803
2804 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2805 an instruction.
2806
2807 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2808
2809 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2810 (ruby-smie--implicit-semi-p): Add new operator chars.
2811
2812 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2813 `smie-down-list'.
2814 (ruby-smie--args-separator-p): Check that there's no newline
2815 between method call and its arguments.
2816
2817 2013-10-20 Alan Mackenzie <acm@muc.de>
2818
2819 Allow comma separated lists after Java "implements".
2820
2821 * progmodes/cc-engine.el (c-backward-over-enum-header):
2822 Parse commas.
2823 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2824 from a "disallowed" list in enum fontification.
2825
2826 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2827
2828 * startup.el (default-frame-background-mode): Remove unused defvar.
2829
2830 * progmodes/verilog-mode.el (verilog-mode): Don't set
2831 comment-indent-function globally.
2832
2833 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2834
2835 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2836 Move Info menu item creation to ns-win.el.
2837
2838 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2839 in menu bar.
2840
2841 * menu-bar.el: Move GNUStep specific menus...
2842
2843 * term/ns-win.el (ns-initialize-window-system): ... to here.
2844
2845 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2846
2847 * simple.el (newline): Only run post-self-insert-hook when
2848 called interactively.
2849
2850 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2851
2852 * icomplete.el (icomplete-with-completion-tables): Add :version.
2853
2854 2013-10-19 Alan Mackenzie <acm@muc.de>
2855
2856 Fix fontification bugs with constructors and const.
2857
2858 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2859 CASE 2) Remove the check for the absence of a suffix construct
2860 after a function declaration with only types (no identifiers) in
2861 the parentheses. Also, accept a function declaration with just a
2862 type inside the parentheses, if this type can be positively
2863 recognised as such, or if a prefix keyword like "explicit" nails
2864 down the construct as a declaration.
2865
2866 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2867
2868 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2869 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2870 the problem whereby selecting a menu item that leads to a
2871 minibuffer prompt moves the cursor out of the minibuffer window,
2872 making it hard to type at the prompt. Suggested by Stefan Monnier
2873 <monnier@iro.umontreal.ca>.
2874
2875 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2876
2877 * menu-bar.el: Don't make Services menu.
2878
2879 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2880
2881 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2882 (ffap-alist): Use ffap-c++-mode for c++-mode.
2883 (ffap-c++-path): New variable.
2884 (ffap-c++-mode): New function.
2885
2886 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2887
2888 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2889
2890 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2891
2892 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2893 introduced on 2013-09-08, which results in an infinite loop
2894 requesting a password.
2895
2896 2013-10-18 Glenn Morris <rgm@gnu.org>
2897
2898 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2899
2900 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2901
2902 Sync with upstream verilog-mode revision 1a6ecec7.
2903 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2904 (verilog-mode-release-date): Remove.
2905 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2906 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2907 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2908 (verilog-auto-tieoff-ignore-regexp)
2909 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2910 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2911 (verilog-signals-with, verilog-dir-cache-preserving)
2912 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2913 Doc fixes.
2914 (verilog-case-fold): New option, to control case folding in
2915 regexp searches, bug597.
2916 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2917 (verilog-string-match-fold, verilog-in-paren-count)
2918 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2919 (verilog-at-close-struct-p): New functions.
2920 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2921 (verilog-forward-sexp, verilog-set-auto-endcomments):
2922 (verilog-leap-to-case-head): Handle "unique0" case.
2923 (verilog-in-constraint-re): New constant.
2924 (verilog-keywords, verilog-type-font-keywords):
2925 Add some SystemVerilog 1800-2012 keywords.
2926 (verilog-label-be): Remove unimplemented argument, bug669.
2927 (verilog-batch-execute-func): When batch expanding clear
2928 create-lockfiles to prevent spurious user locks when a file ends
2929 up not changing.
2930 (verilog-calculate-indent, verilog-calc-1)
2931 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2932 (verilog-do-indent): Fix indentation of nested constraints
2933 and structures.
2934 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2935 (verilog-auto-inst-param): Use verilog-string-match-fold.
2936 (verilog-read-inst-module-matcher):
2937 Fix AUTOINST on gate primitives with #1.
2938 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2939 Reads all user-defined typed variables.
2940 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2941 (verilog-signals-matching-regexp)
2942 (verilog-signals-not-matching-regexp, verilog-auto):
2943 Respect verilog-case-fold.
2944 (verilog-diff-report): Fix line count.
2945 (verilog-auto-assign-modport): Remove unused local `modi'.
2946 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2947 better handle multidimensional arrays.
2948 Fix packed array ports misadding bit index in AUTOINST, bug637.
2949 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2950 to not double-declare existing outputs and inputs, respectively.
2951 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2952 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2953 (verilog-sk-uvm-component): New skeleton.
2954 (verilog-submit-bug-report): Add verilog-case-fold,
2955 remove verilog-mode-release-date.
2956
2957 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2958
2959 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2960 as before.
2961
2962 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2963
2964 * textmodes/remember.el (remember): Set buffer-offer-save in
2965 remember buffers (bug#13566).
2966
2967 2013-10-18 Daniel Colascione <dancol@dancol.org>
2968
2969 When evaluating forms in ielm, direct standard output to ielm
2970 buffer. Add new ielm-return-for-effect command. Remove trailing
2971 whitespace throughout.
2972
2973 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2974 (ielm-return-for-effect): New command.
2975 (ielm-send-input): Accept optional `for-effect' parameter.
2976 (ielm-eval-input): Accept optional `for-effect' parameter.
2977 Bind `standard-output' to stream we create using
2978 `ielm-standard-output-impl'. Suppress printing result when
2979 `for-effect'.
2980 (ielm-standard-output-impl): New function.
2981 (inferior-emacs-lisp-mode): Explain new features in documentation.
2982
2983 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2984
2985 Code cleanup.
2986
2987 * net/tramp.el (tramp-debug-message): Do not check for connection
2988 buffer.
2989 (tramp-message): Use "vector" connection property.
2990
2991 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2992 (tramp-equal-remote, tramp-eshell-directory-change)
2993 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2994 (tramp-adb-handle-rename-file)
2995 * net/tramp-cmds.el (tramp-list-remote-buffers)
2996 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2997 * net/tramp-compat.el (tramp-compat-process-running-p)
2998 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2999 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3000 (tramp-gvfs-handle-rename-file)
3001 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3002 (tramp-set-file-uid-gid)
3003 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3004 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3005 of `file-remote-p'.
3006
3007 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3008 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3009 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3010 (tramp-gw-open-network-stream): Suppress unrelated traces.
3011
3012 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3013 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3014 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3015 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3016 connection property.
3017
3018 * net/tramp-cache.el (top): Suppress traces when reading
3019 persistency file.
3020
3021 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3022 Refactor common code. Improve debug message.
3023 (tramp-maybe-open-connection)
3024 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3025 connection buffer too early.
3026
3027 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3028 from `tramp-smb-actions-with-acl'.
3029 (tramp-smb-actions-set-acl): New defconst.
3030 (tramp-smb-handle-copy-directory)
3031 (tramp-smb-action-get-acl): New defun, renamed from
3032 `tramp-smb-action-with-acl'.
3033 (tramp-smb-action-set-acl): New defun.
3034 (tramp-smb-handle-set-file-acl): Rewrite.
3035
3036 2013-10-17 Glenn Morris <rgm@gnu.org>
3037
3038 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3039
3040 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * skeleton.el (skeleton-newline): Remove.
3043 (skeleton-internal-1): Use (insert "\n") instead.
3044
3045 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3046 let-bindings.
3047
3048 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3049 forward-sexp-function while we redo its job (bug#15613).
3050
3051 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3052
3053 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3054 represented by lists.
3055
3056 2013-10-16 Glenn Morris <rgm@gnu.org>
3057
3058 * tmm.el (tmm--history): New dynamic variable.
3059 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3060
3061 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3062
3063 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3064 (tramp-smb-errors): Add error messages.
3065 (tramp-smb-actions-with-acl): New defconst.
3066 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3067 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3068 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3069 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3070 (tramp-smb-get-stat-capability): Fix tests.
3071
3072 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3073
3074 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3075 (bug#15580).
3076
3077 2013-10-16 Glenn Morris <rgm@gnu.org>
3078
3079 * ansi-color.el (ansi-color-drop-regexp):
3080 Add 1J, 1K, 2K. (Bug#15617)
3081
3082 * files.el (hack-local-variables--warned-lexical): New.
3083 (hack-local-variables):
3084 Warn about misplaced lexical-binding. (Bug#15616)
3085
3086 * net/eww.el (eww-render): Always set eww-current-url,
3087 and update header line. (Bug#15622)
3088 (eww-display-html): ... Rather than just doing it here.
3089
3090 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3091
3092 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3093 menu navigations commands.
3094
3095 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3096
3097 * progmodes/subword.el (subword-capitalize): Be careful when
3098 the search for [[:alpha:]] fails (bug#15580).
3099
3100 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3101
3102 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3103 to commands that scroll the menu.
3104
3105 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3106
3107 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3108 Handle methods ending with `?' and `!'.
3109
3110 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3111
3112 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3113 `japanese-cp932' to `cp932' to fix the problem where saving a
3114 source file written in Shift_JIS twice would end up having
3115 `coding: japanese-cp932' which Ruby could not recognize.
3116 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3117 in `ruby-encoding-map'.
3118 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3119 doesn't need to be explicitly declared in magic comment.
3120 (ruby-encoding-map): Add type declaration for better customize UI.
3121
3122 2013-10-13 Glenn Morris <rgm@gnu.org>
3123
3124 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3125 Occur buffers are read-only. http://bugs.debian.org/720775
3126
3127 * emacs-lisp/authors.el (authors-fixed-entries):
3128 Comment out old alpha stuff.
3129
3130 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3131
3132 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3133 to `after-save-hook' instead of `before-save-hook'.
3134 (ruby-mode-set-encoding): Use the value of coding system used to
3135 write the file. Call `basic-save-buffer-1' after modifying the
3136 buffer.
3137
3138 2013-10-13 Alan Mackenzie <acm@muc.de>
3139
3140 Fix indentation/fontification of Java enum with
3141 "implements"/generic.
3142
3143 * progmodes/cc-engine.el (c-backward-over-enum-header):
3144 Extracted from the three other places and enhanced to handle generics.
3145 (c-inside-bracelist-p): Uses new function above.
3146 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3147 function above.
3148 (c-font-lock-enum-tail): Uses new function above.
3149
3150 2013-10-13 Kenichi Handa <handa@gnu.org>
3151
3152 * international/mule-cmds.el (select-safe-coding-system): Remove a
3153 superfluous condition in chekcing whether a coding system is safe
3154 or not.
3155
3156 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3157
3158 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3159
3160 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3161
3162 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3163
3164 2013-10-13 Glenn Morris <rgm@gnu.org>
3165
3166 * menu-bar.el (menu-bar-update-buffers):
3167 Unify Buffers menu prompt string. (Bug#15576)
3168
3169 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3170
3171 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3172 Add some entries.
3173 (authors-fixed-entries): Use accented form of name.
3174
3175 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3176
3177 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3178 method calls (bug#15594).
3179 (ruby-smie--args-separator-p): New function.
3180 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3181 recognize paren-free method calls.
3182
3183 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3184 internals of universal-argument.
3185
3186 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3187
3188 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3189 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3190 dropped menu on second mouse click on the menu bar.
3191
3192 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3193
3194 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3195 (explicit-shell-file-name): Declare.
3196 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3197 (sh-completion-at-point-function): New function.
3198 (sh-mode): Use it.
3199 (sh-smie--keyword-p): Remove unused argument.
3200 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3201 vars.
3202 (sh-set-shell): Always setup SMIE, even if we use the
3203 old indentation code.
3204
3205 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3206
3207 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3208 cases of ? and =.
3209 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3210 predicate would return nil are almost non-existent.
3211 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3212
3213 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3214 cache also after commands that modify the buffer but don't move
3215 point.
3216
3217 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * env.el (substitute-env-in-file-name): New function.
3220 (substitute-env-vars): Extend the meaning of the optional arg.
3221
3222 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3223
3224 * term/w32-win.el (dynamic-library-alist): Define separate lists
3225 of GIF DLLs for versions before and after 5.0.0 of giflib.
3226 (Bug#15531)
3227
3228 2013-10-10 João Távora <joaotavora@gmail.com>
3229
3230 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3231 not locked, use last revision and current source as
3232 defaults. (Bug#15569)
3233
3234 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3235
3236 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3237 menu-bar is hidden.
3238
3239 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3240
3241 * window.el (pop-to-buffer-same-window): Fix doc-string.
3242 (Bug#15492)
3243
3244 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3247
3248 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3249
3250 * calendar/icalendar.el (icalendar-import-file):
3251 Fix interactive spec. (Bug#15482)
3252
3253 2013-10-10 Glenn Morris <rgm@gnu.org>
3254
3255 * desktop.el (desktop-save): Default to saving in .emacs.d,
3256 since PWD is no longer in desktop-path by default. (Bug#15319)
3257
3258 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3259 now that text mode has a menu with the same entry.
3260 (menu-bar-text-mode-auto-fill): Remove now unused func.
3261 * textmodes/text-mode.el (text-mode-map):
3262 Use auto-fill help text from menu-bar.el.
3263
3264 2013-10-10 John Anthony <john@jo.hnanthony.com>
3265
3266 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3267
3268 2013-10-09 Juri Linkov <juri@jurta.org>
3269
3270 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3271 instead of this-command-keys. Add universal-argument-more and
3272 universal-argument-minus to the list of prefix commands. (Bug#15568)
3273
3274 2013-10-09 Glenn Morris <rgm@gnu.org>
3275
3276 * vc/vc-svn.el (vc-svn-create-repo):
3277 Expand paths in file://... url. (Bug#15446)
3278
3279 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3280 Add some entries.
3281 (authors): Remove unused local variables.
3282
3283 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * profiler.el: Create a more coherent calltree from partial backtraces.
3286 (profiler-format): Hide the tail with `invisible' so that C-s can still
3287 find the hidden elements.
3288 (profiler-calltree-depth): Don't recurse so enthusiastically.
3289 (profiler-function-equal): New hash-table-test.
3290 (profiler-calltree-build-unified): New function.
3291 (profiler-calltree-build): Use it.
3292 (profiler-report-make-name-part): Indent the calltree less.
3293 (profiler-report-mode): Add visibility specs for profiler-format.
3294 (profiler-report-expand-entry, profiler-report-toggle-entry):
3295 Expand the whole subtree when provided with a prefix arg.
3296
3297 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3298
3299 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3300 iuwu-mod token.
3301 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3302 hanging iuwu-mod token.
3303 (ruby-smie--forward-token): Do not include a dot after a token in
3304 that token.
3305 (ruby-smie--backward-token): Likewise.
3306
3307 2013-10-08 Juri Linkov <juri@jurta.org>
3308
3309 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3310 to isearch-other-control-char.
3311 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3312 and isearch-post-command-hook to post-command-hook.
3313 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3314 and isearch-post-command-hook from post-command-hook.
3315 (isearch-unread-key-sequence)
3316 (isearch-reread-key-sequence-naturally)
3317 (isearch-lookup-scroll-key, isearch-other-control-char)
3318 (isearch-other-meta-char): Remove functions.
3319 (isearch-pre-command-hook, isearch-post-command-hook):
3320 New functions based on isearch-other-meta-char rewritten
3321 relying on the new behavior of overriding-terminal-local-map
3322 that does not replace the local keymaps any more. (Bug#15200)
3323
3324 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3325
3326 Support menus on text-mode terminals.
3327 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3328 functionality.
3329
3330 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3331
3332 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3333 Move here from mouse.el.
3334 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3335 and arrow keys.
3336 (tty-menu-navigation-map): New map for TTY menu navigation.
3337
3338 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3339
3340 * frame.el (display-mouse-p): Report text-mode mouse as available
3341 on w32.
3342 (display-popup-menus-p): Report availability if mouse is
3343 available; don't condition on window-system.
3344
3345 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3346 (tty-menu-selected-face): New faces.
3347
3348 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3351 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3352 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3353 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3354 New constants.
3355 (lisp-mode-variables): New `elisp' argument.
3356 (emacs-lisp-mode): Use it.
3357 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3358 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3359
3360 * indent.el: Use lexical-binding.
3361 (indent-region): Add progress reporter.
3362 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3363 last step.
3364 (indent--next-tab-stop): New function to implement this behavior.
3365 (tab-to-tab-stop, move-to-tab-stop): Use it.
3366
3367 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3368
3369 * indent.el (indent-rigidly--current-indentation): New function.
3370 (indent-rigidly-map): New var.
3371 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3372
3373 2013-10-08 Bastien Guerry <bzg@gnu.org>
3374
3375 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3376
3377 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3378
3379 * progmodes/perl-mode.el: Use lexical-binding.
3380 Remove redundant :group args.
3381 (perl-nochange): Change default to be closer to other major modes's
3382 standard behavior.
3383 (perl-indent-line): Don't consider text on current line as a
3384 valid beginning of function from which to indent.
3385
3386 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3387 with more than one argument (bug#15538).
3388
3389 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3390
3391 * vc/pcvs.el: Use lexical-binding.
3392 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3393 environment of `eval'.
3394 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3395 than a list of expressions. Adjust callers.
3396 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3397
3398 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3399
3400 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3401 case of the dot in a chained method call being on the following line.
3402
3403 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * electric.el (electric-indent-inhibit): New var.
3406 (electric-indent-post-self-insert-function): Use it.
3407 * progmodes/python.el (python-mode): Set it.
3408
3409 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3410 open braces.
3411
3412 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3413
3414 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3415 (css-mode): Use electric-indent-chars.
3416
3417 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3418 (font-lock-beg, font-lock-end): Move before first use.
3419 (nxml-mode): Use syntax-propertize-function.
3420 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3421 (nxml-extend-after-change-region): Remove.
3422 * nxml/xmltok.el: Use lexical-binding.
3423 (xmltok-save): Use `declare'.
3424 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3425 * nxml/nxml-util.el: Use lexical-binding.
3426 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3427 Use `declare'.
3428 * nxml/nxml-ns.el: Use lexical-binding.
3429 (nxml-ns-save): Use `declare'.
3430 (nxml-ns-prefixes-for): Avoid add-to-list.
3431 * nxml/rng-match.el: Use lexical-binding.
3432 (rng--ipattern): Use cl-defstruct.
3433 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3434 (rng-cons-group-after, rng-subst-group-after)
3435 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3436 Use closures instead of `(lambda...).
3437
3438 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3439
3440 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3441 of BEG and END.
3442
3443 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3444 Use `tramp-handle-insert-file-contents'.
3445 (tramp-gvfs-handle-insert-file-contents): Remove function.
3446
3447 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3448 Use `save-restriction' in order to keep markers.
3449
3450 * net/trampver.el: Update release number.
3451
3452 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * progmodes/compile.el (compilation-parse-errors):
3455 Use compilation--put-prop.
3456 (compilation--ensure-parse): Check compilation-multiline.
3457
3458 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3459
3460 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3461 lexical-binding.
3462
3463 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3464
3465 * progmodes/ruby-mode.el: Fix recently added tests.
3466 (ruby-smie-grammar): Add - and +.
3467 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3468 (ruby-smie--backward-id): New functions.
3469 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3470 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3471 any more.
3472
3473 2013-10-07 Leo Liu <sdl.web@gmail.com>
3474
3475 * register.el (register-preview-delay)
3476 (register-preview-functions): New variables.
3477 (register-read-with-preview, register-preview)
3478 (register-describe-oneline): New functions.
3479 (point-to-register, window-configuration-to-register)
3480 (frame-configuration-to-register, jump-to-register)
3481 (number-to-register, view-register, insert-register)
3482 (copy-to-register, append-to-register, prepend-to-register)
3483 (copy-rectangle-to-register): Use register-read-with-preview to
3484 read register. (Bug#15525)
3485
3486 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3487
3488 * net/network-stream.el (network-stream-open-starttls): Don't add
3489 --insecure if it's already present, because that gnutls-cli
3490 rejects getting that parameter twice.
3491
3492 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3493
3494 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3495 keyword, too.
3496
3497 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3498
3499 * newcomment.el (comment-use-global-state): Change default value
3500 to t, mark obsolete (Bug#15251).
3501 (comment-beginning): In addition to `comment-to-syntax', check the
3502 value of `comment-use-global-state'.
3503
3504 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3507 (ruby-comment-column): Follow the global default, by default.
3508 (ruby-smie-grammar): Add assignment syntax.
3509 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3510 open-paren, a comma, or a \.
3511 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3512 and line continuations.
3513 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3514 followed by implicit semi-colons. Add rule for string concatenation
3515 and for indentation at BOB.
3516 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3517
3518 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3519 calling next-sexp, since next-token may have skipped chars which
3520 next-sexp doesn't know should be skipped!
3521
3522 2013-10-05 Leo Liu <sdl.web@gmail.com>
3523
3524 * progmodes/octave.el (octave-send-region):
3525 Call compilation-forget-errors.
3526
3527 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3528
3529 * vc/vc-svn.el (vc-svn-find-admin-dir):
3530 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3531 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3532 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3533 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3534
3535 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3538
3539 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * subr.el (read-passwd): Hide chars even when called within a context
3542 where after-change-functions is disabled (bug#15501).
3543 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3544 until we removed ourself from overriding-terminal-local-map.
3545
3546 2013-10-04 Leo Liu <sdl.web@gmail.com>
3547
3548 * progmodes/octave.el (inferior-octave-mode):
3549 Call compilation-forget-errors.
3550
3551 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3552
3553 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3554
3555 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3556
3557 * net/secrets.el (secrets-create-collection): Add optional
3558 argument ALIAS. Use proper Label keyword. Append ALIAS as
3559 dbus-call-method argument. (Bug#15516)
3560
3561 2013-10-04 Leo Liu <sdl.web@gmail.com>
3562
3563 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3564 (inferior-octave-compilation-font-lock-keywords): New variables.
3565 (compilation-error-regexp-alist)
3566 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3567 (inferior-octave-mode): Use compilation-shell-minor-mode.
3568
3569 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3570
3571 * minibuffer.el (completion--replace): Be careful that `end' might be
3572 a marker.
3573
3574 2013-10-03 Daiki Ueno <ueno@gnu.org>
3575
3576 Add support for package signature checking.
3577 * emacs-lisp/package.el (url-http-file-exists-p)
3578 (epg-make-context, epg-context-set-home-directory)
3579 (epg-verify-string, epg-context-result-for)
3580 (epg-signature-status, epg-signature-to-string)
3581 (epg-check-configuration, epg-configuration)
3582 (epg-import-keys-from-file): Declare.
3583 (package-check-signature): New user option.
3584 (package-unsigned-archives): New user option.
3585 (package-desc): Add `signed' field.
3586 (package-load-descriptor): Set `signed' field if .signed file exists.
3587 (package--archive-file-exists-p): New function.
3588 (package--check-signature): New function.
3589 (package-install-from-archive): Check package signature.
3590 (package--download-one-archive): Check archive signature.
3591 (package-delete): Remove .signed file.
3592 (package-import-keyring): New command.
3593 (package-refresh-contents): Import default keyring.
3594 (package-desc-status): Add "unsigned" status.
3595 (describe-package-1, package-menu--print-info)
3596 (package-menu-mark-delete, package-menu--find-upgrades)
3597 (package-menu--status-predicate): Support "unsigned" status.
3598
3599 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3600
3601 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3602 the new compilation scheme using the new byte-codes.
3603
3604 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3605 (byte-pophandler): New byte codes.
3606 (byte-goto-ops): Adjust accordingly.
3607 (byte-compile--use-old-handlers): New var.
3608 (byte-compile-catch): Use new byte codes depending on
3609 byte-compile--use-old-handlers.
3610 (byte-compile-condition-case--old): Rename from
3611 byte-compile-condition-case.
3612 (byte-compile-condition-case--new): New function.
3613 (byte-compile-condition-case): New function that dispatches depending
3614 on byte-compile--use-old-handlers.
3615 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3616 when we can.
3617
3618 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3619 Optimize under `condition-case' and `catch' if
3620 byte-compile--use-old-handlers is nil.
3621 (disassemble-offset): Handle new bytecodes.
3622
3623 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * subr.el (error): Use `declare'.
3626 (decode-char, encode-char): Use advertised-calling-convention instead
3627 of the docstring to discourage use of the `restriction' arg.
3628
3629 2013-10-03 Daiki Ueno <ueno@gnu.org>
3630
3631 * epg.el (epg-verify-file): Add a comment saying that it does not
3632 notify verification error as a return value nor a signal.
3633 (epg-verify-string): Ditto.
3634
3635 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3636
3637 * progmodes/compile.el (compilation-start): Try globbing the arg to
3638 `cd' (bug#15417).
3639
3640 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3641
3642 Sync with Tramp 2.2.8.
3643
3644 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3645 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3646 * net/trampver.el: Update release number.
3647
3648 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3649
3650 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3651 and default-process-coding-system for darwin only.
3652
3653 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3656
3657 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3658
3659 * vc/vc-git.el (vc-git-grep): Disable pager.
3660
3661 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3662
3663 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3664 Use :url instead of :homepage, as per
3665 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3666
3667 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3668 non-nil, use `syntax-ppss' (Bug#15251).
3669
3670 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3671
3672 * progmodes/octave.el (inferior-octave-startup-file):
3673 Prefer ~/.emacs.d/init_octave.m.
3674
3675 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3676
3677 * emacs-lisp/package.el (package-desc-from-define):
3678 Accept additional arguments as plist, convert them to an alist and store
3679 them in the `extras' slot.
3680 (package-generate-description-file): Convert extras alist back to
3681 plist and append to the `define-package' form arguments.
3682 (package--alist-to-plist): New function.
3683 (package--ac-desc): Add `extras' slot.
3684 (package--add-to-archive-contents): Check if the archive-contents
3685 vector is long enough, and if it is, pass its `extras' slot value
3686 to `package-desc-create'.
3687 (package-buffer-info): Call `lm-homepage', pass the returned value
3688 to `package-desc-from-define'.
3689 (describe-package-1): Render the homepage button (Bug#13291).
3690
3691 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3692 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3693
3694 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3695
3696 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3697 and default-process-coding-system to utf-8-unix (Bug#15402).
3698
3699 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3700
3701 * subr.el (looking-back): Do not recommend using looking-back.
3702
3703 2013-09-28 Alan Mackenzie <acm@muc.de>
3704
3705 Fix indentation/fontification of Java enum with "implements".
3706
3707 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3708 regexp which matches "implements", etc., in Java.
3709 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3710 specifier clauses coming after "enum".
3711 * progmodes/cc-fonts.el (c-font-lock-declarations)
3712 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3713 after "enum".
3714
3715 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3716
3717 * faces.el (region): Change ns_selection_color to
3718 ns_selection_fg_color, add ns_selection_bg_color.
3719
3720 2013-09-28 Leo Liu <sdl.web@gmail.com>
3721
3722 * progmodes/octave.el (inferior-octave-completion-table)
3723 (inferior-octave-completion-at-point): Minor tweaks.
3724
3725 * textmodes/ispell.el (ispell-lookup-words): Rename from
3726 lookup-words. (Bug#15460)
3727 (lookup-words): Obsolete.
3728 (ispell-complete-word, ispell-command-loop): All uses changed.
3729
3730 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3731
3732 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3733 (octave-mode-menu): Add octave-send-buffer.
3734 (octave-send-buffer): New function.
3735
3736 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3737
3738 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3739 octave-lookfor.
3740 (octave-mode-menu): Add octave-lookfor.
3741 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3742 octave-lookfor.
3743 (octave-lookfor): New function.
3744
3745 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * emacs-lisp/cl-macs.el:
3748 (cl--loop-destr-temps): Remove.
3749 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3750 its convention.
3751 (cl--loop-set-iterator-function): New function.
3752 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3753 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3754 Bind `it' with `let' instead of substituting it with `cl-subst'.
3755 (cl--unused-var-p): New function.
3756 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3757 Eliminate some unused variable warnings (bug#15326).
3758
3759 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3760
3761 * doc-view.el (doc-view-scale-reset): Rename from
3762 `doc-view-reset-zoom-level'.
3763 (doc-view-scale-adjust): New command.
3764 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3765 `doc-view-scale-adjust'.
3766
3767 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3768
3769 * doc-view.el (doc-view-reset-zoom-level): New command.
3770 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3771 zoom commands (bug#15466).
3772
3773 2013-09-26 Kenichi Handa <handa@gnu.org>
3774
3775 * international/quail.el (quail-help): Make it not a command.
3776
3777 2013-09-26 Leo Liu <sdl.web@gmail.com>
3778
3779 * minibuffer.el (completion-all-sorted-completions): Make args
3780 optional as they are.
3781
3782 2013-09-25 Daniel Colascione <dancol@dancol.org>
3783
3784 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3785 specs are and that they're not evaluated.
3786
3787 2013-09-24 Sam Steingold <sds@gnu.org>
3788
3789 * midnight.el (clean-buffer-list-kill-regexps)
3790 (clean-buffer-list-kill-buffer-names): Update for the new Man
3791 buffer naming which includes the object name.
3792
3793 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3796 (eshell-parse-command, eshell-parse-pipeline): Use it since
3797 eshell-separate-commands requires a dynamic scoped var.
3798 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3799
3800 2013-09-23 Leo Liu <sdl.web@gmail.com>
3801
3802 * autoinsert.el (auto-insert-alist): Make the value of
3803 lexical-binding match its file setting.
3804
3805 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3806
3807 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3808
3809 * autoarg.el (autoarg-kp-digit-argument):
3810 * electric.el (Electric-command-loop):
3811 * kmacro.el (kmacro-step-edit-insert):
3812 Do not set universal-argument-num-events.
3813
3814 2013-09-22 Leo Liu <sdl.web@gmail.com>
3815
3816 * files.el (interpreter-mode-alist): Add octave.
3817
3818 2013-09-21 Alan Mackenzie <acm@muc.de>
3819
3820 C++: fontify identifier in declaration following "public:" correctly.
3821 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3822 to match "public", etc.
3823 (c-decl-prefix-re): Add ":" into the C++ value.
3824 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3825 bit. Add a check for a ":" preceded by "public", etc.
3826
3827 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3828
3829 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3830 recognized by GDB 7.5 and later.
3831
3832 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3833
3834 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3835
3836 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 * subr.el (internal--call-interactively): New const.
3839 (called-interactively-p): Use it (bug#3984).
3840
3841 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3842
3843 * vc/pcvs.el (cvs-mode-ignore):
3844 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3845 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3846
3847 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3850 (eshell-ls-orig-insert-directory): Remove.
3851 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3852 (eshell-ls-use-in-dired): Use advice-add/remove.
3853 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3854 Add `orig-fun' arg for use in :around advice.
3855 Make it check (redundantly) eshell-ls-use-in-dired.
3856
3857 2013-09-19 Glenn Morris <rgm@gnu.org>
3858
3859 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3860
3861 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3862
3863 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3864
3865 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3866
3867 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3868 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3869 (tramp-get-remote-python): New defuns.
3870 (tramp-get-remote-uid-with-perl)
3871 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3872 contributed by yary <not.com@gmail.com> (tiny change).
3873 (tramp-get-remote-uid-with-python)
3874 (tramp-get-remote-gid-with-python): New defuns. Python code
3875 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3876 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3877
3878 2013-09-19 Glenn Morris <rgm@gnu.org>
3879
3880 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3881
3882 * eshell/em-unix.el (eshell-remove-entries):
3883 Rename argument to avoid name-clash with global `top-level'.
3884
3885 * eshell/esh-proc.el (eshell-kill-process-function):
3886 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3887 (eshell-reset-after-proc): Remove unused arg `proc'.
3888
3889 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3890 (directory-files-and-attributes): Mark unused arg.
3891
3892 * eshell/em-unix.el (eshell-remove-entries):
3893 Remove unused arg `path'. Update callers.
3894
3895 * eshell/em-hist.el (eshell-hist-parse-arguments):
3896 Remove unused arg `silent'. Update callers.
3897
3898 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3899 Fix (f)boundp mix-up.
3900
3901 * eshell/em-smart.el (eshell-smart-scroll-window)
3902 (eshell-disable-after-change):
3903 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3904
3905 2013-09-18 Alan Mackenzie <acm@muc.de>
3906
3907 Fix fontification of type when followed by "const".
3908 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3909 "known" types from fontification.
3910
3911 2013-09-18 Glenn Morris <rgm@gnu.org>
3912
3913 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3914 (chart-face-list): Drop Emacsen without display-color-p.
3915
3916 * net/eww.el (libxml-parse-html-region): Declare.
3917 (eww-display-html): Explicit error if no libxml2 support.
3918
3919 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3920
3921 * image.el (image-type-from-buffer, image-multi-frame-p):
3922 Remove --without-x warning/error.
3923
3924 * mouse.el (mouse-yank-primary):
3925 * term.el (term-mouse-paste):
3926 Reorder to silence --without-x compilation.
3927
3928 * mpc.el (doc-view-mode): Silence --without-x compilation.
3929
3930 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3931 Silence --without-x compilation.
3932
3933 * progmodes/gud.el (gud-find-file, gud-mode):
3934 Silence --without-x compilation.
3935 (tooltip-mode): Declare.
3936
3937 * wdired.el (dired-backup-overwrite): Remove declaration.
3938 (wdired-mode-map): Add doc string.
3939
3940 * custom.el (x-get-resource): Declare.
3941
3942 * eshell/em-glob.el (ange-cache):
3943 * eshell/em-unix.el (ange-cache): Declare.
3944
3945 * faces.el (x-display-list, x-open-connection, x-get-resource):
3946 Declare.
3947
3948 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3949 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3950 Declare.
3951
3952 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3953
3954 * net/gnutls.el (gnutls-log-level): Declare.
3955
3956 * net/shr.el (image-size, image-animate): Declare.
3957
3958 * simple.el (font-info): Declare.
3959
3960 * subr.el (x-popup-dialog): Declare.
3961
3962 * term/common-win.el (x-select-enable-primary)
3963 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3964 Declare.
3965
3966 * term/ns-win.el (x-handle-args): Declare.
3967
3968 * term/x-win.el (x-select-enable-clipboard): Declare.
3969
3970 * term/w32-win.el (create-default-fontset): Declare.
3971
3972 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3973 Declare.
3974
3975 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3976 (fit-frame-to-buffer): Explicit error if --without-x.
3977 (mouse-autoselect-window-select): Silence compiler.
3978
3979 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3980
3981 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3982 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3983 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3984 * eshell/esh-util.el (eshell-sublist):
3985 Remove unused local variables.
3986
3987 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3988
3989 * textmodes/two-column.el: Make 2C-split work for --without-x.
3990 (scroll-bar-columns): Autoload.
3991 (top-level): Require fringe when compiling.
3992
3993 2013-09-18 Leo Liu <sdl.web@gmail.com>
3994
3995 * subr.el (add-hook): Robustify to handle closure as well.
3996
3997 2013-09-17 Glenn Morris <rgm@gnu.org>
3998
3999 * simple.el (messages-buffer-mode-map): Unbind "g".
4000
4001 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 * help-mode.el (help-mode-finish): Use derived-mode-p.
4004 Remove obsolete highlighting.
4005
4006 * play/life.el (life-mode): Use define-derived-mode. Derive from
4007 special-mode.
4008 (life): Let-bind inhibit-read-only.
4009 (life-setup): Avoid `setq'. Use `life-mode'.
4010
4011 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4012 which should not be needed any more.
4013 (package-menu-refresh, package-menu-describe-package): Use user-error.
4014
4015 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4016 (eshell-post-rewrite-command-hook): Make obsolete.
4017 (eshell-parse-command): Simplify.
4018 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4019 (eshell--cmd): Declare.
4020 (eshell-parse-pipeline): Remove unused var `final-p'.
4021 Pass a dynvar to eshell-post-rewrite-command-hook.
4022 Implement the new eshell-post-rewrite-command-function.
4023 (eshell-invoke-directly): Remove unused arg `input'.
4024 * eshell/esh-io.el (eshell-io-initialize):
4025 Use eshell-post-rewrite-command-function (bug#15399).
4026 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4027 adjust to new calling convention.
4028 (eshell-create-handles): Rename args to avoid clashing with dynvar
4029 `standard-output'.
4030
4031 2013-09-17 Glenn Morris <rgm@gnu.org>
4032
4033 * simple.el (messages-buffer-mode): New major mode.
4034 (messages-buffer): New function.
4035 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4036 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4037 (ert-run-test): Use `messages-buffer' function.
4038 (ert--force-message-log-buffer-truncation): Ignore read-only.
4039 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4040 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4041
4042 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4043
4044 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4045
4046 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4047
4048 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * icomplete.el (icomplete-in-buffer): New var.
4051 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4052 vars and replace them with functions.
4053 (icomplete-minibuffer-setup): Adjust accordingly.
4054 (icomplete--completion-table, icomplete--completion-predicate)
4055 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4056 New functions.
4057 (icomplete-forward-completions, icomplete-backward-completions)
4058 (icomplete-simple-completing-p, icomplete-exhibit)
4059 (icomplete-completions): Use them.
4060 (icomplete--in-region-buffer): New var.
4061 (icomplete--in-region-setup): New function.
4062 (icomplete-mode): Use it.
4063
4064 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4065 (bug#15379).
4066 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4067 return args and options.
4068 (eshell-eval-using-options): Use the new return value of
4069 eshell--do-opts to set the options's vars in their scope.
4070 (eshell--set-option): Rename from eshell-set-option.
4071 Add arg `opt-vals'.
4072 (eshell--process-option): Rename from eshell-process-option.
4073 Add arg `opt-vals'.
4074 (eshell--process-args): Use an `opt-vals' alist to store the options's
4075 values during their processing and return them additionally to the
4076 remaining args.
4077
4078 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4079
4080 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4081 continuation character an operator, as far as indentation is
4082 concerned (Bug#15369).
4083
4084 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4085
4086 * window.el (window--state-put-2): Don't process buffer state
4087 when buffer doesn't exist any more (Bug#15382).
4088
4089 2013-09-15 Glenn Morris <rgm@gnu.org>
4090
4091 * eshell/em-unix.el (eshell/rm):
4092 Make -f ignore missing files. (Bug#15373)
4093
4094 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4095 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4096 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4097
4098 2013-09-14 Glenn Morris <rgm@gnu.org>
4099
4100 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4101
4102 2013-09-13 Glenn Morris <rgm@gnu.org>
4103
4104 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4105 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4106
4107 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4108
4109 * frame.el (x-focus-frame): Mark as declared in frame.c.
4110
4111 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * ls-lisp.el: Use advice-add.
4114 (original-insert-directory): Remove.
4115 (ls-lisp--insert-directory): Rename from insert-directory; add
4116 `orig-fun' argument.
4117 (insert-directory): Advise.
4118
4119 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4120
4121 * term.el (term-emulate-terminal): Decode the command string
4122 before passing it to term-command-hook. (Bug#15337)
4123
4124 2013-09-13 Glenn Morris <rgm@gnu.org>
4125
4126 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4127
4128 * eshell/esh-ext.el (eshell-search-path): Declare.
4129
4130 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4131 Otherwise an error occurs if eshell-dirs module not loaded.
4132
4133 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4134
4135 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4136
4137 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4138 `tramp-check-proper-host'. Check for a valid method name.
4139
4140 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4141 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4142 * net/tramp-sh.el (tramp-maybe-open-connection):
4143 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4144
4145 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4146 also for hash values.
4147
4148 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * term/ns-win.el (parameters): Don't declare as dynamic.
4151 (before-make-frame-hook): Don't add ineffective function.
4152
4153 * eshell/*.el: Use lexical-binding (bug#15231).
4154
4155 2013-09-12 Kenichi Handa <handa@gnu.org>
4156
4157 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4158
4159 2013-09-12 Glenn Morris <rgm@gnu.org>
4160
4161 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4162 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4163
4164 * subr.el (do-after-load-evaluation): Also give compiler warnings
4165 when obsolete files are used (except by obsolete files).
4166
4167 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4168 in the status output, assume `filename' is the first. (Bug#15322)
4169
4170 * vc/vc.el (vc-deduce-fileset): Doc fix.
4171
4172 * calc/calc-help.el (Info-goto-node):
4173 * progmodes/cperl-mode.el (Info-find-node):
4174 * vc/ediff.el (Info-goto-node): Update declarations.
4175
4176 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4177
4178 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4179 (vc-bzr-pull): Require vc-dispatcher.
4180 * vc/vc-git.el (vc-compilation-mode): Declare.
4181 (vc-git-pull): Require vc-dispatcher.
4182
4183 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4184
4185 * progmodes/octave.el (help-button-action): Declare.
4186
4187 * shell.el (shell-directory-tracker): Output error as a message
4188 rather than just returning it as a string.
4189 (shell-process-pushd): Remove useless use of message.
4190
4191 * dframe.el (dframe-timer-fn):
4192 * files.el (dir-locals-read-from-file):
4193 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4194 (mpc-format):
4195 * reveal.el (reveal-post-command):
4196 * saveplace.el (load-save-place-alist-from-file):
4197 * shell.el (shell-resync-dirs):
4198 * w32-common-fns.el (x-get-selection-value):
4199 * emacs-lisp/copyright.el (copyright-find-copyright):
4200 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4201 * emulation/tpu-edt.el (tpu-copy-keyfile):
4202 * play/bubbles.el (bubbles--mark-neighbourhood):
4203 * progmodes/executable.el
4204 (executable-make-buffer-file-executable-if-script-p):
4205 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4206
4207 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4208
4209 Cleanup Eshell to rely less on dynamic scoping.
4210 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4211 last-value, and ext-command here. Bind `args' closer to `body'.
4212 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4213 (eshell--args): Declare new dynamic var.
4214 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4215 last-value, and ext-command. Pass `args' to `body'.
4216 (eshell-process-args): Bind eshell--args.
4217 (eshell-set-option): Use eshell--args.
4218 * eshell/eshell.el (eshell): Use derived-mode-p.
4219 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4220 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4221 (eshell-glob-function): Declare.
4222 * eshell/esh-util.el: Require cl-lib.
4223 (eshell-read-hosts-file): Avoid add-to-list.
4224 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4225 `err'.
4226 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4227 Declare.
4228 (eshell/diff): Remove unused var `err'.
4229 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4230 `killflag'.
4231 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4232 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4233 first use.
4234 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4235 Move declaration before first use.
4236 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4237 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4238 rely on cl-return.
4239
4240 2013-09-12 Glenn Morris <rgm@gnu.org>
4241
4242 * term/ns-win.el (global-map): Remove binding for ispell-next,
4243 deleted 1999-05-29. (Bug#15357)
4244
4245 2013-09-11 Glenn Morris <rgm@gnu.org>
4246
4247 * echistory.el (electric-command-history): Remove call to deleted func.
4248
4249 * play/landmark.el (landmark-mode): Fix typos.
4250
4251 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4252 Check cvs-sort-ignore-file is bound.
4253
4254 * savehist.el: No need for cl when compiling on Emacs.
4255
4256 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4259 (bug#15338).
4260 (eshell-self-insert-command, eshell-send-invisible):
4261 Remove unused argument.
4262 (eshell-handle-control-codes): Remove unused var `orig'.
4263 Avoid delete-backward-char.
4264
4265 * files.el (set-auto-mode): Simplify a bit further.
4266
4267 2013-09-11 Glenn Morris <rgm@gnu.org>
4268
4269 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4270 (set-auto-mode): Don't regexp-quote elements.
4271 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4272 * progmodes/cc-mode.el (interpreter-mode-alist):
4273 * progmodes/ruby-mode.el (interpreter-mode-alist):
4274 Revert previous change.
4275
4276 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * play/snake.el (snake-mode):
4279 * play/mpuz.el (mpuz-mode):
4280 * play/landmark.el (lm-mode):
4281 * play/blackbox.el (blackbox-mode):
4282 * play/5x5.el (5x5-mode):
4283 * obsolete/options.el (Edit-options-mode):
4284 * net/quickurl.el (quickurl-list-mode):
4285 * net/newst-treeview.el (newsticker-treeview-mode):
4286 * mail/rmailsum.el (rmail-summary-mode):
4287 * mail/mspools.el (mspools-mode):
4288 * locate.el (locate-mode):
4289 * ibuffer.el (ibuffer-mode):
4290 * emulation/ws-mode.el (wordstar-mode):
4291 * emacs-lisp/debug.el (debugger-mode):
4292 * array.el (array-mode):
4293 * net/eudc.el (eudc-mode): Use define-derived-mode.
4294 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4295 Move initialization into declaration.
4296 (mairix-searches-mode): Use define-derived-mode.
4297 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4298 (eudc-edit-hotlist): Use dolist.
4299 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4300 (Man-mode): Use define-derived-mode.
4301 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4302 (Info-edit-mode): Use define-derived-mode.
4303 (Info-cease-edit): Use Info-mode.
4304 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4305 into declaration.
4306 (eshell-mode): Use define-derived-mode.
4307 * chistory.el (command-history-mode-map): Rename from
4308 command-history-map.
4309 (command-history-mode): Use define-derived-mode.
4310 (Command-history-setup): Remove function.
4311 * calc/calc.el (calc-trail-mode-map): New var.
4312 (calc-trail-mode): Use define-derived-mode.
4313 (calc-trail-buffer): Set calc-main-buffer manually.
4314 * bookmark.el (bookmark-insert-annotation): New function.
4315 (bookmark-edit-annotation): Use it.
4316 (bookmark-edit-annotation-mode): Make it a proper major mode.
4317 (bookmark-send-edited-annotation): Use derived-mode-p.
4318 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4319 closer to its ideal place. Use \' to match EOS.
4320
4321 * profiler.el (profiler-calltree-find): Use function-equal.
4322
4323 2013-09-10 Glenn Morris <rgm@gnu.org>
4324
4325 * files.el (interpreter-mode-alist): Convert to regexps.
4326 (set-auto-mode): Adapt for this. (Bug#15306)
4327 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4328 Comment out unused variable.
4329 * progmodes/cc-mode.el (interpreter-mode-alist):
4330 * progmodes/python.el (interpreter-mode-alist):
4331 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4332 * progmodes/sh-script.el (sh-set-shell):
4333 No longer use interpreter-mode-alist to get list of shells.
4334
4335 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4336
4337 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * simple.el: Use set-temporary-overlay-map for universal-argument.
4340 (universal-argument-map): Don't use default-bindings (bug#15317).
4341 Bind switch-frame explicitly. Replace universal-argument-minus with
4342 a conditional binding.
4343 (universal-argument-num-events, saved-overriding-map): Remove.
4344 (restore-overriding-map): Remove.
4345 (universal-argument--mode): Rename from save&set-overriding-map,
4346 and rewrite.
4347 (universal-argument, universal-argument-more, negative-argument)
4348 (digit-argument): Adjust accordingly.
4349 (universal-argument-minus): Remove.
4350 (universal-argument-other-key): Remove.
4351
4352 * subr.el (with-demoted-errors): Add `format' argument.
4353
4354 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4355
4356 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4357 `tramp-cleanup-connection'.
4358
4359 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4360 parameters KEEP-DEBUG and KEEP-PASSWORD.
4361
4362 * net/tramp.el (tramp-file-name-handler):
4363 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4364 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4365 (tramp-maybe-open-connection):
4366 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4367 Use `tramp-cleanup-connection'.
4368
4369 * net/tramp-sh.el (tramp-maybe-open-connection):
4370 Catch 'uname-changed inside the progress reporter.
4371
4372 2013-09-10 Glenn Morris <rgm@gnu.org>
4373
4374 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4375
4376 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4377 returns "alternate access method" in mode (eg "-rw-r--r--.").
4378
4379 2013-09-08 Glenn Morris <rgm@gnu.org>
4380
4381 * saveplace.el (load-save-place-alist-from-file):
4382 Demote errors. (Bug#15305)
4383
4384 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4385
4386 Improve compatibility with older Emacsen, and XEmacs.
4387
4388 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4389 only if it is bound. It isn't for XEmacs.
4390 (with-tramp-progress-reporter): Do not let-bind `result'.
4391 This yields to scoping errors in XEmacs.
4392 (tramp-handle-make-auto-save-file-name): New function, moved from
4393 tramp-sh.el.
4394
4395 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4396 for `make-auto-save-file-name'.
4397 (tramp-adb--gnu-switches-to-ash):
4398 Use `tramp-compat-replace-regexp-in-string'.
4399
4400 * net/tramp-cache.el (tramp-cache-print): Call
4401 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4402
4403 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4404 bound. It isn't for XEmacs.
4405
4406 * net/tramp-compat.el (tramp-compat-copy-file):
4407 Catch `wrong-number-of-arguments' error.
4408 (tramp-compat-replace-regexp-in-string): New defun.
4409
4410 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4411 for `make-auto-save-file-name'.
4412 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4413 `copy-file'.
4414 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4415 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4416 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4417
4418 * net/tramp-gw.el (tramp-gw-open-network-stream):
4419 Use `tramp-compat-replace-regexp-in-string'.
4420
4421 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4422 Call `tramp-handle-make-auto-save-file-name'.
4423 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4424 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4425 (tramp-sh-file-inotifywait-process-filter):
4426 Use `tramp-compat-replace-regexp-in-string'.
4427 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4428
4429 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4430 for `make-auto-save-file-name'.
4431 (tramp-smb-handle-copy-directory):
4432 Call `tramp-compat-replace-regexp-in-string'.
4433 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4434 (tramp-smb-handle-copy-file): Improve error message.
4435 (tramp-smb-handle-rename-file): Rename directly only in case
4436 `newname' does not exist yet. This is a restriction of smbclient.
4437 (tramp-smb-maybe-open-connection): Rerun the function only when
4438 `auth-sources' is non-nil.
4439
4440 2013-09-08 Kenichi Handa <handa@gnu.org>
4441
4442 * international/characters.el: Set category "^" (Combining) for
4443 more characters.
4444
4445 2013-09-07 Alan Mackenzie <acm@muc.de>
4446
4447 Correctly fontify Java class constructors.
4448 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4449 in Java Mode.
4450 (c-recognize-typeless-decls): Set the Java value to t.
4451 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4452 While handling a "(", add a check for, effectively, Java, and handle a
4453 "typeless" declaration there.
4454
4455 2013-09-07 Roland Winkler <winkler@gnu.org>
4456
4457 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4458 field subtitle for entry type book.
4459
4460 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4461
4462 * minibuffer.el: Make minibuffer-complete call completion-in-region
4463 rather than other way around.
4464 (completion--some, completion-pcm--find-all-completions):
4465 Don't delay signals when debugging.
4466 (minibuffer-completion-contents): Beware fields within the
4467 minibuffer contents.
4468 (completion-all-sorted-completions): Use defvar-local.
4469 (completion--do-completion, completion--cache-all-sorted-completions)
4470 (completion-all-sorted-completions, minibuffer-force-complete):
4471 Add args `beg' and `end'.
4472 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4473 (minibuffer-complete): Use completion-in-region.
4474 (completion-complete-and-exit): New fun, extracted from
4475 minibuffer-complete-and-exit.
4476 (minibuffer-complete-and-exit): Use it.
4477 (completion--complete-and-exit): Rename from
4478 minibuffer--complete-and-exit.
4479 (completion-in-region--single-word): New function, extracted from
4480 minibuffer-complete-word.
4481 (minibuffer-complete-word): Use it.
4482 (display-completion-list): Make `common-substring' argument obsolete.
4483 (completion--in-region): Call completion--in-region-1 instead of
4484 minibuffer-complete.
4485 (completion-help-at-point): Pass boundaries to
4486 minibuffer-completion-help as args rather than via an overlay.
4487 (completion-pcm--string->pattern): Use `any-delim'.
4488 (completion-pcm--optimize-pattern): New function.
4489 (completion-pcm--pattern->regex): Handle `any-delim'.
4490 * icomplete.el (icomplete-forward-completions)
4491 (icomplete-backward-completions, icomplete-completions):
4492 Adjust calls to completion-all-sorted-completions and
4493 completion--cache-all-sorted-completions.
4494 (icomplete-with-completion-tables): Default to t.
4495 * emacs-lisp/crm.el (crm--current-element): Rename from
4496 crm--select-current-element. Don't put an overlay but return the
4497 boundaries instead.
4498 (crm--completion-command): Take two new args to bind to the boundaries.
4499 (crm-completion-help): Adjust accordingly.
4500 (crm-complete): Use completion-in-region.
4501 (crm-complete-word): Use completion-in-region--single-word.
4502 (crm-complete-and-exit): Use completion-complete-and-exit.
4503
4504 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4507 than dynamically.
4508
4509 2013-09-06 Juri Linkov <juri@jurta.org>
4510
4511 * info.el (Info-display-images-node): When image file doesn't exist
4512 display text version of the image if it's provided in the Info file.
4513 Otherwise, display the location of missing image from SRC attribute.
4514 Add help-echo text property from ALT attribute. (Bug#15279)
4515
4516 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4517
4518 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4519 (edit-abbrevs-mode): Use define-derived-mode.
4520
4521 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4522 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4523 that it's defined.
4524 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4525 Use define-derived-mode.
4526
4527 * epg.el (epg-start-encrypt): Minor CSE simplification.
4528
4529 2013-09-06 William Xu <william.xwl@gmail.com>
4530
4531 * arc-mode.el: Add support for 7za (bug#15264).
4532 (archive-7z-program): New var.
4533 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4534 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4535 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4536
4537 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4538
4539 Remove URL syntax.
4540
4541 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4542 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4543 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4544 (tramp-postfix-host-format, tramp-file-name-regexp)
4545 (tramp-completion-file-name-regexp)
4546 (tramp-completion-dissect-file-name)
4547 (tramp-handle-substitute-in-file-name): Remove 'url case.
4548 (tramp-file-name-regexp-url)
4549 (tramp-completion-file-name-regexp-url): Remove constants.
4550
4551 2013-09-06 Glenn Morris <rgm@gnu.org>
4552
4553 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4554
4555 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4556
4557 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4558 keywords" below "here-doc beginnings" (Bug#15270).
4559
4560 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * subr.el (pop): Use `car-safe'.
4563 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4564 to detect unused `pop' return value.
4565
4566 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4567 var `block-regexp'.
4568 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4569 (python-fill-string): Remove unused var `marker'.
4570 (python-skeleton-add-menu-items): Remove unused var `items'.
4571
4572 * international/mule-cmds.el: Require CL.
4573 (find-coding-systems-for-charsets): Avoid add-to-list.
4574 (sanitize-coding-system-list): New function, extracted from
4575 select-safe-coding-system-interactively.
4576 (select-safe-coding-system-interactively): Use it.
4577 (read-input-method-name): Accept symbols for `default'.
4578
4579 * emacs-lisp/advice.el (defadvice): Add indent rule.
4580
4581 2013-09-05 Daniel Hackney <dan@haxney.org>
4582
4583 * dired-x.el:
4584 * net/ange-ftp.el:
4585 * net/browse-url.el:
4586 * net/dbus.el:
4587 * net/eudc.el:
4588 * net/eudcb-ldap.el:
4589 * net/eww.el:
4590 * net/imap.el:
4591 * printing.el:
4592 * vc/ediff-diff.el:
4593 * vc/ediff-init.el:
4594 * vc/ediff-merg.el:
4595 * vc/ediff-mult.el:
4596 * vc/ediff-util.el:
4597 * vc/ediff-wind.el:
4598 * vc/ediff.el:
4599 * vc/emerge.el:
4600 * vc/pcvs.el:
4601 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4602 byte compiler. Remove some unused let-bound variables.
4603
4604 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4605
4606 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4607 a "ref-cell", since it gets better optimized (bug#14883).
4608
4609 2013-09-05 Glenn Morris <rgm@gnu.org>
4610
4611 * progmodes/cc-awk.el (c-forward-sws): Declare.
4612
4613 2013-09-04 Glenn Morris <rgm@gnu.org>
4614
4615 * generic-x.el [rul-generic-mode]: Require cc-mode.
4616 (c++-mode-syntax-table): Declare.
4617 (rul-generic-mode-syntax-table): Init in the defvar.
4618
4619 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4620
4621 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4622 (vc-do-command, vc-set-async-update):
4623 * vc/vc-mtn.el (vc-mtn-dir-status):
4624 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4625 (vc-hg-pull, vc-hg-merge-branch):
4626 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4627 (vc-git-merge-branch):
4628 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4629 (vc-cvs-dir-status-files):
4630 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4631 (vc-bzr-dir-status-files):
4632 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4633 * vc/vc-annotate.el: Use lexical-binding.
4634 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4635 (vc-sentinel-movepoint): Declare.
4636 (vc-annotate): Don't use `goto-line'.
4637 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4638 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4639 (vc-sentinel-movepoint): Declare.
4640 * vc/vc-svn.el: Use lexical-binding.
4641 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4642 * vc/vc-sccs.el:
4643 * vc/vc-rcs.el: Use lexical-binding.
4644
4645 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4646 `deleted'. Don't drop errors silently.
4647
4648 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4649
4650 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4651
4652 * vc/vc.el (vc-ignore): Rewrite.
4653 (vc-default-ignore): New function.
4654 (vc-default-ignore-completion-table): Use find-ignore-file.
4655
4656 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4657 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4658 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4659 Remove. Most code moved to vc.el.
4660
4661 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4664 * net/tramp-smb.el (tramp-smb-get-file-entries):
4665 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4666 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4667
4668 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4669 Update call to it.
4670 (eww-change-select): Remove unused var `properties'.
4671 (eww-make-unique-file-name): Remove unused var `base'.
4672
4673 * finder.el (finder-compile-keywords): Don't mess with windows.
4674
4675 * calculator.el (calculator-funcall): Fix typo in last change.
4676
4677 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4678
4679 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4680 <pkg>-autoloads.el file stop us.
4681
4682 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4683 warnings, and factor out common code.
4684
4685 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4686
4687 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4688 two-character operators and whether the character preceding them
4689 changes their meaning (Bug#15208).
4690
4691 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4692
4693 Format code sent to Python shell for robustness.
4694 * progmodes/python.el (python-shell-buffer-substring):
4695 New function.
4696 (python-shell-send-region, python-shell-send-buffer): Use it.
4697
4698 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4699
4700 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4701 * net/tramp.el (tramp-user-error): ... here.
4702 (tramp-find-method, tramp-check-proper-host)
4703 (tramp-dissect-file-name, tramp-debug-message)
4704 (tramp-handle-shell-command):
4705 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4706 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4707
4708 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4709
4710 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4711
4712 * avoid.el (mouse-avoidance-point-position)
4713 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4714 returns nil.
4715
4716 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4717
4718 * progmodes/python.el (python-shell-completion-get-completions):
4719 Drop use of deleted `comint-last-prompt-overlay'.
4720 (python-nav-if-name-main): New command.
4721
4722 2013-09-01 Glenn Morris <rgm@gnu.org>
4723
4724 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4725 Avoid leading space in $wins. Otherwise the sed command used by
4726 eg compile-main ends up containing "/*.el". (Bug#15170)
4727
4728 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4729
4730 2013-08-30 Glenn Morris <rgm@gnu.org>
4731
4732 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4733 Fix is-this-a-directory logic. (Bug#15220)
4734
4735 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * textmodes/css-mode.el: Use SMIE.
4738 (css-smie-grammar): New var.
4739 (css-smie--forward-token, css-smie--backward-token)
4740 (css-smie-rules): New functions.
4741 (css-mode): Use them.
4742 (css-navigation-syntax-table): Remove var.
4743 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4744 (css-indent-calculate, css-indent-line): Remove functions.
4745
4746 Misc changes to reduce use of `(lambda...); and other cleanups.
4747 * cus-edit.el: Use lexical-binding.
4748 (customize-push-and-save, customize-apropos)
4749 (custom-buffer-create-internal): Use closures.
4750 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4751 * progmodes/ada-xref.el: Use setq.
4752 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4753 * dframe.el: Use lexical-binding.
4754 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4755 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4756 * descr-text.el: Use lexical-binding.
4757 (describe-text-widget, describe-text-sexp, describe-property-list):
4758 Use closures.
4759 * comint.el (comint-history-isearch-push-state): Use a closure.
4760 * calculator.el: Use lexical-binding.
4761 (calculator-number-to-string): Make it work with lexical-binding.
4762 (calculator-funcall): Same and use cl-letf.
4763
4764 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4765 (lisp--company-doc-string, lisp--company-location): New functions.
4766 (lisp-completion-at-point): Use them to improve Company support.
4767
4768 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4769 params of lambda expressions.
4770 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4771 (ruby-smie--opening-pipe-p): New function.
4772 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4773 symbols and matched |...| for formal params.
4774 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4775 from being treated as hanging. Handle "rescue".
4776
4777 2013-08-29 Glenn Morris <rgm@gnu.org>
4778
4779 * progmodes/cc-engine.el (c-pull-open-brace):
4780 Move definition before use.
4781
4782 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4783
4784 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4785 are immutable. Don't use `unsafe' any more.
4786 (cl--defsubst-expand): Don't substitute at the same time as keeping
4787 a residual unused let-binding. Don't use `unsafe' any more.
4788
4789 2013-08-29 Glenn Morris <rgm@gnu.org>
4790
4791 * calendar/cal-china.el (calendar-chinese-year-cache):
4792 Recenter on 2015.
4793
4794 * nxml/nxml-util.el (nxml-debug-clear-inside):
4795 Use cl-loop rather than loop.
4796
4797 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4798
4799 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4800
4801 2013-08-28 Glenn Morris <rgm@gnu.org>
4802
4803 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4804
4805 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4806
4807 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4808
4809 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * simple.el (repeat-complex-command--called-interactively-skip):
4812 New function.
4813 (repeat-complex-command): Use it (bug#14136).
4814
4815 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4816 (c-define-abbrev-table): Add `doc' argument.
4817 (c-mode-abbrev-table, c++-mode-abbrev-table)
4818 (objc-mode-abbrev-table, java-mode-abbrev-table)
4819 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4820 (awk-mode-abbrev-table): Use it.
4821 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4822 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4823 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4824 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4825 Move initialization into the declaration; and remove any
4826 autoload cookie.
4827
4828 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4829 and dynamic let binding.
4830
4831 * vc/smerge-mode.el: Remove redundant :group args.
4832
4833 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4834 to load-path.
4835
4836 2013-08-28 Juri Linkov <juri@jurta.org>
4837
4838 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4839 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4840 (isearch-other-meta-char): Handle an undefined shifted printing
4841 character by downshifting it. (Bug#15200)
4842
4843 2013-08-28 Juri Linkov <juri@jurta.org>
4844
4845 * isearch.el (isearch-search): Change regexp error message for
4846 non-regexp searches. (Bug#15166)
4847
4848 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4849
4850 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4851 for portability to hosts where /bin/sh has problems.
4852
4853 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4856
4857 2013-08-27 Juri Linkov <juri@jurta.org>
4858
4859 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4860 in the keyboard macro. (Bug#15126)
4861
4862 2013-08-27 Juri Linkov <juri@jurta.org>
4863
4864 * isearch.el (isearch-quote-char): Comment out converting unibyte
4865 to multibyte, thus syncing with its `quoted-insert' counterpart.
4866 (Bug#15166)
4867
4868 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4869
4870 * window.el (display-buffer-use-some-window): Add missing
4871 argument in call of get-largest-window (Bug#15185).
4872 Reported by Stephen Leake.
4873
4874 2013-08-27 Glenn Morris <rgm@gnu.org>
4875
4876 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4877
4878 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4879
4880 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4881 from a matcher-function unless there's no more matches (bug#15161).
4882
4883 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4884
4885 * minibuffer.el: Revert change from 2013-08-20.
4886
4887 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4888 with text property `tramp-default', if appropriate.
4889 (tramp-check-proper-host): New defun.
4890 (tramp-dissect-file-name): Do not check hostname. Revert change
4891 of 2013-03-18.
4892 (tramp-backtrace): Make VEC-OR-PROC optional.
4893
4894 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4895 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4896 * net/tramp-sh.el (tramp-maybe-open-connection):
4897 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4898 Apply `tramp-check-proper-host'.
4899
4900 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4901
4902 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4903 lambda expression in order to have `describe-variable' display it.
4904
4905 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4906
4907 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4908 BUF can be optional. (Bug#15186)
4909
4910 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4911
4912 * progmodes/flymake.el (flymake-get-real-file-name-function):
4913 Fix broken customization. (Bug#15184)
4914
4915 2013-08-25 Alan Mackenzie <acm@muc.de>
4916
4917 Improve indentation of bracelists defined by macros (without "=").
4918
4919 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4920 expansion begins with "{", regard it as bracelist when it doesn't
4921 contain a ";".
4922
4923 Parse C++ inher-intro when there's a template split over 2 lines.
4924
4925 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4926 rigorously the search for "class" etc. followed by ":".
4927
4928 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4929 random languages a regexp which never matches rather than nil.
4930
4931 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4932
4933 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4934 (c-awk-regexp-one-line-possibly-open-char-list-re)
4935 (c-awk-one-line-possibly-open-regexp-re)
4936 (c-awk-one-line-non-syn-ws*-re): Remove.
4937 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4938 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4939 (c-awk-space*-unclosed-regexp-/-re): New constants.
4940 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4941 aren't regexp delimiters.
4942
4943 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4944 handling for a rare situation in AWK Mode involving unterminated
4945 strings/regexps.
4946
4947 2013-08-23 Glenn Morris <rgm@gnu.org>
4948
4949 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4950
4951 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4952
4953 * files.el (create-file-buffer): If the result would begin with
4954 spaces, prepend a "|" instead of removing them. (Bug#15162)
4955
4956 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4959 text-properties (bug#15155).
4960
4961 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4962 exist any more.
4963 (calc-keypad-redraw): Remove unused var `pad'.
4964 (calc-keypad-press): Remove unused var `menu'.
4965
4966 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4967
4968 * window.el (display-buffer-pop-up-frame):
4969 Call pop-up-frame-function with BUFFER current so `make-frame' will
4970 use it as the new frame's buffer (Bug#15133).
4971
4972 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4973
4974 * calendar/timeclock.el: Minor cleanups.
4975 (timeclock-ask-before-exiting, timeclock-use-display-time):
4976 Use `symbol'.
4977 (timeclock-modeline-display): Define as alias before the
4978 actual definition.
4979 (timeclock-mode-line-display): Use define-minor-mode.
4980 (timeclock-day-list-template): Make it a function, add an argument.
4981 (timeclock-day-list-required, timeclock-day-list-length)
4982 (timeclock-day-list-debt, timeclock-day-list-span)
4983 (timeclock-day-list-break): Adjust calls accordingly.
4984
4985 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4988 Use read--expression so that completion works again.
4989
4990 2013-08-21 Sam Steingold <sds@gnu.org>
4991
4992 Add rudimentary inferior shell interaction
4993 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4994 (sh-set-shell): Reset it.
4995 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4996 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4997
4998 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 * align.el: Use lexical-binding.
5001 (align-region): Simplify accordingly.
5002
5003 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5004
5005 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5006
5007 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5008 `non-essential' up.
5009
5010 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5011
5012 * net/tramp.el:
5013 * net/tramp-adb.el:
5014 * net/tramp-cmds.el:
5015 * net/tramp-ftp.el:
5016 * net/tramp-gvfs.el:
5017 * net/tramp-gw.el:
5018 * net/tramp-sh.el: Don't wrap external variable declarations by
5019 `eval-when-compile'.
5020
5021 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5022
5023 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5024 now that Emacs supports ImageMagick animations.
5025
5026 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5027
5028 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5029 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5030
5031 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5032
5033 * window.el (mouse-autoselect-window-select): Do autoselect when
5034 mouse pointer is on margin.
5035
5036 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5037
5038 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5039
5040 2013-08-16 Glenn Morris <rgm@gnu.org>
5041
5042 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5043 Handle "Remote Directory" response of some clients. (Bug#15058)
5044
5045 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5046 Tweak warning. (Bug#14926)
5047
5048 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5049 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5050
5051 * image-mode.el (image-mode-map): Add menu items to reverse,
5052 increase, decrease, reset animation speed.
5053 (image--set-speed, image-increase-speed, image-decrease-speed)
5054 (image-reverse-speed, image-reset-speed): New functions.
5055 (image-mode-map): Add bindings for speed commands.
5056
5057 * image.el (image-animate-get-speed, image-animate-set-speed):
5058 New functions.
5059 (image-animate-timeout): Respect image :speed property.
5060
5061 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5062
5063 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5064 previous line (bug#15101).
5065 (debugger-eval-expression, debugger-record-expression):
5066 Use read--expression (bug#15102).
5067
5068 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5069
5070 Remove byte compiler warnings, visible when compiling with
5071 `byte-compile-force-lexical-warnings' set to t.
5072
5073 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5074 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5075 (tramp-handle-unhandled-file-name-directory)
5076 (tramp-handle-file-notify-add-watch, tramp-action-login)
5077 (tramp-action-succeed, tramp-action-permission-denied)
5078 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5079 arguments with "_".
5080
5081 * net/tramp-adb.el (tramp-adb-parse-device-names)
5082 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5083 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5084 (tramp-adb-handle-file-truename): Remove unused arguments.
5085
5086 * net/tramp-cache.el (tramp-flush-directory-property)
5087 (tramp-flush-connection-property, tramp-list-connections)
5088 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5089
5090 * net/tramp-compat.el (tramp-compat-make-temp-file):
5091 Rename FILENAME to F.
5092
5093 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5094 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5095 (tramp-zeroconf-parse-workstation-device-names)
5096 (tramp-zeroconf-parse-webdav-device-names)
5097 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5098
5099 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5100 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5101
5102 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5103 arguments.
5104 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5105 (tramp-sh-handle-insert-file-contents-literally)
5106 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5107 with "_".
5108 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5109 Remove unused variables.
5110
5111 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5112 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5113 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5114
5115 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5116 Make them a defconst.
5117 (tramp-uuencode-region): Remove unused variable.
5118
5119 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5120
5121 * frameset.el (frameset--prop-setter): New function.
5122 (frameset-prop): Add gv-setter declaration.
5123 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5124 parameter was already set in FILTERED. Doc fix.
5125 (frameset--record-minibuffer-relationships): Allow saving a
5126 minibufferless frame without its corresponding minibuffer frame.
5127 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5128 frame, if the frame id matches.
5129 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5130 frames before orphaned ones.
5131 (frameset-restore): Warn about orphaned windows, instead of error out.
5132
5133 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5134
5135 * window.el (window-make-atom): Don't overwrite parameter
5136 already present.
5137 (display-buffer-in-atom-window): Handle special case where we
5138 split an already atomic window.
5139 (window--major-non-side-window, display-buffer-in-side-window)
5140 (window--side-check): Ignore minibuffer window when walking
5141 window tree.
5142 (window-deletable-p): Return 'frame only if no other frame uses
5143 our minibuffer window.
5144 (record-window-buffer): Run buffer-list-update-hook.
5145 (split-window): Make sure window--check-frame won't destroy an
5146 existing atomic window in case the new window gets nested
5147 inside.
5148 (display-buffer-at-bottom): Ignore minibuffer window when
5149 walking window tree. Don't split a side window.
5150 (pop-to-buffer): Don't set-buffer here, the select-window call
5151 should do that.
5152 (mouse-autoselect-window-select): Autoselect only if we are in the
5153 text portion of the window.
5154
5155 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5156
5157 * net/shr.el (shr-parse-image-data): New function to grab both the
5158 data itself and the Content-Type.
5159 (shr-put-image): Use it.
5160
5161 * net/eww.el (eww-display-image): Ditto.
5162
5163 * image.el (image-content-type-suffixes): New variable.
5164
5165 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5166
5167 * progmodes/python.el (python-imenu--build-tree)
5168 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5169
5170 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5171
5172 * simple.el (backward-word): Mention the optional argument.
5173
5174 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5175
5176 * frameset.el (frameset--make): Rename constructor from make-frameset.
5177 (frameset-p, frameset-valid-p): Don't autoload.
5178 (frameset-valid-p): Use normal accessors.
5179
5180 2013-08-13 Glenn Morris <rgm@gnu.org>
5181
5182 * progmodes/compile.el (compile-command): Tweak example in doc.
5183 * obsolete/scribe.el (scribe-mode):
5184 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5185
5186 * mail/feedmail.el (feedmail-confirm-outgoing)
5187 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5188
5189 * cus-start.el (truncate-partial-width-windows): Fix type.
5190
5191 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5192
5193 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5194
5195 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * emacs-lisp/timer.el (timer--time-setter): New function.
5198 (timer--time): Use it as gv-setter.
5199
5200 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5201 setter is not a symbol.
5202
5203 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5204
5205 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5206 if sending fails. This makes debugging easier.
5207
5208 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5209
5210 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5211 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5212 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5213
5214 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5215
5216 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5217
5218 2013-08-12 Glenn Morris <rgm@gnu.org>
5219
5220 * format.el (format-annotate-function):
5221 Handle read-only text properties in the source. (Bug#14887)
5222
5223 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5224
5225 * net/eww.el (eww-display-html): Ignore coding system errors.
5226 One web site uses "utf-8lias" as the coding system.
5227
5228 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5229
5230 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5231
5232 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5235 (tutorial--detailed-help): Remove unused local variables.
5236 (tutorial--save-tutorial-to): Use ignore-errors.
5237 (help-with-tutorial): Use looking-at-p.
5238
5239 * view.el (view-buffer-other-window, view-buffer-other-frame):
5240 Mark unused arguments.
5241
5242 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5243 (woman-select-symbol-fonts, woman, woman-find-file)
5244 (woman-insert-file-contents, woman-non-underline-faces):
5245 Use string-match-p.
5246 (woman1-unquote): Move declaration.
5247
5248 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5249 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5250 argument. Remove unused local variable.
5251 (xml-parse-elem-type): Use string-match-p.
5252 (xml-substitute-numeric-entities): Use ignore-errors.
5253
5254 * calculator.el (calculator): Mark unused argument.
5255 (calculator-paste, calculator-quit, calculator-integer-p):
5256 Use ignore-errors.
5257 (calculator-string-to-number, calculator-decimal, calculator-exp)
5258 (calculator-op-or-exp): Use string-match-p.
5259
5260 * dired.el (dired-buffer-more-recently-used-p): Declare.
5261 (dired-insert-set-properties, dired-insert-old-subdirs):
5262 Use ignore-errors.
5263
5264 * dired-aux.el (dired-compress): Use ignore-errors.
5265 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5266 (dired-do-async-shell-command, dired-do-shell-command)
5267 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5268 (dired-insert-subdir-validate): Use string-match-p.
5269 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5270 (dired-add-entry): Use string-match-p, looking-at-p.
5271 (dired-insert-subdir-newpos): Remove unused local variable.
5272
5273 * filenotify.el (file-notify-callback): Remove unused local variable.
5274
5275 * filesets.el (filesets-error): Mark unused argument.
5276 (filesets-which-command-p, filesets-filter-dir-names)
5277 (filesets-directory-files, filesets-get-external-viewer)
5278 (filesets-ingroup-get-data): Use string-match-p.
5279
5280 * find-file.el (ff-other-file-name, ff-other-file-name)
5281 (ff-find-the-other-file, ff-cc-hh-converter):
5282 Remove unused local variables.
5283 (ff-get-file-name): Use string-match-p.
5284 (ff-all-dirs-under): Use ignore-errors.
5285
5286 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5287 (follow-select-if-visible): Remove unused local variable.
5288
5289 * forms.el (read-file-filter): Move declaration.
5290 (forms--make-format, forms--make-parser, forms-insert-record):
5291 Quote function with #'.
5292 (forms--update): Use string-match-p. Quote function with #'.
5293
5294 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5295 (help-make-xrefs): Use looking-at-p.
5296 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5297
5298 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5299 (ibuffer-confirm-operation-on): Use string-match-p.
5300
5301 * msb.el (msb-item-handler, msb-dired-item-handler):
5302 Mark unused arguments.
5303
5304 * ses.el (ses-decode-cell-symbol)
5305 (ses-kill-override): Remove unused local variable.
5306 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5307 (ses-load): Use ignore-errors, looking-at-p.
5308 (ses-jump-safe): Use ignore-errors.
5309 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5310
5311 * tabify.el (untabify, tabify): Mark unused arguments.
5312
5313 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5314 Mark unused argument.
5315 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5316 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5317
5318 * emacs-lisp/timer.el (timer--time): Define setter with
5319 gv-define-setter to avoid deprecation warning.
5320
5321 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5322 (*record-cmpl-statistics-p*): Remove (was commented out).
5323 (cmpl-statistics-block): Remove (body was commented out).
5324 All callers changed.
5325 (add-completions-from-buffer, load-completions-from-file):
5326 Remove unused variables.
5327
5328 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5329
5330 * filecache.el (file-cache-delete-file-list):
5331 Print message only when told so.
5332 (file-cache-files-matching): Use #' in mapconcat argument.
5333
5334 * ffap.el (ffap-url-at-point): Fix reference to variable
5335 thing-at-point-default-mail-uri-scheme.
5336
5337 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * subr.el (define-error): New function.
5340 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5341 error-file-not-found and define with define-error.
5342 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5343 and define with define-error.
5344 * userlock.el (file-locked, file-supersession):
5345 * simple.el (mark-inactive):
5346 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5347 * progmodes/ada-mode.el (ada-mode-errors):
5348 * play/life.el (life-extinct):
5349 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5350 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5351 * nxml/rng-util.el (rng-error):
5352 * nxml/rng-uri.el (rng-uri-error):
5353 * nxml/rng-match.el (rng-compile-error):
5354 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5355 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5356 * nxml/nxml-rap.el (nxml-scan-error):
5357 * nxml/nxml-outln.el (nxml-outline-error):
5358 * net/soap-client.el (soap-error):
5359 * net/gnutls.el (gnutls-error):
5360 * net/ange-ftp.el (ftp-error):
5361 * mpc.el (mpc-proc-error):
5362 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5363 (json-number-format, json-string-escape, json-string-format)
5364 (json-key-format, json-object-format):
5365 * jka-compr.el (compression-error):
5366 * international/quail.el (quail-error):
5367 * international/kkc.el (kkc-error):
5368 * emacs-lisp/ert.el (ert-test-failed):
5369 * calc/calc.el (calc-error, inexact-result, math-overflow)
5370 (math-underflow):
5371 * bookmark.el (bookmark-error-no-filename):
5372 * epg.el (epg-error): Define with define-error.
5373
5374 * time.el (display-time-event-handler)
5375 (display-time-next-load-average): Don't call sit-for since it seems
5376 unnecessary (bug#15045).
5377
5378 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5379 Use #' instead of ' to quote functions.
5380 (checkdoc-output-mode): Use setq-local.
5381 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5382 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5383 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5384 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5385 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5386 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5387 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5388 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5389
5390 * ido.el (ido-completion-help): Fix up compiler warning.
5391
5392 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5393
5394 * frameset.el (frameset-p): Add autoload cookie.
5395 (frameset--jump-to-register): New function, based on code moved from
5396 register.el.
5397 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5398
5399 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5400 (frameset-restore, frameset-save, frameset-session-filter-alist):
5401 Remove declarations.
5402 (register-alist): Doc fix.
5403 (frameset-to-register): Move to frameset.el.
5404 (jump-to-register, describe-register-1): Remove frameset-specific code.
5405
5406 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5407
5408 * allout-widgets.el (allout-widgets-pre-command-business)
5409 (allout-widgets-post-command-business)
5410 (allout-widgets-after-change-handler)
5411 (allout-decorate-item-and-context, allout-set-boundary-marker)
5412 (allout-body-modification-handler)
5413 (allout-graphics-modification-handler): Mark ignored arguments.
5414 (allout-widgets-post-command-business)
5415 (allout-widgets-exposure-change-processor)
5416 (allout-widgets-exposure-undo-processor)
5417 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5418 (allout-parse-item-at-point, allout-decorate-item-guides)
5419 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5420 * allout.el (epa-passphrase-callback-function): Declare.
5421 (allout-overlay-insert-in-front-handler)
5422 (allout-overlay-interior-modification-handler)
5423 (allout-isearch-end-handler, allout-chart-siblings)
5424 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5425 (allout-yank-processing, allout-process-exposed)
5426 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5427 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5428 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5429 (lisp-indent-defform): Mark ignored arguments.
5430 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5431 (calculate-lisp-indent): Remove unused variables.
5432 * international/characters.el (indian-2-column, arabic-2-column)
5433 (tibetan): Mark ignored arguments.
5434 (use-cjk-char-width-table): Mark ignored arguments.
5435 Remove unused variables.
5436 * international/fontset.el (build-default-fontset-data)
5437 (x-compose-font-name, create-fontset-from-fontset-spec):
5438 Mark ignored arguments.
5439 (fontset-plain-name): Remove unused variables.
5440 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5441 (keyboard-coding-system): Mark ignored arguments.
5442 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5443 * help.el (resize-temp-buffer-window):
5444 * window.el (display-buffer-in-major-side-window)
5445 (display-buffer-in-side-window, display-buffer-in-previous-window):
5446 Remove unused variables.
5447 * isearch.el (isearch-forward-symbol):
5448 * version.el (emacs-bzr-version-bzr):
5449 * international/mule-cmds.el (current-language-environment):
5450 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5451 (x-handle-display):
5452 * term/pc-win.el (x-list-fonts, x-display-planes)
5453 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5454 (x-server-version, x-display-screens, x-display-mm-height)
5455 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5456 (x-selection-owner-p, x-own-selection-internal)
5457 (x-disown-selection-internal, x-get-selection-internal)
5458 (msdos-initialize-window-system):
5459 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5460 * term/x-win.el (x-handle-no-bitmap-icon):
5461 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5462 (vc-default-find-file-hook, vc-default-extra-menu):
5463 Mark ignored arguments.
5464
5465 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5468 break-condition in the context of the debugged code (bug#12685).
5469
5470 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5471
5472 * comint.el:
5473 Do not use an overlay to highlight the last prompt. (Bug#14744)
5474 (comint-mode): Make comint-last-prompt buffer local.
5475 (comint-last-prompt): New variable.
5476 (comint-last-prompt-overlay): Remove. Superseded by
5477 comint-last-prompt.
5478 (comint-snapshot-last-prompt, comint-output-filter):
5479 Use comint-last-prompt.
5480
5481 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5482
5483 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5484 (frameset-save): Check validity of the resulting frameset.
5485
5486 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5487
5488 * ido.el (ido-record-command): Add doc string.
5489
5490 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5491
5492 * frameset.el (frameset): Do not disable creation of the default
5493 frameset-p predicate. Doc fix.
5494 (frameset-valid-p): New function, copied from the old predicate-p.
5495 Add additional checks.
5496 (frameset-restore): Check with frameset-valid-p.
5497 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5498 (frameset-name, frameset-description, frameset-properties)
5499 (frameset-states): Add docstring.
5500 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5501 (frameset-filter-alist): Doc fixes.
5502
5503 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5504
5505 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5506
5507 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5508
5509 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5510 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5511 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5512 (byte-compile-normal-call): Remove obsolescence check.
5513
5514 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5515
5516 * frameset.el (frameset-restore): Doc fix.
5517
5518 * register.el (frameset-frame-id, frameset-frame-with-id)
5519 (frameset-p, frameset-restore, frameset-save): Declare.
5520 (register-alist): Document framesets.
5521 (frameset-session-filter-alist): Declare.
5522 (frameset-to-register): New function.
5523 (jump-to-register): Implement jumping to framesets. Doc fix.
5524 (describe-register-1): Describe framesets.
5525
5526 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5527
5528 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5529
5530 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5531 Use lexical-binding.
5532
5533 * frameset.el (frameset): Use type vector, not list (incompatible
5534 change). Do not declare a new constructor, use the default one.
5535 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5536 `name' and `description', respectively, and add read-only slot
5537 `timestamp'. Doc fixes.
5538 (frameset-copy, frameset-persistent-filter-alist)
5539 (frameset-filter-alist, frameset-switch-to-gui-p)
5540 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5541 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5542 (frameset-filter-iconified, frameset-keep-original-display-p):
5543 Doc fixes.
5544 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5545 Rename from frameset-filter-(save|restore)-param. All callers changed.
5546 Doc fix.
5547 (frameset-p): Adapt to change to vector and be more thorough.
5548 Change arg name to OBJECT. Doc fix.
5549 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5550 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5551 All callers changed.
5552 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5553 All callers changed.
5554 (frameset--record-minibuffer-relationships): Rename from
5555 frameset--process-minibuffer-frames. All callers changed.
5556 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5557 Use new default constructor (again). Doc fix.
5558 (frameset--find-frame-if): Rename from `frameset--find-frame.
5559 All callers changed.
5560 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5561 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5562 Doc fix.
5563 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5564 PARAMETERS and WINDOW-STATE, respectively.
5565 (frameset-restore): Add new keyword argument PREDICATE.
5566 Reset frameset--target-display to nil. Doc fix.
5567
5568 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5571 (bat-mode): Use it.
5572 (bat-mode-syntax-table): Mark \n as end-of-comment.
5573 (bat-font-lock-keywords): Remove comment rule.
5574
5575 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5576 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5577
5578 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5579 (byte-compile-callargs-warn): Use `push'.
5580 (byte-compile-arglist-warn): Ignore higher-order "calls".
5581 (byte-compile-file-form-autoload): Use `pcase'.
5582 (byte-compile-function-form): If quoting a symbol, check that it exists.
5583
5584 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5585
5586 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5587 and add a few popular commands found in batch files.
5588 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5589 (dos-mode): Doc fixes.
5590
5591 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5594 (dos-mode): Use setq-local. Add space after "rem".
5595 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5596 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5597
5598 2013-08-07 Arni Magnusson <arnima@hafro.is>
5599
5600 * progmodes/dos.el: New file.
5601 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5602 dos-mode.
5603
5604 2013-08-06 Glenn Morris <rgm@gnu.org>
5605
5606 * calendar/calendar.el: Add new faces, and day-header-array.
5607 (calendar-weekday-header, calendar-weekend-header)
5608 (calendar-month-header): New faces.
5609 (calendar-day-header-construct): New function.
5610 (calendar-day-header-width): Also :set calendar-day-header-array.
5611 (calendar-american-month-header, calendar-european-month-header)
5612 (calendar-iso-month-header): Use calendar- faces.
5613 (calendar-generate-month):
5614 Use calendar-day-header-array for day headers; apply faces to them.
5615 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5616 (calendar-abbrev-construct): Add optional maxlen argument.
5617 (calendar-day-name-array): Doc fix.
5618 (calendar-day-name-array, calendar-abbrev-length)
5619 (calendar-day-abbrev-array):
5620 Also :set calendar-day-header-array, and maybe redraw.
5621 (calendar-day-header-array): New option. (Bug#15007)
5622 (calendar-font-lock-keywords): Set to nil and make obsolete.
5623 (calendar-day-name): Add option to use header array.
5624
5625 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5626
5627 * net/shr.el (shr-render-td): Remove debugging.
5628 (shr-render-td): Make width computation consistent by defaulting
5629 all zero-width columns to 10 characters. This may not be optimal,
5630 but it's at least consistent.
5631 (shr-make-table-1): Redo last change to fix the real problem in
5632 colspan handling.
5633
5634 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5635
5636 * files.el (cache-long-line-scans):
5637 Make obsolete alias to `cache-long-scans'.
5638
5639 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5640
5641 * frameset.el (frameset, frameset-filter-alist)
5642 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5643 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5644 (frameset-compute-pos): Rename from frameset--compute-pos,
5645 and add docstring.
5646 (frameset-move-onscreen): Use frameset-compute-pos.
5647 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5648
5649 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5650 Fix typos in docstrings.
5651
5652 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5653
5654 * frame.el (get-other-frame): Tiny cleanup.
5655
5656 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5657
5658 * vc/vc.el (vc-default-ignore-completion-table):
5659 Silence byte-compiler warning.
5660
5661 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5662 slot , which can indeed be nil.
5663 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5664 Move entry for `left' from persistent to live filter alist.
5665 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5666 Doc fixes.
5667 (frameset-filter-params): When restoring a frame, copy items added to
5668 `filtered', to avoid unwittingly modifying the original parameters.
5669 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5670 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5671
5672 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5673 to use looking-at-p instead of looking-at. (Bug#15028)
5674
5675 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 Revert introduction of isearch-filter-predicates (bug#14714).
5678 Rely on add-function instead.
5679 * isearch.el (isearch-filter-predicates): Rename it back to
5680 isearch-filter-predicate.
5681 (isearch-message-prefix): Use advice-function-mapc and advice
5682 properties to get the isearch-message-prefix.
5683 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5684 instead of run-hook-with-args-until-failure.
5685 (isearch-filter-visible): Not obsolete any more.
5686 * loadup.el: Preload nadvice.
5687 * replace.el (perform-replace): Revert to funcall
5688 instead of run-hook-with-args-until-failure.
5689 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5690 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5691 dired-isearch-filenames-toggle; make it into a proper minor mode.
5692 Use add/remove-function.
5693 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5694 Call the minor-mode rather than add/remove-hook.
5695 (dired-isearch-filter-filenames):
5696 Remove isearch-message-prefix property.
5697 * info.el (Info--search-loop): New function, extracted from Info-search.
5698 Funcall isearch-filter-predicate instead of
5699 run-hook-with-args-until-failure isearch-filter-predicates.
5700 (Info-search): Use it.
5701 (Info-mode): Use isearch-filter-predicate instead of
5702 isearch-filter-predicates.
5703
5704 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5705
5706 Do not call to `selected-window' where it is assumed by default.
5707 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5708 `window-hscroll', `window-width', `window-height', `window-buffer',
5709 `window-frame', `window-start', `window-point', `next-window'
5710 and `window-display-table'.
5711 * abbrev.el (abbrev--default-expand):
5712 * bs.el (bs--show-with-configuration):
5713 * buff-menu.el (Buffer-menu-mouse-select):
5714 * calc/calc.el (calc):
5715 * calendar/calendar.el (calendar-generate-window):
5716 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5717 (diary-make-entry):
5718 * comint.el (send-invisible, comint-dynamic-complete-filename)
5719 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5720 * completion.el (complete):
5721 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5722 * disp-table.el (describe-current-display-table):
5723 * doc-view.el (doc-view-insert-image):
5724 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5725 * ehelp.el (with-electric-help):
5726 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5727 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5728 * emacs-lisp/helper.el (Helper-help-scroller):
5729 * emulation/cua-base.el (cua--post-command-handler-1):
5730 * eshell/esh-mode.el (eshell-output-filter):
5731 * ffap.el (ffap-gnus-wrapper):
5732 * help-macro.el (make-help-screen):
5733 * hilit-chg.el (highlight-compare-buffers):
5734 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5735 * hl-line.el (global-hl-line-highlight):
5736 * icomplete.el (icomplete-simple-completing-p):
5737 * isearch.el (isearch-done):
5738 * jit-lock.el (jit-lock-stealth-fontify):
5739 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5740 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5741 * mpc.el (mpc-tagbrowser, mpc):
5742 * net/rcirc.el (rcirc-any-buffer):
5743 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5744 * play/landmark.el (landmark-max-width, landmark-max-height):
5745 * play/zone.el (zone):
5746 * progmodes/compile.el (compilation-goto-locus):
5747 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5748 * progmodes/etags.el (find-tag-other-window):
5749 * progmodes/fortran.el (fortran-column-ruler):
5750 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5751 * progmodes/verilog-mode.el (verilog-point-text):
5752 * reposition.el (reposition-window):
5753 * rot13.el (toggle-rot13-mode):
5754 * server.el (server-switch-buffer):
5755 * shell.el (shell-dynamic-complete-command)
5756 (shell-dynamic-complete-environment-variable):
5757 * simple.el (insert-buffer, set-selective-display)
5758 (delete-completion-window):
5759 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5760 (speedbar-recenter):
5761 * startup.el (fancy-splash-head):
5762 * textmodes/ispell.el (ispell-command-loop):
5763 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5764 * tutorial.el (help-with-tutorial):
5765 * vc/add-log.el (add-change-log-entry):
5766 * vc/compare-w.el (compare-windows):
5767 * vc/ediff-help.el (ediff-indent-help-message):
5768 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5769 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5770 (ediff-setup-control-frame):
5771 * vc/emerge.el (emerge-position-region):
5772 * vc/pcvs-util.el (cvs-bury-buffer):
5773 * window.el (walk-windows, mouse-autoselect-window-select):
5774 * winner.el (winner-set-conf, winner-undo): Related users changed.
5775
5776 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5777
5778 * frameset.el (frameset--set-id): Doc fix.
5779 (frameset-frame-id, frameset-frame-id-equal-p)
5780 (frameset-locate-frame-id): New functions.
5781 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5782 (frameset-restore): Use them.
5783
5784 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5785
5786 Do not call to `selected-frame' where it is assumed by default.
5787 Affected functions are `raise-frame', `redraw-frame',
5788 `frame-first-window', `frame-terminal' and `delete-frame'.
5789 * calendar/appt.el (appt-disp-window):
5790 * epg.el (epg-wait-for-completion):
5791 * follow.el (follow-delete-other-windows-and-split)
5792 (follow-avoid-tail-recenter):
5793 * international/mule.el (set-terminal-coding-system):
5794 * mail/rmail.el (rmail-mail-return):
5795 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5796 * progmodes/f90.el (f90-add-imenu-menu):
5797 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5798 * server.el (server-switch-buffer):
5799 * simple.el (delete-completion-window):
5800 * talk.el (talk):
5801 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5802 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5803 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5804 * vc/ediff.el (ediff-documentation): Related users changed.
5805 * frame.el (selected-terminal): Remove the leftover.
5806
5807 2013-08-05 Glenn Morris <rgm@gnu.org>
5808
5809 * calendar/calendar.el (calendar-generate-month):
5810 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5811 (calendar-generate-month, calendar-font-lock-keywords):
5812 Fix for calendar-day-header-width > length of any day name.
5813
5814 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5815
5816 * desktop.el (desktop-clear): Use new name of sort predicate.
5817
5818 * frameset.el (frameset): Add docstring. Move :version property to its
5819 own `version' slot.
5820 (frameset-copy): Rename from copy-frameset.
5821 (frameset-p): Check more thoroughly.
5822 (frameset-prop): Do not check for :version, which is no longer a prop.
5823 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5824 Use new :never value instead of t.
5825 (frameset-filter-alist): Expand and clarify docstring.
5826 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5827 (frameset-filter-minibuffer, frameset-filter-save-param)
5828 (frameset-filter-restore-param, frameset-filter-iconified):
5829 Add pointer to docstring of frameset-filter-alist.
5830 (frameset-filter-params): Rename filter values to be more meaningful:
5831 :never instead of t, and reverse the meanings of :save and :restore.
5832 (frameset--process-minibuffer-frames): Clarify error message.
5833 (frameset-save): Avoid unnecessary and confusing call to framep.
5834 Use new BOA constructor for framesets.
5835 (frameset--reuse-list): Doc fix.
5836 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5837 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5838 (frameset-minibufferless-first-p): Doc fix.
5839 Rename from frameset-sort-frames-for-deletion.
5840 (frameset-restore): Doc fixes. Use new function names.
5841 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5842
5843 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5844
5845 * desktop.el (desktop-restore-forces-onscreen)
5846 (desktop-restore-reuses-frames): Document :keyword constant values.
5847 (desktop-filter-parameters-alist): Remove, now identical to
5848 frameset-filter-alist.
5849 (desktop--filter-tty*): Remove, moved to frameset.el.
5850 (desktop-save-frameset, desktop-restore-frameset):
5851 Do not pass :filters argument.
5852
5853 * frameset.el (frameset-live-filter-alist)
5854 (frameset-persistent-filter-alist): New variables.
5855 (frameset-filter-alist): Use them. Add autoload cookie.
5856 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5857 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5858 `frameset--id' (it's supposed to be internal to frameset.el).
5859 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5860 (frameset--initial-params): New function.
5861 (frameset--get-frame): Use it. Doc fix.
5862 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5863 Accept :all, not 'all.
5864 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5865 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5866 with fbound symbols. Fix frame id matching, and remove matching ids if
5867 the frame being restored is deleted. Obey :delete.
5868
5869 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * subr.el (macrop): New function.
5872 (text-clone--maintaining): New var.
5873 (text-clone--maintain): Rename from text-clone-maintain. Use it
5874 instead of inhibit-modification-hooks.
5875
5876 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5877 a proxy, so as handle autoloads and redefinitions of the target.
5878 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5879
5880 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5881 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5882 (pcase--mutually-exclusive-p): New function.
5883 (pcase--split-consp): Use it.
5884 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5885 mutually exclusive with the current predicate.
5886
5887 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5888 (edebug-macrop): Remove. Use `macrop' instead.
5889 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5890 (ad-macro-p):
5891 * eshell/esh-cmd.el (eshell-macrop):
5892 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5893
5894 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5895
5896 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5897 (advice-mapc): New function, using it.
5898 (advice-function-member-p): New function.
5899 (advice--normalize): Store the cdr in advice--saved-rewrite since
5900 that's the part that will be changed.
5901 (advice--symbol-function): New function.
5902 (advice-remove): Handle removal before the function is defined.
5903 Adjust to new advice--saved-rewrite.
5904 (advice-member-p): Use advice-function-member-p and
5905 advice--symbol-function.
5906
5907 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5908
5909 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5910 (frameset-filter-minibuffer): Doc fix.
5911 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5912 (frameset--set-id, frameset--process-minibuffer-frames)
5913 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5914 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5915
5916 * desktop.el (desktop-clear): Only delete frames when called
5917 interactively and desktop-restore-frames is non-nil. Doc fix.
5918 (desktop-read): Set desktop-saved-frameset to nil.
5919
5920 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5921
5922 * vc/vc.el (vc-ignore): Rewrite.
5923 (vc-default-ignore-completion-table):
5924 (vc--read-lines):
5925 (vc--add-line, vc--remove-regexp): New functions.
5926
5927 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5928 (vc-svn-ignore-completion-table): New function.
5929
5930 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5931 (vc-hg-ignore-completion-table):
5932 (vc-hg-find-ignore-file): New functions.
5933
5934 * vc/vc-git.el (vc-git-ignore): Rewrite.
5935 (vc-git-ignore-completion-table):
5936 (vc-git-find-ignore-file): New functions.
5937
5938 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5939
5940 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5941 (vc-bzr-ignore-completion-table):
5942 (vc-bzr-find-ignore-file): New functions.
5943
5944 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5945
5946 * frameset.el (frameset-prop): New function and setter.
5947 (frameset-save): Do not modify frame list passed by the caller.
5948
5949 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5950
5951 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5952
5953 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5956 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5957
5958 * custom.el (custom-initialize-default, custom-initialize-set)
5959 (custom-initialize-reset, custom-initialize-changed): Affect the
5960 toplevel-default-value (bug#6275, bug#14586).
5961 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5962 for bug#6275.
5963
5964 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5965
5966 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5967 Add cl-def* expressions.
5968
5969 * frameset.el (frameset-filter-params): Fix order of arguments.
5970
5971 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5972
5973 Move code related to saving frames to frameset.el.
5974 * desktop.el: Require frameset.
5975 (desktop-restore-frames): Doc fix.
5976 (desktop-restore-reuses-frames): Rename from
5977 desktop-restoring-reuses-frames.
5978 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5979 (desktop-clear): Clear frames too.
5980 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5981 (desktop--filter-tty*, desktop-save, desktop-read):
5982 Use frameset functions.
5983 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5984 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5985 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5986 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5987 (desktop--process-minibuffer-frames, desktop-save-frames)
5988 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5989 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5990 (desktop--sort-states, desktop-restoring-frames-p)
5991 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5992 (desktop-restoring-frameset-p, desktop-restore-frameset)
5993 (desktop--check-dont-save, desktop-save-frameset): New functions.
5994 (desktop--app-id): New constant.
5995 (desktop-first-buffer, desktop-buffer-ok-count)
5996 (desktop-buffer-fail-count): Move before first use.
5997 * frameset.el: New file.
5998
5999 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6000
6001 * files.el: Use lexical-binding.
6002 (dir-locals-read-from-file): Remove unused `err' variable.
6003 (hack-dir-local-variables--warned-coding): New var.
6004 (hack-dir-local-variables): Use it to avoid repeated warnings.
6005 (make-backup-file-name--default-function): New function.
6006 (make-backup-file-name-function): Use it as default.
6007 (buffer-stale--default-function): New function.
6008 (buffer-stale-function): Use it as default.
6009 (revert-buffer-insert-file-contents--default-function): New function.
6010 (revert-buffer-insert-file-contents-function): Use it as default.
6011 (insert-directory): Avoid add-to-list.
6012
6013 * autorevert.el (auto-revert-handler): Simplify.
6014 Use buffer-stale--default-function.
6015
6016 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6017
6018 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6019
6020 * whitespace.el (whitespace-ensure-local-variables): New function.
6021 (whitespace-cleanup-region): Call it.
6022 (whitespace-turn-on): Call it.
6023
6024 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6025
6026 Complete file name handlers.
6027
6028 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6029 (tramp-handle-verify-visited-file-modtime)
6030 (tramp-handle-file-notify-rm-watch): New functions.
6031 (tramp-call-process): Do not bind `default-directory'.
6032
6033 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6034 Order alphabetically.
6035 [access-file, add-name-to-file, dired-call-process]:
6036 [dired-compress-file, file-acl, file-notify-rm-watch]:
6037 [file-ownership-preserved-p, file-selinux-context]:
6038 [make-directory-internal, make-symbolic-link, set-file-acl]:
6039 [set-file-selinux-context, set-visited-file-modtime]:
6040 [verify-visited-file-modtime]: Add handler.
6041 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6042
6043 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6044 [file-notify-add-watch, file-notify-rm-watch]:
6045 [set-file-times, set-visited-file-modtime]:
6046 [verify-visited-file-modtime]: Add handler.
6047 (with-tramp-gvfs-error-message)
6048 (tramp-gvfs-handle-set-visited-file-modtime)
6049 (tramp-gvfs-fuse-file-name): Remove.
6050 (tramp-gvfs-handle-file-notify-add-watch)
6051 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6052 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6053
6054 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6055 Order alphabetically.
6056 [file-notify-rm-watch ]: Use default Tramp handler.
6057 [executable-find]: Remove private handler.
6058 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6059 `default-directory'.
6060 (tramp-sh-handle-executable-find)
6061 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6062 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6063 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6064 Do not use `format' in `tramp-message'.
6065
6066 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6067 [file-notify-rm-watch, set-visited-file-modtime]:
6068 [verify-visited-file-modtime]: Add handler.
6069 (tramp-smb-call-winexe): Do not bind `default-directory'.
6070
6071 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6072
6073 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6074
6075 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6076
6077 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6078 use it.
6079 (log-view-diff-changeset): Same.
6080 (log-view-diff-common): Call backend command `previous-revision'
6081 to find out the previous revision, in both cases. Swap the
6082 variables `to' and `fr', so that `fr' usually refers to the
6083 earlier revision (Bug#14989).
6084
6085 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6086
6087 * ibuf-ext.el (ibuffer-filter-by-filename):
6088 Make it work with dired buffers too.
6089
6090 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6091
6092 * emacs-lisp/re-builder.el (reb-color-display-p):
6093 * files.el (save-buffers-kill-terminal):
6094 * net/browse-url.el (browse-url):
6095 * server.el (server-save-buffers-kill-terminal):
6096 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6097 Prefer nil to selected-frame for the first arg of frame-parameter.
6098
6099 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6100
6101 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6102
6103 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6104
6105 * minibuffer.el (completion--twq-all): Try and preserve each
6106 completion's case choice (bug#14907).
6107
6108 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6109
6110 * net/network-stream.el (open-network-stream): Mention the new
6111 :nogreeting parameter.
6112 (network-stream-open-starttls): Use the :nogreeting parameter
6113 (bug#14938).
6114
6115 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6116
6117 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6118 more natural than popping.
6119
6120 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6121 (shr-urlify): Highlight under mouse.
6122
6123 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6124
6125 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6126
6127 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6128
6129 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6130 buffer for output.
6131
6132 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6133 point-min==1. Fix search string. Fix parentheses missing.
6134
6135 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6136 assume point-min==1. Fix search string. Fix parentheses missing.
6137
6138 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6139
6140 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6141 buffer for output.
6142
6143 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6144
6145 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6146 initial frame is minibuffer-less. (Bug#14841)
6147
6148 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6149
6150 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6151 option.
6152
6153 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6154 (tramp-maybe-open-connection): Use it.
6155
6156 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6157
6158 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6159 minimal set of parameters passed when creating a frame, because
6160 the minibuffer status of a frame cannot be changed later.
6161
6162 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6163
6164 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6165 replace-regexp-in-string and inadvertent omissions in previous change.
6166 (todo-filter-items): Ensure only file names are comma-separated in
6167 name of filtered items buffer.
6168
6169 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6170
6171 * desktop.el: Optionally force offscreen frames back onscreen.
6172 (desktop-restoring-reuses-frames): New option.
6173 (desktop--compute-pos, desktop--move-onscreen): New functions.
6174 (desktop--make-frame): Use desktop--move-onscreen.
6175
6176 2013-07-27 Alan Mackenzie <acm@muc.de>
6177
6178 Fontify a Java generic method as a function.
6179 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6180 value to t.
6181
6182 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6183
6184 * calendar/todo-mode.el: Add command to rename todo files.
6185 (todo-rename-file): New command.
6186 (todo-key-bindings-t): Add key binding for it. Change the
6187 bindings of todo-filter-regexp-items(-multifile) to use `x'
6188 instead of `r', since the latter is better suited to the new
6189 renaming command.
6190
6191 2013-07-27 Alan Mackenzie <acm@muc.de>
6192
6193 Make Java try-with-resources statement parse properly.
6194 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6195 (c-block-stmt-1-2-key): New language constants/variables.
6196 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6197 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6198 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6199 with c-block-stmt-1-2-key.
6200
6201 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6202
6203 * desktop.el (desktop--make-frame): Apply most frame parameters after
6204 creating the frame to force (partially or totally) offscreen frames to
6205 be restored as such.
6206
6207 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6208
6209 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6210 (Bug#14948)
6211
6212 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6213
6214 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6215 `base' arg of backtrace-frame.
6216
6217 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6218
6219 * simple.el (list-processes): Doc fix.
6220
6221 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6222
6223 * desktop.el (desktop--select-frame):
6224 Try harder to reuse existing frames.
6225
6226 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6227
6228 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6229 (edebug-eval): Use backtrace-eval.
6230 (edebug--display, edebug--recursive-edit): Don't let-bind the
6231 edebug-outer-* vars that keep track of variables we locally let-bind.
6232 (edebug-outside-excursion): Don't restore outside values of locally
6233 let-bound vars.
6234 (edebug--display): Use user-error.
6235 (cl-lexical-debug, cl-debug-env): Remove.
6236
6237 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6238
6239 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6240 are restored to be sure that they are visible before deleting any
6241 remaining ones.
6242
6243 2013-07-26 Matthias Meulien <orontee@gmail.com>
6244
6245 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6246 vc-print-root-log. (Bug#14948)
6247
6248 2013-07-26 Richard Stallman <rms@gnu.org>
6249
6250 Add aliases for encrypting mail.
6251 * epa.el (epa-mail-aliases): New option.
6252 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6253 Bind inhibit-read-only so read-only text doesn't ruin everything.
6254 (epa-mail-default-recipients): New subroutine broken out.
6255 Handle epa-mail-aliases.
6256
6257 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 Add support for lexical variables to the debugger's `e' command.
6260 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6261 vars, except for debugger-outer-match-data.
6262 (debugger-frame-number): Move check for "on a function call" from
6263 callers into it. Add `skip-base' argument.
6264 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6265 (debugger-env-macro): Only reset the state stored in non-variables,
6266 i.e. current-buffer and match-data.
6267 (debugger-eval-expression): Rewrite using backtrace-eval.
6268 * subr.el (internal--called-interactively-p--get-frame): Remove.
6269 (called-interactively-p):
6270 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6271 `base' arg of backtrace-frame instead.
6272
6273 2013-07-26 Glenn Morris <rgm@gnu.org>
6274
6275 * align.el (align-regexp): Doc fix. (Bug#14857)
6276 (align-region): Explicit error if subexpression missing/does not match.
6277
6278 * simple.el (global-visual-line-mode):
6279 Do not duplicate the mode lighter. (Bug#14858)
6280
6281 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6282
6283 * window.el (display-buffer): In display-buffer bind
6284 split-window-keep-point to t, bug#14829.
6285
6286 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6289 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6290 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6291 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6292 Change accordingly.
6293 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6294 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6295
6296 2013-07-25 Glenn Morris <rgm@gnu.org>
6297
6298 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6299
6300 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6301
6302 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6303 parameter to modify-frame-parameters if the value has not changed;
6304 this is a workaround for bug#14949.
6305 (desktop--make-frame): On cl-delete-if call, check parameter name,
6306 not full parameter.
6307
6308 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6309
6310 * vc/vc.el (vc-ignore): New function.
6311
6312 * vc/vc-svn.el (vc-svn-ignore): New function.
6313
6314 * vc/vc-hg.el (vc-hg-ignore): New function.
6315
6316 * vc/vc-git.el (vc-git-ignore): New function.
6317
6318 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6319 (vc-dir-ignore): New function.
6320
6321 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6322 (cvs-append-to-ignore): Move here from pcvs.el.
6323
6324 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6325
6326 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6327
6328 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6329
6330 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6331 (desktop-restore-frames): Warn when deleting an existing frame failed.
6332
6333 2013-07-24 Glenn Morris <rgm@gnu.org>
6334
6335 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6336
6337 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6338
6339 * filenotify.el (file-notify-supported-p):
6340 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6341 Remove functions.
6342
6343 * autorevert.el (auto-revert-use-notify):
6344 (auto-revert-notify-add-watch):
6345 * net/tramp.el (tramp-file-name-for-operation):
6346 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6347 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6348 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6349 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6350 Remove `file-notify-supported-p' entry.
6351
6352 2013-07-24 Glenn Morris <rgm@gnu.org>
6353
6354 * printing.el: Replace all uses of deleted ps-windows-system,
6355 ps-lp-system, ps-flatten-list with lpr- versions.
6356
6357 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6358
6359 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6360 checked with memq (bug#14935).
6361
6362 * files.el (revert-buffer-function): Use a non-nil default.
6363 (revert-buffer-preserve-modes): Declare var to
6364 provide access to the `preserve-modes' argument.
6365 (revert-buffer): Let-bind it.
6366 (revert-buffer--default): New function, extracted from revert-buffer.
6367
6368 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * lpr.el: Signal print errors more prominently.
6371 (print-region-function): Don't default to nil.
6372 (lpr-print-region): New function, extracted from print-region-1.
6373 Check lpr's return value and signal an error in case of problem.
6374 (print-region-1): Use it.
6375 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6376 versions instead.
6377 (ps-printer-name): Default to nil.
6378 (ps-printer-name-option): Default to lpr-printer-switch.
6379 (ps-print-region-function): Don't default to nil.
6380 (ps-postscript-code-directory): Simplify default.
6381 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6382 (ps-string-list, ps-eval-switch, ps-flatten-list)
6383 (ps-flatten-list-1): Remove.
6384 (ps-multibyte-buffer): Avoid setq.
6385 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6386 (print-region-function, ps-print-region-function): Don't set them here.
6387
6388 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6389
6390 * ido.el (ido-fractionp):
6391 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6392 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6393 (ido-max-directory-size, ido-max-dir-file-cache)
6394 (ido-decorations): Doc fix.
6395
6396 * ansi-color.el: Fix old URL.
6397
6398 2013-07-23 Michael R. Mauger <michael@mauger.com>
6399
6400 * progmodes/sql.el: Version 3.3
6401 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6402 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6403 (sql-interactive-remove-continuation-prompt): Rewrite, use
6404 functions above. Fix continuation prompt and complete output line
6405 handling.
6406 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6407 redirected output buffer.
6408 (sql-mode): Restore deleted code (Bug#13591).
6409
6410 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6411
6412 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6413
6414 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6415
6416 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6417
6418 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6419 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6420 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6421
6422 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6423
6424 * desktop.el (desktop-clear): Simplify; remove useless checks
6425 against invalid buffer names.
6426 (desktop-list*): Use cl-list*.
6427 (desktop-buffer-info, desktop-create-buffer): Simplify.
6428
6429 2013-07-23 Leo Liu <sdl.web@gmail.com>
6430
6431 * bookmark.el (bookmark-make-record): Restore NAME as a default
6432 value. (Bug#14933)
6433
6434 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6437 extracted from autoload--insert-text.
6438 (autoload--insert-text): Remove.
6439 (autoload--print-cookie-text): New function, extracted from
6440 autoload--insert-cookie-text.
6441 (autoload--insert-cookie-text): Remove.
6442 (autoload-generate-file-autoloads): Adjust calls accordingly.
6443
6444 * winner.el (winner-hook-installed-p): Remove.
6445 (winner-mode): Simplify accordingly.
6446
6447 * subr.el (add-to-list): Fix compiler-macro when `append' is
6448 not constant. Don't use `cl-member' for the base case.
6449
6450 * progmodes/subword.el: Fix boundary case (bug#13758).
6451 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6452 own group.
6453 (subword-backward-regexp): Make it a constant.
6454 (subword-forward-internal): Don't treat a trailing capital as the
6455 beginning of a word.
6456
6457 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6458
6459 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6460 global value of tabulated-list-revert-hook (bug#14930).
6461
6462 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * desktop.el: Require 'cl-lib.
6465 (desktop-before-saving-frames-functions): New hook.
6466 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6467 for frames being saved. Rename from desktop--save-minibuffer-frames.
6468 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6469 Do not save frames with non-nil `desktop-dont-save' parameter.
6470 Filter out deleted frames.
6471 (desktop--find-frame): Use cl-find-if.
6472 (desktop--select-frame): Use cl-(first|second|third) to access values
6473 of desktop-mini.
6474 (desktop--make-frame): Use cl-delete-if.
6475 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6476 (desktop-restore-frames): Use cl-(first|second|third) to access values
6477 of desktop-mini. Look for visible frame at the end, not while
6478 restoring frames.
6479
6480 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6481 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6482 Use string-match-p, looking-at-p (bug#14927).
6483
6484 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6485
6486 * desktop.el (desktop-saved-frame-states):
6487 Rename from desktop--saved-states; all users changed.
6488 (desktop-save-frames): Rename from desktop--save-frames.
6489 Do not save state to desktop file.
6490 (desktop-save): Save desktop-saved-frame-states to desktop file
6491 and reset to nil.
6492 (desktop-restoring-frames-p): New function.
6493 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6494 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6495 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6496
6497 * desktop.el: Correctly restore iconified frames.
6498 (desktop--filter-iconified-position): New function.
6499 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6500
6501 2013-07-20 Glenn Morris <rgm@gnu.org>
6502
6503 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6504 Let `message' do the formatting.
6505 (def-gdb-preempt-display-buffer): Add explicit format.
6506
6507 * image-dired.el (image-dired-track-original-file):
6508 Use with-current-buffer.
6509 (image-dired-track-thumbnail): Use with-current-buffer.
6510 Avoid changing point of wrong window.
6511
6512 * image-dired.el (image-dired-track-original-file):
6513 Avoid changing point of wrong window. (Bug#14909)
6514
6515 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6516
6517 * progmodes/gdb-mi.el (gdb-done-or-error):
6518 Guard against "%" in gdb output. (Bug#14127)
6519
6520 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6521
6522 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6523 (Bug#14826)
6524
6525 * international/mule.el (coding-system-iso-2022-flags): Fix last
6526 change.
6527
6528 2013-07-20 Kenichi Handa <handa@gnu.org>
6529
6530 * international/mule.el (coding-system-iso-2022-flags):
6531 Add `8-bit-level-4'. (Bug#8522)
6532
6533 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6534
6535 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6536 (bug#14815).
6537
6538 * net/eww.el (eww-process-text-input): Allow inputting when the
6539 point is at the start of the line, as the properties aren't
6540 front-sticky.
6541
6542 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6543 degenerate widths.
6544
6545 2013-07-19 Richard Stallman <rms@gnu.org>
6546
6547 * epa.el (epa-popup-info-window): Doc fix.
6548
6549 * subr.el (split-string): New arg TRIM.
6550
6551 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6552
6553 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6554 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6555
6556 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6557
6558 * filenotify.el (file-notify--library): Rename from
6559 `file-notify-support'. Do not autoload. Adapt all uses.
6560 (file-notify-supported-p): New defun.
6561
6562 * autorevert.el (auto-revert-use-notify):
6563 Use `file-notify-supported-p' instead of `file-notify-support'.
6564 Adapt docstring.
6565 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6566
6567 * net/tramp.el (tramp-file-name-for-operation):
6568 Add `file-notify-supported-p'.
6569
6570 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6571 New defun.
6572 (tramp-sh-file-name-handler-alist): Add it as handler for
6573 `file-notify-supported-p '.
6574
6575 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6576 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6577 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6578 Add `ignore' as handler for `file-notify-*' functions.
6579
6580 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6581
6582 * simple.el (line-move-partial, line-move): Don't start vscroll or
6583 scroll-up if the current line is not taller than the window.
6584 (Bug#14881)
6585
6586 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6587
6588 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6589 highlight question marks in the method names as strings.
6590 (ruby-block-beg-keywords): Inline.
6591 (ruby-font-lock-keyword-beg-re): Extract from
6592 `ruby-font-lock-keywords'.
6593
6594 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6595
6596 * frame.el (blink-cursor-blinks): New defcustom.
6597 (blink-cursor-blinks-done): New defvar.
6598 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6599 (blink-cursor-timer-function): Check if number of blinks has been
6600 done on X and NS.
6601 (blink-cursor-suspend, blink-cursor-check): New defuns.
6602
6603 2013-07-15 Glenn Morris <rgm@gnu.org>
6604
6605 * edmacro.el (edmacro-format-keys): Fix previous change.
6606
6607 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6608
6609 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6610 The hack didn't work outside English locales anyway.
6611
6612 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6613
6614 * simple.el (define-alternatives): Rename from alternatives-define,
6615 per RMS' suggestion.
6616
6617 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6618
6619 * desktop.el (desktop-restore-frames): Change default to t.
6620 (desktop-restore-in-current-display): Now offer more options.
6621 (desktop-restoring-reuses-frames): New customization option.
6622 (desktop--saved-states): Doc fix.
6623 (desktop-filter-parameters-alist): New variable, renamed and expanded
6624 from desktop--excluded-frame-parameters.
6625 (desktop--target-display): New variable.
6626 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6627 (desktop--filter-tty*, desktop--filter-*-color)
6628 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6629 (desktop--filter-save-desktop-parm)
6630 (desktop-restore-in-original-display-p): New functions.
6631 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6632 (desktop--save-minibuffer-frames): New function, inspired by a similar
6633 function from Martin Rudalics.
6634 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6635 (desktop--restore-in-this-display-p): Remove.
6636 (desktop--find-frame): Rename from desktop--find-frame-in-display
6637 and add predicate argument.
6638 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6639 (desktop--reuse-list): New variable.
6640 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6641 New functions.
6642 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6643
6644 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6645
6646 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6647
6648 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6649
6650 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6651 Highlight conversion methods on Kernel.
6652
6653 2013-07-13 Alan Mackenzie <acm@muc.de>
6654
6655 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6656 and comment it out. This out-commenting enables certain C++
6657 declarations to be parsed correctly.
6658
6659 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6660
6661 * international/mule.el (define-coding-system): Doc fix.
6662
6663 * simple.el (default-font-height): Don't call font-info if the
6664 frame's default font didn't change since the frame was created.
6665 (Bug#14838)
6666
6667 2013-07-13 Leo Liu <sdl.web@gmail.com>
6668
6669 * ido.el (ido-read-file-name): Guard against non-symbol value.
6670
6671 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6672
6673 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6674 in nested defuns.
6675
6676 2013-07-13 Leo Liu <sdl.web@gmail.com>
6677
6678 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6679 ido-set-matches call. (Bug#6852)
6680
6681 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6682
6683 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6684 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6685 Ruby 2.0.
6686 (ruby-font-lock-keywords): Distinguish calls to functions with
6687 module-like names from module references. Highlight character
6688 literals.
6689
6690 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6691
6692 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6693 (gdb-send): Handle continued commands. (Bug#14847)
6694
6695 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6696
6697 * desktop.el (desktop--v2s): Remove unused local variable.
6698 (desktop-save-buffer): Make defvar-local; adjust docstring.
6699 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6700 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6701
6702 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6703
6704 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6705
6706 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6707
6708 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6709 (Bug#14842)
6710
6711 2013-07-12 Glenn Morris <rgm@gnu.org>
6712
6713 * doc-view.el: Require cl-lib at runtime too.
6714 (doc-view-remove-if): Remove.
6715 (doc-view-search-next-match, doc-view-search-previous-match):
6716 Use cl-remove-if.
6717
6718 * edmacro.el: Require cl-lib at runtime too.
6719 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6720 (edmacro-mismatch, edmacro-subseq): Remove.
6721
6722 * shadowfile.el: Require cl-lib.
6723 (shadow-remove-if): Remove.
6724 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6725 Use cl-remove-if.
6726
6727 * wid-edit.el: Require cl-lib.
6728 (widget-choose): Use cl-remove-if.
6729 (widget-remove-if): Remove.
6730
6731 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6732 (ebrowse-delete-if-not): Remove.
6733 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6734 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6735 Use cl-delete-if-not.
6736
6737 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6738
6739 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6740 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6741
6742 2013-07-12 Leo Liu <sdl.web@gmail.com>
6743
6744 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6745
6746 2013-07-11 Glenn Morris <rgm@gnu.org>
6747
6748 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6749 (edebug-gensym-index, edebug-gensym):
6750 Remove reimplementation of cl-gensym.
6751 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6752
6753 * thumbs.el: Require cl-lib at run-time too.
6754 (thumbs-gensym-counter, thumbs-gensym):
6755 Remove reimplementation of cl-gensym.
6756 (thumbs-temp-file): Use cl-gensym.
6757
6758 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6759 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6760 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6761 (ert--union, ert--gensym-counter, ert--gensym-counter)
6762 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6763 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6764 (ert-make-test-unbound, ert--expand-should-1)
6765 (ert--expand-should, ert--should-error-handle-error)
6766 (should-error, ert--explain-equal-rec)
6767 (ert--plist-difference-explanation, ert-select-tests)
6768 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6769 Use cl-lib functions rather than reimplementations.
6770
6771 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6772
6773 * net/tramp.el (tramp-methods): Extend docstring.
6774 (tramp-connection-timeout): New defcustom.
6775 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6776 (with-tramp-progress-reporter): Simplify.
6777 (tramp-process-actions): Improve messages.
6778
6779 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6780 * net/tramp-sh.el (tramp-maybe-open-connection):
6781 Use `tramp-connection-timeout'.
6782 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6783 (Bug#14808)
6784
6785 2013-07-11 Leo Liu <sdl.web@gmail.com>
6786
6787 * ido.el (ido-read-file-name): Conform to the requirements of
6788 read-file-name. (Bug#11861)
6789 (ido-read-directory-name): Conform to the requirements of
6790 read-directory-name.
6791
6792 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6793
6794 * subr.el (delay-warning): New function.
6795
6796 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6797
6798 * simple.el (default-line-height): New function.
6799 (line-move-partial, line-move): Use it instead of computing the
6800 line height inline.
6801 (line-move-partial): Always compute ROWH. If the last line is
6802 partially-visible, but its text is completely visible, allow
6803 cursor to enter such a partially-visible line.
6804
6805 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6806
6807 Improve error messages. (Bug#14808)
6808
6809 * net/tramp.el (tramp-current-connection): New defvar, moved from
6810 tramp-sh.el.
6811 (tramp-message-show-progress-reporter-message): Remove, not
6812 needed anymore.
6813 (tramp-error-with-buffer): Show message in minibuffer.
6814 Discard input before waiting. Reset connection timestamp.
6815 (with-tramp-progress-reporter): Improve messages.
6816 (tramp-process-actions): Use progress reporter. Delete process in
6817 case of error. Improve messages.
6818
6819 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6820 Call `tramp-error-with-buffer' with vector and buffer.
6821 (tramp-current-connection): Remove.
6822 (tramp-maybe-open-connection): The car of
6823 `tramp-current-connection' are the first 3 slots of the vector.
6824
6825 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6826
6827 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6828 inside continued strings.
6829
6830 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6831
6832 Timestamp fixes for undo (Bug#14824).
6833 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6834
6835 2013-07-10 Leo Liu <sdl.web@gmail.com>
6836
6837 * files.el (require-final-newline): Allow safe local value.
6838 (Bug#14834)
6839
6840 2013-07-09 Leo Liu <sdl.web@gmail.com>
6841
6842 * ido.el (ido-read-directory-name): Handle fallback.
6843 (ido-read-file-name): Update DIR to ido-current-directory.
6844 (Bug#1516)
6845 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6846
6847 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6848
6849 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6850 "autoload". Remove "warn lower camel case" section, previously
6851 commented out. Highlight negation char. Do not highlight the
6852 target in singleton method definitions.
6853
6854 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * faces.el (tty-setup-hook): Declare the hook.
6857
6858 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6859 and detect when a guard/pred depends on local vars (bug#14773).
6860 (pcase--u1): Adjust caller.
6861
6862 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6863
6864 * simple.el (line-move-partial, line-move): Account for
6865 line-spacing.
6866 (line-move-partial): Avoid setting vscroll when the last
6867 partially-visible line in window is of default height.
6868
6869 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6870
6871 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6872 been used a while.
6873
6874 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6875
6876 * subr.el (read-quoted-char): Remove unused local variable `char'.
6877
6878 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6879
6880 * ediff.el (ediff-version): Version update.
6881 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6882 (ediff-merge-with-ancestor-command, ediff-directories-command)
6883 (ediff-directories3-command, ediff-merge-directories-command)
6884 (ediff-merge-directories-with-ancestor-command): New functions.
6885 All are command-line interfaces to ediff: to facilitate calling
6886 Emacs with the appropriate ediff functions invoked.
6887
6888 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6889 (viper-save-kill-buffer): Check if buffer is modified.
6890
6891 * viper.el (viper-version): Version update.
6892 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6893
6894 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6895
6896 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6897 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6898 (viper-intercept-ESC-key): Simplify.
6899 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6900 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6901 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6902 (viper-setup-ESC-to-escape): New functions.
6903 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6904 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6905
6906 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6907
6908 * simple.el (default-font-height, window-screen-lines):
6909 New functions.
6910 (line-move, line-move-partial): Use them instead of
6911 frame-char-height and window-text-height. This makes scrolling
6912 text smoother when the buffer's default face uses a font that is
6913 different from the frame's default font.
6914
6915 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6916
6917 * files.el (write-file): Do not display confirm dialog for NS,
6918 it does its own dialog, which can't be cancelled (Bug#14578).
6919
6920 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6921
6922 * simple.el (line-move-partial): Adjust the row returned by
6923 posn-at-point for the current window-vscroll. (Bug#14567)
6924
6925 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6926
6927 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6928 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6929 spaces.
6930
6931 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6932
6933 * window.el (window-state-put-stale-windows): New variable.
6934 (window--state-put-2): Save list of windows without matching buffer.
6935 (window-state-put): Remove "bufferless" windows if possible.
6936
6937 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6938
6939 * simple.el (alternatives-define): Remove leftover :group keyword.
6940 Tweak docstring.
6941
6942 2013-07-06 Leo Liu <sdl.web@gmail.com>
6943
6944 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6945 (ido-enable-virtual-buffers): New variable.
6946 (ido-buffer-internal, ido-toggle-virtual-buffers)
6947 (ido-make-buffer-list): Use it.
6948 (ido-exhibit): Support turning on and off virtual buffers
6949 automatically.
6950
6951 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6952
6953 * simple.el (alternatives-define): New macro.
6954
6955 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * subr.el (read-quoted-char): Use read-key.
6958 (sit-for): Let read-event decode tty input (bug#14782).
6959
6960 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6961
6962 * calendar/todo-mode.el: Add handling of file deletion, both by
6963 mode command and externally. Fix various related bugs.
6964 Clarify Commentary and improve some documentation strings and code.
6965 (todo-delete-file): New command.
6966 (todo-check-file): New function.
6967 (todo-show): Handle external deletion of the file we're trying to
6968 show (bug#14688). Replace called-interactively-p by an optional
6969 prefix argument to avoid problematic interaction with catch form
6970 when byte compiled (bug#14702).
6971 (todo-quit): Handle external deletion of the archive's todo file.
6972 Make sure the buffer that was visiting the archive file is still
6973 live before trying to bury it.
6974 (todo-category-completions): Handle external deletion of any
6975 category completion files.
6976 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6977 of todo files, in case of external deletion.
6978 (todo-add-file): Replace unnecessary setq by let-binding.
6979 (todo-find-archive): Check whether there are any archives.
6980 Replace unnecessary setq by let-binding.
6981 (todo-archive-done-item): Use find-file-noselect to get the
6982 archive buffer whether or not the archive already exists.
6983 Remove superfluous code. Use file size instead of buffer-file-name to
6984 check if the archive is new; if it is, update list of archives.
6985 (todo-default-todo-file): Allow nil to be a valid value for when
6986 there are no todo files.
6987 (todo-reevaluate-default-file-defcustom): Use corrected definition
6988 of todo-default-todo-file.
6989 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6990 (todo-delete-category, todo-show-categories-table)
6991 (todo-category-number): Clarify comment.
6992 (todo-filter-items): Clarify documentation string.
6993 (todo-show-current-file, todo-display-as-todo-file)
6994 (todo-reset-and-enable-done-separator): Tweak documentation string.
6995 (todo-done-separator): Make separator length window-width, since
6996 bug#2749 is now fixed.
6997
6998 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6999
7000 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7001 Support both "gvfs-monitor-dir" and "inotifywait".
7002 (tramp-sh-file-inotifywait-process-filter): Rename from
7003 `tramp-sh-file-notify-process-filter'.
7004 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7005 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7006
7007 2013-07-05 Leo Liu <sdl.web@gmail.com>
7008
7009 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7010
7011 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7012
7013 * frame.el (display-pixel-height, display-pixel-width)
7014 (display-mm-height, display-mm-width): Mention behavior on
7015 multi-monitor setups in docstrings.
7016 (w32-display-monitor-attributes-list): Declare function.
7017 (display-monitor-attributes-list): Use it.
7018
7019 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7020
7021 * filenotify.el: New package.
7022
7023 * autorevert.el (top): Require filenotify.el.
7024 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7025 instead.
7026 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7027 (auto-revert-notify-handler): Use `file-notify-*' functions.
7028
7029 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7030
7031 * net/tramp.el (tramp-file-name-for-operation):
7032 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7033
7034 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7035 for `file-notify-add-watch' and `file-notify-rm-watch'.
7036 (tramp-process-sentinel): Improve trace.
7037 (tramp-sh-handle-file-notify-add-watch)
7038 (tramp-sh-file-notify-process-filter)
7039 (tramp-sh-handle-file-notify-rm-watch)
7040 (tramp-get-remote-inotifywait): New defuns.
7041
7042 2013-07-03 Juri Linkov <juri@jurta.org>
7043
7044 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7045 call of `occur-read-primary-args' to interactive spec.
7046
7047 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7048 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7049
7050 2013-07-03 Matthias Meulien <orontee@gmail.com>
7051
7052 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7053 `Buffer-menu-multi-occur'. Add it to the menu.
7054 (Buffer-menu-mode): Document it in docstring.
7055 (Buffer-menu-multi-occur): New command. (Bug#14673)
7056
7057 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7058
7059 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7060 keywords and built-ins.
7061
7062 2013-07-03 Glenn Morris <rgm@gnu.org>
7063
7064 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7065
7066 Make info-xref checks case-sensitive by default
7067 * info.el (Info-find-node, Info-find-in-tag-table)
7068 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7069 Add option for exact case matching of nodes.
7070 * info-xref.el (info-xref): New custom group.
7071 (info-xref-case-fold): New option.
7072 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7073
7074 2013-07-03 Leo Liu <sdl.web@gmail.com>
7075
7076 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7077
7078 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7079
7080 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7081 middle of block statement initially, lower the depth. Remove
7082 FIXME comment, not longer valid. Remove middle of block statement
7083 detection, no need to do that anymore since we've been using
7084 `ruby-parse-region' here.
7085
7086 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7087
7088 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7089
7090 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7091
7092 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7093
7094 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7095
7096 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7097 (desktop-restore-in-current-display): New customization option.
7098 (desktop--excluded-frame-parameters): Add `font'.
7099 (desktop--save-frames): Rename from desktop--save-windows.
7100 (desktop--restore-in-this-display-p): New function.
7101 (desktop--make-full-frame): Remove unwanted width/height from
7102 full(width|height) frames.
7103 (desktop--restore-frames): Rename from desktop--restore-windows.
7104 Obey desktop-restore-current-display. Do not delete old frames or
7105 select a new frame unless we were able to restore at least one frame.
7106
7107 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7108
7109 * files.el (find-file-noselect): Simplify conditional expression.
7110
7111 * remember.el (remember-append-to-file):
7112 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7113
7114 Add `remember-notes' function to store random notes across Emacs
7115 restarts.
7116 * remember.el (remember-data-file): Add :set callback to affect
7117 notes buffer (if any).
7118 (remember-notes): New command.
7119 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7120 New defcustoms for the `remember-notes' function.
7121 (remember-notes-save-and-bury-buffer): New command.
7122 (remember-notes-mode-map): New variable.
7123 (remember-mode): New minor mode.
7124 (remember-notes--kill-buffer-query): New function.
7125 * startup.el (initial-buffer-choice): Add notes to custom type.
7126
7127 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7128
7129 * bindings.el (right-char, left-char): Don't call sit-for, this is
7130 no longer needed. Use arithmetic comparison only for numerical
7131 arguments.
7132
7133 * international/mule-cmds.el (select-safe-coding-system):
7134 Handle the case of FROM being a string correctly. (Bug#14755)
7135
7136 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7137
7138 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7139 progression on degenerate tables.
7140 (shr-rescale-image): ImageMagick animated images currently don't work.
7141
7142 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7143
7144 Some fixes and improvements for desktop frame restoration.
7145 It is still experimental and disabled by default.
7146 * desktop.el (desktop--save-windows): Put the selected frame at
7147 the head of the list.
7148 (desktop--make-full-frame): New function.
7149 (desktop--restore-windows): Try to re-select the frame that was
7150 selected upon saving. Do not abort if some frames fail to restore,
7151 just show an error message and continue. Set up maximized frames
7152 so they have default non-maximized dimensions.
7153
7154 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7155
7156 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7157 Don't start heredoc inside a string or comment.
7158
7159 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7160
7161 * bindings.el (visual-order-cursor-movement): New defcustom.
7162 (right-char, left-char): Provide visual-order cursor motion by
7163 calling move-point-visually. Update the doc strings.
7164
7165 2013-06-28 Kenichi Handa <handa@gnu.org>
7166
7167 * international/mule.el (define-coding-system): New coding system
7168 properties :inhibit-null-byte-detection,
7169 :inhibit-iso-escape-detection, and :prefer-utf-8.
7170 (set-buffer-file-coding-system): If :charset-list property of
7171 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7172 appropriate for setting.
7173
7174 * international/mule-cmds.el (select-safe-coding-system):
7175 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7176 multibyte characters, return utf-8 (or one of its siblings).
7177
7178 * international/mule-conf.el (prefer-utf-8): New coding system.
7179 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7180 files.
7181
7182 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7183
7184 * net/shr.el (shr-render-region): New function.
7185
7186 * net/eww.el: Autoload `eww-browse-url'.
7187
7188 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7189
7190 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7191 Adapt to `package-desc-version' being a list.
7192 Use `package--ac-desc-version' to retrieve version from a package
7193 archive element.
7194
7195 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7196
7197 New experimental feature to save&restore window and frame setup.
7198 * desktop.el (desktop-save-windows): New defcustom.
7199 (desktop--saved-states): New var.
7200 (desktop--excluded-frame-parameters): New defconst.
7201 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7202 (desktop--restore-windows, desktop--save-windows): New functions.
7203 (desktop-save): Call `desktop--save-windows'.
7204 (desktop-read): Call `desktop--restore-windows'.
7205
7206 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7207
7208 * net/shr.el (add-face-text-property): Remove compat definition.
7209
7210 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7211
7212 * info.el (Info-try-follow-nearest-node): Move search for footnote
7213 above search for node name to prevent missing a footnote (bug#14717).
7214
7215 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7216
7217 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7218
7219 2013-06-27 Leo Liu <sdl.web@gmail.com>
7220
7221 * net/eww.el (eww-read-bookmarks): Check file size.
7222
7223 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7226 advice--pending if newdef is nil or an autoload (bug#13820).
7227 (advice-mapc): New function.
7228
7229 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7230
7231 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7232 probably.
7233 (eww-mode-map): Add a menu bar.
7234 (eww-add-bookmark): New command.
7235 (eww-bookmark-mode): New mode and commands.
7236 (eww-add-bookmark): Remove newlines from the title.
7237 (eww-bookmark-browse): Don't bug out if it's the only window.
7238
7239 2013-06-26 Glenn Morris <rgm@gnu.org>
7240
7241 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7242 (hfy-size): Handle ttys. (Bug#14668)
7243
7244 * info-xref.el: Update for Texinfo 5 change in *note format.
7245 (info-xref-node-re, info-xref-note-re): New constants.
7246 (info-xref-check-buffer): Use info-xref-note-re.
7247
7248 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7251
7252 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7253 nil terminate the loop (bug#14718).
7254
7255 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7256
7257 * net/eww.el: Rework history traversal. When going forward/back,
7258 put these actions into the history, too, so that they can be
7259 replayed.
7260 (eww-render): Move the history reset to the correct buffer.
7261
7262 2013-06-25 Juri Linkov <juri@jurta.org>
7263
7264 * files-x.el (modify-dir-local-variable): Change the header comment
7265 in the file with directory local variables. (Bug#14692)
7266
7267 * files-x.el (read-file-local-variable-value): Add `default'.
7268 (Bug#14710)
7269
7270 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7271
7272 * net/eww.el (eww-make-unique-file-name): Create a unique file
7273 name before saving to entering `y' accidentally asynchronously.
7274
7275 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7276
7277 * net/eww.el (eww-download): New command and keystroke.
7278
7279 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7280
7281 * net/eww.el (eww-copy-page-url): Change name of command.
7282
7283 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7284 be more consistent with Info and dired.
7285
7286 * net/eww.el (eww-mode-map): Ditto.
7287
7288 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7289
7290 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7291 packages from archives.
7292 (package-archive-contents): Change format; include obsolete packages.
7293 (package-desc): Use `dir' to mark builtin packages.
7294 (package--from-builtin): Set the `dir' field to `builtin'.
7295 (generated-autoload-file, version-control): Declare.
7296 (package-compute-transaction): Change first arg and return value to be
7297 lists of package-descs. Adjust to new package-archive-contents format.
7298 (package--add-to-archive-contents): Adjust to new
7299 package-archive-contents format.
7300 (package-download-transaction): Arg is now a list of package-descs.
7301 (package-install): If `pkg' is a package name, pass it as
7302 a requirement, so it is subject to the usual (e.g. disabled) checks.
7303 (describe-package): Accept package-desc as well.
7304 (describe-package-1): Describe a specific package-desc. Add links to
7305 other package-descs for the same package name.
7306 (package-menu-describe-package): Pass the actual package-desc.
7307 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7308 works correctly.
7309 (package-desc-status): New function.
7310 (package-menu--refresh): New function, extracted
7311 from package-menu--generate.
7312 (package-menu--generate): Use it.
7313 (package-delete): Update package-alist.
7314 (package-menu-execute): Don't call package-initialize.
7315
7316 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7317 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7318 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7319 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7320 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7321 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7322
7323 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7324
7325 * window.el (window--state-get-1): Workaround for bug#14527.
7326 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7327
7328 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7329
7330 * net/eww.el (eww-back-url): Implement the history by stashing all
7331 the data into a list.
7332 (eww-forward-url): Allow going forward in the history, too.
7333
7334 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7337 for values and use read--expression for expressions (bug#14710).
7338 (read-file-local-variable): Avoid setq.
7339 (read-file-local-variable-mode): Use minor-mode-list.
7340
7341 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7342
7343 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7344 for DOI URLs.
7345
7346 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7347
7348 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7349 Update imenu-support when dialect changes.
7350
7351 2013-06-25 Leo Liu <sdl.web@gmail.com>
7352
7353 * ido.el (ido-read-internal): Allow forward slash on windows.
7354
7355 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7356
7357 * net/eww.el (eww): Start of strings is \\`, not ^.
7358
7359 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7360
7361 * net/shr.el (shr-browse-url): Fix interactive spec.
7362
7363 * net/eww.el (eww): Add a trailing slash to domain names.
7364
7365 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7366
7367 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7368
7369 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7370
7371 * net/shr.el (shr-browse-url): Use an external browser if given a
7372 prefix.
7373
7374 * net/eww.el (eww-external-browser): Move to shr.
7375
7376 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7377
7378 * net/eww.el (eww): Work more correctly for file: URLs.
7379 (eww-detect-charset): Allow quoted charsets.
7380 (eww-yank-page-url): New command and keystroke.
7381
7382 2013-06-24 Daiki Ueno <ueno@gnu.org>
7383
7384 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7385 file name of gpg executable.
7386 (epg-context-program): New function.
7387 (epg-context-home-directory): New function.
7388 (epg-context-set-program): New function.
7389 (epg-context-set-home-directory): New function.
7390 (epg--start): Use `epg-context-program' instead of
7391 'epg-gpg-program'.
7392 (epg--list-keys-1): Likewise.
7393
7394 2013-06-24 Leo Liu <sdl.web@gmail.com>
7395
7396 * ido.el (ido-read-internal): Fix bug#14620.
7397
7398 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7399
7400 * faces.el (face-documentation): Simplify.
7401 (read-face-attribute, tty-find-type, x-resolve-font-name):
7402 Use `string-match-p'.
7403 (list-faces-display): Use `string-match-p'. Simplify.
7404 (face-spec-recalc): Check face to avoid face alias loops.
7405 (read-color): Use `string-match-p' and non-capturing parenthesis.
7406
7407 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7408
7409 * net/shr.el (shr-rescale-image): Use the new
7410 :max-width/:max-height functionality.
7411
7412 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7413
7414 * net/eww.el (eww-search-prefix): New variable.
7415 (eww): Use it.
7416 (eww-external-browser): New variable.
7417 (eww-mode-map): New keystroke.
7418 (eww-browse-with-external-browser): New command.
7419
7420 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7421
7422 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7423
7424 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7425 Don't skip aligning the next header field when padding is 0;
7426 otherwise, field width is not respected unless the title is as
7427 wide as the field.
7428
7429 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7430
7431 * emacs-lisp/package.el (package-el-version): Remove.
7432 (package-process-define-package): Fix inf-loop.
7433 (package-install): Allow symbols as arguments again.
7434
7435 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7436
7437 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7438 add some more keyword-like methods.
7439 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7440
7441 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7442
7443 * bs.el (bs-buffer-show-mark): Make defvar-local.
7444 (bs-mode): Use setq-local.
7445
7446 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7447 (emacs-lock--try-unlocking): Make defvar-local.
7448
7449 2013-06-22 Glenn Morris <rgm@gnu.org>
7450
7451 * play/cookie1.el (cookie-apropos): Minor simplification.
7452
7453 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7454
7455 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7456
7457 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7458 `regexp-opt', it breaks the build during dumping.
7459
7460 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7461
7462 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7463 Highlight keyword-like methods on Kernel and Module with
7464 font-lock-builtin-face.
7465 (auto-mode-alist): Consolidate different entries into one regexp
7466 and add more *file-s.
7467
7468 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7469
7470 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7471
7472 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7473 (diary-entry): Use it in the action of this button type instead of
7474 diary-goto-entry.
7475
7476 * calendar/todo-mode.el: New version.
7477 (todo-add-category): Append new category to end of file and give
7478 it the highest number, instead of putting it at the beginning and
7479 giving it 0. Incorporate noninteractive functionality.
7480 (todo-forward-category): Adapt to 1-based category numbering.
7481 Allow skipping over archived categories.
7482 (todo-backward-category): Derive from todo-forward-category.
7483 (todo-backward-item, todo-forward-item): Make noninteractive and
7484 delegate interactive part to new commands. Make sensitive to done items.
7485 (todo-categories): Make value an alist of category names and
7486 vectors of item counts.
7487 (todo-category-beg): Make a defconst.
7488 (todo-category-number): Use 1 instead of 0 as initial value.
7489 (todo-category-select): Make sensitive to overlays, optional item
7490 highlighting and done items.
7491 (todo-delete-item): Make sensitive to overlays and marked and done items.
7492 (todo-edit-item): Make sensitive to overlays and editing of
7493 date/time header optional. Add format checks.
7494 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7495 no-op if point is not on an item. Advertise using todo-edit-quit.
7496 (todo-edit-mode): Make sensitive to new format, font-locking, and
7497 multiple todo files.
7498 (todo-insert-item, todo-insert-item-here): Derive from
7499 todo-basic-insert-item and extend functionality.
7500 (todo-item-end, todo-item-start): Make sensitive to done items.
7501 (todo-item-string): Don't return text properties. Restore point.
7502 (todo-jump-to-category): Make sensitive to multiple todo files and
7503 todo archives. Use extended category completion.
7504 (todo-lower-item, todo-raise-item): Rename to *-priority and
7505 derive from todo-set-item-priority.
7506 (todo-mode): Derive from special-mode. Make sensitive to new
7507 format, font-locking and multiple todo files. Make read-only.
7508 (todo-mode-map): Don't suppress digit keys, so they can supply
7509 prefix arguments. Add many new key bindings.
7510 (todo-prefix): Insert as an overlay instead of file text.
7511 Change semantics from diary date expression to purely visual mark.
7512 (todo-print): Rename to todo-print-buffer. Make buffer display
7513 features printable. Remove option to restrict number of items
7514 printed. Add option to print to file.
7515 (todo-print-function): Rename to todo-print-buffer-function.
7516 (todo-quit): Extend to handle exiting new todo modes.
7517 (todo-remove-item): Make sensitive to overlays.
7518 (todo-save): Extend to buffers of filtered items.
7519 (todo-show): Make sensitive to done items, multiple todo files and
7520 new todo modes. Offer to convert legacy todo file before creating
7521 first new todo file.
7522 (todo-show-priorities): Rename to todo-top-priorities.
7523 Change semantics of value 0.
7524 (todo-top-priorities): Rename to todo-filter-top-priorities,
7525 derive from todo-filter-items and extend functionality.
7526 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7527 and extend functionality to other types of filtered items.
7528 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7529 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7530 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7531 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7532 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7533 (todo-edit-mode-hook, todo-entry-prefix-function)
7534 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7535 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7536 (todo-initials, todo-insert-threshold, todo-item-string-start)
7537 (todo-line-string, todo-menu, todo-mode-hook)
7538 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7539 (todo-print-priorities, todo-remove-separator)
7540 (todo-save-top-priorities-too, todo-string-count-lines)
7541 (todo-string-multiline-p, todo-time-string-format)
7542 (todo-tmp-buffer-name): Remove.
7543 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7544 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7545 (todo-edit-category-diary-inclusion)
7546 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7547 (todo-edit-file, todo-edit-item-date-day)
7548 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7549 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7550 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7551 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7552 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7553 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7554 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7555 (todo-filter-top-priorities-multifile, todo-find-archive)
7556 (todo-find-filtered-items-file, todo-go-to-source-item)
7557 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7558 (todo-jump-to-archive-category, todo-lower-category)
7559 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7560 (todo-move-category, todo-move-item, todo-next-button)
7561 (todo-next-item, todo-padded-string, todo-powerset)
7562 (todo-previous-button, todo-previous-item)
7563 (todo-print-buffer-to-file, todo-raise-category)
7564 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7565 (todo-set-category-number, todo-set-item-priority)
7566 (todo-set-top-priorities-in-category)
7567 (todo-set-top-priorities-in-file, todo-show-categories-table)
7568 (todo-sort-categories-alphabetically-or-numerically)
7569 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7570 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7571 (todo-toggle-item-header, todo-toggle-item-highlighting)
7572 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7573 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7574 (todo-unarchive-items, todo-unmark-category): New commands.
7575 (todo-absolute-file-name, todo-add-to-buffer-list)
7576 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7577 (todo-basic-insert-item, todo-category-completions)
7578 (todo-category-number, todo-category-string-matcher-1)
7579 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7580 (todo-check-format, todo-clear-matches)
7581 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7582 (todo-current-category, todo-date-string-matcher)
7583 (todo-define-insertion-command, todo-diary-expired-matcher)
7584 (todo-diary-goto-entry, todo-diary-item-p)
7585 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7586 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7587 (todo-done-item-section-p, todo-done-separator)
7588 (todo-done-string-matcher, todo-files, todo-filter-items)
7589 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7590 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7591 (todo-insert-category-line, todo-insert-item-from-calendar)
7592 (todo-insert-sort-button, todo-insert-with-overlays)
7593 (todo-insertion-command-name, todo-insertion-key-bindings)
7594 (todo-label-to-key, todo-longest-category-name-length)
7595 (todo-make-categories-list, todo-mode-external-set)
7596 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7597 (todo-modes-set-3, todo-multiple-filter-files)
7598 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7599 (todo-read-category, todo-read-date, todo-read-dayname)
7600 (todo-read-file-name, todo-read-time)
7601 (todo-reevaluate-category-completions-files-defcustom)
7602 (todo-reevaluate-default-file-defcustom)
7603 (todo-reevaluate-filelist-defcustoms)
7604 (todo-reevaluate-filter-files-defcustom)
7605 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7606 (todo-reset-done-separator, todo-reset-done-separator-string)
7607 (todo-reset-done-string, todo-reset-global-current-todo-file)
7608 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7609 (todo-reset-prefix, todo-set-categories)
7610 (todo-set-date-from-calendar, todo-set-show-current-file)
7611 (todo-set-top-priorities, todo-short-file-name)
7612 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7613 (todo-total-item-counts, todo-update-buffer-list)
7614 (todo-update-categories-display, todo-update-categories-sexp)
7615 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7616 New functions.
7617 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7618 New major modes.
7619 (todo-categories, todo-display, todo-edit, todo-faces)
7620 (todo-filtered): New defgroups.
7621 (todo-archived-only, todo-button, todo-category-string, todo-date)
7622 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7623 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7624 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7625 (todo-add-item-if-new-category, todo-always-add-time-string)
7626 (todo-categories-align, todo-categories-archived-label)
7627 (todo-categories-category-label, todo-categories-diary-label)
7628 (todo-categories-done-label, todo-categories-number-separator)
7629 (todo-categories-todo-label, todo-categories-totals-label)
7630 (todo-category-completions-files, todo-completion-ignore-case)
7631 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7632 (todo-done-separator-string, todo-done-string)
7633 (todo-files-function, todo-filter-done-items, todo-filter-files)
7634 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7635 (todo-initial-category, todo-initial-file, todo-item-mark)
7636 (todo-legacy-date-time-regexp, todo-mode-line-function)
7637 (todo-nondiary-marker, todo-number-prefix)
7638 (todo-print-buffer-function, todo-show-current-file)
7639 (todo-show-done-only, todo-show-first, todo-show-with-done)
7640 (todo-skip-archived-categories, todo-top-priorities-overrides)
7641 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7642 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7643 New defcustoms.
7644 (todo-category-done, todo-date-pattern, todo-date-string-start)
7645 (todo-diary-items-buffer, todo-done-string-start)
7646 (todo-filtered-items-buffer, todo-item-start)
7647 (todo-month-abbrev-array, todo-month-name-array)
7648 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7649 (todo-top-priorities-buffer): New defconsts.
7650 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7651 (todo-categories-with-marks, todo-category-string-face)
7652 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7653 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7654 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7655 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7656 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7657 (todo-font-lock-keywords, todo-global-current-todo-file)
7658 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7659 (todo-insertion-commands-args)
7660 (todo-insertion-commands-args-genlist)
7661 (todo-insertion-commands-names, todo-insertion-map)
7662 (todo-key-bindings-t, todo-key-bindings-t+a)
7663 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7664 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7665 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7666 (todo-visited): New variables.
7667
7668 2013-06-21 Glenn Morris <rgm@gnu.org>
7669
7670 * play/cookie1.el (cookie-apropos): Add optional display argument.
7671 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7672 (psychoanalyze-pinhead): Use cookie-doctor.
7673
7674 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7675
7676 * emacs-lisp/package.el (tar-get-file-descriptor)
7677 (tar--extract): Declare.
7678
7679 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7680
7681 Extend flymake's warning predicate to be a function (bug#14217).
7682 * progmodes/flymake.el (flymake-warning-predicate): New.
7683 (flymake-parse-line): Use it.
7684 (flymake-warning-re): Make obsolete alias to
7685 `flymake-warning-predicate'.
7686
7687 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7688
7689 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7690 (package-obsolete-list): Remove.
7691 (package-activate): Remove min-version argument. Add `force' argument.
7692 Adjust to new package-alist format.
7693 (package-mark-obsolete): Remove.
7694 (package-unpack): Force reload of the package's autoloads.
7695 (package-installed-p): Check builtins if the installed package is not
7696 recent enough.
7697 (package-initialize): Don't reset package-obsolete-list.
7698 Don't specify which package version to activate.
7699 (package-process-define-package, describe-package-1)
7700 (package-menu--generate): Adjust to new package-alist format.
7701
7702 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7703
7704 * allout-widgets.el (allout-widgets-mode-off)
7705 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7706 (allout-widgets-post-command-business)
7707 (allout-widgets-after-copy-or-kill-function)
7708 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7709 (allout-decorate-item-and-context)
7710 (allout-graphics-modification-handler): Fix typos in docstrings.
7711 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7712
7713 * cmuscheme.el (scheme-start-file): Doc fix.
7714 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7715 (scheme-input-filter): Use `string-match-p'.
7716
7717 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7718
7719 * dired-x.el: Use Dired consistently in docstrings.
7720
7721 * dired.el: Use Dired consistently in docstrings.
7722 (dired-readin, dired-mode): Use `setq-local'.
7723 (dired-switches-alist): Make defvar-local.
7724 (dired-buffers-for-dir): Use `zerop'.
7725 (dired-safe-switches-p, dired-switches-escape-p)
7726 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7727 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7728 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7729 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7730 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7731 (dired-toggle-marks, dired-mark-files-containing-regexp)
7732 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7733 (dired-flag-auto-save-files, dired-flag-backup-files):
7734 Use `looking-at-p'.
7735 (dired-mark-files-regexp, dired-build-subdir-alist):
7736 Use `string-match-p', `looking-at-p'.
7737
7738 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7739 (direct-print-region-helper): Use `string-match-p'.
7740
7741 2013-06-21 Leo Liu <sdl.web@gmail.com>
7742
7743 * comint.el (comint-redirect-results-list-from-process):
7744 Fix infinite loop.
7745
7746 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7747
7748 * net/eww.el (eww-update-header-line-format): Quote % characters.
7749
7750 2013-06-21 Glenn Morris <rgm@gnu.org>
7751
7752 * play/cookie1.el (cookie): New custom group.
7753 (cookie-file): New option.
7754 (cookie-check-file): New function.
7755 (cookie): Make it interactive. Make start and end messages optional.
7756 Interactively, display the result. Default to cookie-file.
7757 (cookie-insert): Default to cookie-file.
7758 (cookie-snarf): Make start and end messages optional.
7759 Default to cookie-file. Use with-temp-buffer.
7760 (cookie-read): Rename from read-cookie.
7761 Make start and end messages optional. Default to cookie-file.
7762 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7763 Do not autoload it.
7764 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7765 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7766
7767 2013-06-21 Leo Liu <sdl.web@gmail.com>
7768
7769 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7770
7771 2013-06-21 Glenn Morris <rgm@gnu.org>
7772
7773 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7774
7775 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7776 Daniel Hackney <dan@haxney.org>
7777
7778 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7779 Consolidate the single-file vs tarball code.
7780 (package-desc-suffix): New function.
7781 (package-desc-full-name): Don't bother inlining it.
7782 (package-load-descriptor): Return the new package-desc.
7783 (package-mark-obsolete): Remove unused arg `package'.
7784 (package-unpack): Make it work for single files as well.
7785 Make it update package-alist.
7786 (package--make-autoloads-and-stuff): Rename from
7787 package--make-autoloads-and-compile. Don't compile any more.
7788 (package--compile): New function.
7789 (package-generate-description-file): New function, extracted from
7790 package-unpack-single.
7791 (package-unpack-single): Remove.
7792 (package--with-work-buffer): Add indentation and debugging info.
7793 (package-download-single): Remove.
7794 (package-install-from-archive): Rename from package-download-tar, make
7795 it take a pkg-desc, and make it work for single files as well.
7796 (package-download-transaction): Simplify.
7797 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7798 external tar program.
7799 (package-install-from-buffer): Remove `pkg-desc' argument.
7800 Use package-tar-file-info for tar-mode buffers.
7801 (package-install-file): Simplify accordingly.
7802 (package-archive-base): Change to take a pkg-desc.
7803 * tar-mode.el (tar--check-descriptor): New function, extracted from
7804 tar-get-descriptor.
7805 (tar-get-descriptor): Use it.
7806 (tar-get-file-descriptor): New function.
7807 (tar--extract): New function, extracted from tar-extract.
7808 (tar--extract): Use it.
7809 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7810 case the summary uses non-ascii. Adjust to new calling convention of
7811 package-tar-file-info.
7812
7813 2013-06-21 Leo Liu <sdl.web@gmail.com>
7814
7815 * comint.el (comint-redirect-results-list-from-process):
7816 Fix random delay. (Bug#14681)
7817
7818 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7819
7820 * profiler.el (profiler-format-number): Use log, not log10.
7821
7822 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7823
7824 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7825
7826 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7827
7828 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7829 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7830 yet available.
7831 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7832 (AUTOGENEL): ... here.
7833 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7834 (cl--defsubst-expand): Use it.
7835
7836 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7837
7838 * subr.el (log10): Move here from C code, and declare as obsolete.
7839 All uses of (log10 X) replaced with (log X 10).
7840
7841 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7842
7843 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7844 Declare with `defvar-local'.
7845 (tabulated-list-use-header-line, tabulated-list-entries)
7846 (tabulated-list-padding, tabulated-list-printer)
7847 (tabulated-list-sort-key): Declare with `defvar-local'.
7848 (tabulated-list-init-header, tabulated-list-print-fake-header):
7849 Use `setq-local'.
7850
7851 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7852
7853 * arc-mode.el (archive-mode): Add `archive-write-file' to
7854 `write-contents-functions' also for remote files. (Bug#14652)
7855
7856 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7857
7858 * cus-edit.el (custom-commands): Fix typos.
7859 (custom-display): Fix tooltip text.
7860 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7861 Fix typos in docstrings.
7862 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7863 (custom-unlispify-menu-entry, custom-magic-value-create)
7864 (custom-add-see-also, custom-group-value-create): Use ?\s.
7865 (custom-guess-type, customize-apropos, editable-field)
7866 (custom-face-value-create): Use `string-match-p'.
7867 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7868
7869 * custom.el (custom-load-symbol): Use `string-match-p'.
7870
7871 * ansi-color.el: Convert to lexical binding.
7872 (ansi-colors): Fix URL.
7873 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7874 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7875 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7876
7877 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878
7879 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7880
7881 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7882
7883 2013-06-19 Tom Tromey <tromey@redhat.com>
7884
7885 * net/eww.el (eww-top-url): Remove.
7886 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7887 (eww-render): Set new variables. Don't set eww-top-url.
7888 (eww-handle-link): Handle "prev", "home", and "contents".
7889 Downcase the rel text.
7890 (eww-top-url): Choose best top URL.
7891
7892 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7893
7894 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7895 relying in widget.el. Using widget.el leads to too many
7896 user interface inconsistencies.
7897 (eww-self-insert): Implement entering commands in text fields.
7898 (eww-process-text-input): New function to make text input field editing
7899 work.
7900 (eww-submit): Rewrite to use the new-style form methods.
7901 (eww-select-display): Display the correct selected item.
7902 (eww-change-select): Implement changing the select value.
7903 (eww-toggle-checkbox): Implement radio/checkboxes.
7904 (eww-update-field): Fix compilation error.
7905 (eww-tag-textarea): Implement <textarea>.
7906
7907 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7908 we don't shadow mode-specific bindings.
7909
7910 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7911 nothing to push.
7912
7913 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7914
7915 2013-06-19 Glenn Morris <rgm@gnu.org>
7916
7917 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7918
7919 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7920
7921 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7922 not needed.
7923
7924 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7925
7926 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7927
7928 * net/browse-url.el (browse-url-browser-function):
7929 `eww-browse-url' has the right calling signature, `eww' does not.
7930
7931 2013-06-19 Glenn Morris <rgm@gnu.org>
7932
7933 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7934 Only eval autoloaded macros.
7935 (byte-compile-autoload): Only give the macro warning for macros.
7936
7937 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7938 (ps-underlined-faces): Declare.
7939
7940 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7941 (speedbar-add-supported-extension): Declare.
7942
7943 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7944 Don't include a date stamp in the header of the generated file;
7945 it leads to needless differences between output files.
7946
7947 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7948
7949 * net/secrets.el (secrets-struct-secret-content-type):
7950 Replace check of introspection data by a test call of "CreateItem".
7951 Some servers do not offer introspection.
7952
7953 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * electric.el (electric-pair-mode): Improve interaction with
7956 electric-layout-mode.
7957 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7958 (electric-pair-syntax): Use text-mode-syntax-table in comments
7959 and strings.
7960 (electric-pair--insert): New function.
7961 (electric-pair-post-self-insert-function): Use it and
7962 electric--after-char-pos.
7963
7964 2013-06-19 Leo Liu <sdl.web@gmail.com>
7965
7966 * progmodes/octave.el (octave-help): Fix regexp.
7967
7968 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7969
7970 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7971 (shr-table-horizontal-line): Allow nil as a value, and change the
7972 default.
7973 (shr-insert-table-ruler): Respect the nil value.
7974
7975 2013-06-18 Tom Tromey <tromey@barimba>
7976
7977 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7978 New defvars.
7979 (eww-open-file): New defun.
7980 (eww-render): Initialize new variables.
7981 (eww-display-html): Handle "link" and "a".
7982 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7983 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7984 (eww-back-url): Rename from eww-previous-url.
7985 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7986 New defuns.
7987
7988 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7989
7990 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7991 Distinguish ternary operator tokens from slash symbol and slash
7992 char literal.
7993
7994 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7995
7996 Convert symbol prettification into minor mode and global minor mode.
7997
7998 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7999 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8000 (prettify-symbols--keywords): Rename from
8001 `prog-prettify-symbols-alist' and make a local defvar.
8002 (prettify-symbols--compose-symbol): Rename from
8003 `prog--prettify-font-lock-compose-symbol'.
8004 (prettify-symbols--make-keywords): Rename from
8005 `prog-prettify-font-lock-symbols-keywords' and simplify.
8006 (prog-prettify-install): Remove.
8007 (prettify-symbols-mode): New minor mode, based on
8008 `prog-prettify-install'.
8009 (turn-on-prettify-symbols-mode): New function.
8010 (global-prettify-symbols-mode): New globalized minor mode.
8011
8012 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8013 * progmodes/cfengine.el (cfengine3-mode):
8014 * progmodes/perl-mode.el (perl-mode): Don't call
8015 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8016
8017 2013-06-18 Juri Linkov <juri@jurta.org>
8018
8019 * files-x.el (modify-file-local-variable-message): New function.
8020 (modify-file-local-variable)
8021 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8022 and call `modify-file-local-variable-message' when it's non-nil.
8023 (add-file-local-variable, delete-file-local-variable)
8024 (add-file-local-variable-prop-line)
8025 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8026 and use it. (Bug#9820)
8027
8028 2013-06-18 Juri Linkov <juri@jurta.org>
8029
8030 * emulation/vi.el (vi-shell-op):
8031 * emulation/vip.el (vip-execute-com, ex-command):
8032 * emulation/viper-cmd.el (viper-exec-bang):
8033 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8034 the call of `shell-command-on-region'. (Bug#14637)
8035
8036 * simple.el (shell-command-on-region): Doc fix.
8037
8038 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8041 (bug#14633).
8042
8043 2013-06-18 Glenn Morris <rgm@gnu.org>
8044
8045 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8046
8047 * newcomment.el (comment-search-forward, comment-search-backward):
8048 Doc fix. (Bug#14376)
8049
8050 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8051
8052 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8053 (buffer-face-mode-invoke): Doc fix.
8054
8055 2013-06-18 Matthias Meulien <orontee@gmail.com>
8056
8057 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8058 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8059
8060 2013-06-18 Glenn Morris <rgm@gnu.org>
8061
8062 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8063 Replace obsolete function generic-make-keywords with its expansion.
8064
8065 * progmodes/python.el (ffap-alist): Declare.
8066
8067 * textmodes/reftex.el (bibtex-mode-map): Declare.
8068
8069 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8070
8071 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8072 (package-unpack, package-unpack-single): Return the pkg-dir.
8073 (package-download-transaction): Use it to update package-alist.
8074
8075 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8076
8077 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8078 possible choice.
8079
8080 2013-06-17 Juri Linkov <juri@jurta.org>
8081
8082 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8083
8084 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8085
8086 * emacs-lisp/package.el (package-load-descriptor):
8087 Remove `with-syntax-table' call, `read' doesn't need it.
8088 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8089
8090 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8091
8092 * startup.el (command-line): Expand package name returned by
8093 `package--description-file' (bug#14639).
8094
8095 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8096
8097 * emacs-lisp/package.el (package-load-descriptor): Do not call
8098 `emacs-lisp-mode', just use its syntax table.
8099
8100 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8101
8102 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8103 `font-lock-extra-managed-props' if any prettifying keyword is added.
8104 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8105 (prog-mode): Use `setq-local'.
8106
8107 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * international/characters.el (standard-case-table): Set syntax of ?»
8110 and ?« to punctuation.
8111
8112 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8113
8114 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8115 Save relevant match data before calling `syntax-ppss' (bug#14595).
8116
8117 2013-06-15 Juri Linkov <juri@jurta.org>
8118
8119 * files-x.el (modify-file-local-variable-prop-line): Add local
8120 variables to the end of the existing comment on the first line.
8121 Use `file-auto-mode-skip' to skip interpreter magic line,
8122 and also skip XML declaration.
8123
8124 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8125
8126 * startup.el (package--builtin-versions): New var.
8127 (package-subdirectory-regexp): Remove.
8128 (package--description-file): Hard code its value instead.
8129
8130 * emacs-lisp/package.el: Don't activate packages older than builtin.
8131 (package-obsolete-list): Rename from package-obsolete-alist, and make
8132 it into a simple list of package-desc.
8133 (package-strip-version): Remove.
8134 (package-built-in-p): Use package--builtin-versions.
8135 (package-mark-obsolete): Simplify.
8136 (package-process-define-package): Mark it obsolete if older than the
8137 builtin version.
8138 (package-handle-response): Use line-end-position.
8139 (package-read-archive-contents, package--download-one-archive):
8140 Simplify.
8141 (package--add-to-archive-contents): Skip if older than the builtin or
8142 installed version.
8143 (package-menu-describe-package): Fix last change.
8144 (package-list-unversioned): New var.
8145 (package-menu--generate): Use it.
8146
8147 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8148 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8149 (autoload-builtin-package-versions): New variable.
8150 (autoload-generate-file-autoloads): Use them.
8151 Remove the list of autoloaded functions/macros from the
8152 (autoload...) comments.
8153
8154 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8155
8156 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8157
8158 * simple.el (line-move-partial): Don't jump to the next screen
8159 line as soon as it becomes visible. Instead, continue enlarging
8160 the vscroll until the portion of a tall screen line that's left on
8161 display is about the height of the frame's default font.
8162 (Bug#14567)
8163
8164 2013-06-15 Glenn Morris <rgm@gnu.org>
8165
8166 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8167 compilation-error-regexp-alist void, or local while let-bound.
8168
8169 * progmodes/make-mode.el (makefile-mode-syntax-table):
8170 Treat "=" as punctuation. (Bug#14614)
8171
8172 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8173
8174 * help-fns.el (describe-variable):
8175 Add extra line for permanent-local variables.
8176
8177 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8178
8179 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8180 Add export, import, library. (Bug#9164)
8181 (library): Set indent function.
8182
8183 2013-06-14 Glenn Morris <rgm@gnu.org>
8184
8185 * term/xterm.el (xterm--query):
8186 Stop after first matching handler. (Bug#14615)
8187
8188 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8189
8190 Add support for dired in saveplace.
8191 * dired.el (dired-initial-position-hook): New variable.
8192 (dired-initial-position): Call hook to place cursor position.
8193 * saveplace.el (save-place-to-alist): Add dired position.
8194 (save-place-dired-hook): New function.
8195
8196 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8199 through a symbol rather than letrec.
8200
8201 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8202 (package-desc): Add `dir' field.
8203 (package-desc-full-name): New function.
8204 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8205 (package-maybe-load-descriptor): Remove.
8206 (package-load-all-descriptors): Just call package-load-descriptor.
8207 (package--disabled-p): New function.
8208 (package-desc-vers, package-desc-doc): Remove aliases.
8209 (package--dir): Remove function.
8210 (package-activate): Check if a package is disabled.
8211 (package-process-define-package): New function, extracted from
8212 define-package.
8213 (define-package): Turn into a place holder.
8214 (package-unpack-single, package-tar-file-info):
8215 Use package--description-file.
8216 (package-compute-transaction): Use package--disabled-p.
8217 (package-download-transaction): Don't call
8218 package-maybe-load-descriptor since they're all loaded anyway.
8219 (package-install): Change argument to be a pkg-desc.
8220 (package-delete): Use a single pkg-desc argument.
8221 (describe-package-1): Use package-desc-dir instead of package--dir.
8222 Use package-desc property instead of package-symbol.
8223 (package-install-button-action): Adjust accordingly.
8224 (package--push): Rewrite.
8225 (package-menu--print-info): Adjust accordingly. Change the ID format
8226 to be a pkg-desc.
8227 (package-menu-describe-package, package-menu-get-status)
8228 (package-menu--find-upgrades, package-menu-mark-upgrades)
8229 (package-menu-execute, package-menu--name-predicate):
8230 Adjust accordingly.
8231 * startup.el (package--description-file): New function.
8232 (command-line): Use it.
8233 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8234 Use package-desc-version.
8235
8236 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8237 (byte-compile-preprocess): Use it.
8238 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8239 can't quite recognize.
8240 (byte-compile-add-to-list): Remove.
8241 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8242 (cconv-closure-convert): Add assertion.
8243
8244 * emacs-lisp/map-ynp.el: Use lexical-binding.
8245 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8246 Factor out some repeated code.
8247
8248 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * subr.el (with-eval-after-load): New macro.
8251 (eval-after-load): Allow form to be a function.
8252 take advantage of lexical-binding.
8253 (do-after-load-evaluation): Use dolist and adjust to new format.
8254 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8255
8256 2013-06-13 Juri Linkov <juri@jurta.org>
8257
8258 * replace.el (perform-replace): Display "symbol " and other search
8259 modes from `isearch-message-prefix' in the *Help* buffer.
8260
8261 * isearch.el (isearch-query-replace): Add " symbol" and other
8262 possible search modes from `isearch-message-prefix' to the prompt.
8263 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8264 when reading a regexp to collect.
8265
8266 2013-06-13 Juri Linkov <juri@jurta.org>
8267
8268 * isearch.el (word-search-regexp): Match whitespace if the search
8269 string begins or ends in whitespace. The LAX arg is applied to
8270 both ends of the search string. Use `regexp-quote' and explicit
8271 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8272 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8273 boundaries are replaced with symbol boundaries, and characters
8274 between symbols match non-word non-symbol syntax. (Bug#14602)
8275
8276 2013-06-13 Juri Linkov <juri@jurta.org>
8277
8278 * isearch.el (isearch-del-char): Don't exceed the length of
8279 `isearch-string' by the prefix arg. (Bug#14563)
8280
8281 2013-06-13 Juri Linkov <juri@jurta.org>
8282
8283 * isearch.el (isearch-yank-word, isearch-yank-line)
8284 (isearch-char-by-name, isearch-quote-char)
8285 (isearch-printing-char, isearch-process-search-char):
8286 Add optional count prefix arg. (Bug#14563)
8287
8288 * international/isearch-x.el
8289 (isearch-process-search-multibyte-characters):
8290 Add optional count prefix arg.
8291
8292 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8293
8294 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8295 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8296 lexical-binding.
8297
8298 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8299
8300 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8301
8302 2013-06-13 Glenn Morris <rgm@gnu.org>
8303
8304 * startup.el (tty-handle-args):
8305 Don't just discard "--" and anything after. (Bug#14608)
8306
8307 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8308
8309 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8310
8311 Implement changes in Secret Service API. Make it backward compatible.
8312 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8313 (secrets-create-item): Use it. Prefix properties with interface.
8314
8315 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8316
8317 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8318 (term-emulate-terminal): Respect term-suppress-hard-newline.
8319
8320 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8321
8322 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8323 Only remove a `thumb-file' overlay. (Bug#14548)
8324
8325 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8326
8327 * mail/reporter.el (reporter-submit-bug-report):
8328 Handle missing package-name. (Bug#14600)
8329
8330 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8331
8332 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8333 (reftex-citation-prompt, reftex-default-bibliography)
8334 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8335 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8336 (reftex-bib-sort-author, reftex-bib-sort-year)
8337 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8338 (reftex-extract-bib-entries-from-thebibliography)
8339 (reftex-get-bibkey-default, reftex-get-bib-names)
8340 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8341 (reftex-format-bib-entry, reftex-parse-bibitem)
8342 (reftex-format-bibitem, reftex-do-citation)
8343 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8344 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8345 (reftex-insert-bib-matches, reftex-format-citation)
8346 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8347 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8348 existing comments into docstrings.
8349
8350 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8351
8352 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8353
8354 2013-06-12 Andreas Schwab <schwab@suse.de>
8355
8356 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8357 for auto-save files.
8358
8359 2013-06-12 Glenn Morris <rgm@gnu.org>
8360
8361 * ido.el (ido-delete-ignored-files): Remove.
8362 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8363 Go back to calling ido-ignore-item-p directly.
8364
8365 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8366
8367 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8368
8369 * ido.el (ido-delete-ignored-files): New function,
8370 split from ido-make-file-list-1.
8371 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8372 (ido-make-file-list-1): Use ido-delete-ignored-files.
8373
8374 2013-06-12 Leo Liu <sdl.web@gmail.com>
8375
8376 * progmodes/octave.el (inferior-octave-startup)
8377 (inferior-octave-completion-table)
8378 (inferior-octave-track-window-width-change)
8379 (octave-eldoc-function-signatures, octave-help)
8380 (octave-find-definition): Use single quoted strings.
8381 (inferior-octave-startup-args): Change default value.
8382 (inferior-octave-startup): Do not hard code "-i" and
8383 "--no-line-editing".
8384 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8385 (inferior-octave-directory-tracker): Use it.
8386 (octave-goto-function-definition): Robustify.
8387 (octave-help): Support highlighting operators in 'See also'.
8388 (octave-find-definition): Find subfunctions only in Octave mode.
8389
8390 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * help-fns.el (help-fns--compiler-macro): If the handler function is
8393 named, then put a link to it.
8394 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8395 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8396 (cl-typep): Use it.
8397 (cl-eval-when): Simplify debug spec.
8398 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8399 compiler-macro function instead of setting `compiler-macro-file'.
8400
8401 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8402
8403 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8404 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8405
8406 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8407 Daniel Hackney <dan@haxney.org>
8408
8409 First part of Daniel Hackney's patch to package.el.
8410 * emacs-lisp/package.el: Use defstruct.
8411 (package-desc): New, main struct.
8412 (package--bi-desc, package--ac-desc): New structs, used to describe the
8413 format in external files.
8414 (package-desc-vers): Replace with package-desc-version accessor.
8415 (package-desc-doc): Replace with package-desc-summary accessor.
8416 (package-activate-1): Remove `package' arg since the pkg-vec now
8417 includes the name.
8418 (define-package): Use package-desc-from-define.
8419 (package-unpack-single): Change file-name arg to be a symbol.
8420 (package--add-to-archive-contents): Use package-desc-create and new
8421 accessor functions to package--ac-desc.
8422 (package-buffer-info, package-tar-file-info): Return a package-desc.
8423 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8424 arg to be a package-desc.
8425 (package-install-file): Adjust accordingly. Use \' to match EOS.
8426 (package--from-builtin): New function.
8427 (describe-package-1, package-menu--generate): Use it.
8428 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8429 (package-generate-autoloads): Idem and return the name of the file.
8430 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8431 Change pkg-info arg to be a package-desc.
8432 Use package-make-ac-desc.
8433 (package-upload-file): Use \' to match EOS.
8434 * finder.el (finder-compile-keywords): Use package-make-builtin.
8435
8436 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * vc/vc.el (vc-deduce-fileset): Change error message.
8439 (vc-read-backend): New function.
8440 (vc-next-action): Use it.
8441
8442 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8443
8444 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8445 (prolog-font-lock-keywords): Use regexp-opt instead.
8446 Don't manually highlight strings.
8447 (prolog-mode-variables): Simplify comment-start-skip.
8448 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8449
8450 * emacs-lisp/generic.el (generic--normalise-comments)
8451 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8452 (generic-mode-set-comments): Use them.
8453 (generic-bracket-support): Use setq-local.
8454 (generic-make-keywords-list): Declare obsolete.
8455
8456 2013-06-11 Glenn Morris <rgm@gnu.org>
8457
8458 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8459 Prettify after setting font-lock-defaults. (Bug#14574)
8460
8461 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8462
8463 * replace.el (query-replace, occur-read-regexp-defaults-function)
8464 (replace-search):
8465 * subr.el (declare-function, number-sequence, local-set-key)
8466 (substitute-key-definition, locate-user-emacs-file)
8467 (with-silent-modifications, split-string, eval-after-load):
8468 Fix typos, remove unneeded backslashes and reflow some docstrings.
8469
8470 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8471
8472 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8473 default for Elisp files.
8474
8475 2013-06-11 Glenn Morris <rgm@gnu.org>
8476
8477 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8478 although define-derived-mode was doing this anyway. (Bug#14583)
8479
8480 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8481
8482 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8483 Fix make-variable-buffer-local call to refer to the correct variable.
8484
8485 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8486
8487 * eshell/em-term.el (eshell-visual-commands)
8488 (eshell-visual-subcommands, eshell-visual-options):
8489 Add summary line to docstrings. Add cross-references.
8490
8491 2013-06-10 Glenn Morris <rgm@gnu.org>
8492
8493 * epa.el (epa-read-file-name): New function. (Bug#14510)
8494 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8495
8496 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8497
8498 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8499 output redirection to be ignored with visual commands.
8500
8501 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8502
8503 * eshell/em-term.el (eshell-visual-command-p): New function.
8504 (eshell-term-initialize): Move long lambda to separate function
8505 eshell-visual-command-p.
8506 * eshell/em-dirs.el (eshell-dirs-initialise):
8507 * eshell/em-script.el (eshell-script-initialize):
8508 Add missing #' to lambda.
8509
8510 2013-06-08 Leo Liu <sdl.web@gmail.com>
8511
8512 * progmodes/octave.el (octave-add-log-current-defun): New function.
8513 (octave-mode): Set add-log-current-defun-function.
8514 (octave-goto-function-definition): Do not move point if not found.
8515 (octave-find-definition): Enhance to try subfunctions first.
8516
8517 2013-06-08 Glenn Morris <rgm@gnu.org>
8518
8519 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8520 (byte-compile-backward-char, byte-compile-backward-word):
8521 Improve previous change, to handle non-explicit nil.
8522
8523 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8524
8525 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8526 (smie--opener/closer-at-point): New function.
8527 (smie--matching-block-data): Use it. Don't match from right after an
8528 opener or right before a closer. Obey smie-blink-matching-inners.
8529 Don't signal a mismatch for repeated inners like "switch..case..case".
8530
8531 2013-06-07 Leo Liu <sdl.web@gmail.com>
8532
8533 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8534 to t. (Bug#14303)
8535 (octave-function-header-regexp): Fix. (Bug#14570)
8536 (octave-help-mode-finish-hook, octave-help-mode-finish):
8537 Remove. Just use temp-buffer-show-hook.
8538
8539 * newcomment.el (comment-search-backward): Revert last change.
8540 (Bug#14434)
8541
8542 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8543
8544 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8545
8546 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8547 through xargs, to avoid failure due to MS-Windows limitations on
8548 command-line length.
8549
8550 2013-06-06 Glenn Morris <rgm@gnu.org>
8551
8552 * font-lock.el (lisp-font-lock-keywords-2):
8553 Treat user-error like error.
8554
8555 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8556 (byte-compile-backward-char, byte-compile-backward-word):
8557 Handle explicit nil arguments. (Bug#14565)
8558
8559 2013-06-05 Alan Mackenzie <acm@muc.de>
8560
8561 * isearch.el (isearch-allow-prefix): New user option.
8562 (isearch-other-meta-char): Don't exit isearch when a prefix
8563 argument is typed whilst `isearch-allow-prefix' is non-nil.
8564 (Bug#9706)
8565
8566 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * autorevert.el (auto-revert-notify-handler): Use memq.
8569 Hide assertion failure.
8570
8571 * skeleton.el: Use cl-lib.
8572 (skeleton-further-elements): Use defvar-local.
8573 (skeleton-insert): Use cl-progv.
8574
8575 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8576
8577 * progmodes/prog-mode.el (prog-prettify-symbols)
8578 (prog-prettify-install): Update docstrings.
8579
8580 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8581
8582 * simple.el: Move all the prog-mode code to prog-mode.el.
8583 * progmodes/prog-mode.el: New file.
8584 * loadup.el: Add prog-mode.el.
8585
8586 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8587
8588 * simple.el (prog-prettify-symbols): Add version.
8589 (prog-prettify-install): Add convenience function to prettify symbols.
8590
8591 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8592 (perl--augmented-font-lock-keywords-1)
8593 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8594 variables and use it.
8595
8596 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8597 (cfengine3-mode): Remove unneeded variable and use it.
8598
8599 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8600 (lisp--augmented-font-lock-keywords-1)
8601 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8602 Remove unneeded variables and use it.
8603
8604 2013-06-05 João Távora <joaotavora@gmail.com>
8605
8606 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8607 to point when opening the connection. (Bug#14380)
8608
8609 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8610
8611 * subr.el (load-history-regexp, load-history-filename-element)
8612 (eval-after-load, after-load-functions, do-after-load-evaluation)
8613 (eval-next-after-load, display-delayed-warnings)
8614 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8615 definition of save-match-data.
8616 (overriding-local-map): Remove accidental obsolescence declaration.
8617
8618 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8619
8620 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8621
8622 Generalize symbol prettify support to prog-mode and implement it
8623 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8624 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8625 (prog--prettify-font-lock-compose-symbol)
8626 (prog-prettify-font-lock-symbols-keywords): New variables and
8627 functions to support symbol prettification.
8628 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8629 (lisp--augmented-font-lock-keywords-1)
8630 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8631 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8632 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8633 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8634 Implement prettify of -> => :: strings.
8635 * progmodes/perl-mode.el (perl-prettify-symbols)
8636 (perl--font-lock-compose-symbol)
8637 (perl--font-lock-symbols-keywords): Move to prog-mode.
8638 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8639 (perl-font-lock-keywords-1)
8640 (perl-font-lock-keywords-2): Remove explicit prettify support.
8641 (perl--augmented-font-lock-keywords)
8642 (perl--augmented-font-lock-keywords-1)
8643 (perl--augmented-font-lock-keywords-2, perl-mode):
8644 Implement prettify support.
8645
8646 2013-06-05 Leo Liu <sdl.web@gmail.com>
8647
8648 Re-implement smie matching block highlight using
8649 show-paren-data-function. (Bug#14395)
8650 * emacs-lisp/smie.el (smie-matching-block-highlight)
8651 (smie--highlight-matching-block-overlay)
8652 (smie--highlight-matching-block-lastpos)
8653 (smie-highlight-matching-block)
8654 (smie-highlight-matching-block-mode): Remove.
8655 (smie--matching-block-data-cache): New variable.
8656 (smie--matching-block-data): New function.
8657 (smie-setup): Use smie--matching-block-data for
8658 show-paren-data-function.
8659
8660 * progmodes/octave.el (octave-mode-menu): Fix.
8661 (octave-find-definition): Skip garbage lines.
8662
8663 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 Fix compilation error with simultaneous dynamic+lexical scoping.
8666 Add warning when a defvar appears after the first let-binding.
8667 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8668 (byte-compile-close-variables): Initialize it.
8669 (byte-compile--declare-var): New function.
8670 (byte-compile-file-form-defvar)
8671 (byte-compile-file-form-define-abbrev-table)
8672 (byte-compile-file-form-custom-declare-variable): Use it.
8673 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8674 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8675 (byte-compile-bind): Handle dynamic bindings that shadow
8676 lexical bindings.
8677 (byte-compile-unbind): Make arg non-optional.
8678 (byte-compile-let): Simplify.
8679 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8680 (cconv--analyse-function, cconv-analyse-form): Populate it.
8681 Protect byte-compile-bound-variables to limit the scope of defvars.
8682 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8683 Remove unneeded rule for `declare'.
8684
8685 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8686 so as to avoid depending on cl-adjoin at run-time.
8687 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8688
8689 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8690 (macroexp--warn-and-return): Use it.
8691
8692 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8693
8694 * lisp/subr.el: Convert to lexical binding.
8695 (overriding-local-map): Make obsolete.
8696 (add-to-list): Doc fix. Add compiler macro.
8697 (read-key): Swap values of local maps.
8698
8699 2013-06-05 Leo Liu <sdl.web@gmail.com>
8700
8701 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8702
8703 2013-06-04 Leo Liu <sdl.web@gmail.com>
8704
8705 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8706 (compilation-auto-jump): Suppress the "Mark set" message to give
8707 way to exit message.
8708
8709 2013-06-04 Alan Mackenzie <acm@muc.de>
8710
8711 Remove faulty optimisation from indentation calculation.
8712 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8713 search limit based on 2000 characters back from indent-point.
8714
8715 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8716
8717 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8718
8719 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 * emacs-lisp/lisp.el: Use lexical-binding.
8722 (lisp--local-variables-1, lisp--local-variables): New functions.
8723 (lisp--local-variables-completion-table): New var.
8724 (lisp-completion-at-point): Use it complete let-bound vars.
8725
8726 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8727 eagerly (bug#14422).
8728
8729 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8730
8731 * autorevert.el (auto-revert-notify-enabled)
8732 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8733 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8734 (auto-revert-notify-handler): Handle also gfilenotify.
8735
8736 * subr.el (file-notify-handle-event): New defun. Replacing ...
8737 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8738 Remove.
8739
8740 2013-06-03 Juri Linkov <juri@jurta.org>
8741
8742 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8743 `M-s h .'. (Bug#14427)
8744
8745 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8746 command `hi-lock-face-symbol-at-point'.
8747 (hi-lock-face-symbol-at-point): New command.
8748 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8749 (hi-lock-menu): Add `highlight-symbol-at-point'.
8750 (hi-lock-mode): Doc fix.
8751
8752 * isearch.el (isearch-forward-symbol-at-point): New command.
8753 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8754 (isearch-highlight-regexp): Add a regexp which matches
8755 words/symbols for word/symbol mode.
8756
8757 * subr.el (find-tag-default-bounds): New function with the body
8758 mostly moved from `find-tag-default'.
8759 (find-tag-default): Move most code to `find-tag-default-bounds',
8760 call it and apply `buffer-substring-no-properties' afterwards.
8761
8762 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8763
8764 * eshell/em-term.el (eshell-term-initialize):
8765 Use `cl-intersection' rather than `intersection'.
8766
8767 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8768
8769 * vc/log-view.el: Doc fix.
8770 (log-view-mode-map): Copy keymap from `special-mode-map'.
8771
8772 2013-06-02 Eric Ludlam <zappo@gnu.org>
8773
8774 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8775 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8776 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8777 (eieio-unbound, eieio-default-superclass)
8778 (eieio--define-field-accessors, method-static, method-before)
8779 (method-primary, method-after, method-num-lists)
8780 (method-generic-before, method-generic-primary)
8781 (method-generic-after, method-num-slots)
8782 (eieio-specialized-key-to-generic-key)
8783 (eieio--check-type, class-v, class-p)
8784 (eieio-class-name, define-obsolete-function-alias)
8785 (eieio-class-parents-fast, eieio-class-children-fast)
8786 (same-class-fast-p, class-constructor, generic-p)
8787 (generic-primary-only-p, generic-primary-only-one-p)
8788 (class-option-assoc, class-option, eieio-object-p)
8789 (class-abstract-p, class-method-invocation-order)
8790 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8791 (eieio-class-un-autoload, eieio-defclass)
8792 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8793 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8794 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8795 (eieio-defgeneric-reset-generic-form)
8796 (eieio-defgeneric-form-primary-only)
8797 (eieio-defgeneric-reset-generic-form-primary-only)
8798 (eieio-defgeneric-form-primary-only-one)
8799 (eieio-defgeneric-reset-generic-form-primary-only-one)
8800 (eieio-unbind-method-implementations)
8801 (eieio--defmethod, eieio--typep)
8802 (eieio-perform-slot-validation, eieio-validate-slot-value)
8803 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8804 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8805 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8806 (eieio-slot-name-index, eieio-class-slot-name-index)
8807 (eieio-set-defaults, eieio-initarg-to-attribute)
8808 (eieio-attribute-to-initarg, eieio-c3-candidate)
8809 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8810 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8811 (eieio-class-precedence-list, eieio-generic-call-methodname)
8812 (eieio-generic-call-arglst, eieio-generic-call-key)
8813 (eieio-generic-call-next-method-list)
8814 (eieio-pre-method-execution-functions, eieio-generic-call)
8815 (eieio-generic-call-primary-only, eieiomt-method-list)
8816 (eieiomt-optimizing-obarray, eieiomt-install)
8817 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8818 (eieio-generic-form, eieio-defmethod, make-obsolete)
8819 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8820 (defclass): Remove `eval-and-compile' from macro.
8821 (call-next-method, shared-initialize): Instead of using
8822 `scoped-class' variable, use new eieio--scoped-class, and
8823 eieio--with-scoped-class.
8824 (initialize-instance): Rename local variable 'scoped-class' to
8825 'this-class' to remove ambiguitity from old global.
8826
8827 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8828 eieio.el.
8829 (eieio--scoped-class-stack): New variable.
8830 (eieio--scoped-class): New fcn.
8831 (eieio--with-scoped-class): New scoping macro.
8832 (eieio-defclass): Use pushnew instead of add-to-list.
8833 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8834 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8835 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8836 `scoped-class' variable, use new eieio--scoped-class, and
8837 eieio--with-scoped-class.
8838
8839 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8840
8841 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8842
8843 * eshell/esh-ext.el (eshell-external-command): Pass args to
8844 `eshell-find-interpreter'.
8845 (eshell-find-interpreter): Add new second parameter ARGS.
8846
8847 * eshell/em-script.el (eshell-script-initialize): Add second arg
8848 to the function added as MATCH to `eshell-interpreter-alist'.
8849
8850 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8851 the function added as MATCH to `eshell-interpreter-alist'.
8852
8853 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8854 (eshell-visual-options): New defcustom.
8855 (eshell-escape-control-x): Adapt docstring.
8856 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8857 `eshell-visual-options' in addition to `eshell-visual-commands'.
8858 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8859
8860 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8861
8862 * progmodes/python.el (python-indent-block-enders): Add break,
8863 continue and raise keywords.
8864
8865 2013-06-01 Glenn Morris <rgm@gnu.org>
8866
8867 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8868
8869 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8870 * progmodes/cc-cmds.el (delete-forward-p):
8871 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8872 * progmodes/cc-engine.el (buffer-syntactic-context):
8873 * progmodes/cc-fonts.el (face-property-instance):
8874 * progmodes/cc-mode.el (set-keymap-parents):
8875 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8876 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8877 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8878 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8879 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8880
8881 * progmodes/cc-vars.el (other): Emacs has this widget since
8882 at least 21.1, so don't (re)define it.
8883
8884 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8885 Replace the obsolete alias pcomplete-arg-quote-list.
8886
8887 2013-06-01 Leo Liu <sdl.web@gmail.com>
8888
8889 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8890 punctuation syntax.
8891 (inferior-octave-minimal-columns)
8892 (inferior-octave-last-column-width): New variables.
8893 (inferior-octave-track-window-width-change): New function.
8894 (inferior-octave-mode): Adjust column width so that Octave output,
8895 for example from 'ls', can fit into the window nicely.
8896
8897 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8898
8899 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8900 Highlight expansions inside regexp literals.
8901
8902 2013-05-31 Glenn Morris <rgm@gnu.org>
8903
8904 * obsolete/sym-comp.el (symbol-complete):
8905 Replace obsolete completion-annotate-function.
8906
8907 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8908
8909 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8910
8911 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8912 New function, checks if point is inside a literal that allows
8913 expression expansion.
8914 (ruby-syntax-propertize-expansion): Use it.
8915 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8916 around the body.
8917
8918 2013-05-30 Juri Linkov <juri@jurta.org>
8919
8920 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8921 to "\M-si".
8922 (isearch-invisible): New variable.
8923 (isearch-forward): Doc fix.
8924 (isearch-mode): Set `isearch-invisible'
8925 to the value of `search-invisible'.
8926 (isearch-toggle-case-fold): Doc fix.
8927 (isearch-toggle-invisible): New command.
8928 (isearch-query-replace): Let-bind `search-invisible'
8929 to the value of `isearch-invisible'.
8930 (isearch-search): Use `isearch-invisible' instead of
8931 `search-invisible'. Let-bind `search-invisible'
8932 to the value of `isearch-invisible'. (Bug#11378)
8933
8934 2013-05-30 Juri Linkov <juri@jurta.org>
8935
8936 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8937 call when `query-flag' is nil and `search-invisible' is non-nil.
8938 (Bug#11746)
8939
8940 2013-05-30 Glenn Morris <rgm@gnu.org>
8941
8942 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8943
8944 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8945 (cc-require): Suppress spurious "noruntime" warnings.
8946 (cc-require-when-compile): Use fboundp, for sake of compiler.
8947
8948 * progmodes/cc-mode.el: Move load of cc-vars before that of
8949 cc-langs (which in turn loads cc-vars), to quieten compiler.
8950
8951 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8952
8953 * paren.el: Simplify the code.
8954 (show-paren-mode): Always start the timer.
8955 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8956 (show-paren--overlay, show-paren--overlay-1): Rename from
8957 show-paren-overlay and show-paren-overlay-1, and initialize to an
8958 overlay rather than to nil.
8959 (show-paren-function): Misc cleanup and simplifications.
8960
8961 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8962
8963 * paren.el (show-paren-data-function): New hook.
8964 (show-paren--default): New function, extracted from show-paren-function.
8965 (show-paren-function): Use show-paren-data-function.
8966
8967 2013-05-30 Glenn Morris <rgm@gnu.org>
8968
8969 * ielm.el (ielm-map, ielm-complete-symbol):
8970 Use completion-at-point rather than obsolete functions.
8971 (inferior-emacs-lisp-mode): Doc fix.
8972 Set completion-at-point-functions, rather than
8973 comint-dynamic-complete-functions.
8974
8975 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8976 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8977 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8978
8979 * image.el (image-animated-p): Tweak definition.
8980
8981 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8982 (rlogin-process-connection-type): Tweak default. Add set-after.
8983 (rlogin-host): Doc fix.
8984 (rlogin): Tweak prompt.
8985 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8986
8987 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8988 * progmodes/tcl.el (inferior-tcl-mode-map):
8989 Use completion-at-point rather than obsolete alias.
8990
8991 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8992
8993 * minibuffer.el (read-file-name-completion-ignore-case):
8994 Move before completion--in-region, for eager macro expansion.
8995
8996 2013-05-29 Juri Linkov <juri@jurta.org>
8997
8998 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8999 for total count of matching lines. Add `global-matches' for total
9000 count of matches. Rename `matches' to `lines' for count of
9001 matching lines. Add `matches' for count of matches.
9002 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9003 to `prev-line' for line number of prev match endpt.
9004 Increment `matches' for every match. Print the number of
9005 matching lines in the header.
9006 (occur-context-lines): Rename `lines' to `curr-line'.
9007 Rename `prev-lines' to `prev-line'. (Bug#14017)
9008
9009 2013-05-29 Juri Linkov <juri@jurta.org>
9010
9011 * replace.el (perform-replace): Add `skip-read-only-count',
9012 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9013 Increment them for corresponding conditions and report the number
9014 of skipped occurrences in the final message. (Bug#11746)
9015 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9016 (replace-string, replace-regexp): Doc fix.
9017
9018 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9021
9022 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9023 prog-mode-map (bug#14504).
9024
9025 2013-05-29 Leo Liu <sdl.web@gmail.com>
9026
9027 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9028 (octave-help): Small simplification.
9029
9030 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9031 off the highlight first.
9032
9033 2013-05-29 Glenn Morris <rgm@gnu.org>
9034
9035 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9036 Handle idlwave-last-system-routine-info-cons-cell being nil.
9037
9038 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9039 (idlwave-write-paths): Simplify via with-temp-buffer.
9040
9041 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9042 * emulation/cua-rect.el: Also load cua-base at run time.
9043
9044 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9045 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9046 (cperl-imenu-on-info): Require imenu.
9047
9048 2013-05-28 Alan Mackenzie <acm@muc.de>
9049
9050 Handle "capitalised keywords" correctly.
9051 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9052
9053 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9054
9055 * eshell/em-unix.el: Add -r option to cp.
9056
9057 2013-05-28 Glenn Morris <rgm@gnu.org>
9058
9059 * vc/vc-arch.el (vc-exec-after): Declare.
9060 (vc-switches): Autoload.
9061 * vc/vc-bzr.el: No need to require vc when compiling.
9062 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9063 (vc-resynch-buffer, vc-dir-refresh): Declare.
9064 (vc-setup-buffer, vc-switches): Autoload.
9065 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9066 (vc-resynch-buffer): Declare.
9067 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9068 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9069 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9070 (grep-read-regexp, grep-read-files, grep-expand-template)
9071 (vc-dir-refresh): Declare.
9072 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9073 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9074 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9075 * vc/vc-mtn.el (vc-exec-after): Declare.
9076 (vc-switches): Autoload.
9077 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9078 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9079 (vc-file-tree-walk): Declare.
9080 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9081 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9082 (vc-tag-precondition, vc-rename-master): Autoload.
9083 * vc/vc-svn.el (vc-exec-after): Declare.
9084 (vc-switches, vc-setup-buffer): Autoload.
9085 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9086 Autoload.
9087 (vc-resynch-buffer): Declare.
9088
9089 * obsolete/fast-lock.el (byte-compile-warnings):
9090 Don't warn about obsolete features in this obsolete file.
9091
9092 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9093 Move definition before use.
9094
9095 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9096 (dun-unix-verbs): Remove dun-zippy.
9097 (dun-zippy): Remove function.
9098
9099 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9100
9101 2013-05-27 Juri Linkov <juri@jurta.org>
9102
9103 * replace.el (replace-search): New function with code moved out
9104 from `perform-replace'.
9105 (replace-highlight, replace-dehighlight): Move function definitions
9106 up closer to `replace-search'. (Bug#11746)
9107
9108 2013-05-27 Juri Linkov <juri@jurta.org>
9109
9110 * replace.el (perform-replace): Ignore invisible matches.
9111 In addition to checking `query-replace-skip-read-only', also
9112 filter out matches by calling `run-hook-with-args-until-failure'
9113 on `isearch-filter-predicates', and also check `search-invisible'
9114 for t or call `isearch-range-invisible'.
9115 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9116
9117 2013-05-27 Juri Linkov <juri@jurta.org>
9118
9119 * isearch.el (isearch-filter-predicates): Rename from
9120 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9121 (isearch-message-prefix): Display text from the property
9122 `isearch-message-prefix' of the currently active filters.
9123 (isearch-search): Don't compare `isearch-filter-predicate' with
9124 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9125 on `isearch-filter-predicates'. Also check `search-invisible' for t
9126 or call `isearch-range-invisible'.
9127 (isearch-filter-visible): Make obsolete.
9128 (isearch-lazy-highlight-search):
9129 Call `run-hook-with-args-until-failure' on
9130 `isearch-filter-predicates' and use `isearch-range-invisible'.
9131
9132 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9133 `isearch-filter-predicates' instead of `funcall'ing
9134 `isearch-filter-predicate'.
9135 (Info-mode): Set `Info-isearch-filter' to
9136 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9137
9138 * dired-aux.el (dired-isearch-filter-predicate-orig):
9139 Remove variable.
9140 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9141 (dired-isearch-filenames-end): Add and remove
9142 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9143 instead of changing the value of `isearch-filter-predicate'.
9144 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9145 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9146 Put property `isearch-message-prefix' to "filename " on
9147 `dired-isearch-filter-filenames'.
9148
9149 * wdired.el (wdired-change-to-wdired-mode):
9150 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9151 locally instead of changing `isearch-filter-predicate'.
9152 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9153
9154 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9155
9156 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9157 return the commit hash (Bug#14459). Also set the
9158 `vc-git-detached' property.
9159 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9160 (vc-git-mode-line-string): Use the same help-echo format whether
9161 in detached mode or not, because we know the actual revision now.
9162 When in detached mode, shorten the revision to 7 chars.
9163
9164 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9165
9166 * emacs-lisp/easy-mmode.el (define-minor-mode):
9167 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9168 mode hook and provide a docstring.
9169
9170 2013-05-27 Alan Mackenzie <acm@muc.de>
9171
9172 Remove spurious syntax-table text properties inserted by C-y.
9173 * progmodes/cc-mode.el (c-after-change): Also clear hard
9174 syntax-table property with value nil.
9175
9176 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9177
9178 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9179 when reading the events; the buffer layout shall not be changed.
9180
9181 2013-05-27 Leo Liu <sdl.web@gmail.com>
9182
9183 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9184 New variable.
9185 (inferior-octave-directory-tracker): Automatically re-sync
9186 default-directory.
9187 (octave-help): Improve handling of 'See also'.
9188
9189 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * doc-view.el: Minor naming convention tweaks.
9192 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9193
9194 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9195 even if there's no `display' property yet (bug#14435).
9196
9197 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9198
9199 * subr.el (unmsys--file-name): Rename from reveal-filename.
9200
9201 * Makefile.in (custom-deps, finder-data, autoloads)
9202 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9203 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9204 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9205
9206 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9209 error-completion on the first 2 args of condition-case (bug#14446).
9210 Don't burp at EOB.
9211
9212 2013-05-25 Leo Liu <sdl.web@gmail.com>
9213
9214 * comint.el (comint-previous-matching-input): Do not flood the
9215 *Messages* buffer with trivial messages.
9216
9217 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9218
9219 * progmodes/flymake.el (flymake-nop): Don't return a string.
9220 (flymake-set-at): Fix typo.
9221
9222 * simple.el (read--expression): New function, extracted from
9223 eval-expression. Set completion-at-point-functions (bug#14465).
9224 (eval-expression, eval-minibuffer): Use it.
9225
9226 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9227
9228 * progmodes/flymake.el (flymake-save-buffer-in-file)
9229 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9230 (flymake-selected-frame, flymake-log, flymake-ins-after)
9231 (flymake-set-at, flymake-get-buildfile-from-cache)
9232 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9233 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9234 Refine the doc string.
9235 (flymake-get-file-name-mode-and-masks): Reformat.
9236 (flymake-get-real-file-name-function): Fix a minor bug.
9237
9238 2013-05-24 Juri Linkov <juri@jurta.org>
9239
9240 * progmodes/grep.el (grep-mode-font-lock-keywords):
9241 Support =linenumber= format used by git-grep for lines with
9242 function names. (Bug#13549)
9243
9244 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9245
9246 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9247 0 after a semi-colon; it works better for smie-auto-fill.
9248 (octave--indent-new-comment-line): New function.
9249 (octave-indent-new-comment-line): Use it (indirectly).
9250 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9251 modify comment-line-break-function.
9252
9253 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9254 (smie-setup): Use add-function to set it.
9255
9256 2013-05-24 Sam Steingold <sds@gnu.org>
9257
9258 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9259 argument (before the `interactive' argument).
9260
9261 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * image-mode.el (image-mode-winprops): Add winprops to
9264 image-mode-winprops-alist before running
9265 image-mode-new-window-functions.
9266 * doc-view.el (doc-view-new-window-function): Don't delay
9267 doc-view-goto-page via timers (bug#14435).
9268
9269 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9270
9271 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9272 (doc-view-desktop-save-buffer): New function.
9273 (doc-view-restore-desktop-buffer): New function.
9274 (desktop-buffer-mode-handlers):
9275 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9276 handler.
9277 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9278 `desktop-save-buffer' function.
9279
9280 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9281
9282 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9283 (tramp-gvfs-file-name-handler): Raise a user error when
9284 `tramp-gvfs-enabled' is nil.
9285 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9286 Do not raise a user error when loading package. (Bug#14447)
9287
9288 * net/xesam.el: Move to obsolete/.
9289
9290 2013-05-24 Glenn Morris <rgm@gnu.org>
9291
9292 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9293
9294 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9295
9296 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9297 (Info-find-node, Man-getpage-in-background): Declare.
9298
9299 * mail/unrmail.el (unrmail):
9300 Replace obsolete detect-coding-with-priority.
9301
9302 * net/socks.el (socks-split-string): Use this rather than split-string.
9303 (socks-nslookup-host): Update for above change.
9304 (dynamic-choice, s5-dynamic-choice-match)
9305 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9306 Comment out unused code.
9307
9308 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9309 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9310 (gud-tooltip-echo-area): Make obsolete.
9311 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9312
9313 * progmodes/js.el (js--optimize-arglist): Declare.
9314
9315 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9316
9317 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9318 (ediff-window-C): Declare.
9319
9320 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9321 Tweak requires to silence compiler.
9322
9323 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9324 (he-search-string, he-tried-table, he-expand-list)
9325 (he-init-string, he-string-member, he-substitute-string)
9326 (he-reset-string): Declare.
9327
9328 * obsolete/options.el (list-options): Use custom-variable-p,
9329 rather than obsolete alias.
9330
9331 2013-05-23 Sam Steingold <sds@gnu.org>
9332
9333 * simple.el (shell-command-on-region): Pass the `replace' argument
9334 down to `call-process-region' to comply with the doc as reported on
9335 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9336
9337 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * emacs-lisp/smie.el (smie-indent-forward-token)
9340 (smie-indent-backward-token): Handle string tokens (bug#14381).
9341
9342 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9343
9344 * ielm.el (ielm-menu): New menu.
9345 (inferior-emacs-lisp-mode): Set comment-start.
9346
9347 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9348
9349 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9350 Fix deactivate action.
9351
9352 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9353 Add cleveref macros.
9354
9355 * lisp/textmodes/reftex-parse.el
9356 (reftex-locate-bibliography-files): Accept options for
9357 bibliography commands.
9358 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9359 Add addbibresource. Basic Biblatex support.
9360
9361 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9362
9363 * net/tramp-gvfs.el (top):
9364 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9365 when loading package. (Bug#14447)
9366
9367 2013-05-23 Glenn Morris <rgm@gnu.org>
9368
9369 * progmodes/js.el: No need to load comint when compiling.
9370 (ring-insert, comint-send-string, comint-send-input)
9371 (comint-last-input-end, ido-chop): Declare.
9372
9373 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9374 * vc/ediff-mult.el: Adjust requires.
9375 (ediff-directories-internal, ediff-directory-revisions-internal)
9376 (ediff-patch-file-internal): Declare.
9377 * vc/ediff-ptch.el: Adjust requires.
9378 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9379 (ediff-find-file): Autoload.
9380 * vc/ediff-util.el: No need to load ediff when compiling.
9381 (ediff-regions-internal): Declare.
9382 * vc/ediff-wind.el: Adjust requires.
9383 (ediff-compute-toolbar-width): Define when compiling.
9384 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9385 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9386 (dired-get-filename, dired-get-marked-files)
9387 (ediff-last-dir-patch, ediff-patch-default-directory)
9388 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9389 (ediff-patch-buffer-internal): Declare.
9390
9391 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9392 (ispell-process, ispell-buffer-local-words, lm-summary)
9393 (lm-section-start, lm-section-end): Declare.
9394 (checkdoc-ispell-init): Simplify.
9395
9396 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9397 (he-string-member, he-reset-string, he-substitute-string): Declare.
9398
9399 * eshell/em-ls.el: Adjust requires.
9400 (eshell-glob-regexp): Declare.
9401 * eshell/em-tramp.el: Adjust requires.
9402 (eshell-parse-command): Autoload.
9403 * eshell/em-xtra.el: Adjust requires.
9404 (eshell-parse-command): Autoload.
9405 * eshell/esh-ext.el: Adjust requires.
9406 (eshell-parse-command, eshell-close-handles): Autoload.
9407 * eshell/esh-io.el: Adjust requires.
9408 (eshell-output-filter): Autoload.
9409 * eshell/esh-util.el: No need to load tramp when compiling.
9410 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9411 Declare.
9412 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9413 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9414 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9415 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9416 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9417 * eshell/esh-opt.el, eshell/esh-proc.el:
9418 * eshell/esh-var.el: Adjust requires.
9419 * eshell/eshell.el: Do not require esh-util twice.
9420 (eshell-add-input-to-history): Declare.
9421 (eshell-command): Check history module is active before using it.
9422
9423 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9424
9425 2013-05-22 Leo Liu <sdl.web@gmail.com>
9426
9427 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9428
9429 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9430
9431 * autorevert.el (auto-revert-notify-add-watch)
9432 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9433 it indicates changes in file modification time.
9434
9435 2013-05-22 Glenn Morris <rgm@gnu.org>
9436
9437 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9438 Always delete the autoloaded function from the noruntime and
9439 unresolved functions lists.
9440
9441 * allout.el: No need to load epa, epg, overlay when compiling.
9442 (epg-context-set-passphrase-callback, epg-list-keys)
9443 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9444 (epg-key-user-id-list): Declare.
9445
9446 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9447 (viper-set-parsing-style-toggling-macro)
9448 (viper-set-emacs-state-searchstyle-macros):
9449 Use called-interactively-p on Emacs.
9450 (viper-looking-back): Make it an obsolete alias. Update callers.
9451 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9452 Use looking-back rather than viper-looking-back.
9453 (viper-tmp-insert-at-eob, viper-enlarge-region)
9454 (viper-read-string-with-history, viper-register-to-point)
9455 (viper-append-to-register, viper-change-state-to-vi)
9456 (viper-backward-char-carefully, viper-forward-char-carefully)
9457 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9458 (viper-change-state-to-emacs): Declare.
9459 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9460 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9461 * emulation/viper-mous.el: Do not load viper-cmd.
9462 (viper-backward-char-carefully, viper-forward-char-carefully)
9463 (viper-forward-word, viper-adjust-window): Declare.
9464
9465 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9466
9467 * progmodes/idlw-help.el (idlwave-help-fontify):
9468 Use called-interactively-p.
9469
9470 * term/w32console.el (w32-get-console-codepage)
9471 (w32-get-console-output-codepage): Declare.
9472
9473 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9474 Remove unnecessary declarations.
9475 (dframe-message): Doc fix.
9476
9477 * info.el (dframe-select-attached-frame, dframe-current-frame):
9478 Declare.
9479
9480 * speedbar.el (speedbar-message): Make it an obsolete alias.
9481 Update all callers.
9482 (speedbar-with-attached-buffer)
9483 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9484 (speedbar-with-writable): Use backquote.
9485 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9486 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9487 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9488 rather than speedbar- aliases.
9489 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9490 (speedbar-make-specialized-keymap, speedbar-insert-button)
9491 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9492 (speedbar-do-function-pointer): Declare.
9493 (rmail-speedbar-button, rmail-speedbar-find-file)
9494 (rmail-speedbar-move-message):
9495 Use dframe-with-attached-buffer rather than speedbar- alias.
9496 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9497 (dframe-message, speedbar-make-specialized-keymap)
9498 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9499 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9500 (speedbar-insert-button, dframe-select-attached-frame)
9501 (dframe-maybee-jump-to-attached-frame)
9502 (speedbar-change-initial-expansion-list)
9503 (speedbar-previously-used-expansion-list-name): Declare.
9504 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9505 Use dframe-message, dframe-with-attached-buffer rather than
9506 speedbar- aliases.
9507 (gud-sentinel): Silence compiler.
9508 * progmodes/vhdl-mode.el (speedbar-refresh)
9509 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9510 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9511 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9512 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9513 (speedbar-file-lists, speedbar-make-tag-line)
9514 (speedbar-line-directory, speedbar-goto-this-file)
9515 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9516 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9517 (speedbar-make-button, speedbar-reset-scanners)
9518 (speedbar-files-item-info, speedbar-line-text)
9519 (speedbar-find-file-in-frame, speedbar-set-timer)
9520 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9521 (speedbar-with-writable): Do not (re)define it.
9522 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9523 rather than speedbar- alias.
9524
9525 2013-05-21 Leo Liu <sdl.web@gmail.com>
9526
9527 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9528 menu items.
9529 (octave-mode): Tweak fill-nobreak-predicate.
9530 (inferior-octave-startup): Check process to avoid infinite loop.
9531 (inferior-octave): Pop to buffer first to show abornmal process
9532 exit information.
9533
9534 2013-05-21 Glenn Morris <rgm@gnu.org>
9535
9536 * printing.el (pr-menu-bar): Define when compiling.
9537
9538 2013-05-21 Leo Liu <sdl.web@gmail.com>
9539
9540 * progmodes/octave.el (octave-auto-fill): Remove.
9541 (octave-indent-new-comment-line): Improve.
9542 (octave-mode): Use auto fill mode through
9543 comment-line-break-function and fill-nobreak-predicate.
9544 (octave-goto-function-definition): Support DEFUN_DLD.
9545 (octave-beginning-of-defun): Small tweak.
9546 (octave-help): Show parent directory.
9547
9548 2013-05-21 Glenn Morris <rgm@gnu.org>
9549
9550 * files.el (dired-unmark):
9551 * progmodes/gud.el (gdb-input): Update declarations.
9552
9553 * calculator.el (electric, ehelp): No need to load when compiling.
9554 (Electric-command-loop, electric-describe-mode): Declare.
9555
9556 * doc-view.el (doc-view-current-converter-processes): Move before use.
9557
9558 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9559 Move MODE-set-explicitly definition before use.
9560
9561 * international/mule-diag.el (mule-diag):
9562 Don't use obsolete window-system-version.
9563
9564 * mail/feedmail.el (smtpmail): No need to load when compiling.
9565 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9566
9567 * mail/mail-utils.el (rfc822): No need to load when compiling.
9568 (rfc822-addresses): Autoload it.
9569 (mail-strip-quoted-names): Trivial simplification.
9570
9571 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9572 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9573
9574 * net/snmp-mode.el (tempo): Don't duplicate requires.
9575
9576 * progmodes/prolog.el (info): No need to load when compiling.
9577 (comint): Require before shell requires it.
9578 (Info-goto-node): Autoload it.
9579 (Info-follow-nearest-node): Declare.
9580 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9581
9582 * textmodes/artist.el (picture-mode-exit): Declare.
9583
9584 * textmodes/reftex-parse.el (reftex-parse-from-file):
9585 Trivial rewrite so the compiler can parse it better.
9586
9587 2013-05-20 Leo Liu <sdl.web@gmail.com>
9588
9589 * progmodes/octave.el (octave-help-mode-map)
9590 (octave-help-mode-finish-hook): New variables.
9591 (octave-help-mode, octave-help-mode-finish): New functions.
9592 (octave-help): Use octave-help-mode.
9593
9594 2013-05-20 Glenn Morris <rgm@gnu.org>
9595
9596 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9597
9598 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9599
9600 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9601 start at point, so that expansion starting right after opening
9602 slash in a regexp is recognized.
9603 (ruby-syntax-before-regexp-re): New defvar, extracted from
9604 ruby-syntax-propertize-function. Since the value of this regexp
9605 is looked up at runtime now, we should be able to turn
9606 `ruby-syntax-methods-before-regexp' into a defcustom later.
9607 (ruby-syntax-propertize-function): Split regexp matching into two
9608 parts, for opening and closing slashes. That allows us to skip
9609 over string interpolations and support multiline regexps.
9610 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9611 for them, which calls `ruby-syntax-propertize-expansion'.
9612 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9613 call to `ruby-syntax-propertize-function'.
9614 (ruby-syntax-propertize-expansion): Extracted from
9615 `ruby-syntax-propertize-expansions'. Handles one expansion.
9616 (ruby-syntax-propertize-percent-literal): Leave point right after
9617 the percent symbol, so that the expression expansion rule can
9618 propertize the contents.
9619 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9620 heredoc openers.
9621 (ruby-syntax-propertize-expansions): Remove.
9622
9623 2013-05-18 Juri Linkov <juri@jurta.org>
9624
9625 * man.el (Man-default-man-entry): Remove `-' from the end
9626 of the default value. (Bug#14400)
9627
9628 2013-05-18 Glenn Morris <rgm@gnu.org>
9629
9630 * comint.el (comint-password-prompt-regexp):
9631 Allow "password for XXX" where XXX contains colons (eg https://...).
9632
9633 2013-05-18 Leo Liu <sdl.web@gmail.com>
9634
9635 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9636 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9637 (octave-source-directories): Don't check process.
9638 (octave-source-directories, octave-find-definition): Doc fix.
9639
9640 2013-05-18 Glenn Morris <rgm@gnu.org>
9641
9642 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9643 Remove backspace/delete bindings. (Bug#14392)
9644
9645 * cus-dep.el (custom-make-dependencies): Sort the output.
9646 (custom-versions-load-alist): Convert comment to doc.
9647
9648 2013-05-17 Leo Liu <sdl.web@gmail.com>
9649
9650 * newcomment.el (comment-search-backward): Stricter in finding
9651 comment start. (Bug#14303)
9652
9653 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9654 (octave-comment-start-skip): Properly anchored.
9655
9656 2013-05-17 Leo Liu <sdl.web@gmail.com>
9657
9658 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9659 Clean up when turned off. (Bug#14395)
9660 (smie--highlight-matching-block-overlay): No longer buffer-local.
9661 (smie-highlight-matching-block): Adjust.
9662
9663 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9664
9665 Doc string fix for "nanoseconds" (Bug#14406).
9666 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9667 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9668
9669 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9670
9671 * calc/calc-units.el (math-extract-units): Preserve powers
9672 of units.
9673
9674 2013-05-17 Leo Liu <sdl.web@gmail.com>
9675
9676 * subr.el (delete-consecutive-dups): New function.
9677 * ido.el (ido-set-matches-1): Use it.
9678 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9679 * ido.el (ido-remove-consecutive-dups): Remove.
9680
9681 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9682
9683 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9684 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9685 regexp-opt's `words'.
9686
9687 2013-05-16 Leo Liu <sdl.web@gmail.com>
9688
9689 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9690 (smie--highlight-matching-block-overlay)
9691 (smie--highlight-matching-block-lastpos)
9692 (smie--highlight-matching-block-timer): New variables.
9693 (smie-highlight-matching-block): New function.
9694 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9695 (smie-setup): Conditionally enable smie-blink-matching-open.
9696
9697 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9698
9699 Sync with upstream verilog-mode r840.
9700 * progmodes/verilog-mode.el (verilog-mode-version)
9701 (verilog-mode-release-date): Update.
9702 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9703 (verilog-sig-tieoff): Fix string error on
9704 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9705 (verilog-read-decls): Fix parameters confusing
9706 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9707
9708 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9709
9710 * subr.el (reveal-filename): New function.
9711
9712 * loadup.el: Compute Emacs executable versions on MS-Windows,
9713 where executables have the .exe extension. Add a hard link
9714 emacs-XX.YY.ZZ.exe on MS-Windows.
9715
9716 * Makefile.in (XARGS_LIMIT): New variable.
9717 (custom-deps, finder-data, autoloads)
9718 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9719 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9720 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9721 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9722
9723 2013-05-16 Leo Liu <sdl.web@gmail.com>
9724
9725 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9726 (octave-mode-menu, octave-mode-map): Remove its uses.
9727
9728 2013-05-16 Reto Zimmermann <reto@gnu.org>
9729
9730 Sync with upstream vhdl mode v3.34.2.
9731 * progmodes/vhdl-mode.el: Use `push' throughout.
9732 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9733 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9734 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9735 (vhdl-actual-generic-name): New option to derive actual generic name.
9736 (vhdl-port-paste-signals): Replace formal by actual generics.
9737 (vhdl-beautify): New name for old group vhdl-align. Update users.
9738 (vhdl-beautify-options): New option.
9739 (vhdl-last-input-event): New compat alias. Use throughout.
9740 (vhdl-goto-line): Replace user level function `goto-line'.
9741 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9742 vhdl-fix-statement-buffer.
9743 (vhdl-create-mode-menu): Add some entries.
9744 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9745 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9746 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9747 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9748 to force statements on one line.
9749 (vhdl-remove-trailing-spaces-region):
9750 New, split from vhdl-remove-trailing-spaces.
9751 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9752 Respect vhdl-beautify-options.
9753 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9754 (vhdl-update-sensitivity-list): Not add with index if exists without.
9755 Not include array index with signal. Ignore keywords in comments.
9756 (vhdl-get-visible-signals): Regexp tweaks.
9757 (vhdl-template-component-inst): Handle empty library.
9758 (vhdl-template-type): Add template for 'enum' type.
9759 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9760 Use vhdl-replace-string.
9761 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9762 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9763 (vhdl-speedbar-initialize): Update for above name change.
9764 (vhdl-compose-wire-components): Fix in handling of constants.
9765 (vhdl-error-regexp-emacs-alist): New variable.
9766 (vhdl-error-regexp-add-emacs): New function;
9767 adds support for new compile.el (Emacs 22+)
9768 (vhdl-generate-makefile-1): Change target order for single lib. units.
9769 Allow use of absolute file names.
9770
9771 2013-05-16 Leo Liu <sdl.web@gmail.com>
9772
9773 * simple.el (prog-indent-sexp): Indent enclosing defun.
9774
9775 2013-05-15 Glenn Morris <rgm@gnu.org>
9776
9777 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9778 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9779 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9780 (whitespace-highlight): Move to whitespace group.
9781
9782 * comint.el (comint-source):
9783 * pcmpl-linux.el (pcmpl-linux):
9784 * shell.el (shell-faces):
9785 * eshell/esh-opt.el (eshell-opt):
9786 * international/ccl.el (ccl): Remove empty custom groups.
9787
9788 * completion.el (dynamic-completion-mode):
9789 * jit-lock.el (jit-lock-debug-mode):
9790 * minibuffer.el (completion-in-region-mode):
9791 * type-break.el (type-break-mode-line-message-mode)
9792 (type-break-query-mode):
9793 * emulation/tpu-edt.el (tpu-edt-mode):
9794 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9795 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9796 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9797
9798 * term/xterm.el (xterm): Change parent group to terminals.
9799
9800 * master.el (master): Remove empty custom group.
9801 (master-mode): Remove unused :group argument.
9802 * textmodes/refill.el (refill): Remove empty custom group.
9803 (refill-mode): Remove unused :group argument.
9804
9805 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9806
9807 * cus-dep.el: Provide a feature.
9808 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9809 Don't mistakenly ignore files whose basenames match a basename
9810 from preloaded-file-list (eg cedet/ede/simple.el).
9811 Add a fallback method for getting :group.
9812
9813 2013-05-15 Juri Linkov <juri@jurta.org>
9814
9815 * isearch.el (isearch-char-by-name): Rename from
9816 `isearch-insert-char-by-name'. Doc fix.
9817 (isearch-forward): Mention `isearch-char-by-name' in
9818 the docstring. (Bug#13348)
9819
9820 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9821 `exit-minibuffer' instead of
9822 `isearch-nonincremental-exit-minibuffer'.
9823 (isearch-edit-string): Remove mention of
9824 `isearch-nonincremental-exit-minibuffer' from docstring.
9825 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9826 (isearch-forward-exit-minibuffer)
9827 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9828
9829 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9830
9831 * loadup.el: Just use unversioned DOC.
9832
9833 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9834 literals as extending to EOB.
9835 (nxml-last-fontify-end): Remove unused variable.
9836 (nxml-after-change1): Use with-silent-modifications.
9837 (nxml-extend-after-change-region): Simplify.
9838 (nxml-extend-after-change-region1): Remove function.
9839 (nxml-after-change1): Don't adjust for dependent regions.
9840 (nxml-fontify-matcher): Simplify.
9841 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9842 (xmltok-add-dependent): Remove function.
9843 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9844 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9845 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9846 unclosed <[[, <?, comment, and other literals as extending to EOB.
9847 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9848 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9849 Remove functions.
9850 (rng-do-some-validation-1): Don't mark dependent regions.
9851 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9852 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9853 (nxml-clear-dependent-regions): Remove functions.
9854 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9855 (nxml-ensure-scan-up-to-date):
9856 Don't clear&mark dependent regions.
9857
9858 2013-05-15 Leo Liu <sdl.web@gmail.com>
9859
9860 * progmodes/octave.el (octave-goto-function-definition):
9861 Improve and fix callers.
9862
9863 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9866 the setter (bug#14387).
9867
9868 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9869 surrounding group (bug#14402).
9870
9871 2013-05-14 Juri Linkov <juri@jurta.org>
9872
9873 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9874 (Bug#14390)
9875
9876 2013-05-14 Glenn Morris <rgm@gnu.org>
9877
9878 * progmodes/f90.el (f90-imenu-generic-expression):
9879 Fix typo in 2013-05-08 change. (Bug#14402)
9880
9881 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9882
9883 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9884 Remove signals for which replies are never received.
9885
9886 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9887
9888 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9889 (gdb-handler-alist, gdb-handler-number): Remove variables.
9890 (gdb-handler-list): New variable.
9891 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9892 (gdb-pending-handler-p, gdb-handle-reply)
9893 (gdb-remove-all-pending-triggers): New functions.
9894 (gdb-discard-unordered-replies): New defcustom.
9895 (gdb-handler): New defstruct.
9896 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9897 instead of gdb-pending-triggers. Update docstring.
9898 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9899 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9900 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9901 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9902 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9903 (gdb-frame-handler): Pending triggers are now automatically managed.
9904 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9905 Remove argument.
9906 (gdb-input): Automatically handles pending triggers. Update docstring.
9907 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9908 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9909 Update comments.
9910 (gdb-done-or-error): Now use gdb-handle-reply.
9911
9912 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9913
9914 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9915 gdb-debug-log.
9916
9917 2013-05-14 Glenn Morris <rgm@gnu.org>
9918
9919 * subr.el (user-emacs-directory-warning): New option.
9920 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9921
9922 2013-05-14 Leo Liu <sdl.web@gmail.com>
9923
9924 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9925 during redisplay.
9926 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9927 (octave-font-lock-texinfo-comment): Fix invalid search bound
9928 error: wrong side of point.
9929
9930 2013-05-14 Glenn Morris <rgm@gnu.org>
9931
9932 * progmodes/flymake.el (flymake-xml-program): New option.
9933 (flymake-xml-init): Use it.
9934
9935 * term/xterm.el: Provide a feature.
9936
9937 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9938
9939 2013-05-13 Glenn Morris <rgm@gnu.org>
9940
9941 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9942 Add compat aliases as a hack workaround. (Bug#14384)
9943
9944 2013-05-13 Leo Liu <sdl.web@gmail.com>
9945
9946 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9947 ###, and %!.
9948 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9949 C-M-q.
9950 (octave-comment-start-skip): Include %!.
9951 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9952
9953 2013-05-12 Leo Liu <sdl.web@gmail.com>
9954
9955 * progmodes/octave.el (inferior-octave-startup): Store the value
9956 of __octave_srcdir__ for octave-source-directories.
9957 (inferior-octave-check-process): New function refactored out of
9958 inferior-octave-send-list-and-digest.
9959 (octave-source-directories)
9960 (octave-find-definition-filename-function): New variables.
9961 (octave-source-directories)
9962 (octave-find-definition-default-filename): New functions.
9963 (octave-find-definition): Improve to find functions implemented in C++.
9964
9965 2013-05-12 Glenn Morris <rgm@gnu.org>
9966
9967 * calendar/diary-lib.el (diary-outlook-format-1):
9968 Don't include dayname in the output. (Bug#14349)
9969
9970 2013-05-11 Glenn Morris <rgm@gnu.org>
9971
9972 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9973
9974 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9975 Treat cc-provide like provide.
9976
9977 2013-05-11 Kevin Ryde <user42@zip.com.au>
9978
9979 * cus-dep.el (custom-make-dependencies):
9980 Use generated-autoload-load-name for the sake of files such
9981 such cedet/semantic/bovine/c.el, where the base file name
9982 is not in load-path. (Bug#5277)
9983
9984 2013-05-11 Glenn Morris <rgm@gnu.org>
9985
9986 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9987 Provide features.
9988
9989 2013-05-11 Leo Liu <sdl.web@gmail.com>
9990
9991 * progmodes/octave.el (octave-indent-comment): Improve.
9992 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9993 (octave-eldoc-function-signatures, octave-eldoc-function):
9994 New functions.
9995 (octave-mode, inferior-octave-mode): Add eldoc support.
9996
9997 2013-05-11 Richard Stallman <rms@gnu.org>
9998
9999 * epa.el (epa-decrypt-file): Take output file name as argument
10000 and read it using `interactive'.
10001
10002 2013-05-11 Leo Liu <sdl.web@gmail.com>
10003
10004 * progmodes/octave.el (octave-beginning-of-line)
10005 (octave-end-of-line): Check before using up-list because it jumps
10006 out of more syntactic contructs since moving to smie.
10007 (octave-indent-comment): New function.
10008 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10009 (octave-begin-keywords, octave-end-keywords)
10010 (octave-reserved-words, octave-smie-bnf-table)
10011 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10012
10013 2013-05-11 Glenn Morris <rgm@gnu.org>
10014
10015 * faces.el (internal-face-x-get-resource):
10016 * frame.el (ns-display-monitor-attributes-list):
10017 * calc/calc-aent.el (math-to-radians-2):
10018 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10019 Fix declarations.
10020
10021 * calc/calc-menu.el: Make it loadable in isolation.
10022
10023 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10024 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10025 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10026 (eudc-bbdb-query-internal): Require 'bbdb.
10027
10028 * lpr.el (lpr-headers-switches):
10029 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10030
10031 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10032
10033 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10034
10035 * term.el (term-set-escape-char): Make it idempotent.
10036
10037 2013-05-10 Leo Liu <sdl.web@gmail.com>
10038
10039 * progmodes/octave.el (inferior-octave-completion-table):
10040 No longer a function and all uses changed. Use cache to speed up
10041 completion due to bug#11906.
10042 (octave-beginning-of-defun): Re-write to be more general.
10043
10044 2013-05-10 Glenn Morris <rgm@gnu.org>
10045
10046 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10047
10048 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10049
10050 * comint.el (comint-redirect-send-command-to-process): Use :around
10051 rather than :override for comint-redirect-filter.
10052 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10053 Call it instead of comint-redirect-original-filter-function (which
10054 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10055
10056 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10057
10058 * frame.el (display-monitor-attributes-list): Add NS case.
10059 (ns-display-monitor-attributes-list): Declare.
10060
10061 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10062
10063 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10064
10065 2013-05-09 Glenn Morris <rgm@gnu.org>
10066
10067 * international/fontset.el (vertical-centering-font-regexp):
10068 Set standard-value.
10069
10070 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10071
10072 * bookmark.el (bookmark-search-delay):
10073 * cus-start.el (vertical-centering-font-regexp):
10074 * ps-mule.el (ps-mule-font-info-database-default):
10075 * ps-print.el (ps-default-fg, ps-default-bg):
10076 * type-break.el (type-break-good-break-interval):
10077 * whitespace.el (whitespace-indentation-regexp)
10078 (whitespace-space-after-tab-regexp):
10079 * emacs-lisp/testcover.el (testcover-1value-functions)
10080 (testcover-noreturn-functions, testcover-progn-functions)
10081 (testcover-prog1-functions):
10082 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10083 * eshell/em-glob.el (eshell-glob-translate-alist):
10084 * play/tetris.el (tetris-tty-colors):
10085 * progmodes/cpp.el (cpp-face-default-list):
10086 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10087 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10088 (idlwave-help-browser-generic-args):
10089 * progmodes/make-mode.el (makefile-special-targets-list):
10090 * progmodes/python.el (python-shell-virtualenv-path):
10091 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10092 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10093 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10094 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10095 * textmodes/reftex-vars.el (reftex-format-label-function):
10096 * textmodes/remember.el (remember-diary-file): Fix custom types.
10097
10098 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10099 Add :version.
10100
10101 2013-05-09 Leo Liu <sdl.web@gmail.com>
10102
10103 * progmodes/octave.el (inferior-octave-completion-at-point):
10104 Restore file completion. (Bug#14300)
10105 (inferior-octave-startup): Fix incorrect highlighting for the
10106 first prompt.
10107
10108 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * progmodes/ruby-mode.el: First cut at SMIE support.
10111 (ruby-use-smie): New var.
10112 (ruby-smie-grammar): New constant.
10113 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10114 (ruby-smie--forward-token, ruby-smie--backward-token)
10115 (ruby-smie-rules): New functions.
10116 (ruby-mode-variables): Setup SMIE if applicable.
10117
10118 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10119
10120 * simple.el (line-move-visual): Signal beginning/end of buffer
10121 only if vertical-motion moved less than it was requested. Avoids
10122 silly incorrect error messages when there are display strings with
10123 multiple newlines at EOL.
10124
10125 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10128 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10129 (prolog-char-quote-workaround):
10130 * progmodes/cperl-mode.el (cperl-under-as-char):
10131 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10132 Mark as obsolete.
10133 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10134 their declaration.
10135 (vhdl-mode-syntax-table-init): Remove.
10136
10137 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10138 last change.
10139
10140 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10141 syntax for "_".
10142 (ld-script-font-lock-keywords):
10143 Change regexps to use things like \_< and \_>.
10144
10145 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10146 Change all regexps to use things like \_< and \_>.
10147
10148 * progmodes/autoconf.el (autoconf-definition-regexp)
10149 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10150 Handle a _ with symbol syntax.
10151 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10152
10153 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10154 Consolidate declaration.
10155 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10156 the declaration.
10157 (ada-create-syntax-table): Remove.
10158 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10159 already has the right syntax nowadays.
10160 (ada-goto-next-word): Don't change the syntax of "_".
10161
10162 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10163 with-wrapper-hook.
10164
10165 2013-05-08 Sam Steingold <sds@gnu.org>
10166
10167 * thingatpt.el (thing-at-point): Accept optional second argument
10168 NO-PROPERTIES to strip the text properties from the return value.
10169 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10170 to `thing-at-point' instead of stripping the properties ourselves.
10171 Also, when `thing-at-point' fails to find a url, prepend "http://"
10172 to the filename at point on the assumption that the user is
10173 pointing at something like gnu.org/gnu.
10174
10175 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10176
10177 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10178 * faces.el (crm-separator):
10179 Silence byte-compiler.
10180
10181 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10182 (tool-bar-map): Remove unneeded defvars.
10183
10184 2013-05-08 Leo Liu <sdl.web@gmail.com>
10185
10186 Re-work a fix for bug#10994 based on Le Wang's patch.
10187 * ido.el (ido-remove-consecutive-dups): New helper.
10188 (ido-completing-read): Use it.
10189 (ido-chop): Revert fix for bug#10994.
10190
10191 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10192
10193 * cus-edit.el (custom-save-variables):
10194 Pretty-print long values. (Bug#14187)
10195
10196 2013-05-08 Glenn Morris <rgm@gnu.org>
10197
10198 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10199 (m4-mode-syntax-table): Init in the defvar.
10200 (m4-mode-abbrev-table): Let define-derived-mode define it.
10201
10202 2013-05-08 Tom Tromey <tromey@redhat.com>
10203
10204 * progmodes/m4-mode.el (m4-mode-syntax-table):
10205 Do not treat "_" as word constituent. (Bug#14167)
10206
10207 2013-05-07 Glenn Morris <rgm@gnu.org>
10208
10209 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10210 Remove explicit eshell-isearch-cancel-map.
10211
10212 * progmodes/f90.el (f90-smart-end-names): New option.
10213 (f90-smart-end): Doc fix.
10214 (f90-end-block-optional-name): New constant.
10215 (f90-block-match): Respect f90-smart-end-names.
10216
10217 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10220 about implicit semi-colons (bug#14218).
10221
10222 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10223
10224 * frame.el (display-monitor-attributes-list)
10225 (frame-monitor-attributes): New functions.
10226
10227 2013-05-06 Leo Liu <sdl.web@gmail.com>
10228
10229 * progmodes/octave.el (octave-syntax-propertize-function): Change
10230 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10231 (octave-font-lock-keywords): Use octave-operator-regexp.
10232 (octave-completion-at-point): Rename from
10233 octave-completion-at-point-function.
10234 (inferior-octave-directory-tracker): Robustify.
10235 (octave-text-functions): Remove and fix its uses. No such things
10236 any more.
10237
10238 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10239
10240 * emacs-lisp/trace.el (trace--display-buffer): New function.
10241 (trace-make-advice): Use it.
10242
10243 2013-05-06 Juri Linkov <juri@jurta.org>
10244
10245 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10246 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10247 Doc fix.
10248 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10249 in the help string. (Bug#12985)
10250
10251 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10252
10253 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10254
10255 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10256
10257 * progmodes/perl-mode.el: Add support for here documents.
10258 (perl-syntax-propertize-function): Match here-doc markers.
10259 (perl-syntax-propertize-special-constructs): Find their end.
10260 (perl-imenu-generic-expression): Use [:alnum:].
10261
10262 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10263 (advice--add-function): Refresh the advice if already present
10264 (bug#14317).
10265
10266 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10267
10268 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10269
10270 2013-05-06 Glenn Morris <rgm@gnu.org>
10271
10272 * w32-fns.el (w32-charset-info-alist): Declare.
10273
10274 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10275 of its defcustom properties.
10276 (eshell-cmpl-initialize): No need to load pcomplete.
10277
10278 * generic-x.el: No need to require comint when compiling.
10279
10280 * net/eudc-export.el: Make it loadable without bbdb.
10281 (top-level): Use require rather than load-library.
10282 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10283 (eudc-batch-export-records-to-bbdb)
10284 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10285 Require bbdb.
10286
10287 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10290 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10291 some tweaks, instead.
10292
10293 2013-05-05 Leo Liu <sdl.web@gmail.com>
10294
10295 * progmodes/octave.el (octave-font-lock-keywords)
10296 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10297 (inferior-octave-send-list-and-digest): Improve error message.
10298 (octave-mode, inferior-octave-mode): Use setq-local.
10299 (octave-help): Set info-lookup-mode.
10300
10301 2013-05-05 Richard Stallman <rms@gnu.org>
10302
10303 * vc/compare-w.el (compare-windows-whitespace):
10304 Treat no-break space as whitespace.
10305
10306 * mail/rmailsum.el (rmail-summary-rmail-update):
10307 Detect empty summary and don't change selected message.
10308 (rmail-summary-goto-msg): Likewise.
10309
10310 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10311 Doc fixes, rename args.
10312
10313 2013-05-05 Alan Mackenzie <acm@muc.de>
10314
10315 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10316
10317 2013-05-05 Juri Linkov <juri@jurta.org>
10318
10319 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10320 to not add the length of the summary segment to the return value.
10321 (Bug#14125)
10322
10323 2013-05-05 Leo Liu <sdl.web@gmail.com>
10324
10325 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10326 (inferior-octave-output-filter): Remove.
10327 (octave-send-region, inferior-octave-startup): Fix callers.
10328 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10329 (octave-binary-file-extensions): New user variable.
10330 (octave-find-definition): Confirm if opening binary files.
10331 (octave-help-file): Use octave-find-definition to get the binary
10332 confirmation.
10333 (octave-help): Adjust for octave-help-file change.
10334
10335 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10336
10337 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10338 Merge the two entries that handle function definitions.
10339 (pascal--syntax-propertize): New const.
10340 (pascal-mode): Use it. Use setq-local.
10341
10342 2013-05-04 Glenn Morris <rgm@gnu.org>
10343
10344 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10345 (diary-from-outlook): Respect diary-from-outlook-function.
10346
10347 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10350 Move the declaration from C.
10351 (read-minibuffer, eval-minibuffer): Move from C.
10352 (completion-setup-function): Avoid minibuffer-completion-contents.
10353
10354 2013-05-03 Leo Liu <sdl.web@gmail.com>
10355
10356 * progmodes/octave.el (octave-font-lock-keywords): Do not
10357 dehighlight 'end' in comments or strings.
10358 (octave-completing-read, octave-goto-function-definition):
10359 New helpers.
10360 (octave-help-buffer): New user variable.
10361 (octave-help-file, octave-help-function): New button types.
10362 (octave-help): New command and bind it to C-h ;.
10363 (octave-find-definition): New command and bind it to M-.
10364 (user-error): Alias to error if not defined.
10365
10366 2013-05-02 Leo Liu <sdl.web@gmail.com>
10367
10368 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10369 for \. (bug#14332)
10370 (octave-font-lock-keywords): Include [ and {.
10371
10372 2013-05-02 Leo Liu <sdl.web@gmail.com>
10373
10374 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10375 (inferior-octave): Remove calling comint-mode and return the buffer.
10376 (inferior-octave-startup): Cosmetic changes.
10377
10378 2013-05-02 Leo Liu <sdl.web@gmail.com>
10379
10380 * progmodes/octave.el (octave-syntax-propertize-function):
10381 Include the case when ' is at line beginning. (Bug#14336)
10382
10383 2013-05-02 Glenn Morris <rgm@gnu.org>
10384
10385 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10386 * desktop.el (vc-dir-mode): Just autoload it here.
10387
10388 2013-05-02 Alan Mackenzie <acm@muc.de>
10389
10390 Eliminate variable c-standard-font-lock-fontify-region-function.
10391 * progmodes/cc-mode.el
10392 (c-standard-font-lock-fontify-region-function): Remove.
10393 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10394
10395 2013-05-01 Leo Liu <sdl.web@gmail.com>
10396
10397 * progmodes/octave.el: Compatible with older emacs-24 releases.
10398 (inferior-octave-has-built-in-variables): Remove. Built-in
10399 variables were removed from Octave in 2007.
10400 (inferior-octave-startup): Fix uses.
10401 (comint-line-beginning-position): Remove compatibility code for
10402 emacs 21.
10403
10404 2013-05-01 Juri Linkov <juri@jurta.org>
10405
10406 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10407
10408 2013-05-01 Juri Linkov <juri@jurta.org>
10409
10410 * comint.el (comint-previous-matching-input): Don't print message
10411 "History item: %d" when `isearch-mode' is active.
10412 (comint-history-isearch-message): Print message "History item: %d"
10413 when `comint-input-ring-index' is not empty and this function is
10414 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10415
10416 2013-05-01 Leo Liu <sdl.web@gmail.com>
10417
10418 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10419 definitions. Use completion-at-point to insert keywords.
10420 (octave-abbrev-start): Remove.
10421 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10422
10423 2013-04-30 Leo Liu <sdl.web@gmail.com>
10424
10425 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10426 change.
10427
10428 2013-04-30 Alan Mackenzie <acm@muc.de>
10429
10430 Handle arbitrarily long C++ member initialisation lists.
10431 * progmodes/cc-engine.el (c-back-over-member-initializers):
10432 new function.
10433 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10434 (most) member init lists.
10435
10436 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10437
10438 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10439 variable.
10440
10441 2013-04-30 Leo Liu <sdl.web@gmail.com>
10442
10443 * progmodes/octave.el (octave-variables): Remove. No builtin
10444 variables any more. All converted to functions.
10445 (octave-font-lock-keywords, octave-completion-at-point-function):
10446 Fix uses.
10447 (octave-font-lock-texinfo-comment): New user variable.
10448 (octave-texinfo-font-lock-keywords): New variable for texinfo
10449 comment block.
10450 (octave-function-comment-block): New face.
10451 (octave-font-lock-texinfo-comment): New function.
10452 (octave-mode): Font lock texinfo comment block.
10453
10454 2013-04-29 Leo Liu <sdl.web@gmail.com>
10455
10456 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10457 indexing expression.
10458 (octave-continuation-string): Do not use \.
10459 (inferior-octave-complete-impossible): Remove.
10460 (inferior-octave-completion-table)
10461 (inferior-octave-completion-at-point): Remove its uses.
10462 (inferior-octave-startup): completion_matches was introduced to
10463 Octave in 1996 so safe to assume it.
10464 (octave-function-file-comment): Improve to follow how Octave does it.
10465 (octave-update-function-file-comment): Tweak.
10466
10467 2013-04-29 Leo Liu <sdl.web@gmail.com>
10468
10469 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10470 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10471 (octave-function-file-comment): Fix typo.
10472 (octave-sync-function-file-names): Use read-char-choice.
10473
10474 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10475
10476 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10477 to t for the less important warnings.
10478
10479 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10480
10481 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10482
10483 2013-04-27 Glenn Morris <rgm@gnu.org>
10484
10485 * vc/log-view.el (log-view-current-entry):
10486 Treat "---" separator lines as part of the following rev. (Bug#14169)
10487
10488 2013-04-27 Juri Linkov <juri@jurta.org>
10489
10490 * subr.el (read-number): Doc fix about using it by interactive
10491 code letter `n'. (Bug#14254)
10492
10493 2013-04-27 Juri Linkov <juri@jurta.org>
10494
10495 * desktop.el (desktop-auto-save-timeout): New option.
10496 (desktop-file-checksum): New variable.
10497 (desktop-save): Add optional arg `auto-save' and don't auto-save
10498 if nothing changed.
10499 (desktop-auto-save-timer): New variable.
10500 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10501 (after-init-hook): Call `desktop-auto-save-set-timer'.
10502 Suggested by Reuben Thomas <rrt@sc3d.org> in
10503 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10504
10505 2013-04-27 Leo Liu <sdl.web@gmail.com>
10506
10507 * progmodes/octave.el (octave-function-file-p)
10508 (octave-skip-comment-forward, octave-function-file-comment)
10509 (octave-update-function-file-comment): New functions.
10510 (octave-mode-map): Bind C-c ; to
10511 octave-update-function-file-comment.
10512 (octave-mode-menu): Add octave-update-function-file-comment.
10513 (octave-mode, inferior-octave-mode): Fix doc-string.
10514 (octave-insert-defun): Conform to Octave's coding convention.
10515 (Bug#14285)
10516
10517 * files.el (basic-save-buffer): Don't let errors in
10518 before-save-hook prevent saving buffer.
10519
10520 2013-04-20 Roland Winkler <winkler@gnu.org>
10521
10522 * faces.el (read-face-name): Use completing-read if arg multiple
10523 is nil.
10524
10525 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10526
10527 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10528 displayed, move point to after the totals line.
10529 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10530 for the details.
10531
10532 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10533
10534 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10535 Add current dir to the load-path.
10536 (package-generate-autoloads): Don't rely on
10537 autoload-ensure-default-file.
10538
10539 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10540
10541 * textmodes/remember.el (remember-store-in-files): Document that
10542 the file name format is passed to `format-time-string'.
10543
10544 2013-04-26 Leo Liu <sdl.web@gmail.com>
10545
10546 * progmodes/octave.el (octave-sync-function-file-names): New function.
10547 (octave-mode): Use it in before-save-hook.
10548
10549 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10550
10551 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10552 (bug#14274).
10553
10554 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10555 \n and comment, even if it's not an implicit ; (bug#14218).
10556
10557 2013-04-26 Glenn Morris <rgm@gnu.org>
10558
10559 * subr.el (read-number): Once more use `read' rather than
10560 `string-to-number', to trap non-numeric input. (Bug#14254)
10561
10562 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10563
10564 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10565 Use `syntax-multiline' text property consistently instead of
10566 `font-lock-multiline'. (Bug#14237)
10567
10568 2013-04-26 Glenn Morris <rgm@gnu.org>
10569
10570 * emacs-lisp/shadow.el (list-load-path-shadows):
10571 No longer necessary to check for duplicate simple.el, since
10572 2012-07-07 change to init_lread to not include installation lisp
10573 directories in load-path when running uninstalled. (Bug#14270)
10574
10575 2013-04-26 Leo Liu <sdl.web@gmail.com>
10576
10577 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10578 (octave-mode, inferior-octave-mode): Use setq-local.
10579 (octave-not-in-string-or-comment-p): Rename to
10580 octave-in-string-or-comment-p.
10581 (octave-in-comment-p, octave-in-string-p)
10582 (octave-in-string-or-comment-p): Replace defsubst with defun.
10583
10584 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10585
10586 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10587
10588 2013-04-25 Bastien Guerry <bzg@gnu.org>
10589
10590 * textmodes/remember.el (remember-data-directory)
10591 (remember-directory-file-name-format): Fix custom types.
10592
10593 2013-04-25 Leo Liu <sdl.web@gmail.com>
10594
10595 * progmodes/octave.el (octave-completion-at-point-function):
10596 Make use of inferior octave process.
10597 (octave-initialize-completions): Remove.
10598 (inferior-octave-completion-table): New function.
10599 (inferior-octave-completion-at-point): Use it.
10600 (octave-completion-alist): Remove.
10601
10602 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10605 (opascal-mode-syntax-table): New var.
10606 (opascal-literal-kind, opascal-is-literal-end)
10607 (opascal-literal-token-at): Rewrite.
10608 (opascal--literal-start-re, opascal-font-lock-keywords)
10609 (opascal--syntax-propertize): New constants.
10610 (opascal-font-lock-defaults): Adjust.
10611 (opascal-mode): Use them. Set comment-<foo> variables as well.
10612 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10613 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10614 (delphi-other-face, opascal-other-face): Remove face variables.
10615 (opascal-save-state): Remove macro.
10616 (opascal-fontifying-progress-step): Remove constant.
10617 (opascal--ignore-changes): Remove var.
10618 (opascal-set-token-property, opascal-parse-next-literal)
10619 (opascal-is-stable-literal, opascal-complete-literal)
10620 (opascal-is-literal-start, opascal-face-of)
10621 (opascal-parse-region, opascal-parse-region-until-stable)
10622 (opascal-fontify-region, opascal-after-change)
10623 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10624 (opascal-debug-parse-region, opascal-debug-parse-window)
10625 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10626 (opascal-debug-fontify-buffer): Remove.
10627 (opascal-debug-mode-map): Adjust accordingly.
10628
10629 2013-04-25 Leo Liu <sdl.web@gmail.com>
10630
10631 Merge octave-mod.el and octave-inf.el into octave.el with some
10632 cleanups.
10633 * progmodes/octave.el: New file renamed from octave-mod.el.
10634 * progmodes/octave-inf.el: Merged into octave.el.
10635 * progmodes/octave-mod.el: Renamed to octave.el.
10636
10637 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10638
10639 * textmodes/reftex-vars.el
10640 (reftex-label-ignored-macros-and-environments): New defcustom.
10641
10642 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10643
10644 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10647 (smie-indent-keyword): Improve the check to ensure that the next
10648 comment is really on the same line.
10649 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10650
10651 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10652 semi-colons if the line is not otherwise empty (bug#14218).
10653
10654 2013-04-25 Glenn Morris <rgm@gnu.org>
10655
10656 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10657
10658 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10659
10660 * progmodes/opascal.el (opascal-set-token-property): Rename from
10661 opascal-set-text-properties and only set `token' (bug#14134).
10662 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10663 (opascal-literal-text-properties): Remove.
10664 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10665 Adjust callers.
10666
10667 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10668
10669 * textmodes/remember.el (remember-handler-functions): Add an
10670 option for a new handler `remember-store-in-files'.
10671 (remember-data-directory, remember-directory-file-name-format):
10672 New options.
10673 (remember-store-in-files): New function to store remember notes
10674 as separate files within a directory.
10675
10676 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10677
10678 * progmodes/compile.el (compilation-next-error-function):
10679 Pass "formats" to compilation-find-file (bug#11777).
10680
10681 2013-04-24 Glenn Morris <rgm@gnu.org>
10682
10683 * vc/vc-bzr.el (vc-bzr-print-log):
10684 * vc/vc-hg.el (vc-hg-print-log):
10685 * vc/vc-svn.el (vc-svn-print-log):
10686 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10687
10688 * vc/vc-bzr.el (vc-bzr-print-log):
10689 * vc/vc-cvs.el (vc-cvs-print-log):
10690 * vc/vc-git.el (vc-git-print-log):
10691 * vc/vc-hg.el (vc-hg-print-log):
10692 * vc/vc-mtn.el (vc-mtn-print-log):
10693 * vc/vc-rcs.el (vc-rcs-print-log):
10694 * vc/vc-sccs.el (vc-sccs-print-log):
10695 * vc/vc-svn.el (vc-svn-print-log):
10696 * vc/vc.el (vc-print-log-internal): Doc fixes.
10697
10698 2013-04-23 Glenn Morris <rgm@gnu.org>
10699
10700 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10701 Remove venerable code attempting to avoid substitute-command-keys.
10702
10703 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10704
10705 * textmodes/reftex-vars.el (reftex-label-regexps):
10706 Call `reftex-compile-variables' after changes to this variable.
10707
10708 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10709
10710 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10711 Use lexical-binding.
10712 (jit-lock-force-redisplay): Use markers, check buffer's continued
10713 existence and beware narrowed buffers.
10714 (jit-lock-fontify-now): Adjust call accordingly.
10715
10716 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10717
10718 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10719 to avoid misleading the user.
10720
10721 2013-04-22 Leo Liu <sdl.web@gmail.com>
10722
10723 * info-look.el: Prefer latex2e.info. (Bug#14240)
10724
10725 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10726
10727 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10728
10729 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10730 * net/tramp.el (tramp-call-process): ... here.
10731 (tramp-set-completion-function, tramp-parse-putty):
10732 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10733 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10734 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10735 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10736 (tramp-call-local-coding-command): Use `tramp-call-process'
10737 instead of `tramp-compat-call-process'.
10738
10739 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10740 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10741 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10742 (tramp-find-inline-compress): Improve traces.
10743 (tramp-maybe-send-script): Check for Perl binary.
10744 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10745
10746 2013-04-22 Daiki Ueno <ueno@gnu.org>
10747
10748 * epg.el (epg-context-pinentry-mode): New function.
10749 (epg-context-set-pinentry-mode): New function.
10750 (epg--start): Pass --pinentry-mode option to gpg command.
10751
10752 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10753
10754 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10755 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10756 `completion-at-point'. (Bug#13774)
10757
10758 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10759 default key binding for `describe-distribution' has been moved to
10760 `C-h C-o'. (Bug#13970)
10761
10762 2013-04-21 Glenn Morris <rgm@gnu.org>
10763
10764 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10765 Add doc strings.
10766 (vc-print-log): Clarify interactive prompt.
10767
10768 2013-04-20 Glenn Morris <rgm@gnu.org>
10769
10770 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10771 No longer include timestamp etc information.
10772
10773 2013-04-20 Roland Winkler <winkler@gnu.org>
10774
10775 * faces.el (read-face-name): Bug fix, return just one face if arg
10776 multiple is nil. (Bug#14209)
10777
10778 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10781 (remove-function): Autoload.
10782
10783 * comint.el (comint-redirect-original-filter-function): Remove.
10784 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10785 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10786 (vc-cvs-annotate-command):
10787 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10788 * progmodes/prolog.el (prolog-consult-compile):
10789 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10790 Use add/remove-function instead.
10791 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10792 (gud-tooltip-process-output, gud-tooltip-tips):
10793 Use add/remove-function instead.
10794 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10795 (scheme-interaction-mode, exit-scheme-interaction-mode):
10796 Use add/remove-function instead.
10797
10798 * vc/vc-dispatcher.el: Use lexical-binding.
10799 (vc--process-sentinel): Rename from vc-process-sentinel.
10800 Change last arg to be the code to run. Don't use vc-previous-sentinel
10801 and vc-sentinel-commands any more.
10802 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10803 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10804
10805 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10806
10807 * progmodes/sh-script.el (sh-imenu-generic-expression):
10808 Handle function names with a single character. (Bug#14111)
10809
10810 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10811
10812 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10813 for subroutines defined in an eval (bug#14182).
10814
10815 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10816
10817 * bookmark.el (bookmark-completing-read): Improve handling of empty
10818 string (bug#14176).
10819
10820 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10821
10822 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10823
10824 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10825
10826 New faster Imenu implementation (bug#14058).
10827 * progmodes/python.el:
10828 (python-imenu-prev-index-position):
10829 (python-imenu-format-item-label-function)
10830 (python-imenu-format-parent-item-label-function)
10831 (python-imenu-format-parent-item-jump-label-function):
10832 New vars.
10833 (python-imenu-format-item-label)
10834 (python-imenu-format-parent-item-label)
10835 (python-imenu-format-parent-item-jump-label)
10836 (python-imenu--put-parent, python-imenu--build-tree)
10837 (python-imenu-create-index, python-imenu-create-flat-index)
10838 (python-util-popn): New functions.
10839 (python-mode): Set imenu-create-index-function to
10840 python-imenu-create-index.
10841
10842 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * winner.el (winner-active-region): Use region-active-p, activate-mark
10845 and deactivate-mark (bug#14225).
10846
10847 * simple.el (deactivate-mark): Don't inline it.
10848
10849 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10850
10851 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10852
10853 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10854
10855 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10856 file extensions from the archive-mode entry in order to prefer
10857 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10858
10859 2013-04-18 Leo Liu <sdl.web@gmail.com>
10860
10861 * bindings.el (help-event-list): Add ?\?.
10862
10863 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * subr.el (with-wrapper-hook): Declare obsolete.
10866 * simple.el (filter-buffer-substring-function): New hook.
10867 (filter-buffer-substring): Use it.
10868 (filter-buffer-substring-functions): Mark obsolete.
10869 * minibuffer.el (completion-in-region-function): New hook.
10870 (completion-in-region): Use it.
10871 (completion-in-region-functions): Mark obsolete.
10872 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10873 * abbrev.el (abbrev-expand-function): New hook.
10874 (expand-abbrev): Use it.
10875 (abbrev-expand-functions): Mark obsolete.
10876 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10877 and :filter-return.
10878
10879 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10880
10881 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10882 and do not care about match data.
10883
10884 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10885
10886 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10887 completion tables when completing error conditions and
10888 `declare' arguments.
10889 (lisp-complete-symbol, field-complete): Mark as obsolete.
10890 (check-parens): Unmatched parens are user errors.
10891 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10892
10893 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10894
10895 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10896 command changed buffer (ie. `flyspell-pre-buffer' is not current
10897 buffer), which prevents making decisions based on invalid value of
10898 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10899 cause an error when `flyspell-pre-point' was nil after switching
10900 buffers.
10901 (flyspell-post-command-hook): No longer needs to change buffers when
10902 checking pre-word. While at it remove unnecessary progn.
10903
10904 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10905
10906 * textmodes/ispell.el (ispell-add-per-file-word-list):
10907 Fix `flyspell-correct-word-before-point' error when accepting
10908 words and `coment-padding' is an integer by using
10909 `comment-normalize-vars' (Bug #14214).
10910
10911 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10912
10913 New defun movement commands.
10914 * progmodes/python.el (python-nav--syntactically)
10915 (python-nav--forward-defun, python-nav-backward-defun)
10916 (python-nav-forward-defun): New functions.
10917
10918 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10919
10920 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10921 (python-syntax-context): Use named compiler-macro for backwards
10922 compatibility with Emacs 24.x.
10923
10924 2013-04-17 Leo Liu <sdl.web@gmail.com>
10925
10926 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10927 octave-hide-process-buffer.
10928
10929 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10930
10931 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10932 (bug#14216).
10933
10934 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10935
10936 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10937 Fix adjustment of offset when receiving incomplete responses from GDB
10938 (bug#14129).
10939
10940 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10941
10942 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10943 python-mode-abbrev-table.
10944 (python-skeleton-define): Adjust accordingly.
10945 (python-mode-abbrev-table): New table that inherits from it so that
10946 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10947
10948 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10949 (abbrev-symbol): Use it.
10950 (abbrev--before-point): Use it since we already handle inheritance.
10951
10952 2013-04-16 Leo Liu <sdl.web@gmail.com>
10953
10954 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10955 binding to info-lookup-symbol.
10956
10957 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10958
10959 * minibuffer.el (completion--twq-all):
10960 * term/ns-win.el (ns-initialize-window-system):
10961 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10962
10963 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10964
10965 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10966 global bindings.
10967
10968 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10969
10970 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10971
10972 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10973 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10974 to nil.
10975 (ruby-end-of-defun): Remove the unused arg, change the docstring
10976 to reflect that this function is only used as the value of
10977 `end-of-defun-function'.
10978 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10979 to reflect an earlier change that beginning/end-of-defun functions
10980 jump between methods in a class definition, as well as top-level
10981 functions.
10982
10983 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10984
10985 * minibuffer.el (minibuffer-complete): Don't just scroll
10986 a *Completions* that's been iconified.
10987 (minibuffer-force-complete): Make sure repetitions do cycle when going
10988 through completion-in-region -> minibuffer-complete.
10989
10990 2013-04-15 Alan Mackenzie <acm@muc.de>
10991
10992 Correct the placement of c-cpp-delimiters when there're #s not at
10993 col 0.
10994
10995 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10996 place a submatch around the #.
10997 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10998 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10999 on the #, not BOL.
11000
11001 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11002
11003 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11004 (advice--member-p): New arg `name'.
11005 (advice--add-function, advice-member-p): Use it (bug#14202).
11006
11007 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11008
11009 Reformulate java imenu-generic-expression.
11010 The old expression contained ill formed regexps.
11011
11012 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11013 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11014 (cc-imenu-java-method-arg-regexp): New defconsts.
11015 (cc-imenu-java-build-type-args-regex): New defun.
11016 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11017 handling of spaces in the regexp.
11018
11019 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11020
11021 * textmodes/ispell.el (ispell-command-loop): Remove
11022 flyspell highlight of a word when ispell accepts it (bug #14178).
11023
11024 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11025
11026 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11027 uses code from the previous `ange-ftp-run-real-handler'.
11028 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11029 only in case that function exist. This is needed for proper
11030 unloading of Tramp.
11031
11032 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11033
11034 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11035
11036 * textmodes/reftex.el (reftex-compile-variables): Use it.
11037
11038 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * files.el (normal-mode): Only use default major-mode if no other mode
11041 was specified.
11042
11043 * emacs-lisp/trace.el (trace-values): New function.
11044
11045 * files.el: Allow : in local variables (bug#14089).
11046 (hack-local-variable-regexp): New var.
11047 (hack-local-variables-prop-line, hack-local-variables): Use it.
11048
11049 2013-04-13 Roland Winkler <winkler@gnu.org>
11050
11051 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11052 data before it gets modified by bibtex-beginning-of-entry.
11053
11054 2013-04-13 Roland Winkler <winkler@gnu.org>
11055
11056 * textmodes/bibtex.el (bibtex-url): Doc fix.
11057
11058 2013-04-13 Roland Winkler <winkler@gnu.org>
11059
11060 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11061 does not visit a BibTeX file, exclude it from the list of buffers
11062 returned by bibtex-initialize.
11063
11064 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11065
11066 * window.el (split-window): Remove interactive form, since as a
11067 command this function is a special case of split-window-below.
11068 Correct doc string.
11069
11070 2013-04-12 Roland Winkler <winkler@gnu.org>
11071
11072 * faces.el (read-face-name): Do not override value of arg default.
11073 Allow single faces and strings as default values. Remove those
11074 elements from return value that are not faces.
11075 (describe-face): Simplify.
11076 (face-at-point): New optional args thing and multiple so that this
11077 function can provide the same functionality previously provided by
11078 read-face-name.
11079 (make-face-bold, make-face-unbold, make-face-italic)
11080 (make-face-unitalic, make-face-bold-italic, invert-face)
11081 (modify-face, read-face-and-attribute): Use face-at-point.
11082
11083 * cus-edit.el (customize-face, customize-face-other-window)
11084 * cus-theme.el (custom-theme-add-face)
11085 * face-remap.el (buffer-face-set)
11086 * facemenu.el (facemenu-set-face): Use face-at-point.
11087
11088 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11089
11090 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11091
11092 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11093
11094 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11095 off leading { and trailing } from field values.
11096
11097 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11098
11099 * emacs-lisp/timer.el (timer--check): New function.
11100 (timer--time, timer-set-function, timer-event-handler): Use it.
11101 (timer-set-idle-time): Simplify.
11102 (timer--activate): CSE.
11103 (timer-event-handler): Give more info in error message.
11104 (internal-timer-start-idle): New function, moved from C.
11105
11106 * mpc.el (mpc-proc): Add `restart' argument.
11107 (mpc-proc-cmd): Use it.
11108 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11109 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11110 less often.
11111
11112 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11113
11114 * progmodes/sh-script.el: Implement `sh-mode' own
11115 `add-log-current-defun-function' (bug#14112).
11116 (sh-current-defun-name): New function.
11117 (sh-mode): Use the function.
11118
11119 2013-04-09 Bastien Guerry <bzg@gnu.org>
11120
11121 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11122
11123 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11126
11127 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11128 timer (bug#14156).
11129
11130 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11131
11132 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11133 declaration.
11134
11135 2013-04-07 Leo Liu <sdl.web@gmail.com>
11136
11137 * pcmpl-x.el: New file.
11138
11139 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11140
11141 Do not set x-display-name until X connection is established.
11142 This is needed to prevent from weird situation described at
11143 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11144 * frame.el (make-frame): Set x-display-name after call to
11145 window system initialization function, not before.
11146 * term/x-win.el (x-initialize-window-system): Add optional
11147 display argument and use it.
11148 * term/w32-win.el (w32-initialize-window-system):
11149 * term/ns-win.el (ns-initialize-window-system):
11150 * term/pc-win.el (msdos-initialize-window-system):
11151 Add compatible optional display argument.
11152
11153 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11154
11155 * files.el (normal-backup-enable-predicate): On MS-Windows and
11156 MS-DOS compare truenames of temporary-file-directory and of the
11157 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11158 don't fail comparison by compare-strings. Also, compare file
11159 names case-insensitively on MS-Windows and MS-DOS.
11160
11161 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11164 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11165
11166 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11167
11168 * whitespace.el (whitespace-color-on, whitespace-color-off):
11169 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11170
11171 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11172
11173 * ispell.el (ispell-set-spellchecker-params):
11174 Really set `ispell-args' for all equivs.
11175
11176 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * ido.el (ido-completions): Use extra elements of ido-decorations
11179 (bug#14143).
11180 (ido-decorations): Update docstring.
11181
11182 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11183
11184 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11185 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11186 nil during initialization, in order not to miss changes since the
11187 file was opened. (Bug#14140)
11188
11189 2013-04-05 Leo Liu <sdl.web@gmail.com>
11190
11191 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11192
11193 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11194
11195 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11196
11197 2013-04-04 Glenn Morris <rgm@gnu.org>
11198
11199 * electric.el (electric-pair-inhibit-predicate): Add :version.
11200
11201 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11202
11203 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11204 when a package is required several times (bug#14082).
11205
11206 2013-04-04 Roland Winkler <winkler@gnu.org>
11207
11208 * faces.el (read-face-name): Behave as promised by the docstring.
11209 Assume that arg default is a list of faces.
11210 (describe-face): Call read-face-name with list of default faces.
11211
11212 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11213
11214 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11215 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11216 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11217 the header.
11218 (bookmark-exit-hook-internal): Save even if list is empty.
11219
11220 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11221
11222 * emacs-lisp/package.el (package-pinned-packages): New var.
11223 (package--add-to-archive-contents): Obey it (bug#14118).
11224
11225 2013-04-03 Alan Mackenzie <acm@muc.de>
11226
11227 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11228 Also adapt to the new values of element 7 of a parse state.
11229
11230 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11231 parameter `not-in-delimiter'. Handle being inside comment opener.
11232 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11233 character in case we're typing a '*' after a '/'.
11234 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11235 instead by passing the parameter to c-state-pp-to-literal.
11236
11237 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11238 for elt. 7 of a parse state.
11239
11240 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11241
11242 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11243 * international/latin1-disp.el, international/mule-util.el:
11244 * language/cyril-util.el, language/european.el, language/ind-util.el:
11245 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11246 * language/tibetan.el, language/viet-util.el:
11247 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11248
11249 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11252 (electric-pair-post-self-insert-function): Use it.
11253 (electric-pair-default-inhibit): New function, extracted from
11254 electric-pair-post-self-insert-function.
11255
11256 2013-03-31 Roland Winkler <winkler@gnu.org>
11257
11258 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11259
11260 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11261
11262 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11263
11264 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11265
11266 Un-indent after "pass" and "return" statements (Bug#13888)
11267 * progmodes/python.el (python-indent-block-enders): New var.
11268 (python-indent-calculate-indentation): Use it.
11269
11270 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11271
11272 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11273 defun. Defining it as defalias could introduce too eager
11274 byte-compiler optimization. (Bug#14030)
11275
11276 2013-03-30 Chong Yidong <cyd@gnu.org>
11277
11278 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11279
11280 2013-03-30 Leo Liu <sdl.web@gmail.com>
11281
11282 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11283 (kmacro-execute-from-register): Pass the keyboard macro to
11284 kmacro-call-macro or repeating won't work correctly.
11285
11286 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11287
11288 * progmodes/subword.el: Back to using `forward-symbol'.
11289
11290 * subr.el (forward-whitespace, forward-symbol)
11291 (forward-same-syntax): Move from thingatpt.el.
11292
11293 2013-03-29 Leo Liu <sdl.web@gmail.com>
11294
11295 * kmacro.el (kmacro-to-register): New command.
11296 (kmacro-execute-from-register): New function.
11297 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11298
11299 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * mpc.el: Use defvar-local and setq-local.
11302 (mpc--proc-connect): Connection failures are not bugs.
11303 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11304 (mpc-volume-map): Bind to the up-events.
11305
11306 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11307
11308 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11309 instead of `forward-symbol'.
11310
11311 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11312
11313 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11314 (edebug--recursive-edit): Use it.
11315 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11316 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11317
11318 2013-03-28 Leo Liu <sdl.web@gmail.com>
11319
11320 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11321
11322 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11323
11324 * facemenu.el (list-colors-callback): New defvar.
11325 (list-colors-redisplay): New function.
11326 (list-colors-display): Install list-colors-redisplay as the
11327 revert-buffer-function. (Bug#14063)
11328
11329 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11332 and suffixes don't overlap (bug#14061).
11333
11334 * case-table.el: Use lexical-binding.
11335 (case-table-get-table): New function.
11336 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11337
11338 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11339
11340 * progmodes/subword.el: Add `superword-mode' to do word motion
11341 over symbol_words (parallels and leverages `subword-mode' which
11342 does word motion inside MixedCaseWords).
11343
11344 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11345
11346 * eshell/em-unix.el: Move su and sudo to...
11347 * eshell/em-tramp.el: ...Eshell tramp module.
11348
11349 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11352 Change return value to be a sexp. Delay `get-buffer' to after
11353 restoring the desktop (bug#13951).
11354
11355 2013-03-26 Leo Liu <sdl.web@gmail.com>
11356
11357 * register.el: Move semantic tag handling back to
11358 cedet/semantic/senator.el. (Bug#14052)
11359
11360 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11361
11362 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11363 into the prompt either (bug#13963).
11364
11365 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11368 part of "(error-foo)".
11369
11370 2013-03-24 Juri Linkov <juri@jurta.org>
11371
11372 * replace.el (list-matching-lines-prefix-face): New defcustom.
11373 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11374 `occur-engine' if `face-differs-from-default-p' returns t.
11375 (occur-engine): Add `,' inside backquote construct to evaluate
11376 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11377 Pass `prefix-face' to the functions `occur-context-lines' and
11378 `occur-engine-add-prefix'.
11379 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11380 `prefix-face' and propertize the prefix with `prefix-face'.
11381 (Bug#14017)
11382
11383 2013-03-24 Leo Liu <sdl.web@gmail.com>
11384
11385 * nxml/rng-valid.el (rng-validate-while-idle)
11386 (rng-validate-quick-while-idle): Guard against deleted buffer.
11387 (Bug#13999)
11388
11389 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11390 is the last entry in kill-buffer-hook.
11391
11392 * files.el (kill-buffer-hook): Doc fix.
11393
11394 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11395
11396 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11397 Make it safe-local.
11398
11399 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11400
11401 2013-03-23 Leo Liu <sdl.web@gmail.com>
11402
11403 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11404 Remove.
11405
11406 * nxml/rng-valid.el (rng-validate-mode)
11407 (rng-after-change-function, rng-do-some-validation):
11408 * nxml/rng-maint.el (rng-validate-buffer):
11409 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11410 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11411 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11412 (nxml-extend-after-change-region): Use with-silent-modifications.
11413
11414 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11415 timer-idle-list.
11416
11417 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11418 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11419 timer-idle-list. (Bug#13999)
11420
11421 2013-03-23 Juri Linkov <juri@jurta.org>
11422
11423 * info.el (info-index-match): New face.
11424 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11425 main pattern and add text properties with the new face to matches
11426 in index entries relative to the beginning of the index entry.
11427 (Bug#14015)
11428
11429 2013-03-21 Eric Ludlam <zappo@gnu.org>
11430
11431 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11432 Inhibit read only while inserting objects.
11433
11434 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11435
11436 * progmodes/cfengine.el: Update docs to mention
11437 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11438 symbol motion. Remove "_" from the word syntax.
11439
11440 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11441
11442 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11443 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11444
11445 2013-03-20 Juri Linkov <juri@jurta.org>
11446
11447 * info.el (Info-next-reference-or-link)
11448 (Info-prev-reference-or-link): New functions.
11449 (Info-next-reference, Info-prev-reference): Use them.
11450 (Info-try-follow-nearest-node): Handle footnote navigation.
11451 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11452
11453 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11454
11455 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11456 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11457
11458 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11459
11460 Suppress unnecessary non-ASCII chatter during build process.
11461 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11462 (batch-skkdic-convert): Suppress most of the chatter.
11463 It's not needed so much now that machines are faster,
11464 and its non-ASCII component was confusing; see Dmitry Gutov in
11465 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11466
11467 2013-03-20 Leo Liu <sdl.web@gmail.com>
11468
11469 * ido.el (ido-chop): Fix bug#10994.
11470
11471 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11472
11473 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11474 Remove vars.
11475 (whitespace-color-on, whitespace-color-off):
11476 Use `font-lock-fontify-buffer' (Bug#13817).
11477
11478 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11479
11480 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11481 remapping in mode-line.
11482 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11483
11484 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11485
11486 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11487 value for `whitespace-line' face (Bug#13875).
11488 (whitespace-font-lock-keywords): Change description.
11489 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11490 the constructed keywords instead.
11491 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11492
11493 2013-03-19 Leo Liu <sdl.web@gmail.com>
11494
11495 * progmodes/compile.el (compilation-display-error): New command.
11496 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11497 C-o. (Bug#13992)
11498
11499 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11500
11501 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11502
11503 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11504
11505 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11506
11507 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11508
11509 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11510
11511 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11512 * net/tramp-gvfs.el (top):
11513 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11514 (tramp-handle-shell-command): Use it.
11515 (tramp-dissect-file-name): Raise an error when hostname is a
11516 method name, and neither method nor user is specified.
11517
11518 * net/trampver.el: Update release number.
11519
11520 2013-03-18 Leo Liu <sdl.web@gmail.com>
11521
11522 Make sure eldoc can be turned off properly.
11523 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11524 eldoc-mode.
11525 (eldoc-display-message-p): Revert last change.
11526 (eldoc-display-message-no-interference-p)
11527 (eldoc-print-current-symbol-info): Tweak.
11528
11529 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11530
11531 * doc-view.el (doc-view-new-window-function): Check the new window
11532 overlay's display property instead the char property of the
11533 buffer's first char. Use `with-selected-window' instead of
11534 `save-window-excursion' with `select-window'.
11535 (doc-view-document->bitmap): Check the current doc-view overlay's
11536 display property instead the char property of the buffer's first char.
11537
11538 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11539
11540 Automate the build of ja-dic.el (Bug#13984).
11541 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11542 from the input, rather than assume that it's been done for us by the
11543 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11544 the current date into a ja-dic.el comment, as that complicates
11545 regression testing.
11546
11547 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11548
11549 * whitespace.el: Fix double evaluation.
11550 (whitespace-space, whitespace-hspace, whitespace-tab)
11551 (whitespace-newline, whitespace-trailing, whitespace-line)
11552 (whitespace-space-before-tab, whitespace-indentation)
11553 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11554 obsolete defvars.
11555 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11556 (whitespace-color-on): Use a single font-lock-add-keywords call.
11557 Fix double-evaluation of face variables.
11558
11559 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11560
11561 * net/tramp-adb.el (tramp-adb-parse-device-names):
11562 Use `start-process' instead of `call-process'. Otherwise, the
11563 function might be blocked under MS Windows. (Bug#13299)
11564
11565 2013-03-17 Leo Liu <sdl.web@gmail.com>
11566
11567 Extend eldoc to display info in the mode-line. (Bug#13978)
11568 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11569 (eldoc-mode-line-string): New variable.
11570 (eldoc-minibuffer-message): New function.
11571 (eldoc-message-function): New variable.
11572 (eldoc-message): Use it.
11573 (eldoc-display-message-p)
11574 (eldoc-display-message-no-interference-p):
11575 Support eldoc-post-insert-mode.
11576
11577 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11578 (eval-expression): Run it.
11579
11580 2013-03-17 Roland Winkler <winkler@gnu.org>
11581
11582 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11583 strings in the list of return values.
11584
11585 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11586
11587 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11588 radix before checking for HMS forms.
11589
11590 2013-03-16 Leo Liu <sdl.web@gmail.com>
11591
11592 * progmodes/scheme.el: Add indentation and font-locking for λ.
11593 (Bug#13975)
11594
11595 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11598 token before point (bug#13942).
11599
11600 2013-03-16 Leo Liu <sdl.web@gmail.com>
11601
11602 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11603
11604 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11605
11606 * startup.el (command-line-normalize-file-name): Fix handling of
11607 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11608 <xfq.free@gmail.com> in
11609 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11610
11611 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11612
11613 Sync with Tramp 2.2.7.
11614
11615 * net/trampver.el: Update release number.
11616
11617 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11618
11619 * doc-view.el: Fix bug#13887.
11620 (doc-view-insert-image): Don't modify overlay associated to
11621 non-live windows, and implement horizontal centering of image in
11622 case it's smaller than the window.
11623 (doc-view-new-window-function): Force redisplay of new windows on
11624 doc-view buffers.
11625
11626 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11627
11628 * saveplace.el (save-place-alist-to-file): Don't sort
11629 `save-place-alist', just pretty-print it (bug#13882).
11630
11631 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11632
11633 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11634 Check whether `default-file-name-coding-system' is bound.
11635 It isn't in XEmacs.
11636
11637 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11640 backquotes for `obsolete' (bug#13929).
11641
11642 * international/mule.el (find-auto-coding): Include file name in
11643 obsolescence warning (bug#13922).
11644
11645 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11646
11647 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11648 for CFEngine 3-specific indentation.
11649 (cfengine3-indent-line): Use it. Fix up category regex.
11650 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11651
11652 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11653
11654 * type-break.el (type-break-file-name):
11655 * textmodes/remember.el (remember-data-file):
11656 * strokes.el (strokes-file):
11657 * shadowfile.el (shadow-initialize):
11658 * saveplace.el (save-place-file):
11659 * ps-bdf.el (bdf-cache-file):
11660 * progmodes/idlwave.el (idlwave-config-directory):
11661 * net/quickurl.el (quickurl-url-file):
11662 * international/kkc.el (kkc-init-file-name):
11663 * ido.el (ido-save-directory-list-file):
11664 * emulation/viper.el (viper-custom-file-name):
11665 * emulation/vip.el (vip-startup-file):
11666 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11667 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11668
11669 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11670
11671 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11672 * language/thai-word.el: Switch to UTF-8.
11673
11674 See ChangeLog.16 for earlier changes.
11675
11676 ;; Local Variables:
11677 ;; coding: utf-8
11678 ;; End:
11679
11680 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11681
11682 This file is part of GNU Emacs.
11683
11684 GNU Emacs is free software: you can redistribute it and/or modify
11685 it under the terms of the GNU General Public License as published by
11686 the Free Software Foundation, either version 3 of the License, or
11687 (at your option) any later version.
11688
11689 GNU Emacs is distributed in the hope that it will be useful,
11690 but WITHOUT ANY WARRANTY; without even the implied warranty of
11691 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11692 GNU General Public License for more details.
11693
11694 You should have received a copy of the GNU General Public License
11695 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.