Fix missing arg in pcase example.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * net/eww.el (eww-bookmark-quit): Remove.
4 (eww-bookmark-browse): Restore the window configuration when you
5 choose a bookmark (bug#16144).
6
7 2013-12-24 Daniel Colascione <dancol@dancol.org>
8
9 * icomplete.el: Remove redundant :group arguments to `defcustom'
10 throughout.
11 (icomplete-show-matches-on-no-input): New customizable variable.
12 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
13 we have something to show.
14 (icomplete-exhibit): Compute completions even if we have no user
15 input.
16
17 2013-12-23 Daniel Colascione <dancol@dancol.org>
18
19 * icomplete.el: Move `provide' to end of file.
20
21 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
22
23 * net/gnutls.el (gnutls-verify-error): Add version tag.
24
25 2013-12-23 Chong Yidong <cyd@gnu.org>
26
27 * subr.el (set-transient-map): Rename from
28 set-temporary-overlay-map. Doc fix.
29
30 * face-remap.el (text-scale-adjust):
31 * indent.el (indent-rigidly):
32 * kmacro.el (kmacro-call-macro):
33 * minibuffer.el (minibuffer-force-complete):
34 * repeat.el (repeat):
35 * simple.el (universal-argument--mode):
36 * calendar/todo-mode.el (todo-insert-item--next-param):
37 * progmodes/f90.el (f90-abbrev-start): Callers changed.
38
39 * indent.el (indent-rigidly): Use substitute-command-keys.
40
41 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
42
43 * net/eww.el (eww-tag-select): Add text-property to jump to next
44 select field.
45 (eww) : Add non-supported ftp error.
46
47 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
48
49 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
50 comments. Handle electric indent after typing `?' and `!'.
51
52 2013-12-22 Chong Yidong <cyd@gnu.org>
53
54 * faces.el (face-spec-recalc): If the theme specs are not
55 applicable to a frame, fall back on the defface spec. This
56 prevents themes from obliterating faces on low-color terminals.
57
58 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
59
60 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
61 after `{'. We need it after block openers, and it doesn't seem
62 to hurt after hash openers.
63
64 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
65
66 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
67 extracted from `ruby-smie-rules'.
68 (ruby--electric-indent-chars): New variable.
69 (ruby--electric-indent-p): New function.
70 (ruby-mode): Use `electric-indent-functions' instead of
71 `electric-indent-chars'.
72
73 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
74
75 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
76 docstring.
77 (ruby-smie-rules): Indent plus one level after `=>'.
78
79 2013-12-21 Richard Stallman <rms@gnu.org>
80
81 * simple.el (newline): Doc fix.
82
83 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
84
85 * net/eww.el (eww-list-histories, eww-list-histories)
86 (eww-history-browse, eww-history-quit, eww-history-kill)
87 (eww-history-mode-map, eww-history-mode): New command and
88 functions to list browser histories.
89 (eww-form-text): Support text form with disabled
90 and readonly attributes.
91 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
92
93 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
94
95 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
96 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
97 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
98 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
99 Use `user-error'.
100 (eww-bookmark-mode-map): Add menu.
101 (eww-render, eww-mode): Use `setq-local'.
102 (eww-tool-bar-map): New variable.
103 (eww-mode): Set `tool-bar-map'.
104 (eww-view-source): Check for `html-mode' with `fboundp'.
105
106 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
107
108 * net/shr.el (shr--extract-best-source): Don't bug out on audio
109 elements with text inside. Also remove debugging.
110
111 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
112
113 * cus-start.el (all): Add ns-use-srgb-colorspace.
114
115 2013-12-21 Chong Yidong <cyd@gnu.org>
116
117 * custom.el (custom-theme-recalc-face): Do nothing if the face is
118 undefined. Thus, theme settings for undefined faces do not take
119 effect until the faces are defined with defface, the same as with
120 theme variables.
121
122 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
123 (face-spec-reset-face): Don't assign extra properties in temacs.
124 (face-spec-recalc): Apply X resources too.
125
126 2013-12-21 Chong Yidong <cyd@gnu.org>
127
128 * faces.el (face-spec-set):
129 * cus-face.el (custom-theme-set-faces, custom-set-faces):
130 * custom.el (defface): Doc fixes (Bug#16203).
131
132 * indent.el (indent-rigidly-map): Add docstring, and move commands
133 into named functions.
134 (indent-rigidly-left, indent-rigidly-right)
135 (indent-rigidly-left-to-tab-stop)
136 (indent-rigidly-right-to-tab-stop): New functions. Decide on
137 indentation direction based on bidi direction, and accumulate
138 sequential commands in a single undo boundary.
139 (indent-rigidly--pop-undo): New utility function.
140
141 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
142
143 * faces.el (read-face-name): Require crm.el when using crm-separator.
144
145 2013-12-20 Daniel Colascione <dancol@dancol.org>
146
147 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
148 so that we don't reflow comments into the shebang line.
149
150 2013-12-20 Juri Linkov <juri@jurta.org>
151
152 * saveplace.el (save-place-to-alist): Add `dired-filename' as
153 a position when `dired-directory' is non-nil. Check integer
154 positions with `integerp'.
155 (toggle-save-place, save-places-to-alist): Add check for
156 `dired-directory'.
157 (save-place-find-file-hook): Check integer positions with
158 `integerp'.
159 (save-place-dired-hook): Use `dired-goto-file' when
160 `dired-filename' is found in the assoc list. Check integer
161 positions with `integerp'.
162 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
163
164 * dired.el (dired-initial-position-hook): Rename back from
165 `dired-initial-point-hook'.
166 (dired-initial-position): Rename `dired-initial-point-hook' to
167 `dired-initial-position-hook'.
168 (dired-file-name-at-point): Doc fix. (Bug#15329)
169
170 2013-12-20 Juri Linkov <juri@jurta.org>
171
172 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
173 (read-regexp-suggestions): New function.
174 (read-regexp): Use `read-regexp-defaults-function' to get default values.
175 Use `read-regexp-suggestions'. Add non-empty default to history
176 for empty input.
177 (occur-read-regexp-defaults-function): Remove function.
178 (occur-read-primary-args): Use `regexp-history-last' instead of
179 `occur-read-regexp-defaults-function'.
180
181 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
182 (hi-lock-line-face-buffer, hi-lock-face-buffer)
183 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
184 `hi-lock-read-regexp-defaults-function'. Doc fix.
185 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
186 with `find-tag-default-as-symbol-regexp'. Doc fix.
187 (hi-lock-read-regexp-defaults): Remove function.
188 (hi-lock-regexp-okay): Add check for null.
189
190 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
191 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
192
193 * subr.el (find-tag-default-as-symbol-regexp): New function.
194 (find-tag-default-as-regexp): Move symbol regexp formatting to
195 `find-tag-default-as-symbol-regexp'.
196
197 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
198
199 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
200 (Bug#14179)
201
202 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
203
204 * calendar/todo-mode.el: New implementation of item insertion
205 commands and key bindings.
206 (todo-key-prompt): New face.
207 (todo-insert-item): New command.
208 (todo-insert-item--parameters): New defconst, replacing defvar
209 todo-insertion-commands-args-genlist.
210 (todo-insert-item--param-key-alist): New defconst, replacing
211 defvar todo-insertion-commands-arg-key-list.
212 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
213 (todo-insert-item--argsleft, todo-insert-item--apply-args)
214 (todo-insert-item--next-param): New functions.
215 (todo-insert-item--args, todo-insert-item--argleft)
216 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
217 New variables.
218 (todo-key-bindings-t): Change binding of "i" from
219 todo-insertion-map to todo-insert-item.
220 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
221 (todo-insertion-command-name, todo-insertion-commands-names)
222 (todo-define-insertion-command, todo-insertion-commands)
223 (todo-insertion-key-bindings, todo-insertion-map): Remove.
224
225 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
226
227 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
228 (todo-toggle-item-highlighting): Use eval-and-compile instead of
229 eval-when-compile.
230 (todo-move-category): Allow choosing a non-existing todo file to
231 move the category to, and create that file.
232 (todo-default-priority): New user option.
233 (todo-set-item-priority): Use it.
234 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
235 (desktop-restore-file-buffer): Declare.
236 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
237 (todo-modes-set-2): Locally set desktop-save-buffer to
238 todo-desktop-save-buffer.
239 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
240 (auto-mode-alist): Add autoload cookie.
241
242 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
243
244 * emacs-lisp/subr-x.el: Renamed from helpers.el.
245 helpers.el was a poor choice of name.
246 (string-remove-prefix): New function.
247 (string-remove-suffix): New function.
248
249 2013-12-20 Martin Rudalics <rudalics@gmx.at>
250
251 Fix assignment for new window total sizes.
252 * window.el (window--pixel-to-size): Remove function.
253 (window--pixel-to-total-1, window--pixel-to-total):
254 Fix calculation of new total sizes.
255
256 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
257
258 * comint.el (comint-output-filter): Fix rear-nonsticky property
259 placement (Bug#16010).
260
261 2013-12-20 Chong Yidong <cyd@gnu.org>
262
263 * faces.el (read-color): Minor fix for completion function.
264
265 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
266
267 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
268 New option. (Bug#16182)
269 (ruby-smie--indent-to-stmt-p): Use it.
270 (ruby-smie-rules): Revert the logic in the handling of `when'.
271 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
272 (ruby-deep-arglist, ruby-deep-indent-paren)
273 (ruby-deep-indent-paren-style): Update docstrings to note that the
274 vars don't have any effect with SMIE.
275
276 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
277
278 * calc/calc.el (calc-enter, calc-pop): Use the variable
279 `calc-context-sensitive-enter'.
280
281 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
282
283 * net/shr.el (shr-insert): Protect against infloops in degenerate
284 tables.
285
286 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
287
288 * progmodes/octave.el (octave): Add link to manual and octave
289 homepage.
290 (octave-mode-menu): Link to octave-mode manual.
291
292 2013-12-20 Leo Liu <sdl.web@gmail.com>
293
294 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
295 insertion using skeleton-end-newline. (Bug#16138)
296
297 2013-12-20 Juri Linkov <juri@jurta.org>
298
299 * replace.el (occur-engine): Use `add-face-text-property'
300 to add the face property to matches and titles. (Bug#14645)
301
302 * hi-lock.el (hi-green): Use lighter color "light green" closer to
303 the palette of other hi-lock colors.
304 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
305
306 2013-12-19 Juri Linkov <juri@jurta.org>
307
308 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
309 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
310 (minibuffer-history-symbol): Move variable declaration closer to
311 its usage.
312
313 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
314 (Bug#14785)
315
316 2013-12-19 Juri Linkov <juri@jurta.org>
317
318 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
319 New function.
320 (log-edit-hook): Add it to :options. (Bug#16170)
321
322 2013-12-19 Juri Linkov <juri@jurta.org>
323
324 * simple.el (eval-expression-print-format): Don't check for
325 command names and the last command. Always display additional
326 formats of the integer result in the echo area, and insert them
327 to the current buffer only with a zero prefix arg.
328 Display character when char-displayable-p is non-nil.
329 (eval-expression): With a zero prefix arg, set `print-length' and
330 `print-level' to nil, and insert the integer values from
331 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
332
333 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
334 `eval-last-sexp-arg-internal'. Doc fix.
335 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
336 `eval-last-sexp-print-value'. Doc fix.
337 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
338 Set `print-length' and `print-level' to nil when arg is zero.
339 (eval-last-sexp): Doc fix.
340 (eval-defun-2): Print the integer values from
341 `eval-expression-print-format' at the end.
342
343 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
344 values from `eval-expression-print-format' at the end.
345
346 * ielm.el (ielm-eval-input): Print the integer
347 values from `eval-expression-print-format' at the end.
348
349 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
350
351 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
352 2013-12-11T19:01:44Z!tzz@lifelogs.com.
353
354 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
357 (hl-line-highlight, global-hl-line-highlight): Use it.
358 (hl-line-overlay): Use defvar-local.
359
360 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
361
362 * term/ns-win.el: Require dnd.
363 (global-map): Remove drag items.
364 (ns-insert-text, ns-set-foreground-at-mouse)
365 (ns-set-background-at-mouse):
366 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
367 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
368 New functions.
369
370 2013-12-19 Glenn Morris <rgm@gnu.org>
371
372 * emacs-lisp/ert.el (ert-select-tests):
373 Fix string/symbol mixup. (Bug#16121)
374
375 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
376
377 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
378 keywords to their parent.
379
380 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
381
382 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
383 first arg to be a string (fixed dead code), or an operator symbol.
384 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
385 operator symbols.
386 (ruby-smie-rules): Remove parent token check in the `.' clause, it
387 did nothing. Don't respond to `(:after ".")', it will be called
388 with :before anyway. Remove the ` @ ' rule, it didn't seem to
389 change anything. Only return indentation for binary operators
390 when they are hanging. De-dent opening paren when its parent is
391 `.', otherwise it looks bad when the dot is not at bol or eol
392 (bug#16182).
393
394 2013-12-19 Juri Linkov <juri@jurta.org>
395
396 * replace.el (query-replace-read-args): Split a non-negative arg
397 and a negative arg into separate elements.
398 (query-replace, query-replace-regexp, replace-string)
399 (replace-regexp): Add arg `backward'. Doc fix.
400 (replace-match-maybe-edit): When new arg `backward' is non-nil,
401 move point to the beginning of the match.
402 (replace-search, replace-highlight): Use new arg `backward'
403 to set the value of `isearch-forward'.
404 (perform-replace): Add arg `backward' and use it to perform
405 replacement backward. (Bug#14979)
406
407 * isearch.el (isearch-query-replace): Use a negative prefix arg
408 to call `perform-replace' with a non-nil arg `backward'.
409
410 2013-12-18 Juri Linkov <juri@jurta.org>
411
412 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
413 to the default list. Move `log-edit-show-files' to the end.
414 Add more available functions to options.
415 (log-edit): Move default specific settings to
416 `log-edit-insert-message-template'. Don't move point.
417 (log-edit-insert-message-template): New function.
418 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
419 (Bug#16170)
420
421 2013-12-18 Juri Linkov <juri@jurta.org>
422
423 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
424 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
425
426 2013-12-18 Leo Liu <sdl.web@gmail.com>
427
428 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
429
430 2013-12-18 Eli Zaretskii <eliz@gnu.org>
431
432 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
433 formats for displaying file sizes when the -s switch is given.
434 Instead, compute a separate format for displaying the size in
435 blocks, which is displayed in addition to the "regular" size.
436 When -h is given in addition to -s, produce size in blocks in
437 human-readable form as well. (Bug#16179)
438
439 2013-12-18 Tassilo Horn <tsdh@gnu.org>
440
441 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
442 Reference tables with ~\ref{...} instead of only \ref{...}.
443
444 2013-12-18 Chong Yidong <cyd@gnu.org>
445
446 * cus-edit.el (custom-magic-alist): Fix "themed" description
447 (Bug#14348).
448
449 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
450 is non-nil, do not create a new entry in the symbol's theme-value
451 or theme-face property; update theme-settings only (Bug#14664).
452 (custom-available-themes): Doc fix.
453
454 * cus-theme.el (custom-new-theme-mode-map): Add bindings
455 (Bug#15674).
456
457 * replace.el (occur-engine): Avoid infloop (Bug#7593).
458
459 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
460
461 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
462 (Bug#13914).
463
464 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
465
466 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
467
468 2013-12-18 Glenn Morris <rgm@gnu.org>
469
470 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
471 * cus-start.el (load-prefer-newer): New option.
472
473 2013-12-18 Le Wang <l26wang@gmail.com>
474
475 * comint.el (comint-previous-matching-input-from-input):
476 Retain point (Bug#13404).
477
478 2013-12-18 Chong Yidong <cyd@gnu.org>
479
480 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
481
482 2013-12-18 Glenn Morris <rgm@gnu.org>
483
484 * mail/emacsbug.el (report-emacs-bug):
485 Only mention enable-multibyte-characters if non-standard.
486
487 2013-12-17 Juri Linkov <juri@jurta.org>
488
489 * arc-mode.el (archive-extract-by-file): Check if directory exists
490 before deletion to not show irrelevant errors if it doesn't exist.
491
492 2013-12-17 Juri Linkov <juri@jurta.org>
493
494 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
495 (Bug#14751)
496
497 * net/eww.el (browse-web): Add alias to `eww'.
498 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
499 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
500
501 * net/browse-url.el (browse-url-browser-function): Move `eww'
502 closer to similar functions.
503
504 * startup.el (fancy-startup-screen, fancy-about-screen):
505 Set browse-url-browser-function to eww-browse-url locally.
506 (Bug#14751)
507
508 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * window.el (window--pixel-to-total): Remove unused `mini' var.
511 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
512 (split-window): Remove unused `new' var.
513 (window--display-buffer): Remove unused `frame' and `delta' vars.
514 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
515 and display-width'.
516
517 2013-12-17 Martin Rudalics <rudalics@gmx.at>
518
519 * dired.el (dired-mark-pop-up):
520 * register.el (register-preview): Don't bind
521 split-height-threshold here since it's now done in
522 display-buffer-below-selected.
523
524 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
525
526 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
527 xterm-rgb-convert-to-16bit.
528 (rxvt-register-default-colors): Standardize with
529 xterm-register-default-colors (Bug#14078).
530
531 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
532
533 * simple.el (kill-region): Pass mark first, then point, so that
534 kill-append works right (Bug#12819).
535 (copy-region-as-kill, kill-ring-save): Likewise.
536
537 2013-12-17 Leo Liu <sdl.web@gmail.com>
538
539 * net/rcirc.el (rcirc-add-face):
540 * eshell/em-prompt.el (eshell-emit-prompt):
541 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
542 (Bug#16167)
543
544 2013-12-17 Chong Yidong <cyd@gnu.org>
545
546 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
547 Suggested by Xue Fuqiao.
548
549 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
550
551 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
552
553 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * net/shr.el (shr-insert-document): Remove unused var
556 `shr-preliminary-table-render'.
557 (shr-rescale-image): Remove unused arg `force'.
558 (shr-put-image): Update calls accordingly.
559 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
560
561 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
562
563 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
564 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
565 :close-all, to see which indentation method to use (Bug#16116).
566 (smie-rules-function): Document the method :close-all.
567
568 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
569
570 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
571
572 * net/eww.el (eww-display-html): If we can't find the anchor we're
573 looking for, then go to point-min.
574
575 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
576
577 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
578 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
579 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
580 Expand dir too, in case it's relative.
581
582 2013-12-16 Juri Linkov <juri@jurta.org>
583
584 * desktop.el (desktop-auto-save-timeout): Change default to
585 `auto-save-timeout'. Doc fix.
586 (desktop-save): Skip the timestamp in desktop-saved-frameset
587 when checking for auto-save changes.
588 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
589 `desktop-auto-save' is called repeatedly by the idle timer.
590 (desktop-auto-save-set-timer): Replace `run-with-timer' with
591 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
592 (Bug#15331)
593
594 2013-12-16 Juri Linkov <juri@jurta.org>
595
596 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
597 (Bug#16035)
598 (isearch-pre-command-hook): Check `this-command' for symbolp.
599
600 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
603
604 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
605
606 * progmodes/cfengine.el (cfengine3--current-word): Remove.
607 (cfengine3--current-function): Bring in the current-function
608 functionality from `cfengine3--current-word'.
609 (cfengine3-completion-function): Bring in the
610 bounds-of-current-word functionality from
611 `cfengine3--current-word'.
612
613 2013-12-16 Martin Rudalics <rudalics@gmx.at>
614
615 * window.el (display-buffer-below-selected):
616 Bind split-height-threshold to 0 as suggested by Juri Linkov.
617
618 2013-12-16 Leo Liu <sdl.web@gmail.com>
619
620 * progmodes/compile.el (compile-goto-error): Do not push-mark.
621 Remove NOMSG arg and all uses changed.
622
623 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
624
625 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
626 (cua--deactivate-rectangle): Don't deactivate the mark.
627 (cua-set-rectangle-mark): Don't set mark-active since
628 cua--activate-rectangle already does it for us.
629 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
630 non-rectangular region.
631
632 * emulation/cua-base.el (cua-repeat-replace-region):
633 Use with-current-buffer.
634
635 * net/gnutls.el: Use cl-lib.
636 (gnutls-negotiate): `mapcan' -> cl-mapcan.
637
638 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
639
640 * emacs-lisp/package.el (package-built-in-p): Support both
641 built-in and the package.el converted package descriptions.
642 (package-show-package-list): Allow keywords.
643 (package-keyword-button-action): Use it instead of
644 `finder-list-matches'.
645 (package-menu-filter-interactive): Interactive filtering (by
646 keyword) function.
647 (package-menu--generate): Support keywords and change keymappings
648 and headers when they are given.
649 (package--has-keyword-p): Helper function.
650 (package-menu--refresh): Use it.
651 (package--mapc): Helper function.
652 (package-all-keywords): Use it.
653 (package-menu-mode-map): Set up menu items and keybindings to
654 provide a filtering UI.
655
656 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
657
658 * net/gnutls.el (gnutls-verify-error): New defcustom to control
659 the behavior when a certificate fails validation. Defaults to
660 old behavior: never abort, just warn.
661 (gnutls-negotiate): Use it.
662
663 2013-12-14 Martin Rudalics <rudalics@gmx.at>
664
665 * window.el (display-buffer-below-selected): Never split window
666 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
667
668 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
669
670 * emacs-lisp/package.el (package--prepare-dependencies): New function.
671 (package-buffer-info): Use it (bug#15108).
672
673 * icomplete.el (icomplete-completions): Make sure the prefix is already
674 displayed elsewhere before hiding it.
675
676 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
677
678 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
679 open-paren tokens when preceded by a open-paren, too.
680 (ruby-smie-rules): Handle virtual indentation after open-paren
681 tokens specially. If there is code between it and eol, return the
682 column where is starts (Bug#16118).
683
684 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
685
686 * progmodes/cfengine.el: Fix `add-hook' doc.
687 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
688 (cfengine3--current-word): Fix parameters.
689 (cfengine3-make-syntax-cache): Simplify further.
690 (cfengine3-completion-function, cfengine3--current-function):
691 Use `assq' for symbols.
692 (cfengine3--current-function): Fix `cfengine3--current-word' call.
693
694 2013-12-13 Glenn Morris <rgm@gnu.org>
695
696 * loadup.el (load-path): Warn if site-load or site-init changes it.
697 No more need to reset it when bootstrapping.
698
699 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
700
701 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
702 locations for cf-promises.
703 (cfengine-mode-syntax-functions-regex): New caching variable.
704 (cfengine3-fallback-syntax): Fallback syntax for cases where
705 cf-promises doesn't run.
706 (cfengine3--current-word): Reimplement using
707 `cfengine-mode-syntax-functions-regex'.
708 (cfengine3-completion-function, cfengine3--current-function):
709 Use `cfengine3-make-syntax-cache' directly.
710 (cfengine3-clear-syntax-cache): New function.
711 (cfengine3-make-syntax-cache): Simplify and create
712 `cfengine-mode-syntax-functions-regex' on demand.
713 (cfengine3-format-function-docstring): Don't call
714 `cfengine3-make-syntax-cache' explicitly.
715
716 2013-12-13 Martin Rudalics <rudalics@gmx.at>
717
718 Fix windmove-find-other-window broken after pixelwise resizing
719 (Bug#16017).
720 * windmove.el (windmove-other-window-loc): Revert change from
721 2013-12-04.
722 (windmove-find-other-window): Call window-in-direction.
723 * window.el (window-in-direction): New arguments SIGN, WRAP and
724 MINI to emulate original windmove-find-other-window behavior.
725
726 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
727
728 * simple.el (blink-matching--overlay): New variable.
729 (blink-matching-open): Instead of moving point, highlight the
730 matching paren with an overlay
731 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
732
733 * faces.el (paren-showing-faces, show-paren-match)
734 (show-paren-mismatch): Move from paren.el.
735
736 2013-12-13 Leo Liu <sdl.web@gmail.com>
737
738 * indent.el (indent-region): Disable progress reporter in
739 minibuffer. (Bug#16108)
740
741 * bindings.el (visual-order-cursor-movement): Fix version.
742
743 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
744
745 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
746 Also match after beginning of line.
747 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
748 files. Thanks to Russell Sim. (Bug#15378)
749
750 2013-12-13 Juri Linkov <juri@jurta.org>
751
752 * simple.el <Keypad support>: Remove key bindings duplicated
753 with bindings.el. (Bug#14397)
754
755 2013-12-13 Juri Linkov <juri@jurta.org>
756
757 * comint.el (comint-mode-map): Replace `delete-char' with
758 `delete-forward-char'. (Bug#16109)
759
760 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
761
762 * progmodes/python.el (python-indent-calculate-indentation):
763 Fix de-denters cornercase. (Bug#15731)
764
765 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
768 (advice--make): Pay attention to `depth'.
769 (advice--make-1): Don't autoload commands eagerly.
770 * emacs-lisp/elp.el (elp-instrument-function):
771 * emacs-lisp/trace.el (trace-function-internal):
772 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
773
774 * iswitchb.el (iswitchb-mode): Don't belittle ido.
775
776 2013-12-12 Eli Zaretskii <eliz@gnu.org>
777
778 * term/w32-win.el (w32-handle-dropped-file):
779 * startup.el (normal-top-level):
780 * net/browse-url.el (browse-url-file-url):
781 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
782 decode file names using 'utf-8' rather than
783 file-name-coding-system.
784
785 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
786
787 * progmodes/python.el (python-indent-context)
788 (python-indent-calculate-indentation): Fix auto-identation
789 behavior for comment blocks. (Bug#15916)
790
791 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
792
793 * progmodes/python.el (python-indent-calculate-indentation):
794 When determining indentation, don't treat "return", "pass", etc., as
795 operators when they are just string constituents. (Bug#15812)
796
797 2013-12-12 Juri Linkov <juri@jurta.org>
798
799 * uniquify.el (uniquify-buffer-name-style): Change default to
800 `post-forward-angle-brackets'.
801
802 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
803 `uniquify'. Change default to `post-forward-angle-brackets'.
804
805 2013-12-11 Glenn Morris <rgm@gnu.org>
806
807 * emacs-lisp/package.el (finder-list-matches):
808 Autoload rather than falsely declaring.
809
810 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
811
812 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
813 (eww-mode-map): Use them.
814
815 2013-12-11 Martin Rudalics <rudalics@gmx.at>
816
817 * window.el (display-buffer-in-side-window): Fix doc-string
818 (Bug#16115).
819
820 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
821
822 * vc/vc-git.el: Silence byte-compiler warnings.
823 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
824 (log-edit-set-header): Declare.
825
826 2013-12-11 Eli Zaretskii <eliz@gnu.org>
827
828 * Makefile.in (custom-deps, finder-data): Run output file names
829 through unmsys--file-name. (Bug#16099)
830
831 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
832
833 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
834 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
835
836 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
837 instead of deleting the selection "by hand" (bug#16098).
838 Rely on insert-for-yank to yank rectangles.
839 (cua-highlight-region-shift-only): Mark obsolete.
840 (cua-mode): Don't enable/disable transient-mark-mode,
841 shift-select-mode (cua-mode works both with and without them), and
842 pc-selection-mode (obsolete).
843 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
844 (cua--deactivate-rectangle): Deactivate it.
845
846 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
847 (delete-selection-helper): Make sure yank starts at the top of the
848 deleted region.
849 (minibuffer-keyboard-quit): Use region-active-p.
850
851 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
852
853 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
854 to `delete' (bug#16109).
855
856 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
857
858 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
859 info manual and show keybindings and set `:group' keyword.
860
861 2013-12-11 Juri Linkov <juri@jurta.org>
862
863 * delsel.el (delete-active-region): Let-bind `this-command'
864 to prevent `kill-region' from changing its original value.
865 (delete-selection-helper): Handle `overwrite-mode' for the type
866 `kill' exactly the same way as for the type `t'.
867 (insert-char, quoted-insert, reindent-then-newline-and-indent):
868 Support more commands. (Bug#13312)
869
870 2013-12-11 Juri Linkov <juri@jurta.org>
871
872 * bindings.el: Map kp keys to non-kp keys systematically
873 with basic modifiers control, meta and shift. (Bug#14397)
874
875 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
876
877 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
878 "Close browser" menu items. Fix wrong function of "List
879 bookmarks".
880
881 2013-12-11 Juri Linkov <juri@jurta.org>
882
883 * misearch.el (multi-isearch-buffers): Set the value of
884 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
885 arg of isearch-forward to t.
886 (multi-isearch-buffers-regexp): Set the value of
887 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
888 arg of isearch-forward-regexp to t.
889 (multi-isearch-files): Set the value of
890 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
891 arg of isearch-forward to t.
892 (multi-isearch-files-regexp): Set the value of
893 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
894 arg of isearch-forward-regexp to t. (Bug#16035)
895
896 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
897 arg of isearch-forward to t.
898 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
899 arg of isearch-forward-regexp to t.
900 (dired-isearch-filter-filenames): Remove unnecessary check for
901 `dired-isearch-filenames'.
902
903 * comint.el (comint-history-isearch-backward):
904 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
905 (comint-history-isearch-backward-regexp):
906 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
907
908 2013-12-10 Eli Zaretskii <eliz@gnu.org>
909
910 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
911 unmsys--file-name. (Bug#16099)
912
913 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
914
915 * emacs-lisp/package.el (package-keyword-button-action):
916 Remove finder.el require dependency.
917
918 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
919
920 * emacs-lisp/package.el: Require finder.el.
921 (describe-package-1): Add keyword buttons.
922 (package-make-button): New convenience function.
923 (package-keyword-button-action): Keyword button action using
924 `finder-list-matches'.
925
926 2013-12-09 Eli Zaretskii <eliz@gnu.org>
927
928 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
929 last commit.
930
931 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
932
933 * autorevert.el (auto-revert-notify-add-watch): Do not handle
934 symlinked files.
935
936 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
937
938 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
939 after the end of a percent literal.
940
941 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
942
943 * progmodes/ruby-mode.el (ruby-forward-string): Document.
944 Handle caret-delimited strings (Bug#16079).
945
946 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
947
948 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
949 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
950 `ruby-parse-partial' (Bug#16078).
951
952 2013-12-09 Leo Liu <sdl.web@gmail.com>
953
954 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
955
956 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
957
958 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
959 (js-switch-indent-offset): New option.
960 (js--proper-indentation): Use it. And handle the case when
961 "default" is actually a key in an object literal.
962 (js--same-line): New function.
963 (js--multi-line-declaration-indentation): Use it.
964 (js--indent-in-array-comp, js--array-comp-indentation):
965 New functions.
966 (js--proper-indentation): Use them, to handle array comprehension
967 continuations.
968
969 2013-12-08 Leo Liu <sdl.web@gmail.com>
970
971 * progmodes/flymake.el (flymake-highlight-line): Re-write.
972 (flymake-make-overlay): Remove arg MOUSE-FACE.
973 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
974
975 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
978 New function.
979 (redisplay-highlight-region-function): Use it.
980
981 * emulation/cua-base.el (cua--explicit-region-start)
982 (cua--last-region-shifted): Remove.
983 (cua--deactivate): Use deactivate-mark.
984 (cua--pre-command-handler-1): Don't handle shift-selection.
985 (cua--post-command-handler-1): Don't change transient-mark-mode.
986 (cua--select-keymaps): Use region-active-p rather than
987 cua--explicit-region-start or cua--last-region-shifted.
988 (cua-mode): Enable shift-select-mode.
989
990 2013-12-08 Leo Liu <sdl.web@gmail.com>
991
992 * progmodes/flymake.el (flymake-popup-current-error-menu):
993 Rename from flymake-display-err-menu-for-current-line. Reimplement.
994 (flymake-posn-at-point-as-event, flymake-popup-menu)
995 (flymake-make-emacs-menu): Remove. (Bug#16077)
996
997 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * rect.el (rectangle-mark-mode): Activate mark even if
1000 transient-mark-mode is off (bug#16066).
1001 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1002 is > mark and at bolp.
1003
1004 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1005 (region-extract-function): Use it.
1006 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1007 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1008 Delete functions.
1009 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1010 kill-ring-save, kill-region, delete-char, delete-forward-char.
1011 Ignore self-insert-iso.
1012
1013 * emulation/cua-gmrk.el (cua--init-global-mark):
1014 Ignore `self-insert-iso'.
1015
1016 * emulation/cua-base.el (cua--prefix-copy-handler)
1017 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1018 checking cua--rectangle.
1019 (cua-delete-region): Use region-extract-function.
1020 (cua-replace-region): Delete function.
1021 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1022 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1023 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1024 (cua--init-keymaps): Don't remap delete-selection commands.
1025 (cua-mode): Use delete-selection-mode instead of rolling our own
1026 (bug#16085).
1027
1028 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1029 Obey region-extract-function.
1030
1031 Make registers and delete-selection-mode work on rectangles.
1032 * register.el (describe-register-1): Don't modify the register's value.
1033 (copy-to-register): Obey region-extract-function.
1034 * delsel.el (delete-active-region): Obey region-extract-function.
1035
1036 2013-12-08 Leo Liu <sdl.web@gmail.com>
1037
1038 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1039 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1040 (flymake-compilation-prevents-syntax-check)
1041 (flymake-start-syntax-check-on-newline)
1042 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1043 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1044 (flymake-xml-program, flymake-master-file-dirs)
1045 (flymake-master-file-count-limit)
1046 (flymake-allowed-file-name-masks): Relocate.
1047 (flymake-makehash, flymake-float-time)
1048 (flymake-replace-regexp-in-string, flymake-split-string)
1049 (flymake-get-temp-dir): Remove.
1050 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1051 (flymake-current-row, flymake-selected-frame)
1052 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1053 related functions. (Bug#16077)
1054
1055 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1056
1057 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1058
1059 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1060
1061 * help-fns.el (describe-function-1): Use new advice-* functions
1062 rather than old ad-* functions. Fix function type description and
1063 source links for advised functions and subrs.
1064
1065 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1066
1067 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1068
1069 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1070
1071 * progmodes/compile.el (compilation-start):
1072 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1073
1074 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1075 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1076
1077 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1078
1079 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1080 Touch up the last change.
1081
1082 2013-12-06 Leo Liu <sdl.web@gmail.com>
1083
1084 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1085 (inferior-octave-startup): Always use "octave> " for prompt.
1086 (octave-goto-function-definition)
1087 (octave-sync-function-file-names)
1088 (octave-find-definition-default-filename): Remove redundant backquotes.
1089
1090 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1091
1092 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1093 syntax for `?'.
1094 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1095 where appropriate already.
1096 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1097 end of method names (Bug#15874).
1098
1099 2013-12-06 Juri Linkov <juri@jurta.org>
1100
1101 * isearch.el (isearch--saved-overriding-local-map):
1102 New internal variable.
1103 (isearch-mode): Set it to the initial value of
1104 `overriding-terminal-local-map'.
1105 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1106 with `isearch--saved-overriding-local-map'. (Bug#16035)
1107
1108 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1109
1110 * progmodes/octave.el (inferior-octave-completion-table):
1111 Turn back into function, use `completion-table-with-cache'
1112 (Bug#11906). Update all references.
1113
1114 * minibuffer.el (completion-table-with-cache): New function.
1115
1116 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1117
1118 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1119
1120 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1121
1122 * net/eww.el (eww-current-source): New variable to store page
1123 source.
1124 (eww-display-html, eww-mode, eww-save-history)
1125 (eww-restore-history): Use it.
1126 (eww-view-source): New command to view page source.
1127 Opportunistically uses `html-mode' to highlight the buffer.
1128 (eww-mode-map): Install it.
1129
1130 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1131
1132 * net/dbus.el (dbus-unregister-service)
1133 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1134 Fix docstring.
1135 (dbus-unregister-service): Skip :serial entries in
1136 `dbus-registered-objects-table'.
1137 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1138
1139 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1140
1141 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1142 around keywords with extra `split-string' argument.
1143
1144 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1145
1146 * windmove.el (windmove-other-window-loc): Handle navigation
1147 between windows (excluding the minibuffer window - Bug#16017).
1148
1149 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1150
1151 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1152 in D-Bus type syntax.
1153 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1154 preserve unibyte strings. (Bug#16048)
1155
1156 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1159 Call force-mode-line-update is the proper buffer (bug#16042).
1160
1161 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1162
1163 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1164 `log-edit-remember-comment', make argument optional. Adjust all
1165 callers.
1166 (log-edit-mode): Add `log-edit-remember-comment' to
1167 `kill-buffer-hook' locally.
1168 (log-edit-kill-buffer): Don't remember comment explicitly since
1169 the buffer is killed anyway.
1170
1171 2013-12-04 Juri Linkov <juri@jurta.org>
1172
1173 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1174 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1175
1176 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1177
1178 * notifications.el (notifications-close-notification): Call the
1179 D-Bus method with ID being a `:uint32'. (Bug#16030)
1180
1181 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1182
1183 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1184
1185 2013-12-03 Juri Linkov <juri@jurta.org>
1186
1187 * progmodes/compile.el (compilation-start): Rename window alist
1188 entry `no-display-ok' to `allow-no-window'.
1189
1190 * simple.el (shell-command): Add window alist entry
1191 `allow-no-window' to `display-buffer'.
1192 (async-shell-command): Doc fix.
1193
1194 * window.el (display-buffer-no-window): New action function.
1195 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1196
1197 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1198
1199 * vc/log-edit.el (log-edit-set-header): Extract from
1200 `log-edit-toggle-header'.
1201 (log-edit-extract-headers): Separate the summary, when extracted
1202 from header, from the rest of the message with an empty line.
1203
1204 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1205 line, if present, to the Summary header.
1206
1207 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1210 in current-buffer (bug#16029).
1211
1212 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1213
1214 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1215 (debugger-mode-map): Bind it.
1216 (debugger--backtrace-base): New function.
1217 (debugger-eval-expression): Use it.
1218 (debugger-frame-number): Skip local vars when present.
1219 (debugger--locals-visible-p, debugger--insert-locals)
1220 (debugger--show-locals, debugger--hide-locals): New functions.
1221
1222 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1223
1224 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1225 "LC_ALL".
1226 (tramp-get-remote-locale): New defun.
1227 (tramp-open-connection-setup-interactive-shell): Use it.
1228
1229 2013-12-02 Leo Liu <sdl.web@gmail.com>
1230
1231 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1232
1233 * progmodes/sh-script.el (sh-shell-process):
1234 * progmodes/octave.el (inferior-octave-process-live-p):
1235 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1236 (gdb-inferior-io-sentinel):
1237 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1238
1239 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1240
1241 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1242 `save-selected-window' to `log-edit-hide-buf'. This makes
1243 `log-edit-show-files' idempotent.
1244 (log-edit-show-files): Mark the new window as dedicated.
1245
1246 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1247
1248 * vc/log-edit.el (log-edit-mode-map): Add binding for
1249 `log-edit-kill-biffer'.
1250 (log-edit-hide-buf): Add a FIXME comment.
1251 (log-edit-add-new-comment): New function, extracted from
1252 `log-edit-done'.
1253 (log-edit-done, log-edit-add-to-changelog): Use it.
1254 (log-edit-kill-buffer): New command.
1255
1256 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1257
1258 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1259 instead of killing the buffer.
1260
1261 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1264
1265 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1266
1267 * net/eww.el (eww-form-checkbox-selected-symbol)
1268 (eww-form-checkbox-symbol): New customizable variable.
1269 (eww-form-checkbox, eww-toggle-checkbox):
1270 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1271
1272 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1273 (shr--get-media-pref, shr--extract-best-source): New function.
1274 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1275 no :src tag was specified.
1276
1277 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1278 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1279 Use \\` to match beginning of string instead of ^.
1280 (eww-browse-with-external-browser): Provide optional URL parameter.
1281 (eww-render): Set `eww-current-title' back to "".
1282
1283 * net/shr.el (shr-tag-video): Display content for video if no
1284 poster is available.
1285 (shr-tag-audio): Add support for <audio> tag.
1286
1287 * net/eww.el (eww-text-input-types): New const.
1288 (eww-process-text-input): Treat input types in
1289 `eww-text-input-types' as text.
1290
1291 * net/shr.el (shr-tag-table): Fix comment typo.
1292
1293 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1294
1295 * net/eww.el (eww-follow-link): New command to avoid reloading
1296 pages when we follow #target links (bug#15243).
1297 (eww-quit): Special mode buffers shouldn't query before exiting.
1298
1299 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1300
1301 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1302 forms.
1303
1304 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1305
1306 * net/eww.el (eww-restore-history): Update the window title after
1307 moving in the history.
1308 (eww-current-dom): New variable used to save the current DOM.
1309
1310 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1311
1312 * vc/log-edit.el (log-edit-mode-map): Add binding for
1313 `log-edit-beginning-of-line'.
1314 (log-edit-setup-add-author): New user option.
1315 (log-edit-beginning-of-line): New command.
1316 (log-edit): Move major mode call above the contents setup so that
1317 the local variable values are already applied.
1318 (log-edit): Only insert "Author: " when
1319 `log-edit-setup-add-author' is non-nil.
1320 (log-edit): When SETUP is non-nil, position point after ": "
1321 instead of point-min.
1322
1323 2013-12-01 Glenn Morris <rgm@gnu.org>
1324
1325 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1326
1327 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1328
1329 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1330 redisplay to make sure the initial frame gets a chance to become
1331 visible. (Bug#16014)
1332
1333 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1334
1335 Support resizing frames and windows pixelwise.
1336 * cus-start.el (frame-resize-pixelwise)
1337 (window-resize-pixelwise): New entries.
1338 * emacs-lisp/debug.el (debug): Use window-total-height instead
1339 of window-total-size.
1340 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1341 * help.el (describe-bindings-internal): Call help-buffer
1342 (temp-buffer-max-width): New option.
1343 (resize-temp-buffer-window, help-window-setup)
1344 (with-help-window): Rewrite.
1345 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1346 dragging dividers.
1347 * window.el (frame-char-size, window-min-pixel-height)
1348 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1349 (window-min-pixel-width, window-safe-min-pixel-size)
1350 (window-combination-p, window-safe-min-size)
1351 (window-resizable-p, window--size-to-pixel)
1352 (window--pixel-to-size, window--resize-apply-p): New functions.
1353 (window-safe-min-height): Fix doc-string.
1354 (window-size, window-min-size, window--min-size-1)
1355 (window-sizable, window-sizable-p, window--min-delta-1)
1356 (window-min-delta, window--max-delta-1, window-max-delta)
1357 (window--resizable, window--resizable-p, window-resizable)
1358 (window-full-height-p, window-full-width-p, window-at-side-p)
1359 (window--in-direction-2, window-in-direction)
1360 (window--resize-reset-1, window--resize-mini-window)
1361 (window-resize, window-resize-no-error)
1362 (window--resize-child-windows-normal)
1363 (window--resize-child-windows, window--resize-siblings)
1364 (window--resize-this-window, window--resize-root-window)
1365 (window--resize-root-window-vertically)
1366 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1367 (maximize-window, minimize-window, delete-window)
1368 (quit-restore-window, window-split-min-size, split-window)
1369 (balance-windows-2, balance-windows)
1370 (balance-windows-area-adjust, balance-windows-area)
1371 (window--state-get-1, window-state-get, window--state-put-1)
1372 (window--state-put-2, window-state-put)
1373 (display-buffer-record-window, window--display-buffer):
1374 Make functions handle pixelwise sizing of windows.
1375 (display-buffer--action-function-custom-type)
1376 (display-buffer-fallback-action):
1377 Add display-buffer-in-previous-window.
1378 (display-buffer-use-some-window): Resize window to height it had
1379 before.
1380 (fit-window-to-buffer-horizontally): New option.
1381 (fit-frame-to-buffer): Describe new values.
1382 (fit-frame-to-buffer-bottom-margin): Replace with
1383 fit-frame-to-buffer-margins.
1384 (window--sanitize-margin): New function.
1385 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1386 using window-text-pixel-size.
1387
1388 2013-11-30 Glenn Morris <rgm@gnu.org>
1389
1390 * emacs-lisp/bytecomp.el (byte-compile-form):
1391 Make the `interactive-only' warning like the `obsolete' one.
1392 * comint.el (comint-run):
1393 * files.el (insert-file-literally, insert-file):
1394 * replace.el (replace-string, replace-regexp):
1395 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1396 (goto-line, insert-buffer, next-line, previous-line):
1397 Tweak `interactive-only' spec.
1398
1399 Stop keeping (most) generated cedet grammar files in the repository.
1400 * Makefile.in (semantic): New.
1401 (compile-main): Depend on semantic.
1402
1403 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1406 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1407
1408 * uniquify.el (uniquify-buffer-name-style): Change default.
1409
1410 * loadup.el: Preload "uniquify".
1411
1412 * time.el (display-time-update): Update all mode lines (bug#15999).
1413
1414 * electric.el (electric-indent-mode): Enable by default.
1415 * loadup.el: Preload "electric".
1416
1417 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1418
1419 * emacs-lisp/helpers.el (string-empty-p): New function.
1420 (string-blank-p): New function.
1421
1422 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1423
1424 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1425 (Bug#14029).
1426
1427 2013-11-29 Andreas Politz <politza@fh-trier.de>
1428 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1429 allow non-lambda lists as functions.
1430 (imenu--in-alist): Don't recurse into non-subalists.
1431 (imenu): Don't pass function itself as an argument (Bug#14029).
1432
1433 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * progmodes/python.el (python-mode-map): Remove binding for ":".
1436 (python-indent-electric-colon): Remove command.
1437 (python-indent-post-self-insert-function): Integrate the previous code
1438 of python-indent-electric-colon. Make it conditional on
1439 electric-indent-mode.
1440 (python-mode): Add ?: to electric-indent-chars.
1441 Move python-indent-post-self-insert-function to the end of
1442 post-self-insert-hook.
1443
1444 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * doc-view.el (doc-view-goto-page): Update mode-line.
1447
1448 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1449
1450 2013-11-27 Glenn Morris <rgm@gnu.org>
1451
1452 * international/charprop.el, international/uni-bidi.el:
1453 * international/uni-category.el, international/uni-combining.el:
1454 * international/uni-comment.el, international/uni-decimal.el:
1455 * international/uni-decomposition.el, international/uni-digit.el:
1456 * international/uni-lowercase.el, international/uni-mirrored.el:
1457 * international/uni-name.el, international/uni-numeric.el:
1458 * international/uni-old-name.el, international/uni-titlecase.el:
1459 * international/uni-uppercase.el:
1460 Remove generated files from VCS repository.
1461
1462 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1463
1464 * filenotify.el (file-notify-add-watch): Don't special-case
1465 w32notify when computing the directory to watch.
1466
1467 2013-11-27 Glenn Morris <rgm@gnu.org>
1468
1469 Make bootstrap without generated uni-*.el files possible again.
1470 * loadup.el: Update command-line-args checking for unidata-gen.
1471 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1472 * composite.el, international/characters.el:
1473 Handle unicode tables being undefined.
1474
1475 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1476 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1477 (compile-main): Depend on leim rule.
1478 (leim): New rule.
1479 * loadup.el: Move leim-list.el to leim/ subdirectory.
1480 * startup.el (normal-top-level): No more leim directory.
1481 * international/ja-dic-cnv.el (skkdic-convert):
1482 Disable version-control and autoloads in output files.
1483 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1484 Disable version-control and autoloads in output files.
1485 * leim/quail: Move here from ../leim.
1486 * leim/quail/hangul.el (hangul-input-method-activate):
1487 Add autoload cookie.
1488 (generated-autoload-load-name): Set file-local value.
1489 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1490 (generated-autoload-load-name): Set file-local value.
1491
1492 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1493
1494 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1495 (eww-add-bookmark): Ask confirmation when add to bookmarks
1496 (eww-quit): Ask confirmation before quitting eww.
1497
1498 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1499
1500 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1501 reading output from Diff on MS-Windows and MS-DOS.
1502
1503 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1504
1505 * emacs-lisp/helpers.el (string-reverse): New function.
1506
1507 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1508
1509 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1510 names on MS Windows, like "/[::1]:".
1511
1512 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1513 SWITCHES.
1514
1515 2013-11-26 Glenn Morris <rgm@gnu.org>
1516
1517 * progmodes/python.el (python-indent-guess-indent-offset):
1518 Avoid corner-case error. (Bug#15975)
1519
1520 Preload leim-list.el. (Bug#4789)
1521 * loadup.el: Load leim-list.el when found.
1522 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1523
1524 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1525
1526 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1527
1528 * emacs-lisp/helpers.el (string-join): New function.
1529
1530 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1531
1532 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1533 Mark as obsolete and replace it with a symbol property.
1534 (byte-compile-form): Use new 'interactive-only property.
1535 * comint.el, files.el, replace.el, simple.el:
1536 Apply new 'interactive-only properly.
1537
1538 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1539
1540 * window.el (display-buffer-at-bottom): Make sure that
1541 split-window-sensibly creates the new window on bottom
1542 (Bug#15961).
1543
1544 2013-11-23 David Kastrup <dak@gnu.org>
1545
1546 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1547 on the conflict markers when available.
1548 (smerge--get-marker): New function.
1549 (smerge-end-re, smerge-base-re): Add subgroup.
1550
1551 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * frame.el (handle-focus-in, handle-focus-out): Add missing
1554 interactive spec.
1555
1556 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1557
1558 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1559 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1560
1561 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1564 (gomoku--last-pos): New var.
1565 (gomoku--intangible-chars): New const.
1566 (gomoku--intangible): New function.
1567 (gomoku-mode): Use it. Derive from special-mode.
1568 (gomoku-move-up): Adjust line count.
1569 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1570 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1571 Simplify accordingly.
1572
1573 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1574 Remove blink-cursor code.
1575 (blink-cursor-timer-function, blink-cursor-suspend):
1576 Don't special-case GUIs.
1577 (blink-cursor-mode): Use focus-in/out-hook.
1578
1579 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1580
1581 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1582 work when annotation is invisible (Bug#13886).
1583
1584 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1585
1586 * json.el (json-alist-p): Only return non-nil if the alist has
1587 simple keys (Bug#13518).
1588
1589 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1590
1591 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1592 when control-statement is the first statement in a buffer (Bug#15956).
1593
1594 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1595
1596 * imenu.el (imenu-generic-skip-comments-and-strings):
1597 New option (Bug#15560).
1598 (imenu--generic-function): Use it.
1599
1600 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1601
1602 * minibuffer.el (completion--in-region-1): Scroll the correct
1603 window. (Bug#13898)
1604
1605 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1606
1607 * emacs-lisp/helpers.el: Add some string helpers.
1608 (string-trim-left): Removes leading whitespace.
1609 (string-trim-right): Removes trailing whitespace.
1610 (string-trim): Removes leading and trailing whitespace.
1611
1612 * subr.el (string-suffix-p): New function.
1613
1614 2013-11-23 Glenn Morris <rgm@gnu.org>
1615
1616 * progmodes/python.el (python-shell-send-file):
1617 Add option to delete file when done. (Bug#15647)
1618 (python-shell-send-string, python-shell-send-region): Use it.
1619
1620 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1621
1622 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1623 to set buffer-read-only to t, never to nil. (Bug#15938)
1624
1625 * textmodes/tex-mode.el (latex-noindent-environments):
1626 Add safe-local-variable property. (Bug#15936)
1627
1628 2013-11-23 Glenn Morris <rgm@gnu.org>
1629
1630 * textmodes/enriched.el (enriched-mode): Doc fix.
1631 * emacs-lisp/authors.el (authors-renamed-files-alist):
1632 Add enriched.doc -> enriched.txt.
1633
1634 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1635
1636 2013-11-22 Leo Liu <sdl.web@gmail.com>
1637
1638 * progmodes/octave.el (inferior-octave-startup): Spit out error
1639 message.
1640
1641 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1642
1643 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1644 Improve docstring.
1645 Add :version.
1646 (ruby-encoding-magic-comment-style): Add :version.
1647
1648 2013-11-22 Leo Liu <sdl.web@gmail.com>
1649
1650 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1651 (Bug#15076)
1652 (octave-help-mode): Adapt to change to help-mode-finish to use
1653 derived-mode-p on 2013-09-17.
1654 (inferior-octave-prompt): Also match octave-gui.
1655 (octave-kill-process): Don't ask twice. (Bug#10564)
1656
1657 2013-11-22 Leo Liu <sdl.web@gmail.com>
1658
1659 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1660 (inferior-octave-startup, inferior-octave-check-process)
1661 (inferior-octave-track-window-width-change)
1662 (octave-completion-at-point, octave-eldoc-function): Use it.
1663 (octave-kill-process): Provide confirmation. (Bug#10564)
1664
1665 2013-11-21 Leo Liu <sdl.web@gmail.com>
1666
1667 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1668 Fix obsolete variable comment-use-global-state.
1669
1670 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1671
1672 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1673 Add `octave-source-file'.
1674 (octave-source-file): New function. (Bug#15935)
1675
1676 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1677
1678 * net/eww.el (eww-local-regex): New variable.
1679 (eww): Use it to detect localhost and similar.
1680
1681 2013-11-21 Leo Liu <sdl.web@gmail.com>
1682
1683 Add completion for command `ag'.
1684 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1685 (pcomplete/ag): New function.
1686 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1687
1688 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1691 (bug#14646).
1692 (make-obsolete): Remove interactive spec.
1693
1694 2013-11-21 Glenn Morris <rgm@gnu.org>
1695
1696 * startup.el (command-line-1): Use path-separator with -L.
1697
1698 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1699
1700 * emacs-lisp/package.el (describe-package-1): Add package archive
1701 to shown fields.
1702
1703 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1704
1705 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1706 Change default to "# encoding: %s" to differentiate it from the
1707 default Ruby encoding comment template.
1708
1709 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1710
1711 * ses.el (ses-mode): Doc fix. (Bug#14748)
1712
1713 2013-11-20 Leo Liu <sdl.web@gmail.com>
1714
1715 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1716
1717 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1718
1719 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1720 when rebase or bisect are in progress.
1721
1722 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1723
1724 * filenotify.el (file-notify-add-watch): Doc fix.
1725
1726 2013-11-19 Leo Liu <sdl.web@gmail.com>
1727
1728 * obsolete/rcompile.el: Mark obsolete.
1729
1730 * progmodes/compile.el (compilation-start)
1731 (compilation-goto-locus, compilation-find-file):
1732 Pass no-display-ok and handle nil value from display-buffer.
1733 (Bug#13594)
1734
1735 * window.el (display-buffer-alist, display-buffer): Document the
1736 new parameter no-display-ok. Return either a window or nil
1737 but never a non-window value.
1738
1739 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * electric.el (electric-indent-mode-map): Remove.
1742 (electric-indent-mode): Change the global-map instead (bug#15915).
1743
1744 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1745 Use add-function.
1746
1747 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * emacs-lisp/nadvice.el (remove-function): Align with
1750 add-function's behavior.
1751
1752 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1753 (gdb--string-regexp): New constant.
1754 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1755 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1756 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1757 submatch 1.
1758 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1759 Adjust use accordingly.
1760 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1761
1762 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1763
1764 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1765 interpolation curlies (Bug#15914).
1766
1767 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1768
1769 * calc/calc.el (calc-context-sensitive-enter): New variable.
1770 (calc-enter): Use `calc-context-sensitive-enter'.
1771
1772 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1773
1774 * progmodes/cfengine.el: Version bump.
1775 (cfengine-cf-promises): New defcustom to locate cf-promises.
1776 (cfengine3-vartypes): Add new "data" type.
1777 (cfengine3--current-word): New function to get current name-like
1778 word or its bounds.
1779 (cfengine3--current-function): New function to look up a CFEngine
1780 function's definition.
1781 (cfengine3-format-function-docstring): New function.
1782 (cfengine3-make-syntax-cache): New function.
1783 (cfengine3-documentation-function): New function: ElDoc glue.
1784 (cfengine3-completion-function): New function: completion glue.
1785 (cfengine3-mode): Set `compile-command',
1786 `eldoc-documentation-function', and add to
1787 `completion-at-point-functions'.
1788
1789 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1790
1791 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1792 `tramp-current-connection'.
1793
1794 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1795
1796 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1797 nil/self/true/false with "end of symbol".
1798
1799 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1800
1801 * subr.el (version-regexp-alist): Fix a typo.
1802
1803 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1804
1805 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1806 "en_US.utf8" and "LC_CTYPE" to "".
1807 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1808 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1809
1810 2013-11-15 Leo Liu <sdl.web@gmail.com>
1811
1812 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1813
1814 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1815
1816 * progmodes/gud.el (ctl-x-map):
1817 Remove C-x SPC binding. (Bug#12342)
1818 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1819
1820 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1821
1822 * subr.el (version-regexp-alist):
1823 Recognize hg, svn and darcs versions as snapshot versions.
1824
1825 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1826 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1827 (ruby--encoding-comment-required-p): Extract from
1828 `ruby-mode-set-encoding'.
1829 (ruby-mode-set-encoding): Add the ability to always insert an
1830 utf-8 encoding comment. Fix and simplify coding comment update
1831 logic.
1832
1833 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1834
1835 * net/tramp-gvfs.el (top): Run init code only when
1836 `tramp-gvfs-enabled' is not nil.
1837 (tramp-gvfs-enabled): Check also :system bus.
1838
1839 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 Sync with upstream verilog-mode revision 78e66ba.
1842 * progmodes/verilog-mode.el (verilog-end-of-defun)
1843 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1844 (verilog-get-end-of-defun): Remove unused argument.
1845 (verilog-comment-depth): Remove unused local `e'.
1846 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1847 Don't pass arg to verilog-get-end-of-defun.
1848
1849 2013-11-14 Glenn Morris <rgm@gnu.org>
1850
1851 * obsolete/assoc.el (aget): Prefix dynamic variable.
1852
1853 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1854
1855 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1856
1857 * widget.el, hfy-cmap.el: Remove bogus package version number.
1858
1859 2013-11-13 Glenn Morris <rgm@gnu.org>
1860
1861 * replace.el (replace-eval-replacement):
1862 Try to give more helpful error message. (Bug#15836)
1863
1864 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1865 (archive-7z-update): Avoid custom type mismatches.
1866
1867 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1868
1869 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1870
1871 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1872 address can be empty.
1873
1874 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1875 Accept nil SWITCHES.
1876 (tramp-gvfs-handle-write-region): Implement APPEND.
1877
1878 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1879
1880 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1881 binary "|" operator and closing block args delimiter.
1882 Remove FIXME comment referring to Ruby 1.8-only syntax.
1883 (ruby-smie--implicit-semi-p): Not after "|" operator.
1884 (ruby-smie--closing-pipe-p): New function.
1885 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1886 (ruby-smie-rules): Indent after "|".
1887
1888 2013-11-12 Glenn Morris <rgm@gnu.org>
1889
1890 * ps-print.el (ps-face-attribute-list):
1891 Handle anonymous faces. (Bug#15827)
1892
1893 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1894
1895 * window.el (display-buffer-other-frame): Fix doc-string.
1896 (Bug#15868)
1897
1898 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1901
1902 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1903
1904 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1905 (tramp-sh-handle-file-local-copy): Don't write a message when
1906 saving temporary files.
1907
1908 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1909 both directories are remote.
1910 (tramp-smb-handle-directory-files): Do not return double entries.
1911 Do not expand full file names.
1912 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1913 (tramp-smb-handle-write-region): Implement APPEND.
1914 (tramp-smb-get-stat-capability): Fix a stupid bug.
1915
1916 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1919
1920 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1921
1922 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1923 throwing error over malformed let/let* (bug#15814).
1924
1925 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * iswitchb.el (iswitchb-mode): Mark obsolete.
1928
1929 2013-11-11 Glenn Morris <rgm@gnu.org>
1930
1931 * international/uni-bidi.el, international/uni-category.el:
1932 * international/uni-name.el, international/uni-numeric.el:
1933 Regenerate for Unicode 6.3.0.
1934
1935 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1936
1937 * net/tramp.el (tramp-methods):
1938 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1939 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1940
1941 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1942
1943 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1944 Force highlighting text after Summary keyword in doc face for rpm.
1945
1946 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1947
1948 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1949 available and the word has no wildcards, append one to the grep pattern.
1950 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1951 (ispell-complete-word): Call `ispell-lookup-words' with the value
1952 independent of `ispell-look-p'.
1953
1954 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1955
1956 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1957 Not after "||".
1958 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1959 their parent.
1960
1961 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1964 (ruby-font-lock-keywords): Use backquote.
1965
1966 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1967
1968 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1969 (ruby-smie--backward-token): Only consider full-string matches.
1970
1971 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1972
1973 * faces.el (describe-face): Add distant-foreground.
1974
1975 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1976
1977 * progmodes/ruby-mode.el: Improve encoding comment handling.
1978 (ruby-encoding-magic-comment-style): New option.
1979 (ruby-custom-encoding-magic-comment-template): New option.
1980 (ruby--insert-coding-comment, ruby--detect-encoding):
1981 New functions extracted from `ruby-mode-set-encoding'.
1982 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1983 to control the style of the auto-inserted encoding comment.
1984
1985 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1986
1987 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1988 Use `smie-backward-sexp' with token argument.
1989
1990 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1991
1992 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1993 Remove instrumentation code.
1994
1995 2013-11-08 Glenn Morris <rgm@gnu.org>
1996
1997 * progmodes/autoconf.el (autoconf-mode):
1998 Tweak comment-start-skip. (Bug#15822)
1999
2000 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2003 at bobp (bug#15826).
2004 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2005
2006 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2007
2008 * man.el (Man-start-calling): New macro, extracted from
2009 Man-getpage-in-background.
2010 (Man-getpage-in-background): Use it.
2011 (Man-update-manpage): New command.
2012 (Man-mode-map): Bind it.
2013
2014 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2015
2016 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2017 of "and", "or", "&&" and "||".
2018 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2019 argument. Prohibit opening curly brace because it could only be a
2020 block opener in that position.
2021 (ruby-smie--forward-token, ruby-smie--backward-token):
2022 Separate "|" from "&" or "*" going after it. That can happen in block
2023 arguments.
2024 (ruby-smie--indent-to-stmt): New function, seeks the end of
2025 previous statement or beginning of buffer.
2026 (ruby-smie-rules): Use it.
2027 (ruby-smie-rules): Check if there's a ":" before a curly block
2028 opener candidate; if there is, it's a hash.
2029
2030 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2031
2032 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2033 (cl--block-wrapper): Fix last accidental change.
2034
2035 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2036
2037 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2038 Instrument, in order to hunt failure on hydra.
2039
2040 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2041
2042 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2043 malformed bindings form (bug#15814).
2044
2045 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2046
2047 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2048 "." compared to " @ ". This incidentally fixes some indentation
2049 examples with "do".
2050 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2051 (ruby-smie-grammar): New tokens: "and" and "or".
2052 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2053 Exclude "and" and "or". Remove "do" in order to work around token
2054 priorities.
2055 (ruby-smie-rules): Add all infix tokens. Handle the case of
2056 beginning-of-buffer.
2057
2058 2013-11-06 Glenn Morris <rgm@gnu.org>
2059
2060 * Makefile.in (setwins_almost, setwins_for_subdirs):
2061 Avoid accidental matches.
2062
2063 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * menu-bar.el (popup-menu): Use key-binding.
2066
2067 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2068
2069 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2070 menus, support also the menus produced by minor modes.
2071 (Bug#15817)
2072
2073 2013-11-06 Leo Liu <sdl.web@gmail.com>
2074
2075 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2076 DISTANCE to bound the search. All uses changed. (Bug#15808)
2077
2078 2013-11-06 Glenn Morris <rgm@gnu.org>
2079
2080 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2081 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2082 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2083
2084 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2085
2086 * electric.el (electric-indent-just-newline): New command.
2087 (electric-indent-mode-map): New keymap.
2088 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2089 Re-add :group which weren't redundant.
2090
2091 * electric.el (electric-indent-local-mode): New minor mode.
2092 (electric-indent-functions-without-reindent): New var.
2093 (electric-indent-post-self-insert-function): Use it.
2094 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2095
2096 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2097
2098 * international/quail.el (quail-help): Be more explicit about the
2099 meaning of the labels shown on the keys. (Bug#15800)
2100
2101 * startup.el (normal-top-level): Load the subdirs.el files before
2102 setting the locale environment. (Bug#15805)
2103
2104 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2107 via arguments so as to get the right ones (bug#15418).
2108
2109 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2110
2111 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2112
2113 Fix problems found while writing a test suite.
2114
2115 * net/tramp-compat.el (tramp-compat-load): New defun.
2116 * net/tramp.el (tramp-handle-load): Use it.
2117
2118 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2119 "(numberp ok-if-already-exists)" correctly.
2120
2121 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2122
2123 * international/characters.el (glyphless-char-display-control):
2124 Add usage note.
2125
2126 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2127
2128 * progmodes/python.el (python-mode):
2129 * progmodes/scheme.el (scheme-mode):
2130 * progmodes/prolog.el (prolog-mode):
2131 * progmodes/ruby-mode.el (ruby-mode):
2132 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2133 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2134
2135 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * rect.el (rectangle--highlight-for-redisplay):
2138 * emacs-lisp/smie.el (smie--next-indent-change):
2139 Use buffer-chars-modified-tick.
2140
2141 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2142
2143 * electric.el (electric-indent-post-self-insert-function):
2144 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2145
2146 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2147
2148 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2149
2150 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2151
2152 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2153 (bug#15786).
2154
2155 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2158
2159 * progmodes/python.el: Fix up last change.
2160 (python-shell--save-temp-file): New function.
2161 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2162 `string' comes from the current buffer.
2163 (python-shell-send-string-no-output): Remove `msg' arg.
2164 (python--use-fake-loc): New var.
2165 (python-shell-buffer-substring): Obey it. Try to compensate for the
2166 extra coding line added by python-shell--save-temp-file.
2167 (python-shell-send-region): Use python-shell--save-temp-file and
2168 python-shell-send-file directly. Add `nomain' argument.
2169 (python-shell-send-buffer): Use python-shell-send-region.
2170 (python-electric-pair-string-delimiter): New function.
2171 (python-mode): Use it.
2172
2173 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2174
2175 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2176 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2177 environment and decoding all of the default-directory's to here
2178 from command-line.
2179 (command-line): Decode also argv[0].
2180
2181 * loadup.el: Error out if default-directory is a multibyte string
2182 when we are dumping.
2183
2184 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2185
2186 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2187
2188 * emacs-lisp/package.el (package-menu-mode)
2189 (package-menu--print-info, package-menu--archive-predicate):
2190 Add Archive column to package list.
2191
2192 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2193
2194 Fix problems found while writing a test suite.
2195
2196 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2197 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2198 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2199 to nil when running original file name handler. Otherwise,
2200 there are problems with constructs like "$$FOO".
2201
2202 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2203 for `localname'.
2204
2205 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2206
2207 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2208
2209 * subr.el (version<, version<=, version=):
2210 Update docstrings with information for snapshot versions.
2211
2212 * helpers.el: New library for misc helper functions.
2213 (hash-table-keys): New function returning a list of hash keys.
2214 (hash-table-values): New function returning a list of hash values.
2215
2216 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2217
2218 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2219 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2220
2221 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2222
2223 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2224 checking whether point is after a 1-letter word.
2225
2226 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2227
2228 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2229 Don't infloop when expanding region over `multiline' syntax-type that
2230 begins a line (bug#15778).
2231
2232 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2233
2234 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2235 Make it into a proper minor mode.
2236 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2237 (rectangle-mark-mode-map): New keymap.
2238 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2239
2240 2013-11-04 Glenn Morris <rgm@gnu.org>
2241
2242 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2243
2244 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2247 (ruby-smie-rules): Use smie-rule-parent instead.
2248
2249 * emacs-lisp/smie.el (smie-rule-parent): Always call
2250 smie-indent-virtual rather than only for hanging tokens.
2251 (smie--next-indent-change): New helper command.
2252
2253 2013-11-03 Glenn Morris <rgm@gnu.org>
2254
2255 * Makefile.in (abs_srcdir): Remove.
2256 (emacs): Unset EMACSLOADPATH.
2257
2258 2013-11-02 Glenn Morris <rgm@gnu.org>
2259
2260 * Makefile.in (EMACS): Use a relative filename.
2261 (abs_top_builddir): Remove.
2262 (custom-deps, finder-data, autoloads): Use --chdir.
2263
2264 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2265
2266 Use relative filenames in TAGS files.
2267 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2268 (lisptagsfiles4, TAGS): Use relative file names.
2269 (TAGS-LISP): Remove.
2270 (maintainer-clean): No more TAGS-LISP file.
2271
2272 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2273 (lisptagsfiles4): Use absolute filenames again.
2274 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2275 Remove all *loaddefs files, not just the first. Remove esh-groups.
2276 (maintainer-clean): Delete TAGS, TAGS-LISP.
2277
2278 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2279
2280 * emacs-lisp/package.el (package-version-join):
2281 Recognize snapshot versions.
2282
2283 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2284
2285 * subr.el (version-regexp-alist): Add support for snapshot versions.
2286
2287 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2288
2289 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2290 New function, replacement for `smie-rule-parent' for when we want to
2291 skip over our direct parent if it's an assignment token..
2292 (ruby-smie-rules): Use it.
2293
2294 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2295
2296 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2297 unconditionally. Remove now unnecessary forward declarations.
2298 Remove XEmacs-specific setup.
2299 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2300 (ruby-font-lock-syntactic-keywords)
2301 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2302 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2303 (ruby-here-doc-end-syntax): Remove.
2304 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2305 defined as function.
2306
2307 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2308
2309 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2310
2311 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2312
2313 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2314 table and abbrev table, `define-derived-mode' does that for us
2315 anyway.
2316
2317 2013-11-01 Glenn Morris <rgm@gnu.org>
2318
2319 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2320 files is atomic for some time, so no parallel compilation issues).
2321
2322 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2323
2324 * faces.el (face-x-resources): Add :distant-foreground.
2325 (region): Use :distant-foreground for gtk and ns.
2326
2327 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2328
2329 Allow multiple bibliographies when BibLaTeX is used rather than
2330 BibTeX.
2331 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2332 (reftex-locate-bibliography-files): Us it.
2333
2334 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2335
2336 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2337 allow comments in pbm files.
2338
2339 * term/w32-win.el (dynamic-library-alist): Support newer versions
2340 of libjpeg starting with v7: look only for the DLL from the
2341 version against which Emacs was built.
2342 Support versions of libpng beyond 1.4.x.
2343 Support libtiff v4.x.
2344
2345 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2346
2347 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2348 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2349 Add property :safe.
2350 (ruby-deep-arglist): Add property :type.
2351
2352 2013-10-31 Glenn Morris <rgm@gnu.org>
2353
2354 * Makefile.in (custom-deps, finder-data): No need to setq the target
2355 variables, we are in the right directory and the defaults work fine.
2356
2357 2013-10-30 Glenn Morris <rgm@gnu.org>
2358
2359 * Makefile.in (autoloads): Do not use abs_lisp.
2360
2361 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2362 `newline' does not respect `standard-output', so use `princ'.
2363
2364 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2365
2366 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2367 * buff-menu.el (Buffer-menu--unmark): New function.
2368 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2369
2370 2013-10-30 Glenn Morris <rgm@gnu.org>
2371
2372 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2373
2374 * emacs-lisp/package.el (lm-homepage): Declare.
2375
2376 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2377 Fix doc typos.
2378
2379 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2380
2381 * Makefile.in (finder-data, autoloads, update-subdirs)
2382 (compile-main, compile-clean, compile-always, bootstrap-clean):
2383 Check return value of cd.
2384 (compile-calc): Remove.
2385
2386 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2389
2390 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2391 (byte-compile-and-folded): New function.
2392 (=, <, >, <=, >=): Use it.
2393
2394 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2395 (path-separator, null-device, buffer-file-coding-system)
2396 (lpr-headers-switches): Check system-type before modifying them.
2397 (find-buffer-file-type-coding-system): Mark obsolete.
2398 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2399 find-file-not-found-set-buffer-file-coding-system.
2400 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2401 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2402 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2403 (w32-direct-print-region-helper, w32-direct-print-region-function)
2404 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2405 * startup.el (normal-top-level-add-subdirs-to-load-path):
2406 * ps-print.el (ps-print-region-function):
2407 * lpr.el (print-region-function): Use new name.
2408
2409 * subr.el (custom-declare-variable-early): Remove function.
2410 (custom-declare-variable-list): Remove var.
2411 (error, user-error): Remove `while' loop.
2412 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2413 (user-emacs-directory-warning, locate-user-emacs-file):
2414 Move to files.el.
2415 * simple.el (read-quoted-char-radix, read-quoted-char):
2416 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2417 Move from subr.el.
2418 * custom.el (custom-declare-variable-list): Don't process
2419 custom-declare-variable-list.
2420
2421 * progmodes/python.el (python-shell-get-buffer): New function.
2422 (python-shell-get-process): Use it.
2423 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2424 Python which encoding was used. Don't split-string since we only care
2425 about the first line. Return the temp-file, if applicable.
2426 (python-shell-send-region): Tell compile.el how to turn locations in
2427 the temp-file into locations in the source buffer.
2428
2429 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * subr.el (undefined): Add missing behavior from the C code for
2432 unbound keys.
2433
2434 * rect.el: Use lexical-binding. Add new rectangular region support.
2435 (rectangle-mark): New command.
2436 (rectangle--region): New var.
2437 (deactivate-mark-hook): Reset rectangle--region.
2438 (rectangle--extract-region, rectangle--insert-for-yank)
2439 (rectangle--highlight-for-redisplay)
2440 (rectangle--unhighlight-for-redisplay): New functions.
2441 (region-extract-function, redisplay-unhighlight-region-function)
2442 (redisplay-highlight-region-function): Use them to handle
2443 rectangular region.
2444 * simple.el (region-extract-function): New var.
2445 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2446 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2447 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2448 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2449 (redisplay-unhighlight-region-function)
2450 (redisplay-highlight-region-function): New vars.
2451 (redisplay--update-region-highlight): New function.
2452 (pre-redisplay-function): Use it.
2453 (exchange-point-and-mark): Don't deactivate the mark before
2454 reactivate-it anyway.
2455 * comint.el (comint-kill-region): Remove yank-handler argument.
2456 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2457 (delete-char): Remove property, since it's now part of their
2458 default behavior.
2459 (self-insert-iso): Remove property since this command doesn't exist.
2460
2461 * emacs-lisp/package.el (package--download-one-archive)
2462 (describe-package-1): Don't query the user about final newline.
2463
2464 2013-10-29 Daniel Colascione <dancol@dancol.org>
2465
2466 * net/tramp.el (tramp-methods): Document new functionality.
2467 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2468 tramp-hostname-checker if method provides one instead of scanning
2469 argument list for "%h" to decide hostname acceptability.
2470
2471 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2472
2473 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2474 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2475 Handle COPY-CONTENTS. (Bug#15737)
2476
2477 2013-10-28 Daiki Ueno <ueno@gnu.org>
2478
2479 * epa-file.el
2480 (epa-file-cache-passphrase-for-symmetric-encryption):
2481 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2482
2483 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2484
2485 * image.el (defimage):
2486 (image-load-path): Doc fixes.
2487
2488 2013-10-27 Alan Mackenzie <acm@muc.de>
2489
2490 Indent statements in macros following "##" correctly.
2491 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2492 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2493
2494 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2495
2496 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2497
2498 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2499
2500 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2501 after `=' is probably a new expression.
2502
2503 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2504
2505 * man.el (man-imenu-title): New option.
2506 (Man-mode-map): Add menu. (Bug#15722)
2507 (Man-mode): Add imenu to menu.
2508
2509 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2510
2511 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2512 specific in what the first arg can be: a non-keyword word,
2513 string/regexp/percent literal opener, opening paren, or unary
2514 operator followed directly by word.
2515
2516 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2519 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2520 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2521 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2522 Remove vars, they do not apply any more.
2523 (prolog-mode-abbrev-table): Remove redundant declaration.
2524 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2525 (prolog-use-smie): Remove.
2526 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2527 supported by prolog-electric-if-then-else-flag.
2528 (prolog-mode-variables, prolog-menu): Use setq-local.
2529 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2530 Remove binding to `Backspace' since this key doesn't exist anyway.
2531 Remove bindings for electric self-inserting keys.
2532 (prog-mode): Assume it's defined.
2533 (prolog-post-self-insert): New function.
2534 (prolog-mode): Use it.
2535 (prolog-indent-line, prolog-indent-level)
2536 (prolog-find-indent-of-matching-paren)
2537 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2538 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2539 (prolog-goto-next-paren, prolog-in-string-or-comment)
2540 (prolog-tokenize, prolog-inside-mline-comment)
2541 (prolog-find-start-of-mline-comment): Remove functions.
2542 (prolog-find-unmatched-paren, prolog-clause-end)
2543 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2544 (prolog-electric--if-then-else): Rename from
2545 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2546 (prolog-tokenize-searchkey): Remove const.
2547 (prolog-clause-info): Use forward-sexp.
2548 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2549 (prolog-electric-if-then-else): Remove commands.
2550 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2551 for use in post-self-insert-hook.
2552 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2553 for use in post-self-insert-hook.
2554 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2555 for use in post-self-insert-hook.
2556 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2557 adapt it for use in post-self-insert-hook.
2558
2559 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2560
2561 * emacs-lisp/ert.el (ert-run-tests-interactively):
2562 Use `completing-read'. (Bug#9756)
2563
2564 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2565
2566 * simple.el (line-move): Call line-move-1 instead of
2567 line-move-visual when the current window hscroll is zero, but
2568 temporary-goal-column indicates we will need to hscroll as result
2569 of the movement. (Bug#15712)
2570
2571 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2572
2573 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2574 capitalization. Use :visible instead of :active.
2575 Fix `ruby-indent-exp' reference. Add menu items for the generic
2576 commands that are used with SMIE.
2577 (ruby-do-end-to-brace): Insert space after `{'.
2578
2579 2013-10-25 John Anthony <john@jo.hnanthony.com>
2580
2581 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2582
2583 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2584
2585 2013-10-25 Glenn Morris <rgm@gnu.org>
2586
2587 * vc/vc.el (vc-print-log): Don't use a working revision unless
2588 one was explicitly specified. (Bug#15322)
2589
2590 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * subr.el (add-to-list): Preserve return value in compiler-macro
2593 (bug#15692).
2594
2595 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2596
2597 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2598 result. Ask user to retry using '-all' flag. (Bug#15701)
2599
2600 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * emacs-lisp/smie.el: New smie-config system.
2603 (smie-config): New defcustom.
2604 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2605 (smie-config-guess, smie-config-save): New commands.
2606 (smie-config--mode-local, smie-config--buffer-local)
2607 (smie-config--trace, smie-config--modefuns): New vars.
2608 (smie-config--advice, smie-config--mode-hook)
2609 (smie-config--setter, smie-config-local, smie-config--get-trace)
2610 (smie-config--guess-value, smie-config--guess): New functions.
2611 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2612 text properties. Treat "string fence" syntax like string syntax.
2613
2614 * progmodes/sh-script.el (sh-use-smie): Change default.
2615 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2616 (sh-var-value): Simplify by CSE.
2617 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2618 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2619 is used.
2620 (sh-guess-basic-offset): Use cl-incf.
2621 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2622
2623 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2624
2625 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2626 (bug#15699).
2627
2628 2013-10-24 Glenn Morris <rgm@gnu.org>
2629
2630 * Makefile.in (abs_top_srcdir): Remove.
2631 (update-subdirs): Use relative path to update-subdirs.
2632
2633 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2634
2635 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2636 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2637 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2638 Call unmsys--file-name before expand-file-name, not after it.
2639
2640 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2641
2642 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2643 (ert-test-skipped): New error.
2644 (ert-skip, ert-stats-skipped): New defuns.
2645 (ert--skip-unless): New macro.
2646 (ert-test-skipped): New struct.
2647 (ert--run-test-debugger, ert-test-result-type-p)
2648 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2649 (ert--stats-set-test-and-result, ert-char-for-test-result)
2650 (ert-string-for-test-result, ert-run-tests-batch)
2651 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2652 Handle skipped tests. (Bug#9803)
2653
2654 2013-10-24 Glenn Morris <rgm@gnu.org>
2655
2656 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2657
2658 * Makefile.in (abs_top_srcdir): New, set by configure.
2659 (update-subdirs): Correct build-aux location.
2660
2661 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2662
2663 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2664 value, whether we could auto-deduce `backend', or not.
2665
2666 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2667 with parameters" example. Simplify the "is it block or is it
2668 hash" check, but also make it more thorough.
2669
2670 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2671
2672 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2673
2674 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2677 { if it is hanging.
2678
2679 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2680 :before ";".
2681
2682 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2683
2684 * progmodes/compile.el (compilation-directory-matcher)
2685 (compilation-page-delimiter):
2686 Support GNU Make-4.0 directory quoting. (Bug#15678)
2687
2688 2013-10-23 Leo Liu <sdl.web@gmail.com>
2689
2690 * ido.el (ido-tidy): Handle read-only text.
2691
2692 2013-10-23 Glenn Morris <rgm@gnu.org>
2693
2694 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2695 (emacs, compile, compile-always):
2696 Quote entities that might contain whitespace.
2697 (custom-deps, finder-data, autoloads): Use abs_lisp.
2698 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2699 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2700 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2701
2702 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2703
2704 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2705 Use `following-char'.
2706
2707 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2710 * progmodes/ruby-mode.el (ruby-smie-rules):
2711 Remove corresponding workaround. Fix indentation rule of ";" so it
2712 also applies when ";" is the parent.
2713
2714 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2715
2716 * frame.el (display-screens, display-pixel-height)
2717 (display-pixel-width, display-mm-width, display-backing-store)
2718 (display-save-under, display-planes, display-color-cells)
2719 (display-visual-class, display-monitor-attributes-list):
2720 Mention the optional ‘display’ argument in doc strings.
2721
2722 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2723
2724 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2725 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2726
2727 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2728
2729 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2730 TODO. Add "." after " @ ".
2731 (ruby-smie--at-dot-call): New function. Checks if point at method
2732 call with explicit target.
2733 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2734 to the method name tokens when it precedes them.
2735 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2736 (ruby-smie-rules): Add rule for indentation before and after "."
2737 token.
2738
2739 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * textmodes/remember.el (remember-diary-extract-entries):
2742 Avoid add-to-list.
2743
2744 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2745 an instruction.
2746
2747 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2748
2749 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2750 (ruby-smie--implicit-semi-p): Add new operator chars.
2751
2752 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2753 `smie-down-list'.
2754 (ruby-smie--args-separator-p): Check that there's no newline
2755 between method call and its arguments.
2756
2757 2013-10-20 Alan Mackenzie <acm@muc.de>
2758
2759 Allow comma separated lists after Java "implements".
2760
2761 * progmodes/cc-engine.el (c-backward-over-enum-header):
2762 Parse commas.
2763 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2764 from a "disallowed" list in enum fontification.
2765
2766 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2767
2768 * startup.el (default-frame-background-mode): Remove unused defvar.
2769
2770 * progmodes/verilog-mode.el (verilog-mode): Don't set
2771 comment-indent-function globally.
2772
2773 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2774
2775 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2776 Move Info menu item creation to ns-win.el.
2777
2778 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2779 in menu bar.
2780
2781 * menu-bar.el: Move GNUStep specific menus...
2782
2783 * term/ns-win.el (ns-initialize-window-system): ... to here.
2784
2785 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * simple.el (newline): Only run post-self-insert-hook when
2788 called interactively.
2789
2790 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2791
2792 * icomplete.el (icomplete-with-completion-tables): Add :version.
2793
2794 2013-10-19 Alan Mackenzie <acm@muc.de>
2795
2796 Fix fontification bugs with constructors and const.
2797
2798 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2799 CASE 2) Remove the check for the absence of a suffix construct
2800 after a function declaration with only types (no identifiers) in
2801 the parentheses. Also, accept a function declaration with just a
2802 type inside the parentheses, if this type can be positively
2803 recognised as such, or if a prefix keyword like "explicit" nails
2804 down the construct as a declaration.
2805
2806 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2807
2808 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2809 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2810 the problem whereby selecting a menu item that leads to a
2811 minibuffer prompt moves the cursor out of the minibuffer window,
2812 making it hard to type at the prompt. Suggested by Stefan Monnier
2813 <monnier@iro.umontreal.ca>.
2814
2815 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2816
2817 * menu-bar.el: Don't make Services menu.
2818
2819 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2820
2821 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2822 (ffap-alist): Use ffap-c++-mode for c++-mode.
2823 (ffap-c++-path): New variable.
2824 (ffap-c++-mode): New function.
2825
2826 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2827
2828 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2829
2830 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2831
2832 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2833 introduced on 2013-09-08, which results in an infinite loop
2834 requesting a password.
2835
2836 2013-10-18 Glenn Morris <rgm@gnu.org>
2837
2838 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2839
2840 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2841
2842 Sync with upstream verilog-mode revision 1a6ecec7.
2843 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2844 (verilog-mode-release-date): Remove.
2845 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2846 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2847 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2848 (verilog-auto-tieoff-ignore-regexp)
2849 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2850 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2851 (verilog-signals-with, verilog-dir-cache-preserving)
2852 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2853 Doc fixes.
2854 (verilog-case-fold): New option, to control case folding in
2855 regexp searches, bug597.
2856 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2857 (verilog-string-match-fold, verilog-in-paren-count)
2858 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2859 (verilog-at-close-struct-p): New functions.
2860 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2861 (verilog-forward-sexp, verilog-set-auto-endcomments):
2862 (verilog-leap-to-case-head): Handle "unique0" case.
2863 (verilog-in-constraint-re): New constant.
2864 (verilog-keywords, verilog-type-font-keywords):
2865 Add some SystemVerilog 1800-2012 keywords.
2866 (verilog-label-be): Remove unimplemented argument, bug669.
2867 (verilog-batch-execute-func): When batch expanding clear
2868 create-lockfiles to prevent spurious user locks when a file ends
2869 up not changing.
2870 (verilog-calculate-indent, verilog-calc-1)
2871 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2872 (verilog-do-indent): Fix indentation of nested constraints
2873 and structures.
2874 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2875 (verilog-auto-inst-param): Use verilog-string-match-fold.
2876 (verilog-read-inst-module-matcher):
2877 Fix AUTOINST on gate primitives with #1.
2878 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2879 Reads all user-defined typed variables.
2880 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2881 (verilog-signals-matching-regexp)
2882 (verilog-signals-not-matching-regexp, verilog-auto):
2883 Respect verilog-case-fold.
2884 (verilog-diff-report): Fix line count.
2885 (verilog-auto-assign-modport): Remove unused local `modi'.
2886 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2887 better handle multidimensional arrays.
2888 Fix packed array ports misadding bit index in AUTOINST, bug637.
2889 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2890 to not double-declare existing outputs and inputs, respectively.
2891 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2892 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2893 (verilog-sk-uvm-component): New skeleton.
2894 (verilog-submit-bug-report): Add verilog-case-fold,
2895 remove verilog-mode-release-date.
2896
2897 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2898
2899 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2900 as before.
2901
2902 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2903
2904 * textmodes/remember.el (remember): Set buffer-offer-save in
2905 remember buffers (bug#13566).
2906
2907 2013-10-18 Daniel Colascione <dancol@dancol.org>
2908
2909 When evaluating forms in ielm, direct standard output to ielm
2910 buffer. Add new ielm-return-for-effect command. Remove trailing
2911 whitespace throughout.
2912
2913 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2914 (ielm-return-for-effect): New command.
2915 (ielm-send-input): Accept optional `for-effect' parameter.
2916 (ielm-eval-input): Accept optional `for-effect' parameter.
2917 Bind `standard-output' to stream we create using
2918 `ielm-standard-output-impl'. Suppress printing result when
2919 `for-effect'.
2920 (ielm-standard-output-impl): New function.
2921 (inferior-emacs-lisp-mode): Explain new features in documentation.
2922
2923 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2924
2925 Code cleanup.
2926
2927 * net/tramp.el (tramp-debug-message): Do not check for connection
2928 buffer.
2929 (tramp-message): Use "vector" connection property.
2930
2931 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2932 (tramp-equal-remote, tramp-eshell-directory-change)
2933 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2934 (tramp-adb-handle-rename-file)
2935 * net/tramp-cmds.el (tramp-list-remote-buffers)
2936 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2937 * net/tramp-compat.el (tramp-compat-process-running-p)
2938 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2939 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2940 (tramp-gvfs-handle-rename-file)
2941 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2942 (tramp-set-file-uid-gid)
2943 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2944 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2945 of `file-remote-p'.
2946
2947 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2948 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2949 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2950 (tramp-gw-open-network-stream): Suppress unrelated traces.
2951
2952 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2953 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2954 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2955 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2956 connection property.
2957
2958 * net/tramp-cache.el (top): Suppress traces when reading
2959 persistency file.
2960
2961 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2962 Refactor common code. Improve debug message.
2963 (tramp-maybe-open-connection)
2964 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2965 connection buffer too early.
2966
2967 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2968 from `tramp-smb-actions-with-acl'.
2969 (tramp-smb-actions-set-acl): New defconst.
2970 (tramp-smb-handle-copy-directory)
2971 (tramp-smb-action-get-acl): New defun, renamed from
2972 `tramp-smb-action-with-acl'.
2973 (tramp-smb-action-set-acl): New defun.
2974 (tramp-smb-handle-set-file-acl): Rewrite.
2975
2976 2013-10-17 Glenn Morris <rgm@gnu.org>
2977
2978 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2979
2980 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * skeleton.el (skeleton-newline): Remove.
2983 (skeleton-internal-1): Use (insert "\n") instead.
2984
2985 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2986 let-bindings.
2987
2988 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2989 forward-sexp-function while we redo its job (bug#15613).
2990
2991 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2992
2993 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2994 represented by lists.
2995
2996 2013-10-16 Glenn Morris <rgm@gnu.org>
2997
2998 * tmm.el (tmm--history): New dynamic variable.
2999 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3000
3001 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3002
3003 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3004 (tramp-smb-errors): Add error messages.
3005 (tramp-smb-actions-with-acl): New defconst.
3006 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3007 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3008 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3009 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3010 (tramp-smb-get-stat-capability): Fix tests.
3011
3012 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3013
3014 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3015 (bug#15580).
3016
3017 2013-10-16 Glenn Morris <rgm@gnu.org>
3018
3019 * ansi-color.el (ansi-color-drop-regexp):
3020 Add 1J, 1K, 2K. (Bug#15617)
3021
3022 * files.el (hack-local-variables--warned-lexical): New.
3023 (hack-local-variables):
3024 Warn about misplaced lexical-binding. (Bug#15616)
3025
3026 * net/eww.el (eww-render): Always set eww-current-url,
3027 and update header line. (Bug#15622)
3028 (eww-display-html): ... Rather than just doing it here.
3029
3030 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3031
3032 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3033 menu navigations commands.
3034
3035 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3036
3037 * progmodes/subword.el (subword-capitalize): Be careful when
3038 the search for [[:alpha:]] fails (bug#15580).
3039
3040 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3041
3042 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3043 to commands that scroll the menu.
3044
3045 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3046
3047 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3048 Handle methods ending with `?' and `!'.
3049
3050 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3051
3052 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3053 `japanese-cp932' to `cp932' to fix the problem where saving a
3054 source file written in Shift_JIS twice would end up having
3055 `coding: japanese-cp932' which Ruby could not recognize.
3056 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3057 in `ruby-encoding-map'.
3058 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3059 doesn't need to be explicitly declared in magic comment.
3060 (ruby-encoding-map): Add type declaration for better customize UI.
3061
3062 2013-10-13 Glenn Morris <rgm@gnu.org>
3063
3064 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3065 Occur buffers are read-only. http://bugs.debian.org/720775
3066
3067 * emacs-lisp/authors.el (authors-fixed-entries):
3068 Comment out old alpha stuff.
3069
3070 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3071
3072 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3073 to `after-save-hook' instead of `before-save-hook'.
3074 (ruby-mode-set-encoding): Use the value of coding system used to
3075 write the file. Call `basic-save-buffer-1' after modifying the
3076 buffer.
3077
3078 2013-10-13 Alan Mackenzie <acm@muc.de>
3079
3080 Fix indentation/fontification of Java enum with
3081 "implements"/generic.
3082
3083 * progmodes/cc-engine.el (c-backward-over-enum-header):
3084 Extracted from the three other places and enhanced to handle generics.
3085 (c-inside-bracelist-p): Uses new function above.
3086 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3087 function above.
3088 (c-font-lock-enum-tail): Uses new function above.
3089
3090 2013-10-13 Kenichi Handa <handa@gnu.org>
3091
3092 * international/mule-cmds.el (select-safe-coding-system): Remove a
3093 superfluous condition in chekcing whether a coding system is safe
3094 or not.
3095
3096 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3097
3098 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3099
3100 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3101
3102 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3103
3104 2013-10-13 Glenn Morris <rgm@gnu.org>
3105
3106 * menu-bar.el (menu-bar-update-buffers):
3107 Unify Buffers menu prompt string. (Bug#15576)
3108
3109 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3110
3111 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3112 Add some entries.
3113 (authors-fixed-entries): Use accented form of name.
3114
3115 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3116
3117 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3118 method calls (bug#15594).
3119 (ruby-smie--args-separator-p): New function.
3120 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3121 recognize paren-free method calls.
3122
3123 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3124 internals of universal-argument.
3125
3126 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3127
3128 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3129 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3130 dropped menu on second mouse click on the menu bar.
3131
3132 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3135 (explicit-shell-file-name): Declare.
3136 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3137 (sh-completion-at-point-function): New function.
3138 (sh-mode): Use it.
3139 (sh-smie--keyword-p): Remove unused argument.
3140 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3141 vars.
3142 (sh-set-shell): Always setup SMIE, even if we use the
3143 old indentation code.
3144
3145 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3146
3147 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3148 cases of ? and =.
3149 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3150 predicate would return nil are almost non-existent.
3151 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3152
3153 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3154 cache also after commands that modify the buffer but don't move
3155 point.
3156
3157 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3158
3159 * env.el (substitute-env-in-file-name): New function.
3160 (substitute-env-vars): Extend the meaning of the optional arg.
3161
3162 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3163
3164 * term/w32-win.el (dynamic-library-alist): Define separate lists
3165 of GIF DLLs for versions before and after 5.0.0 of giflib.
3166 (Bug#15531)
3167
3168 2013-10-10 João Távora <joaotavora@gmail.com>
3169
3170 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3171 not locked, use last revision and current source as
3172 defaults. (Bug#15569)
3173
3174 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3175
3176 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3177 menu-bar is hidden.
3178
3179 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3180
3181 * window.el (pop-to-buffer-same-window): Fix doc-string.
3182 (Bug#15492)
3183
3184 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3187
3188 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3189
3190 * calendar/icalendar.el (icalendar-import-file):
3191 Fix interactive spec. (Bug#15482)
3192
3193 2013-10-10 Glenn Morris <rgm@gnu.org>
3194
3195 * desktop.el (desktop-save): Default to saving in .emacs.d,
3196 since PWD is no longer in desktop-path by default. (Bug#15319)
3197
3198 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3199 now that text mode has a menu with the same entry.
3200 (menu-bar-text-mode-auto-fill): Remove now unused func.
3201 * textmodes/text-mode.el (text-mode-map):
3202 Use auto-fill help text from menu-bar.el.
3203
3204 2013-10-10 John Anthony <john@jo.hnanthony.com>
3205
3206 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3207
3208 2013-10-09 Juri Linkov <juri@jurta.org>
3209
3210 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3211 instead of this-command-keys. Add universal-argument-more and
3212 universal-argument-minus to the list of prefix commands. (Bug#15568)
3213
3214 2013-10-09 Glenn Morris <rgm@gnu.org>
3215
3216 * vc/vc-svn.el (vc-svn-create-repo):
3217 Expand paths in file://... url. (Bug#15446)
3218
3219 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3220 Add some entries.
3221 (authors): Remove unused local variables.
3222
3223 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * profiler.el: Create a more coherent calltree from partial backtraces.
3226 (profiler-format): Hide the tail with `invisible' so that C-s can still
3227 find the hidden elements.
3228 (profiler-calltree-depth): Don't recurse so enthusiastically.
3229 (profiler-function-equal): New hash-table-test.
3230 (profiler-calltree-build-unified): New function.
3231 (profiler-calltree-build): Use it.
3232 (profiler-report-make-name-part): Indent the calltree less.
3233 (profiler-report-mode): Add visibility specs for profiler-format.
3234 (profiler-report-expand-entry, profiler-report-toggle-entry):
3235 Expand the whole subtree when provided with a prefix arg.
3236
3237 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3238
3239 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3240 iuwu-mod token.
3241 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3242 hanging iuwu-mod token.
3243 (ruby-smie--forward-token): Do not include a dot after a token in
3244 that token.
3245 (ruby-smie--backward-token): Likewise.
3246
3247 2013-10-08 Juri Linkov <juri@jurta.org>
3248
3249 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3250 to isearch-other-control-char.
3251 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3252 and isearch-post-command-hook to post-command-hook.
3253 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3254 and isearch-post-command-hook from post-command-hook.
3255 (isearch-unread-key-sequence)
3256 (isearch-reread-key-sequence-naturally)
3257 (isearch-lookup-scroll-key, isearch-other-control-char)
3258 (isearch-other-meta-char): Remove functions.
3259 (isearch-pre-command-hook, isearch-post-command-hook):
3260 New functions based on isearch-other-meta-char rewritten
3261 relying on the new behavior of overriding-terminal-local-map
3262 that does not replace the local keymaps any more. (Bug#15200)
3263
3264 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3265
3266 Support menus on text-mode terminals.
3267 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3268 functionality.
3269
3270 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3271
3272 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3273 Move here from mouse.el.
3274 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3275 and arrow keys.
3276 (tty-menu-navigation-map): New map for TTY menu navigation.
3277
3278 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3279
3280 * frame.el (display-mouse-p): Report text-mode mouse as available
3281 on w32.
3282 (display-popup-menus-p): Report availability if mouse is
3283 available; don't condition on window-system.
3284
3285 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3286 (tty-menu-selected-face): New faces.
3287
3288 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3291 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3292 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3293 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3294 New constants.
3295 (lisp-mode-variables): New `elisp' argument.
3296 (emacs-lisp-mode): Use it.
3297 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3298 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3299
3300 * indent.el: Use lexical-binding.
3301 (indent-region): Add progress reporter.
3302 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3303 last step.
3304 (indent--next-tab-stop): New function to implement this behavior.
3305 (tab-to-tab-stop, move-to-tab-stop): Use it.
3306
3307 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3308
3309 * indent.el (indent-rigidly--current-indentation): New function.
3310 (indent-rigidly-map): New var.
3311 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3312
3313 2013-10-08 Bastien Guerry <bzg@gnu.org>
3314
3315 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3316
3317 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * progmodes/perl-mode.el: Use lexical-binding.
3320 Remove redundant :group args.
3321 (perl-nochange): Change default to be closer to other major modes's
3322 standard behavior.
3323 (perl-indent-line): Don't consider text on current line as a
3324 valid beginning of function from which to indent.
3325
3326 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3327 with more than one argument (bug#15538).
3328
3329 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3330
3331 * vc/pcvs.el: Use lexical-binding.
3332 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3333 environment of `eval'.
3334 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3335 than a list of expressions. Adjust callers.
3336 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3337
3338 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3339
3340 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3341 case of the dot in a chained method call being on the following line.
3342
3343 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * electric.el (electric-indent-inhibit): New var.
3346 (electric-indent-post-self-insert-function): Use it.
3347 * progmodes/python.el (python-mode): Set it.
3348
3349 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3350 open braces.
3351
3352 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3353
3354 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3355 (css-mode): Use electric-indent-chars.
3356
3357 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3358 (font-lock-beg, font-lock-end): Move before first use.
3359 (nxml-mode): Use syntax-propertize-function.
3360 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3361 (nxml-extend-after-change-region): Remove.
3362 * nxml/xmltok.el: Use lexical-binding.
3363 (xmltok-save): Use `declare'.
3364 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3365 * nxml/nxml-util.el: Use lexical-binding.
3366 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3367 Use `declare'.
3368 * nxml/nxml-ns.el: Use lexical-binding.
3369 (nxml-ns-save): Use `declare'.
3370 (nxml-ns-prefixes-for): Avoid add-to-list.
3371 * nxml/rng-match.el: Use lexical-binding.
3372 (rng--ipattern): Use cl-defstruct.
3373 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3374 (rng-cons-group-after, rng-subst-group-after)
3375 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3376 Use closures instead of `(lambda...).
3377
3378 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3379
3380 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3381 of BEG and END.
3382
3383 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3384 Use `tramp-handle-insert-file-contents'.
3385 (tramp-gvfs-handle-insert-file-contents): Remove function.
3386
3387 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3388 Use `save-restriction' in order to keep markers.
3389
3390 * net/trampver.el: Update release number.
3391
3392 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3393
3394 * progmodes/compile.el (compilation-parse-errors):
3395 Use compilation--put-prop.
3396 (compilation--ensure-parse): Check compilation-multiline.
3397
3398 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3399
3400 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3401 lexical-binding.
3402
3403 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3404
3405 * progmodes/ruby-mode.el: Fix recently added tests.
3406 (ruby-smie-grammar): Add - and +.
3407 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3408 (ruby-smie--backward-id): New functions.
3409 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3410 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3411 any more.
3412
3413 2013-10-07 Leo Liu <sdl.web@gmail.com>
3414
3415 * register.el (register-preview-delay)
3416 (register-preview-functions): New variables.
3417 (register-read-with-preview, register-preview)
3418 (register-describe-oneline): New functions.
3419 (point-to-register, window-configuration-to-register)
3420 (frame-configuration-to-register, jump-to-register)
3421 (number-to-register, view-register, insert-register)
3422 (copy-to-register, append-to-register, prepend-to-register)
3423 (copy-rectangle-to-register): Use register-read-with-preview to
3424 read register. (Bug#15525)
3425
3426 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3427
3428 * net/network-stream.el (network-stream-open-starttls): Don't add
3429 --insecure if it's already present, because that gnutls-cli
3430 rejects getting that parameter twice.
3431
3432 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3433
3434 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3435 keyword, too.
3436
3437 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * newcomment.el (comment-use-global-state): Change default value
3440 to t, mark obsolete (Bug#15251).
3441 (comment-beginning): In addition to `comment-to-syntax', check the
3442 value of `comment-use-global-state'.
3443
3444 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3447 (ruby-comment-column): Follow the global default, by default.
3448 (ruby-smie-grammar): Add assignment syntax.
3449 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3450 open-paren, a comma, or a \.
3451 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3452 and line continuations.
3453 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3454 followed by implicit semi-colons. Add rule for string concatenation
3455 and for indentation at BOB.
3456 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3457
3458 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3459 calling next-sexp, since next-token may have skipped chars which
3460 next-sexp doesn't know should be skipped!
3461
3462 2013-10-05 Leo Liu <sdl.web@gmail.com>
3463
3464 * progmodes/octave.el (octave-send-region):
3465 Call compilation-forget-errors.
3466
3467 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3468
3469 * vc/vc-svn.el (vc-svn-find-admin-dir):
3470 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3471 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3472 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3473 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3474
3475 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3478
3479 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * subr.el (read-passwd): Hide chars even when called within a context
3482 where after-change-functions is disabled (bug#15501).
3483 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3484 until we removed ourself from overriding-terminal-local-map.
3485
3486 2013-10-04 Leo Liu <sdl.web@gmail.com>
3487
3488 * progmodes/octave.el (inferior-octave-mode):
3489 Call compilation-forget-errors.
3490
3491 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3492
3493 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3494
3495 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3496
3497 * net/secrets.el (secrets-create-collection): Add optional
3498 argument ALIAS. Use proper Label keyword. Append ALIAS as
3499 dbus-call-method argument. (Bug#15516)
3500
3501 2013-10-04 Leo Liu <sdl.web@gmail.com>
3502
3503 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3504 (inferior-octave-compilation-font-lock-keywords): New variables.
3505 (compilation-error-regexp-alist)
3506 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3507 (inferior-octave-mode): Use compilation-shell-minor-mode.
3508
3509 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3510
3511 * minibuffer.el (completion--replace): Be careful that `end' might be
3512 a marker.
3513
3514 2013-10-03 Daiki Ueno <ueno@gnu.org>
3515
3516 Add support for package signature checking.
3517 * emacs-lisp/package.el (url-http-file-exists-p)
3518 (epg-make-context, epg-context-set-home-directory)
3519 (epg-verify-string, epg-context-result-for)
3520 (epg-signature-status, epg-signature-to-string)
3521 (epg-check-configuration, epg-configuration)
3522 (epg-import-keys-from-file): Declare.
3523 (package-check-signature): New user option.
3524 (package-unsigned-archives): New user option.
3525 (package-desc): Add `signed' field.
3526 (package-load-descriptor): Set `signed' field if .signed file exists.
3527 (package--archive-file-exists-p): New function.
3528 (package--check-signature): New function.
3529 (package-install-from-archive): Check package signature.
3530 (package--download-one-archive): Check archive signature.
3531 (package-delete): Remove .signed file.
3532 (package-import-keyring): New command.
3533 (package-refresh-contents): Import default keyring.
3534 (package-desc-status): Add "unsigned" status.
3535 (describe-package-1, package-menu--print-info)
3536 (package-menu-mark-delete, package-menu--find-upgrades)
3537 (package-menu--status-predicate): Support "unsigned" status.
3538
3539 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3542 the new compilation scheme using the new byte-codes.
3543
3544 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3545 (byte-pophandler): New byte codes.
3546 (byte-goto-ops): Adjust accordingly.
3547 (byte-compile--use-old-handlers): New var.
3548 (byte-compile-catch): Use new byte codes depending on
3549 byte-compile--use-old-handlers.
3550 (byte-compile-condition-case--old): Rename from
3551 byte-compile-condition-case.
3552 (byte-compile-condition-case--new): New function.
3553 (byte-compile-condition-case): New function that dispatches depending
3554 on byte-compile--use-old-handlers.
3555 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3556 when we can.
3557
3558 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3559 Optimize under `condition-case' and `catch' if
3560 byte-compile--use-old-handlers is nil.
3561 (disassemble-offset): Handle new bytecodes.
3562
3563 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 * subr.el (error): Use `declare'.
3566 (decode-char, encode-char): Use advertised-calling-convention instead
3567 of the docstring to discourage use of the `restriction' arg.
3568
3569 2013-10-03 Daiki Ueno <ueno@gnu.org>
3570
3571 * epg.el (epg-verify-file): Add a comment saying that it does not
3572 notify verification error as a return value nor a signal.
3573 (epg-verify-string): Ditto.
3574
3575 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3576
3577 * progmodes/compile.el (compilation-start): Try globbing the arg to
3578 `cd' (bug#15417).
3579
3580 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3581
3582 Sync with Tramp 2.2.8.
3583
3584 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3585 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3586 * net/trampver.el: Update release number.
3587
3588 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3589
3590 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3591 and default-process-coding-system for darwin only.
3592
3593 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3596
3597 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3598
3599 * vc/vc-git.el (vc-git-grep): Disable pager.
3600
3601 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3602
3603 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3604 Use :url instead of :homepage, as per
3605 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3606
3607 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3608 non-nil, use `syntax-ppss' (Bug#15251).
3609
3610 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3611
3612 * progmodes/octave.el (inferior-octave-startup-file):
3613 Prefer ~/.emacs.d/init_octave.m.
3614
3615 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3616
3617 * emacs-lisp/package.el (package-desc-from-define):
3618 Accept additional arguments as plist, convert them to an alist and store
3619 them in the `extras' slot.
3620 (package-generate-description-file): Convert extras alist back to
3621 plist and append to the `define-package' form arguments.
3622 (package--alist-to-plist): New function.
3623 (package--ac-desc): Add `extras' slot.
3624 (package--add-to-archive-contents): Check if the archive-contents
3625 vector is long enough, and if it is, pass its `extras' slot value
3626 to `package-desc-create'.
3627 (package-buffer-info): Call `lm-homepage', pass the returned value
3628 to `package-desc-from-define'.
3629 (describe-package-1): Render the homepage button (Bug#13291).
3630
3631 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3632 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3633
3634 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3635
3636 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3637 and default-process-coding-system to utf-8-unix (Bug#15402).
3638
3639 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3640
3641 * subr.el (looking-back): Do not recommend using looking-back.
3642
3643 2013-09-28 Alan Mackenzie <acm@muc.de>
3644
3645 Fix indentation/fontification of Java enum with "implements".
3646
3647 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3648 regexp which matches "implements", etc., in Java.
3649 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3650 specifier clauses coming after "enum".
3651 * progmodes/cc-fonts.el (c-font-lock-declarations)
3652 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3653 after "enum".
3654
3655 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3656
3657 * faces.el (region): Change ns_selection_color to
3658 ns_selection_fg_color, add ns_selection_bg_color.
3659
3660 2013-09-28 Leo Liu <sdl.web@gmail.com>
3661
3662 * progmodes/octave.el (inferior-octave-completion-table)
3663 (inferior-octave-completion-at-point): Minor tweaks.
3664
3665 * textmodes/ispell.el (ispell-lookup-words): Rename from
3666 lookup-words. (Bug#15460)
3667 (lookup-words): Obsolete.
3668 (ispell-complete-word, ispell-command-loop): All uses changed.
3669
3670 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3671
3672 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3673 (octave-mode-menu): Add octave-send-buffer.
3674 (octave-send-buffer): New function.
3675
3676 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3677
3678 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3679 octave-lookfor.
3680 (octave-mode-menu): Add octave-lookfor.
3681 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3682 octave-lookfor.
3683 (octave-lookfor): New function.
3684
3685 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * emacs-lisp/cl-macs.el:
3688 (cl--loop-destr-temps): Remove.
3689 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3690 its convention.
3691 (cl--loop-set-iterator-function): New function.
3692 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3693 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3694 Bind `it' with `let' instead of substituting it with `cl-subst'.
3695 (cl--unused-var-p): New function.
3696 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3697 Eliminate some unused variable warnings (bug#15326).
3698
3699 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3700
3701 * doc-view.el (doc-view-scale-reset): Rename from
3702 `doc-view-reset-zoom-level'.
3703 (doc-view-scale-adjust): New command.
3704 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3705 `doc-view-scale-adjust'.
3706
3707 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3708
3709 * doc-view.el (doc-view-reset-zoom-level): New command.
3710 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3711 zoom commands (bug#15466).
3712
3713 2013-09-26 Kenichi Handa <handa@gnu.org>
3714
3715 * international/quail.el (quail-help): Make it not a command.
3716
3717 2013-09-26 Leo Liu <sdl.web@gmail.com>
3718
3719 * minibuffer.el (completion-all-sorted-completions): Make args
3720 optional as they are.
3721
3722 2013-09-25 Daniel Colascione <dancol@dancol.org>
3723
3724 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3725 specs are and that they're not evaluated.
3726
3727 2013-09-24 Sam Steingold <sds@gnu.org>
3728
3729 * midnight.el (clean-buffer-list-kill-regexps)
3730 (clean-buffer-list-kill-buffer-names): Update for the new Man
3731 buffer naming which includes the object name.
3732
3733 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3736 (eshell-parse-command, eshell-parse-pipeline): Use it since
3737 eshell-separate-commands requires a dynamic scoped var.
3738 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3739
3740 2013-09-23 Leo Liu <sdl.web@gmail.com>
3741
3742 * autoinsert.el (auto-insert-alist): Make the value of
3743 lexical-binding match its file setting.
3744
3745 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3746
3747 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3748
3749 * autoarg.el (autoarg-kp-digit-argument):
3750 * electric.el (Electric-command-loop):
3751 * kmacro.el (kmacro-step-edit-insert):
3752 Do not set universal-argument-num-events.
3753
3754 2013-09-22 Leo Liu <sdl.web@gmail.com>
3755
3756 * files.el (interpreter-mode-alist): Add octave.
3757
3758 2013-09-21 Alan Mackenzie <acm@muc.de>
3759
3760 C++: fontify identifier in declaration following "public:" correctly.
3761 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3762 to match "public", etc.
3763 (c-decl-prefix-re): Add ":" into the C++ value.
3764 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3765 bit. Add a check for a ":" preceded by "public", etc.
3766
3767 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3768
3769 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3770 recognized by GDB 7.5 and later.
3771
3772 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3773
3774 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3775
3776 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 * subr.el (internal--call-interactively): New const.
3779 (called-interactively-p): Use it (bug#3984).
3780
3781 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3782
3783 * vc/pcvs.el (cvs-mode-ignore):
3784 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3785 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3786
3787 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3790 (eshell-ls-orig-insert-directory): Remove.
3791 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3792 (eshell-ls-use-in-dired): Use advice-add/remove.
3793 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3794 Add `orig-fun' arg for use in :around advice.
3795 Make it check (redundantly) eshell-ls-use-in-dired.
3796
3797 2013-09-19 Glenn Morris <rgm@gnu.org>
3798
3799 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3800
3801 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3802
3803 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3804
3805 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3806
3807 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3808 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3809 (tramp-get-remote-python): New defuns.
3810 (tramp-get-remote-uid-with-perl)
3811 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3812 contributed by yary <not.com@gmail.com> (tiny change).
3813 (tramp-get-remote-uid-with-python)
3814 (tramp-get-remote-gid-with-python): New defuns. Python code
3815 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3816 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3817
3818 2013-09-19 Glenn Morris <rgm@gnu.org>
3819
3820 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3821
3822 * eshell/em-unix.el (eshell-remove-entries):
3823 Rename argument to avoid name-clash with global `top-level'.
3824
3825 * eshell/esh-proc.el (eshell-kill-process-function):
3826 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3827 (eshell-reset-after-proc): Remove unused arg `proc'.
3828
3829 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3830 (directory-files-and-attributes): Mark unused arg.
3831
3832 * eshell/em-unix.el (eshell-remove-entries):
3833 Remove unused arg `path'. Update callers.
3834
3835 * eshell/em-hist.el (eshell-hist-parse-arguments):
3836 Remove unused arg `silent'. Update callers.
3837
3838 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3839 Fix (f)boundp mix-up.
3840
3841 * eshell/em-smart.el (eshell-smart-scroll-window)
3842 (eshell-disable-after-change):
3843 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3844
3845 2013-09-18 Alan Mackenzie <acm@muc.de>
3846
3847 Fix fontification of type when followed by "const".
3848 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3849 "known" types from fontification.
3850
3851 2013-09-18 Glenn Morris <rgm@gnu.org>
3852
3853 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3854 (chart-face-list): Drop Emacsen without display-color-p.
3855
3856 * net/eww.el (libxml-parse-html-region): Declare.
3857 (eww-display-html): Explicit error if no libxml2 support.
3858
3859 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3860
3861 * image.el (image-type-from-buffer, image-multi-frame-p):
3862 Remove --without-x warning/error.
3863
3864 * mouse.el (mouse-yank-primary):
3865 * term.el (term-mouse-paste):
3866 Reorder to silence --without-x compilation.
3867
3868 * mpc.el (doc-view-mode): Silence --without-x compilation.
3869
3870 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3871 Silence --without-x compilation.
3872
3873 * progmodes/gud.el (gud-find-file, gud-mode):
3874 Silence --without-x compilation.
3875 (tooltip-mode): Declare.
3876
3877 * wdired.el (dired-backup-overwrite): Remove declaration.
3878 (wdired-mode-map): Add doc string.
3879
3880 * custom.el (x-get-resource): Declare.
3881
3882 * eshell/em-glob.el (ange-cache):
3883 * eshell/em-unix.el (ange-cache): Declare.
3884
3885 * faces.el (x-display-list, x-open-connection, x-get-resource):
3886 Declare.
3887
3888 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3889 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3890 Declare.
3891
3892 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3893
3894 * net/gnutls.el (gnutls-log-level): Declare.
3895
3896 * net/shr.el (image-size, image-animate): Declare.
3897
3898 * simple.el (font-info): Declare.
3899
3900 * subr.el (x-popup-dialog): Declare.
3901
3902 * term/common-win.el (x-select-enable-primary)
3903 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3904 Declare.
3905
3906 * term/ns-win.el (x-handle-args): Declare.
3907
3908 * term/x-win.el (x-select-enable-clipboard): Declare.
3909
3910 * term/w32-win.el (create-default-fontset): Declare.
3911
3912 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3913 Declare.
3914
3915 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3916 (fit-frame-to-buffer): Explicit error if --without-x.
3917 (mouse-autoselect-window-select): Silence compiler.
3918
3919 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3920
3921 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3922 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3923 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3924 * eshell/esh-util.el (eshell-sublist):
3925 Remove unused local variables.
3926
3927 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3928
3929 * textmodes/two-column.el: Make 2C-split work for --without-x.
3930 (scroll-bar-columns): Autoload.
3931 (top-level): Require fringe when compiling.
3932
3933 2013-09-18 Leo Liu <sdl.web@gmail.com>
3934
3935 * subr.el (add-hook): Robustify to handle closure as well.
3936
3937 2013-09-17 Glenn Morris <rgm@gnu.org>
3938
3939 * simple.el (messages-buffer-mode-map): Unbind "g".
3940
3941 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * help-mode.el (help-mode-finish): Use derived-mode-p.
3944 Remove obsolete highlighting.
3945
3946 * play/life.el (life-mode): Use define-derived-mode. Derive from
3947 special-mode.
3948 (life): Let-bind inhibit-read-only.
3949 (life-setup): Avoid `setq'. Use `life-mode'.
3950
3951 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3952 which should not be needed any more.
3953 (package-menu-refresh, package-menu-describe-package): Use user-error.
3954
3955 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3956 (eshell-post-rewrite-command-hook): Make obsolete.
3957 (eshell-parse-command): Simplify.
3958 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3959 (eshell--cmd): Declare.
3960 (eshell-parse-pipeline): Remove unused var `final-p'.
3961 Pass a dynvar to eshell-post-rewrite-command-hook.
3962 Implement the new eshell-post-rewrite-command-function.
3963 (eshell-invoke-directly): Remove unused arg `input'.
3964 * eshell/esh-io.el (eshell-io-initialize):
3965 Use eshell-post-rewrite-command-function (bug#15399).
3966 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3967 adjust to new calling convention.
3968 (eshell-create-handles): Rename args to avoid clashing with dynvar
3969 `standard-output'.
3970
3971 2013-09-17 Glenn Morris <rgm@gnu.org>
3972
3973 * simple.el (messages-buffer-mode): New major mode.
3974 (messages-buffer): New function.
3975 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3976 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3977 (ert-run-test): Use `messages-buffer' function.
3978 (ert--force-message-log-buffer-truncation): Ignore read-only.
3979 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3980 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3981
3982 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3985
3986 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
3987
3988 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 * icomplete.el (icomplete-in-buffer): New var.
3991 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3992 vars and replace them with functions.
3993 (icomplete-minibuffer-setup): Adjust accordingly.
3994 (icomplete--completion-table, icomplete--completion-predicate)
3995 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3996 New functions.
3997 (icomplete-forward-completions, icomplete-backward-completions)
3998 (icomplete-simple-completing-p, icomplete-exhibit)
3999 (icomplete-completions): Use them.
4000 (icomplete--in-region-buffer): New var.
4001 (icomplete--in-region-setup): New function.
4002 (icomplete-mode): Use it.
4003
4004 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4005 (bug#15379).
4006 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4007 return args and options.
4008 (eshell-eval-using-options): Use the new return value of
4009 eshell--do-opts to set the options's vars in their scope.
4010 (eshell--set-option): Rename from eshell-set-option.
4011 Add arg `opt-vals'.
4012 (eshell--process-option): Rename from eshell-process-option.
4013 Add arg `opt-vals'.
4014 (eshell--process-args): Use an `opt-vals' alist to store the options's
4015 values during their processing and return them additionally to the
4016 remaining args.
4017
4018 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4019
4020 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4021 continuation character an operator, as far as indentation is
4022 concerned (Bug#15369).
4023
4024 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4025
4026 * window.el (window--state-put-2): Don't process buffer state
4027 when buffer doesn't exist any more (Bug#15382).
4028
4029 2013-09-15 Glenn Morris <rgm@gnu.org>
4030
4031 * eshell/em-unix.el (eshell/rm):
4032 Make -f ignore missing files. (Bug#15373)
4033
4034 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4035 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4036 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4037
4038 2013-09-14 Glenn Morris <rgm@gnu.org>
4039
4040 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4041
4042 2013-09-13 Glenn Morris <rgm@gnu.org>
4043
4044 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4045 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4046
4047 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4048
4049 * frame.el (x-focus-frame): Mark as declared in frame.c.
4050
4051 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * ls-lisp.el: Use advice-add.
4054 (original-insert-directory): Remove.
4055 (ls-lisp--insert-directory): Rename from insert-directory; add
4056 `orig-fun' argument.
4057 (insert-directory): Advise.
4058
4059 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4060
4061 * term.el (term-emulate-terminal): Decode the command string
4062 before passing it to term-command-hook. (Bug#15337)
4063
4064 2013-09-13 Glenn Morris <rgm@gnu.org>
4065
4066 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4067
4068 * eshell/esh-ext.el (eshell-search-path): Declare.
4069
4070 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4071 Otherwise an error occurs if eshell-dirs module not loaded.
4072
4073 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4074
4075 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4076
4077 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4078 `tramp-check-proper-host'. Check for a valid method name.
4079
4080 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4081 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4082 * net/tramp-sh.el (tramp-maybe-open-connection):
4083 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4084
4085 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4086 also for hash values.
4087
4088 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * term/ns-win.el (parameters): Don't declare as dynamic.
4091 (before-make-frame-hook): Don't add ineffective function.
4092
4093 * eshell/*.el: Use lexical-binding (bug#15231).
4094
4095 2013-09-12 Kenichi Handa <handa@gnu.org>
4096
4097 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4098
4099 2013-09-12 Glenn Morris <rgm@gnu.org>
4100
4101 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4102 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4103
4104 * subr.el (do-after-load-evaluation): Also give compiler warnings
4105 when obsolete files are used (except by obsolete files).
4106
4107 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4108 in the status output, assume `filename' is the first. (Bug#15322)
4109
4110 * vc/vc.el (vc-deduce-fileset): Doc fix.
4111
4112 * calc/calc-help.el (Info-goto-node):
4113 * progmodes/cperl-mode.el (Info-find-node):
4114 * vc/ediff.el (Info-goto-node): Update declarations.
4115
4116 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4117
4118 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4119 (vc-bzr-pull): Require vc-dispatcher.
4120 * vc/vc-git.el (vc-compilation-mode): Declare.
4121 (vc-git-pull): Require vc-dispatcher.
4122
4123 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4124
4125 * progmodes/octave.el (help-button-action): Declare.
4126
4127 * shell.el (shell-directory-tracker): Output error as a message
4128 rather than just returning it as a string.
4129 (shell-process-pushd): Remove useless use of message.
4130
4131 * dframe.el (dframe-timer-fn):
4132 * files.el (dir-locals-read-from-file):
4133 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4134 (mpc-format):
4135 * reveal.el (reveal-post-command):
4136 * saveplace.el (load-save-place-alist-from-file):
4137 * shell.el (shell-resync-dirs):
4138 * w32-common-fns.el (x-get-selection-value):
4139 * emacs-lisp/copyright.el (copyright-find-copyright):
4140 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4141 * emulation/tpu-edt.el (tpu-copy-keyfile):
4142 * play/bubbles.el (bubbles--mark-neighbourhood):
4143 * progmodes/executable.el
4144 (executable-make-buffer-file-executable-if-script-p):
4145 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4146
4147 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 Cleanup Eshell to rely less on dynamic scoping.
4150 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4151 last-value, and ext-command here. Bind `args' closer to `body'.
4152 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4153 (eshell--args): Declare new dynamic var.
4154 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4155 last-value, and ext-command. Pass `args' to `body'.
4156 (eshell-process-args): Bind eshell--args.
4157 (eshell-set-option): Use eshell--args.
4158 * eshell/eshell.el (eshell): Use derived-mode-p.
4159 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4160 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4161 (eshell-glob-function): Declare.
4162 * eshell/esh-util.el: Require cl-lib.
4163 (eshell-read-hosts-file): Avoid add-to-list.
4164 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4165 `err'.
4166 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4167 Declare.
4168 (eshell/diff): Remove unused var `err'.
4169 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4170 `killflag'.
4171 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4172 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4173 first use.
4174 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4175 Move declaration before first use.
4176 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4177 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4178 rely on cl-return.
4179
4180 2013-09-12 Glenn Morris <rgm@gnu.org>
4181
4182 * term/ns-win.el (global-map): Remove binding for ispell-next,
4183 deleted 1999-05-29. (Bug#15357)
4184
4185 2013-09-11 Glenn Morris <rgm@gnu.org>
4186
4187 * echistory.el (electric-command-history): Remove call to deleted func.
4188
4189 * play/landmark.el (landmark-mode): Fix typos.
4190
4191 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4192 Check cvs-sort-ignore-file is bound.
4193
4194 * savehist.el: No need for cl when compiling on Emacs.
4195
4196 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4199 (bug#15338).
4200 (eshell-self-insert-command, eshell-send-invisible):
4201 Remove unused argument.
4202 (eshell-handle-control-codes): Remove unused var `orig'.
4203 Avoid delete-backward-char.
4204
4205 * files.el (set-auto-mode): Simplify a bit further.
4206
4207 2013-09-11 Glenn Morris <rgm@gnu.org>
4208
4209 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4210 (set-auto-mode): Don't regexp-quote elements.
4211 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4212 * progmodes/cc-mode.el (interpreter-mode-alist):
4213 * progmodes/ruby-mode.el (interpreter-mode-alist):
4214 Revert previous change.
4215
4216 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * play/snake.el (snake-mode):
4219 * play/mpuz.el (mpuz-mode):
4220 * play/landmark.el (lm-mode):
4221 * play/blackbox.el (blackbox-mode):
4222 * play/5x5.el (5x5-mode):
4223 * obsolete/options.el (Edit-options-mode):
4224 * net/quickurl.el (quickurl-list-mode):
4225 * net/newst-treeview.el (newsticker-treeview-mode):
4226 * mail/rmailsum.el (rmail-summary-mode):
4227 * mail/mspools.el (mspools-mode):
4228 * locate.el (locate-mode):
4229 * ibuffer.el (ibuffer-mode):
4230 * emulation/ws-mode.el (wordstar-mode):
4231 * emacs-lisp/debug.el (debugger-mode):
4232 * array.el (array-mode):
4233 * net/eudc.el (eudc-mode): Use define-derived-mode.
4234 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4235 Move initialization into declaration.
4236 (mairix-searches-mode): Use define-derived-mode.
4237 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4238 (eudc-edit-hotlist): Use dolist.
4239 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4240 (Man-mode): Use define-derived-mode.
4241 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4242 (Info-edit-mode): Use define-derived-mode.
4243 (Info-cease-edit): Use Info-mode.
4244 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4245 into declaration.
4246 (eshell-mode): Use define-derived-mode.
4247 * chistory.el (command-history-mode-map): Rename from
4248 command-history-map.
4249 (command-history-mode): Use define-derived-mode.
4250 (Command-history-setup): Remove function.
4251 * calc/calc.el (calc-trail-mode-map): New var.
4252 (calc-trail-mode): Use define-derived-mode.
4253 (calc-trail-buffer): Set calc-main-buffer manually.
4254 * bookmark.el (bookmark-insert-annotation): New function.
4255 (bookmark-edit-annotation): Use it.
4256 (bookmark-edit-annotation-mode): Make it a proper major mode.
4257 (bookmark-send-edited-annotation): Use derived-mode-p.
4258 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4259 closer to its ideal place. Use \' to match EOS.
4260
4261 * profiler.el (profiler-calltree-find): Use function-equal.
4262
4263 2013-09-10 Glenn Morris <rgm@gnu.org>
4264
4265 * files.el (interpreter-mode-alist): Convert to regexps.
4266 (set-auto-mode): Adapt for this. (Bug#15306)
4267 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4268 Comment out unused variable.
4269 * progmodes/cc-mode.el (interpreter-mode-alist):
4270 * progmodes/python.el (interpreter-mode-alist):
4271 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4272 * progmodes/sh-script.el (sh-set-shell):
4273 No longer use interpreter-mode-alist to get list of shells.
4274
4275 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4276
4277 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * simple.el: Use set-temporary-overlay-map for universal-argument.
4280 (universal-argument-map): Don't use default-bindings (bug#15317).
4281 Bind switch-frame explicitly. Replace universal-argument-minus with
4282 a conditional binding.
4283 (universal-argument-num-events, saved-overriding-map): Remove.
4284 (restore-overriding-map): Remove.
4285 (universal-argument--mode): Rename from save&set-overriding-map,
4286 and rewrite.
4287 (universal-argument, universal-argument-more, negative-argument)
4288 (digit-argument): Adjust accordingly.
4289 (universal-argument-minus): Remove.
4290 (universal-argument-other-key): Remove.
4291
4292 * subr.el (with-demoted-errors): Add `format' argument.
4293
4294 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4295
4296 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4297 `tramp-cleanup-connection'.
4298
4299 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4300 parameters KEEP-DEBUG and KEEP-PASSWORD.
4301
4302 * net/tramp.el (tramp-file-name-handler):
4303 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4304 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4305 (tramp-maybe-open-connection):
4306 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4307 Use `tramp-cleanup-connection'.
4308
4309 * net/tramp-sh.el (tramp-maybe-open-connection):
4310 Catch 'uname-changed inside the progress reporter.
4311
4312 2013-09-10 Glenn Morris <rgm@gnu.org>
4313
4314 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4315
4316 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4317 returns "alternate access method" in mode (eg "-rw-r--r--.").
4318
4319 2013-09-08 Glenn Morris <rgm@gnu.org>
4320
4321 * saveplace.el (load-save-place-alist-from-file):
4322 Demote errors. (Bug#15305)
4323
4324 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4325
4326 Improve compatibility with older Emacsen, and XEmacs.
4327
4328 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4329 only if it is bound. It isn't for XEmacs.
4330 (with-tramp-progress-reporter): Do not let-bind `result'.
4331 This yields to scoping errors in XEmacs.
4332 (tramp-handle-make-auto-save-file-name): New function, moved from
4333 tramp-sh.el.
4334
4335 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4336 for `make-auto-save-file-name'.
4337 (tramp-adb--gnu-switches-to-ash):
4338 Use `tramp-compat-replace-regexp-in-string'.
4339
4340 * net/tramp-cache.el (tramp-cache-print): Call
4341 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4342
4343 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4344 bound. It isn't for XEmacs.
4345
4346 * net/tramp-compat.el (tramp-compat-copy-file):
4347 Catch `wrong-number-of-arguments' error.
4348 (tramp-compat-replace-regexp-in-string): New defun.
4349
4350 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4351 for `make-auto-save-file-name'.
4352 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4353 `copy-file'.
4354 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4355 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4356 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4357
4358 * net/tramp-gw.el (tramp-gw-open-network-stream):
4359 Use `tramp-compat-replace-regexp-in-string'.
4360
4361 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4362 Call `tramp-handle-make-auto-save-file-name'.
4363 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4364 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4365 (tramp-sh-file-inotifywait-process-filter):
4366 Use `tramp-compat-replace-regexp-in-string'.
4367 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4368
4369 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4370 for `make-auto-save-file-name'.
4371 (tramp-smb-handle-copy-directory):
4372 Call `tramp-compat-replace-regexp-in-string'.
4373 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4374 (tramp-smb-handle-copy-file): Improve error message.
4375 (tramp-smb-handle-rename-file): Rename directly only in case
4376 `newname' does not exist yet. This is a restriction of smbclient.
4377 (tramp-smb-maybe-open-connection): Rerun the function only when
4378 `auth-sources' is non-nil.
4379
4380 2013-09-08 Kenichi Handa <handa@gnu.org>
4381
4382 * international/characters.el: Set category "^" (Combining) for
4383 more characters.
4384
4385 2013-09-07 Alan Mackenzie <acm@muc.de>
4386
4387 Correctly fontify Java class constructors.
4388 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4389 in Java Mode.
4390 (c-recognize-typeless-decls): Set the Java value to t.
4391 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4392 While handling a "(", add a check for, effectively, Java, and handle a
4393 "typeless" declaration there.
4394
4395 2013-09-07 Roland Winkler <winkler@gnu.org>
4396
4397 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4398 field subtitle for entry type book.
4399
4400 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * minibuffer.el: Make minibuffer-complete call completion-in-region
4403 rather than other way around.
4404 (completion--some, completion-pcm--find-all-completions):
4405 Don't delay signals when debugging.
4406 (minibuffer-completion-contents): Beware fields within the
4407 minibuffer contents.
4408 (completion-all-sorted-completions): Use defvar-local.
4409 (completion--do-completion, completion--cache-all-sorted-completions)
4410 (completion-all-sorted-completions, minibuffer-force-complete):
4411 Add args `beg' and `end'.
4412 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4413 (minibuffer-complete): Use completion-in-region.
4414 (completion-complete-and-exit): New fun, extracted from
4415 minibuffer-complete-and-exit.
4416 (minibuffer-complete-and-exit): Use it.
4417 (completion--complete-and-exit): Rename from
4418 minibuffer--complete-and-exit.
4419 (completion-in-region--single-word): New function, extracted from
4420 minibuffer-complete-word.
4421 (minibuffer-complete-word): Use it.
4422 (display-completion-list): Make `common-substring' argument obsolete.
4423 (completion--in-region): Call completion--in-region-1 instead of
4424 minibuffer-complete.
4425 (completion-help-at-point): Pass boundaries to
4426 minibuffer-completion-help as args rather than via an overlay.
4427 (completion-pcm--string->pattern): Use `any-delim'.
4428 (completion-pcm--optimize-pattern): New function.
4429 (completion-pcm--pattern->regex): Handle `any-delim'.
4430 * icomplete.el (icomplete-forward-completions)
4431 (icomplete-backward-completions, icomplete-completions):
4432 Adjust calls to completion-all-sorted-completions and
4433 completion--cache-all-sorted-completions.
4434 (icomplete-with-completion-tables): Default to t.
4435 * emacs-lisp/crm.el (crm--current-element): Rename from
4436 crm--select-current-element. Don't put an overlay but return the
4437 boundaries instead.
4438 (crm--completion-command): Take two new args to bind to the boundaries.
4439 (crm-completion-help): Adjust accordingly.
4440 (crm-complete): Use completion-in-region.
4441 (crm-complete-word): Use completion-in-region--single-word.
4442 (crm-complete-and-exit): Use completion-complete-and-exit.
4443
4444 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4447 than dynamically.
4448
4449 2013-09-06 Juri Linkov <juri@jurta.org>
4450
4451 * info.el (Info-display-images-node): When image file doesn't exist
4452 display text version of the image if it's provided in the Info file.
4453 Otherwise, display the location of missing image from SRC attribute.
4454 Add help-echo text property from ALT attribute. (Bug#15279)
4455
4456 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4457
4458 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4459 (edit-abbrevs-mode): Use define-derived-mode.
4460
4461 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4462 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4463 that it's defined.
4464 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4465 Use define-derived-mode.
4466
4467 * epg.el (epg-start-encrypt): Minor CSE simplification.
4468
4469 2013-09-06 William Xu <william.xwl@gmail.com>
4470
4471 * arc-mode.el: Add support for 7za (bug#15264).
4472 (archive-7z-program): New var.
4473 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4474 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4475 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4476
4477 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4478
4479 Remove URL syntax.
4480
4481 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4482 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4483 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4484 (tramp-postfix-host-format, tramp-file-name-regexp)
4485 (tramp-completion-file-name-regexp)
4486 (tramp-completion-dissect-file-name)
4487 (tramp-handle-substitute-in-file-name): Remove 'url case.
4488 (tramp-file-name-regexp-url)
4489 (tramp-completion-file-name-regexp-url): Remove constants.
4490
4491 2013-09-06 Glenn Morris <rgm@gnu.org>
4492
4493 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4494
4495 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4496
4497 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4498 keywords" below "here-doc beginnings" (Bug#15270).
4499
4500 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * subr.el (pop): Use `car-safe'.
4503 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4504 to detect unused `pop' return value.
4505
4506 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4507 var `block-regexp'.
4508 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4509 (python-fill-string): Remove unused var `marker'.
4510 (python-skeleton-add-menu-items): Remove unused var `items'.
4511
4512 * international/mule-cmds.el: Require CL.
4513 (find-coding-systems-for-charsets): Avoid add-to-list.
4514 (sanitize-coding-system-list): New function, extracted from
4515 select-safe-coding-system-interactively.
4516 (select-safe-coding-system-interactively): Use it.
4517 (read-input-method-name): Accept symbols for `default'.
4518
4519 * emacs-lisp/advice.el (defadvice): Add indent rule.
4520
4521 2013-09-05 Daniel Hackney <dan@haxney.org>
4522
4523 * dired-x.el:
4524 * net/ange-ftp.el:
4525 * net/browse-url.el:
4526 * net/dbus.el:
4527 * net/eudc.el:
4528 * net/eudcb-ldap.el:
4529 * net/eww.el:
4530 * net/imap.el:
4531 * printing.el:
4532 * vc/ediff-diff.el:
4533 * vc/ediff-init.el:
4534 * vc/ediff-merg.el:
4535 * vc/ediff-mult.el:
4536 * vc/ediff-util.el:
4537 * vc/ediff-wind.el:
4538 * vc/ediff.el:
4539 * vc/emerge.el:
4540 * vc/pcvs.el:
4541 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4542 byte compiler. Remove some unused let-bound variables.
4543
4544 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4547 a "ref-cell", since it gets better optimized (bug#14883).
4548
4549 2013-09-05 Glenn Morris <rgm@gnu.org>
4550
4551 * progmodes/cc-awk.el (c-forward-sws): Declare.
4552
4553 2013-09-04 Glenn Morris <rgm@gnu.org>
4554
4555 * generic-x.el [rul-generic-mode]: Require cc-mode.
4556 (c++-mode-syntax-table): Declare.
4557 (rul-generic-mode-syntax-table): Init in the defvar.
4558
4559 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4560
4561 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4562 (vc-do-command, vc-set-async-update):
4563 * vc/vc-mtn.el (vc-mtn-dir-status):
4564 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4565 (vc-hg-pull, vc-hg-merge-branch):
4566 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4567 (vc-git-merge-branch):
4568 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4569 (vc-cvs-dir-status-files):
4570 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4571 (vc-bzr-dir-status-files):
4572 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4573 * vc/vc-annotate.el: Use lexical-binding.
4574 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4575 (vc-sentinel-movepoint): Declare.
4576 (vc-annotate): Don't use `goto-line'.
4577 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4578 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4579 (vc-sentinel-movepoint): Declare.
4580 * vc/vc-svn.el: Use lexical-binding.
4581 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4582 * vc/vc-sccs.el:
4583 * vc/vc-rcs.el: Use lexical-binding.
4584
4585 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4586 `deleted'. Don't drop errors silently.
4587
4588 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4589
4590 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4591
4592 * vc/vc.el (vc-ignore): Rewrite.
4593 (vc-default-ignore): New function.
4594 (vc-default-ignore-completion-table): Use find-ignore-file.
4595
4596 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4597 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4598 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4599 Remove. Most code moved to vc.el.
4600
4601 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4602
4603 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4604 * net/tramp-smb.el (tramp-smb-get-file-entries):
4605 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4606 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4607
4608 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4609 Update call to it.
4610 (eww-change-select): Remove unused var `properties'.
4611 (eww-make-unique-file-name): Remove unused var `base'.
4612
4613 * finder.el (finder-compile-keywords): Don't mess with windows.
4614
4615 * calculator.el (calculator-funcall): Fix typo in last change.
4616
4617 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4618
4619 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4620 <pkg>-autoloads.el file stop us.
4621
4622 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4623 warnings, and factor out common code.
4624
4625 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4626
4627 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4628 two-character operators and whether the character preceding them
4629 changes their meaning (Bug#15208).
4630
4631 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4632
4633 Format code sent to Python shell for robustness.
4634 * progmodes/python.el (python-shell-buffer-substring):
4635 New function.
4636 (python-shell-send-region, python-shell-send-buffer): Use it.
4637
4638 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4639
4640 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4641 * net/tramp.el (tramp-user-error): ... here.
4642 (tramp-find-method, tramp-check-proper-host)
4643 (tramp-dissect-file-name, tramp-debug-message)
4644 (tramp-handle-shell-command):
4645 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4646 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4647
4648 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4649
4650 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4651
4652 * avoid.el (mouse-avoidance-point-position)
4653 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4654 returns nil.
4655
4656 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4657
4658 * progmodes/python.el (python-shell-completion-get-completions):
4659 Drop use of deleted `comint-last-prompt-overlay'.
4660 (python-nav-if-name-main): New command.
4661
4662 2013-09-01 Glenn Morris <rgm@gnu.org>
4663
4664 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4665 Avoid leading space in $wins. Otherwise the sed command used by
4666 eg compile-main ends up containing "/*.el". (Bug#15170)
4667
4668 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4669
4670 2013-08-30 Glenn Morris <rgm@gnu.org>
4671
4672 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4673 Fix is-this-a-directory logic. (Bug#15220)
4674
4675 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * textmodes/css-mode.el: Use SMIE.
4678 (css-smie-grammar): New var.
4679 (css-smie--forward-token, css-smie--backward-token)
4680 (css-smie-rules): New functions.
4681 (css-mode): Use them.
4682 (css-navigation-syntax-table): Remove var.
4683 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4684 (css-indent-calculate, css-indent-line): Remove functions.
4685
4686 Misc changes to reduce use of `(lambda...); and other cleanups.
4687 * cus-edit.el: Use lexical-binding.
4688 (customize-push-and-save, customize-apropos)
4689 (custom-buffer-create-internal): Use closures.
4690 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4691 * progmodes/ada-xref.el: Use setq.
4692 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4693 * dframe.el: Use lexical-binding.
4694 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4695 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4696 * descr-text.el: Use lexical-binding.
4697 (describe-text-widget, describe-text-sexp, describe-property-list):
4698 Use closures.
4699 * comint.el (comint-history-isearch-push-state): Use a closure.
4700 * calculator.el: Use lexical-binding.
4701 (calculator-number-to-string): Make it work with lexical-binding.
4702 (calculator-funcall): Same and use cl-letf.
4703
4704 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4705 (lisp--company-doc-string, lisp--company-location): New functions.
4706 (lisp-completion-at-point): Use them to improve Company support.
4707
4708 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4709 params of lambda expressions.
4710 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4711 (ruby-smie--opening-pipe-p): New function.
4712 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4713 symbols and matched |...| for formal params.
4714 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4715 from being treated as hanging. Handle "rescue".
4716
4717 2013-08-29 Glenn Morris <rgm@gnu.org>
4718
4719 * progmodes/cc-engine.el (c-pull-open-brace):
4720 Move definition before use.
4721
4722 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4725 are immutable. Don't use `unsafe' any more.
4726 (cl--defsubst-expand): Don't substitute at the same time as keeping
4727 a residual unused let-binding. Don't use `unsafe' any more.
4728
4729 2013-08-29 Glenn Morris <rgm@gnu.org>
4730
4731 * calendar/cal-china.el (calendar-chinese-year-cache):
4732 Recenter on 2015.
4733
4734 * nxml/nxml-util.el (nxml-debug-clear-inside):
4735 Use cl-loop rather than loop.
4736
4737 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4738
4739 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4740
4741 2013-08-28 Glenn Morris <rgm@gnu.org>
4742
4743 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4744
4745 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4746
4747 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4748
4749 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4750
4751 * simple.el (repeat-complex-command--called-interactively-skip):
4752 New function.
4753 (repeat-complex-command): Use it (bug#14136).
4754
4755 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4756 (c-define-abbrev-table): Add `doc' argument.
4757 (c-mode-abbrev-table, c++-mode-abbrev-table)
4758 (objc-mode-abbrev-table, java-mode-abbrev-table)
4759 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4760 (awk-mode-abbrev-table): Use it.
4761 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4762 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4763 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4764 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4765 Move initialization into the declaration; and remove any
4766 autoload cookie.
4767
4768 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4769 and dynamic let binding.
4770
4771 * vc/smerge-mode.el: Remove redundant :group args.
4772
4773 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4774 to load-path.
4775
4776 2013-08-28 Juri Linkov <juri@jurta.org>
4777
4778 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4779 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4780 (isearch-other-meta-char): Handle an undefined shifted printing
4781 character by downshifting it. (Bug#15200)
4782
4783 2013-08-28 Juri Linkov <juri@jurta.org>
4784
4785 * isearch.el (isearch-search): Change regexp error message for
4786 non-regexp searches. (Bug#15166)
4787
4788 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4789
4790 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4791 for portability to hosts where /bin/sh has problems.
4792
4793 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4796
4797 2013-08-27 Juri Linkov <juri@jurta.org>
4798
4799 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4800 in the keyboard macro. (Bug#15126)
4801
4802 2013-08-27 Juri Linkov <juri@jurta.org>
4803
4804 * isearch.el (isearch-quote-char): Comment out converting unibyte
4805 to multibyte, thus syncing with its `quoted-insert' counterpart.
4806 (Bug#15166)
4807
4808 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4809
4810 * window.el (display-buffer-use-some-window): Add missing
4811 argument in call of get-largest-window (Bug#15185).
4812 Reported by Stephen Leake.
4813
4814 2013-08-27 Glenn Morris <rgm@gnu.org>
4815
4816 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4817
4818 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4819
4820 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4821 from a matcher-function unless there's no more matches (bug#15161).
4822
4823 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4824
4825 * minibuffer.el: Revert change from 2013-08-20.
4826
4827 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4828 with text property `tramp-default', if appropriate.
4829 (tramp-check-proper-host): New defun.
4830 (tramp-dissect-file-name): Do not check hostname. Revert change
4831 of 2013-03-18.
4832 (tramp-backtrace): Make VEC-OR-PROC optional.
4833
4834 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4835 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4836 * net/tramp-sh.el (tramp-maybe-open-connection):
4837 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4838 Apply `tramp-check-proper-host'.
4839
4840 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4841
4842 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4843 lambda expression in order to have `describe-variable' display it.
4844
4845 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4846
4847 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4848 BUF can be optional. (Bug#15186)
4849
4850 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4851
4852 * progmodes/flymake.el (flymake-get-real-file-name-function):
4853 Fix broken customization. (Bug#15184)
4854
4855 2013-08-25 Alan Mackenzie <acm@muc.de>
4856
4857 Improve indentation of bracelists defined by macros (without "=").
4858
4859 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4860 expansion begins with "{", regard it as bracelist when it doesn't
4861 contain a ";".
4862
4863 Parse C++ inher-intro when there's a template split over 2 lines.
4864
4865 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4866 rigorously the search for "class" etc. followed by ":".
4867
4868 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4869 random languages a regexp which never matches rather than nil.
4870
4871 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4872
4873 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4874 (c-awk-regexp-one-line-possibly-open-char-list-re)
4875 (c-awk-one-line-possibly-open-regexp-re)
4876 (c-awk-one-line-non-syn-ws*-re): Remove.
4877 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4878 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4879 (c-awk-space*-unclosed-regexp-/-re): New constants.
4880 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4881 aren't regexp delimiters.
4882
4883 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4884 handling for a rare situation in AWK Mode involving unterminated
4885 strings/regexps.
4886
4887 2013-08-23 Glenn Morris <rgm@gnu.org>
4888
4889 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4890
4891 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4892
4893 * files.el (create-file-buffer): If the result would begin with
4894 spaces, prepend a "|" instead of removing them. (Bug#15162)
4895
4896 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4897
4898 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4899 text-properties (bug#15155).
4900
4901 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4902 exist any more.
4903 (calc-keypad-redraw): Remove unused var `pad'.
4904 (calc-keypad-press): Remove unused var `menu'.
4905
4906 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4907
4908 * window.el (display-buffer-pop-up-frame):
4909 Call pop-up-frame-function with BUFFER current so `make-frame' will
4910 use it as the new frame's buffer (Bug#15133).
4911
4912 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * calendar/timeclock.el: Minor cleanups.
4915 (timeclock-ask-before-exiting, timeclock-use-display-time):
4916 Use `symbol'.
4917 (timeclock-modeline-display): Define as alias before the
4918 actual definition.
4919 (timeclock-mode-line-display): Use define-minor-mode.
4920 (timeclock-day-list-template): Make it a function, add an argument.
4921 (timeclock-day-list-required, timeclock-day-list-length)
4922 (timeclock-day-list-debt, timeclock-day-list-span)
4923 (timeclock-day-list-break): Adjust calls accordingly.
4924
4925 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4928 Use read--expression so that completion works again.
4929
4930 2013-08-21 Sam Steingold <sds@gnu.org>
4931
4932 Add rudimentary inferior shell interaction
4933 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4934 (sh-set-shell): Reset it.
4935 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4936 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4937
4938 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * align.el: Use lexical-binding.
4941 (align-region): Simplify accordingly.
4942
4943 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4944
4945 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4946
4947 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4948 `non-essential' up.
4949
4950 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4951
4952 * net/tramp.el:
4953 * net/tramp-adb.el:
4954 * net/tramp-cmds.el:
4955 * net/tramp-ftp.el:
4956 * net/tramp-gvfs.el:
4957 * net/tramp-gw.el:
4958 * net/tramp-sh.el: Don't wrap external variable declarations by
4959 `eval-when-compile'.
4960
4961 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4962
4963 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4964 now that Emacs supports ImageMagick animations.
4965
4966 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4967
4968 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4969 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4970
4971 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4972
4973 * window.el (mouse-autoselect-window-select): Do autoselect when
4974 mouse pointer is on margin.
4975
4976 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4977
4978 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4979
4980 2013-08-16 Glenn Morris <rgm@gnu.org>
4981
4982 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4983 Handle "Remote Directory" response of some clients. (Bug#15058)
4984
4985 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4986 Tweak warning. (Bug#14926)
4987
4988 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4989 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4990
4991 * image-mode.el (image-mode-map): Add menu items to reverse,
4992 increase, decrease, reset animation speed.
4993 (image--set-speed, image-increase-speed, image-decrease-speed)
4994 (image-reverse-speed, image-reset-speed): New functions.
4995 (image-mode-map): Add bindings for speed commands.
4996
4997 * image.el (image-animate-get-speed, image-animate-set-speed):
4998 New functions.
4999 (image-animate-timeout): Respect image :speed property.
5000
5001 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5002
5003 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5004 previous line (bug#15101).
5005 (debugger-eval-expression, debugger-record-expression):
5006 Use read--expression (bug#15102).
5007
5008 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5009
5010 Remove byte compiler warnings, visible when compiling with
5011 `byte-compile-force-lexical-warnings' set to t.
5012
5013 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5014 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5015 (tramp-handle-unhandled-file-name-directory)
5016 (tramp-handle-file-notify-add-watch, tramp-action-login)
5017 (tramp-action-succeed, tramp-action-permission-denied)
5018 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5019 arguments with "_".
5020
5021 * net/tramp-adb.el (tramp-adb-parse-device-names)
5022 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5023 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5024 (tramp-adb-handle-file-truename): Remove unused arguments.
5025
5026 * net/tramp-cache.el (tramp-flush-directory-property)
5027 (tramp-flush-connection-property, tramp-list-connections)
5028 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5029
5030 * net/tramp-compat.el (tramp-compat-make-temp-file):
5031 Rename FILENAME to F.
5032
5033 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5034 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5035 (tramp-zeroconf-parse-workstation-device-names)
5036 (tramp-zeroconf-parse-webdav-device-names)
5037 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5038
5039 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5040 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5041
5042 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5043 arguments.
5044 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5045 (tramp-sh-handle-insert-file-contents-literally)
5046 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5047 with "_".
5048 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5049 Remove unused variables.
5050
5051 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5052 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5053 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5054
5055 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5056 Make them a defconst.
5057 (tramp-uuencode-region): Remove unused variable.
5058
5059 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5060
5061 * frameset.el (frameset--prop-setter): New function.
5062 (frameset-prop): Add gv-setter declaration.
5063 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5064 parameter was already set in FILTERED. Doc fix.
5065 (frameset--record-minibuffer-relationships): Allow saving a
5066 minibufferless frame without its corresponding minibuffer frame.
5067 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5068 frame, if the frame id matches.
5069 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5070 frames before orphaned ones.
5071 (frameset-restore): Warn about orphaned windows, instead of error out.
5072
5073 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5074
5075 * window.el (window-make-atom): Don't overwrite parameter
5076 already present.
5077 (display-buffer-in-atom-window): Handle special case where we
5078 split an already atomic window.
5079 (window--major-non-side-window, display-buffer-in-side-window)
5080 (window--side-check): Ignore minibuffer window when walking
5081 window tree.
5082 (window-deletable-p): Return 'frame only if no other frame uses
5083 our minibuffer window.
5084 (record-window-buffer): Run buffer-list-update-hook.
5085 (split-window): Make sure window--check-frame won't destroy an
5086 existing atomic window in case the new window gets nested
5087 inside.
5088 (display-buffer-at-bottom): Ignore minibuffer window when
5089 walking window tree. Don't split a side window.
5090 (pop-to-buffer): Don't set-buffer here, the select-window call
5091 should do that.
5092 (mouse-autoselect-window-select): Autoselect only if we are in the
5093 text portion of the window.
5094
5095 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5096
5097 * net/shr.el (shr-parse-image-data): New function to grab both the
5098 data itself and the Content-Type.
5099 (shr-put-image): Use it.
5100
5101 * net/eww.el (eww-display-image): Ditto.
5102
5103 * image.el (image-content-type-suffixes): New variable.
5104
5105 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5106
5107 * progmodes/python.el (python-imenu--build-tree)
5108 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5109
5110 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5111
5112 * simple.el (backward-word): Mention the optional argument.
5113
5114 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * frameset.el (frameset--make): Rename constructor from make-frameset.
5117 (frameset-p, frameset-valid-p): Don't autoload.
5118 (frameset-valid-p): Use normal accessors.
5119
5120 2013-08-13 Glenn Morris <rgm@gnu.org>
5121
5122 * progmodes/compile.el (compile-command): Tweak example in doc.
5123 * obsolete/scribe.el (scribe-mode):
5124 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5125
5126 * mail/feedmail.el (feedmail-confirm-outgoing)
5127 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5128
5129 * cus-start.el (truncate-partial-width-windows): Fix type.
5130
5131 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5132
5133 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5134
5135 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * emacs-lisp/timer.el (timer--time-setter): New function.
5138 (timer--time): Use it as gv-setter.
5139
5140 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5141 setter is not a symbol.
5142
5143 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5144
5145 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5146 if sending fails. This makes debugging easier.
5147
5148 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5149
5150 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5151 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5152 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5153
5154 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5155
5156 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5157
5158 2013-08-12 Glenn Morris <rgm@gnu.org>
5159
5160 * format.el (format-annotate-function):
5161 Handle read-only text properties in the source. (Bug#14887)
5162
5163 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5164
5165 * net/eww.el (eww-display-html): Ignore coding system errors.
5166 One web site uses "utf-8lias" as the coding system.
5167
5168 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5169
5170 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5171
5172 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5173
5174 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5175 (tutorial--detailed-help): Remove unused local variables.
5176 (tutorial--save-tutorial-to): Use ignore-errors.
5177 (help-with-tutorial): Use looking-at-p.
5178
5179 * view.el (view-buffer-other-window, view-buffer-other-frame):
5180 Mark unused arguments.
5181
5182 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5183 (woman-select-symbol-fonts, woman, woman-find-file)
5184 (woman-insert-file-contents, woman-non-underline-faces):
5185 Use string-match-p.
5186 (woman1-unquote): Move declaration.
5187
5188 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5189 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5190 argument. Remove unused local variable.
5191 (xml-parse-elem-type): Use string-match-p.
5192 (xml-substitute-numeric-entities): Use ignore-errors.
5193
5194 * calculator.el (calculator): Mark unused argument.
5195 (calculator-paste, calculator-quit, calculator-integer-p):
5196 Use ignore-errors.
5197 (calculator-string-to-number, calculator-decimal, calculator-exp)
5198 (calculator-op-or-exp): Use string-match-p.
5199
5200 * dired.el (dired-buffer-more-recently-used-p): Declare.
5201 (dired-insert-set-properties, dired-insert-old-subdirs):
5202 Use ignore-errors.
5203
5204 * dired-aux.el (dired-compress): Use ignore-errors.
5205 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5206 (dired-do-async-shell-command, dired-do-shell-command)
5207 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5208 (dired-insert-subdir-validate): Use string-match-p.
5209 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5210 (dired-add-entry): Use string-match-p, looking-at-p.
5211 (dired-insert-subdir-newpos): Remove unused local variable.
5212
5213 * filenotify.el (file-notify-callback): Remove unused local variable.
5214
5215 * filesets.el (filesets-error): Mark unused argument.
5216 (filesets-which-command-p, filesets-filter-dir-names)
5217 (filesets-directory-files, filesets-get-external-viewer)
5218 (filesets-ingroup-get-data): Use string-match-p.
5219
5220 * find-file.el (ff-other-file-name, ff-other-file-name)
5221 (ff-find-the-other-file, ff-cc-hh-converter):
5222 Remove unused local variables.
5223 (ff-get-file-name): Use string-match-p.
5224 (ff-all-dirs-under): Use ignore-errors.
5225
5226 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5227 (follow-select-if-visible): Remove unused local variable.
5228
5229 * forms.el (read-file-filter): Move declaration.
5230 (forms--make-format, forms--make-parser, forms-insert-record):
5231 Quote function with #'.
5232 (forms--update): Use string-match-p. Quote function with #'.
5233
5234 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5235 (help-make-xrefs): Use looking-at-p.
5236 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5237
5238 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5239 (ibuffer-confirm-operation-on): Use string-match-p.
5240
5241 * msb.el (msb-item-handler, msb-dired-item-handler):
5242 Mark unused arguments.
5243
5244 * ses.el (ses-decode-cell-symbol)
5245 (ses-kill-override): Remove unused local variable.
5246 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5247 (ses-load): Use ignore-errors, looking-at-p.
5248 (ses-jump-safe): Use ignore-errors.
5249 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5250
5251 * tabify.el (untabify, tabify): Mark unused arguments.
5252
5253 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5254 Mark unused argument.
5255 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5256 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5257
5258 * emacs-lisp/timer.el (timer--time): Define setter with
5259 gv-define-setter to avoid deprecation warning.
5260
5261 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5262 (*record-cmpl-statistics-p*): Remove (was commented out).
5263 (cmpl-statistics-block): Remove (body was commented out).
5264 All callers changed.
5265 (add-completions-from-buffer, load-completions-from-file):
5266 Remove unused variables.
5267
5268 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5269
5270 * filecache.el (file-cache-delete-file-list):
5271 Print message only when told so.
5272 (file-cache-files-matching): Use #' in mapconcat argument.
5273
5274 * ffap.el (ffap-url-at-point): Fix reference to variable
5275 thing-at-point-default-mail-uri-scheme.
5276
5277 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 * subr.el (define-error): New function.
5280 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5281 error-file-not-found and define with define-error.
5282 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5283 and define with define-error.
5284 * userlock.el (file-locked, file-supersession):
5285 * simple.el (mark-inactive):
5286 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5287 * progmodes/ada-mode.el (ada-mode-errors):
5288 * play/life.el (life-extinct):
5289 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5290 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5291 * nxml/rng-util.el (rng-error):
5292 * nxml/rng-uri.el (rng-uri-error):
5293 * nxml/rng-match.el (rng-compile-error):
5294 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5295 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5296 * nxml/nxml-rap.el (nxml-scan-error):
5297 * nxml/nxml-outln.el (nxml-outline-error):
5298 * net/soap-client.el (soap-error):
5299 * net/gnutls.el (gnutls-error):
5300 * net/ange-ftp.el (ftp-error):
5301 * mpc.el (mpc-proc-error):
5302 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5303 (json-number-format, json-string-escape, json-string-format)
5304 (json-key-format, json-object-format):
5305 * jka-compr.el (compression-error):
5306 * international/quail.el (quail-error):
5307 * international/kkc.el (kkc-error):
5308 * emacs-lisp/ert.el (ert-test-failed):
5309 * calc/calc.el (calc-error, inexact-result, math-overflow)
5310 (math-underflow):
5311 * bookmark.el (bookmark-error-no-filename):
5312 * epg.el (epg-error): Define with define-error.
5313
5314 * time.el (display-time-event-handler)
5315 (display-time-next-load-average): Don't call sit-for since it seems
5316 unnecessary (bug#15045).
5317
5318 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5319 Use #' instead of ' to quote functions.
5320 (checkdoc-output-mode): Use setq-local.
5321 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5322 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5323 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5324 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5325 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5326 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5327 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5328 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5329
5330 * ido.el (ido-completion-help): Fix up compiler warning.
5331
5332 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5333
5334 * frameset.el (frameset-p): Add autoload cookie.
5335 (frameset--jump-to-register): New function, based on code moved from
5336 register.el.
5337 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5338
5339 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5340 (frameset-restore, frameset-save, frameset-session-filter-alist):
5341 Remove declarations.
5342 (register-alist): Doc fix.
5343 (frameset-to-register): Move to frameset.el.
5344 (jump-to-register, describe-register-1): Remove frameset-specific code.
5345
5346 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5347
5348 * allout-widgets.el (allout-widgets-pre-command-business)
5349 (allout-widgets-post-command-business)
5350 (allout-widgets-after-change-handler)
5351 (allout-decorate-item-and-context, allout-set-boundary-marker)
5352 (allout-body-modification-handler)
5353 (allout-graphics-modification-handler): Mark ignored arguments.
5354 (allout-widgets-post-command-business)
5355 (allout-widgets-exposure-change-processor)
5356 (allout-widgets-exposure-undo-processor)
5357 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5358 (allout-parse-item-at-point, allout-decorate-item-guides)
5359 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5360 * allout.el (epa-passphrase-callback-function): Declare.
5361 (allout-overlay-insert-in-front-handler)
5362 (allout-overlay-interior-modification-handler)
5363 (allout-isearch-end-handler, allout-chart-siblings)
5364 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5365 (allout-yank-processing, allout-process-exposed)
5366 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5367 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5368 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5369 (lisp-indent-defform): Mark ignored arguments.
5370 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5371 (calculate-lisp-indent): Remove unused variables.
5372 * international/characters.el (indian-2-column, arabic-2-column)
5373 (tibetan): Mark ignored arguments.
5374 (use-cjk-char-width-table): Mark ignored arguments.
5375 Remove unused variables.
5376 * international/fontset.el (build-default-fontset-data)
5377 (x-compose-font-name, create-fontset-from-fontset-spec):
5378 Mark ignored arguments.
5379 (fontset-plain-name): Remove unused variables.
5380 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5381 (keyboard-coding-system): Mark ignored arguments.
5382 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5383 * help.el (resize-temp-buffer-window):
5384 * window.el (display-buffer-in-major-side-window)
5385 (display-buffer-in-side-window, display-buffer-in-previous-window):
5386 Remove unused variables.
5387 * isearch.el (isearch-forward-symbol):
5388 * version.el (emacs-bzr-version-bzr):
5389 * international/mule-cmds.el (current-language-environment):
5390 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5391 (x-handle-display):
5392 * term/pc-win.el (x-list-fonts, x-display-planes)
5393 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5394 (x-server-version, x-display-screens, x-display-mm-height)
5395 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5396 (x-selection-owner-p, x-own-selection-internal)
5397 (x-disown-selection-internal, x-get-selection-internal)
5398 (msdos-initialize-window-system):
5399 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5400 * term/x-win.el (x-handle-no-bitmap-icon):
5401 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5402 (vc-default-find-file-hook, vc-default-extra-menu):
5403 Mark ignored arguments.
5404
5405 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5406
5407 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5408 break-condition in the context of the debugged code (bug#12685).
5409
5410 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5411
5412 * comint.el:
5413 Do not use an overlay to highlight the last prompt. (Bug#14744)
5414 (comint-mode): Make comint-last-prompt buffer local.
5415 (comint-last-prompt): New variable.
5416 (comint-last-prompt-overlay): Remove. Superseded by
5417 comint-last-prompt.
5418 (comint-snapshot-last-prompt, comint-output-filter):
5419 Use comint-last-prompt.
5420
5421 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5422
5423 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5424 (frameset-save): Check validity of the resulting frameset.
5425
5426 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5427
5428 * ido.el (ido-record-command): Add doc string.
5429
5430 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5431
5432 * frameset.el (frameset): Do not disable creation of the default
5433 frameset-p predicate. Doc fix.
5434 (frameset-valid-p): New function, copied from the old predicate-p.
5435 Add additional checks.
5436 (frameset-restore): Check with frameset-valid-p.
5437 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5438 (frameset-name, frameset-description, frameset-properties)
5439 (frameset-states): Add docstring.
5440 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5441 (frameset-filter-alist): Doc fixes.
5442
5443 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5444
5445 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5446
5447 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5450 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5451 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5452 (byte-compile-normal-call): Remove obsolescence check.
5453
5454 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5455
5456 * frameset.el (frameset-restore): Doc fix.
5457
5458 * register.el (frameset-frame-id, frameset-frame-with-id)
5459 (frameset-p, frameset-restore, frameset-save): Declare.
5460 (register-alist): Document framesets.
5461 (frameset-session-filter-alist): Declare.
5462 (frameset-to-register): New function.
5463 (jump-to-register): Implement jumping to framesets. Doc fix.
5464 (describe-register-1): Describe framesets.
5465
5466 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5467
5468 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5469
5470 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5471 Use lexical-binding.
5472
5473 * frameset.el (frameset): Use type vector, not list (incompatible
5474 change). Do not declare a new constructor, use the default one.
5475 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5476 `name' and `description', respectively, and add read-only slot
5477 `timestamp'. Doc fixes.
5478 (frameset-copy, frameset-persistent-filter-alist)
5479 (frameset-filter-alist, frameset-switch-to-gui-p)
5480 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5481 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5482 (frameset-filter-iconified, frameset-keep-original-display-p):
5483 Doc fixes.
5484 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5485 Rename from frameset-filter-(save|restore)-param. All callers changed.
5486 Doc fix.
5487 (frameset-p): Adapt to change to vector and be more thorough.
5488 Change arg name to OBJECT. Doc fix.
5489 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5490 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5491 All callers changed.
5492 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5493 All callers changed.
5494 (frameset--record-minibuffer-relationships): Rename from
5495 frameset--process-minibuffer-frames. All callers changed.
5496 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5497 Use new default constructor (again). Doc fix.
5498 (frameset--find-frame-if): Rename from `frameset--find-frame.
5499 All callers changed.
5500 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5501 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5502 Doc fix.
5503 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5504 PARAMETERS and WINDOW-STATE, respectively.
5505 (frameset-restore): Add new keyword argument PREDICATE.
5506 Reset frameset--target-display to nil. Doc fix.
5507
5508 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5511 (bat-mode): Use it.
5512 (bat-mode-syntax-table): Mark \n as end-of-comment.
5513 (bat-font-lock-keywords): Remove comment rule.
5514
5515 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5516 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5517
5518 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5519 (byte-compile-callargs-warn): Use `push'.
5520 (byte-compile-arglist-warn): Ignore higher-order "calls".
5521 (byte-compile-file-form-autoload): Use `pcase'.
5522 (byte-compile-function-form): If quoting a symbol, check that it exists.
5523
5524 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5525
5526 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5527 and add a few popular commands found in batch files.
5528 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5529 (dos-mode): Doc fixes.
5530
5531 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5534 (dos-mode): Use setq-local. Add space after "rem".
5535 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5536 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5537
5538 2013-08-07 Arni Magnusson <arnima@hafro.is>
5539
5540 * progmodes/dos.el: New file.
5541 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5542 dos-mode.
5543
5544 2013-08-06 Glenn Morris <rgm@gnu.org>
5545
5546 * calendar/calendar.el: Add new faces, and day-header-array.
5547 (calendar-weekday-header, calendar-weekend-header)
5548 (calendar-month-header): New faces.
5549 (calendar-day-header-construct): New function.
5550 (calendar-day-header-width): Also :set calendar-day-header-array.
5551 (calendar-american-month-header, calendar-european-month-header)
5552 (calendar-iso-month-header): Use calendar- faces.
5553 (calendar-generate-month):
5554 Use calendar-day-header-array for day headers; apply faces to them.
5555 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5556 (calendar-abbrev-construct): Add optional maxlen argument.
5557 (calendar-day-name-array): Doc fix.
5558 (calendar-day-name-array, calendar-abbrev-length)
5559 (calendar-day-abbrev-array):
5560 Also :set calendar-day-header-array, and maybe redraw.
5561 (calendar-day-header-array): New option. (Bug#15007)
5562 (calendar-font-lock-keywords): Set to nil and make obsolete.
5563 (calendar-day-name): Add option to use header array.
5564
5565 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5566
5567 * net/shr.el (shr-render-td): Remove debugging.
5568 (shr-render-td): Make width computation consistent by defaulting
5569 all zero-width columns to 10 characters. This may not be optimal,
5570 but it's at least consistent.
5571 (shr-make-table-1): Redo last change to fix the real problem in
5572 colspan handling.
5573
5574 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5575
5576 * files.el (cache-long-line-scans):
5577 Make obsolete alias to `cache-long-scans'.
5578
5579 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5580
5581 * frameset.el (frameset, frameset-filter-alist)
5582 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5583 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5584 (frameset-compute-pos): Rename from frameset--compute-pos,
5585 and add docstring.
5586 (frameset-move-onscreen): Use frameset-compute-pos.
5587 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5588
5589 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5590 Fix typos in docstrings.
5591
5592 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5593
5594 * frame.el (get-other-frame): Tiny cleanup.
5595
5596 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5597
5598 * vc/vc.el (vc-default-ignore-completion-table):
5599 Silence byte-compiler warning.
5600
5601 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5602 slot , which can indeed be nil.
5603 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5604 Move entry for `left' from persistent to live filter alist.
5605 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5606 Doc fixes.
5607 (frameset-filter-params): When restoring a frame, copy items added to
5608 `filtered', to avoid unwittingly modifying the original parameters.
5609 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5610 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5611
5612 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5613 to use looking-at-p instead of looking-at. (Bug#15028)
5614
5615 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5616
5617 Revert introduction of isearch-filter-predicates (bug#14714).
5618 Rely on add-function instead.
5619 * isearch.el (isearch-filter-predicates): Rename it back to
5620 isearch-filter-predicate.
5621 (isearch-message-prefix): Use advice-function-mapc and advice
5622 properties to get the isearch-message-prefix.
5623 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5624 instead of run-hook-with-args-until-failure.
5625 (isearch-filter-visible): Not obsolete any more.
5626 * loadup.el: Preload nadvice.
5627 * replace.el (perform-replace): Revert to funcall
5628 instead of run-hook-with-args-until-failure.
5629 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5630 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5631 dired-isearch-filenames-toggle; make it into a proper minor mode.
5632 Use add/remove-function.
5633 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5634 Call the minor-mode rather than add/remove-hook.
5635 (dired-isearch-filter-filenames):
5636 Remove isearch-message-prefix property.
5637 * info.el (Info--search-loop): New function, extracted from Info-search.
5638 Funcall isearch-filter-predicate instead of
5639 run-hook-with-args-until-failure isearch-filter-predicates.
5640 (Info-search): Use it.
5641 (Info-mode): Use isearch-filter-predicate instead of
5642 isearch-filter-predicates.
5643
5644 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5645
5646 Do not call to `selected-window' where it is assumed by default.
5647 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5648 `window-hscroll', `window-width', `window-height', `window-buffer',
5649 `window-frame', `window-start', `window-point', `next-window'
5650 and `window-display-table'.
5651 * abbrev.el (abbrev--default-expand):
5652 * bs.el (bs--show-with-configuration):
5653 * buff-menu.el (Buffer-menu-mouse-select):
5654 * calc/calc.el (calc):
5655 * calendar/calendar.el (calendar-generate-window):
5656 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5657 (diary-make-entry):
5658 * comint.el (send-invisible, comint-dynamic-complete-filename)
5659 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5660 * completion.el (complete):
5661 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5662 * disp-table.el (describe-current-display-table):
5663 * doc-view.el (doc-view-insert-image):
5664 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5665 * ehelp.el (with-electric-help):
5666 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5667 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5668 * emacs-lisp/helper.el (Helper-help-scroller):
5669 * emulation/cua-base.el (cua--post-command-handler-1):
5670 * eshell/esh-mode.el (eshell-output-filter):
5671 * ffap.el (ffap-gnus-wrapper):
5672 * help-macro.el (make-help-screen):
5673 * hilit-chg.el (highlight-compare-buffers):
5674 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5675 * hl-line.el (global-hl-line-highlight):
5676 * icomplete.el (icomplete-simple-completing-p):
5677 * isearch.el (isearch-done):
5678 * jit-lock.el (jit-lock-stealth-fontify):
5679 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5680 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5681 * mpc.el (mpc-tagbrowser, mpc):
5682 * net/rcirc.el (rcirc-any-buffer):
5683 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5684 * play/landmark.el (landmark-max-width, landmark-max-height):
5685 * play/zone.el (zone):
5686 * progmodes/compile.el (compilation-goto-locus):
5687 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5688 * progmodes/etags.el (find-tag-other-window):
5689 * progmodes/fortran.el (fortran-column-ruler):
5690 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5691 * progmodes/verilog-mode.el (verilog-point-text):
5692 * reposition.el (reposition-window):
5693 * rot13.el (toggle-rot13-mode):
5694 * server.el (server-switch-buffer):
5695 * shell.el (shell-dynamic-complete-command)
5696 (shell-dynamic-complete-environment-variable):
5697 * simple.el (insert-buffer, set-selective-display)
5698 (delete-completion-window):
5699 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5700 (speedbar-recenter):
5701 * startup.el (fancy-splash-head):
5702 * textmodes/ispell.el (ispell-command-loop):
5703 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5704 * tutorial.el (help-with-tutorial):
5705 * vc/add-log.el (add-change-log-entry):
5706 * vc/compare-w.el (compare-windows):
5707 * vc/ediff-help.el (ediff-indent-help-message):
5708 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5709 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5710 (ediff-setup-control-frame):
5711 * vc/emerge.el (emerge-position-region):
5712 * vc/pcvs-util.el (cvs-bury-buffer):
5713 * window.el (walk-windows, mouse-autoselect-window-select):
5714 * winner.el (winner-set-conf, winner-undo): Related users changed.
5715
5716 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5717
5718 * frameset.el (frameset--set-id): Doc fix.
5719 (frameset-frame-id, frameset-frame-id-equal-p)
5720 (frameset-locate-frame-id): New functions.
5721 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5722 (frameset-restore): Use them.
5723
5724 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5725
5726 Do not call to `selected-frame' where it is assumed by default.
5727 Affected functions are `raise-frame', `redraw-frame',
5728 `frame-first-window', `frame-terminal' and `delete-frame'.
5729 * calendar/appt.el (appt-disp-window):
5730 * epg.el (epg-wait-for-completion):
5731 * follow.el (follow-delete-other-windows-and-split)
5732 (follow-avoid-tail-recenter):
5733 * international/mule.el (set-terminal-coding-system):
5734 * mail/rmail.el (rmail-mail-return):
5735 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5736 * progmodes/f90.el (f90-add-imenu-menu):
5737 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5738 * server.el (server-switch-buffer):
5739 * simple.el (delete-completion-window):
5740 * talk.el (talk):
5741 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5742 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5743 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5744 * vc/ediff.el (ediff-documentation): Related users changed.
5745 * frame.el (selected-terminal): Remove the leftover.
5746
5747 2013-08-05 Glenn Morris <rgm@gnu.org>
5748
5749 * calendar/calendar.el (calendar-generate-month):
5750 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5751 (calendar-generate-month, calendar-font-lock-keywords):
5752 Fix for calendar-day-header-width > length of any day name.
5753
5754 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5755
5756 * desktop.el (desktop-clear): Use new name of sort predicate.
5757
5758 * frameset.el (frameset): Add docstring. Move :version property to its
5759 own `version' slot.
5760 (frameset-copy): Rename from copy-frameset.
5761 (frameset-p): Check more thoroughly.
5762 (frameset-prop): Do not check for :version, which is no longer a prop.
5763 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5764 Use new :never value instead of t.
5765 (frameset-filter-alist): Expand and clarify docstring.
5766 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5767 (frameset-filter-minibuffer, frameset-filter-save-param)
5768 (frameset-filter-restore-param, frameset-filter-iconified):
5769 Add pointer to docstring of frameset-filter-alist.
5770 (frameset-filter-params): Rename filter values to be more meaningful:
5771 :never instead of t, and reverse the meanings of :save and :restore.
5772 (frameset--process-minibuffer-frames): Clarify error message.
5773 (frameset-save): Avoid unnecessary and confusing call to framep.
5774 Use new BOA constructor for framesets.
5775 (frameset--reuse-list): Doc fix.
5776 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5777 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5778 (frameset-minibufferless-first-p): Doc fix.
5779 Rename from frameset-sort-frames-for-deletion.
5780 (frameset-restore): Doc fixes. Use new function names.
5781 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5782
5783 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5784
5785 * desktop.el (desktop-restore-forces-onscreen)
5786 (desktop-restore-reuses-frames): Document :keyword constant values.
5787 (desktop-filter-parameters-alist): Remove, now identical to
5788 frameset-filter-alist.
5789 (desktop--filter-tty*): Remove, moved to frameset.el.
5790 (desktop-save-frameset, desktop-restore-frameset):
5791 Do not pass :filters argument.
5792
5793 * frameset.el (frameset-live-filter-alist)
5794 (frameset-persistent-filter-alist): New variables.
5795 (frameset-filter-alist): Use them. Add autoload cookie.
5796 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5797 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5798 `frameset--id' (it's supposed to be internal to frameset.el).
5799 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5800 (frameset--initial-params): New function.
5801 (frameset--get-frame): Use it. Doc fix.
5802 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5803 Accept :all, not 'all.
5804 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5805 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5806 with fbound symbols. Fix frame id matching, and remove matching ids if
5807 the frame being restored is deleted. Obey :delete.
5808
5809 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * subr.el (macrop): New function.
5812 (text-clone--maintaining): New var.
5813 (text-clone--maintain): Rename from text-clone-maintain. Use it
5814 instead of inhibit-modification-hooks.
5815
5816 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5817 a proxy, so as handle autoloads and redefinitions of the target.
5818 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5819
5820 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5821 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5822 (pcase--mutually-exclusive-p): New function.
5823 (pcase--split-consp): Use it.
5824 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5825 mutually exclusive with the current predicate.
5826
5827 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5828 (edebug-macrop): Remove. Use `macrop' instead.
5829 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5830 (ad-macro-p):
5831 * eshell/esh-cmd.el (eshell-macrop):
5832 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5833
5834 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5837 (advice-mapc): New function, using it.
5838 (advice-function-member-p): New function.
5839 (advice--normalize): Store the cdr in advice--saved-rewrite since
5840 that's the part that will be changed.
5841 (advice--symbol-function): New function.
5842 (advice-remove): Handle removal before the function is defined.
5843 Adjust to new advice--saved-rewrite.
5844 (advice-member-p): Use advice-function-member-p and
5845 advice--symbol-function.
5846
5847 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5848
5849 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5850 (frameset-filter-minibuffer): Doc fix.
5851 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5852 (frameset--set-id, frameset--process-minibuffer-frames)
5853 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5854 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5855
5856 * desktop.el (desktop-clear): Only delete frames when called
5857 interactively and desktop-restore-frames is non-nil. Doc fix.
5858 (desktop-read): Set desktop-saved-frameset to nil.
5859
5860 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5861
5862 * vc/vc.el (vc-ignore): Rewrite.
5863 (vc-default-ignore-completion-table):
5864 (vc--read-lines):
5865 (vc--add-line, vc--remove-regexp): New functions.
5866
5867 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5868 (vc-svn-ignore-completion-table): New function.
5869
5870 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5871 (vc-hg-ignore-completion-table):
5872 (vc-hg-find-ignore-file): New functions.
5873
5874 * vc/vc-git.el (vc-git-ignore): Rewrite.
5875 (vc-git-ignore-completion-table):
5876 (vc-git-find-ignore-file): New functions.
5877
5878 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5879
5880 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5881 (vc-bzr-ignore-completion-table):
5882 (vc-bzr-find-ignore-file): New functions.
5883
5884 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5885
5886 * frameset.el (frameset-prop): New function and setter.
5887 (frameset-save): Do not modify frame list passed by the caller.
5888
5889 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5892
5893 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5896 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5897
5898 * custom.el (custom-initialize-default, custom-initialize-set)
5899 (custom-initialize-reset, custom-initialize-changed): Affect the
5900 toplevel-default-value (bug#6275, bug#14586).
5901 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5902 for bug#6275.
5903
5904 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5905
5906 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5907 Add cl-def* expressions.
5908
5909 * frameset.el (frameset-filter-params): Fix order of arguments.
5910
5911 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5912
5913 Move code related to saving frames to frameset.el.
5914 * desktop.el: Require frameset.
5915 (desktop-restore-frames): Doc fix.
5916 (desktop-restore-reuses-frames): Rename from
5917 desktop-restoring-reuses-frames.
5918 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5919 (desktop-clear): Clear frames too.
5920 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5921 (desktop--filter-tty*, desktop-save, desktop-read):
5922 Use frameset functions.
5923 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5924 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5925 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5926 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5927 (desktop--process-minibuffer-frames, desktop-save-frames)
5928 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5929 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5930 (desktop--sort-states, desktop-restoring-frames-p)
5931 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5932 (desktop-restoring-frameset-p, desktop-restore-frameset)
5933 (desktop--check-dont-save, desktop-save-frameset): New functions.
5934 (desktop--app-id): New constant.
5935 (desktop-first-buffer, desktop-buffer-ok-count)
5936 (desktop-buffer-fail-count): Move before first use.
5937 * frameset.el: New file.
5938
5939 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * files.el: Use lexical-binding.
5942 (dir-locals-read-from-file): Remove unused `err' variable.
5943 (hack-dir-local-variables--warned-coding): New var.
5944 (hack-dir-local-variables): Use it to avoid repeated warnings.
5945 (make-backup-file-name--default-function): New function.
5946 (make-backup-file-name-function): Use it as default.
5947 (buffer-stale--default-function): New function.
5948 (buffer-stale-function): Use it as default.
5949 (revert-buffer-insert-file-contents--default-function): New function.
5950 (revert-buffer-insert-file-contents-function): Use it as default.
5951 (insert-directory): Avoid add-to-list.
5952
5953 * autorevert.el (auto-revert-handler): Simplify.
5954 Use buffer-stale--default-function.
5955
5956 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5957
5958 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5959
5960 * whitespace.el (whitespace-ensure-local-variables): New function.
5961 (whitespace-cleanup-region): Call it.
5962 (whitespace-turn-on): Call it.
5963
5964 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5965
5966 Complete file name handlers.
5967
5968 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5969 (tramp-handle-verify-visited-file-modtime)
5970 (tramp-handle-file-notify-rm-watch): New functions.
5971 (tramp-call-process): Do not bind `default-directory'.
5972
5973 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5974 Order alphabetically.
5975 [access-file, add-name-to-file, dired-call-process]:
5976 [dired-compress-file, file-acl, file-notify-rm-watch]:
5977 [file-ownership-preserved-p, file-selinux-context]:
5978 [make-directory-internal, make-symbolic-link, set-file-acl]:
5979 [set-file-selinux-context, set-visited-file-modtime]:
5980 [verify-visited-file-modtime]: Add handler.
5981 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5982
5983 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5984 [file-notify-add-watch, file-notify-rm-watch]:
5985 [set-file-times, set-visited-file-modtime]:
5986 [verify-visited-file-modtime]: Add handler.
5987 (with-tramp-gvfs-error-message)
5988 (tramp-gvfs-handle-set-visited-file-modtime)
5989 (tramp-gvfs-fuse-file-name): Remove.
5990 (tramp-gvfs-handle-file-notify-add-watch)
5991 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5992 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5993
5994 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5995 Order alphabetically.
5996 [file-notify-rm-watch ]: Use default Tramp handler.
5997 [executable-find]: Remove private handler.
5998 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5999 `default-directory'.
6000 (tramp-sh-handle-executable-find)
6001 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6002 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6003 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6004 Do not use `format' in `tramp-message'.
6005
6006 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6007 [file-notify-rm-watch, set-visited-file-modtime]:
6008 [verify-visited-file-modtime]: Add handler.
6009 (tramp-smb-call-winexe): Do not bind `default-directory'.
6010
6011 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6012
6013 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6014
6015 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6016
6017 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6018 use it.
6019 (log-view-diff-changeset): Same.
6020 (log-view-diff-common): Call backend command `previous-revision'
6021 to find out the previous revision, in both cases. Swap the
6022 variables `to' and `fr', so that `fr' usually refers to the
6023 earlier revision (Bug#14989).
6024
6025 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6026
6027 * ibuf-ext.el (ibuffer-filter-by-filename):
6028 Make it work with dired buffers too.
6029
6030 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6031
6032 * emacs-lisp/re-builder.el (reb-color-display-p):
6033 * files.el (save-buffers-kill-terminal):
6034 * net/browse-url.el (browse-url):
6035 * server.el (server-save-buffers-kill-terminal):
6036 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6037 Prefer nil to selected-frame for the first arg of frame-parameter.
6038
6039 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6040
6041 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6042
6043 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6044
6045 * minibuffer.el (completion--twq-all): Try and preserve each
6046 completion's case choice (bug#14907).
6047
6048 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6049
6050 * net/network-stream.el (open-network-stream): Mention the new
6051 :nogreeting parameter.
6052 (network-stream-open-starttls): Use the :nogreeting parameter
6053 (bug#14938).
6054
6055 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6056
6057 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6058 more natural than popping.
6059
6060 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6061 (shr-urlify): Highlight under mouse.
6062
6063 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6064
6065 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6066
6067 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6068
6069 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6070 buffer for output.
6071
6072 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6073 point-min==1. Fix search string. Fix parentheses missing.
6074
6075 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6076 assume point-min==1. Fix search string. Fix parentheses missing.
6077
6078 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6079
6080 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6081 buffer for output.
6082
6083 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6084
6085 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6086 initial frame is minibuffer-less. (Bug#14841)
6087
6088 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6089
6090 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6091 option.
6092
6093 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6094 (tramp-maybe-open-connection): Use it.
6095
6096 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6097
6098 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6099 minimal set of parameters passed when creating a frame, because
6100 the minibuffer status of a frame cannot be changed later.
6101
6102 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6103
6104 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6105 replace-regexp-in-string and inadvertent omissions in previous change.
6106 (todo-filter-items): Ensure only file names are comma-separated in
6107 name of filtered items buffer.
6108
6109 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * desktop.el: Optionally force offscreen frames back onscreen.
6112 (desktop-restoring-reuses-frames): New option.
6113 (desktop--compute-pos, desktop--move-onscreen): New functions.
6114 (desktop--make-frame): Use desktop--move-onscreen.
6115
6116 2013-07-27 Alan Mackenzie <acm@muc.de>
6117
6118 Fontify a Java generic method as a function.
6119 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6120 value to t.
6121
6122 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6123
6124 * calendar/todo-mode.el: Add command to rename todo files.
6125 (todo-rename-file): New command.
6126 (todo-key-bindings-t): Add key binding for it. Change the
6127 bindings of todo-filter-regexp-items(-multifile) to use `x'
6128 instead of `r', since the latter is better suited to the new
6129 renaming command.
6130
6131 2013-07-27 Alan Mackenzie <acm@muc.de>
6132
6133 Make Java try-with-resources statement parse properly.
6134 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6135 (c-block-stmt-1-2-key): New language constants/variables.
6136 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6137 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6138 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6139 with c-block-stmt-1-2-key.
6140
6141 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6142
6143 * desktop.el (desktop--make-frame): Apply most frame parameters after
6144 creating the frame to force (partially or totally) offscreen frames to
6145 be restored as such.
6146
6147 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6148
6149 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6150 (Bug#14948)
6151
6152 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6155 `base' arg of backtrace-frame.
6156
6157 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6158
6159 * simple.el (list-processes): Doc fix.
6160
6161 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6162
6163 * desktop.el (desktop--select-frame):
6164 Try harder to reuse existing frames.
6165
6166 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6169 (edebug-eval): Use backtrace-eval.
6170 (edebug--display, edebug--recursive-edit): Don't let-bind the
6171 edebug-outer-* vars that keep track of variables we locally let-bind.
6172 (edebug-outside-excursion): Don't restore outside values of locally
6173 let-bound vars.
6174 (edebug--display): Use user-error.
6175 (cl-lexical-debug, cl-debug-env): Remove.
6176
6177 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6178
6179 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6180 are restored to be sure that they are visible before deleting any
6181 remaining ones.
6182
6183 2013-07-26 Matthias Meulien <orontee@gmail.com>
6184
6185 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6186 vc-print-root-log. (Bug#14948)
6187
6188 2013-07-26 Richard Stallman <rms@gnu.org>
6189
6190 Add aliases for encrypting mail.
6191 * epa.el (epa-mail-aliases): New option.
6192 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6193 Bind inhibit-read-only so read-only text doesn't ruin everything.
6194 (epa-mail-default-recipients): New subroutine broken out.
6195 Handle epa-mail-aliases.
6196
6197 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 Add support for lexical variables to the debugger's `e' command.
6200 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6201 vars, except for debugger-outer-match-data.
6202 (debugger-frame-number): Move check for "on a function call" from
6203 callers into it. Add `skip-base' argument.
6204 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6205 (debugger-env-macro): Only reset the state stored in non-variables,
6206 i.e. current-buffer and match-data.
6207 (debugger-eval-expression): Rewrite using backtrace-eval.
6208 * subr.el (internal--called-interactively-p--get-frame): Remove.
6209 (called-interactively-p):
6210 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6211 `base' arg of backtrace-frame instead.
6212
6213 2013-07-26 Glenn Morris <rgm@gnu.org>
6214
6215 * align.el (align-regexp): Doc fix. (Bug#14857)
6216 (align-region): Explicit error if subexpression missing/does not match.
6217
6218 * simple.el (global-visual-line-mode):
6219 Do not duplicate the mode lighter. (Bug#14858)
6220
6221 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6222
6223 * window.el (display-buffer): In display-buffer bind
6224 split-window-keep-point to t, bug#14829.
6225
6226 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6229 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6230 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6231 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6232 Change accordingly.
6233 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6234 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6235
6236 2013-07-25 Glenn Morris <rgm@gnu.org>
6237
6238 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6239
6240 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6241
6242 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6243 parameter to modify-frame-parameters if the value has not changed;
6244 this is a workaround for bug#14949.
6245 (desktop--make-frame): On cl-delete-if call, check parameter name,
6246 not full parameter.
6247
6248 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6249
6250 * vc/vc.el (vc-ignore): New function.
6251
6252 * vc/vc-svn.el (vc-svn-ignore): New function.
6253
6254 * vc/vc-hg.el (vc-hg-ignore): New function.
6255
6256 * vc/vc-git.el (vc-git-ignore): New function.
6257
6258 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6259 (vc-dir-ignore): New function.
6260
6261 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6262 (cvs-append-to-ignore): Move here from pcvs.el.
6263
6264 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6265
6266 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6267
6268 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6269
6270 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6271 (desktop-restore-frames): Warn when deleting an existing frame failed.
6272
6273 2013-07-24 Glenn Morris <rgm@gnu.org>
6274
6275 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6276
6277 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6278
6279 * filenotify.el (file-notify-supported-p):
6280 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6281 Remove functions.
6282
6283 * autorevert.el (auto-revert-use-notify):
6284 (auto-revert-notify-add-watch):
6285 * net/tramp.el (tramp-file-name-for-operation):
6286 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6288 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6289 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6290 Remove `file-notify-supported-p' entry.
6291
6292 2013-07-24 Glenn Morris <rgm@gnu.org>
6293
6294 * printing.el: Replace all uses of deleted ps-windows-system,
6295 ps-lp-system, ps-flatten-list with lpr- versions.
6296
6297 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6300 checked with memq (bug#14935).
6301
6302 * files.el (revert-buffer-function): Use a non-nil default.
6303 (revert-buffer-preserve-modes): Declare var to
6304 provide access to the `preserve-modes' argument.
6305 (revert-buffer): Let-bind it.
6306 (revert-buffer--default): New function, extracted from revert-buffer.
6307
6308 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * lpr.el: Signal print errors more prominently.
6311 (print-region-function): Don't default to nil.
6312 (lpr-print-region): New function, extracted from print-region-1.
6313 Check lpr's return value and signal an error in case of problem.
6314 (print-region-1): Use it.
6315 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6316 versions instead.
6317 (ps-printer-name): Default to nil.
6318 (ps-printer-name-option): Default to lpr-printer-switch.
6319 (ps-print-region-function): Don't default to nil.
6320 (ps-postscript-code-directory): Simplify default.
6321 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6322 (ps-string-list, ps-eval-switch, ps-flatten-list)
6323 (ps-flatten-list-1): Remove.
6324 (ps-multibyte-buffer): Avoid setq.
6325 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6326 (print-region-function, ps-print-region-function): Don't set them here.
6327
6328 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6329
6330 * ido.el (ido-fractionp):
6331 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6332 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6333 (ido-max-directory-size, ido-max-dir-file-cache)
6334 (ido-decorations): Doc fix.
6335
6336 * ansi-color.el: Fix old URL.
6337
6338 2013-07-23 Michael R. Mauger <michael@mauger.com>
6339
6340 * progmodes/sql.el: Version 3.3
6341 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6342 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6343 (sql-interactive-remove-continuation-prompt): Rewrite, use
6344 functions above. Fix continuation prompt and complete output line
6345 handling.
6346 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6347 redirected output buffer.
6348 (sql-mode): Restore deleted code (Bug#13591).
6349
6350 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6351
6352 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6353
6354 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6355
6356 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6357
6358 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6359 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6360 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6361
6362 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6363
6364 * desktop.el (desktop-clear): Simplify; remove useless checks
6365 against invalid buffer names.
6366 (desktop-list*): Use cl-list*.
6367 (desktop-buffer-info, desktop-create-buffer): Simplify.
6368
6369 2013-07-23 Leo Liu <sdl.web@gmail.com>
6370
6371 * bookmark.el (bookmark-make-record): Restore NAME as a default
6372 value. (Bug#14933)
6373
6374 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6377 extracted from autoload--insert-text.
6378 (autoload--insert-text): Remove.
6379 (autoload--print-cookie-text): New function, extracted from
6380 autoload--insert-cookie-text.
6381 (autoload--insert-cookie-text): Remove.
6382 (autoload-generate-file-autoloads): Adjust calls accordingly.
6383
6384 * winner.el (winner-hook-installed-p): Remove.
6385 (winner-mode): Simplify accordingly.
6386
6387 * subr.el (add-to-list): Fix compiler-macro when `append' is
6388 not constant. Don't use `cl-member' for the base case.
6389
6390 * progmodes/subword.el: Fix boundary case (bug#13758).
6391 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6392 own group.
6393 (subword-backward-regexp): Make it a constant.
6394 (subword-forward-internal): Don't treat a trailing capital as the
6395 beginning of a word.
6396
6397 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6398
6399 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6400 global value of tabulated-list-revert-hook (bug#14930).
6401
6402 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6403
6404 * desktop.el: Require 'cl-lib.
6405 (desktop-before-saving-frames-functions): New hook.
6406 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6407 for frames being saved. Rename from desktop--save-minibuffer-frames.
6408 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6409 Do not save frames with non-nil `desktop-dont-save' parameter.
6410 Filter out deleted frames.
6411 (desktop--find-frame): Use cl-find-if.
6412 (desktop--select-frame): Use cl-(first|second|third) to access values
6413 of desktop-mini.
6414 (desktop--make-frame): Use cl-delete-if.
6415 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6416 (desktop-restore-frames): Use cl-(first|second|third) to access values
6417 of desktop-mini. Look for visible frame at the end, not while
6418 restoring frames.
6419
6420 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6421 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6422 Use string-match-p, looking-at-p (bug#14927).
6423
6424 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6425
6426 * desktop.el (desktop-saved-frame-states):
6427 Rename from desktop--saved-states; all users changed.
6428 (desktop-save-frames): Rename from desktop--save-frames.
6429 Do not save state to desktop file.
6430 (desktop-save): Save desktop-saved-frame-states to desktop file
6431 and reset to nil.
6432 (desktop-restoring-frames-p): New function.
6433 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6434 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6435 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6436
6437 * desktop.el: Correctly restore iconified frames.
6438 (desktop--filter-iconified-position): New function.
6439 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6440
6441 2013-07-20 Glenn Morris <rgm@gnu.org>
6442
6443 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6444 Let `message' do the formatting.
6445 (def-gdb-preempt-display-buffer): Add explicit format.
6446
6447 * image-dired.el (image-dired-track-original-file):
6448 Use with-current-buffer.
6449 (image-dired-track-thumbnail): Use with-current-buffer.
6450 Avoid changing point of wrong window.
6451
6452 * image-dired.el (image-dired-track-original-file):
6453 Avoid changing point of wrong window. (Bug#14909)
6454
6455 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6456
6457 * progmodes/gdb-mi.el (gdb-done-or-error):
6458 Guard against "%" in gdb output. (Bug#14127)
6459
6460 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6461
6462 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6463 (Bug#14826)
6464
6465 * international/mule.el (coding-system-iso-2022-flags): Fix last
6466 change.
6467
6468 2013-07-20 Kenichi Handa <handa@gnu.org>
6469
6470 * international/mule.el (coding-system-iso-2022-flags):
6471 Add `8-bit-level-4'. (Bug#8522)
6472
6473 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6474
6475 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6476 (bug#14815).
6477
6478 * net/eww.el (eww-process-text-input): Allow inputting when the
6479 point is at the start of the line, as the properties aren't
6480 front-sticky.
6481
6482 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6483 degenerate widths.
6484
6485 2013-07-19 Richard Stallman <rms@gnu.org>
6486
6487 * epa.el (epa-popup-info-window): Doc fix.
6488
6489 * subr.el (split-string): New arg TRIM.
6490
6491 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6492
6493 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6494 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6495
6496 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6497
6498 * filenotify.el (file-notify--library): Rename from
6499 `file-notify-support'. Do not autoload. Adapt all uses.
6500 (file-notify-supported-p): New defun.
6501
6502 * autorevert.el (auto-revert-use-notify):
6503 Use `file-notify-supported-p' instead of `file-notify-support'.
6504 Adapt docstring.
6505 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6506
6507 * net/tramp.el (tramp-file-name-for-operation):
6508 Add `file-notify-supported-p'.
6509
6510 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6511 New defun.
6512 (tramp-sh-file-name-handler-alist): Add it as handler for
6513 `file-notify-supported-p '.
6514
6515 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6516 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6517 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6518 Add `ignore' as handler for `file-notify-*' functions.
6519
6520 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6521
6522 * simple.el (line-move-partial, line-move): Don't start vscroll or
6523 scroll-up if the current line is not taller than the window.
6524 (Bug#14881)
6525
6526 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6527
6528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6529 highlight question marks in the method names as strings.
6530 (ruby-block-beg-keywords): Inline.
6531 (ruby-font-lock-keyword-beg-re): Extract from
6532 `ruby-font-lock-keywords'.
6533
6534 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6535
6536 * frame.el (blink-cursor-blinks): New defcustom.
6537 (blink-cursor-blinks-done): New defvar.
6538 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6539 (blink-cursor-timer-function): Check if number of blinks has been
6540 done on X and NS.
6541 (blink-cursor-suspend, blink-cursor-check): New defuns.
6542
6543 2013-07-15 Glenn Morris <rgm@gnu.org>
6544
6545 * edmacro.el (edmacro-format-keys): Fix previous change.
6546
6547 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6548
6549 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6550 The hack didn't work outside English locales anyway.
6551
6552 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6553
6554 * simple.el (define-alternatives): Rename from alternatives-define,
6555 per RMS' suggestion.
6556
6557 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6558
6559 * desktop.el (desktop-restore-frames): Change default to t.
6560 (desktop-restore-in-current-display): Now offer more options.
6561 (desktop-restoring-reuses-frames): New customization option.
6562 (desktop--saved-states): Doc fix.
6563 (desktop-filter-parameters-alist): New variable, renamed and expanded
6564 from desktop--excluded-frame-parameters.
6565 (desktop--target-display): New variable.
6566 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6567 (desktop--filter-tty*, desktop--filter-*-color)
6568 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6569 (desktop--filter-save-desktop-parm)
6570 (desktop-restore-in-original-display-p): New functions.
6571 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6572 (desktop--save-minibuffer-frames): New function, inspired by a similar
6573 function from Martin Rudalics.
6574 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6575 (desktop--restore-in-this-display-p): Remove.
6576 (desktop--find-frame): Rename from desktop--find-frame-in-display
6577 and add predicate argument.
6578 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6579 (desktop--reuse-list): New variable.
6580 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6581 New functions.
6582 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6583
6584 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6585
6586 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6587
6588 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6589
6590 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6591 Highlight conversion methods on Kernel.
6592
6593 2013-07-13 Alan Mackenzie <acm@muc.de>
6594
6595 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6596 and comment it out. This out-commenting enables certain C++
6597 declarations to be parsed correctly.
6598
6599 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6600
6601 * international/mule.el (define-coding-system): Doc fix.
6602
6603 * simple.el (default-font-height): Don't call font-info if the
6604 frame's default font didn't change since the frame was created.
6605 (Bug#14838)
6606
6607 2013-07-13 Leo Liu <sdl.web@gmail.com>
6608
6609 * ido.el (ido-read-file-name): Guard against non-symbol value.
6610
6611 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6612
6613 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6614 in nested defuns.
6615
6616 2013-07-13 Leo Liu <sdl.web@gmail.com>
6617
6618 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6619 ido-set-matches call. (Bug#6852)
6620
6621 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6622
6623 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6624 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6625 Ruby 2.0.
6626 (ruby-font-lock-keywords): Distinguish calls to functions with
6627 module-like names from module references. Highlight character
6628 literals.
6629
6630 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6631
6632 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6633 (gdb-send): Handle continued commands. (Bug#14847)
6634
6635 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6636
6637 * desktop.el (desktop--v2s): Remove unused local variable.
6638 (desktop-save-buffer): Make defvar-local; adjust docstring.
6639 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6640 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6641
6642 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6643
6644 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6645
6646 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6647
6648 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6649 (Bug#14842)
6650
6651 2013-07-12 Glenn Morris <rgm@gnu.org>
6652
6653 * doc-view.el: Require cl-lib at runtime too.
6654 (doc-view-remove-if): Remove.
6655 (doc-view-search-next-match, doc-view-search-previous-match):
6656 Use cl-remove-if.
6657
6658 * edmacro.el: Require cl-lib at runtime too.
6659 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6660 (edmacro-mismatch, edmacro-subseq): Remove.
6661
6662 * shadowfile.el: Require cl-lib.
6663 (shadow-remove-if): Remove.
6664 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6665 Use cl-remove-if.
6666
6667 * wid-edit.el: Require cl-lib.
6668 (widget-choose): Use cl-remove-if.
6669 (widget-remove-if): Remove.
6670
6671 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6672 (ebrowse-delete-if-not): Remove.
6673 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6674 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6675 Use cl-delete-if-not.
6676
6677 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6678
6679 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6680 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6681
6682 2013-07-12 Leo Liu <sdl.web@gmail.com>
6683
6684 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6685
6686 2013-07-11 Glenn Morris <rgm@gnu.org>
6687
6688 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6689 (edebug-gensym-index, edebug-gensym):
6690 Remove reimplementation of cl-gensym.
6691 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6692
6693 * thumbs.el: Require cl-lib at run-time too.
6694 (thumbs-gensym-counter, thumbs-gensym):
6695 Remove reimplementation of cl-gensym.
6696 (thumbs-temp-file): Use cl-gensym.
6697
6698 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6699 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6700 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6701 (ert--union, ert--gensym-counter, ert--gensym-counter)
6702 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6703 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6704 (ert-make-test-unbound, ert--expand-should-1)
6705 (ert--expand-should, ert--should-error-handle-error)
6706 (should-error, ert--explain-equal-rec)
6707 (ert--plist-difference-explanation, ert-select-tests)
6708 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6709 Use cl-lib functions rather than reimplementations.
6710
6711 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6712
6713 * net/tramp.el (tramp-methods): Extend docstring.
6714 (tramp-connection-timeout): New defcustom.
6715 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6716 (with-tramp-progress-reporter): Simplify.
6717 (tramp-process-actions): Improve messages.
6718
6719 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6720 * net/tramp-sh.el (tramp-maybe-open-connection):
6721 Use `tramp-connection-timeout'.
6722 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6723 (Bug#14808)
6724
6725 2013-07-11 Leo Liu <sdl.web@gmail.com>
6726
6727 * ido.el (ido-read-file-name): Conform to the requirements of
6728 read-file-name. (Bug#11861)
6729 (ido-read-directory-name): Conform to the requirements of
6730 read-directory-name.
6731
6732 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6733
6734 * subr.el (delay-warning): New function.
6735
6736 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6737
6738 * simple.el (default-line-height): New function.
6739 (line-move-partial, line-move): Use it instead of computing the
6740 line height inline.
6741 (line-move-partial): Always compute ROWH. If the last line is
6742 partially-visible, but its text is completely visible, allow
6743 cursor to enter such a partially-visible line.
6744
6745 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6746
6747 Improve error messages. (Bug#14808)
6748
6749 * net/tramp.el (tramp-current-connection): New defvar, moved from
6750 tramp-sh.el.
6751 (tramp-message-show-progress-reporter-message): Remove, not
6752 needed anymore.
6753 (tramp-error-with-buffer): Show message in minibuffer.
6754 Discard input before waiting. Reset connection timestamp.
6755 (with-tramp-progress-reporter): Improve messages.
6756 (tramp-process-actions): Use progress reporter. Delete process in
6757 case of error. Improve messages.
6758
6759 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6760 Call `tramp-error-with-buffer' with vector and buffer.
6761 (tramp-current-connection): Remove.
6762 (tramp-maybe-open-connection): The car of
6763 `tramp-current-connection' are the first 3 slots of the vector.
6764
6765 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6766
6767 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6768 inside continued strings.
6769
6770 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6771
6772 Timestamp fixes for undo (Bug#14824).
6773 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6774
6775 2013-07-10 Leo Liu <sdl.web@gmail.com>
6776
6777 * files.el (require-final-newline): Allow safe local value.
6778 (Bug#14834)
6779
6780 2013-07-09 Leo Liu <sdl.web@gmail.com>
6781
6782 * ido.el (ido-read-directory-name): Handle fallback.
6783 (ido-read-file-name): Update DIR to ido-current-directory.
6784 (Bug#1516)
6785 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6786
6787 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6788
6789 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6790 "autoload". Remove "warn lower camel case" section, previously
6791 commented out. Highlight negation char. Do not highlight the
6792 target in singleton method definitions.
6793
6794 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * faces.el (tty-setup-hook): Declare the hook.
6797
6798 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6799 and detect when a guard/pred depends on local vars (bug#14773).
6800 (pcase--u1): Adjust caller.
6801
6802 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6803
6804 * simple.el (line-move-partial, line-move): Account for
6805 line-spacing.
6806 (line-move-partial): Avoid setting vscroll when the last
6807 partially-visible line in window is of default height.
6808
6809 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6810
6811 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6812 been used a while.
6813
6814 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6815
6816 * subr.el (read-quoted-char): Remove unused local variable `char'.
6817
6818 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6819
6820 * ediff.el (ediff-version): Version update.
6821 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6822 (ediff-merge-with-ancestor-command, ediff-directories-command)
6823 (ediff-directories3-command, ediff-merge-directories-command)
6824 (ediff-merge-directories-with-ancestor-command): New functions.
6825 All are command-line interfaces to ediff: to facilitate calling
6826 Emacs with the appropriate ediff functions invoked.
6827
6828 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6829 (viper-save-kill-buffer): Check if buffer is modified.
6830
6831 * viper.el (viper-version): Version update.
6832 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6833
6834 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6837 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6838 (viper-intercept-ESC-key): Simplify.
6839 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6840 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6841 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6842 (viper-setup-ESC-to-escape): New functions.
6843 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6844 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6845
6846 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6847
6848 * simple.el (default-font-height, window-screen-lines):
6849 New functions.
6850 (line-move, line-move-partial): Use them instead of
6851 frame-char-height and window-text-height. This makes scrolling
6852 text smoother when the buffer's default face uses a font that is
6853 different from the frame's default font.
6854
6855 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6856
6857 * files.el (write-file): Do not display confirm dialog for NS,
6858 it does its own dialog, which can't be cancelled (Bug#14578).
6859
6860 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6861
6862 * simple.el (line-move-partial): Adjust the row returned by
6863 posn-at-point for the current window-vscroll. (Bug#14567)
6864
6865 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6866
6867 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6868 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6869 spaces.
6870
6871 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6872
6873 * window.el (window-state-put-stale-windows): New variable.
6874 (window--state-put-2): Save list of windows without matching buffer.
6875 (window-state-put): Remove "bufferless" windows if possible.
6876
6877 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6878
6879 * simple.el (alternatives-define): Remove leftover :group keyword.
6880 Tweak docstring.
6881
6882 2013-07-06 Leo Liu <sdl.web@gmail.com>
6883
6884 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6885 (ido-enable-virtual-buffers): New variable.
6886 (ido-buffer-internal, ido-toggle-virtual-buffers)
6887 (ido-make-buffer-list): Use it.
6888 (ido-exhibit): Support turning on and off virtual buffers
6889 automatically.
6890
6891 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6892
6893 * simple.el (alternatives-define): New macro.
6894
6895 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * subr.el (read-quoted-char): Use read-key.
6898 (sit-for): Let read-event decode tty input (bug#14782).
6899
6900 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6901
6902 * calendar/todo-mode.el: Add handling of file deletion, both by
6903 mode command and externally. Fix various related bugs.
6904 Clarify Commentary and improve some documentation strings and code.
6905 (todo-delete-file): New command.
6906 (todo-check-file): New function.
6907 (todo-show): Handle external deletion of the file we're trying to
6908 show (bug#14688). Replace called-interactively-p by an optional
6909 prefix argument to avoid problematic interaction with catch form
6910 when byte compiled (bug#14702).
6911 (todo-quit): Handle external deletion of the archive's todo file.
6912 Make sure the buffer that was visiting the archive file is still
6913 live before trying to bury it.
6914 (todo-category-completions): Handle external deletion of any
6915 category completion files.
6916 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6917 of todo files, in case of external deletion.
6918 (todo-add-file): Replace unnecessary setq by let-binding.
6919 (todo-find-archive): Check whether there are any archives.
6920 Replace unnecessary setq by let-binding.
6921 (todo-archive-done-item): Use find-file-noselect to get the
6922 archive buffer whether or not the archive already exists.
6923 Remove superfluous code. Use file size instead of buffer-file-name to
6924 check if the archive is new; if it is, update list of archives.
6925 (todo-default-todo-file): Allow nil to be a valid value for when
6926 there are no todo files.
6927 (todo-reevaluate-default-file-defcustom): Use corrected definition
6928 of todo-default-todo-file.
6929 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6930 (todo-delete-category, todo-show-categories-table)
6931 (todo-category-number): Clarify comment.
6932 (todo-filter-items): Clarify documentation string.
6933 (todo-show-current-file, todo-display-as-todo-file)
6934 (todo-reset-and-enable-done-separator): Tweak documentation string.
6935 (todo-done-separator): Make separator length window-width, since
6936 bug#2749 is now fixed.
6937
6938 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6939
6940 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6941 Support both "gvfs-monitor-dir" and "inotifywait".
6942 (tramp-sh-file-inotifywait-process-filter): Rename from
6943 `tramp-sh-file-notify-process-filter'.
6944 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6945 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6946
6947 2013-07-05 Leo Liu <sdl.web@gmail.com>
6948
6949 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6950
6951 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6952
6953 * frame.el (display-pixel-height, display-pixel-width)
6954 (display-mm-height, display-mm-width): Mention behavior on
6955 multi-monitor setups in docstrings.
6956 (w32-display-monitor-attributes-list): Declare function.
6957 (display-monitor-attributes-list): Use it.
6958
6959 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6960
6961 * filenotify.el: New package.
6962
6963 * autorevert.el (top): Require filenotify.el.
6964 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6965 instead.
6966 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6967 (auto-revert-notify-handler): Use `file-notify-*' functions.
6968
6969 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6970
6971 * net/tramp.el (tramp-file-name-for-operation):
6972 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6973
6974 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6975 for `file-notify-add-watch' and `file-notify-rm-watch'.
6976 (tramp-process-sentinel): Improve trace.
6977 (tramp-sh-handle-file-notify-add-watch)
6978 (tramp-sh-file-notify-process-filter)
6979 (tramp-sh-handle-file-notify-rm-watch)
6980 (tramp-get-remote-inotifywait): New defuns.
6981
6982 2013-07-03 Juri Linkov <juri@jurta.org>
6983
6984 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6985 call of `occur-read-primary-args' to interactive spec.
6986
6987 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6988 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6989
6990 2013-07-03 Matthias Meulien <orontee@gmail.com>
6991
6992 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6993 `Buffer-menu-multi-occur'. Add it to the menu.
6994 (Buffer-menu-mode): Document it in docstring.
6995 (Buffer-menu-multi-occur): New command. (Bug#14673)
6996
6997 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6998
6999 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7000 keywords and built-ins.
7001
7002 2013-07-03 Glenn Morris <rgm@gnu.org>
7003
7004 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7005
7006 Make info-xref checks case-sensitive by default
7007 * info.el (Info-find-node, Info-find-in-tag-table)
7008 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7009 Add option for exact case matching of nodes.
7010 * info-xref.el (info-xref): New custom group.
7011 (info-xref-case-fold): New option.
7012 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7013
7014 2013-07-03 Leo Liu <sdl.web@gmail.com>
7015
7016 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7017
7018 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7019
7020 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7021 middle of block statement initially, lower the depth. Remove
7022 FIXME comment, not longer valid. Remove middle of block statement
7023 detection, no need to do that anymore since we've been using
7024 `ruby-parse-region' here.
7025
7026 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7027
7028 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7029
7030 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7031
7032 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7033
7034 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7035
7036 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7037 (desktop-restore-in-current-display): New customization option.
7038 (desktop--excluded-frame-parameters): Add `font'.
7039 (desktop--save-frames): Rename from desktop--save-windows.
7040 (desktop--restore-in-this-display-p): New function.
7041 (desktop--make-full-frame): Remove unwanted width/height from
7042 full(width|height) frames.
7043 (desktop--restore-frames): Rename from desktop--restore-windows.
7044 Obey desktop-restore-current-display. Do not delete old frames or
7045 select a new frame unless we were able to restore at least one frame.
7046
7047 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7048
7049 * files.el (find-file-noselect): Simplify conditional expression.
7050
7051 * remember.el (remember-append-to-file):
7052 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7053
7054 Add `remember-notes' function to store random notes across Emacs
7055 restarts.
7056 * remember.el (remember-data-file): Add :set callback to affect
7057 notes buffer (if any).
7058 (remember-notes): New command.
7059 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7060 New defcustoms for the `remember-notes' function.
7061 (remember-notes-save-and-bury-buffer): New command.
7062 (remember-notes-mode-map): New variable.
7063 (remember-mode): New minor mode.
7064 (remember-notes--kill-buffer-query): New function.
7065 * startup.el (initial-buffer-choice): Add notes to custom type.
7066
7067 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7068
7069 * bindings.el (right-char, left-char): Don't call sit-for, this is
7070 no longer needed. Use arithmetic comparison only for numerical
7071 arguments.
7072
7073 * international/mule-cmds.el (select-safe-coding-system):
7074 Handle the case of FROM being a string correctly. (Bug#14755)
7075
7076 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7077
7078 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7079 progression on degenerate tables.
7080 (shr-rescale-image): ImageMagick animated images currently don't work.
7081
7082 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7083
7084 Some fixes and improvements for desktop frame restoration.
7085 It is still experimental and disabled by default.
7086 * desktop.el (desktop--save-windows): Put the selected frame at
7087 the head of the list.
7088 (desktop--make-full-frame): New function.
7089 (desktop--restore-windows): Try to re-select the frame that was
7090 selected upon saving. Do not abort if some frames fail to restore,
7091 just show an error message and continue. Set up maximized frames
7092 so they have default non-maximized dimensions.
7093
7094 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7095
7096 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7097 Don't start heredoc inside a string or comment.
7098
7099 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7100
7101 * bindings.el (visual-order-cursor-movement): New defcustom.
7102 (right-char, left-char): Provide visual-order cursor motion by
7103 calling move-point-visually. Update the doc strings.
7104
7105 2013-06-28 Kenichi Handa <handa@gnu.org>
7106
7107 * international/mule.el (define-coding-system): New coding system
7108 properties :inhibit-null-byte-detection,
7109 :inhibit-iso-escape-detection, and :prefer-utf-8.
7110 (set-buffer-file-coding-system): If :charset-list property of
7111 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7112 appropriate for setting.
7113
7114 * international/mule-cmds.el (select-safe-coding-system):
7115 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7116 multibyte characters, return utf-8 (or one of its siblings).
7117
7118 * international/mule-conf.el (prefer-utf-8): New coding system.
7119 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7120 files.
7121
7122 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7123
7124 * net/shr.el (shr-render-region): New function.
7125
7126 * net/eww.el: Autoload `eww-browse-url'.
7127
7128 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7129
7130 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7131 Adapt to `package-desc-version' being a list.
7132 Use `package--ac-desc-version' to retrieve version from a package
7133 archive element.
7134
7135 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7136
7137 New experimental feature to save&restore window and frame setup.
7138 * desktop.el (desktop-save-windows): New defcustom.
7139 (desktop--saved-states): New var.
7140 (desktop--excluded-frame-parameters): New defconst.
7141 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7142 (desktop--restore-windows, desktop--save-windows): New functions.
7143 (desktop-save): Call `desktop--save-windows'.
7144 (desktop-read): Call `desktop--restore-windows'.
7145
7146 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7147
7148 * net/shr.el (add-face-text-property): Remove compat definition.
7149
7150 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7151
7152 * info.el (Info-try-follow-nearest-node): Move search for footnote
7153 above search for node name to prevent missing a footnote (bug#14717).
7154
7155 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7156
7157 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7158
7159 2013-06-27 Leo Liu <sdl.web@gmail.com>
7160
7161 * net/eww.el (eww-read-bookmarks): Check file size.
7162
7163 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7166 advice--pending if newdef is nil or an autoload (bug#13820).
7167 (advice-mapc): New function.
7168
7169 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7170
7171 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7172 probably.
7173 (eww-mode-map): Add a menu bar.
7174 (eww-add-bookmark): New command.
7175 (eww-bookmark-mode): New mode and commands.
7176 (eww-add-bookmark): Remove newlines from the title.
7177 (eww-bookmark-browse): Don't bug out if it's the only window.
7178
7179 2013-06-26 Glenn Morris <rgm@gnu.org>
7180
7181 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7182 (hfy-size): Handle ttys. (Bug#14668)
7183
7184 * info-xref.el: Update for Texinfo 5 change in *note format.
7185 (info-xref-node-re, info-xref-note-re): New constants.
7186 (info-xref-check-buffer): Use info-xref-note-re.
7187
7188 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7191
7192 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7193 nil terminate the loop (bug#14718).
7194
7195 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7196
7197 * net/eww.el: Rework history traversal. When going forward/back,
7198 put these actions into the history, too, so that they can be
7199 replayed.
7200 (eww-render): Move the history reset to the correct buffer.
7201
7202 2013-06-25 Juri Linkov <juri@jurta.org>
7203
7204 * files-x.el (modify-dir-local-variable): Change the header comment
7205 in the file with directory local variables. (Bug#14692)
7206
7207 * files-x.el (read-file-local-variable-value): Add `default'.
7208 (Bug#14710)
7209
7210 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7211
7212 * net/eww.el (eww-make-unique-file-name): Create a unique file
7213 name before saving to entering `y' accidentally asynchronously.
7214
7215 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7216
7217 * net/eww.el (eww-download): New command and keystroke.
7218
7219 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7220
7221 * net/eww.el (eww-copy-page-url): Change name of command.
7222
7223 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7224 be more consistent with Info and dired.
7225
7226 * net/eww.el (eww-mode-map): Ditto.
7227
7228 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7231 packages from archives.
7232 (package-archive-contents): Change format; include obsolete packages.
7233 (package-desc): Use `dir' to mark builtin packages.
7234 (package--from-builtin): Set the `dir' field to `builtin'.
7235 (generated-autoload-file, version-control): Declare.
7236 (package-compute-transaction): Change first arg and return value to be
7237 lists of package-descs. Adjust to new package-archive-contents format.
7238 (package--add-to-archive-contents): Adjust to new
7239 package-archive-contents format.
7240 (package-download-transaction): Arg is now a list of package-descs.
7241 (package-install): If `pkg' is a package name, pass it as
7242 a requirement, so it is subject to the usual (e.g. disabled) checks.
7243 (describe-package): Accept package-desc as well.
7244 (describe-package-1): Describe a specific package-desc. Add links to
7245 other package-descs for the same package name.
7246 (package-menu-describe-package): Pass the actual package-desc.
7247 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7248 works correctly.
7249 (package-desc-status): New function.
7250 (package-menu--refresh): New function, extracted
7251 from package-menu--generate.
7252 (package-menu--generate): Use it.
7253 (package-delete): Update package-alist.
7254 (package-menu-execute): Don't call package-initialize.
7255
7256 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7257 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7258 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7259 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7260 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7261 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7262
7263 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7264
7265 * window.el (window--state-get-1): Workaround for bug#14527.
7266 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7267
7268 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7269
7270 * net/eww.el (eww-back-url): Implement the history by stashing all
7271 the data into a list.
7272 (eww-forward-url): Allow going forward in the history, too.
7273
7274 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7277 for values and use read--expression for expressions (bug#14710).
7278 (read-file-local-variable): Avoid setq.
7279 (read-file-local-variable-mode): Use minor-mode-list.
7280
7281 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7282
7283 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7284 for DOI URLs.
7285
7286 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7287
7288 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7289 Update imenu-support when dialect changes.
7290
7291 2013-06-25 Leo Liu <sdl.web@gmail.com>
7292
7293 * ido.el (ido-read-internal): Allow forward slash on windows.
7294
7295 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7296
7297 * net/eww.el (eww): Start of strings is \\`, not ^.
7298
7299 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7300
7301 * net/shr.el (shr-browse-url): Fix interactive spec.
7302
7303 * net/eww.el (eww): Add a trailing slash to domain names.
7304
7305 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7306
7307 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7308
7309 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7310
7311 * net/shr.el (shr-browse-url): Use an external browser if given a
7312 prefix.
7313
7314 * net/eww.el (eww-external-browser): Move to shr.
7315
7316 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7317
7318 * net/eww.el (eww): Work more correctly for file: URLs.
7319 (eww-detect-charset): Allow quoted charsets.
7320 (eww-yank-page-url): New command and keystroke.
7321
7322 2013-06-24 Daiki Ueno <ueno@gnu.org>
7323
7324 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7325 file name of gpg executable.
7326 (epg-context-program): New function.
7327 (epg-context-home-directory): New function.
7328 (epg-context-set-program): New function.
7329 (epg-context-set-home-directory): New function.
7330 (epg--start): Use `epg-context-program' instead of
7331 'epg-gpg-program'.
7332 (epg--list-keys-1): Likewise.
7333
7334 2013-06-24 Leo Liu <sdl.web@gmail.com>
7335
7336 * ido.el (ido-read-internal): Fix bug#14620.
7337
7338 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7339
7340 * faces.el (face-documentation): Simplify.
7341 (read-face-attribute, tty-find-type, x-resolve-font-name):
7342 Use `string-match-p'.
7343 (list-faces-display): Use `string-match-p'. Simplify.
7344 (face-spec-recalc): Check face to avoid face alias loops.
7345 (read-color): Use `string-match-p' and non-capturing parenthesis.
7346
7347 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7348
7349 * net/shr.el (shr-rescale-image): Use the new
7350 :max-width/:max-height functionality.
7351
7352 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7353
7354 * net/eww.el (eww-search-prefix): New variable.
7355 (eww): Use it.
7356 (eww-external-browser): New variable.
7357 (eww-mode-map): New keystroke.
7358 (eww-browse-with-external-browser): New command.
7359
7360 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7361
7362 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7363
7364 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7365 Don't skip aligning the next header field when padding is 0;
7366 otherwise, field width is not respected unless the title is as
7367 wide as the field.
7368
7369 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * emacs-lisp/package.el (package-el-version): Remove.
7372 (package-process-define-package): Fix inf-loop.
7373 (package-install): Allow symbols as arguments again.
7374
7375 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7376
7377 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7378 add some more keyword-like methods.
7379 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7380
7381 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7382
7383 * bs.el (bs-buffer-show-mark): Make defvar-local.
7384 (bs-mode): Use setq-local.
7385
7386 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7387 (emacs-lock--try-unlocking): Make defvar-local.
7388
7389 2013-06-22 Glenn Morris <rgm@gnu.org>
7390
7391 * play/cookie1.el (cookie-apropos): Minor simplification.
7392
7393 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7394
7395 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7396
7397 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7398 `regexp-opt', it breaks the build during dumping.
7399
7400 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7401
7402 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7403 Highlight keyword-like methods on Kernel and Module with
7404 font-lock-builtin-face.
7405 (auto-mode-alist): Consolidate different entries into one regexp
7406 and add more *file-s.
7407
7408 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7409
7410 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7411
7412 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7413 (diary-entry): Use it in the action of this button type instead of
7414 diary-goto-entry.
7415
7416 * calendar/todo-mode.el: New version.
7417 (todo-add-category): Append new category to end of file and give
7418 it the highest number, instead of putting it at the beginning and
7419 giving it 0. Incorporate noninteractive functionality.
7420 (todo-forward-category): Adapt to 1-based category numbering.
7421 Allow skipping over archived categories.
7422 (todo-backward-category): Derive from todo-forward-category.
7423 (todo-backward-item, todo-forward-item): Make noninteractive and
7424 delegate interactive part to new commands. Make sensitive to done items.
7425 (todo-categories): Make value an alist of category names and
7426 vectors of item counts.
7427 (todo-category-beg): Make a defconst.
7428 (todo-category-number): Use 1 instead of 0 as initial value.
7429 (todo-category-select): Make sensitive to overlays, optional item
7430 highlighting and done items.
7431 (todo-delete-item): Make sensitive to overlays and marked and done items.
7432 (todo-edit-item): Make sensitive to overlays and editing of
7433 date/time header optional. Add format checks.
7434 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7435 no-op if point is not on an item. Advertise using todo-edit-quit.
7436 (todo-edit-mode): Make sensitive to new format, font-locking, and
7437 multiple todo files.
7438 (todo-insert-item, todo-insert-item-here): Derive from
7439 todo-basic-insert-item and extend functionality.
7440 (todo-item-end, todo-item-start): Make sensitive to done items.
7441 (todo-item-string): Don't return text properties. Restore point.
7442 (todo-jump-to-category): Make sensitive to multiple todo files and
7443 todo archives. Use extended category completion.
7444 (todo-lower-item, todo-raise-item): Rename to *-priority and
7445 derive from todo-set-item-priority.
7446 (todo-mode): Derive from special-mode. Make sensitive to new
7447 format, font-locking and multiple todo files. Make read-only.
7448 (todo-mode-map): Don't suppress digit keys, so they can supply
7449 prefix arguments. Add many new key bindings.
7450 (todo-prefix): Insert as an overlay instead of file text.
7451 Change semantics from diary date expression to purely visual mark.
7452 (todo-print): Rename to todo-print-buffer. Make buffer display
7453 features printable. Remove option to restrict number of items
7454 printed. Add option to print to file.
7455 (todo-print-function): Rename to todo-print-buffer-function.
7456 (todo-quit): Extend to handle exiting new todo modes.
7457 (todo-remove-item): Make sensitive to overlays.
7458 (todo-save): Extend to buffers of filtered items.
7459 (todo-show): Make sensitive to done items, multiple todo files and
7460 new todo modes. Offer to convert legacy todo file before creating
7461 first new todo file.
7462 (todo-show-priorities): Rename to todo-top-priorities.
7463 Change semantics of value 0.
7464 (todo-top-priorities): Rename to todo-filter-top-priorities,
7465 derive from todo-filter-items and extend functionality.
7466 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7467 and extend functionality to other types of filtered items.
7468 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7469 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7470 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7471 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7472 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7473 (todo-edit-mode-hook, todo-entry-prefix-function)
7474 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7475 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7476 (todo-initials, todo-insert-threshold, todo-item-string-start)
7477 (todo-line-string, todo-menu, todo-mode-hook)
7478 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7479 (todo-print-priorities, todo-remove-separator)
7480 (todo-save-top-priorities-too, todo-string-count-lines)
7481 (todo-string-multiline-p, todo-time-string-format)
7482 (todo-tmp-buffer-name): Remove.
7483 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7484 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7485 (todo-edit-category-diary-inclusion)
7486 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7487 (todo-edit-file, todo-edit-item-date-day)
7488 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7489 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7490 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7491 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7492 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7493 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7494 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7495 (todo-filter-top-priorities-multifile, todo-find-archive)
7496 (todo-find-filtered-items-file, todo-go-to-source-item)
7497 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7498 (todo-jump-to-archive-category, todo-lower-category)
7499 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7500 (todo-move-category, todo-move-item, todo-next-button)
7501 (todo-next-item, todo-padded-string, todo-powerset)
7502 (todo-previous-button, todo-previous-item)
7503 (todo-print-buffer-to-file, todo-raise-category)
7504 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7505 (todo-set-category-number, todo-set-item-priority)
7506 (todo-set-top-priorities-in-category)
7507 (todo-set-top-priorities-in-file, todo-show-categories-table)
7508 (todo-sort-categories-alphabetically-or-numerically)
7509 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7510 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7511 (todo-toggle-item-header, todo-toggle-item-highlighting)
7512 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7513 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7514 (todo-unarchive-items, todo-unmark-category): New commands.
7515 (todo-absolute-file-name, todo-add-to-buffer-list)
7516 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7517 (todo-basic-insert-item, todo-category-completions)
7518 (todo-category-number, todo-category-string-matcher-1)
7519 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7520 (todo-check-format, todo-clear-matches)
7521 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7522 (todo-current-category, todo-date-string-matcher)
7523 (todo-define-insertion-command, todo-diary-expired-matcher)
7524 (todo-diary-goto-entry, todo-diary-item-p)
7525 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7526 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7527 (todo-done-item-section-p, todo-done-separator)
7528 (todo-done-string-matcher, todo-files, todo-filter-items)
7529 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7530 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7531 (todo-insert-category-line, todo-insert-item-from-calendar)
7532 (todo-insert-sort-button, todo-insert-with-overlays)
7533 (todo-insertion-command-name, todo-insertion-key-bindings)
7534 (todo-label-to-key, todo-longest-category-name-length)
7535 (todo-make-categories-list, todo-mode-external-set)
7536 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7537 (todo-modes-set-3, todo-multiple-filter-files)
7538 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7539 (todo-read-category, todo-read-date, todo-read-dayname)
7540 (todo-read-file-name, todo-read-time)
7541 (todo-reevaluate-category-completions-files-defcustom)
7542 (todo-reevaluate-default-file-defcustom)
7543 (todo-reevaluate-filelist-defcustoms)
7544 (todo-reevaluate-filter-files-defcustom)
7545 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7546 (todo-reset-done-separator, todo-reset-done-separator-string)
7547 (todo-reset-done-string, todo-reset-global-current-todo-file)
7548 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7549 (todo-reset-prefix, todo-set-categories)
7550 (todo-set-date-from-calendar, todo-set-show-current-file)
7551 (todo-set-top-priorities, todo-short-file-name)
7552 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7553 (todo-total-item-counts, todo-update-buffer-list)
7554 (todo-update-categories-display, todo-update-categories-sexp)
7555 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7556 New functions.
7557 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7558 New major modes.
7559 (todo-categories, todo-display, todo-edit, todo-faces)
7560 (todo-filtered): New defgroups.
7561 (todo-archived-only, todo-button, todo-category-string, todo-date)
7562 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7563 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7564 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7565 (todo-add-item-if-new-category, todo-always-add-time-string)
7566 (todo-categories-align, todo-categories-archived-label)
7567 (todo-categories-category-label, todo-categories-diary-label)
7568 (todo-categories-done-label, todo-categories-number-separator)
7569 (todo-categories-todo-label, todo-categories-totals-label)
7570 (todo-category-completions-files, todo-completion-ignore-case)
7571 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7572 (todo-done-separator-string, todo-done-string)
7573 (todo-files-function, todo-filter-done-items, todo-filter-files)
7574 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7575 (todo-initial-category, todo-initial-file, todo-item-mark)
7576 (todo-legacy-date-time-regexp, todo-mode-line-function)
7577 (todo-nondiary-marker, todo-number-prefix)
7578 (todo-print-buffer-function, todo-show-current-file)
7579 (todo-show-done-only, todo-show-first, todo-show-with-done)
7580 (todo-skip-archived-categories, todo-top-priorities-overrides)
7581 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7582 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7583 New defcustoms.
7584 (todo-category-done, todo-date-pattern, todo-date-string-start)
7585 (todo-diary-items-buffer, todo-done-string-start)
7586 (todo-filtered-items-buffer, todo-item-start)
7587 (todo-month-abbrev-array, todo-month-name-array)
7588 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7589 (todo-top-priorities-buffer): New defconsts.
7590 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7591 (todo-categories-with-marks, todo-category-string-face)
7592 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7593 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7594 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7595 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7596 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7597 (todo-font-lock-keywords, todo-global-current-todo-file)
7598 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7599 (todo-insertion-commands-args)
7600 (todo-insertion-commands-args-genlist)
7601 (todo-insertion-commands-names, todo-insertion-map)
7602 (todo-key-bindings-t, todo-key-bindings-t+a)
7603 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7604 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7605 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7606 (todo-visited): New variables.
7607
7608 2013-06-21 Glenn Morris <rgm@gnu.org>
7609
7610 * play/cookie1.el (cookie-apropos): Add optional display argument.
7611 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7612 (psychoanalyze-pinhead): Use cookie-doctor.
7613
7614 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7615
7616 * emacs-lisp/package.el (tar-get-file-descriptor)
7617 (tar--extract): Declare.
7618
7619 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7620
7621 Extend flymake's warning predicate to be a function (bug#14217).
7622 * progmodes/flymake.el (flymake-warning-predicate): New.
7623 (flymake-parse-line): Use it.
7624 (flymake-warning-re): Make obsolete alias to
7625 `flymake-warning-predicate'.
7626
7627 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7630 (package-obsolete-list): Remove.
7631 (package-activate): Remove min-version argument. Add `force' argument.
7632 Adjust to new package-alist format.
7633 (package-mark-obsolete): Remove.
7634 (package-unpack): Force reload of the package's autoloads.
7635 (package-installed-p): Check builtins if the installed package is not
7636 recent enough.
7637 (package-initialize): Don't reset package-obsolete-list.
7638 Don't specify which package version to activate.
7639 (package-process-define-package, describe-package-1)
7640 (package-menu--generate): Adjust to new package-alist format.
7641
7642 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7643
7644 * allout-widgets.el (allout-widgets-mode-off)
7645 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7646 (allout-widgets-post-command-business)
7647 (allout-widgets-after-copy-or-kill-function)
7648 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7649 (allout-decorate-item-and-context)
7650 (allout-graphics-modification-handler): Fix typos in docstrings.
7651 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7652
7653 * cmuscheme.el (scheme-start-file): Doc fix.
7654 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7655 (scheme-input-filter): Use `string-match-p'.
7656
7657 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7658
7659 * dired-x.el: Use Dired consistently in docstrings.
7660
7661 * dired.el: Use Dired consistently in docstrings.
7662 (dired-readin, dired-mode): Use `setq-local'.
7663 (dired-switches-alist): Make defvar-local.
7664 (dired-buffers-for-dir): Use `zerop'.
7665 (dired-safe-switches-p, dired-switches-escape-p)
7666 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7667 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7668 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7669 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7670 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7671 (dired-toggle-marks, dired-mark-files-containing-regexp)
7672 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7673 (dired-flag-auto-save-files, dired-flag-backup-files):
7674 Use `looking-at-p'.
7675 (dired-mark-files-regexp, dired-build-subdir-alist):
7676 Use `string-match-p', `looking-at-p'.
7677
7678 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7679 (direct-print-region-helper): Use `string-match-p'.
7680
7681 2013-06-21 Leo Liu <sdl.web@gmail.com>
7682
7683 * comint.el (comint-redirect-results-list-from-process):
7684 Fix infinite loop.
7685
7686 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7687
7688 * net/eww.el (eww-update-header-line-format): Quote % characters.
7689
7690 2013-06-21 Glenn Morris <rgm@gnu.org>
7691
7692 * play/cookie1.el (cookie): New custom group.
7693 (cookie-file): New option.
7694 (cookie-check-file): New function.
7695 (cookie): Make it interactive. Make start and end messages optional.
7696 Interactively, display the result. Default to cookie-file.
7697 (cookie-insert): Default to cookie-file.
7698 (cookie-snarf): Make start and end messages optional.
7699 Default to cookie-file. Use with-temp-buffer.
7700 (cookie-read): Rename from read-cookie.
7701 Make start and end messages optional. Default to cookie-file.
7702 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7703 Do not autoload it.
7704 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7705 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7706
7707 2013-06-21 Leo Liu <sdl.web@gmail.com>
7708
7709 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7710
7711 2013-06-21 Glenn Morris <rgm@gnu.org>
7712
7713 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7714
7715 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7716 Daniel Hackney <dan@haxney.org>
7717
7718 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7719 Consolidate the single-file vs tarball code.
7720 (package-desc-suffix): New function.
7721 (package-desc-full-name): Don't bother inlining it.
7722 (package-load-descriptor): Return the new package-desc.
7723 (package-mark-obsolete): Remove unused arg `package'.
7724 (package-unpack): Make it work for single files as well.
7725 Make it update package-alist.
7726 (package--make-autoloads-and-stuff): Rename from
7727 package--make-autoloads-and-compile. Don't compile any more.
7728 (package--compile): New function.
7729 (package-generate-description-file): New function, extracted from
7730 package-unpack-single.
7731 (package-unpack-single): Remove.
7732 (package--with-work-buffer): Add indentation and debugging info.
7733 (package-download-single): Remove.
7734 (package-install-from-archive): Rename from package-download-tar, make
7735 it take a pkg-desc, and make it work for single files as well.
7736 (package-download-transaction): Simplify.
7737 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7738 external tar program.
7739 (package-install-from-buffer): Remove `pkg-desc' argument.
7740 Use package-tar-file-info for tar-mode buffers.
7741 (package-install-file): Simplify accordingly.
7742 (package-archive-base): Change to take a pkg-desc.
7743 * tar-mode.el (tar--check-descriptor): New function, extracted from
7744 tar-get-descriptor.
7745 (tar-get-descriptor): Use it.
7746 (tar-get-file-descriptor): New function.
7747 (tar--extract): New function, extracted from tar-extract.
7748 (tar--extract): Use it.
7749 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7750 case the summary uses non-ascii. Adjust to new calling convention of
7751 package-tar-file-info.
7752
7753 2013-06-21 Leo Liu <sdl.web@gmail.com>
7754
7755 * comint.el (comint-redirect-results-list-from-process):
7756 Fix random delay. (Bug#14681)
7757
7758 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7759
7760 * profiler.el (profiler-format-number): Use log, not log10.
7761
7762 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7763
7764 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7765
7766 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7767
7768 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7769 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7770 yet available.
7771 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7772 (AUTOGENEL): ... here.
7773 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7774 (cl--defsubst-expand): Use it.
7775
7776 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7777
7778 * subr.el (log10): Move here from C code, and declare as obsolete.
7779 All uses of (log10 X) replaced with (log X 10).
7780
7781 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7782
7783 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7784 Declare with `defvar-local'.
7785 (tabulated-list-use-header-line, tabulated-list-entries)
7786 (tabulated-list-padding, tabulated-list-printer)
7787 (tabulated-list-sort-key): Declare with `defvar-local'.
7788 (tabulated-list-init-header, tabulated-list-print-fake-header):
7789 Use `setq-local'.
7790
7791 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7792
7793 * arc-mode.el (archive-mode): Add `archive-write-file' to
7794 `write-contents-functions' also for remote files. (Bug#14652)
7795
7796 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7797
7798 * cus-edit.el (custom-commands): Fix typos.
7799 (custom-display): Fix tooltip text.
7800 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7801 Fix typos in docstrings.
7802 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7803 (custom-unlispify-menu-entry, custom-magic-value-create)
7804 (custom-add-see-also, custom-group-value-create): Use ?\s.
7805 (custom-guess-type, customize-apropos, editable-field)
7806 (custom-face-value-create): Use `string-match-p'.
7807 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7808
7809 * custom.el (custom-load-symbol): Use `string-match-p'.
7810
7811 * ansi-color.el: Convert to lexical binding.
7812 (ansi-colors): Fix URL.
7813 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7814 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7815 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7816
7817 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
7819 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7820
7821 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7822
7823 2013-06-19 Tom Tromey <tromey@redhat.com>
7824
7825 * net/eww.el (eww-top-url): Remove.
7826 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7827 (eww-render): Set new variables. Don't set eww-top-url.
7828 (eww-handle-link): Handle "prev", "home", and "contents".
7829 Downcase the rel text.
7830 (eww-top-url): Choose best top URL.
7831
7832 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833
7834 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7835 relying in widget.el. Using widget.el leads to too many
7836 user interface inconsistencies.
7837 (eww-self-insert): Implement entering commands in text fields.
7838 (eww-process-text-input): New function to make text input field editing
7839 work.
7840 (eww-submit): Rewrite to use the new-style form methods.
7841 (eww-select-display): Display the correct selected item.
7842 (eww-change-select): Implement changing the select value.
7843 (eww-toggle-checkbox): Implement radio/checkboxes.
7844 (eww-update-field): Fix compilation error.
7845 (eww-tag-textarea): Implement <textarea>.
7846
7847 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7848 we don't shadow mode-specific bindings.
7849
7850 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7851 nothing to push.
7852
7853 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7854
7855 2013-06-19 Glenn Morris <rgm@gnu.org>
7856
7857 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7858
7859 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7860
7861 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7862 not needed.
7863
7864 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7865
7866 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7867
7868 * net/browse-url.el (browse-url-browser-function):
7869 `eww-browse-url' has the right calling signature, `eww' does not.
7870
7871 2013-06-19 Glenn Morris <rgm@gnu.org>
7872
7873 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7874 Only eval autoloaded macros.
7875 (byte-compile-autoload): Only give the macro warning for macros.
7876
7877 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7878 (ps-underlined-faces): Declare.
7879
7880 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7881 (speedbar-add-supported-extension): Declare.
7882
7883 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7884 Don't include a date stamp in the header of the generated file;
7885 it leads to needless differences between output files.
7886
7887 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7888
7889 * net/secrets.el (secrets-struct-secret-content-type):
7890 Replace check of introspection data by a test call of "CreateItem".
7891 Some servers do not offer introspection.
7892
7893 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * electric.el (electric-pair-mode): Improve interaction with
7896 electric-layout-mode.
7897 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7898 (electric-pair-syntax): Use text-mode-syntax-table in comments
7899 and strings.
7900 (electric-pair--insert): New function.
7901 (electric-pair-post-self-insert-function): Use it and
7902 electric--after-char-pos.
7903
7904 2013-06-19 Leo Liu <sdl.web@gmail.com>
7905
7906 * progmodes/octave.el (octave-help): Fix regexp.
7907
7908 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7909
7910 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7911 (shr-table-horizontal-line): Allow nil as a value, and change the
7912 default.
7913 (shr-insert-table-ruler): Respect the nil value.
7914
7915 2013-06-18 Tom Tromey <tromey@barimba>
7916
7917 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7918 New defvars.
7919 (eww-open-file): New defun.
7920 (eww-render): Initialize new variables.
7921 (eww-display-html): Handle "link" and "a".
7922 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7923 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7924 (eww-back-url): Rename from eww-previous-url.
7925 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7926 New defuns.
7927
7928 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7929
7930 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7931 Distinguish ternary operator tokens from slash symbol and slash
7932 char literal.
7933
7934 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7935
7936 Convert symbol prettification into minor mode and global minor mode.
7937
7938 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7939 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7940 (prettify-symbols--keywords): Rename from
7941 `prog-prettify-symbols-alist' and make a local defvar.
7942 (prettify-symbols--compose-symbol): Rename from
7943 `prog--prettify-font-lock-compose-symbol'.
7944 (prettify-symbols--make-keywords): Rename from
7945 `prog-prettify-font-lock-symbols-keywords' and simplify.
7946 (prog-prettify-install): Remove.
7947 (prettify-symbols-mode): New minor mode, based on
7948 `prog-prettify-install'.
7949 (turn-on-prettify-symbols-mode): New function.
7950 (global-prettify-symbols-mode): New globalized minor mode.
7951
7952 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7953 * progmodes/cfengine.el (cfengine3-mode):
7954 * progmodes/perl-mode.el (perl-mode): Don't call
7955 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7956
7957 2013-06-18 Juri Linkov <juri@jurta.org>
7958
7959 * files-x.el (modify-file-local-variable-message): New function.
7960 (modify-file-local-variable)
7961 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7962 and call `modify-file-local-variable-message' when it's non-nil.
7963 (add-file-local-variable, delete-file-local-variable)
7964 (add-file-local-variable-prop-line)
7965 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7966 and use it. (Bug#9820)
7967
7968 2013-06-18 Juri Linkov <juri@jurta.org>
7969
7970 * emulation/vi.el (vi-shell-op):
7971 * emulation/vip.el (vip-execute-com, ex-command):
7972 * emulation/viper-cmd.el (viper-exec-bang):
7973 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7974 the call of `shell-command-on-region'. (Bug#14637)
7975
7976 * simple.el (shell-command-on-region): Doc fix.
7977
7978 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7981 (bug#14633).
7982
7983 2013-06-18 Glenn Morris <rgm@gnu.org>
7984
7985 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7986
7987 * newcomment.el (comment-search-forward, comment-search-backward):
7988 Doc fix. (Bug#14376)
7989
7990 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7991
7992 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7993 (buffer-face-mode-invoke): Doc fix.
7994
7995 2013-06-18 Matthias Meulien <orontee@gmail.com>
7996
7997 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7998 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7999
8000 2013-06-18 Glenn Morris <rgm@gnu.org>
8001
8002 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8003 Replace obsolete function generic-make-keywords with its expansion.
8004
8005 * progmodes/python.el (ffap-alist): Declare.
8006
8007 * textmodes/reftex.el (bibtex-mode-map): Declare.
8008
8009 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8012 (package-unpack, package-unpack-single): Return the pkg-dir.
8013 (package-download-transaction): Use it to update package-alist.
8014
8015 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8016
8017 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8018 possible choice.
8019
8020 2013-06-17 Juri Linkov <juri@jurta.org>
8021
8022 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8023
8024 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8025
8026 * emacs-lisp/package.el (package-load-descriptor):
8027 Remove `with-syntax-table' call, `read' doesn't need it.
8028 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8029
8030 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8031
8032 * startup.el (command-line): Expand package name returned by
8033 `package--description-file' (bug#14639).
8034
8035 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8036
8037 * emacs-lisp/package.el (package-load-descriptor): Do not call
8038 `emacs-lisp-mode', just use its syntax table.
8039
8040 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8041
8042 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8043 `font-lock-extra-managed-props' if any prettifying keyword is added.
8044 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8045 (prog-mode): Use `setq-local'.
8046
8047 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8048
8049 * international/characters.el (standard-case-table): Set syntax of ?»
8050 and ?« to punctuation.
8051
8052 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8053
8054 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8055 Save relevant match data before calling `syntax-ppss' (bug#14595).
8056
8057 2013-06-15 Juri Linkov <juri@jurta.org>
8058
8059 * files-x.el (modify-file-local-variable-prop-line): Add local
8060 variables to the end of the existing comment on the first line.
8061 Use `file-auto-mode-skip' to skip interpreter magic line,
8062 and also skip XML declaration.
8063
8064 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8065
8066 * startup.el (package--builtin-versions): New var.
8067 (package-subdirectory-regexp): Remove.
8068 (package--description-file): Hard code its value instead.
8069
8070 * emacs-lisp/package.el: Don't activate packages older than builtin.
8071 (package-obsolete-list): Rename from package-obsolete-alist, and make
8072 it into a simple list of package-desc.
8073 (package-strip-version): Remove.
8074 (package-built-in-p): Use package--builtin-versions.
8075 (package-mark-obsolete): Simplify.
8076 (package-process-define-package): Mark it obsolete if older than the
8077 builtin version.
8078 (package-handle-response): Use line-end-position.
8079 (package-read-archive-contents, package--download-one-archive):
8080 Simplify.
8081 (package--add-to-archive-contents): Skip if older than the builtin or
8082 installed version.
8083 (package-menu-describe-package): Fix last change.
8084 (package-list-unversioned): New var.
8085 (package-menu--generate): Use it.
8086
8087 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8088 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8089 (autoload-builtin-package-versions): New variable.
8090 (autoload-generate-file-autoloads): Use them.
8091 Remove the list of autoloaded functions/macros from the
8092 (autoload...) comments.
8093
8094 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8095
8096 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8097
8098 * simple.el (line-move-partial): Don't jump to the next screen
8099 line as soon as it becomes visible. Instead, continue enlarging
8100 the vscroll until the portion of a tall screen line that's left on
8101 display is about the height of the frame's default font.
8102 (Bug#14567)
8103
8104 2013-06-15 Glenn Morris <rgm@gnu.org>
8105
8106 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8107 compilation-error-regexp-alist void, or local while let-bound.
8108
8109 * progmodes/make-mode.el (makefile-mode-syntax-table):
8110 Treat "=" as punctuation. (Bug#14614)
8111
8112 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8113
8114 * help-fns.el (describe-variable):
8115 Add extra line for permanent-local variables.
8116
8117 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8118
8119 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8120 Add export, import, library. (Bug#9164)
8121 (library): Set indent function.
8122
8123 2013-06-14 Glenn Morris <rgm@gnu.org>
8124
8125 * term/xterm.el (xterm--query):
8126 Stop after first matching handler. (Bug#14615)
8127
8128 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8129
8130 Add support for dired in saveplace.
8131 * dired.el (dired-initial-position-hook): New variable.
8132 (dired-initial-position): Call hook to place cursor position.
8133 * saveplace.el (save-place-to-alist): Add dired position.
8134 (save-place-dired-hook): New function.
8135
8136 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8137
8138 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8139 through a symbol rather than letrec.
8140
8141 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8142 (package-desc): Add `dir' field.
8143 (package-desc-full-name): New function.
8144 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8145 (package-maybe-load-descriptor): Remove.
8146 (package-load-all-descriptors): Just call package-load-descriptor.
8147 (package--disabled-p): New function.
8148 (package-desc-vers, package-desc-doc): Remove aliases.
8149 (package--dir): Remove function.
8150 (package-activate): Check if a package is disabled.
8151 (package-process-define-package): New function, extracted from
8152 define-package.
8153 (define-package): Turn into a place holder.
8154 (package-unpack-single, package-tar-file-info):
8155 Use package--description-file.
8156 (package-compute-transaction): Use package--disabled-p.
8157 (package-download-transaction): Don't call
8158 package-maybe-load-descriptor since they're all loaded anyway.
8159 (package-install): Change argument to be a pkg-desc.
8160 (package-delete): Use a single pkg-desc argument.
8161 (describe-package-1): Use package-desc-dir instead of package--dir.
8162 Use package-desc property instead of package-symbol.
8163 (package-install-button-action): Adjust accordingly.
8164 (package--push): Rewrite.
8165 (package-menu--print-info): Adjust accordingly. Change the ID format
8166 to be a pkg-desc.
8167 (package-menu-describe-package, package-menu-get-status)
8168 (package-menu--find-upgrades, package-menu-mark-upgrades)
8169 (package-menu-execute, package-menu--name-predicate):
8170 Adjust accordingly.
8171 * startup.el (package--description-file): New function.
8172 (command-line): Use it.
8173 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8174 Use package-desc-version.
8175
8176 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8177 (byte-compile-preprocess): Use it.
8178 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8179 can't quite recognize.
8180 (byte-compile-add-to-list): Remove.
8181 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8182 (cconv-closure-convert): Add assertion.
8183
8184 * emacs-lisp/map-ynp.el: Use lexical-binding.
8185 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8186 Factor out some repeated code.
8187
8188 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * subr.el (with-eval-after-load): New macro.
8191 (eval-after-load): Allow form to be a function.
8192 take advantage of lexical-binding.
8193 (do-after-load-evaluation): Use dolist and adjust to new format.
8194 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8195
8196 2013-06-13 Juri Linkov <juri@jurta.org>
8197
8198 * replace.el (perform-replace): Display "symbol " and other search
8199 modes from `isearch-message-prefix' in the *Help* buffer.
8200
8201 * isearch.el (isearch-query-replace): Add " symbol" and other
8202 possible search modes from `isearch-message-prefix' to the prompt.
8203 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8204 when reading a regexp to collect.
8205
8206 2013-06-13 Juri Linkov <juri@jurta.org>
8207
8208 * isearch.el (word-search-regexp): Match whitespace if the search
8209 string begins or ends in whitespace. The LAX arg is applied to
8210 both ends of the search string. Use `regexp-quote' and explicit
8211 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8212 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8213 boundaries are replaced with symbol boundaries, and characters
8214 between symbols match non-word non-symbol syntax. (Bug#14602)
8215
8216 2013-06-13 Juri Linkov <juri@jurta.org>
8217
8218 * isearch.el (isearch-del-char): Don't exceed the length of
8219 `isearch-string' by the prefix arg. (Bug#14563)
8220
8221 2013-06-13 Juri Linkov <juri@jurta.org>
8222
8223 * isearch.el (isearch-yank-word, isearch-yank-line)
8224 (isearch-char-by-name, isearch-quote-char)
8225 (isearch-printing-char, isearch-process-search-char):
8226 Add optional count prefix arg. (Bug#14563)
8227
8228 * international/isearch-x.el
8229 (isearch-process-search-multibyte-characters):
8230 Add optional count prefix arg.
8231
8232 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8235 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8236 lexical-binding.
8237
8238 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8239
8240 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8241
8242 2013-06-13 Glenn Morris <rgm@gnu.org>
8243
8244 * startup.el (tty-handle-args):
8245 Don't just discard "--" and anything after. (Bug#14608)
8246
8247 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8248
8249 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8250
8251 Implement changes in Secret Service API. Make it backward compatible.
8252 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8253 (secrets-create-item): Use it. Prefix properties with interface.
8254
8255 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8256
8257 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8258 (term-emulate-terminal): Respect term-suppress-hard-newline.
8259
8260 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8261
8262 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8263 Only remove a `thumb-file' overlay. (Bug#14548)
8264
8265 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8266
8267 * mail/reporter.el (reporter-submit-bug-report):
8268 Handle missing package-name. (Bug#14600)
8269
8270 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8271
8272 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8273 (reftex-citation-prompt, reftex-default-bibliography)
8274 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8275 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8276 (reftex-bib-sort-author, reftex-bib-sort-year)
8277 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8278 (reftex-extract-bib-entries-from-thebibliography)
8279 (reftex-get-bibkey-default, reftex-get-bib-names)
8280 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8281 (reftex-format-bib-entry, reftex-parse-bibitem)
8282 (reftex-format-bibitem, reftex-do-citation)
8283 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8284 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8285 (reftex-insert-bib-matches, reftex-format-citation)
8286 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8287 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8288 existing comments into docstrings.
8289
8290 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8291
8292 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8293
8294 2013-06-12 Andreas Schwab <schwab@suse.de>
8295
8296 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8297 for auto-save files.
8298
8299 2013-06-12 Glenn Morris <rgm@gnu.org>
8300
8301 * ido.el (ido-delete-ignored-files): Remove.
8302 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8303 Go back to calling ido-ignore-item-p directly.
8304
8305 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8306
8307 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8308
8309 * ido.el (ido-delete-ignored-files): New function,
8310 split from ido-make-file-list-1.
8311 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8312 (ido-make-file-list-1): Use ido-delete-ignored-files.
8313
8314 2013-06-12 Leo Liu <sdl.web@gmail.com>
8315
8316 * progmodes/octave.el (inferior-octave-startup)
8317 (inferior-octave-completion-table)
8318 (inferior-octave-track-window-width-change)
8319 (octave-eldoc-function-signatures, octave-help)
8320 (octave-find-definition): Use single quoted strings.
8321 (inferior-octave-startup-args): Change default value.
8322 (inferior-octave-startup): Do not hard code "-i" and
8323 "--no-line-editing".
8324 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8325 (inferior-octave-directory-tracker): Use it.
8326 (octave-goto-function-definition): Robustify.
8327 (octave-help): Support highlighting operators in 'See also'.
8328 (octave-find-definition): Find subfunctions only in Octave mode.
8329
8330 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * help-fns.el (help-fns--compiler-macro): If the handler function is
8333 named, then put a link to it.
8334 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8335 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8336 (cl-typep): Use it.
8337 (cl-eval-when): Simplify debug spec.
8338 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8339 compiler-macro function instead of setting `compiler-macro-file'.
8340
8341 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8342
8343 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8344 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8345
8346 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8347 Daniel Hackney <dan@haxney.org>
8348
8349 First part of Daniel Hackney's patch to package.el.
8350 * emacs-lisp/package.el: Use defstruct.
8351 (package-desc): New, main struct.
8352 (package--bi-desc, package--ac-desc): New structs, used to describe the
8353 format in external files.
8354 (package-desc-vers): Replace with package-desc-version accessor.
8355 (package-desc-doc): Replace with package-desc-summary accessor.
8356 (package-activate-1): Remove `package' arg since the pkg-vec now
8357 includes the name.
8358 (define-package): Use package-desc-from-define.
8359 (package-unpack-single): Change file-name arg to be a symbol.
8360 (package--add-to-archive-contents): Use package-desc-create and new
8361 accessor functions to package--ac-desc.
8362 (package-buffer-info, package-tar-file-info): Return a package-desc.
8363 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8364 arg to be a package-desc.
8365 (package-install-file): Adjust accordingly. Use \' to match EOS.
8366 (package--from-builtin): New function.
8367 (describe-package-1, package-menu--generate): Use it.
8368 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8369 (package-generate-autoloads): Idem and return the name of the file.
8370 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8371 Change pkg-info arg to be a package-desc.
8372 Use package-make-ac-desc.
8373 (package-upload-file): Use \' to match EOS.
8374 * finder.el (finder-compile-keywords): Use package-make-builtin.
8375
8376 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * vc/vc.el (vc-deduce-fileset): Change error message.
8379 (vc-read-backend): New function.
8380 (vc-next-action): Use it.
8381
8382 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8383
8384 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8385 (prolog-font-lock-keywords): Use regexp-opt instead.
8386 Don't manually highlight strings.
8387 (prolog-mode-variables): Simplify comment-start-skip.
8388 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8389
8390 * emacs-lisp/generic.el (generic--normalise-comments)
8391 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8392 (generic-mode-set-comments): Use them.
8393 (generic-bracket-support): Use setq-local.
8394 (generic-make-keywords-list): Declare obsolete.
8395
8396 2013-06-11 Glenn Morris <rgm@gnu.org>
8397
8398 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8399 Prettify after setting font-lock-defaults. (Bug#14574)
8400
8401 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8402
8403 * replace.el (query-replace, occur-read-regexp-defaults-function)
8404 (replace-search):
8405 * subr.el (declare-function, number-sequence, local-set-key)
8406 (substitute-key-definition, locate-user-emacs-file)
8407 (with-silent-modifications, split-string, eval-after-load):
8408 Fix typos, remove unneeded backslashes and reflow some docstrings.
8409
8410 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8413 default for Elisp files.
8414
8415 2013-06-11 Glenn Morris <rgm@gnu.org>
8416
8417 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8418 although define-derived-mode was doing this anyway. (Bug#14583)
8419
8420 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8421
8422 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8423 Fix make-variable-buffer-local call to refer to the correct variable.
8424
8425 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8426
8427 * eshell/em-term.el (eshell-visual-commands)
8428 (eshell-visual-subcommands, eshell-visual-options):
8429 Add summary line to docstrings. Add cross-references.
8430
8431 2013-06-10 Glenn Morris <rgm@gnu.org>
8432
8433 * epa.el (epa-read-file-name): New function. (Bug#14510)
8434 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8435
8436 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8437
8438 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8439 output redirection to be ignored with visual commands.
8440
8441 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8442
8443 * eshell/em-term.el (eshell-visual-command-p): New function.
8444 (eshell-term-initialize): Move long lambda to separate function
8445 eshell-visual-command-p.
8446 * eshell/em-dirs.el (eshell-dirs-initialise):
8447 * eshell/em-script.el (eshell-script-initialize):
8448 Add missing #' to lambda.
8449
8450 2013-06-08 Leo Liu <sdl.web@gmail.com>
8451
8452 * progmodes/octave.el (octave-add-log-current-defun): New function.
8453 (octave-mode): Set add-log-current-defun-function.
8454 (octave-goto-function-definition): Do not move point if not found.
8455 (octave-find-definition): Enhance to try subfunctions first.
8456
8457 2013-06-08 Glenn Morris <rgm@gnu.org>
8458
8459 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8460 (byte-compile-backward-char, byte-compile-backward-word):
8461 Improve previous change, to handle non-explicit nil.
8462
8463 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8466 (smie--opener/closer-at-point): New function.
8467 (smie--matching-block-data): Use it. Don't match from right after an
8468 opener or right before a closer. Obey smie-blink-matching-inners.
8469 Don't signal a mismatch for repeated inners like "switch..case..case".
8470
8471 2013-06-07 Leo Liu <sdl.web@gmail.com>
8472
8473 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8474 to t. (Bug#14303)
8475 (octave-function-header-regexp): Fix. (Bug#14570)
8476 (octave-help-mode-finish-hook, octave-help-mode-finish):
8477 Remove. Just use temp-buffer-show-hook.
8478
8479 * newcomment.el (comment-search-backward): Revert last change.
8480 (Bug#14434)
8481
8482 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8483
8484 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8485
8486 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8487 through xargs, to avoid failure due to MS-Windows limitations on
8488 command-line length.
8489
8490 2013-06-06 Glenn Morris <rgm@gnu.org>
8491
8492 * font-lock.el (lisp-font-lock-keywords-2):
8493 Treat user-error like error.
8494
8495 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8496 (byte-compile-backward-char, byte-compile-backward-word):
8497 Handle explicit nil arguments. (Bug#14565)
8498
8499 2013-06-05 Alan Mackenzie <acm@muc.de>
8500
8501 * isearch.el (isearch-allow-prefix): New user option.
8502 (isearch-other-meta-char): Don't exit isearch when a prefix
8503 argument is typed whilst `isearch-allow-prefix' is non-nil.
8504 (Bug#9706)
8505
8506 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * autorevert.el (auto-revert-notify-handler): Use memq.
8509 Hide assertion failure.
8510
8511 * skeleton.el: Use cl-lib.
8512 (skeleton-further-elements): Use defvar-local.
8513 (skeleton-insert): Use cl-progv.
8514
8515 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8516
8517 * progmodes/prog-mode.el (prog-prettify-symbols)
8518 (prog-prettify-install): Update docstrings.
8519
8520 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * simple.el: Move all the prog-mode code to prog-mode.el.
8523 * progmodes/prog-mode.el: New file.
8524 * loadup.el: Add prog-mode.el.
8525
8526 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8527
8528 * simple.el (prog-prettify-symbols): Add version.
8529 (prog-prettify-install): Add convenience function to prettify symbols.
8530
8531 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8532 (perl--augmented-font-lock-keywords-1)
8533 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8534 variables and use it.
8535
8536 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8537 (cfengine3-mode): Remove unneeded variable and use it.
8538
8539 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8540 (lisp--augmented-font-lock-keywords-1)
8541 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8542 Remove unneeded variables and use it.
8543
8544 2013-06-05 João Távora <joaotavora@gmail.com>
8545
8546 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8547 to point when opening the connection. (Bug#14380)
8548
8549 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8550
8551 * subr.el (load-history-regexp, load-history-filename-element)
8552 (eval-after-load, after-load-functions, do-after-load-evaluation)
8553 (eval-next-after-load, display-delayed-warnings)
8554 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8555 definition of save-match-data.
8556 (overriding-local-map): Remove accidental obsolescence declaration.
8557
8558 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8559
8560 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8561
8562 Generalize symbol prettify support to prog-mode and implement it
8563 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8564 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8565 (prog--prettify-font-lock-compose-symbol)
8566 (prog-prettify-font-lock-symbols-keywords): New variables and
8567 functions to support symbol prettification.
8568 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8569 (lisp--augmented-font-lock-keywords-1)
8570 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8571 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8572 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8573 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8574 Implement prettify of -> => :: strings.
8575 * progmodes/perl-mode.el (perl-prettify-symbols)
8576 (perl--font-lock-compose-symbol)
8577 (perl--font-lock-symbols-keywords): Move to prog-mode.
8578 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8579 (perl-font-lock-keywords-1)
8580 (perl-font-lock-keywords-2): Remove explicit prettify support.
8581 (perl--augmented-font-lock-keywords)
8582 (perl--augmented-font-lock-keywords-1)
8583 (perl--augmented-font-lock-keywords-2, perl-mode):
8584 Implement prettify support.
8585
8586 2013-06-05 Leo Liu <sdl.web@gmail.com>
8587
8588 Re-implement smie matching block highlight using
8589 show-paren-data-function. (Bug#14395)
8590 * emacs-lisp/smie.el (smie-matching-block-highlight)
8591 (smie--highlight-matching-block-overlay)
8592 (smie--highlight-matching-block-lastpos)
8593 (smie-highlight-matching-block)
8594 (smie-highlight-matching-block-mode): Remove.
8595 (smie--matching-block-data-cache): New variable.
8596 (smie--matching-block-data): New function.
8597 (smie-setup): Use smie--matching-block-data for
8598 show-paren-data-function.
8599
8600 * progmodes/octave.el (octave-mode-menu): Fix.
8601 (octave-find-definition): Skip garbage lines.
8602
8603 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 Fix compilation error with simultaneous dynamic+lexical scoping.
8606 Add warning when a defvar appears after the first let-binding.
8607 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8608 (byte-compile-close-variables): Initialize it.
8609 (byte-compile--declare-var): New function.
8610 (byte-compile-file-form-defvar)
8611 (byte-compile-file-form-define-abbrev-table)
8612 (byte-compile-file-form-custom-declare-variable): Use it.
8613 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8614 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8615 (byte-compile-bind): Handle dynamic bindings that shadow
8616 lexical bindings.
8617 (byte-compile-unbind): Make arg non-optional.
8618 (byte-compile-let): Simplify.
8619 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8620 (cconv--analyse-function, cconv-analyse-form): Populate it.
8621 Protect byte-compile-bound-variables to limit the scope of defvars.
8622 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8623 Remove unneeded rule for `declare'.
8624
8625 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8626 so as to avoid depending on cl-adjoin at run-time.
8627 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8628
8629 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8630 (macroexp--warn-and-return): Use it.
8631
8632 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * lisp/subr.el: Convert to lexical binding.
8635 (overriding-local-map): Make obsolete.
8636 (add-to-list): Doc fix. Add compiler macro.
8637 (read-key): Swap values of local maps.
8638
8639 2013-06-05 Leo Liu <sdl.web@gmail.com>
8640
8641 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8642
8643 2013-06-04 Leo Liu <sdl.web@gmail.com>
8644
8645 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8646 (compilation-auto-jump): Suppress the "Mark set" message to give
8647 way to exit message.
8648
8649 2013-06-04 Alan Mackenzie <acm@muc.de>
8650
8651 Remove faulty optimisation from indentation calculation.
8652 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8653 search limit based on 2000 characters back from indent-point.
8654
8655 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8656
8657 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8658
8659 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * emacs-lisp/lisp.el: Use lexical-binding.
8662 (lisp--local-variables-1, lisp--local-variables): New functions.
8663 (lisp--local-variables-completion-table): New var.
8664 (lisp-completion-at-point): Use it complete let-bound vars.
8665
8666 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8667 eagerly (bug#14422).
8668
8669 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8670
8671 * autorevert.el (auto-revert-notify-enabled)
8672 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8673 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8674 (auto-revert-notify-handler): Handle also gfilenotify.
8675
8676 * subr.el (file-notify-handle-event): New defun. Replacing ...
8677 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8678 Remove.
8679
8680 2013-06-03 Juri Linkov <juri@jurta.org>
8681
8682 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8683 `M-s h .'. (Bug#14427)
8684
8685 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8686 command `hi-lock-face-symbol-at-point'.
8687 (hi-lock-face-symbol-at-point): New command.
8688 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8689 (hi-lock-menu): Add `highlight-symbol-at-point'.
8690 (hi-lock-mode): Doc fix.
8691
8692 * isearch.el (isearch-forward-symbol-at-point): New command.
8693 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8694 (isearch-highlight-regexp): Add a regexp which matches
8695 words/symbols for word/symbol mode.
8696
8697 * subr.el (find-tag-default-bounds): New function with the body
8698 mostly moved from `find-tag-default'.
8699 (find-tag-default): Move most code to `find-tag-default-bounds',
8700 call it and apply `buffer-substring-no-properties' afterwards.
8701
8702 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8703
8704 * eshell/em-term.el (eshell-term-initialize):
8705 Use `cl-intersection' rather than `intersection'.
8706
8707 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8708
8709 * vc/log-view.el: Doc fix.
8710 (log-view-mode-map): Copy keymap from `special-mode-map'.
8711
8712 2013-06-02 Eric Ludlam <zappo@gnu.org>
8713
8714 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8715 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8716 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8717 (eieio-unbound, eieio-default-superclass)
8718 (eieio--define-field-accessors, method-static, method-before)
8719 (method-primary, method-after, method-num-lists)
8720 (method-generic-before, method-generic-primary)
8721 (method-generic-after, method-num-slots)
8722 (eieio-specialized-key-to-generic-key)
8723 (eieio--check-type, class-v, class-p)
8724 (eieio-class-name, define-obsolete-function-alias)
8725 (eieio-class-parents-fast, eieio-class-children-fast)
8726 (same-class-fast-p, class-constructor, generic-p)
8727 (generic-primary-only-p, generic-primary-only-one-p)
8728 (class-option-assoc, class-option, eieio-object-p)
8729 (class-abstract-p, class-method-invocation-order)
8730 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8731 (eieio-class-un-autoload, eieio-defclass)
8732 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8733 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8734 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8735 (eieio-defgeneric-reset-generic-form)
8736 (eieio-defgeneric-form-primary-only)
8737 (eieio-defgeneric-reset-generic-form-primary-only)
8738 (eieio-defgeneric-form-primary-only-one)
8739 (eieio-defgeneric-reset-generic-form-primary-only-one)
8740 (eieio-unbind-method-implementations)
8741 (eieio--defmethod, eieio--typep)
8742 (eieio-perform-slot-validation, eieio-validate-slot-value)
8743 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8744 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8745 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8746 (eieio-slot-name-index, eieio-class-slot-name-index)
8747 (eieio-set-defaults, eieio-initarg-to-attribute)
8748 (eieio-attribute-to-initarg, eieio-c3-candidate)
8749 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8750 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8751 (eieio-class-precedence-list, eieio-generic-call-methodname)
8752 (eieio-generic-call-arglst, eieio-generic-call-key)
8753 (eieio-generic-call-next-method-list)
8754 (eieio-pre-method-execution-functions, eieio-generic-call)
8755 (eieio-generic-call-primary-only, eieiomt-method-list)
8756 (eieiomt-optimizing-obarray, eieiomt-install)
8757 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8758 (eieio-generic-form, eieio-defmethod, make-obsolete)
8759 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8760 (defclass): Remove `eval-and-compile' from macro.
8761 (call-next-method, shared-initialize): Instead of using
8762 `scoped-class' variable, use new eieio--scoped-class, and
8763 eieio--with-scoped-class.
8764 (initialize-instance): Rename local variable 'scoped-class' to
8765 'this-class' to remove ambiguitity from old global.
8766
8767 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8768 eieio.el.
8769 (eieio--scoped-class-stack): New variable.
8770 (eieio--scoped-class): New fcn.
8771 (eieio--with-scoped-class): New scoping macro.
8772 (eieio-defclass): Use pushnew instead of add-to-list.
8773 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8774 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8775 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8776 `scoped-class' variable, use new eieio--scoped-class, and
8777 eieio--with-scoped-class.
8778
8779 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8780
8781 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8782
8783 * eshell/esh-ext.el (eshell-external-command): Pass args to
8784 `eshell-find-interpreter'.
8785 (eshell-find-interpreter): Add new second parameter ARGS.
8786
8787 * eshell/em-script.el (eshell-script-initialize): Add second arg
8788 to the function added as MATCH to `eshell-interpreter-alist'.
8789
8790 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8791 the function added as MATCH to `eshell-interpreter-alist'.
8792
8793 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8794 (eshell-visual-options): New defcustom.
8795 (eshell-escape-control-x): Adapt docstring.
8796 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8797 `eshell-visual-options' in addition to `eshell-visual-commands'.
8798 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8799
8800 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8801
8802 * progmodes/python.el (python-indent-block-enders): Add break,
8803 continue and raise keywords.
8804
8805 2013-06-01 Glenn Morris <rgm@gnu.org>
8806
8807 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8808
8809 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8810 * progmodes/cc-cmds.el (delete-forward-p):
8811 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8812 * progmodes/cc-engine.el (buffer-syntactic-context):
8813 * progmodes/cc-fonts.el (face-property-instance):
8814 * progmodes/cc-mode.el (set-keymap-parents):
8815 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8816 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8817 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8818 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8819 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8820
8821 * progmodes/cc-vars.el (other): Emacs has this widget since
8822 at least 21.1, so don't (re)define it.
8823
8824 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8825 Replace the obsolete alias pcomplete-arg-quote-list.
8826
8827 2013-06-01 Leo Liu <sdl.web@gmail.com>
8828
8829 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8830 punctuation syntax.
8831 (inferior-octave-minimal-columns)
8832 (inferior-octave-last-column-width): New variables.
8833 (inferior-octave-track-window-width-change): New function.
8834 (inferior-octave-mode): Adjust column width so that Octave output,
8835 for example from 'ls', can fit into the window nicely.
8836
8837 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8838
8839 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8840 Highlight expansions inside regexp literals.
8841
8842 2013-05-31 Glenn Morris <rgm@gnu.org>
8843
8844 * obsolete/sym-comp.el (symbol-complete):
8845 Replace obsolete completion-annotate-function.
8846
8847 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8848
8849 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8850
8851 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8852 New function, checks if point is inside a literal that allows
8853 expression expansion.
8854 (ruby-syntax-propertize-expansion): Use it.
8855 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8856 around the body.
8857
8858 2013-05-30 Juri Linkov <juri@jurta.org>
8859
8860 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8861 to "\M-si".
8862 (isearch-invisible): New variable.
8863 (isearch-forward): Doc fix.
8864 (isearch-mode): Set `isearch-invisible'
8865 to the value of `search-invisible'.
8866 (isearch-toggle-case-fold): Doc fix.
8867 (isearch-toggle-invisible): New command.
8868 (isearch-query-replace): Let-bind `search-invisible'
8869 to the value of `isearch-invisible'.
8870 (isearch-search): Use `isearch-invisible' instead of
8871 `search-invisible'. Let-bind `search-invisible'
8872 to the value of `isearch-invisible'. (Bug#11378)
8873
8874 2013-05-30 Juri Linkov <juri@jurta.org>
8875
8876 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8877 call when `query-flag' is nil and `search-invisible' is non-nil.
8878 (Bug#11746)
8879
8880 2013-05-30 Glenn Morris <rgm@gnu.org>
8881
8882 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8883
8884 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8885 (cc-require): Suppress spurious "noruntime" warnings.
8886 (cc-require-when-compile): Use fboundp, for sake of compiler.
8887
8888 * progmodes/cc-mode.el: Move load of cc-vars before that of
8889 cc-langs (which in turn loads cc-vars), to quieten compiler.
8890
8891 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * paren.el: Simplify the code.
8894 (show-paren-mode): Always start the timer.
8895 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8896 (show-paren--overlay, show-paren--overlay-1): Rename from
8897 show-paren-overlay and show-paren-overlay-1, and initialize to an
8898 overlay rather than to nil.
8899 (show-paren-function): Misc cleanup and simplifications.
8900
8901 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8902
8903 * paren.el (show-paren-data-function): New hook.
8904 (show-paren--default): New function, extracted from show-paren-function.
8905 (show-paren-function): Use show-paren-data-function.
8906
8907 2013-05-30 Glenn Morris <rgm@gnu.org>
8908
8909 * ielm.el (ielm-map, ielm-complete-symbol):
8910 Use completion-at-point rather than obsolete functions.
8911 (inferior-emacs-lisp-mode): Doc fix.
8912 Set completion-at-point-functions, rather than
8913 comint-dynamic-complete-functions.
8914
8915 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8916 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8917 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8918
8919 * image.el (image-animated-p): Tweak definition.
8920
8921 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8922 (rlogin-process-connection-type): Tweak default. Add set-after.
8923 (rlogin-host): Doc fix.
8924 (rlogin): Tweak prompt.
8925 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8926
8927 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8928 * progmodes/tcl.el (inferior-tcl-mode-map):
8929 Use completion-at-point rather than obsolete alias.
8930
8931 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8932
8933 * minibuffer.el (read-file-name-completion-ignore-case):
8934 Move before completion--in-region, for eager macro expansion.
8935
8936 2013-05-29 Juri Linkov <juri@jurta.org>
8937
8938 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8939 for total count of matching lines. Add `global-matches' for total
8940 count of matches. Rename `matches' to `lines' for count of
8941 matching lines. Add `matches' for count of matches.
8942 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8943 to `prev-line' for line number of prev match endpt.
8944 Increment `matches' for every match. Print the number of
8945 matching lines in the header.
8946 (occur-context-lines): Rename `lines' to `curr-line'.
8947 Rename `prev-lines' to `prev-line'. (Bug#14017)
8948
8949 2013-05-29 Juri Linkov <juri@jurta.org>
8950
8951 * replace.el (perform-replace): Add `skip-read-only-count',
8952 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8953 Increment them for corresponding conditions and report the number
8954 of skipped occurrences in the final message. (Bug#11746)
8955 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8956 (replace-string, replace-regexp): Doc fix.
8957
8958 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8961
8962 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8963 prog-mode-map (bug#14504).
8964
8965 2013-05-29 Leo Liu <sdl.web@gmail.com>
8966
8967 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8968 (octave-help): Small simplification.
8969
8970 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8971 off the highlight first.
8972
8973 2013-05-29 Glenn Morris <rgm@gnu.org>
8974
8975 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8976 Handle idlwave-last-system-routine-info-cons-cell being nil.
8977
8978 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8979 (idlwave-write-paths): Simplify via with-temp-buffer.
8980
8981 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8982 * emulation/cua-rect.el: Also load cua-base at run time.
8983
8984 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8985 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8986 (cperl-imenu-on-info): Require imenu.
8987
8988 2013-05-28 Alan Mackenzie <acm@muc.de>
8989
8990 Handle "capitalised keywords" correctly.
8991 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8992
8993 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8994
8995 * eshell/em-unix.el: Add -r option to cp.
8996
8997 2013-05-28 Glenn Morris <rgm@gnu.org>
8998
8999 * vc/vc-arch.el (vc-exec-after): Declare.
9000 (vc-switches): Autoload.
9001 * vc/vc-bzr.el: No need to require vc when compiling.
9002 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9003 (vc-resynch-buffer, vc-dir-refresh): Declare.
9004 (vc-setup-buffer, vc-switches): Autoload.
9005 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9006 (vc-resynch-buffer): Declare.
9007 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9008 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9009 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9010 (grep-read-regexp, grep-read-files, grep-expand-template)
9011 (vc-dir-refresh): Declare.
9012 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9013 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9014 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9015 * vc/vc-mtn.el (vc-exec-after): Declare.
9016 (vc-switches): Autoload.
9017 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9018 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9019 (vc-file-tree-walk): Declare.
9020 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9021 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9022 (vc-tag-precondition, vc-rename-master): Autoload.
9023 * vc/vc-svn.el (vc-exec-after): Declare.
9024 (vc-switches, vc-setup-buffer): Autoload.
9025 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9026 Autoload.
9027 (vc-resynch-buffer): Declare.
9028
9029 * obsolete/fast-lock.el (byte-compile-warnings):
9030 Don't warn about obsolete features in this obsolete file.
9031
9032 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9033 Move definition before use.
9034
9035 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9036 (dun-unix-verbs): Remove dun-zippy.
9037 (dun-zippy): Remove function.
9038
9039 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9040
9041 2013-05-27 Juri Linkov <juri@jurta.org>
9042
9043 * replace.el (replace-search): New function with code moved out
9044 from `perform-replace'.
9045 (replace-highlight, replace-dehighlight): Move function definitions
9046 up closer to `replace-search'. (Bug#11746)
9047
9048 2013-05-27 Juri Linkov <juri@jurta.org>
9049
9050 * replace.el (perform-replace): Ignore invisible matches.
9051 In addition to checking `query-replace-skip-read-only', also
9052 filter out matches by calling `run-hook-with-args-until-failure'
9053 on `isearch-filter-predicates', and also check `search-invisible'
9054 for t or call `isearch-range-invisible'.
9055 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9056
9057 2013-05-27 Juri Linkov <juri@jurta.org>
9058
9059 * isearch.el (isearch-filter-predicates): Rename from
9060 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9061 (isearch-message-prefix): Display text from the property
9062 `isearch-message-prefix' of the currently active filters.
9063 (isearch-search): Don't compare `isearch-filter-predicate' with
9064 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9065 on `isearch-filter-predicates'. Also check `search-invisible' for t
9066 or call `isearch-range-invisible'.
9067 (isearch-filter-visible): Make obsolete.
9068 (isearch-lazy-highlight-search):
9069 Call `run-hook-with-args-until-failure' on
9070 `isearch-filter-predicates' and use `isearch-range-invisible'.
9071
9072 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9073 `isearch-filter-predicates' instead of `funcall'ing
9074 `isearch-filter-predicate'.
9075 (Info-mode): Set `Info-isearch-filter' to
9076 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9077
9078 * dired-aux.el (dired-isearch-filter-predicate-orig):
9079 Remove variable.
9080 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9081 (dired-isearch-filenames-end): Add and remove
9082 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9083 instead of changing the value of `isearch-filter-predicate'.
9084 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9085 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9086 Put property `isearch-message-prefix' to "filename " on
9087 `dired-isearch-filter-filenames'.
9088
9089 * wdired.el (wdired-change-to-wdired-mode):
9090 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9091 locally instead of changing `isearch-filter-predicate'.
9092 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9093
9094 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9095
9096 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9097 return the commit hash (Bug#14459). Also set the
9098 `vc-git-detached' property.
9099 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9100 (vc-git-mode-line-string): Use the same help-echo format whether
9101 in detached mode or not, because we know the actual revision now.
9102 When in detached mode, shorten the revision to 7 chars.
9103
9104 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * emacs-lisp/easy-mmode.el (define-minor-mode):
9107 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9108 mode hook and provide a docstring.
9109
9110 2013-05-27 Alan Mackenzie <acm@muc.de>
9111
9112 Remove spurious syntax-table text properties inserted by C-y.
9113 * progmodes/cc-mode.el (c-after-change): Also clear hard
9114 syntax-table property with value nil.
9115
9116 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9117
9118 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9119 when reading the events; the buffer layout shall not be changed.
9120
9121 2013-05-27 Leo Liu <sdl.web@gmail.com>
9122
9123 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9124 New variable.
9125 (inferior-octave-directory-tracker): Automatically re-sync
9126 default-directory.
9127 (octave-help): Improve handling of 'See also'.
9128
9129 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * doc-view.el: Minor naming convention tweaks.
9132 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9133
9134 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9135 even if there's no `display' property yet (bug#14435).
9136
9137 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9138
9139 * subr.el (unmsys--file-name): Rename from reveal-filename.
9140
9141 * Makefile.in (custom-deps, finder-data, autoloads)
9142 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9143 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9144 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9145
9146 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9149 error-completion on the first 2 args of condition-case (bug#14446).
9150 Don't burp at EOB.
9151
9152 2013-05-25 Leo Liu <sdl.web@gmail.com>
9153
9154 * comint.el (comint-previous-matching-input): Do not flood the
9155 *Messages* buffer with trivial messages.
9156
9157 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * progmodes/flymake.el (flymake-nop): Don't return a string.
9160 (flymake-set-at): Fix typo.
9161
9162 * simple.el (read--expression): New function, extracted from
9163 eval-expression. Set completion-at-point-functions (bug#14465).
9164 (eval-expression, eval-minibuffer): Use it.
9165
9166 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9167
9168 * progmodes/flymake.el (flymake-save-buffer-in-file)
9169 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9170 (flymake-selected-frame, flymake-log, flymake-ins-after)
9171 (flymake-set-at, flymake-get-buildfile-from-cache)
9172 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9173 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9174 Refine the doc string.
9175 (flymake-get-file-name-mode-and-masks): Reformat.
9176 (flymake-get-real-file-name-function): Fix a minor bug.
9177
9178 2013-05-24 Juri Linkov <juri@jurta.org>
9179
9180 * progmodes/grep.el (grep-mode-font-lock-keywords):
9181 Support =linenumber= format used by git-grep for lines with
9182 function names. (Bug#13549)
9183
9184 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9185
9186 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9187 0 after a semi-colon; it works better for smie-auto-fill.
9188 (octave--indent-new-comment-line): New function.
9189 (octave-indent-new-comment-line): Use it (indirectly).
9190 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9191 modify comment-line-break-function.
9192
9193 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9194 (smie-setup): Use add-function to set it.
9195
9196 2013-05-24 Sam Steingold <sds@gnu.org>
9197
9198 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9199 argument (before the `interactive' argument).
9200
9201 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * image-mode.el (image-mode-winprops): Add winprops to
9204 image-mode-winprops-alist before running
9205 image-mode-new-window-functions.
9206 * doc-view.el (doc-view-new-window-function): Don't delay
9207 doc-view-goto-page via timers (bug#14435).
9208
9209 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9210
9211 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9212 (doc-view-desktop-save-buffer): New function.
9213 (doc-view-restore-desktop-buffer): New function.
9214 (desktop-buffer-mode-handlers):
9215 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9216 handler.
9217 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9218 `desktop-save-buffer' function.
9219
9220 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9221
9222 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9223 (tramp-gvfs-file-name-handler): Raise a user error when
9224 `tramp-gvfs-enabled' is nil.
9225 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9226 Do not raise a user error when loading package. (Bug#14447)
9227
9228 * net/xesam.el: Move to obsolete/.
9229
9230 2013-05-24 Glenn Morris <rgm@gnu.org>
9231
9232 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9233
9234 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9235
9236 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9237 (Info-find-node, Man-getpage-in-background): Declare.
9238
9239 * mail/unrmail.el (unrmail):
9240 Replace obsolete detect-coding-with-priority.
9241
9242 * net/socks.el (socks-split-string): Use this rather than split-string.
9243 (socks-nslookup-host): Update for above change.
9244 (dynamic-choice, s5-dynamic-choice-match)
9245 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9246 Comment out unused code.
9247
9248 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9249 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9250 (gud-tooltip-echo-area): Make obsolete.
9251 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9252
9253 * progmodes/js.el (js--optimize-arglist): Declare.
9254
9255 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9256
9257 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9258 (ediff-window-C): Declare.
9259
9260 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9261 Tweak requires to silence compiler.
9262
9263 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9264 (he-search-string, he-tried-table, he-expand-list)
9265 (he-init-string, he-string-member, he-substitute-string)
9266 (he-reset-string): Declare.
9267
9268 * obsolete/options.el (list-options): Use custom-variable-p,
9269 rather than obsolete alias.
9270
9271 2013-05-23 Sam Steingold <sds@gnu.org>
9272
9273 * simple.el (shell-command-on-region): Pass the `replace' argument
9274 down to `call-process-region' to comply with the doc as reported on
9275 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9276
9277 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * emacs-lisp/smie.el (smie-indent-forward-token)
9280 (smie-indent-backward-token): Handle string tokens (bug#14381).
9281
9282 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9283
9284 * ielm.el (ielm-menu): New menu.
9285 (inferior-emacs-lisp-mode): Set comment-start.
9286
9287 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9288
9289 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9290 Fix deactivate action.
9291
9292 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9293 Add cleveref macros.
9294
9295 * lisp/textmodes/reftex-parse.el
9296 (reftex-locate-bibliography-files): Accept options for
9297 bibliography commands.
9298 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9299 Add addbibresource. Basic Biblatex support.
9300
9301 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9302
9303 * net/tramp-gvfs.el (top):
9304 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9305 when loading package. (Bug#14447)
9306
9307 2013-05-23 Glenn Morris <rgm@gnu.org>
9308
9309 * progmodes/js.el: No need to load comint when compiling.
9310 (ring-insert, comint-send-string, comint-send-input)
9311 (comint-last-input-end, ido-chop): Declare.
9312
9313 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9314 * vc/ediff-mult.el: Adjust requires.
9315 (ediff-directories-internal, ediff-directory-revisions-internal)
9316 (ediff-patch-file-internal): Declare.
9317 * vc/ediff-ptch.el: Adjust requires.
9318 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9319 (ediff-find-file): Autoload.
9320 * vc/ediff-util.el: No need to load ediff when compiling.
9321 (ediff-regions-internal): Declare.
9322 * vc/ediff-wind.el: Adjust requires.
9323 (ediff-compute-toolbar-width): Define when compiling.
9324 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9325 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9326 (dired-get-filename, dired-get-marked-files)
9327 (ediff-last-dir-patch, ediff-patch-default-directory)
9328 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9329 (ediff-patch-buffer-internal): Declare.
9330
9331 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9332 (ispell-process, ispell-buffer-local-words, lm-summary)
9333 (lm-section-start, lm-section-end): Declare.
9334 (checkdoc-ispell-init): Simplify.
9335
9336 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9337 (he-string-member, he-reset-string, he-substitute-string): Declare.
9338
9339 * eshell/em-ls.el: Adjust requires.
9340 (eshell-glob-regexp): Declare.
9341 * eshell/em-tramp.el: Adjust requires.
9342 (eshell-parse-command): Autoload.
9343 * eshell/em-xtra.el: Adjust requires.
9344 (eshell-parse-command): Autoload.
9345 * eshell/esh-ext.el: Adjust requires.
9346 (eshell-parse-command, eshell-close-handles): Autoload.
9347 * eshell/esh-io.el: Adjust requires.
9348 (eshell-output-filter): Autoload.
9349 * eshell/esh-util.el: No need to load tramp when compiling.
9350 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9351 Declare.
9352 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9353 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9354 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9355 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9356 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9357 * eshell/esh-opt.el, eshell/esh-proc.el:
9358 * eshell/esh-var.el: Adjust requires.
9359 * eshell/eshell.el: Do not require esh-util twice.
9360 (eshell-add-input-to-history): Declare.
9361 (eshell-command): Check history module is active before using it.
9362
9363 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9364
9365 2013-05-22 Leo Liu <sdl.web@gmail.com>
9366
9367 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9368
9369 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9370
9371 * autorevert.el (auto-revert-notify-add-watch)
9372 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9373 it indicates changes in file modification time.
9374
9375 2013-05-22 Glenn Morris <rgm@gnu.org>
9376
9377 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9378 Always delete the autoloaded function from the noruntime and
9379 unresolved functions lists.
9380
9381 * allout.el: No need to load epa, epg, overlay when compiling.
9382 (epg-context-set-passphrase-callback, epg-list-keys)
9383 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9384 (epg-key-user-id-list): Declare.
9385
9386 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9387 (viper-set-parsing-style-toggling-macro)
9388 (viper-set-emacs-state-searchstyle-macros):
9389 Use called-interactively-p on Emacs.
9390 (viper-looking-back): Make it an obsolete alias. Update callers.
9391 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9392 Use looking-back rather than viper-looking-back.
9393 (viper-tmp-insert-at-eob, viper-enlarge-region)
9394 (viper-read-string-with-history, viper-register-to-point)
9395 (viper-append-to-register, viper-change-state-to-vi)
9396 (viper-backward-char-carefully, viper-forward-char-carefully)
9397 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9398 (viper-change-state-to-emacs): Declare.
9399 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9400 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9401 * emulation/viper-mous.el: Do not load viper-cmd.
9402 (viper-backward-char-carefully, viper-forward-char-carefully)
9403 (viper-forward-word, viper-adjust-window): Declare.
9404
9405 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9406
9407 * progmodes/idlw-help.el (idlwave-help-fontify):
9408 Use called-interactively-p.
9409
9410 * term/w32console.el (w32-get-console-codepage)
9411 (w32-get-console-output-codepage): Declare.
9412
9413 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9414 Remove unnecessary declarations.
9415 (dframe-message): Doc fix.
9416
9417 * info.el (dframe-select-attached-frame, dframe-current-frame):
9418 Declare.
9419
9420 * speedbar.el (speedbar-message): Make it an obsolete alias.
9421 Update all callers.
9422 (speedbar-with-attached-buffer)
9423 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9424 (speedbar-with-writable): Use backquote.
9425 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9426 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9427 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9428 rather than speedbar- aliases.
9429 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9430 (speedbar-make-specialized-keymap, speedbar-insert-button)
9431 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9432 (speedbar-do-function-pointer): Declare.
9433 (rmail-speedbar-button, rmail-speedbar-find-file)
9434 (rmail-speedbar-move-message):
9435 Use dframe-with-attached-buffer rather than speedbar- alias.
9436 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9437 (dframe-message, speedbar-make-specialized-keymap)
9438 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9439 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9440 (speedbar-insert-button, dframe-select-attached-frame)
9441 (dframe-maybee-jump-to-attached-frame)
9442 (speedbar-change-initial-expansion-list)
9443 (speedbar-previously-used-expansion-list-name): Declare.
9444 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9445 Use dframe-message, dframe-with-attached-buffer rather than
9446 speedbar- aliases.
9447 (gud-sentinel): Silence compiler.
9448 * progmodes/vhdl-mode.el (speedbar-refresh)
9449 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9450 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9451 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9452 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9453 (speedbar-file-lists, speedbar-make-tag-line)
9454 (speedbar-line-directory, speedbar-goto-this-file)
9455 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9456 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9457 (speedbar-make-button, speedbar-reset-scanners)
9458 (speedbar-files-item-info, speedbar-line-text)
9459 (speedbar-find-file-in-frame, speedbar-set-timer)
9460 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9461 (speedbar-with-writable): Do not (re)define it.
9462 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9463 rather than speedbar- alias.
9464
9465 2013-05-21 Leo Liu <sdl.web@gmail.com>
9466
9467 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9468 menu items.
9469 (octave-mode): Tweak fill-nobreak-predicate.
9470 (inferior-octave-startup): Check process to avoid infinite loop.
9471 (inferior-octave): Pop to buffer first to show abornmal process
9472 exit information.
9473
9474 2013-05-21 Glenn Morris <rgm@gnu.org>
9475
9476 * printing.el (pr-menu-bar): Define when compiling.
9477
9478 2013-05-21 Leo Liu <sdl.web@gmail.com>
9479
9480 * progmodes/octave.el (octave-auto-fill): Remove.
9481 (octave-indent-new-comment-line): Improve.
9482 (octave-mode): Use auto fill mode through
9483 comment-line-break-function and fill-nobreak-predicate.
9484 (octave-goto-function-definition): Support DEFUN_DLD.
9485 (octave-beginning-of-defun): Small tweak.
9486 (octave-help): Show parent directory.
9487
9488 2013-05-21 Glenn Morris <rgm@gnu.org>
9489
9490 * files.el (dired-unmark):
9491 * progmodes/gud.el (gdb-input): Update declarations.
9492
9493 * calculator.el (electric, ehelp): No need to load when compiling.
9494 (Electric-command-loop, electric-describe-mode): Declare.
9495
9496 * doc-view.el (doc-view-current-converter-processes): Move before use.
9497
9498 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9499 Move MODE-set-explicitly definition before use.
9500
9501 * international/mule-diag.el (mule-diag):
9502 Don't use obsolete window-system-version.
9503
9504 * mail/feedmail.el (smtpmail): No need to load when compiling.
9505 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9506
9507 * mail/mail-utils.el (rfc822): No need to load when compiling.
9508 (rfc822-addresses): Autoload it.
9509 (mail-strip-quoted-names): Trivial simplification.
9510
9511 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9512 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9513
9514 * net/snmp-mode.el (tempo): Don't duplicate requires.
9515
9516 * progmodes/prolog.el (info): No need to load when compiling.
9517 (comint): Require before shell requires it.
9518 (Info-goto-node): Autoload it.
9519 (Info-follow-nearest-node): Declare.
9520 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9521
9522 * textmodes/artist.el (picture-mode-exit): Declare.
9523
9524 * textmodes/reftex-parse.el (reftex-parse-from-file):
9525 Trivial rewrite so the compiler can parse it better.
9526
9527 2013-05-20 Leo Liu <sdl.web@gmail.com>
9528
9529 * progmodes/octave.el (octave-help-mode-map)
9530 (octave-help-mode-finish-hook): New variables.
9531 (octave-help-mode, octave-help-mode-finish): New functions.
9532 (octave-help): Use octave-help-mode.
9533
9534 2013-05-20 Glenn Morris <rgm@gnu.org>
9535
9536 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9537
9538 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9539
9540 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9541 start at point, so that expansion starting right after opening
9542 slash in a regexp is recognized.
9543 (ruby-syntax-before-regexp-re): New defvar, extracted from
9544 ruby-syntax-propertize-function. Since the value of this regexp
9545 is looked up at runtime now, we should be able to turn
9546 `ruby-syntax-methods-before-regexp' into a defcustom later.
9547 (ruby-syntax-propertize-function): Split regexp matching into two
9548 parts, for opening and closing slashes. That allows us to skip
9549 over string interpolations and support multiline regexps.
9550 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9551 for them, which calls `ruby-syntax-propertize-expansion'.
9552 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9553 call to `ruby-syntax-propertize-function'.
9554 (ruby-syntax-propertize-expansion): Extracted from
9555 `ruby-syntax-propertize-expansions'. Handles one expansion.
9556 (ruby-syntax-propertize-percent-literal): Leave point right after
9557 the percent symbol, so that the expression expansion rule can
9558 propertize the contents.
9559 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9560 heredoc openers.
9561 (ruby-syntax-propertize-expansions): Remove.
9562
9563 2013-05-18 Juri Linkov <juri@jurta.org>
9564
9565 * man.el (Man-default-man-entry): Remove `-' from the end
9566 of the default value. (Bug#14400)
9567
9568 2013-05-18 Glenn Morris <rgm@gnu.org>
9569
9570 * comint.el (comint-password-prompt-regexp):
9571 Allow "password for XXX" where XXX contains colons (eg https://...).
9572
9573 2013-05-18 Leo Liu <sdl.web@gmail.com>
9574
9575 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9576 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9577 (octave-source-directories): Don't check process.
9578 (octave-source-directories, octave-find-definition): Doc fix.
9579
9580 2013-05-18 Glenn Morris <rgm@gnu.org>
9581
9582 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9583 Remove backspace/delete bindings. (Bug#14392)
9584
9585 * cus-dep.el (custom-make-dependencies): Sort the output.
9586 (custom-versions-load-alist): Convert comment to doc.
9587
9588 2013-05-17 Leo Liu <sdl.web@gmail.com>
9589
9590 * newcomment.el (comment-search-backward): Stricter in finding
9591 comment start. (Bug#14303)
9592
9593 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9594 (octave-comment-start-skip): Properly anchored.
9595
9596 2013-05-17 Leo Liu <sdl.web@gmail.com>
9597
9598 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9599 Clean up when turned off. (Bug#14395)
9600 (smie--highlight-matching-block-overlay): No longer buffer-local.
9601 (smie-highlight-matching-block): Adjust.
9602
9603 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9604
9605 Doc string fix for "nanoseconds" (Bug#14406).
9606 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9607 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9608
9609 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9610
9611 * calc/calc-units.el (math-extract-units): Preserve powers
9612 of units.
9613
9614 2013-05-17 Leo Liu <sdl.web@gmail.com>
9615
9616 * subr.el (delete-consecutive-dups): New function.
9617 * ido.el (ido-set-matches-1): Use it.
9618 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9619 * ido.el (ido-remove-consecutive-dups): Remove.
9620
9621 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9622
9623 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9624 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9625 regexp-opt's `words'.
9626
9627 2013-05-16 Leo Liu <sdl.web@gmail.com>
9628
9629 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9630 (smie--highlight-matching-block-overlay)
9631 (smie--highlight-matching-block-lastpos)
9632 (smie--highlight-matching-block-timer): New variables.
9633 (smie-highlight-matching-block): New function.
9634 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9635 (smie-setup): Conditionally enable smie-blink-matching-open.
9636
9637 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9638
9639 Sync with upstream verilog-mode r840.
9640 * progmodes/verilog-mode.el (verilog-mode-version)
9641 (verilog-mode-release-date): Update.
9642 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9643 (verilog-sig-tieoff): Fix string error on
9644 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9645 (verilog-read-decls): Fix parameters confusing
9646 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9647
9648 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9649
9650 * subr.el (reveal-filename): New function.
9651
9652 * loadup.el: Compute Emacs executable versions on MS-Windows,
9653 where executables have the .exe extension. Add a hard link
9654 emacs-XX.YY.ZZ.exe on MS-Windows.
9655
9656 * Makefile.in (XARGS_LIMIT): New variable.
9657 (custom-deps, finder-data, autoloads)
9658 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9659 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9660 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9661 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9662
9663 2013-05-16 Leo Liu <sdl.web@gmail.com>
9664
9665 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9666 (octave-mode-menu, octave-mode-map): Remove its uses.
9667
9668 2013-05-16 Reto Zimmermann <reto@gnu.org>
9669
9670 Sync with upstream vhdl mode v3.34.2.
9671 * progmodes/vhdl-mode.el: Use `push' throughout.
9672 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9673 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9674 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9675 (vhdl-actual-generic-name): New option to derive actual generic name.
9676 (vhdl-port-paste-signals): Replace formal by actual generics.
9677 (vhdl-beautify): New name for old group vhdl-align. Update users.
9678 (vhdl-beautify-options): New option.
9679 (vhdl-last-input-event): New compat alias. Use throughout.
9680 (vhdl-goto-line): Replace user level function `goto-line'.
9681 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9682 vhdl-fix-statement-buffer.
9683 (vhdl-create-mode-menu): Add some entries.
9684 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9685 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9686 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9687 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9688 to force statements on one line.
9689 (vhdl-remove-trailing-spaces-region):
9690 New, split from vhdl-remove-trailing-spaces.
9691 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9692 Respect vhdl-beautify-options.
9693 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9694 (vhdl-update-sensitivity-list): Not add with index if exists without.
9695 Not include array index with signal. Ignore keywords in comments.
9696 (vhdl-get-visible-signals): Regexp tweaks.
9697 (vhdl-template-component-inst): Handle empty library.
9698 (vhdl-template-type): Add template for 'enum' type.
9699 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9700 Use vhdl-replace-string.
9701 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9702 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9703 (vhdl-speedbar-initialize): Update for above name change.
9704 (vhdl-compose-wire-components): Fix in handling of constants.
9705 (vhdl-error-regexp-emacs-alist): New variable.
9706 (vhdl-error-regexp-add-emacs): New function;
9707 adds support for new compile.el (Emacs 22+)
9708 (vhdl-generate-makefile-1): Change target order for single lib. units.
9709 Allow use of absolute file names.
9710
9711 2013-05-16 Leo Liu <sdl.web@gmail.com>
9712
9713 * simple.el (prog-indent-sexp): Indent enclosing defun.
9714
9715 2013-05-15 Glenn Morris <rgm@gnu.org>
9716
9717 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9718 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9719 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9720 (whitespace-highlight): Move to whitespace group.
9721
9722 * comint.el (comint-source):
9723 * pcmpl-linux.el (pcmpl-linux):
9724 * shell.el (shell-faces):
9725 * eshell/esh-opt.el (eshell-opt):
9726 * international/ccl.el (ccl): Remove empty custom groups.
9727
9728 * completion.el (dynamic-completion-mode):
9729 * jit-lock.el (jit-lock-debug-mode):
9730 * minibuffer.el (completion-in-region-mode):
9731 * type-break.el (type-break-mode-line-message-mode)
9732 (type-break-query-mode):
9733 * emulation/tpu-edt.el (tpu-edt-mode):
9734 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9735 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9736 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9737
9738 * term/xterm.el (xterm): Change parent group to terminals.
9739
9740 * master.el (master): Remove empty custom group.
9741 (master-mode): Remove unused :group argument.
9742 * textmodes/refill.el (refill): Remove empty custom group.
9743 (refill-mode): Remove unused :group argument.
9744
9745 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9746
9747 * cus-dep.el: Provide a feature.
9748 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9749 Don't mistakenly ignore files whose basenames match a basename
9750 from preloaded-file-list (eg cedet/ede/simple.el).
9751 Add a fallback method for getting :group.
9752
9753 2013-05-15 Juri Linkov <juri@jurta.org>
9754
9755 * isearch.el (isearch-char-by-name): Rename from
9756 `isearch-insert-char-by-name'. Doc fix.
9757 (isearch-forward): Mention `isearch-char-by-name' in
9758 the docstring. (Bug#13348)
9759
9760 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9761 `exit-minibuffer' instead of
9762 `isearch-nonincremental-exit-minibuffer'.
9763 (isearch-edit-string): Remove mention of
9764 `isearch-nonincremental-exit-minibuffer' from docstring.
9765 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9766 (isearch-forward-exit-minibuffer)
9767 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9768
9769 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * loadup.el: Just use unversioned DOC.
9772
9773 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9774 literals as extending to EOB.
9775 (nxml-last-fontify-end): Remove unused variable.
9776 (nxml-after-change1): Use with-silent-modifications.
9777 (nxml-extend-after-change-region): Simplify.
9778 (nxml-extend-after-change-region1): Remove function.
9779 (nxml-after-change1): Don't adjust for dependent regions.
9780 (nxml-fontify-matcher): Simplify.
9781 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9782 (xmltok-add-dependent): Remove function.
9783 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9784 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9785 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9786 unclosed <[[, <?, comment, and other literals as extending to EOB.
9787 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9788 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9789 Remove functions.
9790 (rng-do-some-validation-1): Don't mark dependent regions.
9791 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9792 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9793 (nxml-clear-dependent-regions): Remove functions.
9794 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9795 (nxml-ensure-scan-up-to-date):
9796 Don't clear&mark dependent regions.
9797
9798 2013-05-15 Leo Liu <sdl.web@gmail.com>
9799
9800 * progmodes/octave.el (octave-goto-function-definition):
9801 Improve and fix callers.
9802
9803 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9804
9805 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9806 the setter (bug#14387).
9807
9808 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9809 surrounding group (bug#14402).
9810
9811 2013-05-14 Juri Linkov <juri@jurta.org>
9812
9813 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9814 (Bug#14390)
9815
9816 2013-05-14 Glenn Morris <rgm@gnu.org>
9817
9818 * progmodes/f90.el (f90-imenu-generic-expression):
9819 Fix typo in 2013-05-08 change. (Bug#14402)
9820
9821 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9822
9823 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9824 Remove signals for which replies are never received.
9825
9826 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9827
9828 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9829 (gdb-handler-alist, gdb-handler-number): Remove variables.
9830 (gdb-handler-list): New variable.
9831 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9832 (gdb-pending-handler-p, gdb-handle-reply)
9833 (gdb-remove-all-pending-triggers): New functions.
9834 (gdb-discard-unordered-replies): New defcustom.
9835 (gdb-handler): New defstruct.
9836 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9837 instead of gdb-pending-triggers. Update docstring.
9838 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9839 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9840 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9841 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9842 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9843 (gdb-frame-handler): Pending triggers are now automatically managed.
9844 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9845 Remove argument.
9846 (gdb-input): Automatically handles pending triggers. Update docstring.
9847 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9848 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9849 Update comments.
9850 (gdb-done-or-error): Now use gdb-handle-reply.
9851
9852 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9853
9854 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9855 gdb-debug-log.
9856
9857 2013-05-14 Glenn Morris <rgm@gnu.org>
9858
9859 * subr.el (user-emacs-directory-warning): New option.
9860 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9861
9862 2013-05-14 Leo Liu <sdl.web@gmail.com>
9863
9864 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9865 during redisplay.
9866 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9867 (octave-font-lock-texinfo-comment): Fix invalid search bound
9868 error: wrong side of point.
9869
9870 2013-05-14 Glenn Morris <rgm@gnu.org>
9871
9872 * progmodes/flymake.el (flymake-xml-program): New option.
9873 (flymake-xml-init): Use it.
9874
9875 * term/xterm.el: Provide a feature.
9876
9877 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9878
9879 2013-05-13 Glenn Morris <rgm@gnu.org>
9880
9881 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9882 Add compat aliases as a hack workaround. (Bug#14384)
9883
9884 2013-05-13 Leo Liu <sdl.web@gmail.com>
9885
9886 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9887 ###, and %!.
9888 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9889 C-M-q.
9890 (octave-comment-start-skip): Include %!.
9891 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9892
9893 2013-05-12 Leo Liu <sdl.web@gmail.com>
9894
9895 * progmodes/octave.el (inferior-octave-startup): Store the value
9896 of __octave_srcdir__ for octave-source-directories.
9897 (inferior-octave-check-process): New function refactored out of
9898 inferior-octave-send-list-and-digest.
9899 (octave-source-directories)
9900 (octave-find-definition-filename-function): New variables.
9901 (octave-source-directories)
9902 (octave-find-definition-default-filename): New functions.
9903 (octave-find-definition): Improve to find functions implemented in C++.
9904
9905 2013-05-12 Glenn Morris <rgm@gnu.org>
9906
9907 * calendar/diary-lib.el (diary-outlook-format-1):
9908 Don't include dayname in the output. (Bug#14349)
9909
9910 2013-05-11 Glenn Morris <rgm@gnu.org>
9911
9912 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9913
9914 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9915 Treat cc-provide like provide.
9916
9917 2013-05-11 Kevin Ryde <user42@zip.com.au>
9918
9919 * cus-dep.el (custom-make-dependencies):
9920 Use generated-autoload-load-name for the sake of files such
9921 such cedet/semantic/bovine/c.el, where the base file name
9922 is not in load-path. (Bug#5277)
9923
9924 2013-05-11 Glenn Morris <rgm@gnu.org>
9925
9926 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9927 Provide features.
9928
9929 2013-05-11 Leo Liu <sdl.web@gmail.com>
9930
9931 * progmodes/octave.el (octave-indent-comment): Improve.
9932 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9933 (octave-eldoc-function-signatures, octave-eldoc-function):
9934 New functions.
9935 (octave-mode, inferior-octave-mode): Add eldoc support.
9936
9937 2013-05-11 Richard Stallman <rms@gnu.org>
9938
9939 * epa.el (epa-decrypt-file): Take output file name as argument
9940 and read it using `interactive'.
9941
9942 2013-05-11 Leo Liu <sdl.web@gmail.com>
9943
9944 * progmodes/octave.el (octave-beginning-of-line)
9945 (octave-end-of-line): Check before using up-list because it jumps
9946 out of more syntactic contructs since moving to smie.
9947 (octave-indent-comment): New function.
9948 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9949 (octave-begin-keywords, octave-end-keywords)
9950 (octave-reserved-words, octave-smie-bnf-table)
9951 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9952
9953 2013-05-11 Glenn Morris <rgm@gnu.org>
9954
9955 * faces.el (internal-face-x-get-resource):
9956 * frame.el (ns-display-monitor-attributes-list):
9957 * calc/calc-aent.el (math-to-radians-2):
9958 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9959 Fix declarations.
9960
9961 * calc/calc-menu.el: Make it loadable in isolation.
9962
9963 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9964 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9965 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9966 (eudc-bbdb-query-internal): Require 'bbdb.
9967
9968 * lpr.el (lpr-headers-switches):
9969 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9970
9971 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9972
9973 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9974
9975 * term.el (term-set-escape-char): Make it idempotent.
9976
9977 2013-05-10 Leo Liu <sdl.web@gmail.com>
9978
9979 * progmodes/octave.el (inferior-octave-completion-table):
9980 No longer a function and all uses changed. Use cache to speed up
9981 completion due to bug#11906.
9982 (octave-beginning-of-defun): Re-write to be more general.
9983
9984 2013-05-10 Glenn Morris <rgm@gnu.org>
9985
9986 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9987
9988 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * comint.el (comint-redirect-send-command-to-process): Use :around
9991 rather than :override for comint-redirect-filter.
9992 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9993 Call it instead of comint-redirect-original-filter-function (which
9994 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9995
9996 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9997
9998 * frame.el (display-monitor-attributes-list): Add NS case.
9999 (ns-display-monitor-attributes-list): Declare.
10000
10001 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10002
10003 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10004
10005 2013-05-09 Glenn Morris <rgm@gnu.org>
10006
10007 * international/fontset.el (vertical-centering-font-regexp):
10008 Set standard-value.
10009
10010 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10011
10012 * bookmark.el (bookmark-search-delay):
10013 * cus-start.el (vertical-centering-font-regexp):
10014 * ps-mule.el (ps-mule-font-info-database-default):
10015 * ps-print.el (ps-default-fg, ps-default-bg):
10016 * type-break.el (type-break-good-break-interval):
10017 * whitespace.el (whitespace-indentation-regexp)
10018 (whitespace-space-after-tab-regexp):
10019 * emacs-lisp/testcover.el (testcover-1value-functions)
10020 (testcover-noreturn-functions, testcover-progn-functions)
10021 (testcover-prog1-functions):
10022 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10023 * eshell/em-glob.el (eshell-glob-translate-alist):
10024 * play/tetris.el (tetris-tty-colors):
10025 * progmodes/cpp.el (cpp-face-default-list):
10026 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10027 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10028 (idlwave-help-browser-generic-args):
10029 * progmodes/make-mode.el (makefile-special-targets-list):
10030 * progmodes/python.el (python-shell-virtualenv-path):
10031 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10032 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10033 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10034 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10035 * textmodes/reftex-vars.el (reftex-format-label-function):
10036 * textmodes/remember.el (remember-diary-file): Fix custom types.
10037
10038 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10039 Add :version.
10040
10041 2013-05-09 Leo Liu <sdl.web@gmail.com>
10042
10043 * progmodes/octave.el (inferior-octave-completion-at-point):
10044 Restore file completion. (Bug#14300)
10045 (inferior-octave-startup): Fix incorrect highlighting for the
10046 first prompt.
10047
10048 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10049
10050 * progmodes/ruby-mode.el: First cut at SMIE support.
10051 (ruby-use-smie): New var.
10052 (ruby-smie-grammar): New constant.
10053 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10054 (ruby-smie--forward-token, ruby-smie--backward-token)
10055 (ruby-smie-rules): New functions.
10056 (ruby-mode-variables): Setup SMIE if applicable.
10057
10058 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10059
10060 * simple.el (line-move-visual): Signal beginning/end of buffer
10061 only if vertical-motion moved less than it was requested. Avoids
10062 silly incorrect error messages when there are display strings with
10063 multiple newlines at EOL.
10064
10065 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10066
10067 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10068 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10069 (prolog-char-quote-workaround):
10070 * progmodes/cperl-mode.el (cperl-under-as-char):
10071 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10072 Mark as obsolete.
10073 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10074 their declaration.
10075 (vhdl-mode-syntax-table-init): Remove.
10076
10077 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10078 last change.
10079
10080 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10081 syntax for "_".
10082 (ld-script-font-lock-keywords):
10083 Change regexps to use things like \_< and \_>.
10084
10085 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10086 Change all regexps to use things like \_< and \_>.
10087
10088 * progmodes/autoconf.el (autoconf-definition-regexp)
10089 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10090 Handle a _ with symbol syntax.
10091 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10092
10093 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10094 Consolidate declaration.
10095 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10096 the declaration.
10097 (ada-create-syntax-table): Remove.
10098 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10099 already has the right syntax nowadays.
10100 (ada-goto-next-word): Don't change the syntax of "_".
10101
10102 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10103 with-wrapper-hook.
10104
10105 2013-05-08 Sam Steingold <sds@gnu.org>
10106
10107 * thingatpt.el (thing-at-point): Accept optional second argument
10108 NO-PROPERTIES to strip the text properties from the return value.
10109 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10110 to `thing-at-point' instead of stripping the properties ourselves.
10111 Also, when `thing-at-point' fails to find a url, prepend "http://"
10112 to the filename at point on the assumption that the user is
10113 pointing at something like gnu.org/gnu.
10114
10115 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10116
10117 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10118 * faces.el (crm-separator):
10119 Silence byte-compiler.
10120
10121 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10122 (tool-bar-map): Remove unneeded defvars.
10123
10124 2013-05-08 Leo Liu <sdl.web@gmail.com>
10125
10126 Re-work a fix for bug#10994 based on Le Wang's patch.
10127 * ido.el (ido-remove-consecutive-dups): New helper.
10128 (ido-completing-read): Use it.
10129 (ido-chop): Revert fix for bug#10994.
10130
10131 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10132
10133 * cus-edit.el (custom-save-variables):
10134 Pretty-print long values. (Bug#14187)
10135
10136 2013-05-08 Glenn Morris <rgm@gnu.org>
10137
10138 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10139 (m4-mode-syntax-table): Init in the defvar.
10140 (m4-mode-abbrev-table): Let define-derived-mode define it.
10141
10142 2013-05-08 Tom Tromey <tromey@redhat.com>
10143
10144 * progmodes/m4-mode.el (m4-mode-syntax-table):
10145 Do not treat "_" as word constituent. (Bug#14167)
10146
10147 2013-05-07 Glenn Morris <rgm@gnu.org>
10148
10149 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10150 Remove explicit eshell-isearch-cancel-map.
10151
10152 * progmodes/f90.el (f90-smart-end-names): New option.
10153 (f90-smart-end): Doc fix.
10154 (f90-end-block-optional-name): New constant.
10155 (f90-block-match): Respect f90-smart-end-names.
10156
10157 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10160 about implicit semi-colons (bug#14218).
10161
10162 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10163
10164 * frame.el (display-monitor-attributes-list)
10165 (frame-monitor-attributes): New functions.
10166
10167 2013-05-06 Leo Liu <sdl.web@gmail.com>
10168
10169 * progmodes/octave.el (octave-syntax-propertize-function): Change
10170 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10171 (octave-font-lock-keywords): Use octave-operator-regexp.
10172 (octave-completion-at-point): Rename from
10173 octave-completion-at-point-function.
10174 (inferior-octave-directory-tracker): Robustify.
10175 (octave-text-functions): Remove and fix its uses. No such things
10176 any more.
10177
10178 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 * emacs-lisp/trace.el (trace--display-buffer): New function.
10181 (trace-make-advice): Use it.
10182
10183 2013-05-06 Juri Linkov <juri@jurta.org>
10184
10185 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10186 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10187 Doc fix.
10188 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10189 in the help string. (Bug#12985)
10190
10191 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10192
10193 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10194
10195 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * progmodes/perl-mode.el: Add support for here documents.
10198 (perl-syntax-propertize-function): Match here-doc markers.
10199 (perl-syntax-propertize-special-constructs): Find their end.
10200 (perl-imenu-generic-expression): Use [:alnum:].
10201
10202 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10203 (advice--add-function): Refresh the advice if already present
10204 (bug#14317).
10205
10206 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10207
10208 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10209
10210 2013-05-06 Glenn Morris <rgm@gnu.org>
10211
10212 * w32-fns.el (w32-charset-info-alist): Declare.
10213
10214 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10215 of its defcustom properties.
10216 (eshell-cmpl-initialize): No need to load pcomplete.
10217
10218 * generic-x.el: No need to require comint when compiling.
10219
10220 * net/eudc-export.el: Make it loadable without bbdb.
10221 (top-level): Use require rather than load-library.
10222 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10223 (eudc-batch-export-records-to-bbdb)
10224 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10225 Require bbdb.
10226
10227 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10228
10229 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10230 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10231 some tweaks, instead.
10232
10233 2013-05-05 Leo Liu <sdl.web@gmail.com>
10234
10235 * progmodes/octave.el (octave-font-lock-keywords)
10236 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10237 (inferior-octave-send-list-and-digest): Improve error message.
10238 (octave-mode, inferior-octave-mode): Use setq-local.
10239 (octave-help): Set info-lookup-mode.
10240
10241 2013-05-05 Richard Stallman <rms@gnu.org>
10242
10243 * vc/compare-w.el (compare-windows-whitespace):
10244 Treat no-break space as whitespace.
10245
10246 * mail/rmailsum.el (rmail-summary-rmail-update):
10247 Detect empty summary and don't change selected message.
10248 (rmail-summary-goto-msg): Likewise.
10249
10250 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10251 Doc fixes, rename args.
10252
10253 2013-05-05 Alan Mackenzie <acm@muc.de>
10254
10255 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10256
10257 2013-05-05 Juri Linkov <juri@jurta.org>
10258
10259 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10260 to not add the length of the summary segment to the return value.
10261 (Bug#14125)
10262
10263 2013-05-05 Leo Liu <sdl.web@gmail.com>
10264
10265 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10266 (inferior-octave-output-filter): Remove.
10267 (octave-send-region, inferior-octave-startup): Fix callers.
10268 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10269 (octave-binary-file-extensions): New user variable.
10270 (octave-find-definition): Confirm if opening binary files.
10271 (octave-help-file): Use octave-find-definition to get the binary
10272 confirmation.
10273 (octave-help): Adjust for octave-help-file change.
10274
10275 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10278 Merge the two entries that handle function definitions.
10279 (pascal--syntax-propertize): New const.
10280 (pascal-mode): Use it. Use setq-local.
10281
10282 2013-05-04 Glenn Morris <rgm@gnu.org>
10283
10284 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10285 (diary-from-outlook): Respect diary-from-outlook-function.
10286
10287 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10290 Move the declaration from C.
10291 (read-minibuffer, eval-minibuffer): Move from C.
10292 (completion-setup-function): Avoid minibuffer-completion-contents.
10293
10294 2013-05-03 Leo Liu <sdl.web@gmail.com>
10295
10296 * progmodes/octave.el (octave-font-lock-keywords): Do not
10297 dehighlight 'end' in comments or strings.
10298 (octave-completing-read, octave-goto-function-definition):
10299 New helpers.
10300 (octave-help-buffer): New user variable.
10301 (octave-help-file, octave-help-function): New button types.
10302 (octave-help): New command and bind it to C-h ;.
10303 (octave-find-definition): New command and bind it to M-.
10304 (user-error): Alias to error if not defined.
10305
10306 2013-05-02 Leo Liu <sdl.web@gmail.com>
10307
10308 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10309 for \. (bug#14332)
10310 (octave-font-lock-keywords): Include [ and {.
10311
10312 2013-05-02 Leo Liu <sdl.web@gmail.com>
10313
10314 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10315 (inferior-octave): Remove calling comint-mode and return the buffer.
10316 (inferior-octave-startup): Cosmetic changes.
10317
10318 2013-05-02 Leo Liu <sdl.web@gmail.com>
10319
10320 * progmodes/octave.el (octave-syntax-propertize-function):
10321 Include the case when ' is at line beginning. (Bug#14336)
10322
10323 2013-05-02 Glenn Morris <rgm@gnu.org>
10324
10325 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10326 * desktop.el (vc-dir-mode): Just autoload it here.
10327
10328 2013-05-02 Alan Mackenzie <acm@muc.de>
10329
10330 Eliminate variable c-standard-font-lock-fontify-region-function.
10331 * progmodes/cc-mode.el
10332 (c-standard-font-lock-fontify-region-function): Remove.
10333 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10334
10335 2013-05-01 Leo Liu <sdl.web@gmail.com>
10336
10337 * progmodes/octave.el: Compatible with older emacs-24 releases.
10338 (inferior-octave-has-built-in-variables): Remove. Built-in
10339 variables were removed from Octave in 2007.
10340 (inferior-octave-startup): Fix uses.
10341 (comint-line-beginning-position): Remove compatibility code for
10342 emacs 21.
10343
10344 2013-05-01 Juri Linkov <juri@jurta.org>
10345
10346 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10347
10348 2013-05-01 Juri Linkov <juri@jurta.org>
10349
10350 * comint.el (comint-previous-matching-input): Don't print message
10351 "History item: %d" when `isearch-mode' is active.
10352 (comint-history-isearch-message): Print message "History item: %d"
10353 when `comint-input-ring-index' is not empty and this function is
10354 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10355
10356 2013-05-01 Leo Liu <sdl.web@gmail.com>
10357
10358 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10359 definitions. Use completion-at-point to insert keywords.
10360 (octave-abbrev-start): Remove.
10361 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10362
10363 2013-04-30 Leo Liu <sdl.web@gmail.com>
10364
10365 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10366 change.
10367
10368 2013-04-30 Alan Mackenzie <acm@muc.de>
10369
10370 Handle arbitrarily long C++ member initialisation lists.
10371 * progmodes/cc-engine.el (c-back-over-member-initializers):
10372 new function.
10373 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10374 (most) member init lists.
10375
10376 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10377
10378 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10379 variable.
10380
10381 2013-04-30 Leo Liu <sdl.web@gmail.com>
10382
10383 * progmodes/octave.el (octave-variables): Remove. No builtin
10384 variables any more. All converted to functions.
10385 (octave-font-lock-keywords, octave-completion-at-point-function):
10386 Fix uses.
10387 (octave-font-lock-texinfo-comment): New user variable.
10388 (octave-texinfo-font-lock-keywords): New variable for texinfo
10389 comment block.
10390 (octave-function-comment-block): New face.
10391 (octave-font-lock-texinfo-comment): New function.
10392 (octave-mode): Font lock texinfo comment block.
10393
10394 2013-04-29 Leo Liu <sdl.web@gmail.com>
10395
10396 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10397 indexing expression.
10398 (octave-continuation-string): Do not use \.
10399 (inferior-octave-complete-impossible): Remove.
10400 (inferior-octave-completion-table)
10401 (inferior-octave-completion-at-point): Remove its uses.
10402 (inferior-octave-startup): completion_matches was introduced to
10403 Octave in 1996 so safe to assume it.
10404 (octave-function-file-comment): Improve to follow how Octave does it.
10405 (octave-update-function-file-comment): Tweak.
10406
10407 2013-04-29 Leo Liu <sdl.web@gmail.com>
10408
10409 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10410 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10411 (octave-function-file-comment): Fix typo.
10412 (octave-sync-function-file-names): Use read-char-choice.
10413
10414 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10415
10416 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10417 to t for the less important warnings.
10418
10419 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10420
10421 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10422
10423 2013-04-27 Glenn Morris <rgm@gnu.org>
10424
10425 * vc/log-view.el (log-view-current-entry):
10426 Treat "---" separator lines as part of the following rev. (Bug#14169)
10427
10428 2013-04-27 Juri Linkov <juri@jurta.org>
10429
10430 * subr.el (read-number): Doc fix about using it by interactive
10431 code letter `n'. (Bug#14254)
10432
10433 2013-04-27 Juri Linkov <juri@jurta.org>
10434
10435 * desktop.el (desktop-auto-save-timeout): New option.
10436 (desktop-file-checksum): New variable.
10437 (desktop-save): Add optional arg `auto-save' and don't auto-save
10438 if nothing changed.
10439 (desktop-auto-save-timer): New variable.
10440 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10441 (after-init-hook): Call `desktop-auto-save-set-timer'.
10442 Suggested by Reuben Thomas <rrt@sc3d.org> in
10443 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10444
10445 2013-04-27 Leo Liu <sdl.web@gmail.com>
10446
10447 * progmodes/octave.el (octave-function-file-p)
10448 (octave-skip-comment-forward, octave-function-file-comment)
10449 (octave-update-function-file-comment): New functions.
10450 (octave-mode-map): Bind C-c ; to
10451 octave-update-function-file-comment.
10452 (octave-mode-menu): Add octave-update-function-file-comment.
10453 (octave-mode, inferior-octave-mode): Fix doc-string.
10454 (octave-insert-defun): Conform to Octave's coding convention.
10455 (Bug#14285)
10456
10457 * files.el (basic-save-buffer): Don't let errors in
10458 before-save-hook prevent saving buffer.
10459
10460 2013-04-20 Roland Winkler <winkler@gnu.org>
10461
10462 * faces.el (read-face-name): Use completing-read if arg multiple
10463 is nil.
10464
10465 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10466
10467 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10468 displayed, move point to after the totals line.
10469 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10470 for the details.
10471
10472 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10473
10474 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10475 Add current dir to the load-path.
10476 (package-generate-autoloads): Don't rely on
10477 autoload-ensure-default-file.
10478
10479 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10480
10481 * textmodes/remember.el (remember-store-in-files): Document that
10482 the file name format is passed to `format-time-string'.
10483
10484 2013-04-26 Leo Liu <sdl.web@gmail.com>
10485
10486 * progmodes/octave.el (octave-sync-function-file-names): New function.
10487 (octave-mode): Use it in before-save-hook.
10488
10489 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10492 (bug#14274).
10493
10494 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10495 \n and comment, even if it's not an implicit ; (bug#14218).
10496
10497 2013-04-26 Glenn Morris <rgm@gnu.org>
10498
10499 * subr.el (read-number): Once more use `read' rather than
10500 `string-to-number', to trap non-numeric input. (Bug#14254)
10501
10502 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10503
10504 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10505 Use `syntax-multiline' text property consistently instead of
10506 `font-lock-multiline'. (Bug#14237)
10507
10508 2013-04-26 Glenn Morris <rgm@gnu.org>
10509
10510 * emacs-lisp/shadow.el (list-load-path-shadows):
10511 No longer necessary to check for duplicate simple.el, since
10512 2012-07-07 change to init_lread to not include installation lisp
10513 directories in load-path when running uninstalled. (Bug#14270)
10514
10515 2013-04-26 Leo Liu <sdl.web@gmail.com>
10516
10517 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10518 (octave-mode, inferior-octave-mode): Use setq-local.
10519 (octave-not-in-string-or-comment-p): Rename to
10520 octave-in-string-or-comment-p.
10521 (octave-in-comment-p, octave-in-string-p)
10522 (octave-in-string-or-comment-p): Replace defsubst with defun.
10523
10524 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10525
10526 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10527
10528 2013-04-25 Bastien Guerry <bzg@gnu.org>
10529
10530 * textmodes/remember.el (remember-data-directory)
10531 (remember-directory-file-name-format): Fix custom types.
10532
10533 2013-04-25 Leo Liu <sdl.web@gmail.com>
10534
10535 * progmodes/octave.el (octave-completion-at-point-function):
10536 Make use of inferior octave process.
10537 (octave-initialize-completions): Remove.
10538 (inferior-octave-completion-table): New function.
10539 (inferior-octave-completion-at-point): Use it.
10540 (octave-completion-alist): Remove.
10541
10542 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10545 (opascal-mode-syntax-table): New var.
10546 (opascal-literal-kind, opascal-is-literal-end)
10547 (opascal-literal-token-at): Rewrite.
10548 (opascal--literal-start-re, opascal-font-lock-keywords)
10549 (opascal--syntax-propertize): New constants.
10550 (opascal-font-lock-defaults): Adjust.
10551 (opascal-mode): Use them. Set comment-<foo> variables as well.
10552 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10553 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10554 (delphi-other-face, opascal-other-face): Remove face variables.
10555 (opascal-save-state): Remove macro.
10556 (opascal-fontifying-progress-step): Remove constant.
10557 (opascal--ignore-changes): Remove var.
10558 (opascal-set-token-property, opascal-parse-next-literal)
10559 (opascal-is-stable-literal, opascal-complete-literal)
10560 (opascal-is-literal-start, opascal-face-of)
10561 (opascal-parse-region, opascal-parse-region-until-stable)
10562 (opascal-fontify-region, opascal-after-change)
10563 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10564 (opascal-debug-parse-region, opascal-debug-parse-window)
10565 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10566 (opascal-debug-fontify-buffer): Remove.
10567 (opascal-debug-mode-map): Adjust accordingly.
10568
10569 2013-04-25 Leo Liu <sdl.web@gmail.com>
10570
10571 Merge octave-mod.el and octave-inf.el into octave.el with some
10572 cleanups.
10573 * progmodes/octave.el: New file renamed from octave-mod.el.
10574 * progmodes/octave-inf.el: Merged into octave.el.
10575 * progmodes/octave-mod.el: Renamed to octave.el.
10576
10577 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10578
10579 * textmodes/reftex-vars.el
10580 (reftex-label-ignored-macros-and-environments): New defcustom.
10581
10582 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10583
10584 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10585
10586 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10587 (smie-indent-keyword): Improve the check to ensure that the next
10588 comment is really on the same line.
10589 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10590
10591 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10592 semi-colons if the line is not otherwise empty (bug#14218).
10593
10594 2013-04-25 Glenn Morris <rgm@gnu.org>
10595
10596 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10597
10598 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * progmodes/opascal.el (opascal-set-token-property): Rename from
10601 opascal-set-text-properties and only set `token' (bug#14134).
10602 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10603 (opascal-literal-text-properties): Remove.
10604 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10605 Adjust callers.
10606
10607 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10608
10609 * textmodes/remember.el (remember-handler-functions): Add an
10610 option for a new handler `remember-store-in-files'.
10611 (remember-data-directory, remember-directory-file-name-format):
10612 New options.
10613 (remember-store-in-files): New function to store remember notes
10614 as separate files within a directory.
10615
10616 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10617
10618 * progmodes/compile.el (compilation-next-error-function):
10619 Pass "formats" to compilation-find-file (bug#11777).
10620
10621 2013-04-24 Glenn Morris <rgm@gnu.org>
10622
10623 * vc/vc-bzr.el (vc-bzr-print-log):
10624 * vc/vc-hg.el (vc-hg-print-log):
10625 * vc/vc-svn.el (vc-svn-print-log):
10626 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10627
10628 * vc/vc-bzr.el (vc-bzr-print-log):
10629 * vc/vc-cvs.el (vc-cvs-print-log):
10630 * vc/vc-git.el (vc-git-print-log):
10631 * vc/vc-hg.el (vc-hg-print-log):
10632 * vc/vc-mtn.el (vc-mtn-print-log):
10633 * vc/vc-rcs.el (vc-rcs-print-log):
10634 * vc/vc-sccs.el (vc-sccs-print-log):
10635 * vc/vc-svn.el (vc-svn-print-log):
10636 * vc/vc.el (vc-print-log-internal): Doc fixes.
10637
10638 2013-04-23 Glenn Morris <rgm@gnu.org>
10639
10640 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10641 Remove venerable code attempting to avoid substitute-command-keys.
10642
10643 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10644
10645 * textmodes/reftex-vars.el (reftex-label-regexps):
10646 Call `reftex-compile-variables' after changes to this variable.
10647
10648 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10651 Use lexical-binding.
10652 (jit-lock-force-redisplay): Use markers, check buffer's continued
10653 existence and beware narrowed buffers.
10654 (jit-lock-fontify-now): Adjust call accordingly.
10655
10656 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10659 to avoid misleading the user.
10660
10661 2013-04-22 Leo Liu <sdl.web@gmail.com>
10662
10663 * info-look.el: Prefer latex2e.info. (Bug#14240)
10664
10665 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10666
10667 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10668
10669 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10670 * net/tramp.el (tramp-call-process): ... here.
10671 (tramp-set-completion-function, tramp-parse-putty):
10672 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10673 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10674 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10675 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10676 (tramp-call-local-coding-command): Use `tramp-call-process'
10677 instead of `tramp-compat-call-process'.
10678
10679 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10680 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10681 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10682 (tramp-find-inline-compress): Improve traces.
10683 (tramp-maybe-send-script): Check for Perl binary.
10684 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10685
10686 2013-04-22 Daiki Ueno <ueno@gnu.org>
10687
10688 * epg.el (epg-context-pinentry-mode): New function.
10689 (epg-context-set-pinentry-mode): New function.
10690 (epg--start): Pass --pinentry-mode option to gpg command.
10691
10692 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10693
10694 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10695 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10696 `completion-at-point'. (Bug#13774)
10697
10698 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10699 default key binding for `describe-distribution' has been moved to
10700 `C-h C-o'. (Bug#13970)
10701
10702 2013-04-21 Glenn Morris <rgm@gnu.org>
10703
10704 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10705 Add doc strings.
10706 (vc-print-log): Clarify interactive prompt.
10707
10708 2013-04-20 Glenn Morris <rgm@gnu.org>
10709
10710 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10711 No longer include timestamp etc information.
10712
10713 2013-04-20 Roland Winkler <winkler@gnu.org>
10714
10715 * faces.el (read-face-name): Bug fix, return just one face if arg
10716 multiple is nil. (Bug#14209)
10717
10718 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10721 (remove-function): Autoload.
10722
10723 * comint.el (comint-redirect-original-filter-function): Remove.
10724 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10725 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10726 (vc-cvs-annotate-command):
10727 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10728 * progmodes/prolog.el (prolog-consult-compile):
10729 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10730 Use add/remove-function instead.
10731 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10732 (gud-tooltip-process-output, gud-tooltip-tips):
10733 Use add/remove-function instead.
10734 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10735 (scheme-interaction-mode, exit-scheme-interaction-mode):
10736 Use add/remove-function instead.
10737
10738 * vc/vc-dispatcher.el: Use lexical-binding.
10739 (vc--process-sentinel): Rename from vc-process-sentinel.
10740 Change last arg to be the code to run. Don't use vc-previous-sentinel
10741 and vc-sentinel-commands any more.
10742 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10743 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10744
10745 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10746
10747 * progmodes/sh-script.el (sh-imenu-generic-expression):
10748 Handle function names with a single character. (Bug#14111)
10749
10750 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10751
10752 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10753 for subroutines defined in an eval (bug#14182).
10754
10755 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10756
10757 * bookmark.el (bookmark-completing-read): Improve handling of empty
10758 string (bug#14176).
10759
10760 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10763
10764 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10765
10766 New faster Imenu implementation (bug#14058).
10767 * progmodes/python.el:
10768 (python-imenu-prev-index-position):
10769 (python-imenu-format-item-label-function)
10770 (python-imenu-format-parent-item-label-function)
10771 (python-imenu-format-parent-item-jump-label-function):
10772 New vars.
10773 (python-imenu-format-item-label)
10774 (python-imenu-format-parent-item-label)
10775 (python-imenu-format-parent-item-jump-label)
10776 (python-imenu--put-parent, python-imenu--build-tree)
10777 (python-imenu-create-index, python-imenu-create-flat-index)
10778 (python-util-popn): New functions.
10779 (python-mode): Set imenu-create-index-function to
10780 python-imenu-create-index.
10781
10782 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * winner.el (winner-active-region): Use region-active-p, activate-mark
10785 and deactivate-mark (bug#14225).
10786
10787 * simple.el (deactivate-mark): Don't inline it.
10788
10789 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10790
10791 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10792
10793 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10794
10795 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10796 file extensions from the archive-mode entry in order to prefer
10797 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10798
10799 2013-04-18 Leo Liu <sdl.web@gmail.com>
10800
10801 * bindings.el (help-event-list): Add ?\?.
10802
10803 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * subr.el (with-wrapper-hook): Declare obsolete.
10806 * simple.el (filter-buffer-substring-function): New hook.
10807 (filter-buffer-substring): Use it.
10808 (filter-buffer-substring-functions): Mark obsolete.
10809 * minibuffer.el (completion-in-region-function): New hook.
10810 (completion-in-region): Use it.
10811 (completion-in-region-functions): Mark obsolete.
10812 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10813 * abbrev.el (abbrev-expand-function): New hook.
10814 (expand-abbrev): Use it.
10815 (abbrev-expand-functions): Mark obsolete.
10816 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10817 and :filter-return.
10818
10819 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10820
10821 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10822 and do not care about match data.
10823
10824 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10827 completion tables when completing error conditions and
10828 `declare' arguments.
10829 (lisp-complete-symbol, field-complete): Mark as obsolete.
10830 (check-parens): Unmatched parens are user errors.
10831 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10832
10833 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10834
10835 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10836 command changed buffer (ie. `flyspell-pre-buffer' is not current
10837 buffer), which prevents making decisions based on invalid value of
10838 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10839 cause an error when `flyspell-pre-point' was nil after switching
10840 buffers.
10841 (flyspell-post-command-hook): No longer needs to change buffers when
10842 checking pre-word. While at it remove unnecessary progn.
10843
10844 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10845
10846 * textmodes/ispell.el (ispell-add-per-file-word-list):
10847 Fix `flyspell-correct-word-before-point' error when accepting
10848 words and `coment-padding' is an integer by using
10849 `comment-normalize-vars' (Bug #14214).
10850
10851 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10852
10853 New defun movement commands.
10854 * progmodes/python.el (python-nav--syntactically)
10855 (python-nav--forward-defun, python-nav-backward-defun)
10856 (python-nav-forward-defun): New functions.
10857
10858 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10859
10860 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10861 (python-syntax-context): Use named compiler-macro for backwards
10862 compatibility with Emacs 24.x.
10863
10864 2013-04-17 Leo Liu <sdl.web@gmail.com>
10865
10866 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10867 octave-hide-process-buffer.
10868
10869 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10872 (bug#14216).
10873
10874 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10875
10876 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10877 Fix adjustment of offset when receiving incomplete responses from GDB
10878 (bug#14129).
10879
10880 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10883 python-mode-abbrev-table.
10884 (python-skeleton-define): Adjust accordingly.
10885 (python-mode-abbrev-table): New table that inherits from it so that
10886 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10887
10888 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10889 (abbrev-symbol): Use it.
10890 (abbrev--before-point): Use it since we already handle inheritance.
10891
10892 2013-04-16 Leo Liu <sdl.web@gmail.com>
10893
10894 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10895 binding to info-lookup-symbol.
10896
10897 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10898
10899 * minibuffer.el (completion--twq-all):
10900 * term/ns-win.el (ns-initialize-window-system):
10901 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10902
10903 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10904
10905 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10906 global bindings.
10907
10908 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10909
10910 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10911
10912 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10913 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10914 to nil.
10915 (ruby-end-of-defun): Remove the unused arg, change the docstring
10916 to reflect that this function is only used as the value of
10917 `end-of-defun-function'.
10918 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10919 to reflect an earlier change that beginning/end-of-defun functions
10920 jump between methods in a class definition, as well as top-level
10921 functions.
10922
10923 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10924
10925 * minibuffer.el (minibuffer-complete): Don't just scroll
10926 a *Completions* that's been iconified.
10927 (minibuffer-force-complete): Make sure repetitions do cycle when going
10928 through completion-in-region -> minibuffer-complete.
10929
10930 2013-04-15 Alan Mackenzie <acm@muc.de>
10931
10932 Correct the placement of c-cpp-delimiters when there're #s not at
10933 col 0.
10934
10935 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10936 place a submatch around the #.
10937 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10938 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10939 on the #, not BOL.
10940
10941 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10944 (advice--member-p): New arg `name'.
10945 (advice--add-function, advice-member-p): Use it (bug#14202).
10946
10947 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10948
10949 Reformulate java imenu-generic-expression.
10950 The old expression contained ill formed regexps.
10951
10952 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10953 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10954 (cc-imenu-java-method-arg-regexp): New defconsts.
10955 (cc-imenu-java-build-type-args-regex): New defun.
10956 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10957 handling of spaces in the regexp.
10958
10959 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10960
10961 * textmodes/ispell.el (ispell-command-loop): Remove
10962 flyspell highlight of a word when ispell accepts it (bug #14178).
10963
10964 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10965
10966 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10967 uses code from the previous `ange-ftp-run-real-handler'.
10968 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10969 only in case that function exist. This is needed for proper
10970 unloading of Tramp.
10971
10972 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10973
10974 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10975
10976 * textmodes/reftex.el (reftex-compile-variables): Use it.
10977
10978 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 * files.el (normal-mode): Only use default major-mode if no other mode
10981 was specified.
10982
10983 * emacs-lisp/trace.el (trace-values): New function.
10984
10985 * files.el: Allow : in local variables (bug#14089).
10986 (hack-local-variable-regexp): New var.
10987 (hack-local-variables-prop-line, hack-local-variables): Use it.
10988
10989 2013-04-13 Roland Winkler <winkler@gnu.org>
10990
10991 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10992 data before it gets modified by bibtex-beginning-of-entry.
10993
10994 2013-04-13 Roland Winkler <winkler@gnu.org>
10995
10996 * textmodes/bibtex.el (bibtex-url): Doc fix.
10997
10998 2013-04-13 Roland Winkler <winkler@gnu.org>
10999
11000 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11001 does not visit a BibTeX file, exclude it from the list of buffers
11002 returned by bibtex-initialize.
11003
11004 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11005
11006 * window.el (split-window): Remove interactive form, since as a
11007 command this function is a special case of split-window-below.
11008 Correct doc string.
11009
11010 2013-04-12 Roland Winkler <winkler@gnu.org>
11011
11012 * faces.el (read-face-name): Do not override value of arg default.
11013 Allow single faces and strings as default values. Remove those
11014 elements from return value that are not faces.
11015 (describe-face): Simplify.
11016 (face-at-point): New optional args thing and multiple so that this
11017 function can provide the same functionality previously provided by
11018 read-face-name.
11019 (make-face-bold, make-face-unbold, make-face-italic)
11020 (make-face-unitalic, make-face-bold-italic, invert-face)
11021 (modify-face, read-face-and-attribute): Use face-at-point.
11022
11023 * cus-edit.el (customize-face, customize-face-other-window)
11024 * cus-theme.el (custom-theme-add-face)
11025 * face-remap.el (buffer-face-set)
11026 * facemenu.el (facemenu-set-face): Use face-at-point.
11027
11028 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11029
11030 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11031
11032 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11033
11034 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11035 off leading { and trailing } from field values.
11036
11037 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11038
11039 * emacs-lisp/timer.el (timer--check): New function.
11040 (timer--time, timer-set-function, timer-event-handler): Use it.
11041 (timer-set-idle-time): Simplify.
11042 (timer--activate): CSE.
11043 (timer-event-handler): Give more info in error message.
11044 (internal-timer-start-idle): New function, moved from C.
11045
11046 * mpc.el (mpc-proc): Add `restart' argument.
11047 (mpc-proc-cmd): Use it.
11048 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11049 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11050 less often.
11051
11052 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11053
11054 * progmodes/sh-script.el: Implement `sh-mode' own
11055 `add-log-current-defun-function' (bug#14112).
11056 (sh-current-defun-name): New function.
11057 (sh-mode): Use the function.
11058
11059 2013-04-09 Bastien Guerry <bzg@gnu.org>
11060
11061 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11062
11063 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11064
11065 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11066
11067 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11068 timer (bug#14156).
11069
11070 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11071
11072 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11073 declaration.
11074
11075 2013-04-07 Leo Liu <sdl.web@gmail.com>
11076
11077 * pcmpl-x.el: New file.
11078
11079 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11080
11081 Do not set x-display-name until X connection is established.
11082 This is needed to prevent from weird situation described at
11083 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11084 * frame.el (make-frame): Set x-display-name after call to
11085 window system initialization function, not before.
11086 * term/x-win.el (x-initialize-window-system): Add optional
11087 display argument and use it.
11088 * term/w32-win.el (w32-initialize-window-system):
11089 * term/ns-win.el (ns-initialize-window-system):
11090 * term/pc-win.el (msdos-initialize-window-system):
11091 Add compatible optional display argument.
11092
11093 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11094
11095 * files.el (normal-backup-enable-predicate): On MS-Windows and
11096 MS-DOS compare truenames of temporary-file-directory and of the
11097 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11098 don't fail comparison by compare-strings. Also, compare file
11099 names case-insensitively on MS-Windows and MS-DOS.
11100
11101 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11102
11103 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11104 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11105
11106 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11107
11108 * whitespace.el (whitespace-color-on, whitespace-color-off):
11109 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11110
11111 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11112
11113 * ispell.el (ispell-set-spellchecker-params):
11114 Really set `ispell-args' for all equivs.
11115
11116 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11117
11118 * ido.el (ido-completions): Use extra elements of ido-decorations
11119 (bug#14143).
11120 (ido-decorations): Update docstring.
11121
11122 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11123
11124 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11125 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11126 nil during initialization, in order not to miss changes since the
11127 file was opened. (Bug#14140)
11128
11129 2013-04-05 Leo Liu <sdl.web@gmail.com>
11130
11131 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11132
11133 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11134
11135 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11136
11137 2013-04-04 Glenn Morris <rgm@gnu.org>
11138
11139 * electric.el (electric-pair-inhibit-predicate): Add :version.
11140
11141 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11144 when a package is required several times (bug#14082).
11145
11146 2013-04-04 Roland Winkler <winkler@gnu.org>
11147
11148 * faces.el (read-face-name): Behave as promised by the docstring.
11149 Assume that arg default is a list of faces.
11150 (describe-face): Call read-face-name with list of default faces.
11151
11152 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11153
11154 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11155 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11156 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11157 the header.
11158 (bookmark-exit-hook-internal): Save even if list is empty.
11159
11160 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11161
11162 * emacs-lisp/package.el (package-pinned-packages): New var.
11163 (package--add-to-archive-contents): Obey it (bug#14118).
11164
11165 2013-04-03 Alan Mackenzie <acm@muc.de>
11166
11167 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11168 Also adapt to the new values of element 7 of a parse state.
11169
11170 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11171 parameter `not-in-delimiter'. Handle being inside comment opener.
11172 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11173 character in case we're typing a '*' after a '/'.
11174 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11175 instead by passing the parameter to c-state-pp-to-literal.
11176
11177 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11178 for elt. 7 of a parse state.
11179
11180 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11181
11182 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11183 * international/latin1-disp.el, international/mule-util.el:
11184 * language/cyril-util.el, language/european.el, language/ind-util.el:
11185 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11186 * language/tibetan.el, language/viet-util.el:
11187 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11188
11189 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11192 (electric-pair-post-self-insert-function): Use it.
11193 (electric-pair-default-inhibit): New function, extracted from
11194 electric-pair-post-self-insert-function.
11195
11196 2013-03-31 Roland Winkler <winkler@gnu.org>
11197
11198 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11199
11200 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11203
11204 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11205
11206 Un-indent after "pass" and "return" statements (Bug#13888)
11207 * progmodes/python.el (python-indent-block-enders): New var.
11208 (python-indent-calculate-indentation): Use it.
11209
11210 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11211
11212 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11213 defun. Defining it as defalias could introduce too eager
11214 byte-compiler optimization. (Bug#14030)
11215
11216 2013-03-30 Chong Yidong <cyd@gnu.org>
11217
11218 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11219
11220 2013-03-30 Leo Liu <sdl.web@gmail.com>
11221
11222 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11223 (kmacro-execute-from-register): Pass the keyboard macro to
11224 kmacro-call-macro or repeating won't work correctly.
11225
11226 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11227
11228 * progmodes/subword.el: Back to using `forward-symbol'.
11229
11230 * subr.el (forward-whitespace, forward-symbol)
11231 (forward-same-syntax): Move from thingatpt.el.
11232
11233 2013-03-29 Leo Liu <sdl.web@gmail.com>
11234
11235 * kmacro.el (kmacro-to-register): New command.
11236 (kmacro-execute-from-register): New function.
11237 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11238
11239 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11240
11241 * mpc.el: Use defvar-local and setq-local.
11242 (mpc--proc-connect): Connection failures are not bugs.
11243 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11244 (mpc-volume-map): Bind to the up-events.
11245
11246 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11247
11248 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11249 instead of `forward-symbol'.
11250
11251 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11252
11253 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11254 (edebug--recursive-edit): Use it.
11255 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11256 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11257
11258 2013-03-28 Leo Liu <sdl.web@gmail.com>
11259
11260 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11261
11262 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11263
11264 * facemenu.el (list-colors-callback): New defvar.
11265 (list-colors-redisplay): New function.
11266 (list-colors-display): Install list-colors-redisplay as the
11267 revert-buffer-function. (Bug#14063)
11268
11269 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11270
11271 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11272 and suffixes don't overlap (bug#14061).
11273
11274 * case-table.el: Use lexical-binding.
11275 (case-table-get-table): New function.
11276 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11277
11278 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11279
11280 * progmodes/subword.el: Add `superword-mode' to do word motion
11281 over symbol_words (parallels and leverages `subword-mode' which
11282 does word motion inside MixedCaseWords).
11283
11284 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11285
11286 * eshell/em-unix.el: Move su and sudo to...
11287 * eshell/em-tramp.el: ...Eshell tramp module.
11288
11289 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11292 Change return value to be a sexp. Delay `get-buffer' to after
11293 restoring the desktop (bug#13951).
11294
11295 2013-03-26 Leo Liu <sdl.web@gmail.com>
11296
11297 * register.el: Move semantic tag handling back to
11298 cedet/semantic/senator.el. (Bug#14052)
11299
11300 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11303 into the prompt either (bug#13963).
11304
11305 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11306
11307 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11308 part of "(error-foo)".
11309
11310 2013-03-24 Juri Linkov <juri@jurta.org>
11311
11312 * replace.el (list-matching-lines-prefix-face): New defcustom.
11313 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11314 `occur-engine' if `face-differs-from-default-p' returns t.
11315 (occur-engine): Add `,' inside backquote construct to evaluate
11316 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11317 Pass `prefix-face' to the functions `occur-context-lines' and
11318 `occur-engine-add-prefix'.
11319 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11320 `prefix-face' and propertize the prefix with `prefix-face'.
11321 (Bug#14017)
11322
11323 2013-03-24 Leo Liu <sdl.web@gmail.com>
11324
11325 * nxml/rng-valid.el (rng-validate-while-idle)
11326 (rng-validate-quick-while-idle): Guard against deleted buffer.
11327 (Bug#13999)
11328
11329 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11330 is the last entry in kill-buffer-hook.
11331
11332 * files.el (kill-buffer-hook): Doc fix.
11333
11334 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11335
11336 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11337 Make it safe-local.
11338
11339 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11340
11341 2013-03-23 Leo Liu <sdl.web@gmail.com>
11342
11343 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11344 Remove.
11345
11346 * nxml/rng-valid.el (rng-validate-mode)
11347 (rng-after-change-function, rng-do-some-validation):
11348 * nxml/rng-maint.el (rng-validate-buffer):
11349 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11350 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11351 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11352 (nxml-extend-after-change-region): Use with-silent-modifications.
11353
11354 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11355 timer-idle-list.
11356
11357 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11358 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11359 timer-idle-list. (Bug#13999)
11360
11361 2013-03-23 Juri Linkov <juri@jurta.org>
11362
11363 * info.el (info-index-match): New face.
11364 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11365 main pattern and add text properties with the new face to matches
11366 in index entries relative to the beginning of the index entry.
11367 (Bug#14015)
11368
11369 2013-03-21 Eric Ludlam <zappo@gnu.org>
11370
11371 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11372 Inhibit read only while inserting objects.
11373
11374 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11375
11376 * progmodes/cfengine.el: Update docs to mention
11377 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11378 symbol motion. Remove "_" from the word syntax.
11379
11380 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11381
11382 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11383 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11384
11385 2013-03-20 Juri Linkov <juri@jurta.org>
11386
11387 * info.el (Info-next-reference-or-link)
11388 (Info-prev-reference-or-link): New functions.
11389 (Info-next-reference, Info-prev-reference): Use them.
11390 (Info-try-follow-nearest-node): Handle footnote navigation.
11391 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11392
11393 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11394
11395 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11396 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11397
11398 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11399
11400 Suppress unnecessary non-ASCII chatter during build process.
11401 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11402 (batch-skkdic-convert): Suppress most of the chatter.
11403 It's not needed so much now that machines are faster,
11404 and its non-ASCII component was confusing; see Dmitry Gutov in
11405 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11406
11407 2013-03-20 Leo Liu <sdl.web@gmail.com>
11408
11409 * ido.el (ido-chop): Fix bug#10994.
11410
11411 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11412
11413 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11414 Remove vars.
11415 (whitespace-color-on, whitespace-color-off):
11416 Use `font-lock-fontify-buffer' (Bug#13817).
11417
11418 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11419
11420 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11421 remapping in mode-line.
11422 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11423
11424 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11425
11426 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11427 value for `whitespace-line' face (Bug#13875).
11428 (whitespace-font-lock-keywords): Change description.
11429 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11430 the constructed keywords instead.
11431 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11432
11433 2013-03-19 Leo Liu <sdl.web@gmail.com>
11434
11435 * progmodes/compile.el (compilation-display-error): New command.
11436 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11437 C-o. (Bug#13992)
11438
11439 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11440
11441 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11442
11443 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11444
11445 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11446
11447 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11448
11449 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11450
11451 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11452 * net/tramp-gvfs.el (top):
11453 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11454 (tramp-handle-shell-command): Use it.
11455 (tramp-dissect-file-name): Raise an error when hostname is a
11456 method name, and neither method nor user is specified.
11457
11458 * net/trampver.el: Update release number.
11459
11460 2013-03-18 Leo Liu <sdl.web@gmail.com>
11461
11462 Make sure eldoc can be turned off properly.
11463 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11464 eldoc-mode.
11465 (eldoc-display-message-p): Revert last change.
11466 (eldoc-display-message-no-interference-p)
11467 (eldoc-print-current-symbol-info): Tweak.
11468
11469 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11470
11471 * doc-view.el (doc-view-new-window-function): Check the new window
11472 overlay's display property instead the char property of the
11473 buffer's first char. Use `with-selected-window' instead of
11474 `save-window-excursion' with `select-window'.
11475 (doc-view-document->bitmap): Check the current doc-view overlay's
11476 display property instead the char property of the buffer's first char.
11477
11478 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11479
11480 Automate the build of ja-dic.el (Bug#13984).
11481 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11482 from the input, rather than assume that it's been done for us by the
11483 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11484 the current date into a ja-dic.el comment, as that complicates
11485 regression testing.
11486
11487 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * whitespace.el: Fix double evaluation.
11490 (whitespace-space, whitespace-hspace, whitespace-tab)
11491 (whitespace-newline, whitespace-trailing, whitespace-line)
11492 (whitespace-space-before-tab, whitespace-indentation)
11493 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11494 obsolete defvars.
11495 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11496 (whitespace-color-on): Use a single font-lock-add-keywords call.
11497 Fix double-evaluation of face variables.
11498
11499 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11500
11501 * net/tramp-adb.el (tramp-adb-parse-device-names):
11502 Use `start-process' instead of `call-process'. Otherwise, the
11503 function might be blocked under MS Windows. (Bug#13299)
11504
11505 2013-03-17 Leo Liu <sdl.web@gmail.com>
11506
11507 Extend eldoc to display info in the mode-line. (Bug#13978)
11508 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11509 (eldoc-mode-line-string): New variable.
11510 (eldoc-minibuffer-message): New function.
11511 (eldoc-message-function): New variable.
11512 (eldoc-message): Use it.
11513 (eldoc-display-message-p)
11514 (eldoc-display-message-no-interference-p):
11515 Support eldoc-post-insert-mode.
11516
11517 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11518 (eval-expression): Run it.
11519
11520 2013-03-17 Roland Winkler <winkler@gnu.org>
11521
11522 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11523 strings in the list of return values.
11524
11525 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11526
11527 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11528 radix before checking for HMS forms.
11529
11530 2013-03-16 Leo Liu <sdl.web@gmail.com>
11531
11532 * progmodes/scheme.el: Add indentation and font-locking for λ.
11533 (Bug#13975)
11534
11535 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11536
11537 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11538 token before point (bug#13942).
11539
11540 2013-03-16 Leo Liu <sdl.web@gmail.com>
11541
11542 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11543
11544 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11545
11546 * startup.el (command-line-normalize-file-name): Fix handling of
11547 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11548 <xfq.free@gmail.com> in
11549 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11550
11551 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11552
11553 Sync with Tramp 2.2.7.
11554
11555 * net/trampver.el: Update release number.
11556
11557 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11558
11559 * doc-view.el: Fix bug#13887.
11560 (doc-view-insert-image): Don't modify overlay associated to
11561 non-live windows, and implement horizontal centering of image in
11562 case it's smaller than the window.
11563 (doc-view-new-window-function): Force redisplay of new windows on
11564 doc-view buffers.
11565
11566 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11567
11568 * saveplace.el (save-place-alist-to-file): Don't sort
11569 `save-place-alist', just pretty-print it (bug#13882).
11570
11571 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11572
11573 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11574 Check whether `default-file-name-coding-system' is bound.
11575 It isn't in XEmacs.
11576
11577 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11578
11579 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11580 backquotes for `obsolete' (bug#13929).
11581
11582 * international/mule.el (find-auto-coding): Include file name in
11583 obsolescence warning (bug#13922).
11584
11585 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11586
11587 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11588 for CFEngine 3-specific indentation.
11589 (cfengine3-indent-line): Use it. Fix up category regex.
11590 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11591
11592 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11593
11594 * type-break.el (type-break-file-name):
11595 * textmodes/remember.el (remember-data-file):
11596 * strokes.el (strokes-file):
11597 * shadowfile.el (shadow-initialize):
11598 * saveplace.el (save-place-file):
11599 * ps-bdf.el (bdf-cache-file):
11600 * progmodes/idlwave.el (idlwave-config-directory):
11601 * net/quickurl.el (quickurl-url-file):
11602 * international/kkc.el (kkc-init-file-name):
11603 * ido.el (ido-save-directory-list-file):
11604 * emulation/viper.el (viper-custom-file-name):
11605 * emulation/vip.el (vip-startup-file):
11606 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11607 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11608
11609 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11610
11611 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11612 * language/thai-word.el: Switch to UTF-8.
11613
11614 See ChangeLog.16 for earlier changes.
11615
11616 ;; Local Variables:
11617 ;; coding: utf-8
11618 ;; End:
11619
11620 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11621
11622 This file is part of GNU Emacs.
11623
11624 GNU Emacs is free software: you can redistribute it and/or modify
11625 it under the terms of the GNU General Public License as published by
11626 the Free Software Foundation, either version 3 of the License, or
11627 (at your option) any later version.
11628
11629 GNU Emacs is distributed in the hope that it will be useful,
11630 but WITHOUT ANY WARRANTY; without even the implied warranty of
11631 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11632 GNU General Public License for more details.
11633
11634 You should have received a copy of the GNU General Public License
11635 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.