f7caaf69358158d9b481b5a4abdc2beb7ba338d9
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2
3 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4 we run on MS-Windows or MS-DOS.
5
6 2013-12-24 Martin Rudalics <rudalics@gmx.at>
7
8 * window.el (balance-windows-area): Call window-size instead of
9 window-height and window-width. Bug#16241.
10
11 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12
13 * net/eww.el (eww-bookmark-quit): Remove.
14 (eww-bookmark-browse): Restore the window configuration when you
15 choose a bookmark (bug#16144).
16
17 2013-12-24 Daniel Colascione <dancol@dancol.org>
18
19 * icomplete.el: Remove redundant :group arguments to `defcustom'
20 throughout.
21 (icomplete-show-matches-on-no-input): New customizable variable.
22 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
23 we have something to show.
24 (icomplete-exhibit): Compute completions even if we have no user
25 input.
26
27 2013-12-23 Daniel Colascione <dancol@dancol.org>
28
29 * icomplete.el: Move `provide' to end of file.
30
31 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
32
33 * net/gnutls.el (gnutls-verify-error): Add version tag.
34
35 2013-12-23 Chong Yidong <cyd@gnu.org>
36
37 * subr.el (set-transient-map): Rename from
38 set-temporary-overlay-map. Doc fix.
39
40 * face-remap.el (text-scale-adjust):
41 * indent.el (indent-rigidly):
42 * kmacro.el (kmacro-call-macro):
43 * minibuffer.el (minibuffer-force-complete):
44 * repeat.el (repeat):
45 * simple.el (universal-argument--mode):
46 * calendar/todo-mode.el (todo-insert-item--next-param):
47 * progmodes/f90.el (f90-abbrev-start): Callers changed.
48
49 * indent.el (indent-rigidly): Use substitute-command-keys.
50
51 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
52
53 * net/eww.el (eww-tag-select): Add text-property to jump to next
54 select field.
55 (eww) : Add non-supported ftp error.
56
57 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
58
59 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
60 comments. Handle electric indent after typing `?' and `!'.
61
62 2013-12-22 Chong Yidong <cyd@gnu.org>
63
64 * faces.el (face-spec-recalc): If the theme specs are not
65 applicable to a frame, fall back on the defface spec. This
66 prevents themes from obliterating faces on low-color terminals.
67
68 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
69
70 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
71 after `{'. We need it after block openers, and it doesn't seem
72 to hurt after hash openers.
73
74 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
75
76 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
77 extracted from `ruby-smie-rules'.
78 (ruby--electric-indent-chars): New variable.
79 (ruby--electric-indent-p): New function.
80 (ruby-mode): Use `electric-indent-functions' instead of
81 `electric-indent-chars'.
82
83 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
84
85 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
86 docstring.
87 (ruby-smie-rules): Indent plus one level after `=>'.
88
89 2013-12-21 Richard Stallman <rms@gnu.org>
90
91 * simple.el (newline): Doc fix.
92
93 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
94
95 * net/eww.el (eww-list-histories, eww-list-histories)
96 (eww-history-browse, eww-history-quit, eww-history-kill)
97 (eww-history-mode-map, eww-history-mode): New command and
98 functions to list browser histories.
99 (eww-form-text): Support text form with disabled
100 and readonly attributes.
101 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
102
103 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
104
105 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
106 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
107 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
108 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
109 Use `user-error'.
110 (eww-bookmark-mode-map): Add menu.
111 (eww-render, eww-mode): Use `setq-local'.
112 (eww-tool-bar-map): New variable.
113 (eww-mode): Set `tool-bar-map'.
114 (eww-view-source): Check for `html-mode' with `fboundp'.
115
116 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
117
118 * net/shr.el (shr--extract-best-source): Don't bug out on audio
119 elements with text inside. Also remove debugging.
120
121 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
122
123 * cus-start.el (all): Add ns-use-srgb-colorspace.
124
125 2013-12-21 Chong Yidong <cyd@gnu.org>
126
127 * custom.el (custom-theme-recalc-face): Do nothing if the face is
128 undefined. Thus, theme settings for undefined faces do not take
129 effect until the faces are defined with defface, the same as with
130 theme variables.
131
132 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
133 (face-spec-reset-face): Don't assign extra properties in temacs.
134 (face-spec-recalc): Apply X resources too.
135
136 2013-12-21 Chong Yidong <cyd@gnu.org>
137
138 * faces.el (face-spec-set):
139 * cus-face.el (custom-theme-set-faces, custom-set-faces):
140 * custom.el (defface): Doc fixes (Bug#16203).
141
142 * indent.el (indent-rigidly-map): Add docstring, and move commands
143 into named functions.
144 (indent-rigidly-left, indent-rigidly-right)
145 (indent-rigidly-left-to-tab-stop)
146 (indent-rigidly-right-to-tab-stop): New functions. Decide on
147 indentation direction based on bidi direction, and accumulate
148 sequential commands in a single undo boundary.
149 (indent-rigidly--pop-undo): New utility function.
150
151 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
152
153 * faces.el (read-face-name): Require crm.el when using crm-separator.
154
155 2013-12-20 Daniel Colascione <dancol@dancol.org>
156
157 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
158 so that we don't reflow comments into the shebang line.
159
160 2013-12-20 Juri Linkov <juri@jurta.org>
161
162 * saveplace.el (save-place-to-alist): Add `dired-filename' as
163 a position when `dired-directory' is non-nil. Check integer
164 positions with `integerp'.
165 (toggle-save-place, save-places-to-alist): Add check for
166 `dired-directory'.
167 (save-place-find-file-hook): Check integer positions with
168 `integerp'.
169 (save-place-dired-hook): Use `dired-goto-file' when
170 `dired-filename' is found in the assoc list. Check integer
171 positions with `integerp'.
172 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
173
174 * dired.el (dired-initial-position-hook): Rename back from
175 `dired-initial-point-hook'.
176 (dired-initial-position): Rename `dired-initial-point-hook' to
177 `dired-initial-position-hook'.
178 (dired-file-name-at-point): Doc fix. (Bug#15329)
179
180 2013-12-20 Juri Linkov <juri@jurta.org>
181
182 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
183 (read-regexp-suggestions): New function.
184 (read-regexp): Use `read-regexp-defaults-function' to get default values.
185 Use `read-regexp-suggestions'. Add non-empty default to history
186 for empty input.
187 (occur-read-regexp-defaults-function): Remove function.
188 (occur-read-primary-args): Use `regexp-history-last' instead of
189 `occur-read-regexp-defaults-function'.
190
191 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
192 (hi-lock-line-face-buffer, hi-lock-face-buffer)
193 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
194 `hi-lock-read-regexp-defaults-function'. Doc fix.
195 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
196 with `find-tag-default-as-symbol-regexp'. Doc fix.
197 (hi-lock-read-regexp-defaults): Remove function.
198 (hi-lock-regexp-okay): Add check for null.
199
200 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
201 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
202
203 * subr.el (find-tag-default-as-symbol-regexp): New function.
204 (find-tag-default-as-regexp): Move symbol regexp formatting to
205 `find-tag-default-as-symbol-regexp'.
206
207 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
208
209 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
210 (Bug#14179)
211
212 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
213
214 * calendar/todo-mode.el: New implementation of item insertion
215 commands and key bindings.
216 (todo-key-prompt): New face.
217 (todo-insert-item): New command.
218 (todo-insert-item--parameters): New defconst, replacing defvar
219 todo-insertion-commands-args-genlist.
220 (todo-insert-item--param-key-alist): New defconst, replacing
221 defvar todo-insertion-commands-arg-key-list.
222 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
223 (todo-insert-item--argsleft, todo-insert-item--apply-args)
224 (todo-insert-item--next-param): New functions.
225 (todo-insert-item--args, todo-insert-item--argleft)
226 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
227 New variables.
228 (todo-key-bindings-t): Change binding of "i" from
229 todo-insertion-map to todo-insert-item.
230 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
231 (todo-insertion-command-name, todo-insertion-commands-names)
232 (todo-define-insertion-command, todo-insertion-commands)
233 (todo-insertion-key-bindings, todo-insertion-map): Remove.
234
235 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
236
237 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
238 (todo-toggle-item-highlighting): Use eval-and-compile instead of
239 eval-when-compile.
240 (todo-move-category): Allow choosing a non-existing todo file to
241 move the category to, and create that file.
242 (todo-default-priority): New user option.
243 (todo-set-item-priority): Use it.
244 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
245 (desktop-restore-file-buffer): Declare.
246 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
247 (todo-modes-set-2): Locally set desktop-save-buffer to
248 todo-desktop-save-buffer.
249 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
250 (auto-mode-alist): Add autoload cookie.
251
252 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
253
254 * emacs-lisp/subr-x.el: Renamed from helpers.el.
255 helpers.el was a poor choice of name.
256 (string-remove-prefix): New function.
257 (string-remove-suffix): New function.
258
259 2013-12-20 Martin Rudalics <rudalics@gmx.at>
260
261 Fix assignment for new window total sizes.
262 * window.el (window--pixel-to-size): Remove function.
263 (window--pixel-to-total-1, window--pixel-to-total):
264 Fix calculation of new total sizes.
265
266 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
267
268 * comint.el (comint-output-filter): Fix rear-nonsticky property
269 placement (Bug#16010).
270
271 2013-12-20 Chong Yidong <cyd@gnu.org>
272
273 * faces.el (read-color): Minor fix for completion function.
274
275 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
276
277 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
278 New option. (Bug#16182)
279 (ruby-smie--indent-to-stmt-p): Use it.
280 (ruby-smie-rules): Revert the logic in the handling of `when'.
281 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
282 (ruby-deep-arglist, ruby-deep-indent-paren)
283 (ruby-deep-indent-paren-style): Update docstrings to note that the
284 vars don't have any effect with SMIE.
285
286 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
287
288 * calc/calc.el (calc-enter, calc-pop): Use the variable
289 `calc-context-sensitive-enter'.
290
291 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
292
293 * net/shr.el (shr-insert): Protect against infloops in degenerate
294 tables.
295
296 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
297
298 * progmodes/octave.el (octave): Add link to manual and octave
299 homepage.
300 (octave-mode-menu): Link to octave-mode manual.
301
302 2013-12-20 Leo Liu <sdl.web@gmail.com>
303
304 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
305 insertion using skeleton-end-newline. (Bug#16138)
306
307 2013-12-20 Juri Linkov <juri@jurta.org>
308
309 * replace.el (occur-engine): Use `add-face-text-property'
310 to add the face property to matches and titles. (Bug#14645)
311
312 * hi-lock.el (hi-green): Use lighter color "light green" closer to
313 the palette of other hi-lock colors.
314 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
315
316 2013-12-19 Juri Linkov <juri@jurta.org>
317
318 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
319 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
320 (minibuffer-history-symbol): Move variable declaration closer to
321 its usage.
322
323 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
324 (Bug#14785)
325
326 2013-12-19 Juri Linkov <juri@jurta.org>
327
328 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
329 New function.
330 (log-edit-hook): Add it to :options. (Bug#16170)
331
332 2013-12-19 Juri Linkov <juri@jurta.org>
333
334 * simple.el (eval-expression-print-format): Don't check for
335 command names and the last command. Always display additional
336 formats of the integer result in the echo area, and insert them
337 to the current buffer only with a zero prefix arg.
338 Display character when char-displayable-p is non-nil.
339 (eval-expression): With a zero prefix arg, set `print-length' and
340 `print-level' to nil, and insert the integer values from
341 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
342
343 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
344 `eval-last-sexp-arg-internal'. Doc fix.
345 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
346 `eval-last-sexp-print-value'. Doc fix.
347 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
348 Set `print-length' and `print-level' to nil when arg is zero.
349 (eval-last-sexp): Doc fix.
350 (eval-defun-2): Print the integer values from
351 `eval-expression-print-format' at the end.
352
353 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
354 values from `eval-expression-print-format' at the end.
355
356 * ielm.el (ielm-eval-input): Print the integer
357 values from `eval-expression-print-format' at the end.
358
359 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
360
361 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
362 2013-12-11T19:01:44Z!tzz@lifelogs.com.
363
364 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
365
366 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
367 (hl-line-highlight, global-hl-line-highlight): Use it.
368 (hl-line-overlay): Use defvar-local.
369
370 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
371
372 * term/ns-win.el: Require dnd.
373 (global-map): Remove drag items.
374 (ns-insert-text, ns-set-foreground-at-mouse)
375 (ns-set-background-at-mouse):
376 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
377 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
378 New functions.
379
380 2013-12-19 Glenn Morris <rgm@gnu.org>
381
382 * emacs-lisp/ert.el (ert-select-tests):
383 Fix string/symbol mixup. (Bug#16121)
384
385 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
386
387 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
388 keywords to their parent.
389
390 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
391
392 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
393 first arg to be a string (fixed dead code), or an operator symbol.
394 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
395 operator symbols.
396 (ruby-smie-rules): Remove parent token check in the `.' clause, it
397 did nothing. Don't respond to `(:after ".")', it will be called
398 with :before anyway. Remove the ` @ ' rule, it didn't seem to
399 change anything. Only return indentation for binary operators
400 when they are hanging. De-dent opening paren when its parent is
401 `.', otherwise it looks bad when the dot is not at bol or eol
402 (bug#16182).
403
404 2013-12-19 Juri Linkov <juri@jurta.org>
405
406 * replace.el (query-replace-read-args): Split a non-negative arg
407 and a negative arg into separate elements.
408 (query-replace, query-replace-regexp, replace-string)
409 (replace-regexp): Add arg `backward'. Doc fix.
410 (replace-match-maybe-edit): When new arg `backward' is non-nil,
411 move point to the beginning of the match.
412 (replace-search, replace-highlight): Use new arg `backward'
413 to set the value of `isearch-forward'.
414 (perform-replace): Add arg `backward' and use it to perform
415 replacement backward. (Bug#14979)
416
417 * isearch.el (isearch-query-replace): Use a negative prefix arg
418 to call `perform-replace' with a non-nil arg `backward'.
419
420 2013-12-18 Juri Linkov <juri@jurta.org>
421
422 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
423 to the default list. Move `log-edit-show-files' to the end.
424 Add more available functions to options.
425 (log-edit): Move default specific settings to
426 `log-edit-insert-message-template'. Don't move point.
427 (log-edit-insert-message-template): New function.
428 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
429 (Bug#16170)
430
431 2013-12-18 Juri Linkov <juri@jurta.org>
432
433 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
434 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
435
436 2013-12-18 Leo Liu <sdl.web@gmail.com>
437
438 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
439
440 2013-12-18 Eli Zaretskii <eliz@gnu.org>
441
442 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
443 formats for displaying file sizes when the -s switch is given.
444 Instead, compute a separate format for displaying the size in
445 blocks, which is displayed in addition to the "regular" size.
446 When -h is given in addition to -s, produce size in blocks in
447 human-readable form as well. (Bug#16179)
448
449 2013-12-18 Tassilo Horn <tsdh@gnu.org>
450
451 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
452 Reference tables with ~\ref{...} instead of only \ref{...}.
453
454 2013-12-18 Chong Yidong <cyd@gnu.org>
455
456 * cus-edit.el (custom-magic-alist): Fix "themed" description
457 (Bug#14348).
458
459 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
460 is non-nil, do not create a new entry in the symbol's theme-value
461 or theme-face property; update theme-settings only (Bug#14664).
462 (custom-available-themes): Doc fix.
463
464 * cus-theme.el (custom-new-theme-mode-map): Add bindings
465 (Bug#15674).
466
467 * replace.el (occur-engine): Avoid infloop (Bug#7593).
468
469 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
470
471 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
472 (Bug#13914).
473
474 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
475
476 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
477
478 2013-12-18 Glenn Morris <rgm@gnu.org>
479
480 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
481 * cus-start.el (load-prefer-newer): New option.
482
483 2013-12-18 Le Wang <l26wang@gmail.com>
484
485 * comint.el (comint-previous-matching-input-from-input):
486 Retain point (Bug#13404).
487
488 2013-12-18 Chong Yidong <cyd@gnu.org>
489
490 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
491
492 2013-12-18 Glenn Morris <rgm@gnu.org>
493
494 * mail/emacsbug.el (report-emacs-bug):
495 Only mention enable-multibyte-characters if non-standard.
496
497 2013-12-17 Juri Linkov <juri@jurta.org>
498
499 * arc-mode.el (archive-extract-by-file): Check if directory exists
500 before deletion to not show irrelevant errors if it doesn't exist.
501
502 2013-12-17 Juri Linkov <juri@jurta.org>
503
504 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
505 (Bug#14751)
506
507 * net/eww.el (browse-web): Add alias to `eww'.
508 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
509 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
510
511 * net/browse-url.el (browse-url-browser-function): Move `eww'
512 closer to similar functions.
513
514 * startup.el (fancy-startup-screen, fancy-about-screen):
515 Set browse-url-browser-function to eww-browse-url locally.
516 (Bug#14751)
517
518 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * window.el (window--pixel-to-total): Remove unused `mini' var.
521 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
522 (split-window): Remove unused `new' var.
523 (window--display-buffer): Remove unused `frame' and `delta' vars.
524 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
525 and display-width'.
526
527 2013-12-17 Martin Rudalics <rudalics@gmx.at>
528
529 * dired.el (dired-mark-pop-up):
530 * register.el (register-preview): Don't bind
531 split-height-threshold here since it's now done in
532 display-buffer-below-selected.
533
534 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
535
536 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
537 xterm-rgb-convert-to-16bit.
538 (rxvt-register-default-colors): Standardize with
539 xterm-register-default-colors (Bug#14078).
540
541 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
542
543 * simple.el (kill-region): Pass mark first, then point, so that
544 kill-append works right (Bug#12819).
545 (copy-region-as-kill, kill-ring-save): Likewise.
546
547 2013-12-17 Leo Liu <sdl.web@gmail.com>
548
549 * net/rcirc.el (rcirc-add-face):
550 * eshell/em-prompt.el (eshell-emit-prompt):
551 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
552 (Bug#16167)
553
554 2013-12-17 Chong Yidong <cyd@gnu.org>
555
556 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
557 Suggested by Xue Fuqiao.
558
559 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
560
561 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
562
563 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * net/shr.el (shr-insert-document): Remove unused var
566 `shr-preliminary-table-render'.
567 (shr-rescale-image): Remove unused arg `force'.
568 (shr-put-image): Update calls accordingly.
569 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
570
571 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
572
573 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
574 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
575 :close-all, to see which indentation method to use (Bug#16116).
576 (smie-rules-function): Document the method :close-all.
577
578 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
579
580 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
581
582 * net/eww.el (eww-display-html): If we can't find the anchor we're
583 looking for, then go to point-min.
584
585 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
586
587 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
588 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
589 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
590 Expand dir too, in case it's relative.
591
592 2013-12-16 Juri Linkov <juri@jurta.org>
593
594 * desktop.el (desktop-auto-save-timeout): Change default to
595 `auto-save-timeout'. Doc fix.
596 (desktop-save): Skip the timestamp in desktop-saved-frameset
597 when checking for auto-save changes.
598 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
599 `desktop-auto-save' is called repeatedly by the idle timer.
600 (desktop-auto-save-set-timer): Replace `run-with-timer' with
601 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
602 (Bug#15331)
603
604 2013-12-16 Juri Linkov <juri@jurta.org>
605
606 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
607 (Bug#16035)
608 (isearch-pre-command-hook): Check `this-command' for symbolp.
609
610 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
611
612 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
613
614 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
615
616 * progmodes/cfengine.el (cfengine3--current-word): Remove.
617 (cfengine3--current-function): Bring in the current-function
618 functionality from `cfengine3--current-word'.
619 (cfengine3-completion-function): Bring in the
620 bounds-of-current-word functionality from
621 `cfengine3--current-word'.
622
623 2013-12-16 Martin Rudalics <rudalics@gmx.at>
624
625 * window.el (display-buffer-below-selected):
626 Bind split-height-threshold to 0 as suggested by Juri Linkov.
627
628 2013-12-16 Leo Liu <sdl.web@gmail.com>
629
630 * progmodes/compile.el (compile-goto-error): Do not push-mark.
631 Remove NOMSG arg and all uses changed.
632
633 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
636 (cua--deactivate-rectangle): Don't deactivate the mark.
637 (cua-set-rectangle-mark): Don't set mark-active since
638 cua--activate-rectangle already does it for us.
639 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
640 non-rectangular region.
641
642 * emulation/cua-base.el (cua-repeat-replace-region):
643 Use with-current-buffer.
644
645 * net/gnutls.el: Use cl-lib.
646 (gnutls-negotiate): `mapcan' -> cl-mapcan.
647
648 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
649
650 * emacs-lisp/package.el (package-built-in-p): Support both
651 built-in and the package.el converted package descriptions.
652 (package-show-package-list): Allow keywords.
653 (package-keyword-button-action): Use it instead of
654 `finder-list-matches'.
655 (package-menu-filter-interactive): Interactive filtering (by
656 keyword) function.
657 (package-menu--generate): Support keywords and change keymappings
658 and headers when they are given.
659 (package--has-keyword-p): Helper function.
660 (package-menu--refresh): Use it.
661 (package--mapc): Helper function.
662 (package-all-keywords): Use it.
663 (package-menu-mode-map): Set up menu items and keybindings to
664 provide a filtering UI.
665
666 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
667
668 * net/gnutls.el (gnutls-verify-error): New defcustom to control
669 the behavior when a certificate fails validation. Defaults to
670 old behavior: never abort, just warn.
671 (gnutls-negotiate): Use it.
672
673 2013-12-14 Martin Rudalics <rudalics@gmx.at>
674
675 * window.el (display-buffer-below-selected): Never split window
676 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
677
678 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
679
680 * emacs-lisp/package.el (package--prepare-dependencies): New function.
681 (package-buffer-info): Use it (bug#15108).
682
683 * icomplete.el (icomplete-completions): Make sure the prefix is already
684 displayed elsewhere before hiding it.
685
686 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
687
688 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
689 open-paren tokens when preceded by a open-paren, too.
690 (ruby-smie-rules): Handle virtual indentation after open-paren
691 tokens specially. If there is code between it and eol, return the
692 column where is starts (Bug#16118).
693
694 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
695
696 * progmodes/cfengine.el: Fix `add-hook' doc.
697 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
698 (cfengine3--current-word): Fix parameters.
699 (cfengine3-make-syntax-cache): Simplify further.
700 (cfengine3-completion-function, cfengine3--current-function):
701 Use `assq' for symbols.
702 (cfengine3--current-function): Fix `cfengine3--current-word' call.
703
704 2013-12-13 Glenn Morris <rgm@gnu.org>
705
706 * loadup.el (load-path): Warn if site-load or site-init changes it.
707 No more need to reset it when bootstrapping.
708
709 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
710
711 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
712 locations for cf-promises.
713 (cfengine-mode-syntax-functions-regex): New caching variable.
714 (cfengine3-fallback-syntax): Fallback syntax for cases where
715 cf-promises doesn't run.
716 (cfengine3--current-word): Reimplement using
717 `cfengine-mode-syntax-functions-regex'.
718 (cfengine3-completion-function, cfengine3--current-function):
719 Use `cfengine3-make-syntax-cache' directly.
720 (cfengine3-clear-syntax-cache): New function.
721 (cfengine3-make-syntax-cache): Simplify and create
722 `cfengine-mode-syntax-functions-regex' on demand.
723 (cfengine3-format-function-docstring): Don't call
724 `cfengine3-make-syntax-cache' explicitly.
725
726 2013-12-13 Martin Rudalics <rudalics@gmx.at>
727
728 Fix windmove-find-other-window broken after pixelwise resizing
729 (Bug#16017).
730 * windmove.el (windmove-other-window-loc): Revert change from
731 2013-12-04.
732 (windmove-find-other-window): Call window-in-direction.
733 * window.el (window-in-direction): New arguments SIGN, WRAP and
734 MINI to emulate original windmove-find-other-window behavior.
735
736 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
737
738 * simple.el (blink-matching--overlay): New variable.
739 (blink-matching-open): Instead of moving point, highlight the
740 matching paren with an overlay
741 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
742
743 * faces.el (paren-showing-faces, show-paren-match)
744 (show-paren-mismatch): Move from paren.el.
745
746 2013-12-13 Leo Liu <sdl.web@gmail.com>
747
748 * indent.el (indent-region): Disable progress reporter in
749 minibuffer. (Bug#16108)
750
751 * bindings.el (visual-order-cursor-movement): Fix version.
752
753 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
754
755 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
756 Also match after beginning of line.
757 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
758 files. Thanks to Russell Sim. (Bug#15378)
759
760 2013-12-13 Juri Linkov <juri@jurta.org>
761
762 * simple.el <Keypad support>: Remove key bindings duplicated
763 with bindings.el. (Bug#14397)
764
765 2013-12-13 Juri Linkov <juri@jurta.org>
766
767 * comint.el (comint-mode-map): Replace `delete-char' with
768 `delete-forward-char'. (Bug#16109)
769
770 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
771
772 * progmodes/python.el (python-indent-calculate-indentation):
773 Fix de-denters cornercase. (Bug#15731)
774
775 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
778 (advice--make): Pay attention to `depth'.
779 (advice--make-1): Don't autoload commands eagerly.
780 * emacs-lisp/elp.el (elp-instrument-function):
781 * emacs-lisp/trace.el (trace-function-internal):
782 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
783
784 * iswitchb.el (iswitchb-mode): Don't belittle ido.
785
786 2013-12-12 Eli Zaretskii <eliz@gnu.org>
787
788 * term/w32-win.el (w32-handle-dropped-file):
789 * startup.el (normal-top-level):
790 * net/browse-url.el (browse-url-file-url):
791 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
792 decode file names using 'utf-8' rather than
793 file-name-coding-system.
794
795 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
796
797 * progmodes/python.el (python-indent-context)
798 (python-indent-calculate-indentation): Fix auto-identation
799 behavior for comment blocks. (Bug#15916)
800
801 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
802
803 * progmodes/python.el (python-indent-calculate-indentation):
804 When determining indentation, don't treat "return", "pass", etc., as
805 operators when they are just string constituents. (Bug#15812)
806
807 2013-12-12 Juri Linkov <juri@jurta.org>
808
809 * uniquify.el (uniquify-buffer-name-style): Change default to
810 `post-forward-angle-brackets'.
811
812 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
813 `uniquify'. Change default to `post-forward-angle-brackets'.
814
815 2013-12-11 Glenn Morris <rgm@gnu.org>
816
817 * emacs-lisp/package.el (finder-list-matches):
818 Autoload rather than falsely declaring.
819
820 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
821
822 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
823 (eww-mode-map): Use them.
824
825 2013-12-11 Martin Rudalics <rudalics@gmx.at>
826
827 * window.el (display-buffer-in-side-window): Fix doc-string
828 (Bug#16115).
829
830 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
831
832 * vc/vc-git.el: Silence byte-compiler warnings.
833 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
834 (log-edit-set-header): Declare.
835
836 2013-12-11 Eli Zaretskii <eliz@gnu.org>
837
838 * Makefile.in (custom-deps, finder-data): Run output file names
839 through unmsys--file-name. (Bug#16099)
840
841 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
844 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
845
846 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
847 instead of deleting the selection "by hand" (bug#16098).
848 Rely on insert-for-yank to yank rectangles.
849 (cua-highlight-region-shift-only): Mark obsolete.
850 (cua-mode): Don't enable/disable transient-mark-mode,
851 shift-select-mode (cua-mode works both with and without them), and
852 pc-selection-mode (obsolete).
853 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
854 (cua--deactivate-rectangle): Deactivate it.
855
856 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
857 (delete-selection-helper): Make sure yank starts at the top of the
858 deleted region.
859 (minibuffer-keyboard-quit): Use region-active-p.
860
861 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
862
863 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
864 to `delete' (bug#16109).
865
866 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
867
868 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
869 info manual and show keybindings and set `:group' keyword.
870
871 2013-12-11 Juri Linkov <juri@jurta.org>
872
873 * delsel.el (delete-active-region): Let-bind `this-command'
874 to prevent `kill-region' from changing its original value.
875 (delete-selection-helper): Handle `overwrite-mode' for the type
876 `kill' exactly the same way as for the type `t'.
877 (insert-char, quoted-insert, reindent-then-newline-and-indent):
878 Support more commands. (Bug#13312)
879
880 2013-12-11 Juri Linkov <juri@jurta.org>
881
882 * bindings.el: Map kp keys to non-kp keys systematically
883 with basic modifiers control, meta and shift. (Bug#14397)
884
885 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
886
887 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
888 "Close browser" menu items. Fix wrong function of "List
889 bookmarks".
890
891 2013-12-11 Juri Linkov <juri@jurta.org>
892
893 * misearch.el (multi-isearch-buffers): Set the value of
894 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
895 arg of isearch-forward to t.
896 (multi-isearch-buffers-regexp): Set the value of
897 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
898 arg of isearch-forward-regexp to t.
899 (multi-isearch-files): Set the value of
900 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
901 arg of isearch-forward to t.
902 (multi-isearch-files-regexp): Set the value of
903 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
904 arg of isearch-forward-regexp to t. (Bug#16035)
905
906 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
907 arg of isearch-forward to t.
908 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
909 arg of isearch-forward-regexp to t.
910 (dired-isearch-filter-filenames): Remove unnecessary check for
911 `dired-isearch-filenames'.
912
913 * comint.el (comint-history-isearch-backward):
914 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
915 (comint-history-isearch-backward-regexp):
916 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
917
918 2013-12-10 Eli Zaretskii <eliz@gnu.org>
919
920 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
921 unmsys--file-name. (Bug#16099)
922
923 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
924
925 * emacs-lisp/package.el (package-keyword-button-action):
926 Remove finder.el require dependency.
927
928 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
929
930 * emacs-lisp/package.el: Require finder.el.
931 (describe-package-1): Add keyword buttons.
932 (package-make-button): New convenience function.
933 (package-keyword-button-action): Keyword button action using
934 `finder-list-matches'.
935
936 2013-12-09 Eli Zaretskii <eliz@gnu.org>
937
938 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
939 last commit.
940
941 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
942
943 * autorevert.el (auto-revert-notify-add-watch): Do not handle
944 symlinked files.
945
946 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
947
948 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
949 after the end of a percent literal.
950
951 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
952
953 * progmodes/ruby-mode.el (ruby-forward-string): Document.
954 Handle caret-delimited strings (Bug#16079).
955
956 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
957
958 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
959 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
960 `ruby-parse-partial' (Bug#16078).
961
962 2013-12-09 Leo Liu <sdl.web@gmail.com>
963
964 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
965
966 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
967
968 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
969 (js-switch-indent-offset): New option.
970 (js--proper-indentation): Use it. And handle the case when
971 "default" is actually a key in an object literal.
972 (js--same-line): New function.
973 (js--multi-line-declaration-indentation): Use it.
974 (js--indent-in-array-comp, js--array-comp-indentation):
975 New functions.
976 (js--proper-indentation): Use them, to handle array comprehension
977 continuations.
978
979 2013-12-08 Leo Liu <sdl.web@gmail.com>
980
981 * progmodes/flymake.el (flymake-highlight-line): Re-write.
982 (flymake-make-overlay): Remove arg MOUSE-FACE.
983 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
984
985 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
988 New function.
989 (redisplay-highlight-region-function): Use it.
990
991 * emulation/cua-base.el (cua--explicit-region-start)
992 (cua--last-region-shifted): Remove.
993 (cua--deactivate): Use deactivate-mark.
994 (cua--pre-command-handler-1): Don't handle shift-selection.
995 (cua--post-command-handler-1): Don't change transient-mark-mode.
996 (cua--select-keymaps): Use region-active-p rather than
997 cua--explicit-region-start or cua--last-region-shifted.
998 (cua-mode): Enable shift-select-mode.
999
1000 2013-12-08 Leo Liu <sdl.web@gmail.com>
1001
1002 * progmodes/flymake.el (flymake-popup-current-error-menu):
1003 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1004 (flymake-posn-at-point-as-event, flymake-popup-menu)
1005 (flymake-make-emacs-menu): Remove. (Bug#16077)
1006
1007 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * rect.el (rectangle-mark-mode): Activate mark even if
1010 transient-mark-mode is off (bug#16066).
1011 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1012 is > mark and at bolp.
1013
1014 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1015 (region-extract-function): Use it.
1016 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1017 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1018 Delete functions.
1019 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1020 kill-ring-save, kill-region, delete-char, delete-forward-char.
1021 Ignore self-insert-iso.
1022
1023 * emulation/cua-gmrk.el (cua--init-global-mark):
1024 Ignore `self-insert-iso'.
1025
1026 * emulation/cua-base.el (cua--prefix-copy-handler)
1027 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1028 checking cua--rectangle.
1029 (cua-delete-region): Use region-extract-function.
1030 (cua-replace-region): Delete function.
1031 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1032 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1033 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1034 (cua--init-keymaps): Don't remap delete-selection commands.
1035 (cua-mode): Use delete-selection-mode instead of rolling our own
1036 (bug#16085).
1037
1038 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1039 Obey region-extract-function.
1040
1041 Make registers and delete-selection-mode work on rectangles.
1042 * register.el (describe-register-1): Don't modify the register's value.
1043 (copy-to-register): Obey region-extract-function.
1044 * delsel.el (delete-active-region): Obey region-extract-function.
1045
1046 2013-12-08 Leo Liu <sdl.web@gmail.com>
1047
1048 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1049 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1050 (flymake-compilation-prevents-syntax-check)
1051 (flymake-start-syntax-check-on-newline)
1052 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1053 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1054 (flymake-xml-program, flymake-master-file-dirs)
1055 (flymake-master-file-count-limit)
1056 (flymake-allowed-file-name-masks): Relocate.
1057 (flymake-makehash, flymake-float-time)
1058 (flymake-replace-regexp-in-string, flymake-split-string)
1059 (flymake-get-temp-dir): Remove.
1060 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1061 (flymake-current-row, flymake-selected-frame)
1062 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1063 related functions. (Bug#16077)
1064
1065 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1066
1067 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1068
1069 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1070
1071 * help-fns.el (describe-function-1): Use new advice-* functions
1072 rather than old ad-* functions. Fix function type description and
1073 source links for advised functions and subrs.
1074
1075 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1076
1077 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1078
1079 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1080
1081 * progmodes/compile.el (compilation-start):
1082 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1083
1084 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1085 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1086
1087 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1088
1089 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1090 Touch up the last change.
1091
1092 2013-12-06 Leo Liu <sdl.web@gmail.com>
1093
1094 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1095 (inferior-octave-startup): Always use "octave> " for prompt.
1096 (octave-goto-function-definition)
1097 (octave-sync-function-file-names)
1098 (octave-find-definition-default-filename): Remove redundant backquotes.
1099
1100 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1101
1102 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1103 syntax for `?'.
1104 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1105 where appropriate already.
1106 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1107 end of method names (Bug#15874).
1108
1109 2013-12-06 Juri Linkov <juri@jurta.org>
1110
1111 * isearch.el (isearch--saved-overriding-local-map):
1112 New internal variable.
1113 (isearch-mode): Set it to the initial value of
1114 `overriding-terminal-local-map'.
1115 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1116 with `isearch--saved-overriding-local-map'. (Bug#16035)
1117
1118 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1119
1120 * progmodes/octave.el (inferior-octave-completion-table):
1121 Turn back into function, use `completion-table-with-cache'
1122 (Bug#11906). Update all references.
1123
1124 * minibuffer.el (completion-table-with-cache): New function.
1125
1126 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1127
1128 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1129
1130 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1131
1132 * net/eww.el (eww-current-source): New variable to store page
1133 source.
1134 (eww-display-html, eww-mode, eww-save-history)
1135 (eww-restore-history): Use it.
1136 (eww-view-source): New command to view page source.
1137 Opportunistically uses `html-mode' to highlight the buffer.
1138 (eww-mode-map): Install it.
1139
1140 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1141
1142 * net/dbus.el (dbus-unregister-service)
1143 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1144 Fix docstring.
1145 (dbus-unregister-service): Skip :serial entries in
1146 `dbus-registered-objects-table'.
1147 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1148
1149 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1150
1151 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1152 around keywords with extra `split-string' argument.
1153
1154 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1155
1156 * windmove.el (windmove-other-window-loc): Handle navigation
1157 between windows (excluding the minibuffer window - Bug#16017).
1158
1159 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1160
1161 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1162 in D-Bus type syntax.
1163 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1164 preserve unibyte strings. (Bug#16048)
1165
1166 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1169 Call force-mode-line-update is the proper buffer (bug#16042).
1170
1171 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1172
1173 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1174 `log-edit-remember-comment', make argument optional. Adjust all
1175 callers.
1176 (log-edit-mode): Add `log-edit-remember-comment' to
1177 `kill-buffer-hook' locally.
1178 (log-edit-kill-buffer): Don't remember comment explicitly since
1179 the buffer is killed anyway.
1180
1181 2013-12-04 Juri Linkov <juri@jurta.org>
1182
1183 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1184 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1185
1186 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1187
1188 * notifications.el (notifications-close-notification): Call the
1189 D-Bus method with ID being a `:uint32'. (Bug#16030)
1190
1191 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1192
1193 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1194
1195 2013-12-03 Juri Linkov <juri@jurta.org>
1196
1197 * progmodes/compile.el (compilation-start): Rename window alist
1198 entry `no-display-ok' to `allow-no-window'.
1199
1200 * simple.el (shell-command): Add window alist entry
1201 `allow-no-window' to `display-buffer'.
1202 (async-shell-command): Doc fix.
1203
1204 * window.el (display-buffer-no-window): New action function.
1205 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1206
1207 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1208
1209 * vc/log-edit.el (log-edit-set-header): Extract from
1210 `log-edit-toggle-header'.
1211 (log-edit-extract-headers): Separate the summary, when extracted
1212 from header, from the rest of the message with an empty line.
1213
1214 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1215 line, if present, to the Summary header.
1216
1217 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1220 in current-buffer (bug#16029).
1221
1222 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1223
1224 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1225 (debugger-mode-map): Bind it.
1226 (debugger--backtrace-base): New function.
1227 (debugger-eval-expression): Use it.
1228 (debugger-frame-number): Skip local vars when present.
1229 (debugger--locals-visible-p, debugger--insert-locals)
1230 (debugger--show-locals, debugger--hide-locals): New functions.
1231
1232 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1233
1234 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1235 "LC_ALL".
1236 (tramp-get-remote-locale): New defun.
1237 (tramp-open-connection-setup-interactive-shell): Use it.
1238
1239 2013-12-02 Leo Liu <sdl.web@gmail.com>
1240
1241 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1242
1243 * progmodes/sh-script.el (sh-shell-process):
1244 * progmodes/octave.el (inferior-octave-process-live-p):
1245 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1246 (gdb-inferior-io-sentinel):
1247 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1248
1249 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1250
1251 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1252 `save-selected-window' to `log-edit-hide-buf'. This makes
1253 `log-edit-show-files' idempotent.
1254 (log-edit-show-files): Mark the new window as dedicated.
1255
1256 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1257
1258 * vc/log-edit.el (log-edit-mode-map): Add binding for
1259 `log-edit-kill-biffer'.
1260 (log-edit-hide-buf): Add a FIXME comment.
1261 (log-edit-add-new-comment): New function, extracted from
1262 `log-edit-done'.
1263 (log-edit-done, log-edit-add-to-changelog): Use it.
1264 (log-edit-kill-buffer): New command.
1265
1266 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1267
1268 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1269 instead of killing the buffer.
1270
1271 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1274
1275 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1276
1277 * net/eww.el (eww-form-checkbox-selected-symbol)
1278 (eww-form-checkbox-symbol): New customizable variable.
1279 (eww-form-checkbox, eww-toggle-checkbox):
1280 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1281
1282 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1283 (shr--get-media-pref, shr--extract-best-source): New function.
1284 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1285 no :src tag was specified.
1286
1287 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1288 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1289 Use \\` to match beginning of string instead of ^.
1290 (eww-browse-with-external-browser): Provide optional URL parameter.
1291 (eww-render): Set `eww-current-title' back to "".
1292
1293 * net/shr.el (shr-tag-video): Display content for video if no
1294 poster is available.
1295 (shr-tag-audio): Add support for <audio> tag.
1296
1297 * net/eww.el (eww-text-input-types): New const.
1298 (eww-process-text-input): Treat input types in
1299 `eww-text-input-types' as text.
1300
1301 * net/shr.el (shr-tag-table): Fix comment typo.
1302
1303 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1304
1305 * net/eww.el (eww-follow-link): New command to avoid reloading
1306 pages when we follow #target links (bug#15243).
1307 (eww-quit): Special mode buffers shouldn't query before exiting.
1308
1309 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1310
1311 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1312 forms.
1313
1314 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1315
1316 * net/eww.el (eww-restore-history): Update the window title after
1317 moving in the history.
1318 (eww-current-dom): New variable used to save the current DOM.
1319
1320 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1321
1322 * vc/log-edit.el (log-edit-mode-map): Add binding for
1323 `log-edit-beginning-of-line'.
1324 (log-edit-setup-add-author): New user option.
1325 (log-edit-beginning-of-line): New command.
1326 (log-edit): Move major mode call above the contents setup so that
1327 the local variable values are already applied.
1328 (log-edit): Only insert "Author: " when
1329 `log-edit-setup-add-author' is non-nil.
1330 (log-edit): When SETUP is non-nil, position point after ": "
1331 instead of point-min.
1332
1333 2013-12-01 Glenn Morris <rgm@gnu.org>
1334
1335 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1336
1337 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1338
1339 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1340 redisplay to make sure the initial frame gets a chance to become
1341 visible. (Bug#16014)
1342
1343 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1344
1345 Support resizing frames and windows pixelwise.
1346 * cus-start.el (frame-resize-pixelwise)
1347 (window-resize-pixelwise): New entries.
1348 * emacs-lisp/debug.el (debug): Use window-total-height instead
1349 of window-total-size.
1350 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1351 * help.el (describe-bindings-internal): Call help-buffer
1352 (temp-buffer-max-width): New option.
1353 (resize-temp-buffer-window, help-window-setup)
1354 (with-help-window): Rewrite.
1355 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1356 dragging dividers.
1357 * window.el (frame-char-size, window-min-pixel-height)
1358 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1359 (window-min-pixel-width, window-safe-min-pixel-size)
1360 (window-combination-p, window-safe-min-size)
1361 (window-resizable-p, window--size-to-pixel)
1362 (window--pixel-to-size, window--resize-apply-p): New functions.
1363 (window-safe-min-height): Fix doc-string.
1364 (window-size, window-min-size, window--min-size-1)
1365 (window-sizable, window-sizable-p, window--min-delta-1)
1366 (window-min-delta, window--max-delta-1, window-max-delta)
1367 (window--resizable, window--resizable-p, window-resizable)
1368 (window-full-height-p, window-full-width-p, window-at-side-p)
1369 (window--in-direction-2, window-in-direction)
1370 (window--resize-reset-1, window--resize-mini-window)
1371 (window-resize, window-resize-no-error)
1372 (window--resize-child-windows-normal)
1373 (window--resize-child-windows, window--resize-siblings)
1374 (window--resize-this-window, window--resize-root-window)
1375 (window--resize-root-window-vertically)
1376 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1377 (maximize-window, minimize-window, delete-window)
1378 (quit-restore-window, window-split-min-size, split-window)
1379 (balance-windows-2, balance-windows)
1380 (balance-windows-area-adjust, balance-windows-area)
1381 (window--state-get-1, window-state-get, window--state-put-1)
1382 (window--state-put-2, window-state-put)
1383 (display-buffer-record-window, window--display-buffer):
1384 Make functions handle pixelwise sizing of windows.
1385 (display-buffer--action-function-custom-type)
1386 (display-buffer-fallback-action):
1387 Add display-buffer-in-previous-window.
1388 (display-buffer-use-some-window): Resize window to height it had
1389 before.
1390 (fit-window-to-buffer-horizontally): New option.
1391 (fit-frame-to-buffer): Describe new values.
1392 (fit-frame-to-buffer-bottom-margin): Replace with
1393 fit-frame-to-buffer-margins.
1394 (window--sanitize-margin): New function.
1395 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1396 using window-text-pixel-size.
1397
1398 2013-11-30 Glenn Morris <rgm@gnu.org>
1399
1400 * emacs-lisp/bytecomp.el (byte-compile-form):
1401 Make the `interactive-only' warning like the `obsolete' one.
1402 * comint.el (comint-run):
1403 * files.el (insert-file-literally, insert-file):
1404 * replace.el (replace-string, replace-regexp):
1405 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1406 (goto-line, insert-buffer, next-line, previous-line):
1407 Tweak `interactive-only' spec.
1408
1409 Stop keeping (most) generated cedet grammar files in the repository.
1410 * Makefile.in (semantic): New.
1411 (compile-main): Depend on semantic.
1412
1413 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1416 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1417
1418 * uniquify.el (uniquify-buffer-name-style): Change default.
1419
1420 * loadup.el: Preload "uniquify".
1421
1422 * time.el (display-time-update): Update all mode lines (bug#15999).
1423
1424 * electric.el (electric-indent-mode): Enable by default.
1425 * loadup.el: Preload "electric".
1426
1427 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1428
1429 * emacs-lisp/helpers.el (string-empty-p): New function.
1430 (string-blank-p): New function.
1431
1432 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1433
1434 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1435 (Bug#14029).
1436
1437 2013-11-29 Andreas Politz <politza@fh-trier.de>
1438 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1439 allow non-lambda lists as functions.
1440 (imenu--in-alist): Don't recurse into non-subalists.
1441 (imenu): Don't pass function itself as an argument (Bug#14029).
1442
1443 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * progmodes/python.el (python-mode-map): Remove binding for ":".
1446 (python-indent-electric-colon): Remove command.
1447 (python-indent-post-self-insert-function): Integrate the previous code
1448 of python-indent-electric-colon. Make it conditional on
1449 electric-indent-mode.
1450 (python-mode): Add ?: to electric-indent-chars.
1451 Move python-indent-post-self-insert-function to the end of
1452 post-self-insert-hook.
1453
1454 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1455
1456 * doc-view.el (doc-view-goto-page): Update mode-line.
1457
1458 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1459
1460 2013-11-27 Glenn Morris <rgm@gnu.org>
1461
1462 * international/charprop.el, international/uni-bidi.el:
1463 * international/uni-category.el, international/uni-combining.el:
1464 * international/uni-comment.el, international/uni-decimal.el:
1465 * international/uni-decomposition.el, international/uni-digit.el:
1466 * international/uni-lowercase.el, international/uni-mirrored.el:
1467 * international/uni-name.el, international/uni-numeric.el:
1468 * international/uni-old-name.el, international/uni-titlecase.el:
1469 * international/uni-uppercase.el:
1470 Remove generated files from VCS repository.
1471
1472 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1473
1474 * filenotify.el (file-notify-add-watch): Don't special-case
1475 w32notify when computing the directory to watch.
1476
1477 2013-11-27 Glenn Morris <rgm@gnu.org>
1478
1479 Make bootstrap without generated uni-*.el files possible again.
1480 * loadup.el: Update command-line-args checking for unidata-gen.
1481 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1482 * composite.el, international/characters.el:
1483 Handle unicode tables being undefined.
1484
1485 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1486 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1487 (compile-main): Depend on leim rule.
1488 (leim): New rule.
1489 * loadup.el: Move leim-list.el to leim/ subdirectory.
1490 * startup.el (normal-top-level): No more leim directory.
1491 * international/ja-dic-cnv.el (skkdic-convert):
1492 Disable version-control and autoloads in output files.
1493 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1494 Disable version-control and autoloads in output files.
1495 * leim/quail: Move here from ../leim.
1496 * leim/quail/hangul.el (hangul-input-method-activate):
1497 Add autoload cookie.
1498 (generated-autoload-load-name): Set file-local value.
1499 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1500 (generated-autoload-load-name): Set file-local value.
1501
1502 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1503
1504 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1505 (eww-add-bookmark): Ask confirmation when add to bookmarks
1506 (eww-quit): Ask confirmation before quitting eww.
1507
1508 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1509
1510 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1511 reading output from Diff on MS-Windows and MS-DOS.
1512
1513 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1514
1515 * emacs-lisp/helpers.el (string-reverse): New function.
1516
1517 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1518
1519 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1520 names on MS Windows, like "/[::1]:".
1521
1522 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1523 SWITCHES.
1524
1525 2013-11-26 Glenn Morris <rgm@gnu.org>
1526
1527 * progmodes/python.el (python-indent-guess-indent-offset):
1528 Avoid corner-case error. (Bug#15975)
1529
1530 Preload leim-list.el. (Bug#4789)
1531 * loadup.el: Load leim-list.el when found.
1532 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1533
1534 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1535
1536 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1537
1538 * emacs-lisp/helpers.el (string-join): New function.
1539
1540 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1541
1542 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1543 Mark as obsolete and replace it with a symbol property.
1544 (byte-compile-form): Use new 'interactive-only property.
1545 * comint.el, files.el, replace.el, simple.el:
1546 Apply new 'interactive-only properly.
1547
1548 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1549
1550 * window.el (display-buffer-at-bottom): Make sure that
1551 split-window-sensibly creates the new window on bottom
1552 (Bug#15961).
1553
1554 2013-11-23 David Kastrup <dak@gnu.org>
1555
1556 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1557 on the conflict markers when available.
1558 (smerge--get-marker): New function.
1559 (smerge-end-re, smerge-base-re): Add subgroup.
1560
1561 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * frame.el (handle-focus-in, handle-focus-out): Add missing
1564 interactive spec.
1565
1566 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1567
1568 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1569 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1570
1571 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1574 (gomoku--last-pos): New var.
1575 (gomoku--intangible-chars): New const.
1576 (gomoku--intangible): New function.
1577 (gomoku-mode): Use it. Derive from special-mode.
1578 (gomoku-move-up): Adjust line count.
1579 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1580 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1581 Simplify accordingly.
1582
1583 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1584 Remove blink-cursor code.
1585 (blink-cursor-timer-function, blink-cursor-suspend):
1586 Don't special-case GUIs.
1587 (blink-cursor-mode): Use focus-in/out-hook.
1588
1589 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1590
1591 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1592 work when annotation is invisible (Bug#13886).
1593
1594 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1595
1596 * json.el (json-alist-p): Only return non-nil if the alist has
1597 simple keys (Bug#13518).
1598
1599 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1600
1601 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1602 when control-statement is the first statement in a buffer (Bug#15956).
1603
1604 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1605
1606 * imenu.el (imenu-generic-skip-comments-and-strings):
1607 New option (Bug#15560).
1608 (imenu--generic-function): Use it.
1609
1610 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1611
1612 * minibuffer.el (completion--in-region-1): Scroll the correct
1613 window. (Bug#13898)
1614
1615 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1616
1617 * emacs-lisp/helpers.el: Add some string helpers.
1618 (string-trim-left): Removes leading whitespace.
1619 (string-trim-right): Removes trailing whitespace.
1620 (string-trim): Removes leading and trailing whitespace.
1621
1622 * subr.el (string-suffix-p): New function.
1623
1624 2013-11-23 Glenn Morris <rgm@gnu.org>
1625
1626 * progmodes/python.el (python-shell-send-file):
1627 Add option to delete file when done. (Bug#15647)
1628 (python-shell-send-string, python-shell-send-region): Use it.
1629
1630 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1631
1632 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1633 to set buffer-read-only to t, never to nil. (Bug#15938)
1634
1635 * textmodes/tex-mode.el (latex-noindent-environments):
1636 Add safe-local-variable property. (Bug#15936)
1637
1638 2013-11-23 Glenn Morris <rgm@gnu.org>
1639
1640 * textmodes/enriched.el (enriched-mode): Doc fix.
1641 * emacs-lisp/authors.el (authors-renamed-files-alist):
1642 Add enriched.doc -> enriched.txt.
1643
1644 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1645
1646 2013-11-22 Leo Liu <sdl.web@gmail.com>
1647
1648 * progmodes/octave.el (inferior-octave-startup): Spit out error
1649 message.
1650
1651 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1652
1653 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1654 Improve docstring.
1655 Add :version.
1656 (ruby-encoding-magic-comment-style): Add :version.
1657
1658 2013-11-22 Leo Liu <sdl.web@gmail.com>
1659
1660 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1661 (Bug#15076)
1662 (octave-help-mode): Adapt to change to help-mode-finish to use
1663 derived-mode-p on 2013-09-17.
1664 (inferior-octave-prompt): Also match octave-gui.
1665 (octave-kill-process): Don't ask twice. (Bug#10564)
1666
1667 2013-11-22 Leo Liu <sdl.web@gmail.com>
1668
1669 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1670 (inferior-octave-startup, inferior-octave-check-process)
1671 (inferior-octave-track-window-width-change)
1672 (octave-completion-at-point, octave-eldoc-function): Use it.
1673 (octave-kill-process): Provide confirmation. (Bug#10564)
1674
1675 2013-11-21 Leo Liu <sdl.web@gmail.com>
1676
1677 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1678 Fix obsolete variable comment-use-global-state.
1679
1680 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1681
1682 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1683 Add `octave-source-file'.
1684 (octave-source-file): New function. (Bug#15935)
1685
1686 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1687
1688 * net/eww.el (eww-local-regex): New variable.
1689 (eww): Use it to detect localhost and similar.
1690
1691 2013-11-21 Leo Liu <sdl.web@gmail.com>
1692
1693 Add completion for command `ag'.
1694 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1695 (pcomplete/ag): New function.
1696 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1697
1698 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1701 (bug#14646).
1702 (make-obsolete): Remove interactive spec.
1703
1704 2013-11-21 Glenn Morris <rgm@gnu.org>
1705
1706 * startup.el (command-line-1): Use path-separator with -L.
1707
1708 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1709
1710 * emacs-lisp/package.el (describe-package-1): Add package archive
1711 to shown fields.
1712
1713 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1714
1715 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1716 Change default to "# encoding: %s" to differentiate it from the
1717 default Ruby encoding comment template.
1718
1719 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1720
1721 * ses.el (ses-mode): Doc fix. (Bug#14748)
1722
1723 2013-11-20 Leo Liu <sdl.web@gmail.com>
1724
1725 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1726
1727 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1728
1729 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1730 when rebase or bisect are in progress.
1731
1732 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1733
1734 * filenotify.el (file-notify-add-watch): Doc fix.
1735
1736 2013-11-19 Leo Liu <sdl.web@gmail.com>
1737
1738 * obsolete/rcompile.el: Mark obsolete.
1739
1740 * progmodes/compile.el (compilation-start)
1741 (compilation-goto-locus, compilation-find-file):
1742 Pass no-display-ok and handle nil value from display-buffer.
1743 (Bug#13594)
1744
1745 * window.el (display-buffer-alist, display-buffer): Document the
1746 new parameter no-display-ok. Return either a window or nil
1747 but never a non-window value.
1748
1749 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * electric.el (electric-indent-mode-map): Remove.
1752 (electric-indent-mode): Change the global-map instead (bug#15915).
1753
1754 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1755 Use add-function.
1756
1757 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * emacs-lisp/nadvice.el (remove-function): Align with
1760 add-function's behavior.
1761
1762 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1763 (gdb--string-regexp): New constant.
1764 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1765 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1766 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1767 submatch 1.
1768 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1769 Adjust use accordingly.
1770 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1771
1772 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1773
1774 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1775 interpolation curlies (Bug#15914).
1776
1777 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1778
1779 * calc/calc.el (calc-context-sensitive-enter): New variable.
1780 (calc-enter): Use `calc-context-sensitive-enter'.
1781
1782 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1783
1784 * progmodes/cfengine.el: Version bump.
1785 (cfengine-cf-promises): New defcustom to locate cf-promises.
1786 (cfengine3-vartypes): Add new "data" type.
1787 (cfengine3--current-word): New function to get current name-like
1788 word or its bounds.
1789 (cfengine3--current-function): New function to look up a CFEngine
1790 function's definition.
1791 (cfengine3-format-function-docstring): New function.
1792 (cfengine3-make-syntax-cache): New function.
1793 (cfengine3-documentation-function): New function: ElDoc glue.
1794 (cfengine3-completion-function): New function: completion glue.
1795 (cfengine3-mode): Set `compile-command',
1796 `eldoc-documentation-function', and add to
1797 `completion-at-point-functions'.
1798
1799 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1800
1801 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1802 `tramp-current-connection'.
1803
1804 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1805
1806 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1807 nil/self/true/false with "end of symbol".
1808
1809 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1810
1811 * subr.el (version-regexp-alist): Fix a typo.
1812
1813 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1814
1815 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1816 "en_US.utf8" and "LC_CTYPE" to "".
1817 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1818 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1819
1820 2013-11-15 Leo Liu <sdl.web@gmail.com>
1821
1822 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1823
1824 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * progmodes/gud.el (ctl-x-map):
1827 Remove C-x SPC binding. (Bug#12342)
1828 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1829
1830 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1831
1832 * subr.el (version-regexp-alist):
1833 Recognize hg, svn and darcs versions as snapshot versions.
1834
1835 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1836 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1837 (ruby--encoding-comment-required-p): Extract from
1838 `ruby-mode-set-encoding'.
1839 (ruby-mode-set-encoding): Add the ability to always insert an
1840 utf-8 encoding comment. Fix and simplify coding comment update
1841 logic.
1842
1843 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1844
1845 * net/tramp-gvfs.el (top): Run init code only when
1846 `tramp-gvfs-enabled' is not nil.
1847 (tramp-gvfs-enabled): Check also :system bus.
1848
1849 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 Sync with upstream verilog-mode revision 78e66ba.
1852 * progmodes/verilog-mode.el (verilog-end-of-defun)
1853 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1854 (verilog-get-end-of-defun): Remove unused argument.
1855 (verilog-comment-depth): Remove unused local `e'.
1856 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1857 Don't pass arg to verilog-get-end-of-defun.
1858
1859 2013-11-14 Glenn Morris <rgm@gnu.org>
1860
1861 * obsolete/assoc.el (aget): Prefix dynamic variable.
1862
1863 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1864
1865 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * widget.el, hfy-cmap.el: Remove bogus package version number.
1868
1869 2013-11-13 Glenn Morris <rgm@gnu.org>
1870
1871 * replace.el (replace-eval-replacement):
1872 Try to give more helpful error message. (Bug#15836)
1873
1874 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1875 (archive-7z-update): Avoid custom type mismatches.
1876
1877 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1878
1879 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1880
1881 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1882 address can be empty.
1883
1884 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1885 Accept nil SWITCHES.
1886 (tramp-gvfs-handle-write-region): Implement APPEND.
1887
1888 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1889
1890 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1891 binary "|" operator and closing block args delimiter.
1892 Remove FIXME comment referring to Ruby 1.8-only syntax.
1893 (ruby-smie--implicit-semi-p): Not after "|" operator.
1894 (ruby-smie--closing-pipe-p): New function.
1895 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1896 (ruby-smie-rules): Indent after "|".
1897
1898 2013-11-12 Glenn Morris <rgm@gnu.org>
1899
1900 * ps-print.el (ps-face-attribute-list):
1901 Handle anonymous faces. (Bug#15827)
1902
1903 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1904
1905 * window.el (display-buffer-other-frame): Fix doc-string.
1906 (Bug#15868)
1907
1908 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1911
1912 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1913
1914 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1915 (tramp-sh-handle-file-local-copy): Don't write a message when
1916 saving temporary files.
1917
1918 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1919 both directories are remote.
1920 (tramp-smb-handle-directory-files): Do not return double entries.
1921 Do not expand full file names.
1922 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1923 (tramp-smb-handle-write-region): Implement APPEND.
1924 (tramp-smb-get-stat-capability): Fix a stupid bug.
1925
1926 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1927
1928 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1929
1930 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1931
1932 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1933 throwing error over malformed let/let* (bug#15814).
1934
1935 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * iswitchb.el (iswitchb-mode): Mark obsolete.
1938
1939 2013-11-11 Glenn Morris <rgm@gnu.org>
1940
1941 * international/uni-bidi.el, international/uni-category.el:
1942 * international/uni-name.el, international/uni-numeric.el:
1943 Regenerate for Unicode 6.3.0.
1944
1945 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1946
1947 * net/tramp.el (tramp-methods):
1948 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1949 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1950
1951 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1952
1953 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1954 Force highlighting text after Summary keyword in doc face for rpm.
1955
1956 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1957
1958 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1959 available and the word has no wildcards, append one to the grep pattern.
1960 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1961 (ispell-complete-word): Call `ispell-lookup-words' with the value
1962 independent of `ispell-look-p'.
1963
1964 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1965
1966 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1967 Not after "||".
1968 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1969 their parent.
1970
1971 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1974 (ruby-font-lock-keywords): Use backquote.
1975
1976 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1977
1978 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1979 (ruby-smie--backward-token): Only consider full-string matches.
1980
1981 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1982
1983 * faces.el (describe-face): Add distant-foreground.
1984
1985 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1986
1987 * progmodes/ruby-mode.el: Improve encoding comment handling.
1988 (ruby-encoding-magic-comment-style): New option.
1989 (ruby-custom-encoding-magic-comment-template): New option.
1990 (ruby--insert-coding-comment, ruby--detect-encoding):
1991 New functions extracted from `ruby-mode-set-encoding'.
1992 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1993 to control the style of the auto-inserted encoding comment.
1994
1995 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1996
1997 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1998 Use `smie-backward-sexp' with token argument.
1999
2000 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2001
2002 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2003 Remove instrumentation code.
2004
2005 2013-11-08 Glenn Morris <rgm@gnu.org>
2006
2007 * progmodes/autoconf.el (autoconf-mode):
2008 Tweak comment-start-skip. (Bug#15822)
2009
2010 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2013 at bobp (bug#15826).
2014 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2015
2016 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2017
2018 * man.el (Man-start-calling): New macro, extracted from
2019 Man-getpage-in-background.
2020 (Man-getpage-in-background): Use it.
2021 (Man-update-manpage): New command.
2022 (Man-mode-map): Bind it.
2023
2024 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2025
2026 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2027 of "and", "or", "&&" and "||".
2028 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2029 argument. Prohibit opening curly brace because it could only be a
2030 block opener in that position.
2031 (ruby-smie--forward-token, ruby-smie--backward-token):
2032 Separate "|" from "&" or "*" going after it. That can happen in block
2033 arguments.
2034 (ruby-smie--indent-to-stmt): New function, seeks the end of
2035 previous statement or beginning of buffer.
2036 (ruby-smie-rules): Use it.
2037 (ruby-smie-rules): Check if there's a ":" before a curly block
2038 opener candidate; if there is, it's a hash.
2039
2040 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2041
2042 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2043 (cl--block-wrapper): Fix last accidental change.
2044
2045 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2046
2047 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2048 Instrument, in order to hunt failure on hydra.
2049
2050 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2051
2052 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2053 malformed bindings form (bug#15814).
2054
2055 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2056
2057 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2058 "." compared to " @ ". This incidentally fixes some indentation
2059 examples with "do".
2060 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2061 (ruby-smie-grammar): New tokens: "and" and "or".
2062 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2063 Exclude "and" and "or". Remove "do" in order to work around token
2064 priorities.
2065 (ruby-smie-rules): Add all infix tokens. Handle the case of
2066 beginning-of-buffer.
2067
2068 2013-11-06 Glenn Morris <rgm@gnu.org>
2069
2070 * Makefile.in (setwins_almost, setwins_for_subdirs):
2071 Avoid accidental matches.
2072
2073 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * menu-bar.el (popup-menu): Use key-binding.
2076
2077 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2078
2079 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2080 menus, support also the menus produced by minor modes.
2081 (Bug#15817)
2082
2083 2013-11-06 Leo Liu <sdl.web@gmail.com>
2084
2085 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2086 DISTANCE to bound the search. All uses changed. (Bug#15808)
2087
2088 2013-11-06 Glenn Morris <rgm@gnu.org>
2089
2090 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2091 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2092 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2093
2094 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2095
2096 * electric.el (electric-indent-just-newline): New command.
2097 (electric-indent-mode-map): New keymap.
2098 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2099 Re-add :group which weren't redundant.
2100
2101 * electric.el (electric-indent-local-mode): New minor mode.
2102 (electric-indent-functions-without-reindent): New var.
2103 (electric-indent-post-self-insert-function): Use it.
2104 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2105
2106 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2107
2108 * international/quail.el (quail-help): Be more explicit about the
2109 meaning of the labels shown on the keys. (Bug#15800)
2110
2111 * startup.el (normal-top-level): Load the subdirs.el files before
2112 setting the locale environment. (Bug#15805)
2113
2114 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2117 via arguments so as to get the right ones (bug#15418).
2118
2119 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2120
2121 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2122
2123 Fix problems found while writing a test suite.
2124
2125 * net/tramp-compat.el (tramp-compat-load): New defun.
2126 * net/tramp.el (tramp-handle-load): Use it.
2127
2128 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2129 "(numberp ok-if-already-exists)" correctly.
2130
2131 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2132
2133 * international/characters.el (glyphless-char-display-control):
2134 Add usage note.
2135
2136 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2137
2138 * progmodes/python.el (python-mode):
2139 * progmodes/scheme.el (scheme-mode):
2140 * progmodes/prolog.el (prolog-mode):
2141 * progmodes/ruby-mode.el (ruby-mode):
2142 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2143 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2144
2145 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 * rect.el (rectangle--highlight-for-redisplay):
2148 * emacs-lisp/smie.el (smie--next-indent-change):
2149 Use buffer-chars-modified-tick.
2150
2151 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2152
2153 * electric.el (electric-indent-post-self-insert-function):
2154 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2155
2156 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2157
2158 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2159
2160 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2161
2162 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2163 (bug#15786).
2164
2165 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2168
2169 * progmodes/python.el: Fix up last change.
2170 (python-shell--save-temp-file): New function.
2171 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2172 `string' comes from the current buffer.
2173 (python-shell-send-string-no-output): Remove `msg' arg.
2174 (python--use-fake-loc): New var.
2175 (python-shell-buffer-substring): Obey it. Try to compensate for the
2176 extra coding line added by python-shell--save-temp-file.
2177 (python-shell-send-region): Use python-shell--save-temp-file and
2178 python-shell-send-file directly. Add `nomain' argument.
2179 (python-shell-send-buffer): Use python-shell-send-region.
2180 (python-electric-pair-string-delimiter): New function.
2181 (python-mode): Use it.
2182
2183 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2184
2185 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2186 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2187 environment and decoding all of the default-directory's to here
2188 from command-line.
2189 (command-line): Decode also argv[0].
2190
2191 * loadup.el: Error out if default-directory is a multibyte string
2192 when we are dumping.
2193
2194 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2195
2196 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2197
2198 * emacs-lisp/package.el (package-menu-mode)
2199 (package-menu--print-info, package-menu--archive-predicate):
2200 Add Archive column to package list.
2201
2202 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2203
2204 Fix problems found while writing a test suite.
2205
2206 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2207 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2208 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2209 to nil when running original file name handler. Otherwise,
2210 there are problems with constructs like "$$FOO".
2211
2212 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2213 for `localname'.
2214
2215 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2216
2217 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2218
2219 * subr.el (version<, version<=, version=):
2220 Update docstrings with information for snapshot versions.
2221
2222 * helpers.el: New library for misc helper functions.
2223 (hash-table-keys): New function returning a list of hash keys.
2224 (hash-table-values): New function returning a list of hash values.
2225
2226 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2227
2228 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2229 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2230
2231 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2232
2233 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2234 checking whether point is after a 1-letter word.
2235
2236 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2237
2238 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2239 Don't infloop when expanding region over `multiline' syntax-type that
2240 begins a line (bug#15778).
2241
2242 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2245 Make it into a proper minor mode.
2246 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2247 (rectangle-mark-mode-map): New keymap.
2248 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2249
2250 2013-11-04 Glenn Morris <rgm@gnu.org>
2251
2252 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2253
2254 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2255
2256 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2257 (ruby-smie-rules): Use smie-rule-parent instead.
2258
2259 * emacs-lisp/smie.el (smie-rule-parent): Always call
2260 smie-indent-virtual rather than only for hanging tokens.
2261 (smie--next-indent-change): New helper command.
2262
2263 2013-11-03 Glenn Morris <rgm@gnu.org>
2264
2265 * Makefile.in (abs_srcdir): Remove.
2266 (emacs): Unset EMACSLOADPATH.
2267
2268 2013-11-02 Glenn Morris <rgm@gnu.org>
2269
2270 * Makefile.in (EMACS): Use a relative filename.
2271 (abs_top_builddir): Remove.
2272 (custom-deps, finder-data, autoloads): Use --chdir.
2273
2274 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2275
2276 Use relative filenames in TAGS files.
2277 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2278 (lisptagsfiles4, TAGS): Use relative file names.
2279 (TAGS-LISP): Remove.
2280 (maintainer-clean): No more TAGS-LISP file.
2281
2282 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2283 (lisptagsfiles4): Use absolute filenames again.
2284 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2285 Remove all *loaddefs files, not just the first. Remove esh-groups.
2286 (maintainer-clean): Delete TAGS, TAGS-LISP.
2287
2288 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2289
2290 * emacs-lisp/package.el (package-version-join):
2291 Recognize snapshot versions.
2292
2293 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2294
2295 * subr.el (version-regexp-alist): Add support for snapshot versions.
2296
2297 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2298
2299 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2300 New function, replacement for `smie-rule-parent' for when we want to
2301 skip over our direct parent if it's an assignment token..
2302 (ruby-smie-rules): Use it.
2303
2304 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2305
2306 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2307 unconditionally. Remove now unnecessary forward declarations.
2308 Remove XEmacs-specific setup.
2309 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2310 (ruby-font-lock-syntactic-keywords)
2311 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2312 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2313 (ruby-here-doc-end-syntax): Remove.
2314 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2315 defined as function.
2316
2317 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2318
2319 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2320
2321 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2322
2323 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2324 table and abbrev table, `define-derived-mode' does that for us
2325 anyway.
2326
2327 2013-11-01 Glenn Morris <rgm@gnu.org>
2328
2329 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2330 files is atomic for some time, so no parallel compilation issues).
2331
2332 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2333
2334 * faces.el (face-x-resources): Add :distant-foreground.
2335 (region): Use :distant-foreground for gtk and ns.
2336
2337 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2338
2339 Allow multiple bibliographies when BibLaTeX is used rather than
2340 BibTeX.
2341 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2342 (reftex-locate-bibliography-files): Us it.
2343
2344 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2345
2346 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2347 allow comments in pbm files.
2348
2349 * term/w32-win.el (dynamic-library-alist): Support newer versions
2350 of libjpeg starting with v7: look only for the DLL from the
2351 version against which Emacs was built.
2352 Support versions of libpng beyond 1.4.x.
2353 Support libtiff v4.x.
2354
2355 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2356
2357 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2358 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2359 Add property :safe.
2360 (ruby-deep-arglist): Add property :type.
2361
2362 2013-10-31 Glenn Morris <rgm@gnu.org>
2363
2364 * Makefile.in (custom-deps, finder-data): No need to setq the target
2365 variables, we are in the right directory and the defaults work fine.
2366
2367 2013-10-30 Glenn Morris <rgm@gnu.org>
2368
2369 * Makefile.in (autoloads): Do not use abs_lisp.
2370
2371 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2372 `newline' does not respect `standard-output', so use `princ'.
2373
2374 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2375
2376 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2377 * buff-menu.el (Buffer-menu--unmark): New function.
2378 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2379
2380 2013-10-30 Glenn Morris <rgm@gnu.org>
2381
2382 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2383
2384 * emacs-lisp/package.el (lm-homepage): Declare.
2385
2386 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2387 Fix doc typos.
2388
2389 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2390
2391 * Makefile.in (finder-data, autoloads, update-subdirs)
2392 (compile-main, compile-clean, compile-always, bootstrap-clean):
2393 Check return value of cd.
2394 (compile-calc): Remove.
2395
2396 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2397
2398 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2399
2400 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2401 (byte-compile-and-folded): New function.
2402 (=, <, >, <=, >=): Use it.
2403
2404 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2405 (path-separator, null-device, buffer-file-coding-system)
2406 (lpr-headers-switches): Check system-type before modifying them.
2407 (find-buffer-file-type-coding-system): Mark obsolete.
2408 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2409 find-file-not-found-set-buffer-file-coding-system.
2410 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2411 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2412 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2413 (w32-direct-print-region-helper, w32-direct-print-region-function)
2414 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2415 * startup.el (normal-top-level-add-subdirs-to-load-path):
2416 * ps-print.el (ps-print-region-function):
2417 * lpr.el (print-region-function): Use new name.
2418
2419 * subr.el (custom-declare-variable-early): Remove function.
2420 (custom-declare-variable-list): Remove var.
2421 (error, user-error): Remove `while' loop.
2422 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2423 (user-emacs-directory-warning, locate-user-emacs-file):
2424 Move to files.el.
2425 * simple.el (read-quoted-char-radix, read-quoted-char):
2426 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2427 Move from subr.el.
2428 * custom.el (custom-declare-variable-list): Don't process
2429 custom-declare-variable-list.
2430
2431 * progmodes/python.el (python-shell-get-buffer): New function.
2432 (python-shell-get-process): Use it.
2433 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2434 Python which encoding was used. Don't split-string since we only care
2435 about the first line. Return the temp-file, if applicable.
2436 (python-shell-send-region): Tell compile.el how to turn locations in
2437 the temp-file into locations in the source buffer.
2438
2439 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * subr.el (undefined): Add missing behavior from the C code for
2442 unbound keys.
2443
2444 * rect.el: Use lexical-binding. Add new rectangular region support.
2445 (rectangle-mark): New command.
2446 (rectangle--region): New var.
2447 (deactivate-mark-hook): Reset rectangle--region.
2448 (rectangle--extract-region, rectangle--insert-for-yank)
2449 (rectangle--highlight-for-redisplay)
2450 (rectangle--unhighlight-for-redisplay): New functions.
2451 (region-extract-function, redisplay-unhighlight-region-function)
2452 (redisplay-highlight-region-function): Use them to handle
2453 rectangular region.
2454 * simple.el (region-extract-function): New var.
2455 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2456 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2457 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2458 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2459 (redisplay-unhighlight-region-function)
2460 (redisplay-highlight-region-function): New vars.
2461 (redisplay--update-region-highlight): New function.
2462 (pre-redisplay-function): Use it.
2463 (exchange-point-and-mark): Don't deactivate the mark before
2464 reactivate-it anyway.
2465 * comint.el (comint-kill-region): Remove yank-handler argument.
2466 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2467 (delete-char): Remove property, since it's now part of their
2468 default behavior.
2469 (self-insert-iso): Remove property since this command doesn't exist.
2470
2471 * emacs-lisp/package.el (package--download-one-archive)
2472 (describe-package-1): Don't query the user about final newline.
2473
2474 2013-10-29 Daniel Colascione <dancol@dancol.org>
2475
2476 * net/tramp.el (tramp-methods): Document new functionality.
2477 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2478 tramp-hostname-checker if method provides one instead of scanning
2479 argument list for "%h" to decide hostname acceptability.
2480
2481 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2482
2483 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2484 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2485 Handle COPY-CONTENTS. (Bug#15737)
2486
2487 2013-10-28 Daiki Ueno <ueno@gnu.org>
2488
2489 * epa-file.el
2490 (epa-file-cache-passphrase-for-symmetric-encryption):
2491 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2492
2493 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2494
2495 * image.el (defimage):
2496 (image-load-path): Doc fixes.
2497
2498 2013-10-27 Alan Mackenzie <acm@muc.de>
2499
2500 Indent statements in macros following "##" correctly.
2501 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2502 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2503
2504 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2505
2506 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2507
2508 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2509
2510 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2511 after `=' is probably a new expression.
2512
2513 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2514
2515 * man.el (man-imenu-title): New option.
2516 (Man-mode-map): Add menu. (Bug#15722)
2517 (Man-mode): Add imenu to menu.
2518
2519 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2520
2521 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2522 specific in what the first arg can be: a non-keyword word,
2523 string/regexp/percent literal opener, opening paren, or unary
2524 operator followed directly by word.
2525
2526 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2529 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2530 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2531 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2532 Remove vars, they do not apply any more.
2533 (prolog-mode-abbrev-table): Remove redundant declaration.
2534 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2535 (prolog-use-smie): Remove.
2536 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2537 supported by prolog-electric-if-then-else-flag.
2538 (prolog-mode-variables, prolog-menu): Use setq-local.
2539 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2540 Remove binding to `Backspace' since this key doesn't exist anyway.
2541 Remove bindings for electric self-inserting keys.
2542 (prog-mode): Assume it's defined.
2543 (prolog-post-self-insert): New function.
2544 (prolog-mode): Use it.
2545 (prolog-indent-line, prolog-indent-level)
2546 (prolog-find-indent-of-matching-paren)
2547 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2548 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2549 (prolog-goto-next-paren, prolog-in-string-or-comment)
2550 (prolog-tokenize, prolog-inside-mline-comment)
2551 (prolog-find-start-of-mline-comment): Remove functions.
2552 (prolog-find-unmatched-paren, prolog-clause-end)
2553 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2554 (prolog-electric--if-then-else): Rename from
2555 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2556 (prolog-tokenize-searchkey): Remove const.
2557 (prolog-clause-info): Use forward-sexp.
2558 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2559 (prolog-electric-if-then-else): Remove commands.
2560 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2561 for use in post-self-insert-hook.
2562 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2563 for use in post-self-insert-hook.
2564 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2565 for use in post-self-insert-hook.
2566 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2567 adapt it for use in post-self-insert-hook.
2568
2569 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * emacs-lisp/ert.el (ert-run-tests-interactively):
2572 Use `completing-read'. (Bug#9756)
2573
2574 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2575
2576 * simple.el (line-move): Call line-move-1 instead of
2577 line-move-visual when the current window hscroll is zero, but
2578 temporary-goal-column indicates we will need to hscroll as result
2579 of the movement. (Bug#15712)
2580
2581 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2582
2583 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2584 capitalization. Use :visible instead of :active.
2585 Fix `ruby-indent-exp' reference. Add menu items for the generic
2586 commands that are used with SMIE.
2587 (ruby-do-end-to-brace): Insert space after `{'.
2588
2589 2013-10-25 John Anthony <john@jo.hnanthony.com>
2590
2591 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2592
2593 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2594
2595 2013-10-25 Glenn Morris <rgm@gnu.org>
2596
2597 * vc/vc.el (vc-print-log): Don't use a working revision unless
2598 one was explicitly specified. (Bug#15322)
2599
2600 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * subr.el (add-to-list): Preserve return value in compiler-macro
2603 (bug#15692).
2604
2605 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2606
2607 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2608 result. Ask user to retry using '-all' flag. (Bug#15701)
2609
2610 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * emacs-lisp/smie.el: New smie-config system.
2613 (smie-config): New defcustom.
2614 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2615 (smie-config-guess, smie-config-save): New commands.
2616 (smie-config--mode-local, smie-config--buffer-local)
2617 (smie-config--trace, smie-config--modefuns): New vars.
2618 (smie-config--advice, smie-config--mode-hook)
2619 (smie-config--setter, smie-config-local, smie-config--get-trace)
2620 (smie-config--guess-value, smie-config--guess): New functions.
2621 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2622 text properties. Treat "string fence" syntax like string syntax.
2623
2624 * progmodes/sh-script.el (sh-use-smie): Change default.
2625 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2626 (sh-var-value): Simplify by CSE.
2627 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2628 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2629 is used.
2630 (sh-guess-basic-offset): Use cl-incf.
2631 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2632
2633 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2634
2635 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2636 (bug#15699).
2637
2638 2013-10-24 Glenn Morris <rgm@gnu.org>
2639
2640 * Makefile.in (abs_top_srcdir): Remove.
2641 (update-subdirs): Use relative path to update-subdirs.
2642
2643 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2644
2645 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2646 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2647 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2648 Call unmsys--file-name before expand-file-name, not after it.
2649
2650 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2651
2652 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2653 (ert-test-skipped): New error.
2654 (ert-skip, ert-stats-skipped): New defuns.
2655 (ert--skip-unless): New macro.
2656 (ert-test-skipped): New struct.
2657 (ert--run-test-debugger, ert-test-result-type-p)
2658 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2659 (ert--stats-set-test-and-result, ert-char-for-test-result)
2660 (ert-string-for-test-result, ert-run-tests-batch)
2661 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2662 Handle skipped tests. (Bug#9803)
2663
2664 2013-10-24 Glenn Morris <rgm@gnu.org>
2665
2666 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2667
2668 * Makefile.in (abs_top_srcdir): New, set by configure.
2669 (update-subdirs): Correct build-aux location.
2670
2671 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2672
2673 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2674 value, whether we could auto-deduce `backend', or not.
2675
2676 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2677 with parameters" example. Simplify the "is it block or is it
2678 hash" check, but also make it more thorough.
2679
2680 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2681
2682 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2683
2684 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2687 { if it is hanging.
2688
2689 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2690 :before ";".
2691
2692 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2693
2694 * progmodes/compile.el (compilation-directory-matcher)
2695 (compilation-page-delimiter):
2696 Support GNU Make-4.0 directory quoting. (Bug#15678)
2697
2698 2013-10-23 Leo Liu <sdl.web@gmail.com>
2699
2700 * ido.el (ido-tidy): Handle read-only text.
2701
2702 2013-10-23 Glenn Morris <rgm@gnu.org>
2703
2704 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2705 (emacs, compile, compile-always):
2706 Quote entities that might contain whitespace.
2707 (custom-deps, finder-data, autoloads): Use abs_lisp.
2708 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2709 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2710 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2711
2712 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2713
2714 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2715 Use `following-char'.
2716
2717 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2720 * progmodes/ruby-mode.el (ruby-smie-rules):
2721 Remove corresponding workaround. Fix indentation rule of ";" so it
2722 also applies when ";" is the parent.
2723
2724 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2725
2726 * frame.el (display-screens, display-pixel-height)
2727 (display-pixel-width, display-mm-width, display-backing-store)
2728 (display-save-under, display-planes, display-color-cells)
2729 (display-visual-class, display-monitor-attributes-list):
2730 Mention the optional ‘display’ argument in doc strings.
2731
2732 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2733
2734 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2735 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2736
2737 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2738
2739 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2740 TODO. Add "." after " @ ".
2741 (ruby-smie--at-dot-call): New function. Checks if point at method
2742 call with explicit target.
2743 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2744 to the method name tokens when it precedes them.
2745 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2746 (ruby-smie-rules): Add rule for indentation before and after "."
2747 token.
2748
2749 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * textmodes/remember.el (remember-diary-extract-entries):
2752 Avoid add-to-list.
2753
2754 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2755 an instruction.
2756
2757 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2758
2759 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2760 (ruby-smie--implicit-semi-p): Add new operator chars.
2761
2762 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2763 `smie-down-list'.
2764 (ruby-smie--args-separator-p): Check that there's no newline
2765 between method call and its arguments.
2766
2767 2013-10-20 Alan Mackenzie <acm@muc.de>
2768
2769 Allow comma separated lists after Java "implements".
2770
2771 * progmodes/cc-engine.el (c-backward-over-enum-header):
2772 Parse commas.
2773 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2774 from a "disallowed" list in enum fontification.
2775
2776 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2777
2778 * startup.el (default-frame-background-mode): Remove unused defvar.
2779
2780 * progmodes/verilog-mode.el (verilog-mode): Don't set
2781 comment-indent-function globally.
2782
2783 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2784
2785 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2786 Move Info menu item creation to ns-win.el.
2787
2788 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2789 in menu bar.
2790
2791 * menu-bar.el: Move GNUStep specific menus...
2792
2793 * term/ns-win.el (ns-initialize-window-system): ... to here.
2794
2795 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * simple.el (newline): Only run post-self-insert-hook when
2798 called interactively.
2799
2800 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2801
2802 * icomplete.el (icomplete-with-completion-tables): Add :version.
2803
2804 2013-10-19 Alan Mackenzie <acm@muc.de>
2805
2806 Fix fontification bugs with constructors and const.
2807
2808 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2809 CASE 2) Remove the check for the absence of a suffix construct
2810 after a function declaration with only types (no identifiers) in
2811 the parentheses. Also, accept a function declaration with just a
2812 type inside the parentheses, if this type can be positively
2813 recognised as such, or if a prefix keyword like "explicit" nails
2814 down the construct as a declaration.
2815
2816 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2817
2818 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2819 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2820 the problem whereby selecting a menu item that leads to a
2821 minibuffer prompt moves the cursor out of the minibuffer window,
2822 making it hard to type at the prompt. Suggested by Stefan Monnier
2823 <monnier@iro.umontreal.ca>.
2824
2825 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2826
2827 * menu-bar.el: Don't make Services menu.
2828
2829 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2830
2831 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2832 (ffap-alist): Use ffap-c++-mode for c++-mode.
2833 (ffap-c++-path): New variable.
2834 (ffap-c++-mode): New function.
2835
2836 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2837
2838 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2839
2840 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2841
2842 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2843 introduced on 2013-09-08, which results in an infinite loop
2844 requesting a password.
2845
2846 2013-10-18 Glenn Morris <rgm@gnu.org>
2847
2848 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2849
2850 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2851
2852 Sync with upstream verilog-mode revision 1a6ecec7.
2853 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2854 (verilog-mode-release-date): Remove.
2855 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2856 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2857 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2858 (verilog-auto-tieoff-ignore-regexp)
2859 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2860 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2861 (verilog-signals-with, verilog-dir-cache-preserving)
2862 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2863 Doc fixes.
2864 (verilog-case-fold): New option, to control case folding in
2865 regexp searches, bug597.
2866 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2867 (verilog-string-match-fold, verilog-in-paren-count)
2868 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2869 (verilog-at-close-struct-p): New functions.
2870 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2871 (verilog-forward-sexp, verilog-set-auto-endcomments):
2872 (verilog-leap-to-case-head): Handle "unique0" case.
2873 (verilog-in-constraint-re): New constant.
2874 (verilog-keywords, verilog-type-font-keywords):
2875 Add some SystemVerilog 1800-2012 keywords.
2876 (verilog-label-be): Remove unimplemented argument, bug669.
2877 (verilog-batch-execute-func): When batch expanding clear
2878 create-lockfiles to prevent spurious user locks when a file ends
2879 up not changing.
2880 (verilog-calculate-indent, verilog-calc-1)
2881 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2882 (verilog-do-indent): Fix indentation of nested constraints
2883 and structures.
2884 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2885 (verilog-auto-inst-param): Use verilog-string-match-fold.
2886 (verilog-read-inst-module-matcher):
2887 Fix AUTOINST on gate primitives with #1.
2888 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2889 Reads all user-defined typed variables.
2890 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2891 (verilog-signals-matching-regexp)
2892 (verilog-signals-not-matching-regexp, verilog-auto):
2893 Respect verilog-case-fold.
2894 (verilog-diff-report): Fix line count.
2895 (verilog-auto-assign-modport): Remove unused local `modi'.
2896 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2897 better handle multidimensional arrays.
2898 Fix packed array ports misadding bit index in AUTOINST, bug637.
2899 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2900 to not double-declare existing outputs and inputs, respectively.
2901 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2902 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2903 (verilog-sk-uvm-component): New skeleton.
2904 (verilog-submit-bug-report): Add verilog-case-fold,
2905 remove verilog-mode-release-date.
2906
2907 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2908
2909 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2910 as before.
2911
2912 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2913
2914 * textmodes/remember.el (remember): Set buffer-offer-save in
2915 remember buffers (bug#13566).
2916
2917 2013-10-18 Daniel Colascione <dancol@dancol.org>
2918
2919 When evaluating forms in ielm, direct standard output to ielm
2920 buffer. Add new ielm-return-for-effect command. Remove trailing
2921 whitespace throughout.
2922
2923 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2924 (ielm-return-for-effect): New command.
2925 (ielm-send-input): Accept optional `for-effect' parameter.
2926 (ielm-eval-input): Accept optional `for-effect' parameter.
2927 Bind `standard-output' to stream we create using
2928 `ielm-standard-output-impl'. Suppress printing result when
2929 `for-effect'.
2930 (ielm-standard-output-impl): New function.
2931 (inferior-emacs-lisp-mode): Explain new features in documentation.
2932
2933 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2934
2935 Code cleanup.
2936
2937 * net/tramp.el (tramp-debug-message): Do not check for connection
2938 buffer.
2939 (tramp-message): Use "vector" connection property.
2940
2941 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2942 (tramp-equal-remote, tramp-eshell-directory-change)
2943 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2944 (tramp-adb-handle-rename-file)
2945 * net/tramp-cmds.el (tramp-list-remote-buffers)
2946 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2947 * net/tramp-compat.el (tramp-compat-process-running-p)
2948 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2949 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2950 (tramp-gvfs-handle-rename-file)
2951 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2952 (tramp-set-file-uid-gid)
2953 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2954 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2955 of `file-remote-p'.
2956
2957 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2958 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2959 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2960 (tramp-gw-open-network-stream): Suppress unrelated traces.
2961
2962 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2963 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2964 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2965 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2966 connection property.
2967
2968 * net/tramp-cache.el (top): Suppress traces when reading
2969 persistency file.
2970
2971 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2972 Refactor common code. Improve debug message.
2973 (tramp-maybe-open-connection)
2974 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2975 connection buffer too early.
2976
2977 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2978 from `tramp-smb-actions-with-acl'.
2979 (tramp-smb-actions-set-acl): New defconst.
2980 (tramp-smb-handle-copy-directory)
2981 (tramp-smb-action-get-acl): New defun, renamed from
2982 `tramp-smb-action-with-acl'.
2983 (tramp-smb-action-set-acl): New defun.
2984 (tramp-smb-handle-set-file-acl): Rewrite.
2985
2986 2013-10-17 Glenn Morris <rgm@gnu.org>
2987
2988 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2989
2990 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * skeleton.el (skeleton-newline): Remove.
2993 (skeleton-internal-1): Use (insert "\n") instead.
2994
2995 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2996 let-bindings.
2997
2998 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2999 forward-sexp-function while we redo its job (bug#15613).
3000
3001 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3002
3003 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3004 represented by lists.
3005
3006 2013-10-16 Glenn Morris <rgm@gnu.org>
3007
3008 * tmm.el (tmm--history): New dynamic variable.
3009 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3010
3011 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3012
3013 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3014 (tramp-smb-errors): Add error messages.
3015 (tramp-smb-actions-with-acl): New defconst.
3016 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3017 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3018 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3019 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3020 (tramp-smb-get-stat-capability): Fix tests.
3021
3022 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3023
3024 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3025 (bug#15580).
3026
3027 2013-10-16 Glenn Morris <rgm@gnu.org>
3028
3029 * ansi-color.el (ansi-color-drop-regexp):
3030 Add 1J, 1K, 2K. (Bug#15617)
3031
3032 * files.el (hack-local-variables--warned-lexical): New.
3033 (hack-local-variables):
3034 Warn about misplaced lexical-binding. (Bug#15616)
3035
3036 * net/eww.el (eww-render): Always set eww-current-url,
3037 and update header line. (Bug#15622)
3038 (eww-display-html): ... Rather than just doing it here.
3039
3040 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3041
3042 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3043 menu navigations commands.
3044
3045 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3046
3047 * progmodes/subword.el (subword-capitalize): Be careful when
3048 the search for [[:alpha:]] fails (bug#15580).
3049
3050 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3051
3052 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3053 to commands that scroll the menu.
3054
3055 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3056
3057 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3058 Handle methods ending with `?' and `!'.
3059
3060 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3061
3062 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3063 `japanese-cp932' to `cp932' to fix the problem where saving a
3064 source file written in Shift_JIS twice would end up having
3065 `coding: japanese-cp932' which Ruby could not recognize.
3066 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3067 in `ruby-encoding-map'.
3068 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3069 doesn't need to be explicitly declared in magic comment.
3070 (ruby-encoding-map): Add type declaration for better customize UI.
3071
3072 2013-10-13 Glenn Morris <rgm@gnu.org>
3073
3074 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3075 Occur buffers are read-only. http://bugs.debian.org/720775
3076
3077 * emacs-lisp/authors.el (authors-fixed-entries):
3078 Comment out old alpha stuff.
3079
3080 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3081
3082 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3083 to `after-save-hook' instead of `before-save-hook'.
3084 (ruby-mode-set-encoding): Use the value of coding system used to
3085 write the file. Call `basic-save-buffer-1' after modifying the
3086 buffer.
3087
3088 2013-10-13 Alan Mackenzie <acm@muc.de>
3089
3090 Fix indentation/fontification of Java enum with
3091 "implements"/generic.
3092
3093 * progmodes/cc-engine.el (c-backward-over-enum-header):
3094 Extracted from the three other places and enhanced to handle generics.
3095 (c-inside-bracelist-p): Uses new function above.
3096 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3097 function above.
3098 (c-font-lock-enum-tail): Uses new function above.
3099
3100 2013-10-13 Kenichi Handa <handa@gnu.org>
3101
3102 * international/mule-cmds.el (select-safe-coding-system): Remove a
3103 superfluous condition in chekcing whether a coding system is safe
3104 or not.
3105
3106 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3107
3108 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3109
3110 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3111
3112 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3113
3114 2013-10-13 Glenn Morris <rgm@gnu.org>
3115
3116 * menu-bar.el (menu-bar-update-buffers):
3117 Unify Buffers menu prompt string. (Bug#15576)
3118
3119 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3120
3121 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3122 Add some entries.
3123 (authors-fixed-entries): Use accented form of name.
3124
3125 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3128 method calls (bug#15594).
3129 (ruby-smie--args-separator-p): New function.
3130 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3131 recognize paren-free method calls.
3132
3133 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3134 internals of universal-argument.
3135
3136 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3137
3138 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3139 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3140 dropped menu on second mouse click on the menu bar.
3141
3142 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3143
3144 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3145 (explicit-shell-file-name): Declare.
3146 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3147 (sh-completion-at-point-function): New function.
3148 (sh-mode): Use it.
3149 (sh-smie--keyword-p): Remove unused argument.
3150 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3151 vars.
3152 (sh-set-shell): Always setup SMIE, even if we use the
3153 old indentation code.
3154
3155 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3156
3157 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3158 cases of ? and =.
3159 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3160 predicate would return nil are almost non-existent.
3161 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3162
3163 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3164 cache also after commands that modify the buffer but don't move
3165 point.
3166
3167 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3168
3169 * env.el (substitute-env-in-file-name): New function.
3170 (substitute-env-vars): Extend the meaning of the optional arg.
3171
3172 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3173
3174 * term/w32-win.el (dynamic-library-alist): Define separate lists
3175 of GIF DLLs for versions before and after 5.0.0 of giflib.
3176 (Bug#15531)
3177
3178 2013-10-10 João Távora <joaotavora@gmail.com>
3179
3180 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3181 not locked, use last revision and current source as
3182 defaults. (Bug#15569)
3183
3184 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3185
3186 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3187 menu-bar is hidden.
3188
3189 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3190
3191 * window.el (pop-to-buffer-same-window): Fix doc-string.
3192 (Bug#15492)
3193
3194 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3197
3198 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3199
3200 * calendar/icalendar.el (icalendar-import-file):
3201 Fix interactive spec. (Bug#15482)
3202
3203 2013-10-10 Glenn Morris <rgm@gnu.org>
3204
3205 * desktop.el (desktop-save): Default to saving in .emacs.d,
3206 since PWD is no longer in desktop-path by default. (Bug#15319)
3207
3208 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3209 now that text mode has a menu with the same entry.
3210 (menu-bar-text-mode-auto-fill): Remove now unused func.
3211 * textmodes/text-mode.el (text-mode-map):
3212 Use auto-fill help text from menu-bar.el.
3213
3214 2013-10-10 John Anthony <john@jo.hnanthony.com>
3215
3216 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3217
3218 2013-10-09 Juri Linkov <juri@jurta.org>
3219
3220 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3221 instead of this-command-keys. Add universal-argument-more and
3222 universal-argument-minus to the list of prefix commands. (Bug#15568)
3223
3224 2013-10-09 Glenn Morris <rgm@gnu.org>
3225
3226 * vc/vc-svn.el (vc-svn-create-repo):
3227 Expand paths in file://... url. (Bug#15446)
3228
3229 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3230 Add some entries.
3231 (authors): Remove unused local variables.
3232
3233 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * profiler.el: Create a more coherent calltree from partial backtraces.
3236 (profiler-format): Hide the tail with `invisible' so that C-s can still
3237 find the hidden elements.
3238 (profiler-calltree-depth): Don't recurse so enthusiastically.
3239 (profiler-function-equal): New hash-table-test.
3240 (profiler-calltree-build-unified): New function.
3241 (profiler-calltree-build): Use it.
3242 (profiler-report-make-name-part): Indent the calltree less.
3243 (profiler-report-mode): Add visibility specs for profiler-format.
3244 (profiler-report-expand-entry, profiler-report-toggle-entry):
3245 Expand the whole subtree when provided with a prefix arg.
3246
3247 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3248
3249 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3250 iuwu-mod token.
3251 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3252 hanging iuwu-mod token.
3253 (ruby-smie--forward-token): Do not include a dot after a token in
3254 that token.
3255 (ruby-smie--backward-token): Likewise.
3256
3257 2013-10-08 Juri Linkov <juri@jurta.org>
3258
3259 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3260 to isearch-other-control-char.
3261 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3262 and isearch-post-command-hook to post-command-hook.
3263 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3264 and isearch-post-command-hook from post-command-hook.
3265 (isearch-unread-key-sequence)
3266 (isearch-reread-key-sequence-naturally)
3267 (isearch-lookup-scroll-key, isearch-other-control-char)
3268 (isearch-other-meta-char): Remove functions.
3269 (isearch-pre-command-hook, isearch-post-command-hook):
3270 New functions based on isearch-other-meta-char rewritten
3271 relying on the new behavior of overriding-terminal-local-map
3272 that does not replace the local keymaps any more. (Bug#15200)
3273
3274 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3275
3276 Support menus on text-mode terminals.
3277 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3278 functionality.
3279
3280 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3281
3282 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3283 Move here from mouse.el.
3284 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3285 and arrow keys.
3286 (tty-menu-navigation-map): New map for TTY menu navigation.
3287
3288 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3289
3290 * frame.el (display-mouse-p): Report text-mode mouse as available
3291 on w32.
3292 (display-popup-menus-p): Report availability if mouse is
3293 available; don't condition on window-system.
3294
3295 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3296 (tty-menu-selected-face): New faces.
3297
3298 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3301 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3302 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3303 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3304 New constants.
3305 (lisp-mode-variables): New `elisp' argument.
3306 (emacs-lisp-mode): Use it.
3307 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3308 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3309
3310 * indent.el: Use lexical-binding.
3311 (indent-region): Add progress reporter.
3312 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3313 last step.
3314 (indent--next-tab-stop): New function to implement this behavior.
3315 (tab-to-tab-stop, move-to-tab-stop): Use it.
3316
3317 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3318
3319 * indent.el (indent-rigidly--current-indentation): New function.
3320 (indent-rigidly-map): New var.
3321 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3322
3323 2013-10-08 Bastien Guerry <bzg@gnu.org>
3324
3325 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3326
3327 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * progmodes/perl-mode.el: Use lexical-binding.
3330 Remove redundant :group args.
3331 (perl-nochange): Change default to be closer to other major modes's
3332 standard behavior.
3333 (perl-indent-line): Don't consider text on current line as a
3334 valid beginning of function from which to indent.
3335
3336 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3337 with more than one argument (bug#15538).
3338
3339 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3340
3341 * vc/pcvs.el: Use lexical-binding.
3342 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3343 environment of `eval'.
3344 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3345 than a list of expressions. Adjust callers.
3346 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3347
3348 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3349
3350 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3351 case of the dot in a chained method call being on the following line.
3352
3353 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * electric.el (electric-indent-inhibit): New var.
3356 (electric-indent-post-self-insert-function): Use it.
3357 * progmodes/python.el (python-mode): Set it.
3358
3359 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3360 open braces.
3361
3362 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3363
3364 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3365 (css-mode): Use electric-indent-chars.
3366
3367 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3368 (font-lock-beg, font-lock-end): Move before first use.
3369 (nxml-mode): Use syntax-propertize-function.
3370 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3371 (nxml-extend-after-change-region): Remove.
3372 * nxml/xmltok.el: Use lexical-binding.
3373 (xmltok-save): Use `declare'.
3374 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3375 * nxml/nxml-util.el: Use lexical-binding.
3376 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3377 Use `declare'.
3378 * nxml/nxml-ns.el: Use lexical-binding.
3379 (nxml-ns-save): Use `declare'.
3380 (nxml-ns-prefixes-for): Avoid add-to-list.
3381 * nxml/rng-match.el: Use lexical-binding.
3382 (rng--ipattern): Use cl-defstruct.
3383 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3384 (rng-cons-group-after, rng-subst-group-after)
3385 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3386 Use closures instead of `(lambda...).
3387
3388 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3389
3390 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3391 of BEG and END.
3392
3393 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3394 Use `tramp-handle-insert-file-contents'.
3395 (tramp-gvfs-handle-insert-file-contents): Remove function.
3396
3397 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3398 Use `save-restriction' in order to keep markers.
3399
3400 * net/trampver.el: Update release number.
3401
3402 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * progmodes/compile.el (compilation-parse-errors):
3405 Use compilation--put-prop.
3406 (compilation--ensure-parse): Check compilation-multiline.
3407
3408 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3409
3410 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3411 lexical-binding.
3412
3413 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3414
3415 * progmodes/ruby-mode.el: Fix recently added tests.
3416 (ruby-smie-grammar): Add - and +.
3417 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3418 (ruby-smie--backward-id): New functions.
3419 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3420 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3421 any more.
3422
3423 2013-10-07 Leo Liu <sdl.web@gmail.com>
3424
3425 * register.el (register-preview-delay)
3426 (register-preview-functions): New variables.
3427 (register-read-with-preview, register-preview)
3428 (register-describe-oneline): New functions.
3429 (point-to-register, window-configuration-to-register)
3430 (frame-configuration-to-register, jump-to-register)
3431 (number-to-register, view-register, insert-register)
3432 (copy-to-register, append-to-register, prepend-to-register)
3433 (copy-rectangle-to-register): Use register-read-with-preview to
3434 read register. (Bug#15525)
3435
3436 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3437
3438 * net/network-stream.el (network-stream-open-starttls): Don't add
3439 --insecure if it's already present, because that gnutls-cli
3440 rejects getting that parameter twice.
3441
3442 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3443
3444 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3445 keyword, too.
3446
3447 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3448
3449 * newcomment.el (comment-use-global-state): Change default value
3450 to t, mark obsolete (Bug#15251).
3451 (comment-beginning): In addition to `comment-to-syntax', check the
3452 value of `comment-use-global-state'.
3453
3454 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3455
3456 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3457 (ruby-comment-column): Follow the global default, by default.
3458 (ruby-smie-grammar): Add assignment syntax.
3459 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3460 open-paren, a comma, or a \.
3461 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3462 and line continuations.
3463 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3464 followed by implicit semi-colons. Add rule for string concatenation
3465 and for indentation at BOB.
3466 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3467
3468 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3469 calling next-sexp, since next-token may have skipped chars which
3470 next-sexp doesn't know should be skipped!
3471
3472 2013-10-05 Leo Liu <sdl.web@gmail.com>
3473
3474 * progmodes/octave.el (octave-send-region):
3475 Call compilation-forget-errors.
3476
3477 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3478
3479 * vc/vc-svn.el (vc-svn-find-admin-dir):
3480 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3481 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3482 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3483 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3484
3485 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3488
3489 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 * subr.el (read-passwd): Hide chars even when called within a context
3492 where after-change-functions is disabled (bug#15501).
3493 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3494 until we removed ourself from overriding-terminal-local-map.
3495
3496 2013-10-04 Leo Liu <sdl.web@gmail.com>
3497
3498 * progmodes/octave.el (inferior-octave-mode):
3499 Call compilation-forget-errors.
3500
3501 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3502
3503 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3504
3505 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3506
3507 * net/secrets.el (secrets-create-collection): Add optional
3508 argument ALIAS. Use proper Label keyword. Append ALIAS as
3509 dbus-call-method argument. (Bug#15516)
3510
3511 2013-10-04 Leo Liu <sdl.web@gmail.com>
3512
3513 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3514 (inferior-octave-compilation-font-lock-keywords): New variables.
3515 (compilation-error-regexp-alist)
3516 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3517 (inferior-octave-mode): Use compilation-shell-minor-mode.
3518
3519 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3520
3521 * minibuffer.el (completion--replace): Be careful that `end' might be
3522 a marker.
3523
3524 2013-10-03 Daiki Ueno <ueno@gnu.org>
3525
3526 Add support for package signature checking.
3527 * emacs-lisp/package.el (url-http-file-exists-p)
3528 (epg-make-context, epg-context-set-home-directory)
3529 (epg-verify-string, epg-context-result-for)
3530 (epg-signature-status, epg-signature-to-string)
3531 (epg-check-configuration, epg-configuration)
3532 (epg-import-keys-from-file): Declare.
3533 (package-check-signature): New user option.
3534 (package-unsigned-archives): New user option.
3535 (package-desc): Add `signed' field.
3536 (package-load-descriptor): Set `signed' field if .signed file exists.
3537 (package--archive-file-exists-p): New function.
3538 (package--check-signature): New function.
3539 (package-install-from-archive): Check package signature.
3540 (package--download-one-archive): Check archive signature.
3541 (package-delete): Remove .signed file.
3542 (package-import-keyring): New command.
3543 (package-refresh-contents): Import default keyring.
3544 (package-desc-status): Add "unsigned" status.
3545 (describe-package-1, package-menu--print-info)
3546 (package-menu-mark-delete, package-menu--find-upgrades)
3547 (package-menu--status-predicate): Support "unsigned" status.
3548
3549 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3550
3551 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3552 the new compilation scheme using the new byte-codes.
3553
3554 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3555 (byte-pophandler): New byte codes.
3556 (byte-goto-ops): Adjust accordingly.
3557 (byte-compile--use-old-handlers): New var.
3558 (byte-compile-catch): Use new byte codes depending on
3559 byte-compile--use-old-handlers.
3560 (byte-compile-condition-case--old): Rename from
3561 byte-compile-condition-case.
3562 (byte-compile-condition-case--new): New function.
3563 (byte-compile-condition-case): New function that dispatches depending
3564 on byte-compile--use-old-handlers.
3565 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3566 when we can.
3567
3568 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3569 Optimize under `condition-case' and `catch' if
3570 byte-compile--use-old-handlers is nil.
3571 (disassemble-offset): Handle new bytecodes.
3572
3573 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * subr.el (error): Use `declare'.
3576 (decode-char, encode-char): Use advertised-calling-convention instead
3577 of the docstring to discourage use of the `restriction' arg.
3578
3579 2013-10-03 Daiki Ueno <ueno@gnu.org>
3580
3581 * epg.el (epg-verify-file): Add a comment saying that it does not
3582 notify verification error as a return value nor a signal.
3583 (epg-verify-string): Ditto.
3584
3585 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3586
3587 * progmodes/compile.el (compilation-start): Try globbing the arg to
3588 `cd' (bug#15417).
3589
3590 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3591
3592 Sync with Tramp 2.2.8.
3593
3594 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3595 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3596 * net/trampver.el: Update release number.
3597
3598 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3599
3600 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3601 and default-process-coding-system for darwin only.
3602
3603 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3606
3607 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3608
3609 * vc/vc-git.el (vc-git-grep): Disable pager.
3610
3611 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3612
3613 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3614 Use :url instead of :homepage, as per
3615 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3616
3617 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3618 non-nil, use `syntax-ppss' (Bug#15251).
3619
3620 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3621
3622 * progmodes/octave.el (inferior-octave-startup-file):
3623 Prefer ~/.emacs.d/init_octave.m.
3624
3625 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3626
3627 * emacs-lisp/package.el (package-desc-from-define):
3628 Accept additional arguments as plist, convert them to an alist and store
3629 them in the `extras' slot.
3630 (package-generate-description-file): Convert extras alist back to
3631 plist and append to the `define-package' form arguments.
3632 (package--alist-to-plist): New function.
3633 (package--ac-desc): Add `extras' slot.
3634 (package--add-to-archive-contents): Check if the archive-contents
3635 vector is long enough, and if it is, pass its `extras' slot value
3636 to `package-desc-create'.
3637 (package-buffer-info): Call `lm-homepage', pass the returned value
3638 to `package-desc-from-define'.
3639 (describe-package-1): Render the homepage button (Bug#13291).
3640
3641 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3642 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3643
3644 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3645
3646 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3647 and default-process-coding-system to utf-8-unix (Bug#15402).
3648
3649 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3650
3651 * subr.el (looking-back): Do not recommend using looking-back.
3652
3653 2013-09-28 Alan Mackenzie <acm@muc.de>
3654
3655 Fix indentation/fontification of Java enum with "implements".
3656
3657 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3658 regexp which matches "implements", etc., in Java.
3659 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3660 specifier clauses coming after "enum".
3661 * progmodes/cc-fonts.el (c-font-lock-declarations)
3662 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3663 after "enum".
3664
3665 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3666
3667 * faces.el (region): Change ns_selection_color to
3668 ns_selection_fg_color, add ns_selection_bg_color.
3669
3670 2013-09-28 Leo Liu <sdl.web@gmail.com>
3671
3672 * progmodes/octave.el (inferior-octave-completion-table)
3673 (inferior-octave-completion-at-point): Minor tweaks.
3674
3675 * textmodes/ispell.el (ispell-lookup-words): Rename from
3676 lookup-words. (Bug#15460)
3677 (lookup-words): Obsolete.
3678 (ispell-complete-word, ispell-command-loop): All uses changed.
3679
3680 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3681
3682 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3683 (octave-mode-menu): Add octave-send-buffer.
3684 (octave-send-buffer): New function.
3685
3686 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3687
3688 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3689 octave-lookfor.
3690 (octave-mode-menu): Add octave-lookfor.
3691 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3692 octave-lookfor.
3693 (octave-lookfor): New function.
3694
3695 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * emacs-lisp/cl-macs.el:
3698 (cl--loop-destr-temps): Remove.
3699 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3700 its convention.
3701 (cl--loop-set-iterator-function): New function.
3702 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3703 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3704 Bind `it' with `let' instead of substituting it with `cl-subst'.
3705 (cl--unused-var-p): New function.
3706 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3707 Eliminate some unused variable warnings (bug#15326).
3708
3709 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3710
3711 * doc-view.el (doc-view-scale-reset): Rename from
3712 `doc-view-reset-zoom-level'.
3713 (doc-view-scale-adjust): New command.
3714 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3715 `doc-view-scale-adjust'.
3716
3717 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3718
3719 * doc-view.el (doc-view-reset-zoom-level): New command.
3720 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3721 zoom commands (bug#15466).
3722
3723 2013-09-26 Kenichi Handa <handa@gnu.org>
3724
3725 * international/quail.el (quail-help): Make it not a command.
3726
3727 2013-09-26 Leo Liu <sdl.web@gmail.com>
3728
3729 * minibuffer.el (completion-all-sorted-completions): Make args
3730 optional as they are.
3731
3732 2013-09-25 Daniel Colascione <dancol@dancol.org>
3733
3734 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3735 specs are and that they're not evaluated.
3736
3737 2013-09-24 Sam Steingold <sds@gnu.org>
3738
3739 * midnight.el (clean-buffer-list-kill-regexps)
3740 (clean-buffer-list-kill-buffer-names): Update for the new Man
3741 buffer naming which includes the object name.
3742
3743 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3746 (eshell-parse-command, eshell-parse-pipeline): Use it since
3747 eshell-separate-commands requires a dynamic scoped var.
3748 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3749
3750 2013-09-23 Leo Liu <sdl.web@gmail.com>
3751
3752 * autoinsert.el (auto-insert-alist): Make the value of
3753 lexical-binding match its file setting.
3754
3755 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3756
3757 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3758
3759 * autoarg.el (autoarg-kp-digit-argument):
3760 * electric.el (Electric-command-loop):
3761 * kmacro.el (kmacro-step-edit-insert):
3762 Do not set universal-argument-num-events.
3763
3764 2013-09-22 Leo Liu <sdl.web@gmail.com>
3765
3766 * files.el (interpreter-mode-alist): Add octave.
3767
3768 2013-09-21 Alan Mackenzie <acm@muc.de>
3769
3770 C++: fontify identifier in declaration following "public:" correctly.
3771 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3772 to match "public", etc.
3773 (c-decl-prefix-re): Add ":" into the C++ value.
3774 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3775 bit. Add a check for a ":" preceded by "public", etc.
3776
3777 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3778
3779 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3780 recognized by GDB 7.5 and later.
3781
3782 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3783
3784 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3785
3786 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * subr.el (internal--call-interactively): New const.
3789 (called-interactively-p): Use it (bug#3984).
3790
3791 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3792
3793 * vc/pcvs.el (cvs-mode-ignore):
3794 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3795 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3796
3797 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3800 (eshell-ls-orig-insert-directory): Remove.
3801 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3802 (eshell-ls-use-in-dired): Use advice-add/remove.
3803 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3804 Add `orig-fun' arg for use in :around advice.
3805 Make it check (redundantly) eshell-ls-use-in-dired.
3806
3807 2013-09-19 Glenn Morris <rgm@gnu.org>
3808
3809 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3810
3811 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3812
3813 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3814
3815 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3816
3817 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3818 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3819 (tramp-get-remote-python): New defuns.
3820 (tramp-get-remote-uid-with-perl)
3821 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3822 contributed by yary <not.com@gmail.com> (tiny change).
3823 (tramp-get-remote-uid-with-python)
3824 (tramp-get-remote-gid-with-python): New defuns. Python code
3825 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3826 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3827
3828 2013-09-19 Glenn Morris <rgm@gnu.org>
3829
3830 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3831
3832 * eshell/em-unix.el (eshell-remove-entries):
3833 Rename argument to avoid name-clash with global `top-level'.
3834
3835 * eshell/esh-proc.el (eshell-kill-process-function):
3836 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3837 (eshell-reset-after-proc): Remove unused arg `proc'.
3838
3839 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3840 (directory-files-and-attributes): Mark unused arg.
3841
3842 * eshell/em-unix.el (eshell-remove-entries):
3843 Remove unused arg `path'. Update callers.
3844
3845 * eshell/em-hist.el (eshell-hist-parse-arguments):
3846 Remove unused arg `silent'. Update callers.
3847
3848 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3849 Fix (f)boundp mix-up.
3850
3851 * eshell/em-smart.el (eshell-smart-scroll-window)
3852 (eshell-disable-after-change):
3853 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3854
3855 2013-09-18 Alan Mackenzie <acm@muc.de>
3856
3857 Fix fontification of type when followed by "const".
3858 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3859 "known" types from fontification.
3860
3861 2013-09-18 Glenn Morris <rgm@gnu.org>
3862
3863 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3864 (chart-face-list): Drop Emacsen without display-color-p.
3865
3866 * net/eww.el (libxml-parse-html-region): Declare.
3867 (eww-display-html): Explicit error if no libxml2 support.
3868
3869 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3870
3871 * image.el (image-type-from-buffer, image-multi-frame-p):
3872 Remove --without-x warning/error.
3873
3874 * mouse.el (mouse-yank-primary):
3875 * term.el (term-mouse-paste):
3876 Reorder to silence --without-x compilation.
3877
3878 * mpc.el (doc-view-mode): Silence --without-x compilation.
3879
3880 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3881 Silence --without-x compilation.
3882
3883 * progmodes/gud.el (gud-find-file, gud-mode):
3884 Silence --without-x compilation.
3885 (tooltip-mode): Declare.
3886
3887 * wdired.el (dired-backup-overwrite): Remove declaration.
3888 (wdired-mode-map): Add doc string.
3889
3890 * custom.el (x-get-resource): Declare.
3891
3892 * eshell/em-glob.el (ange-cache):
3893 * eshell/em-unix.el (ange-cache): Declare.
3894
3895 * faces.el (x-display-list, x-open-connection, x-get-resource):
3896 Declare.
3897
3898 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3899 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3900 Declare.
3901
3902 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3903
3904 * net/gnutls.el (gnutls-log-level): Declare.
3905
3906 * net/shr.el (image-size, image-animate): Declare.
3907
3908 * simple.el (font-info): Declare.
3909
3910 * subr.el (x-popup-dialog): Declare.
3911
3912 * term/common-win.el (x-select-enable-primary)
3913 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3914 Declare.
3915
3916 * term/ns-win.el (x-handle-args): Declare.
3917
3918 * term/x-win.el (x-select-enable-clipboard): Declare.
3919
3920 * term/w32-win.el (create-default-fontset): Declare.
3921
3922 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3923 Declare.
3924
3925 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3926 (fit-frame-to-buffer): Explicit error if --without-x.
3927 (mouse-autoselect-window-select): Silence compiler.
3928
3929 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3930
3931 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3932 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3933 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3934 * eshell/esh-util.el (eshell-sublist):
3935 Remove unused local variables.
3936
3937 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3938
3939 * textmodes/two-column.el: Make 2C-split work for --without-x.
3940 (scroll-bar-columns): Autoload.
3941 (top-level): Require fringe when compiling.
3942
3943 2013-09-18 Leo Liu <sdl.web@gmail.com>
3944
3945 * subr.el (add-hook): Robustify to handle closure as well.
3946
3947 2013-09-17 Glenn Morris <rgm@gnu.org>
3948
3949 * simple.el (messages-buffer-mode-map): Unbind "g".
3950
3951 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * help-mode.el (help-mode-finish): Use derived-mode-p.
3954 Remove obsolete highlighting.
3955
3956 * play/life.el (life-mode): Use define-derived-mode. Derive from
3957 special-mode.
3958 (life): Let-bind inhibit-read-only.
3959 (life-setup): Avoid `setq'. Use `life-mode'.
3960
3961 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3962 which should not be needed any more.
3963 (package-menu-refresh, package-menu-describe-package): Use user-error.
3964
3965 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3966 (eshell-post-rewrite-command-hook): Make obsolete.
3967 (eshell-parse-command): Simplify.
3968 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3969 (eshell--cmd): Declare.
3970 (eshell-parse-pipeline): Remove unused var `final-p'.
3971 Pass a dynvar to eshell-post-rewrite-command-hook.
3972 Implement the new eshell-post-rewrite-command-function.
3973 (eshell-invoke-directly): Remove unused arg `input'.
3974 * eshell/esh-io.el (eshell-io-initialize):
3975 Use eshell-post-rewrite-command-function (bug#15399).
3976 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3977 adjust to new calling convention.
3978 (eshell-create-handles): Rename args to avoid clashing with dynvar
3979 `standard-output'.
3980
3981 2013-09-17 Glenn Morris <rgm@gnu.org>
3982
3983 * simple.el (messages-buffer-mode): New major mode.
3984 (messages-buffer): New function.
3985 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3986 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3987 (ert-run-test): Use `messages-buffer' function.
3988 (ert--force-message-log-buffer-truncation): Ignore read-only.
3989 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3990 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3991
3992 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3993
3994 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3995
3996 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
3997
3998 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3999
4000 * icomplete.el (icomplete-in-buffer): New var.
4001 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4002 vars and replace them with functions.
4003 (icomplete-minibuffer-setup): Adjust accordingly.
4004 (icomplete--completion-table, icomplete--completion-predicate)
4005 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4006 New functions.
4007 (icomplete-forward-completions, icomplete-backward-completions)
4008 (icomplete-simple-completing-p, icomplete-exhibit)
4009 (icomplete-completions): Use them.
4010 (icomplete--in-region-buffer): New var.
4011 (icomplete--in-region-setup): New function.
4012 (icomplete-mode): Use it.
4013
4014 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4015 (bug#15379).
4016 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4017 return args and options.
4018 (eshell-eval-using-options): Use the new return value of
4019 eshell--do-opts to set the options's vars in their scope.
4020 (eshell--set-option): Rename from eshell-set-option.
4021 Add arg `opt-vals'.
4022 (eshell--process-option): Rename from eshell-process-option.
4023 Add arg `opt-vals'.
4024 (eshell--process-args): Use an `opt-vals' alist to store the options's
4025 values during their processing and return them additionally to the
4026 remaining args.
4027
4028 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4029
4030 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4031 continuation character an operator, as far as indentation is
4032 concerned (Bug#15369).
4033
4034 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4035
4036 * window.el (window--state-put-2): Don't process buffer state
4037 when buffer doesn't exist any more (Bug#15382).
4038
4039 2013-09-15 Glenn Morris <rgm@gnu.org>
4040
4041 * eshell/em-unix.el (eshell/rm):
4042 Make -f ignore missing files. (Bug#15373)
4043
4044 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4045 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4046 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4047
4048 2013-09-14 Glenn Morris <rgm@gnu.org>
4049
4050 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4051
4052 2013-09-13 Glenn Morris <rgm@gnu.org>
4053
4054 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4055 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4056
4057 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4058
4059 * frame.el (x-focus-frame): Mark as declared in frame.c.
4060
4061 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 * ls-lisp.el: Use advice-add.
4064 (original-insert-directory): Remove.
4065 (ls-lisp--insert-directory): Rename from insert-directory; add
4066 `orig-fun' argument.
4067 (insert-directory): Advise.
4068
4069 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4070
4071 * term.el (term-emulate-terminal): Decode the command string
4072 before passing it to term-command-hook. (Bug#15337)
4073
4074 2013-09-13 Glenn Morris <rgm@gnu.org>
4075
4076 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4077
4078 * eshell/esh-ext.el (eshell-search-path): Declare.
4079
4080 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4081 Otherwise an error occurs if eshell-dirs module not loaded.
4082
4083 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4084
4085 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4086
4087 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4088 `tramp-check-proper-host'. Check for a valid method name.
4089
4090 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4091 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4092 * net/tramp-sh.el (tramp-maybe-open-connection):
4093 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4094
4095 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4096 also for hash values.
4097
4098 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * term/ns-win.el (parameters): Don't declare as dynamic.
4101 (before-make-frame-hook): Don't add ineffective function.
4102
4103 * eshell/*.el: Use lexical-binding (bug#15231).
4104
4105 2013-09-12 Kenichi Handa <handa@gnu.org>
4106
4107 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4108
4109 2013-09-12 Glenn Morris <rgm@gnu.org>
4110
4111 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4112 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4113
4114 * subr.el (do-after-load-evaluation): Also give compiler warnings
4115 when obsolete files are used (except by obsolete files).
4116
4117 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4118 in the status output, assume `filename' is the first. (Bug#15322)
4119
4120 * vc/vc.el (vc-deduce-fileset): Doc fix.
4121
4122 * calc/calc-help.el (Info-goto-node):
4123 * progmodes/cperl-mode.el (Info-find-node):
4124 * vc/ediff.el (Info-goto-node): Update declarations.
4125
4126 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4127
4128 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4129 (vc-bzr-pull): Require vc-dispatcher.
4130 * vc/vc-git.el (vc-compilation-mode): Declare.
4131 (vc-git-pull): Require vc-dispatcher.
4132
4133 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4134
4135 * progmodes/octave.el (help-button-action): Declare.
4136
4137 * shell.el (shell-directory-tracker): Output error as a message
4138 rather than just returning it as a string.
4139 (shell-process-pushd): Remove useless use of message.
4140
4141 * dframe.el (dframe-timer-fn):
4142 * files.el (dir-locals-read-from-file):
4143 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4144 (mpc-format):
4145 * reveal.el (reveal-post-command):
4146 * saveplace.el (load-save-place-alist-from-file):
4147 * shell.el (shell-resync-dirs):
4148 * w32-common-fns.el (x-get-selection-value):
4149 * emacs-lisp/copyright.el (copyright-find-copyright):
4150 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4151 * emulation/tpu-edt.el (tpu-copy-keyfile):
4152 * play/bubbles.el (bubbles--mark-neighbourhood):
4153 * progmodes/executable.el
4154 (executable-make-buffer-file-executable-if-script-p):
4155 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4156
4157 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 Cleanup Eshell to rely less on dynamic scoping.
4160 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4161 last-value, and ext-command here. Bind `args' closer to `body'.
4162 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4163 (eshell--args): Declare new dynamic var.
4164 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4165 last-value, and ext-command. Pass `args' to `body'.
4166 (eshell-process-args): Bind eshell--args.
4167 (eshell-set-option): Use eshell--args.
4168 * eshell/eshell.el (eshell): Use derived-mode-p.
4169 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4170 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4171 (eshell-glob-function): Declare.
4172 * eshell/esh-util.el: Require cl-lib.
4173 (eshell-read-hosts-file): Avoid add-to-list.
4174 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4175 `err'.
4176 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4177 Declare.
4178 (eshell/diff): Remove unused var `err'.
4179 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4180 `killflag'.
4181 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4182 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4183 first use.
4184 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4185 Move declaration before first use.
4186 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4187 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4188 rely on cl-return.
4189
4190 2013-09-12 Glenn Morris <rgm@gnu.org>
4191
4192 * term/ns-win.el (global-map): Remove binding for ispell-next,
4193 deleted 1999-05-29. (Bug#15357)
4194
4195 2013-09-11 Glenn Morris <rgm@gnu.org>
4196
4197 * echistory.el (electric-command-history): Remove call to deleted func.
4198
4199 * play/landmark.el (landmark-mode): Fix typos.
4200
4201 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4202 Check cvs-sort-ignore-file is bound.
4203
4204 * savehist.el: No need for cl when compiling on Emacs.
4205
4206 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4209 (bug#15338).
4210 (eshell-self-insert-command, eshell-send-invisible):
4211 Remove unused argument.
4212 (eshell-handle-control-codes): Remove unused var `orig'.
4213 Avoid delete-backward-char.
4214
4215 * files.el (set-auto-mode): Simplify a bit further.
4216
4217 2013-09-11 Glenn Morris <rgm@gnu.org>
4218
4219 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4220 (set-auto-mode): Don't regexp-quote elements.
4221 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4222 * progmodes/cc-mode.el (interpreter-mode-alist):
4223 * progmodes/ruby-mode.el (interpreter-mode-alist):
4224 Revert previous change.
4225
4226 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * play/snake.el (snake-mode):
4229 * play/mpuz.el (mpuz-mode):
4230 * play/landmark.el (lm-mode):
4231 * play/blackbox.el (blackbox-mode):
4232 * play/5x5.el (5x5-mode):
4233 * obsolete/options.el (Edit-options-mode):
4234 * net/quickurl.el (quickurl-list-mode):
4235 * net/newst-treeview.el (newsticker-treeview-mode):
4236 * mail/rmailsum.el (rmail-summary-mode):
4237 * mail/mspools.el (mspools-mode):
4238 * locate.el (locate-mode):
4239 * ibuffer.el (ibuffer-mode):
4240 * emulation/ws-mode.el (wordstar-mode):
4241 * emacs-lisp/debug.el (debugger-mode):
4242 * array.el (array-mode):
4243 * net/eudc.el (eudc-mode): Use define-derived-mode.
4244 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4245 Move initialization into declaration.
4246 (mairix-searches-mode): Use define-derived-mode.
4247 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4248 (eudc-edit-hotlist): Use dolist.
4249 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4250 (Man-mode): Use define-derived-mode.
4251 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4252 (Info-edit-mode): Use define-derived-mode.
4253 (Info-cease-edit): Use Info-mode.
4254 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4255 into declaration.
4256 (eshell-mode): Use define-derived-mode.
4257 * chistory.el (command-history-mode-map): Rename from
4258 command-history-map.
4259 (command-history-mode): Use define-derived-mode.
4260 (Command-history-setup): Remove function.
4261 * calc/calc.el (calc-trail-mode-map): New var.
4262 (calc-trail-mode): Use define-derived-mode.
4263 (calc-trail-buffer): Set calc-main-buffer manually.
4264 * bookmark.el (bookmark-insert-annotation): New function.
4265 (bookmark-edit-annotation): Use it.
4266 (bookmark-edit-annotation-mode): Make it a proper major mode.
4267 (bookmark-send-edited-annotation): Use derived-mode-p.
4268 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4269 closer to its ideal place. Use \' to match EOS.
4270
4271 * profiler.el (profiler-calltree-find): Use function-equal.
4272
4273 2013-09-10 Glenn Morris <rgm@gnu.org>
4274
4275 * files.el (interpreter-mode-alist): Convert to regexps.
4276 (set-auto-mode): Adapt for this. (Bug#15306)
4277 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4278 Comment out unused variable.
4279 * progmodes/cc-mode.el (interpreter-mode-alist):
4280 * progmodes/python.el (interpreter-mode-alist):
4281 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4282 * progmodes/sh-script.el (sh-set-shell):
4283 No longer use interpreter-mode-alist to get list of shells.
4284
4285 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4286
4287 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4288
4289 * simple.el: Use set-temporary-overlay-map for universal-argument.
4290 (universal-argument-map): Don't use default-bindings (bug#15317).
4291 Bind switch-frame explicitly. Replace universal-argument-minus with
4292 a conditional binding.
4293 (universal-argument-num-events, saved-overriding-map): Remove.
4294 (restore-overriding-map): Remove.
4295 (universal-argument--mode): Rename from save&set-overriding-map,
4296 and rewrite.
4297 (universal-argument, universal-argument-more, negative-argument)
4298 (digit-argument): Adjust accordingly.
4299 (universal-argument-minus): Remove.
4300 (universal-argument-other-key): Remove.
4301
4302 * subr.el (with-demoted-errors): Add `format' argument.
4303
4304 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4305
4306 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4307 `tramp-cleanup-connection'.
4308
4309 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4310 parameters KEEP-DEBUG and KEEP-PASSWORD.
4311
4312 * net/tramp.el (tramp-file-name-handler):
4313 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4314 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4315 (tramp-maybe-open-connection):
4316 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4317 Use `tramp-cleanup-connection'.
4318
4319 * net/tramp-sh.el (tramp-maybe-open-connection):
4320 Catch 'uname-changed inside the progress reporter.
4321
4322 2013-09-10 Glenn Morris <rgm@gnu.org>
4323
4324 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4325
4326 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4327 returns "alternate access method" in mode (eg "-rw-r--r--.").
4328
4329 2013-09-08 Glenn Morris <rgm@gnu.org>
4330
4331 * saveplace.el (load-save-place-alist-from-file):
4332 Demote errors. (Bug#15305)
4333
4334 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4335
4336 Improve compatibility with older Emacsen, and XEmacs.
4337
4338 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4339 only if it is bound. It isn't for XEmacs.
4340 (with-tramp-progress-reporter): Do not let-bind `result'.
4341 This yields to scoping errors in XEmacs.
4342 (tramp-handle-make-auto-save-file-name): New function, moved from
4343 tramp-sh.el.
4344
4345 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4346 for `make-auto-save-file-name'.
4347 (tramp-adb--gnu-switches-to-ash):
4348 Use `tramp-compat-replace-regexp-in-string'.
4349
4350 * net/tramp-cache.el (tramp-cache-print): Call
4351 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4352
4353 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4354 bound. It isn't for XEmacs.
4355
4356 * net/tramp-compat.el (tramp-compat-copy-file):
4357 Catch `wrong-number-of-arguments' error.
4358 (tramp-compat-replace-regexp-in-string): New defun.
4359
4360 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4361 for `make-auto-save-file-name'.
4362 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4363 `copy-file'.
4364 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4365 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4366 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4367
4368 * net/tramp-gw.el (tramp-gw-open-network-stream):
4369 Use `tramp-compat-replace-regexp-in-string'.
4370
4371 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4372 Call `tramp-handle-make-auto-save-file-name'.
4373 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4374 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4375 (tramp-sh-file-inotifywait-process-filter):
4376 Use `tramp-compat-replace-regexp-in-string'.
4377 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4378
4379 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4380 for `make-auto-save-file-name'.
4381 (tramp-smb-handle-copy-directory):
4382 Call `tramp-compat-replace-regexp-in-string'.
4383 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4384 (tramp-smb-handle-copy-file): Improve error message.
4385 (tramp-smb-handle-rename-file): Rename directly only in case
4386 `newname' does not exist yet. This is a restriction of smbclient.
4387 (tramp-smb-maybe-open-connection): Rerun the function only when
4388 `auth-sources' is non-nil.
4389
4390 2013-09-08 Kenichi Handa <handa@gnu.org>
4391
4392 * international/characters.el: Set category "^" (Combining) for
4393 more characters.
4394
4395 2013-09-07 Alan Mackenzie <acm@muc.de>
4396
4397 Correctly fontify Java class constructors.
4398 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4399 in Java Mode.
4400 (c-recognize-typeless-decls): Set the Java value to t.
4401 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4402 While handling a "(", add a check for, effectively, Java, and handle a
4403 "typeless" declaration there.
4404
4405 2013-09-07 Roland Winkler <winkler@gnu.org>
4406
4407 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4408 field subtitle for entry type book.
4409
4410 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * minibuffer.el: Make minibuffer-complete call completion-in-region
4413 rather than other way around.
4414 (completion--some, completion-pcm--find-all-completions):
4415 Don't delay signals when debugging.
4416 (minibuffer-completion-contents): Beware fields within the
4417 minibuffer contents.
4418 (completion-all-sorted-completions): Use defvar-local.
4419 (completion--do-completion, completion--cache-all-sorted-completions)
4420 (completion-all-sorted-completions, minibuffer-force-complete):
4421 Add args `beg' and `end'.
4422 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4423 (minibuffer-complete): Use completion-in-region.
4424 (completion-complete-and-exit): New fun, extracted from
4425 minibuffer-complete-and-exit.
4426 (minibuffer-complete-and-exit): Use it.
4427 (completion--complete-and-exit): Rename from
4428 minibuffer--complete-and-exit.
4429 (completion-in-region--single-word): New function, extracted from
4430 minibuffer-complete-word.
4431 (minibuffer-complete-word): Use it.
4432 (display-completion-list): Make `common-substring' argument obsolete.
4433 (completion--in-region): Call completion--in-region-1 instead of
4434 minibuffer-complete.
4435 (completion-help-at-point): Pass boundaries to
4436 minibuffer-completion-help as args rather than via an overlay.
4437 (completion-pcm--string->pattern): Use `any-delim'.
4438 (completion-pcm--optimize-pattern): New function.
4439 (completion-pcm--pattern->regex): Handle `any-delim'.
4440 * icomplete.el (icomplete-forward-completions)
4441 (icomplete-backward-completions, icomplete-completions):
4442 Adjust calls to completion-all-sorted-completions and
4443 completion--cache-all-sorted-completions.
4444 (icomplete-with-completion-tables): Default to t.
4445 * emacs-lisp/crm.el (crm--current-element): Rename from
4446 crm--select-current-element. Don't put an overlay but return the
4447 boundaries instead.
4448 (crm--completion-command): Take two new args to bind to the boundaries.
4449 (crm-completion-help): Adjust accordingly.
4450 (crm-complete): Use completion-in-region.
4451 (crm-complete-word): Use completion-in-region--single-word.
4452 (crm-complete-and-exit): Use completion-complete-and-exit.
4453
4454 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4457 than dynamically.
4458
4459 2013-09-06 Juri Linkov <juri@jurta.org>
4460
4461 * info.el (Info-display-images-node): When image file doesn't exist
4462 display text version of the image if it's provided in the Info file.
4463 Otherwise, display the location of missing image from SRC attribute.
4464 Add help-echo text property from ALT attribute. (Bug#15279)
4465
4466 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4469 (edit-abbrevs-mode): Use define-derived-mode.
4470
4471 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4472 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4473 that it's defined.
4474 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4475 Use define-derived-mode.
4476
4477 * epg.el (epg-start-encrypt): Minor CSE simplification.
4478
4479 2013-09-06 William Xu <william.xwl@gmail.com>
4480
4481 * arc-mode.el: Add support for 7za (bug#15264).
4482 (archive-7z-program): New var.
4483 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4484 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4485 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4486
4487 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4488
4489 Remove URL syntax.
4490
4491 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4492 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4493 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4494 (tramp-postfix-host-format, tramp-file-name-regexp)
4495 (tramp-completion-file-name-regexp)
4496 (tramp-completion-dissect-file-name)
4497 (tramp-handle-substitute-in-file-name): Remove 'url case.
4498 (tramp-file-name-regexp-url)
4499 (tramp-completion-file-name-regexp-url): Remove constants.
4500
4501 2013-09-06 Glenn Morris <rgm@gnu.org>
4502
4503 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4504
4505 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4506
4507 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4508 keywords" below "here-doc beginnings" (Bug#15270).
4509
4510 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * subr.el (pop): Use `car-safe'.
4513 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4514 to detect unused `pop' return value.
4515
4516 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4517 var `block-regexp'.
4518 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4519 (python-fill-string): Remove unused var `marker'.
4520 (python-skeleton-add-menu-items): Remove unused var `items'.
4521
4522 * international/mule-cmds.el: Require CL.
4523 (find-coding-systems-for-charsets): Avoid add-to-list.
4524 (sanitize-coding-system-list): New function, extracted from
4525 select-safe-coding-system-interactively.
4526 (select-safe-coding-system-interactively): Use it.
4527 (read-input-method-name): Accept symbols for `default'.
4528
4529 * emacs-lisp/advice.el (defadvice): Add indent rule.
4530
4531 2013-09-05 Daniel Hackney <dan@haxney.org>
4532
4533 * dired-x.el:
4534 * net/ange-ftp.el:
4535 * net/browse-url.el:
4536 * net/dbus.el:
4537 * net/eudc.el:
4538 * net/eudcb-ldap.el:
4539 * net/eww.el:
4540 * net/imap.el:
4541 * printing.el:
4542 * vc/ediff-diff.el:
4543 * vc/ediff-init.el:
4544 * vc/ediff-merg.el:
4545 * vc/ediff-mult.el:
4546 * vc/ediff-util.el:
4547 * vc/ediff-wind.el:
4548 * vc/ediff.el:
4549 * vc/emerge.el:
4550 * vc/pcvs.el:
4551 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4552 byte compiler. Remove some unused let-bound variables.
4553
4554 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4557 a "ref-cell", since it gets better optimized (bug#14883).
4558
4559 2013-09-05 Glenn Morris <rgm@gnu.org>
4560
4561 * progmodes/cc-awk.el (c-forward-sws): Declare.
4562
4563 2013-09-04 Glenn Morris <rgm@gnu.org>
4564
4565 * generic-x.el [rul-generic-mode]: Require cc-mode.
4566 (c++-mode-syntax-table): Declare.
4567 (rul-generic-mode-syntax-table): Init in the defvar.
4568
4569 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4572 (vc-do-command, vc-set-async-update):
4573 * vc/vc-mtn.el (vc-mtn-dir-status):
4574 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4575 (vc-hg-pull, vc-hg-merge-branch):
4576 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4577 (vc-git-merge-branch):
4578 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4579 (vc-cvs-dir-status-files):
4580 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4581 (vc-bzr-dir-status-files):
4582 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4583 * vc/vc-annotate.el: Use lexical-binding.
4584 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4585 (vc-sentinel-movepoint): Declare.
4586 (vc-annotate): Don't use `goto-line'.
4587 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4588 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4589 (vc-sentinel-movepoint): Declare.
4590 * vc/vc-svn.el: Use lexical-binding.
4591 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4592 * vc/vc-sccs.el:
4593 * vc/vc-rcs.el: Use lexical-binding.
4594
4595 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4596 `deleted'. Don't drop errors silently.
4597
4598 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4599
4600 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4601
4602 * vc/vc.el (vc-ignore): Rewrite.
4603 (vc-default-ignore): New function.
4604 (vc-default-ignore-completion-table): Use find-ignore-file.
4605
4606 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4607 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4608 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4609 Remove. Most code moved to vc.el.
4610
4611 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4614 * net/tramp-smb.el (tramp-smb-get-file-entries):
4615 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4616 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4617
4618 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4619 Update call to it.
4620 (eww-change-select): Remove unused var `properties'.
4621 (eww-make-unique-file-name): Remove unused var `base'.
4622
4623 * finder.el (finder-compile-keywords): Don't mess with windows.
4624
4625 * calculator.el (calculator-funcall): Fix typo in last change.
4626
4627 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4628
4629 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4630 <pkg>-autoloads.el file stop us.
4631
4632 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4633 warnings, and factor out common code.
4634
4635 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4636
4637 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4638 two-character operators and whether the character preceding them
4639 changes their meaning (Bug#15208).
4640
4641 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4642
4643 Format code sent to Python shell for robustness.
4644 * progmodes/python.el (python-shell-buffer-substring):
4645 New function.
4646 (python-shell-send-region, python-shell-send-buffer): Use it.
4647
4648 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4649
4650 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4651 * net/tramp.el (tramp-user-error): ... here.
4652 (tramp-find-method, tramp-check-proper-host)
4653 (tramp-dissect-file-name, tramp-debug-message)
4654 (tramp-handle-shell-command):
4655 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4656 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4657
4658 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4659
4660 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4661
4662 * avoid.el (mouse-avoidance-point-position)
4663 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4664 returns nil.
4665
4666 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4667
4668 * progmodes/python.el (python-shell-completion-get-completions):
4669 Drop use of deleted `comint-last-prompt-overlay'.
4670 (python-nav-if-name-main): New command.
4671
4672 2013-09-01 Glenn Morris <rgm@gnu.org>
4673
4674 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4675 Avoid leading space in $wins. Otherwise the sed command used by
4676 eg compile-main ends up containing "/*.el". (Bug#15170)
4677
4678 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4679
4680 2013-08-30 Glenn Morris <rgm@gnu.org>
4681
4682 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4683 Fix is-this-a-directory logic. (Bug#15220)
4684
4685 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * textmodes/css-mode.el: Use SMIE.
4688 (css-smie-grammar): New var.
4689 (css-smie--forward-token, css-smie--backward-token)
4690 (css-smie-rules): New functions.
4691 (css-mode): Use them.
4692 (css-navigation-syntax-table): Remove var.
4693 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4694 (css-indent-calculate, css-indent-line): Remove functions.
4695
4696 Misc changes to reduce use of `(lambda...); and other cleanups.
4697 * cus-edit.el: Use lexical-binding.
4698 (customize-push-and-save, customize-apropos)
4699 (custom-buffer-create-internal): Use closures.
4700 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4701 * progmodes/ada-xref.el: Use setq.
4702 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4703 * dframe.el: Use lexical-binding.
4704 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4705 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4706 * descr-text.el: Use lexical-binding.
4707 (describe-text-widget, describe-text-sexp, describe-property-list):
4708 Use closures.
4709 * comint.el (comint-history-isearch-push-state): Use a closure.
4710 * calculator.el: Use lexical-binding.
4711 (calculator-number-to-string): Make it work with lexical-binding.
4712 (calculator-funcall): Same and use cl-letf.
4713
4714 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4715 (lisp--company-doc-string, lisp--company-location): New functions.
4716 (lisp-completion-at-point): Use them to improve Company support.
4717
4718 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4719 params of lambda expressions.
4720 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4721 (ruby-smie--opening-pipe-p): New function.
4722 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4723 symbols and matched |...| for formal params.
4724 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4725 from being treated as hanging. Handle "rescue".
4726
4727 2013-08-29 Glenn Morris <rgm@gnu.org>
4728
4729 * progmodes/cc-engine.el (c-pull-open-brace):
4730 Move definition before use.
4731
4732 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4735 are immutable. Don't use `unsafe' any more.
4736 (cl--defsubst-expand): Don't substitute at the same time as keeping
4737 a residual unused let-binding. Don't use `unsafe' any more.
4738
4739 2013-08-29 Glenn Morris <rgm@gnu.org>
4740
4741 * calendar/cal-china.el (calendar-chinese-year-cache):
4742 Recenter on 2015.
4743
4744 * nxml/nxml-util.el (nxml-debug-clear-inside):
4745 Use cl-loop rather than loop.
4746
4747 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4748
4749 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4750
4751 2013-08-28 Glenn Morris <rgm@gnu.org>
4752
4753 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4754
4755 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4756
4757 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4758
4759 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * simple.el (repeat-complex-command--called-interactively-skip):
4762 New function.
4763 (repeat-complex-command): Use it (bug#14136).
4764
4765 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4766 (c-define-abbrev-table): Add `doc' argument.
4767 (c-mode-abbrev-table, c++-mode-abbrev-table)
4768 (objc-mode-abbrev-table, java-mode-abbrev-table)
4769 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4770 (awk-mode-abbrev-table): Use it.
4771 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4772 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4773 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4774 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4775 Move initialization into the declaration; and remove any
4776 autoload cookie.
4777
4778 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4779 and dynamic let binding.
4780
4781 * vc/smerge-mode.el: Remove redundant :group args.
4782
4783 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4784 to load-path.
4785
4786 2013-08-28 Juri Linkov <juri@jurta.org>
4787
4788 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4789 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4790 (isearch-other-meta-char): Handle an undefined shifted printing
4791 character by downshifting it. (Bug#15200)
4792
4793 2013-08-28 Juri Linkov <juri@jurta.org>
4794
4795 * isearch.el (isearch-search): Change regexp error message for
4796 non-regexp searches. (Bug#15166)
4797
4798 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4799
4800 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4801 for portability to hosts where /bin/sh has problems.
4802
4803 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4804
4805 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4806
4807 2013-08-27 Juri Linkov <juri@jurta.org>
4808
4809 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4810 in the keyboard macro. (Bug#15126)
4811
4812 2013-08-27 Juri Linkov <juri@jurta.org>
4813
4814 * isearch.el (isearch-quote-char): Comment out converting unibyte
4815 to multibyte, thus syncing with its `quoted-insert' counterpart.
4816 (Bug#15166)
4817
4818 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4819
4820 * window.el (display-buffer-use-some-window): Add missing
4821 argument in call of get-largest-window (Bug#15185).
4822 Reported by Stephen Leake.
4823
4824 2013-08-27 Glenn Morris <rgm@gnu.org>
4825
4826 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4827
4828 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4831 from a matcher-function unless there's no more matches (bug#15161).
4832
4833 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4834
4835 * minibuffer.el: Revert change from 2013-08-20.
4836
4837 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4838 with text property `tramp-default', if appropriate.
4839 (tramp-check-proper-host): New defun.
4840 (tramp-dissect-file-name): Do not check hostname. Revert change
4841 of 2013-03-18.
4842 (tramp-backtrace): Make VEC-OR-PROC optional.
4843
4844 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4845 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4846 * net/tramp-sh.el (tramp-maybe-open-connection):
4847 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4848 Apply `tramp-check-proper-host'.
4849
4850 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4851
4852 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4853 lambda expression in order to have `describe-variable' display it.
4854
4855 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4856
4857 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4858 BUF can be optional. (Bug#15186)
4859
4860 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4861
4862 * progmodes/flymake.el (flymake-get-real-file-name-function):
4863 Fix broken customization. (Bug#15184)
4864
4865 2013-08-25 Alan Mackenzie <acm@muc.de>
4866
4867 Improve indentation of bracelists defined by macros (without "=").
4868
4869 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4870 expansion begins with "{", regard it as bracelist when it doesn't
4871 contain a ";".
4872
4873 Parse C++ inher-intro when there's a template split over 2 lines.
4874
4875 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4876 rigorously the search for "class" etc. followed by ":".
4877
4878 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4879 random languages a regexp which never matches rather than nil.
4880
4881 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4882
4883 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4884 (c-awk-regexp-one-line-possibly-open-char-list-re)
4885 (c-awk-one-line-possibly-open-regexp-re)
4886 (c-awk-one-line-non-syn-ws*-re): Remove.
4887 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4888 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4889 (c-awk-space*-unclosed-regexp-/-re): New constants.
4890 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4891 aren't regexp delimiters.
4892
4893 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4894 handling for a rare situation in AWK Mode involving unterminated
4895 strings/regexps.
4896
4897 2013-08-23 Glenn Morris <rgm@gnu.org>
4898
4899 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4900
4901 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4902
4903 * files.el (create-file-buffer): If the result would begin with
4904 spaces, prepend a "|" instead of removing them. (Bug#15162)
4905
4906 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4909 text-properties (bug#15155).
4910
4911 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4912 exist any more.
4913 (calc-keypad-redraw): Remove unused var `pad'.
4914 (calc-keypad-press): Remove unused var `menu'.
4915
4916 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4917
4918 * window.el (display-buffer-pop-up-frame):
4919 Call pop-up-frame-function with BUFFER current so `make-frame' will
4920 use it as the new frame's buffer (Bug#15133).
4921
4922 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * calendar/timeclock.el: Minor cleanups.
4925 (timeclock-ask-before-exiting, timeclock-use-display-time):
4926 Use `symbol'.
4927 (timeclock-modeline-display): Define as alias before the
4928 actual definition.
4929 (timeclock-mode-line-display): Use define-minor-mode.
4930 (timeclock-day-list-template): Make it a function, add an argument.
4931 (timeclock-day-list-required, timeclock-day-list-length)
4932 (timeclock-day-list-debt, timeclock-day-list-span)
4933 (timeclock-day-list-break): Adjust calls accordingly.
4934
4935 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4936
4937 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4938 Use read--expression so that completion works again.
4939
4940 2013-08-21 Sam Steingold <sds@gnu.org>
4941
4942 Add rudimentary inferior shell interaction
4943 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4944 (sh-set-shell): Reset it.
4945 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4946 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4947
4948 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * align.el: Use lexical-binding.
4951 (align-region): Simplify accordingly.
4952
4953 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4954
4955 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4956
4957 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4958 `non-essential' up.
4959
4960 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4961
4962 * net/tramp.el:
4963 * net/tramp-adb.el:
4964 * net/tramp-cmds.el:
4965 * net/tramp-ftp.el:
4966 * net/tramp-gvfs.el:
4967 * net/tramp-gw.el:
4968 * net/tramp-sh.el: Don't wrap external variable declarations by
4969 `eval-when-compile'.
4970
4971 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4972
4973 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4974 now that Emacs supports ImageMagick animations.
4975
4976 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4977
4978 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4979 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4980
4981 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4982
4983 * window.el (mouse-autoselect-window-select): Do autoselect when
4984 mouse pointer is on margin.
4985
4986 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4987
4988 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4989
4990 2013-08-16 Glenn Morris <rgm@gnu.org>
4991
4992 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4993 Handle "Remote Directory" response of some clients. (Bug#15058)
4994
4995 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4996 Tweak warning. (Bug#14926)
4997
4998 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4999 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5000
5001 * image-mode.el (image-mode-map): Add menu items to reverse,
5002 increase, decrease, reset animation speed.
5003 (image--set-speed, image-increase-speed, image-decrease-speed)
5004 (image-reverse-speed, image-reset-speed): New functions.
5005 (image-mode-map): Add bindings for speed commands.
5006
5007 * image.el (image-animate-get-speed, image-animate-set-speed):
5008 New functions.
5009 (image-animate-timeout): Respect image :speed property.
5010
5011 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5012
5013 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5014 previous line (bug#15101).
5015 (debugger-eval-expression, debugger-record-expression):
5016 Use read--expression (bug#15102).
5017
5018 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5019
5020 Remove byte compiler warnings, visible when compiling with
5021 `byte-compile-force-lexical-warnings' set to t.
5022
5023 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5024 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5025 (tramp-handle-unhandled-file-name-directory)
5026 (tramp-handle-file-notify-add-watch, tramp-action-login)
5027 (tramp-action-succeed, tramp-action-permission-denied)
5028 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5029 arguments with "_".
5030
5031 * net/tramp-adb.el (tramp-adb-parse-device-names)
5032 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5033 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5034 (tramp-adb-handle-file-truename): Remove unused arguments.
5035
5036 * net/tramp-cache.el (tramp-flush-directory-property)
5037 (tramp-flush-connection-property, tramp-list-connections)
5038 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5039
5040 * net/tramp-compat.el (tramp-compat-make-temp-file):
5041 Rename FILENAME to F.
5042
5043 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5044 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5045 (tramp-zeroconf-parse-workstation-device-names)
5046 (tramp-zeroconf-parse-webdav-device-names)
5047 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5048
5049 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5050 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5051
5052 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5053 arguments.
5054 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5055 (tramp-sh-handle-insert-file-contents-literally)
5056 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5057 with "_".
5058 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5059 Remove unused variables.
5060
5061 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5062 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5063 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5064
5065 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5066 Make them a defconst.
5067 (tramp-uuencode-region): Remove unused variable.
5068
5069 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5070
5071 * frameset.el (frameset--prop-setter): New function.
5072 (frameset-prop): Add gv-setter declaration.
5073 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5074 parameter was already set in FILTERED. Doc fix.
5075 (frameset--record-minibuffer-relationships): Allow saving a
5076 minibufferless frame without its corresponding minibuffer frame.
5077 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5078 frame, if the frame id matches.
5079 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5080 frames before orphaned ones.
5081 (frameset-restore): Warn about orphaned windows, instead of error out.
5082
5083 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5084
5085 * window.el (window-make-atom): Don't overwrite parameter
5086 already present.
5087 (display-buffer-in-atom-window): Handle special case where we
5088 split an already atomic window.
5089 (window--major-non-side-window, display-buffer-in-side-window)
5090 (window--side-check): Ignore minibuffer window when walking
5091 window tree.
5092 (window-deletable-p): Return 'frame only if no other frame uses
5093 our minibuffer window.
5094 (record-window-buffer): Run buffer-list-update-hook.
5095 (split-window): Make sure window--check-frame won't destroy an
5096 existing atomic window in case the new window gets nested
5097 inside.
5098 (display-buffer-at-bottom): Ignore minibuffer window when
5099 walking window tree. Don't split a side window.
5100 (pop-to-buffer): Don't set-buffer here, the select-window call
5101 should do that.
5102 (mouse-autoselect-window-select): Autoselect only if we are in the
5103 text portion of the window.
5104
5105 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5106
5107 * net/shr.el (shr-parse-image-data): New function to grab both the
5108 data itself and the Content-Type.
5109 (shr-put-image): Use it.
5110
5111 * net/eww.el (eww-display-image): Ditto.
5112
5113 * image.el (image-content-type-suffixes): New variable.
5114
5115 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5116
5117 * progmodes/python.el (python-imenu--build-tree)
5118 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5119
5120 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5121
5122 * simple.el (backward-word): Mention the optional argument.
5123
5124 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5125
5126 * frameset.el (frameset--make): Rename constructor from make-frameset.
5127 (frameset-p, frameset-valid-p): Don't autoload.
5128 (frameset-valid-p): Use normal accessors.
5129
5130 2013-08-13 Glenn Morris <rgm@gnu.org>
5131
5132 * progmodes/compile.el (compile-command): Tweak example in doc.
5133 * obsolete/scribe.el (scribe-mode):
5134 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5135
5136 * mail/feedmail.el (feedmail-confirm-outgoing)
5137 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5138
5139 * cus-start.el (truncate-partial-width-windows): Fix type.
5140
5141 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5142
5143 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5144
5145 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * emacs-lisp/timer.el (timer--time-setter): New function.
5148 (timer--time): Use it as gv-setter.
5149
5150 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5151 setter is not a symbol.
5152
5153 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5154
5155 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5156 if sending fails. This makes debugging easier.
5157
5158 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5159
5160 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5161 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5162 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5163
5164 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5165
5166 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5167
5168 2013-08-12 Glenn Morris <rgm@gnu.org>
5169
5170 * format.el (format-annotate-function):
5171 Handle read-only text properties in the source. (Bug#14887)
5172
5173 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5174
5175 * net/eww.el (eww-display-html): Ignore coding system errors.
5176 One web site uses "utf-8lias" as the coding system.
5177
5178 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5179
5180 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5181
5182 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5183
5184 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5185 (tutorial--detailed-help): Remove unused local variables.
5186 (tutorial--save-tutorial-to): Use ignore-errors.
5187 (help-with-tutorial): Use looking-at-p.
5188
5189 * view.el (view-buffer-other-window, view-buffer-other-frame):
5190 Mark unused arguments.
5191
5192 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5193 (woman-select-symbol-fonts, woman, woman-find-file)
5194 (woman-insert-file-contents, woman-non-underline-faces):
5195 Use string-match-p.
5196 (woman1-unquote): Move declaration.
5197
5198 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5199 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5200 argument. Remove unused local variable.
5201 (xml-parse-elem-type): Use string-match-p.
5202 (xml-substitute-numeric-entities): Use ignore-errors.
5203
5204 * calculator.el (calculator): Mark unused argument.
5205 (calculator-paste, calculator-quit, calculator-integer-p):
5206 Use ignore-errors.
5207 (calculator-string-to-number, calculator-decimal, calculator-exp)
5208 (calculator-op-or-exp): Use string-match-p.
5209
5210 * dired.el (dired-buffer-more-recently-used-p): Declare.
5211 (dired-insert-set-properties, dired-insert-old-subdirs):
5212 Use ignore-errors.
5213
5214 * dired-aux.el (dired-compress): Use ignore-errors.
5215 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5216 (dired-do-async-shell-command, dired-do-shell-command)
5217 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5218 (dired-insert-subdir-validate): Use string-match-p.
5219 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5220 (dired-add-entry): Use string-match-p, looking-at-p.
5221 (dired-insert-subdir-newpos): Remove unused local variable.
5222
5223 * filenotify.el (file-notify-callback): Remove unused local variable.
5224
5225 * filesets.el (filesets-error): Mark unused argument.
5226 (filesets-which-command-p, filesets-filter-dir-names)
5227 (filesets-directory-files, filesets-get-external-viewer)
5228 (filesets-ingroup-get-data): Use string-match-p.
5229
5230 * find-file.el (ff-other-file-name, ff-other-file-name)
5231 (ff-find-the-other-file, ff-cc-hh-converter):
5232 Remove unused local variables.
5233 (ff-get-file-name): Use string-match-p.
5234 (ff-all-dirs-under): Use ignore-errors.
5235
5236 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5237 (follow-select-if-visible): Remove unused local variable.
5238
5239 * forms.el (read-file-filter): Move declaration.
5240 (forms--make-format, forms--make-parser, forms-insert-record):
5241 Quote function with #'.
5242 (forms--update): Use string-match-p. Quote function with #'.
5243
5244 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5245 (help-make-xrefs): Use looking-at-p.
5246 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5247
5248 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5249 (ibuffer-confirm-operation-on): Use string-match-p.
5250
5251 * msb.el (msb-item-handler, msb-dired-item-handler):
5252 Mark unused arguments.
5253
5254 * ses.el (ses-decode-cell-symbol)
5255 (ses-kill-override): Remove unused local variable.
5256 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5257 (ses-load): Use ignore-errors, looking-at-p.
5258 (ses-jump-safe): Use ignore-errors.
5259 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5260
5261 * tabify.el (untabify, tabify): Mark unused arguments.
5262
5263 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5264 Mark unused argument.
5265 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5266 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5267
5268 * emacs-lisp/timer.el (timer--time): Define setter with
5269 gv-define-setter to avoid deprecation warning.
5270
5271 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5272 (*record-cmpl-statistics-p*): Remove (was commented out).
5273 (cmpl-statistics-block): Remove (body was commented out).
5274 All callers changed.
5275 (add-completions-from-buffer, load-completions-from-file):
5276 Remove unused variables.
5277
5278 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5279
5280 * filecache.el (file-cache-delete-file-list):
5281 Print message only when told so.
5282 (file-cache-files-matching): Use #' in mapconcat argument.
5283
5284 * ffap.el (ffap-url-at-point): Fix reference to variable
5285 thing-at-point-default-mail-uri-scheme.
5286
5287 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5288
5289 * subr.el (define-error): New function.
5290 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5291 error-file-not-found and define with define-error.
5292 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5293 and define with define-error.
5294 * userlock.el (file-locked, file-supersession):
5295 * simple.el (mark-inactive):
5296 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5297 * progmodes/ada-mode.el (ada-mode-errors):
5298 * play/life.el (life-extinct):
5299 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5300 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5301 * nxml/rng-util.el (rng-error):
5302 * nxml/rng-uri.el (rng-uri-error):
5303 * nxml/rng-match.el (rng-compile-error):
5304 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5305 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5306 * nxml/nxml-rap.el (nxml-scan-error):
5307 * nxml/nxml-outln.el (nxml-outline-error):
5308 * net/soap-client.el (soap-error):
5309 * net/gnutls.el (gnutls-error):
5310 * net/ange-ftp.el (ftp-error):
5311 * mpc.el (mpc-proc-error):
5312 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5313 (json-number-format, json-string-escape, json-string-format)
5314 (json-key-format, json-object-format):
5315 * jka-compr.el (compression-error):
5316 * international/quail.el (quail-error):
5317 * international/kkc.el (kkc-error):
5318 * emacs-lisp/ert.el (ert-test-failed):
5319 * calc/calc.el (calc-error, inexact-result, math-overflow)
5320 (math-underflow):
5321 * bookmark.el (bookmark-error-no-filename):
5322 * epg.el (epg-error): Define with define-error.
5323
5324 * time.el (display-time-event-handler)
5325 (display-time-next-load-average): Don't call sit-for since it seems
5326 unnecessary (bug#15045).
5327
5328 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5329 Use #' instead of ' to quote functions.
5330 (checkdoc-output-mode): Use setq-local.
5331 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5332 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5333 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5334 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5335 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5336 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5337 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5338 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5339
5340 * ido.el (ido-completion-help): Fix up compiler warning.
5341
5342 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5343
5344 * frameset.el (frameset-p): Add autoload cookie.
5345 (frameset--jump-to-register): New function, based on code moved from
5346 register.el.
5347 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5348
5349 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5350 (frameset-restore, frameset-save, frameset-session-filter-alist):
5351 Remove declarations.
5352 (register-alist): Doc fix.
5353 (frameset-to-register): Move to frameset.el.
5354 (jump-to-register, describe-register-1): Remove frameset-specific code.
5355
5356 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5357
5358 * allout-widgets.el (allout-widgets-pre-command-business)
5359 (allout-widgets-post-command-business)
5360 (allout-widgets-after-change-handler)
5361 (allout-decorate-item-and-context, allout-set-boundary-marker)
5362 (allout-body-modification-handler)
5363 (allout-graphics-modification-handler): Mark ignored arguments.
5364 (allout-widgets-post-command-business)
5365 (allout-widgets-exposure-change-processor)
5366 (allout-widgets-exposure-undo-processor)
5367 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5368 (allout-parse-item-at-point, allout-decorate-item-guides)
5369 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5370 * allout.el (epa-passphrase-callback-function): Declare.
5371 (allout-overlay-insert-in-front-handler)
5372 (allout-overlay-interior-modification-handler)
5373 (allout-isearch-end-handler, allout-chart-siblings)
5374 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5375 (allout-yank-processing, allout-process-exposed)
5376 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5377 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5378 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5379 (lisp-indent-defform): Mark ignored arguments.
5380 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5381 (calculate-lisp-indent): Remove unused variables.
5382 * international/characters.el (indian-2-column, arabic-2-column)
5383 (tibetan): Mark ignored arguments.
5384 (use-cjk-char-width-table): Mark ignored arguments.
5385 Remove unused variables.
5386 * international/fontset.el (build-default-fontset-data)
5387 (x-compose-font-name, create-fontset-from-fontset-spec):
5388 Mark ignored arguments.
5389 (fontset-plain-name): Remove unused variables.
5390 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5391 (keyboard-coding-system): Mark ignored arguments.
5392 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5393 * help.el (resize-temp-buffer-window):
5394 * window.el (display-buffer-in-major-side-window)
5395 (display-buffer-in-side-window, display-buffer-in-previous-window):
5396 Remove unused variables.
5397 * isearch.el (isearch-forward-symbol):
5398 * version.el (emacs-bzr-version-bzr):
5399 * international/mule-cmds.el (current-language-environment):
5400 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5401 (x-handle-display):
5402 * term/pc-win.el (x-list-fonts, x-display-planes)
5403 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5404 (x-server-version, x-display-screens, x-display-mm-height)
5405 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5406 (x-selection-owner-p, x-own-selection-internal)
5407 (x-disown-selection-internal, x-get-selection-internal)
5408 (msdos-initialize-window-system):
5409 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5410 * term/x-win.el (x-handle-no-bitmap-icon):
5411 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5412 (vc-default-find-file-hook, vc-default-extra-menu):
5413 Mark ignored arguments.
5414
5415 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5418 break-condition in the context of the debugged code (bug#12685).
5419
5420 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5421
5422 * comint.el:
5423 Do not use an overlay to highlight the last prompt. (Bug#14744)
5424 (comint-mode): Make comint-last-prompt buffer local.
5425 (comint-last-prompt): New variable.
5426 (comint-last-prompt-overlay): Remove. Superseded by
5427 comint-last-prompt.
5428 (comint-snapshot-last-prompt, comint-output-filter):
5429 Use comint-last-prompt.
5430
5431 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5432
5433 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5434 (frameset-save): Check validity of the resulting frameset.
5435
5436 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5437
5438 * ido.el (ido-record-command): Add doc string.
5439
5440 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5441
5442 * frameset.el (frameset): Do not disable creation of the default
5443 frameset-p predicate. Doc fix.
5444 (frameset-valid-p): New function, copied from the old predicate-p.
5445 Add additional checks.
5446 (frameset-restore): Check with frameset-valid-p.
5447 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5448 (frameset-name, frameset-description, frameset-properties)
5449 (frameset-states): Add docstring.
5450 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5451 (frameset-filter-alist): Doc fixes.
5452
5453 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5454
5455 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5456
5457 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5460 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5461 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5462 (byte-compile-normal-call): Remove obsolescence check.
5463
5464 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5465
5466 * frameset.el (frameset-restore): Doc fix.
5467
5468 * register.el (frameset-frame-id, frameset-frame-with-id)
5469 (frameset-p, frameset-restore, frameset-save): Declare.
5470 (register-alist): Document framesets.
5471 (frameset-session-filter-alist): Declare.
5472 (frameset-to-register): New function.
5473 (jump-to-register): Implement jumping to framesets. Doc fix.
5474 (describe-register-1): Describe framesets.
5475
5476 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5477
5478 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5479
5480 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5481 Use lexical-binding.
5482
5483 * frameset.el (frameset): Use type vector, not list (incompatible
5484 change). Do not declare a new constructor, use the default one.
5485 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5486 `name' and `description', respectively, and add read-only slot
5487 `timestamp'. Doc fixes.
5488 (frameset-copy, frameset-persistent-filter-alist)
5489 (frameset-filter-alist, frameset-switch-to-gui-p)
5490 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5491 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5492 (frameset-filter-iconified, frameset-keep-original-display-p):
5493 Doc fixes.
5494 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5495 Rename from frameset-filter-(save|restore)-param. All callers changed.
5496 Doc fix.
5497 (frameset-p): Adapt to change to vector and be more thorough.
5498 Change arg name to OBJECT. Doc fix.
5499 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5500 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5501 All callers changed.
5502 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5503 All callers changed.
5504 (frameset--record-minibuffer-relationships): Rename from
5505 frameset--process-minibuffer-frames. All callers changed.
5506 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5507 Use new default constructor (again). Doc fix.
5508 (frameset--find-frame-if): Rename from `frameset--find-frame.
5509 All callers changed.
5510 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5511 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5512 Doc fix.
5513 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5514 PARAMETERS and WINDOW-STATE, respectively.
5515 (frameset-restore): Add new keyword argument PREDICATE.
5516 Reset frameset--target-display to nil. Doc fix.
5517
5518 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5519
5520 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5521 (bat-mode): Use it.
5522 (bat-mode-syntax-table): Mark \n as end-of-comment.
5523 (bat-font-lock-keywords): Remove comment rule.
5524
5525 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5526 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5527
5528 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5529 (byte-compile-callargs-warn): Use `push'.
5530 (byte-compile-arglist-warn): Ignore higher-order "calls".
5531 (byte-compile-file-form-autoload): Use `pcase'.
5532 (byte-compile-function-form): If quoting a symbol, check that it exists.
5533
5534 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5535
5536 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5537 and add a few popular commands found in batch files.
5538 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5539 (dos-mode): Doc fixes.
5540
5541 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5544 (dos-mode): Use setq-local. Add space after "rem".
5545 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5546 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5547
5548 2013-08-07 Arni Magnusson <arnima@hafro.is>
5549
5550 * progmodes/dos.el: New file.
5551 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5552 dos-mode.
5553
5554 2013-08-06 Glenn Morris <rgm@gnu.org>
5555
5556 * calendar/calendar.el: Add new faces, and day-header-array.
5557 (calendar-weekday-header, calendar-weekend-header)
5558 (calendar-month-header): New faces.
5559 (calendar-day-header-construct): New function.
5560 (calendar-day-header-width): Also :set calendar-day-header-array.
5561 (calendar-american-month-header, calendar-european-month-header)
5562 (calendar-iso-month-header): Use calendar- faces.
5563 (calendar-generate-month):
5564 Use calendar-day-header-array for day headers; apply faces to them.
5565 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5566 (calendar-abbrev-construct): Add optional maxlen argument.
5567 (calendar-day-name-array): Doc fix.
5568 (calendar-day-name-array, calendar-abbrev-length)
5569 (calendar-day-abbrev-array):
5570 Also :set calendar-day-header-array, and maybe redraw.
5571 (calendar-day-header-array): New option. (Bug#15007)
5572 (calendar-font-lock-keywords): Set to nil and make obsolete.
5573 (calendar-day-name): Add option to use header array.
5574
5575 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5576
5577 * net/shr.el (shr-render-td): Remove debugging.
5578 (shr-render-td): Make width computation consistent by defaulting
5579 all zero-width columns to 10 characters. This may not be optimal,
5580 but it's at least consistent.
5581 (shr-make-table-1): Redo last change to fix the real problem in
5582 colspan handling.
5583
5584 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5585
5586 * files.el (cache-long-line-scans):
5587 Make obsolete alias to `cache-long-scans'.
5588
5589 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5590
5591 * frameset.el (frameset, frameset-filter-alist)
5592 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5593 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5594 (frameset-compute-pos): Rename from frameset--compute-pos,
5595 and add docstring.
5596 (frameset-move-onscreen): Use frameset-compute-pos.
5597 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5598
5599 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5600 Fix typos in docstrings.
5601
5602 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5603
5604 * frame.el (get-other-frame): Tiny cleanup.
5605
5606 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5607
5608 * vc/vc.el (vc-default-ignore-completion-table):
5609 Silence byte-compiler warning.
5610
5611 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5612 slot , which can indeed be nil.
5613 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5614 Move entry for `left' from persistent to live filter alist.
5615 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5616 Doc fixes.
5617 (frameset-filter-params): When restoring a frame, copy items added to
5618 `filtered', to avoid unwittingly modifying the original parameters.
5619 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5620 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5621
5622 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5623 to use looking-at-p instead of looking-at. (Bug#15028)
5624
5625 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 Revert introduction of isearch-filter-predicates (bug#14714).
5628 Rely on add-function instead.
5629 * isearch.el (isearch-filter-predicates): Rename it back to
5630 isearch-filter-predicate.
5631 (isearch-message-prefix): Use advice-function-mapc and advice
5632 properties to get the isearch-message-prefix.
5633 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5634 instead of run-hook-with-args-until-failure.
5635 (isearch-filter-visible): Not obsolete any more.
5636 * loadup.el: Preload nadvice.
5637 * replace.el (perform-replace): Revert to funcall
5638 instead of run-hook-with-args-until-failure.
5639 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5640 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5641 dired-isearch-filenames-toggle; make it into a proper minor mode.
5642 Use add/remove-function.
5643 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5644 Call the minor-mode rather than add/remove-hook.
5645 (dired-isearch-filter-filenames):
5646 Remove isearch-message-prefix property.
5647 * info.el (Info--search-loop): New function, extracted from Info-search.
5648 Funcall isearch-filter-predicate instead of
5649 run-hook-with-args-until-failure isearch-filter-predicates.
5650 (Info-search): Use it.
5651 (Info-mode): Use isearch-filter-predicate instead of
5652 isearch-filter-predicates.
5653
5654 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5655
5656 Do not call to `selected-window' where it is assumed by default.
5657 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5658 `window-hscroll', `window-width', `window-height', `window-buffer',
5659 `window-frame', `window-start', `window-point', `next-window'
5660 and `window-display-table'.
5661 * abbrev.el (abbrev--default-expand):
5662 * bs.el (bs--show-with-configuration):
5663 * buff-menu.el (Buffer-menu-mouse-select):
5664 * calc/calc.el (calc):
5665 * calendar/calendar.el (calendar-generate-window):
5666 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5667 (diary-make-entry):
5668 * comint.el (send-invisible, comint-dynamic-complete-filename)
5669 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5670 * completion.el (complete):
5671 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5672 * disp-table.el (describe-current-display-table):
5673 * doc-view.el (doc-view-insert-image):
5674 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5675 * ehelp.el (with-electric-help):
5676 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5677 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5678 * emacs-lisp/helper.el (Helper-help-scroller):
5679 * emulation/cua-base.el (cua--post-command-handler-1):
5680 * eshell/esh-mode.el (eshell-output-filter):
5681 * ffap.el (ffap-gnus-wrapper):
5682 * help-macro.el (make-help-screen):
5683 * hilit-chg.el (highlight-compare-buffers):
5684 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5685 * hl-line.el (global-hl-line-highlight):
5686 * icomplete.el (icomplete-simple-completing-p):
5687 * isearch.el (isearch-done):
5688 * jit-lock.el (jit-lock-stealth-fontify):
5689 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5690 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5691 * mpc.el (mpc-tagbrowser, mpc):
5692 * net/rcirc.el (rcirc-any-buffer):
5693 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5694 * play/landmark.el (landmark-max-width, landmark-max-height):
5695 * play/zone.el (zone):
5696 * progmodes/compile.el (compilation-goto-locus):
5697 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5698 * progmodes/etags.el (find-tag-other-window):
5699 * progmodes/fortran.el (fortran-column-ruler):
5700 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5701 * progmodes/verilog-mode.el (verilog-point-text):
5702 * reposition.el (reposition-window):
5703 * rot13.el (toggle-rot13-mode):
5704 * server.el (server-switch-buffer):
5705 * shell.el (shell-dynamic-complete-command)
5706 (shell-dynamic-complete-environment-variable):
5707 * simple.el (insert-buffer, set-selective-display)
5708 (delete-completion-window):
5709 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5710 (speedbar-recenter):
5711 * startup.el (fancy-splash-head):
5712 * textmodes/ispell.el (ispell-command-loop):
5713 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5714 * tutorial.el (help-with-tutorial):
5715 * vc/add-log.el (add-change-log-entry):
5716 * vc/compare-w.el (compare-windows):
5717 * vc/ediff-help.el (ediff-indent-help-message):
5718 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5719 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5720 (ediff-setup-control-frame):
5721 * vc/emerge.el (emerge-position-region):
5722 * vc/pcvs-util.el (cvs-bury-buffer):
5723 * window.el (walk-windows, mouse-autoselect-window-select):
5724 * winner.el (winner-set-conf, winner-undo): Related users changed.
5725
5726 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5727
5728 * frameset.el (frameset--set-id): Doc fix.
5729 (frameset-frame-id, frameset-frame-id-equal-p)
5730 (frameset-locate-frame-id): New functions.
5731 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5732 (frameset-restore): Use them.
5733
5734 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5735
5736 Do not call to `selected-frame' where it is assumed by default.
5737 Affected functions are `raise-frame', `redraw-frame',
5738 `frame-first-window', `frame-terminal' and `delete-frame'.
5739 * calendar/appt.el (appt-disp-window):
5740 * epg.el (epg-wait-for-completion):
5741 * follow.el (follow-delete-other-windows-and-split)
5742 (follow-avoid-tail-recenter):
5743 * international/mule.el (set-terminal-coding-system):
5744 * mail/rmail.el (rmail-mail-return):
5745 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5746 * progmodes/f90.el (f90-add-imenu-menu):
5747 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5748 * server.el (server-switch-buffer):
5749 * simple.el (delete-completion-window):
5750 * talk.el (talk):
5751 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5752 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5753 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5754 * vc/ediff.el (ediff-documentation): Related users changed.
5755 * frame.el (selected-terminal): Remove the leftover.
5756
5757 2013-08-05 Glenn Morris <rgm@gnu.org>
5758
5759 * calendar/calendar.el (calendar-generate-month):
5760 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5761 (calendar-generate-month, calendar-font-lock-keywords):
5762 Fix for calendar-day-header-width > length of any day name.
5763
5764 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5765
5766 * desktop.el (desktop-clear): Use new name of sort predicate.
5767
5768 * frameset.el (frameset): Add docstring. Move :version property to its
5769 own `version' slot.
5770 (frameset-copy): Rename from copy-frameset.
5771 (frameset-p): Check more thoroughly.
5772 (frameset-prop): Do not check for :version, which is no longer a prop.
5773 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5774 Use new :never value instead of t.
5775 (frameset-filter-alist): Expand and clarify docstring.
5776 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5777 (frameset-filter-minibuffer, frameset-filter-save-param)
5778 (frameset-filter-restore-param, frameset-filter-iconified):
5779 Add pointer to docstring of frameset-filter-alist.
5780 (frameset-filter-params): Rename filter values to be more meaningful:
5781 :never instead of t, and reverse the meanings of :save and :restore.
5782 (frameset--process-minibuffer-frames): Clarify error message.
5783 (frameset-save): Avoid unnecessary and confusing call to framep.
5784 Use new BOA constructor for framesets.
5785 (frameset--reuse-list): Doc fix.
5786 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5787 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5788 (frameset-minibufferless-first-p): Doc fix.
5789 Rename from frameset-sort-frames-for-deletion.
5790 (frameset-restore): Doc fixes. Use new function names.
5791 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5792
5793 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5794
5795 * desktop.el (desktop-restore-forces-onscreen)
5796 (desktop-restore-reuses-frames): Document :keyword constant values.
5797 (desktop-filter-parameters-alist): Remove, now identical to
5798 frameset-filter-alist.
5799 (desktop--filter-tty*): Remove, moved to frameset.el.
5800 (desktop-save-frameset, desktop-restore-frameset):
5801 Do not pass :filters argument.
5802
5803 * frameset.el (frameset-live-filter-alist)
5804 (frameset-persistent-filter-alist): New variables.
5805 (frameset-filter-alist): Use them. Add autoload cookie.
5806 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5807 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5808 `frameset--id' (it's supposed to be internal to frameset.el).
5809 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5810 (frameset--initial-params): New function.
5811 (frameset--get-frame): Use it. Doc fix.
5812 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5813 Accept :all, not 'all.
5814 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5815 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5816 with fbound symbols. Fix frame id matching, and remove matching ids if
5817 the frame being restored is deleted. Obey :delete.
5818
5819 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * subr.el (macrop): New function.
5822 (text-clone--maintaining): New var.
5823 (text-clone--maintain): Rename from text-clone-maintain. Use it
5824 instead of inhibit-modification-hooks.
5825
5826 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5827 a proxy, so as handle autoloads and redefinitions of the target.
5828 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5829
5830 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5831 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5832 (pcase--mutually-exclusive-p): New function.
5833 (pcase--split-consp): Use it.
5834 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5835 mutually exclusive with the current predicate.
5836
5837 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5838 (edebug-macrop): Remove. Use `macrop' instead.
5839 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5840 (ad-macro-p):
5841 * eshell/esh-cmd.el (eshell-macrop):
5842 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5843
5844 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5847 (advice-mapc): New function, using it.
5848 (advice-function-member-p): New function.
5849 (advice--normalize): Store the cdr in advice--saved-rewrite since
5850 that's the part that will be changed.
5851 (advice--symbol-function): New function.
5852 (advice-remove): Handle removal before the function is defined.
5853 Adjust to new advice--saved-rewrite.
5854 (advice-member-p): Use advice-function-member-p and
5855 advice--symbol-function.
5856
5857 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5858
5859 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5860 (frameset-filter-minibuffer): Doc fix.
5861 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5862 (frameset--set-id, frameset--process-minibuffer-frames)
5863 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5864 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5865
5866 * desktop.el (desktop-clear): Only delete frames when called
5867 interactively and desktop-restore-frames is non-nil. Doc fix.
5868 (desktop-read): Set desktop-saved-frameset to nil.
5869
5870 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5871
5872 * vc/vc.el (vc-ignore): Rewrite.
5873 (vc-default-ignore-completion-table):
5874 (vc--read-lines):
5875 (vc--add-line, vc--remove-regexp): New functions.
5876
5877 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5878 (vc-svn-ignore-completion-table): New function.
5879
5880 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5881 (vc-hg-ignore-completion-table):
5882 (vc-hg-find-ignore-file): New functions.
5883
5884 * vc/vc-git.el (vc-git-ignore): Rewrite.
5885 (vc-git-ignore-completion-table):
5886 (vc-git-find-ignore-file): New functions.
5887
5888 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5889
5890 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5891 (vc-bzr-ignore-completion-table):
5892 (vc-bzr-find-ignore-file): New functions.
5893
5894 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5895
5896 * frameset.el (frameset-prop): New function and setter.
5897 (frameset-save): Do not modify frame list passed by the caller.
5898
5899 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5902
5903 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5906 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5907
5908 * custom.el (custom-initialize-default, custom-initialize-set)
5909 (custom-initialize-reset, custom-initialize-changed): Affect the
5910 toplevel-default-value (bug#6275, bug#14586).
5911 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5912 for bug#6275.
5913
5914 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5915
5916 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5917 Add cl-def* expressions.
5918
5919 * frameset.el (frameset-filter-params): Fix order of arguments.
5920
5921 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5922
5923 Move code related to saving frames to frameset.el.
5924 * desktop.el: Require frameset.
5925 (desktop-restore-frames): Doc fix.
5926 (desktop-restore-reuses-frames): Rename from
5927 desktop-restoring-reuses-frames.
5928 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5929 (desktop-clear): Clear frames too.
5930 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5931 (desktop--filter-tty*, desktop-save, desktop-read):
5932 Use frameset functions.
5933 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5934 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5935 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5936 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5937 (desktop--process-minibuffer-frames, desktop-save-frames)
5938 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5939 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5940 (desktop--sort-states, desktop-restoring-frames-p)
5941 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5942 (desktop-restoring-frameset-p, desktop-restore-frameset)
5943 (desktop--check-dont-save, desktop-save-frameset): New functions.
5944 (desktop--app-id): New constant.
5945 (desktop-first-buffer, desktop-buffer-ok-count)
5946 (desktop-buffer-fail-count): Move before first use.
5947 * frameset.el: New file.
5948
5949 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5950
5951 * files.el: Use lexical-binding.
5952 (dir-locals-read-from-file): Remove unused `err' variable.
5953 (hack-dir-local-variables--warned-coding): New var.
5954 (hack-dir-local-variables): Use it to avoid repeated warnings.
5955 (make-backup-file-name--default-function): New function.
5956 (make-backup-file-name-function): Use it as default.
5957 (buffer-stale--default-function): New function.
5958 (buffer-stale-function): Use it as default.
5959 (revert-buffer-insert-file-contents--default-function): New function.
5960 (revert-buffer-insert-file-contents-function): Use it as default.
5961 (insert-directory): Avoid add-to-list.
5962
5963 * autorevert.el (auto-revert-handler): Simplify.
5964 Use buffer-stale--default-function.
5965
5966 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5967
5968 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5969
5970 * whitespace.el (whitespace-ensure-local-variables): New function.
5971 (whitespace-cleanup-region): Call it.
5972 (whitespace-turn-on): Call it.
5973
5974 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5975
5976 Complete file name handlers.
5977
5978 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5979 (tramp-handle-verify-visited-file-modtime)
5980 (tramp-handle-file-notify-rm-watch): New functions.
5981 (tramp-call-process): Do not bind `default-directory'.
5982
5983 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5984 Order alphabetically.
5985 [access-file, add-name-to-file, dired-call-process]:
5986 [dired-compress-file, file-acl, file-notify-rm-watch]:
5987 [file-ownership-preserved-p, file-selinux-context]:
5988 [make-directory-internal, make-symbolic-link, set-file-acl]:
5989 [set-file-selinux-context, set-visited-file-modtime]:
5990 [verify-visited-file-modtime]: Add handler.
5991 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5992
5993 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5994 [file-notify-add-watch, file-notify-rm-watch]:
5995 [set-file-times, set-visited-file-modtime]:
5996 [verify-visited-file-modtime]: Add handler.
5997 (with-tramp-gvfs-error-message)
5998 (tramp-gvfs-handle-set-visited-file-modtime)
5999 (tramp-gvfs-fuse-file-name): Remove.
6000 (tramp-gvfs-handle-file-notify-add-watch)
6001 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6002 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6003
6004 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6005 Order alphabetically.
6006 [file-notify-rm-watch ]: Use default Tramp handler.
6007 [executable-find]: Remove private handler.
6008 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6009 `default-directory'.
6010 (tramp-sh-handle-executable-find)
6011 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6012 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6013 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6014 Do not use `format' in `tramp-message'.
6015
6016 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6017 [file-notify-rm-watch, set-visited-file-modtime]:
6018 [verify-visited-file-modtime]: Add handler.
6019 (tramp-smb-call-winexe): Do not bind `default-directory'.
6020
6021 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6022
6023 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6024
6025 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6026
6027 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6028 use it.
6029 (log-view-diff-changeset): Same.
6030 (log-view-diff-common): Call backend command `previous-revision'
6031 to find out the previous revision, in both cases. Swap the
6032 variables `to' and `fr', so that `fr' usually refers to the
6033 earlier revision (Bug#14989).
6034
6035 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6036
6037 * ibuf-ext.el (ibuffer-filter-by-filename):
6038 Make it work with dired buffers too.
6039
6040 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6041
6042 * emacs-lisp/re-builder.el (reb-color-display-p):
6043 * files.el (save-buffers-kill-terminal):
6044 * net/browse-url.el (browse-url):
6045 * server.el (server-save-buffers-kill-terminal):
6046 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6047 Prefer nil to selected-frame for the first arg of frame-parameter.
6048
6049 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6050
6051 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6052
6053 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6054
6055 * minibuffer.el (completion--twq-all): Try and preserve each
6056 completion's case choice (bug#14907).
6057
6058 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6059
6060 * net/network-stream.el (open-network-stream): Mention the new
6061 :nogreeting parameter.
6062 (network-stream-open-starttls): Use the :nogreeting parameter
6063 (bug#14938).
6064
6065 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6066
6067 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6068 more natural than popping.
6069
6070 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6071 (shr-urlify): Highlight under mouse.
6072
6073 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6074
6075 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6076
6077 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6078
6079 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6080 buffer for output.
6081
6082 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6083 point-min==1. Fix search string. Fix parentheses missing.
6084
6085 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6086 assume point-min==1. Fix search string. Fix parentheses missing.
6087
6088 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6089
6090 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6091 buffer for output.
6092
6093 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6094
6095 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6096 initial frame is minibuffer-less. (Bug#14841)
6097
6098 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6099
6100 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6101 option.
6102
6103 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6104 (tramp-maybe-open-connection): Use it.
6105
6106 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6107
6108 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6109 minimal set of parameters passed when creating a frame, because
6110 the minibuffer status of a frame cannot be changed later.
6111
6112 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6113
6114 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6115 replace-regexp-in-string and inadvertent omissions in previous change.
6116 (todo-filter-items): Ensure only file names are comma-separated in
6117 name of filtered items buffer.
6118
6119 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6120
6121 * desktop.el: Optionally force offscreen frames back onscreen.
6122 (desktop-restoring-reuses-frames): New option.
6123 (desktop--compute-pos, desktop--move-onscreen): New functions.
6124 (desktop--make-frame): Use desktop--move-onscreen.
6125
6126 2013-07-27 Alan Mackenzie <acm@muc.de>
6127
6128 Fontify a Java generic method as a function.
6129 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6130 value to t.
6131
6132 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6133
6134 * calendar/todo-mode.el: Add command to rename todo files.
6135 (todo-rename-file): New command.
6136 (todo-key-bindings-t): Add key binding for it. Change the
6137 bindings of todo-filter-regexp-items(-multifile) to use `x'
6138 instead of `r', since the latter is better suited to the new
6139 renaming command.
6140
6141 2013-07-27 Alan Mackenzie <acm@muc.de>
6142
6143 Make Java try-with-resources statement parse properly.
6144 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6145 (c-block-stmt-1-2-key): New language constants/variables.
6146 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6147 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6148 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6149 with c-block-stmt-1-2-key.
6150
6151 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6152
6153 * desktop.el (desktop--make-frame): Apply most frame parameters after
6154 creating the frame to force (partially or totally) offscreen frames to
6155 be restored as such.
6156
6157 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6158
6159 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6160 (Bug#14948)
6161
6162 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6165 `base' arg of backtrace-frame.
6166
6167 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6168
6169 * simple.el (list-processes): Doc fix.
6170
6171 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6172
6173 * desktop.el (desktop--select-frame):
6174 Try harder to reuse existing frames.
6175
6176 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6179 (edebug-eval): Use backtrace-eval.
6180 (edebug--display, edebug--recursive-edit): Don't let-bind the
6181 edebug-outer-* vars that keep track of variables we locally let-bind.
6182 (edebug-outside-excursion): Don't restore outside values of locally
6183 let-bound vars.
6184 (edebug--display): Use user-error.
6185 (cl-lexical-debug, cl-debug-env): Remove.
6186
6187 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6188
6189 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6190 are restored to be sure that they are visible before deleting any
6191 remaining ones.
6192
6193 2013-07-26 Matthias Meulien <orontee@gmail.com>
6194
6195 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6196 vc-print-root-log. (Bug#14948)
6197
6198 2013-07-26 Richard Stallman <rms@gnu.org>
6199
6200 Add aliases for encrypting mail.
6201 * epa.el (epa-mail-aliases): New option.
6202 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6203 Bind inhibit-read-only so read-only text doesn't ruin everything.
6204 (epa-mail-default-recipients): New subroutine broken out.
6205 Handle epa-mail-aliases.
6206
6207 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 Add support for lexical variables to the debugger's `e' command.
6210 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6211 vars, except for debugger-outer-match-data.
6212 (debugger-frame-number): Move check for "on a function call" from
6213 callers into it. Add `skip-base' argument.
6214 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6215 (debugger-env-macro): Only reset the state stored in non-variables,
6216 i.e. current-buffer and match-data.
6217 (debugger-eval-expression): Rewrite using backtrace-eval.
6218 * subr.el (internal--called-interactively-p--get-frame): Remove.
6219 (called-interactively-p):
6220 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6221 `base' arg of backtrace-frame instead.
6222
6223 2013-07-26 Glenn Morris <rgm@gnu.org>
6224
6225 * align.el (align-regexp): Doc fix. (Bug#14857)
6226 (align-region): Explicit error if subexpression missing/does not match.
6227
6228 * simple.el (global-visual-line-mode):
6229 Do not duplicate the mode lighter. (Bug#14858)
6230
6231 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6232
6233 * window.el (display-buffer): In display-buffer bind
6234 split-window-keep-point to t, bug#14829.
6235
6236 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6237
6238 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6239 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6240 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6241 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6242 Change accordingly.
6243 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6244 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6245
6246 2013-07-25 Glenn Morris <rgm@gnu.org>
6247
6248 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6249
6250 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6251
6252 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6253 parameter to modify-frame-parameters if the value has not changed;
6254 this is a workaround for bug#14949.
6255 (desktop--make-frame): On cl-delete-if call, check parameter name,
6256 not full parameter.
6257
6258 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6259
6260 * vc/vc.el (vc-ignore): New function.
6261
6262 * vc/vc-svn.el (vc-svn-ignore): New function.
6263
6264 * vc/vc-hg.el (vc-hg-ignore): New function.
6265
6266 * vc/vc-git.el (vc-git-ignore): New function.
6267
6268 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6269 (vc-dir-ignore): New function.
6270
6271 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6272 (cvs-append-to-ignore): Move here from pcvs.el.
6273
6274 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6275
6276 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6277
6278 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6279
6280 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6281 (desktop-restore-frames): Warn when deleting an existing frame failed.
6282
6283 2013-07-24 Glenn Morris <rgm@gnu.org>
6284
6285 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6286
6287 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6288
6289 * filenotify.el (file-notify-supported-p):
6290 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6291 Remove functions.
6292
6293 * autorevert.el (auto-revert-use-notify):
6294 (auto-revert-notify-add-watch):
6295 * net/tramp.el (tramp-file-name-for-operation):
6296 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6297 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6298 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6299 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6300 Remove `file-notify-supported-p' entry.
6301
6302 2013-07-24 Glenn Morris <rgm@gnu.org>
6303
6304 * printing.el: Replace all uses of deleted ps-windows-system,
6305 ps-lp-system, ps-flatten-list with lpr- versions.
6306
6307 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6308
6309 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6310 checked with memq (bug#14935).
6311
6312 * files.el (revert-buffer-function): Use a non-nil default.
6313 (revert-buffer-preserve-modes): Declare var to
6314 provide access to the `preserve-modes' argument.
6315 (revert-buffer): Let-bind it.
6316 (revert-buffer--default): New function, extracted from revert-buffer.
6317
6318 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * lpr.el: Signal print errors more prominently.
6321 (print-region-function): Don't default to nil.
6322 (lpr-print-region): New function, extracted from print-region-1.
6323 Check lpr's return value and signal an error in case of problem.
6324 (print-region-1): Use it.
6325 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6326 versions instead.
6327 (ps-printer-name): Default to nil.
6328 (ps-printer-name-option): Default to lpr-printer-switch.
6329 (ps-print-region-function): Don't default to nil.
6330 (ps-postscript-code-directory): Simplify default.
6331 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6332 (ps-string-list, ps-eval-switch, ps-flatten-list)
6333 (ps-flatten-list-1): Remove.
6334 (ps-multibyte-buffer): Avoid setq.
6335 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6336 (print-region-function, ps-print-region-function): Don't set them here.
6337
6338 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6339
6340 * ido.el (ido-fractionp):
6341 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6342 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6343 (ido-max-directory-size, ido-max-dir-file-cache)
6344 (ido-decorations): Doc fix.
6345
6346 * ansi-color.el: Fix old URL.
6347
6348 2013-07-23 Michael R. Mauger <michael@mauger.com>
6349
6350 * progmodes/sql.el: Version 3.3
6351 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6352 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6353 (sql-interactive-remove-continuation-prompt): Rewrite, use
6354 functions above. Fix continuation prompt and complete output line
6355 handling.
6356 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6357 redirected output buffer.
6358 (sql-mode): Restore deleted code (Bug#13591).
6359
6360 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6363
6364 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6365
6366 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6367
6368 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6369 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6370 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6371
6372 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6373
6374 * desktop.el (desktop-clear): Simplify; remove useless checks
6375 against invalid buffer names.
6376 (desktop-list*): Use cl-list*.
6377 (desktop-buffer-info, desktop-create-buffer): Simplify.
6378
6379 2013-07-23 Leo Liu <sdl.web@gmail.com>
6380
6381 * bookmark.el (bookmark-make-record): Restore NAME as a default
6382 value. (Bug#14933)
6383
6384 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6387 extracted from autoload--insert-text.
6388 (autoload--insert-text): Remove.
6389 (autoload--print-cookie-text): New function, extracted from
6390 autoload--insert-cookie-text.
6391 (autoload--insert-cookie-text): Remove.
6392 (autoload-generate-file-autoloads): Adjust calls accordingly.
6393
6394 * winner.el (winner-hook-installed-p): Remove.
6395 (winner-mode): Simplify accordingly.
6396
6397 * subr.el (add-to-list): Fix compiler-macro when `append' is
6398 not constant. Don't use `cl-member' for the base case.
6399
6400 * progmodes/subword.el: Fix boundary case (bug#13758).
6401 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6402 own group.
6403 (subword-backward-regexp): Make it a constant.
6404 (subword-forward-internal): Don't treat a trailing capital as the
6405 beginning of a word.
6406
6407 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6408
6409 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6410 global value of tabulated-list-revert-hook (bug#14930).
6411
6412 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6413
6414 * desktop.el: Require 'cl-lib.
6415 (desktop-before-saving-frames-functions): New hook.
6416 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6417 for frames being saved. Rename from desktop--save-minibuffer-frames.
6418 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6419 Do not save frames with non-nil `desktop-dont-save' parameter.
6420 Filter out deleted frames.
6421 (desktop--find-frame): Use cl-find-if.
6422 (desktop--select-frame): Use cl-(first|second|third) to access values
6423 of desktop-mini.
6424 (desktop--make-frame): Use cl-delete-if.
6425 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6426 (desktop-restore-frames): Use cl-(first|second|third) to access values
6427 of desktop-mini. Look for visible frame at the end, not while
6428 restoring frames.
6429
6430 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6431 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6432 Use string-match-p, looking-at-p (bug#14927).
6433
6434 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6435
6436 * desktop.el (desktop-saved-frame-states):
6437 Rename from desktop--saved-states; all users changed.
6438 (desktop-save-frames): Rename from desktop--save-frames.
6439 Do not save state to desktop file.
6440 (desktop-save): Save desktop-saved-frame-states to desktop file
6441 and reset to nil.
6442 (desktop-restoring-frames-p): New function.
6443 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6444 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6445 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6446
6447 * desktop.el: Correctly restore iconified frames.
6448 (desktop--filter-iconified-position): New function.
6449 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6450
6451 2013-07-20 Glenn Morris <rgm@gnu.org>
6452
6453 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6454 Let `message' do the formatting.
6455 (def-gdb-preempt-display-buffer): Add explicit format.
6456
6457 * image-dired.el (image-dired-track-original-file):
6458 Use with-current-buffer.
6459 (image-dired-track-thumbnail): Use with-current-buffer.
6460 Avoid changing point of wrong window.
6461
6462 * image-dired.el (image-dired-track-original-file):
6463 Avoid changing point of wrong window. (Bug#14909)
6464
6465 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6466
6467 * progmodes/gdb-mi.el (gdb-done-or-error):
6468 Guard against "%" in gdb output. (Bug#14127)
6469
6470 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6471
6472 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6473 (Bug#14826)
6474
6475 * international/mule.el (coding-system-iso-2022-flags): Fix last
6476 change.
6477
6478 2013-07-20 Kenichi Handa <handa@gnu.org>
6479
6480 * international/mule.el (coding-system-iso-2022-flags):
6481 Add `8-bit-level-4'. (Bug#8522)
6482
6483 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6484
6485 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6486 (bug#14815).
6487
6488 * net/eww.el (eww-process-text-input): Allow inputting when the
6489 point is at the start of the line, as the properties aren't
6490 front-sticky.
6491
6492 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6493 degenerate widths.
6494
6495 2013-07-19 Richard Stallman <rms@gnu.org>
6496
6497 * epa.el (epa-popup-info-window): Doc fix.
6498
6499 * subr.el (split-string): New arg TRIM.
6500
6501 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6502
6503 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6504 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6505
6506 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6507
6508 * filenotify.el (file-notify--library): Rename from
6509 `file-notify-support'. Do not autoload. Adapt all uses.
6510 (file-notify-supported-p): New defun.
6511
6512 * autorevert.el (auto-revert-use-notify):
6513 Use `file-notify-supported-p' instead of `file-notify-support'.
6514 Adapt docstring.
6515 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6516
6517 * net/tramp.el (tramp-file-name-for-operation):
6518 Add `file-notify-supported-p'.
6519
6520 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6521 New defun.
6522 (tramp-sh-file-name-handler-alist): Add it as handler for
6523 `file-notify-supported-p '.
6524
6525 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6526 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6527 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6528 Add `ignore' as handler for `file-notify-*' functions.
6529
6530 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6531
6532 * simple.el (line-move-partial, line-move): Don't start vscroll or
6533 scroll-up if the current line is not taller than the window.
6534 (Bug#14881)
6535
6536 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6537
6538 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6539 highlight question marks in the method names as strings.
6540 (ruby-block-beg-keywords): Inline.
6541 (ruby-font-lock-keyword-beg-re): Extract from
6542 `ruby-font-lock-keywords'.
6543
6544 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6545
6546 * frame.el (blink-cursor-blinks): New defcustom.
6547 (blink-cursor-blinks-done): New defvar.
6548 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6549 (blink-cursor-timer-function): Check if number of blinks has been
6550 done on X and NS.
6551 (blink-cursor-suspend, blink-cursor-check): New defuns.
6552
6553 2013-07-15 Glenn Morris <rgm@gnu.org>
6554
6555 * edmacro.el (edmacro-format-keys): Fix previous change.
6556
6557 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6558
6559 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6560 The hack didn't work outside English locales anyway.
6561
6562 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6563
6564 * simple.el (define-alternatives): Rename from alternatives-define,
6565 per RMS' suggestion.
6566
6567 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6568
6569 * desktop.el (desktop-restore-frames): Change default to t.
6570 (desktop-restore-in-current-display): Now offer more options.
6571 (desktop-restoring-reuses-frames): New customization option.
6572 (desktop--saved-states): Doc fix.
6573 (desktop-filter-parameters-alist): New variable, renamed and expanded
6574 from desktop--excluded-frame-parameters.
6575 (desktop--target-display): New variable.
6576 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6577 (desktop--filter-tty*, desktop--filter-*-color)
6578 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6579 (desktop--filter-save-desktop-parm)
6580 (desktop-restore-in-original-display-p): New functions.
6581 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6582 (desktop--save-minibuffer-frames): New function, inspired by a similar
6583 function from Martin Rudalics.
6584 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6585 (desktop--restore-in-this-display-p): Remove.
6586 (desktop--find-frame): Rename from desktop--find-frame-in-display
6587 and add predicate argument.
6588 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6589 (desktop--reuse-list): New variable.
6590 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6591 New functions.
6592 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6593
6594 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6595
6596 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6597
6598 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6599
6600 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6601 Highlight conversion methods on Kernel.
6602
6603 2013-07-13 Alan Mackenzie <acm@muc.de>
6604
6605 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6606 and comment it out. This out-commenting enables certain C++
6607 declarations to be parsed correctly.
6608
6609 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6610
6611 * international/mule.el (define-coding-system): Doc fix.
6612
6613 * simple.el (default-font-height): Don't call font-info if the
6614 frame's default font didn't change since the frame was created.
6615 (Bug#14838)
6616
6617 2013-07-13 Leo Liu <sdl.web@gmail.com>
6618
6619 * ido.el (ido-read-file-name): Guard against non-symbol value.
6620
6621 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6622
6623 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6624 in nested defuns.
6625
6626 2013-07-13 Leo Liu <sdl.web@gmail.com>
6627
6628 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6629 ido-set-matches call. (Bug#6852)
6630
6631 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6632
6633 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6634 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6635 Ruby 2.0.
6636 (ruby-font-lock-keywords): Distinguish calls to functions with
6637 module-like names from module references. Highlight character
6638 literals.
6639
6640 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6641
6642 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6643 (gdb-send): Handle continued commands. (Bug#14847)
6644
6645 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6646
6647 * desktop.el (desktop--v2s): Remove unused local variable.
6648 (desktop-save-buffer): Make defvar-local; adjust docstring.
6649 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6650 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6651
6652 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6653
6654 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6655
6656 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6657
6658 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6659 (Bug#14842)
6660
6661 2013-07-12 Glenn Morris <rgm@gnu.org>
6662
6663 * doc-view.el: Require cl-lib at runtime too.
6664 (doc-view-remove-if): Remove.
6665 (doc-view-search-next-match, doc-view-search-previous-match):
6666 Use cl-remove-if.
6667
6668 * edmacro.el: Require cl-lib at runtime too.
6669 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6670 (edmacro-mismatch, edmacro-subseq): Remove.
6671
6672 * shadowfile.el: Require cl-lib.
6673 (shadow-remove-if): Remove.
6674 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6675 Use cl-remove-if.
6676
6677 * wid-edit.el: Require cl-lib.
6678 (widget-choose): Use cl-remove-if.
6679 (widget-remove-if): Remove.
6680
6681 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6682 (ebrowse-delete-if-not): Remove.
6683 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6684 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6685 Use cl-delete-if-not.
6686
6687 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6688
6689 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6690 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6691
6692 2013-07-12 Leo Liu <sdl.web@gmail.com>
6693
6694 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6695
6696 2013-07-11 Glenn Morris <rgm@gnu.org>
6697
6698 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6699 (edebug-gensym-index, edebug-gensym):
6700 Remove reimplementation of cl-gensym.
6701 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6702
6703 * thumbs.el: Require cl-lib at run-time too.
6704 (thumbs-gensym-counter, thumbs-gensym):
6705 Remove reimplementation of cl-gensym.
6706 (thumbs-temp-file): Use cl-gensym.
6707
6708 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6709 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6710 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6711 (ert--union, ert--gensym-counter, ert--gensym-counter)
6712 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6713 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6714 (ert-make-test-unbound, ert--expand-should-1)
6715 (ert--expand-should, ert--should-error-handle-error)
6716 (should-error, ert--explain-equal-rec)
6717 (ert--plist-difference-explanation, ert-select-tests)
6718 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6719 Use cl-lib functions rather than reimplementations.
6720
6721 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6722
6723 * net/tramp.el (tramp-methods): Extend docstring.
6724 (tramp-connection-timeout): New defcustom.
6725 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6726 (with-tramp-progress-reporter): Simplify.
6727 (tramp-process-actions): Improve messages.
6728
6729 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6730 * net/tramp-sh.el (tramp-maybe-open-connection):
6731 Use `tramp-connection-timeout'.
6732 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6733 (Bug#14808)
6734
6735 2013-07-11 Leo Liu <sdl.web@gmail.com>
6736
6737 * ido.el (ido-read-file-name): Conform to the requirements of
6738 read-file-name. (Bug#11861)
6739 (ido-read-directory-name): Conform to the requirements of
6740 read-directory-name.
6741
6742 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6743
6744 * subr.el (delay-warning): New function.
6745
6746 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6747
6748 * simple.el (default-line-height): New function.
6749 (line-move-partial, line-move): Use it instead of computing the
6750 line height inline.
6751 (line-move-partial): Always compute ROWH. If the last line is
6752 partially-visible, but its text is completely visible, allow
6753 cursor to enter such a partially-visible line.
6754
6755 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6756
6757 Improve error messages. (Bug#14808)
6758
6759 * net/tramp.el (tramp-current-connection): New defvar, moved from
6760 tramp-sh.el.
6761 (tramp-message-show-progress-reporter-message): Remove, not
6762 needed anymore.
6763 (tramp-error-with-buffer): Show message in minibuffer.
6764 Discard input before waiting. Reset connection timestamp.
6765 (with-tramp-progress-reporter): Improve messages.
6766 (tramp-process-actions): Use progress reporter. Delete process in
6767 case of error. Improve messages.
6768
6769 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6770 Call `tramp-error-with-buffer' with vector and buffer.
6771 (tramp-current-connection): Remove.
6772 (tramp-maybe-open-connection): The car of
6773 `tramp-current-connection' are the first 3 slots of the vector.
6774
6775 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6776
6777 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6778 inside continued strings.
6779
6780 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6781
6782 Timestamp fixes for undo (Bug#14824).
6783 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6784
6785 2013-07-10 Leo Liu <sdl.web@gmail.com>
6786
6787 * files.el (require-final-newline): Allow safe local value.
6788 (Bug#14834)
6789
6790 2013-07-09 Leo Liu <sdl.web@gmail.com>
6791
6792 * ido.el (ido-read-directory-name): Handle fallback.
6793 (ido-read-file-name): Update DIR to ido-current-directory.
6794 (Bug#1516)
6795 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6796
6797 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6798
6799 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6800 "autoload". Remove "warn lower camel case" section, previously
6801 commented out. Highlight negation char. Do not highlight the
6802 target in singleton method definitions.
6803
6804 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * faces.el (tty-setup-hook): Declare the hook.
6807
6808 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6809 and detect when a guard/pred depends on local vars (bug#14773).
6810 (pcase--u1): Adjust caller.
6811
6812 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6813
6814 * simple.el (line-move-partial, line-move): Account for
6815 line-spacing.
6816 (line-move-partial): Avoid setting vscroll when the last
6817 partially-visible line in window is of default height.
6818
6819 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6820
6821 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6822 been used a while.
6823
6824 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6825
6826 * subr.el (read-quoted-char): Remove unused local variable `char'.
6827
6828 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6829
6830 * ediff.el (ediff-version): Version update.
6831 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6832 (ediff-merge-with-ancestor-command, ediff-directories-command)
6833 (ediff-directories3-command, ediff-merge-directories-command)
6834 (ediff-merge-directories-with-ancestor-command): New functions.
6835 All are command-line interfaces to ediff: to facilitate calling
6836 Emacs with the appropriate ediff functions invoked.
6837
6838 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6839 (viper-save-kill-buffer): Check if buffer is modified.
6840
6841 * viper.el (viper-version): Version update.
6842 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6843
6844 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6846 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6847 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6848 (viper-intercept-ESC-key): Simplify.
6849 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6850 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6851 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6852 (viper-setup-ESC-to-escape): New functions.
6853 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6854 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6855
6856 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6857
6858 * simple.el (default-font-height, window-screen-lines):
6859 New functions.
6860 (line-move, line-move-partial): Use them instead of
6861 frame-char-height and window-text-height. This makes scrolling
6862 text smoother when the buffer's default face uses a font that is
6863 different from the frame's default font.
6864
6865 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6866
6867 * files.el (write-file): Do not display confirm dialog for NS,
6868 it does its own dialog, which can't be cancelled (Bug#14578).
6869
6870 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6871
6872 * simple.el (line-move-partial): Adjust the row returned by
6873 posn-at-point for the current window-vscroll. (Bug#14567)
6874
6875 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6876
6877 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6878 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6879 spaces.
6880
6881 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6882
6883 * window.el (window-state-put-stale-windows): New variable.
6884 (window--state-put-2): Save list of windows without matching buffer.
6885 (window-state-put): Remove "bufferless" windows if possible.
6886
6887 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6888
6889 * simple.el (alternatives-define): Remove leftover :group keyword.
6890 Tweak docstring.
6891
6892 2013-07-06 Leo Liu <sdl.web@gmail.com>
6893
6894 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6895 (ido-enable-virtual-buffers): New variable.
6896 (ido-buffer-internal, ido-toggle-virtual-buffers)
6897 (ido-make-buffer-list): Use it.
6898 (ido-exhibit): Support turning on and off virtual buffers
6899 automatically.
6900
6901 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6902
6903 * simple.el (alternatives-define): New macro.
6904
6905 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6906
6907 * subr.el (read-quoted-char): Use read-key.
6908 (sit-for): Let read-event decode tty input (bug#14782).
6909
6910 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6911
6912 * calendar/todo-mode.el: Add handling of file deletion, both by
6913 mode command and externally. Fix various related bugs.
6914 Clarify Commentary and improve some documentation strings and code.
6915 (todo-delete-file): New command.
6916 (todo-check-file): New function.
6917 (todo-show): Handle external deletion of the file we're trying to
6918 show (bug#14688). Replace called-interactively-p by an optional
6919 prefix argument to avoid problematic interaction with catch form
6920 when byte compiled (bug#14702).
6921 (todo-quit): Handle external deletion of the archive's todo file.
6922 Make sure the buffer that was visiting the archive file is still
6923 live before trying to bury it.
6924 (todo-category-completions): Handle external deletion of any
6925 category completion files.
6926 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6927 of todo files, in case of external deletion.
6928 (todo-add-file): Replace unnecessary setq by let-binding.
6929 (todo-find-archive): Check whether there are any archives.
6930 Replace unnecessary setq by let-binding.
6931 (todo-archive-done-item): Use find-file-noselect to get the
6932 archive buffer whether or not the archive already exists.
6933 Remove superfluous code. Use file size instead of buffer-file-name to
6934 check if the archive is new; if it is, update list of archives.
6935 (todo-default-todo-file): Allow nil to be a valid value for when
6936 there are no todo files.
6937 (todo-reevaluate-default-file-defcustom): Use corrected definition
6938 of todo-default-todo-file.
6939 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6940 (todo-delete-category, todo-show-categories-table)
6941 (todo-category-number): Clarify comment.
6942 (todo-filter-items): Clarify documentation string.
6943 (todo-show-current-file, todo-display-as-todo-file)
6944 (todo-reset-and-enable-done-separator): Tweak documentation string.
6945 (todo-done-separator): Make separator length window-width, since
6946 bug#2749 is now fixed.
6947
6948 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6949
6950 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6951 Support both "gvfs-monitor-dir" and "inotifywait".
6952 (tramp-sh-file-inotifywait-process-filter): Rename from
6953 `tramp-sh-file-notify-process-filter'.
6954 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6955 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6956
6957 2013-07-05 Leo Liu <sdl.web@gmail.com>
6958
6959 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6960
6961 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6962
6963 * frame.el (display-pixel-height, display-pixel-width)
6964 (display-mm-height, display-mm-width): Mention behavior on
6965 multi-monitor setups in docstrings.
6966 (w32-display-monitor-attributes-list): Declare function.
6967 (display-monitor-attributes-list): Use it.
6968
6969 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6970
6971 * filenotify.el: New package.
6972
6973 * autorevert.el (top): Require filenotify.el.
6974 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6975 instead.
6976 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6977 (auto-revert-notify-handler): Use `file-notify-*' functions.
6978
6979 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6980
6981 * net/tramp.el (tramp-file-name-for-operation):
6982 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6983
6984 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6985 for `file-notify-add-watch' and `file-notify-rm-watch'.
6986 (tramp-process-sentinel): Improve trace.
6987 (tramp-sh-handle-file-notify-add-watch)
6988 (tramp-sh-file-notify-process-filter)
6989 (tramp-sh-handle-file-notify-rm-watch)
6990 (tramp-get-remote-inotifywait): New defuns.
6991
6992 2013-07-03 Juri Linkov <juri@jurta.org>
6993
6994 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6995 call of `occur-read-primary-args' to interactive spec.
6996
6997 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6998 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6999
7000 2013-07-03 Matthias Meulien <orontee@gmail.com>
7001
7002 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7003 `Buffer-menu-multi-occur'. Add it to the menu.
7004 (Buffer-menu-mode): Document it in docstring.
7005 (Buffer-menu-multi-occur): New command. (Bug#14673)
7006
7007 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7008
7009 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7010 keywords and built-ins.
7011
7012 2013-07-03 Glenn Morris <rgm@gnu.org>
7013
7014 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7015
7016 Make info-xref checks case-sensitive by default
7017 * info.el (Info-find-node, Info-find-in-tag-table)
7018 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7019 Add option for exact case matching of nodes.
7020 * info-xref.el (info-xref): New custom group.
7021 (info-xref-case-fold): New option.
7022 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7023
7024 2013-07-03 Leo Liu <sdl.web@gmail.com>
7025
7026 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7027
7028 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7029
7030 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7031 middle of block statement initially, lower the depth. Remove
7032 FIXME comment, not longer valid. Remove middle of block statement
7033 detection, no need to do that anymore since we've been using
7034 `ruby-parse-region' here.
7035
7036 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7037
7038 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7039
7040 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7041
7042 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7043
7044 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7045
7046 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7047 (desktop-restore-in-current-display): New customization option.
7048 (desktop--excluded-frame-parameters): Add `font'.
7049 (desktop--save-frames): Rename from desktop--save-windows.
7050 (desktop--restore-in-this-display-p): New function.
7051 (desktop--make-full-frame): Remove unwanted width/height from
7052 full(width|height) frames.
7053 (desktop--restore-frames): Rename from desktop--restore-windows.
7054 Obey desktop-restore-current-display. Do not delete old frames or
7055 select a new frame unless we were able to restore at least one frame.
7056
7057 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7058
7059 * files.el (find-file-noselect): Simplify conditional expression.
7060
7061 * remember.el (remember-append-to-file):
7062 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7063
7064 Add `remember-notes' function to store random notes across Emacs
7065 restarts.
7066 * remember.el (remember-data-file): Add :set callback to affect
7067 notes buffer (if any).
7068 (remember-notes): New command.
7069 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7070 New defcustoms for the `remember-notes' function.
7071 (remember-notes-save-and-bury-buffer): New command.
7072 (remember-notes-mode-map): New variable.
7073 (remember-mode): New minor mode.
7074 (remember-notes--kill-buffer-query): New function.
7075 * startup.el (initial-buffer-choice): Add notes to custom type.
7076
7077 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7078
7079 * bindings.el (right-char, left-char): Don't call sit-for, this is
7080 no longer needed. Use arithmetic comparison only for numerical
7081 arguments.
7082
7083 * international/mule-cmds.el (select-safe-coding-system):
7084 Handle the case of FROM being a string correctly. (Bug#14755)
7085
7086 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7087
7088 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7089 progression on degenerate tables.
7090 (shr-rescale-image): ImageMagick animated images currently don't work.
7091
7092 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7093
7094 Some fixes and improvements for desktop frame restoration.
7095 It is still experimental and disabled by default.
7096 * desktop.el (desktop--save-windows): Put the selected frame at
7097 the head of the list.
7098 (desktop--make-full-frame): New function.
7099 (desktop--restore-windows): Try to re-select the frame that was
7100 selected upon saving. Do not abort if some frames fail to restore,
7101 just show an error message and continue. Set up maximized frames
7102 so they have default non-maximized dimensions.
7103
7104 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7105
7106 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7107 Don't start heredoc inside a string or comment.
7108
7109 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7110
7111 * bindings.el (visual-order-cursor-movement): New defcustom.
7112 (right-char, left-char): Provide visual-order cursor motion by
7113 calling move-point-visually. Update the doc strings.
7114
7115 2013-06-28 Kenichi Handa <handa@gnu.org>
7116
7117 * international/mule.el (define-coding-system): New coding system
7118 properties :inhibit-null-byte-detection,
7119 :inhibit-iso-escape-detection, and :prefer-utf-8.
7120 (set-buffer-file-coding-system): If :charset-list property of
7121 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7122 appropriate for setting.
7123
7124 * international/mule-cmds.el (select-safe-coding-system):
7125 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7126 multibyte characters, return utf-8 (or one of its siblings).
7127
7128 * international/mule-conf.el (prefer-utf-8): New coding system.
7129 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7130 files.
7131
7132 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7133
7134 * net/shr.el (shr-render-region): New function.
7135
7136 * net/eww.el: Autoload `eww-browse-url'.
7137
7138 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7139
7140 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7141 Adapt to `package-desc-version' being a list.
7142 Use `package--ac-desc-version' to retrieve version from a package
7143 archive element.
7144
7145 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7146
7147 New experimental feature to save&restore window and frame setup.
7148 * desktop.el (desktop-save-windows): New defcustom.
7149 (desktop--saved-states): New var.
7150 (desktop--excluded-frame-parameters): New defconst.
7151 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7152 (desktop--restore-windows, desktop--save-windows): New functions.
7153 (desktop-save): Call `desktop--save-windows'.
7154 (desktop-read): Call `desktop--restore-windows'.
7155
7156 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7157
7158 * net/shr.el (add-face-text-property): Remove compat definition.
7159
7160 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7161
7162 * info.el (Info-try-follow-nearest-node): Move search for footnote
7163 above search for node name to prevent missing a footnote (bug#14717).
7164
7165 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7166
7167 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7168
7169 2013-06-27 Leo Liu <sdl.web@gmail.com>
7170
7171 * net/eww.el (eww-read-bookmarks): Check file size.
7172
7173 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7176 advice--pending if newdef is nil or an autoload (bug#13820).
7177 (advice-mapc): New function.
7178
7179 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7180
7181 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7182 probably.
7183 (eww-mode-map): Add a menu bar.
7184 (eww-add-bookmark): New command.
7185 (eww-bookmark-mode): New mode and commands.
7186 (eww-add-bookmark): Remove newlines from the title.
7187 (eww-bookmark-browse): Don't bug out if it's the only window.
7188
7189 2013-06-26 Glenn Morris <rgm@gnu.org>
7190
7191 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7192 (hfy-size): Handle ttys. (Bug#14668)
7193
7194 * info-xref.el: Update for Texinfo 5 change in *note format.
7195 (info-xref-node-re, info-xref-note-re): New constants.
7196 (info-xref-check-buffer): Use info-xref-note-re.
7197
7198 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7201
7202 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7203 nil terminate the loop (bug#14718).
7204
7205 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7206
7207 * net/eww.el: Rework history traversal. When going forward/back,
7208 put these actions into the history, too, so that they can be
7209 replayed.
7210 (eww-render): Move the history reset to the correct buffer.
7211
7212 2013-06-25 Juri Linkov <juri@jurta.org>
7213
7214 * files-x.el (modify-dir-local-variable): Change the header comment
7215 in the file with directory local variables. (Bug#14692)
7216
7217 * files-x.el (read-file-local-variable-value): Add `default'.
7218 (Bug#14710)
7219
7220 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7221
7222 * net/eww.el (eww-make-unique-file-name): Create a unique file
7223 name before saving to entering `y' accidentally asynchronously.
7224
7225 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7226
7227 * net/eww.el (eww-download): New command and keystroke.
7228
7229 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7230
7231 * net/eww.el (eww-copy-page-url): Change name of command.
7232
7233 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7234 be more consistent with Info and dired.
7235
7236 * net/eww.el (eww-mode-map): Ditto.
7237
7238 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7241 packages from archives.
7242 (package-archive-contents): Change format; include obsolete packages.
7243 (package-desc): Use `dir' to mark builtin packages.
7244 (package--from-builtin): Set the `dir' field to `builtin'.
7245 (generated-autoload-file, version-control): Declare.
7246 (package-compute-transaction): Change first arg and return value to be
7247 lists of package-descs. Adjust to new package-archive-contents format.
7248 (package--add-to-archive-contents): Adjust to new
7249 package-archive-contents format.
7250 (package-download-transaction): Arg is now a list of package-descs.
7251 (package-install): If `pkg' is a package name, pass it as
7252 a requirement, so it is subject to the usual (e.g. disabled) checks.
7253 (describe-package): Accept package-desc as well.
7254 (describe-package-1): Describe a specific package-desc. Add links to
7255 other package-descs for the same package name.
7256 (package-menu-describe-package): Pass the actual package-desc.
7257 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7258 works correctly.
7259 (package-desc-status): New function.
7260 (package-menu--refresh): New function, extracted
7261 from package-menu--generate.
7262 (package-menu--generate): Use it.
7263 (package-delete): Update package-alist.
7264 (package-menu-execute): Don't call package-initialize.
7265
7266 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7267 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7268 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7269 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7270 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7271 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7272
7273 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7274
7275 * window.el (window--state-get-1): Workaround for bug#14527.
7276 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7277
7278 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7279
7280 * net/eww.el (eww-back-url): Implement the history by stashing all
7281 the data into a list.
7282 (eww-forward-url): Allow going forward in the history, too.
7283
7284 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7287 for values and use read--expression for expressions (bug#14710).
7288 (read-file-local-variable): Avoid setq.
7289 (read-file-local-variable-mode): Use minor-mode-list.
7290
7291 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7292
7293 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7294 for DOI URLs.
7295
7296 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7297
7298 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7299 Update imenu-support when dialect changes.
7300
7301 2013-06-25 Leo Liu <sdl.web@gmail.com>
7302
7303 * ido.el (ido-read-internal): Allow forward slash on windows.
7304
7305 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7306
7307 * net/eww.el (eww): Start of strings is \\`, not ^.
7308
7309 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7310
7311 * net/shr.el (shr-browse-url): Fix interactive spec.
7312
7313 * net/eww.el (eww): Add a trailing slash to domain names.
7314
7315 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7316
7317 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7318
7319 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7320
7321 * net/shr.el (shr-browse-url): Use an external browser if given a
7322 prefix.
7323
7324 * net/eww.el (eww-external-browser): Move to shr.
7325
7326 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7327
7328 * net/eww.el (eww): Work more correctly for file: URLs.
7329 (eww-detect-charset): Allow quoted charsets.
7330 (eww-yank-page-url): New command and keystroke.
7331
7332 2013-06-24 Daiki Ueno <ueno@gnu.org>
7333
7334 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7335 file name of gpg executable.
7336 (epg-context-program): New function.
7337 (epg-context-home-directory): New function.
7338 (epg-context-set-program): New function.
7339 (epg-context-set-home-directory): New function.
7340 (epg--start): Use `epg-context-program' instead of
7341 'epg-gpg-program'.
7342 (epg--list-keys-1): Likewise.
7343
7344 2013-06-24 Leo Liu <sdl.web@gmail.com>
7345
7346 * ido.el (ido-read-internal): Fix bug#14620.
7347
7348 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7349
7350 * faces.el (face-documentation): Simplify.
7351 (read-face-attribute, tty-find-type, x-resolve-font-name):
7352 Use `string-match-p'.
7353 (list-faces-display): Use `string-match-p'. Simplify.
7354 (face-spec-recalc): Check face to avoid face alias loops.
7355 (read-color): Use `string-match-p' and non-capturing parenthesis.
7356
7357 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7358
7359 * net/shr.el (shr-rescale-image): Use the new
7360 :max-width/:max-height functionality.
7361
7362 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7363
7364 * net/eww.el (eww-search-prefix): New variable.
7365 (eww): Use it.
7366 (eww-external-browser): New variable.
7367 (eww-mode-map): New keystroke.
7368 (eww-browse-with-external-browser): New command.
7369
7370 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7371
7372 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7373
7374 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7375 Don't skip aligning the next header field when padding is 0;
7376 otherwise, field width is not respected unless the title is as
7377 wide as the field.
7378
7379 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7380
7381 * emacs-lisp/package.el (package-el-version): Remove.
7382 (package-process-define-package): Fix inf-loop.
7383 (package-install): Allow symbols as arguments again.
7384
7385 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7386
7387 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7388 add some more keyword-like methods.
7389 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7390
7391 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7392
7393 * bs.el (bs-buffer-show-mark): Make defvar-local.
7394 (bs-mode): Use setq-local.
7395
7396 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7397 (emacs-lock--try-unlocking): Make defvar-local.
7398
7399 2013-06-22 Glenn Morris <rgm@gnu.org>
7400
7401 * play/cookie1.el (cookie-apropos): Minor simplification.
7402
7403 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7404
7405 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7406
7407 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7408 `regexp-opt', it breaks the build during dumping.
7409
7410 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7411
7412 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7413 Highlight keyword-like methods on Kernel and Module with
7414 font-lock-builtin-face.
7415 (auto-mode-alist): Consolidate different entries into one regexp
7416 and add more *file-s.
7417
7418 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7419
7420 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7421
7422 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7423 (diary-entry): Use it in the action of this button type instead of
7424 diary-goto-entry.
7425
7426 * calendar/todo-mode.el: New version.
7427 (todo-add-category): Append new category to end of file and give
7428 it the highest number, instead of putting it at the beginning and
7429 giving it 0. Incorporate noninteractive functionality.
7430 (todo-forward-category): Adapt to 1-based category numbering.
7431 Allow skipping over archived categories.
7432 (todo-backward-category): Derive from todo-forward-category.
7433 (todo-backward-item, todo-forward-item): Make noninteractive and
7434 delegate interactive part to new commands. Make sensitive to done items.
7435 (todo-categories): Make value an alist of category names and
7436 vectors of item counts.
7437 (todo-category-beg): Make a defconst.
7438 (todo-category-number): Use 1 instead of 0 as initial value.
7439 (todo-category-select): Make sensitive to overlays, optional item
7440 highlighting and done items.
7441 (todo-delete-item): Make sensitive to overlays and marked and done items.
7442 (todo-edit-item): Make sensitive to overlays and editing of
7443 date/time header optional. Add format checks.
7444 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7445 no-op if point is not on an item. Advertise using todo-edit-quit.
7446 (todo-edit-mode): Make sensitive to new format, font-locking, and
7447 multiple todo files.
7448 (todo-insert-item, todo-insert-item-here): Derive from
7449 todo-basic-insert-item and extend functionality.
7450 (todo-item-end, todo-item-start): Make sensitive to done items.
7451 (todo-item-string): Don't return text properties. Restore point.
7452 (todo-jump-to-category): Make sensitive to multiple todo files and
7453 todo archives. Use extended category completion.
7454 (todo-lower-item, todo-raise-item): Rename to *-priority and
7455 derive from todo-set-item-priority.
7456 (todo-mode): Derive from special-mode. Make sensitive to new
7457 format, font-locking and multiple todo files. Make read-only.
7458 (todo-mode-map): Don't suppress digit keys, so they can supply
7459 prefix arguments. Add many new key bindings.
7460 (todo-prefix): Insert as an overlay instead of file text.
7461 Change semantics from diary date expression to purely visual mark.
7462 (todo-print): Rename to todo-print-buffer. Make buffer display
7463 features printable. Remove option to restrict number of items
7464 printed. Add option to print to file.
7465 (todo-print-function): Rename to todo-print-buffer-function.
7466 (todo-quit): Extend to handle exiting new todo modes.
7467 (todo-remove-item): Make sensitive to overlays.
7468 (todo-save): Extend to buffers of filtered items.
7469 (todo-show): Make sensitive to done items, multiple todo files and
7470 new todo modes. Offer to convert legacy todo file before creating
7471 first new todo file.
7472 (todo-show-priorities): Rename to todo-top-priorities.
7473 Change semantics of value 0.
7474 (todo-top-priorities): Rename to todo-filter-top-priorities,
7475 derive from todo-filter-items and extend functionality.
7476 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7477 and extend functionality to other types of filtered items.
7478 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7479 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7480 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7481 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7482 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7483 (todo-edit-mode-hook, todo-entry-prefix-function)
7484 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7485 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7486 (todo-initials, todo-insert-threshold, todo-item-string-start)
7487 (todo-line-string, todo-menu, todo-mode-hook)
7488 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7489 (todo-print-priorities, todo-remove-separator)
7490 (todo-save-top-priorities-too, todo-string-count-lines)
7491 (todo-string-multiline-p, todo-time-string-format)
7492 (todo-tmp-buffer-name): Remove.
7493 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7494 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7495 (todo-edit-category-diary-inclusion)
7496 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7497 (todo-edit-file, todo-edit-item-date-day)
7498 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7499 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7500 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7501 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7502 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7503 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7504 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7505 (todo-filter-top-priorities-multifile, todo-find-archive)
7506 (todo-find-filtered-items-file, todo-go-to-source-item)
7507 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7508 (todo-jump-to-archive-category, todo-lower-category)
7509 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7510 (todo-move-category, todo-move-item, todo-next-button)
7511 (todo-next-item, todo-padded-string, todo-powerset)
7512 (todo-previous-button, todo-previous-item)
7513 (todo-print-buffer-to-file, todo-raise-category)
7514 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7515 (todo-set-category-number, todo-set-item-priority)
7516 (todo-set-top-priorities-in-category)
7517 (todo-set-top-priorities-in-file, todo-show-categories-table)
7518 (todo-sort-categories-alphabetically-or-numerically)
7519 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7520 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7521 (todo-toggle-item-header, todo-toggle-item-highlighting)
7522 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7523 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7524 (todo-unarchive-items, todo-unmark-category): New commands.
7525 (todo-absolute-file-name, todo-add-to-buffer-list)
7526 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7527 (todo-basic-insert-item, todo-category-completions)
7528 (todo-category-number, todo-category-string-matcher-1)
7529 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7530 (todo-check-format, todo-clear-matches)
7531 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7532 (todo-current-category, todo-date-string-matcher)
7533 (todo-define-insertion-command, todo-diary-expired-matcher)
7534 (todo-diary-goto-entry, todo-diary-item-p)
7535 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7536 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7537 (todo-done-item-section-p, todo-done-separator)
7538 (todo-done-string-matcher, todo-files, todo-filter-items)
7539 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7540 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7541 (todo-insert-category-line, todo-insert-item-from-calendar)
7542 (todo-insert-sort-button, todo-insert-with-overlays)
7543 (todo-insertion-command-name, todo-insertion-key-bindings)
7544 (todo-label-to-key, todo-longest-category-name-length)
7545 (todo-make-categories-list, todo-mode-external-set)
7546 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7547 (todo-modes-set-3, todo-multiple-filter-files)
7548 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7549 (todo-read-category, todo-read-date, todo-read-dayname)
7550 (todo-read-file-name, todo-read-time)
7551 (todo-reevaluate-category-completions-files-defcustom)
7552 (todo-reevaluate-default-file-defcustom)
7553 (todo-reevaluate-filelist-defcustoms)
7554 (todo-reevaluate-filter-files-defcustom)
7555 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7556 (todo-reset-done-separator, todo-reset-done-separator-string)
7557 (todo-reset-done-string, todo-reset-global-current-todo-file)
7558 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7559 (todo-reset-prefix, todo-set-categories)
7560 (todo-set-date-from-calendar, todo-set-show-current-file)
7561 (todo-set-top-priorities, todo-short-file-name)
7562 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7563 (todo-total-item-counts, todo-update-buffer-list)
7564 (todo-update-categories-display, todo-update-categories-sexp)
7565 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7566 New functions.
7567 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7568 New major modes.
7569 (todo-categories, todo-display, todo-edit, todo-faces)
7570 (todo-filtered): New defgroups.
7571 (todo-archived-only, todo-button, todo-category-string, todo-date)
7572 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7573 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7574 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7575 (todo-add-item-if-new-category, todo-always-add-time-string)
7576 (todo-categories-align, todo-categories-archived-label)
7577 (todo-categories-category-label, todo-categories-diary-label)
7578 (todo-categories-done-label, todo-categories-number-separator)
7579 (todo-categories-todo-label, todo-categories-totals-label)
7580 (todo-category-completions-files, todo-completion-ignore-case)
7581 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7582 (todo-done-separator-string, todo-done-string)
7583 (todo-files-function, todo-filter-done-items, todo-filter-files)
7584 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7585 (todo-initial-category, todo-initial-file, todo-item-mark)
7586 (todo-legacy-date-time-regexp, todo-mode-line-function)
7587 (todo-nondiary-marker, todo-number-prefix)
7588 (todo-print-buffer-function, todo-show-current-file)
7589 (todo-show-done-only, todo-show-first, todo-show-with-done)
7590 (todo-skip-archived-categories, todo-top-priorities-overrides)
7591 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7592 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7593 New defcustoms.
7594 (todo-category-done, todo-date-pattern, todo-date-string-start)
7595 (todo-diary-items-buffer, todo-done-string-start)
7596 (todo-filtered-items-buffer, todo-item-start)
7597 (todo-month-abbrev-array, todo-month-name-array)
7598 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7599 (todo-top-priorities-buffer): New defconsts.
7600 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7601 (todo-categories-with-marks, todo-category-string-face)
7602 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7603 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7604 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7605 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7606 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7607 (todo-font-lock-keywords, todo-global-current-todo-file)
7608 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7609 (todo-insertion-commands-args)
7610 (todo-insertion-commands-args-genlist)
7611 (todo-insertion-commands-names, todo-insertion-map)
7612 (todo-key-bindings-t, todo-key-bindings-t+a)
7613 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7614 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7615 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7616 (todo-visited): New variables.
7617
7618 2013-06-21 Glenn Morris <rgm@gnu.org>
7619
7620 * play/cookie1.el (cookie-apropos): Add optional display argument.
7621 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7622 (psychoanalyze-pinhead): Use cookie-doctor.
7623
7624 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7625
7626 * emacs-lisp/package.el (tar-get-file-descriptor)
7627 (tar--extract): Declare.
7628
7629 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7630
7631 Extend flymake's warning predicate to be a function (bug#14217).
7632 * progmodes/flymake.el (flymake-warning-predicate): New.
7633 (flymake-parse-line): Use it.
7634 (flymake-warning-re): Make obsolete alias to
7635 `flymake-warning-predicate'.
7636
7637 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7640 (package-obsolete-list): Remove.
7641 (package-activate): Remove min-version argument. Add `force' argument.
7642 Adjust to new package-alist format.
7643 (package-mark-obsolete): Remove.
7644 (package-unpack): Force reload of the package's autoloads.
7645 (package-installed-p): Check builtins if the installed package is not
7646 recent enough.
7647 (package-initialize): Don't reset package-obsolete-list.
7648 Don't specify which package version to activate.
7649 (package-process-define-package, describe-package-1)
7650 (package-menu--generate): Adjust to new package-alist format.
7651
7652 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * allout-widgets.el (allout-widgets-mode-off)
7655 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7656 (allout-widgets-post-command-business)
7657 (allout-widgets-after-copy-or-kill-function)
7658 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7659 (allout-decorate-item-and-context)
7660 (allout-graphics-modification-handler): Fix typos in docstrings.
7661 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7662
7663 * cmuscheme.el (scheme-start-file): Doc fix.
7664 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7665 (scheme-input-filter): Use `string-match-p'.
7666
7667 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7668
7669 * dired-x.el: Use Dired consistently in docstrings.
7670
7671 * dired.el: Use Dired consistently in docstrings.
7672 (dired-readin, dired-mode): Use `setq-local'.
7673 (dired-switches-alist): Make defvar-local.
7674 (dired-buffers-for-dir): Use `zerop'.
7675 (dired-safe-switches-p, dired-switches-escape-p)
7676 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7677 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7678 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7679 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7680 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7681 (dired-toggle-marks, dired-mark-files-containing-regexp)
7682 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7683 (dired-flag-auto-save-files, dired-flag-backup-files):
7684 Use `looking-at-p'.
7685 (dired-mark-files-regexp, dired-build-subdir-alist):
7686 Use `string-match-p', `looking-at-p'.
7687
7688 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7689 (direct-print-region-helper): Use `string-match-p'.
7690
7691 2013-06-21 Leo Liu <sdl.web@gmail.com>
7692
7693 * comint.el (comint-redirect-results-list-from-process):
7694 Fix infinite loop.
7695
7696 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7697
7698 * net/eww.el (eww-update-header-line-format): Quote % characters.
7699
7700 2013-06-21 Glenn Morris <rgm@gnu.org>
7701
7702 * play/cookie1.el (cookie): New custom group.
7703 (cookie-file): New option.
7704 (cookie-check-file): New function.
7705 (cookie): Make it interactive. Make start and end messages optional.
7706 Interactively, display the result. Default to cookie-file.
7707 (cookie-insert): Default to cookie-file.
7708 (cookie-snarf): Make start and end messages optional.
7709 Default to cookie-file. Use with-temp-buffer.
7710 (cookie-read): Rename from read-cookie.
7711 Make start and end messages optional. Default to cookie-file.
7712 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7713 Do not autoload it.
7714 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7715 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7716
7717 2013-06-21 Leo Liu <sdl.web@gmail.com>
7718
7719 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7720
7721 2013-06-21 Glenn Morris <rgm@gnu.org>
7722
7723 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7724
7725 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7726 Daniel Hackney <dan@haxney.org>
7727
7728 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7729 Consolidate the single-file vs tarball code.
7730 (package-desc-suffix): New function.
7731 (package-desc-full-name): Don't bother inlining it.
7732 (package-load-descriptor): Return the new package-desc.
7733 (package-mark-obsolete): Remove unused arg `package'.
7734 (package-unpack): Make it work for single files as well.
7735 Make it update package-alist.
7736 (package--make-autoloads-and-stuff): Rename from
7737 package--make-autoloads-and-compile. Don't compile any more.
7738 (package--compile): New function.
7739 (package-generate-description-file): New function, extracted from
7740 package-unpack-single.
7741 (package-unpack-single): Remove.
7742 (package--with-work-buffer): Add indentation and debugging info.
7743 (package-download-single): Remove.
7744 (package-install-from-archive): Rename from package-download-tar, make
7745 it take a pkg-desc, and make it work for single files as well.
7746 (package-download-transaction): Simplify.
7747 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7748 external tar program.
7749 (package-install-from-buffer): Remove `pkg-desc' argument.
7750 Use package-tar-file-info for tar-mode buffers.
7751 (package-install-file): Simplify accordingly.
7752 (package-archive-base): Change to take a pkg-desc.
7753 * tar-mode.el (tar--check-descriptor): New function, extracted from
7754 tar-get-descriptor.
7755 (tar-get-descriptor): Use it.
7756 (tar-get-file-descriptor): New function.
7757 (tar--extract): New function, extracted from tar-extract.
7758 (tar--extract): Use it.
7759 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7760 case the summary uses non-ascii. Adjust to new calling convention of
7761 package-tar-file-info.
7762
7763 2013-06-21 Leo Liu <sdl.web@gmail.com>
7764
7765 * comint.el (comint-redirect-results-list-from-process):
7766 Fix random delay. (Bug#14681)
7767
7768 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7769
7770 * profiler.el (profiler-format-number): Use log, not log10.
7771
7772 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7775
7776 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7779 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7780 yet available.
7781 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7782 (AUTOGENEL): ... here.
7783 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7784 (cl--defsubst-expand): Use it.
7785
7786 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7787
7788 * subr.el (log10): Move here from C code, and declare as obsolete.
7789 All uses of (log10 X) replaced with (log X 10).
7790
7791 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7792
7793 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7794 Declare with `defvar-local'.
7795 (tabulated-list-use-header-line, tabulated-list-entries)
7796 (tabulated-list-padding, tabulated-list-printer)
7797 (tabulated-list-sort-key): Declare with `defvar-local'.
7798 (tabulated-list-init-header, tabulated-list-print-fake-header):
7799 Use `setq-local'.
7800
7801 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7802
7803 * arc-mode.el (archive-mode): Add `archive-write-file' to
7804 `write-contents-functions' also for remote files. (Bug#14652)
7805
7806 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7807
7808 * cus-edit.el (custom-commands): Fix typos.
7809 (custom-display): Fix tooltip text.
7810 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7811 Fix typos in docstrings.
7812 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7813 (custom-unlispify-menu-entry, custom-magic-value-create)
7814 (custom-add-see-also, custom-group-value-create): Use ?\s.
7815 (custom-guess-type, customize-apropos, editable-field)
7816 (custom-face-value-create): Use `string-match-p'.
7817 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7818
7819 * custom.el (custom-load-symbol): Use `string-match-p'.
7820
7821 * ansi-color.el: Convert to lexical binding.
7822 (ansi-colors): Fix URL.
7823 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7824 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7825 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7826
7827 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7828
7829 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7830
7831 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7832
7833 2013-06-19 Tom Tromey <tromey@redhat.com>
7834
7835 * net/eww.el (eww-top-url): Remove.
7836 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7837 (eww-render): Set new variables. Don't set eww-top-url.
7838 (eww-handle-link): Handle "prev", "home", and "contents".
7839 Downcase the rel text.
7840 (eww-top-url): Choose best top URL.
7841
7842 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7843
7844 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7845 relying in widget.el. Using widget.el leads to too many
7846 user interface inconsistencies.
7847 (eww-self-insert): Implement entering commands in text fields.
7848 (eww-process-text-input): New function to make text input field editing
7849 work.
7850 (eww-submit): Rewrite to use the new-style form methods.
7851 (eww-select-display): Display the correct selected item.
7852 (eww-change-select): Implement changing the select value.
7853 (eww-toggle-checkbox): Implement radio/checkboxes.
7854 (eww-update-field): Fix compilation error.
7855 (eww-tag-textarea): Implement <textarea>.
7856
7857 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7858 we don't shadow mode-specific bindings.
7859
7860 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7861 nothing to push.
7862
7863 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7864
7865 2013-06-19 Glenn Morris <rgm@gnu.org>
7866
7867 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7868
7869 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7870
7871 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7872 not needed.
7873
7874 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7875
7876 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7877
7878 * net/browse-url.el (browse-url-browser-function):
7879 `eww-browse-url' has the right calling signature, `eww' does not.
7880
7881 2013-06-19 Glenn Morris <rgm@gnu.org>
7882
7883 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7884 Only eval autoloaded macros.
7885 (byte-compile-autoload): Only give the macro warning for macros.
7886
7887 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7888 (ps-underlined-faces): Declare.
7889
7890 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7891 (speedbar-add-supported-extension): Declare.
7892
7893 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7894 Don't include a date stamp in the header of the generated file;
7895 it leads to needless differences between output files.
7896
7897 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7898
7899 * net/secrets.el (secrets-struct-secret-content-type):
7900 Replace check of introspection data by a test call of "CreateItem".
7901 Some servers do not offer introspection.
7902
7903 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * electric.el (electric-pair-mode): Improve interaction with
7906 electric-layout-mode.
7907 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7908 (electric-pair-syntax): Use text-mode-syntax-table in comments
7909 and strings.
7910 (electric-pair--insert): New function.
7911 (electric-pair-post-self-insert-function): Use it and
7912 electric--after-char-pos.
7913
7914 2013-06-19 Leo Liu <sdl.web@gmail.com>
7915
7916 * progmodes/octave.el (octave-help): Fix regexp.
7917
7918 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7919
7920 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7921 (shr-table-horizontal-line): Allow nil as a value, and change the
7922 default.
7923 (shr-insert-table-ruler): Respect the nil value.
7924
7925 2013-06-18 Tom Tromey <tromey@barimba>
7926
7927 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7928 New defvars.
7929 (eww-open-file): New defun.
7930 (eww-render): Initialize new variables.
7931 (eww-display-html): Handle "link" and "a".
7932 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7933 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7934 (eww-back-url): Rename from eww-previous-url.
7935 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7936 New defuns.
7937
7938 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7939
7940 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7941 Distinguish ternary operator tokens from slash symbol and slash
7942 char literal.
7943
7944 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7945
7946 Convert symbol prettification into minor mode and global minor mode.
7947
7948 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7949 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7950 (prettify-symbols--keywords): Rename from
7951 `prog-prettify-symbols-alist' and make a local defvar.
7952 (prettify-symbols--compose-symbol): Rename from
7953 `prog--prettify-font-lock-compose-symbol'.
7954 (prettify-symbols--make-keywords): Rename from
7955 `prog-prettify-font-lock-symbols-keywords' and simplify.
7956 (prog-prettify-install): Remove.
7957 (prettify-symbols-mode): New minor mode, based on
7958 `prog-prettify-install'.
7959 (turn-on-prettify-symbols-mode): New function.
7960 (global-prettify-symbols-mode): New globalized minor mode.
7961
7962 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7963 * progmodes/cfengine.el (cfengine3-mode):
7964 * progmodes/perl-mode.el (perl-mode): Don't call
7965 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7966
7967 2013-06-18 Juri Linkov <juri@jurta.org>
7968
7969 * files-x.el (modify-file-local-variable-message): New function.
7970 (modify-file-local-variable)
7971 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7972 and call `modify-file-local-variable-message' when it's non-nil.
7973 (add-file-local-variable, delete-file-local-variable)
7974 (add-file-local-variable-prop-line)
7975 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7976 and use it. (Bug#9820)
7977
7978 2013-06-18 Juri Linkov <juri@jurta.org>
7979
7980 * emulation/vi.el (vi-shell-op):
7981 * emulation/vip.el (vip-execute-com, ex-command):
7982 * emulation/viper-cmd.el (viper-exec-bang):
7983 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7984 the call of `shell-command-on-region'. (Bug#14637)
7985
7986 * simple.el (shell-command-on-region): Doc fix.
7987
7988 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7991 (bug#14633).
7992
7993 2013-06-18 Glenn Morris <rgm@gnu.org>
7994
7995 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7996
7997 * newcomment.el (comment-search-forward, comment-search-backward):
7998 Doc fix. (Bug#14376)
7999
8000 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8001
8002 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8003 (buffer-face-mode-invoke): Doc fix.
8004
8005 2013-06-18 Matthias Meulien <orontee@gmail.com>
8006
8007 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8008 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8009
8010 2013-06-18 Glenn Morris <rgm@gnu.org>
8011
8012 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8013 Replace obsolete function generic-make-keywords with its expansion.
8014
8015 * progmodes/python.el (ffap-alist): Declare.
8016
8017 * textmodes/reftex.el (bibtex-mode-map): Declare.
8018
8019 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8020
8021 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8022 (package-unpack, package-unpack-single): Return the pkg-dir.
8023 (package-download-transaction): Use it to update package-alist.
8024
8025 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8026
8027 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8028 possible choice.
8029
8030 2013-06-17 Juri Linkov <juri@jurta.org>
8031
8032 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8033
8034 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8035
8036 * emacs-lisp/package.el (package-load-descriptor):
8037 Remove `with-syntax-table' call, `read' doesn't need it.
8038 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8039
8040 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8041
8042 * startup.el (command-line): Expand package name returned by
8043 `package--description-file' (bug#14639).
8044
8045 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8046
8047 * emacs-lisp/package.el (package-load-descriptor): Do not call
8048 `emacs-lisp-mode', just use its syntax table.
8049
8050 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8051
8052 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8053 `font-lock-extra-managed-props' if any prettifying keyword is added.
8054 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8055 (prog-mode): Use `setq-local'.
8056
8057 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * international/characters.el (standard-case-table): Set syntax of ?»
8060 and ?« to punctuation.
8061
8062 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8063
8064 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8065 Save relevant match data before calling `syntax-ppss' (bug#14595).
8066
8067 2013-06-15 Juri Linkov <juri@jurta.org>
8068
8069 * files-x.el (modify-file-local-variable-prop-line): Add local
8070 variables to the end of the existing comment on the first line.
8071 Use `file-auto-mode-skip' to skip interpreter magic line,
8072 and also skip XML declaration.
8073
8074 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 * startup.el (package--builtin-versions): New var.
8077 (package-subdirectory-regexp): Remove.
8078 (package--description-file): Hard code its value instead.
8079
8080 * emacs-lisp/package.el: Don't activate packages older than builtin.
8081 (package-obsolete-list): Rename from package-obsolete-alist, and make
8082 it into a simple list of package-desc.
8083 (package-strip-version): Remove.
8084 (package-built-in-p): Use package--builtin-versions.
8085 (package-mark-obsolete): Simplify.
8086 (package-process-define-package): Mark it obsolete if older than the
8087 builtin version.
8088 (package-handle-response): Use line-end-position.
8089 (package-read-archive-contents, package--download-one-archive):
8090 Simplify.
8091 (package--add-to-archive-contents): Skip if older than the builtin or
8092 installed version.
8093 (package-menu-describe-package): Fix last change.
8094 (package-list-unversioned): New var.
8095 (package-menu--generate): Use it.
8096
8097 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8098 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8099 (autoload-builtin-package-versions): New variable.
8100 (autoload-generate-file-autoloads): Use them.
8101 Remove the list of autoloaded functions/macros from the
8102 (autoload...) comments.
8103
8104 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8105
8106 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8107
8108 * simple.el (line-move-partial): Don't jump to the next screen
8109 line as soon as it becomes visible. Instead, continue enlarging
8110 the vscroll until the portion of a tall screen line that's left on
8111 display is about the height of the frame's default font.
8112 (Bug#14567)
8113
8114 2013-06-15 Glenn Morris <rgm@gnu.org>
8115
8116 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8117 compilation-error-regexp-alist void, or local while let-bound.
8118
8119 * progmodes/make-mode.el (makefile-mode-syntax-table):
8120 Treat "=" as punctuation. (Bug#14614)
8121
8122 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8123
8124 * help-fns.el (describe-variable):
8125 Add extra line for permanent-local variables.
8126
8127 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8128
8129 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8130 Add export, import, library. (Bug#9164)
8131 (library): Set indent function.
8132
8133 2013-06-14 Glenn Morris <rgm@gnu.org>
8134
8135 * term/xterm.el (xterm--query):
8136 Stop after first matching handler. (Bug#14615)
8137
8138 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8139
8140 Add support for dired in saveplace.
8141 * dired.el (dired-initial-position-hook): New variable.
8142 (dired-initial-position): Call hook to place cursor position.
8143 * saveplace.el (save-place-to-alist): Add dired position.
8144 (save-place-dired-hook): New function.
8145
8146 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8149 through a symbol rather than letrec.
8150
8151 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8152 (package-desc): Add `dir' field.
8153 (package-desc-full-name): New function.
8154 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8155 (package-maybe-load-descriptor): Remove.
8156 (package-load-all-descriptors): Just call package-load-descriptor.
8157 (package--disabled-p): New function.
8158 (package-desc-vers, package-desc-doc): Remove aliases.
8159 (package--dir): Remove function.
8160 (package-activate): Check if a package is disabled.
8161 (package-process-define-package): New function, extracted from
8162 define-package.
8163 (define-package): Turn into a place holder.
8164 (package-unpack-single, package-tar-file-info):
8165 Use package--description-file.
8166 (package-compute-transaction): Use package--disabled-p.
8167 (package-download-transaction): Don't call
8168 package-maybe-load-descriptor since they're all loaded anyway.
8169 (package-install): Change argument to be a pkg-desc.
8170 (package-delete): Use a single pkg-desc argument.
8171 (describe-package-1): Use package-desc-dir instead of package--dir.
8172 Use package-desc property instead of package-symbol.
8173 (package-install-button-action): Adjust accordingly.
8174 (package--push): Rewrite.
8175 (package-menu--print-info): Adjust accordingly. Change the ID format
8176 to be a pkg-desc.
8177 (package-menu-describe-package, package-menu-get-status)
8178 (package-menu--find-upgrades, package-menu-mark-upgrades)
8179 (package-menu-execute, package-menu--name-predicate):
8180 Adjust accordingly.
8181 * startup.el (package--description-file): New function.
8182 (command-line): Use it.
8183 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8184 Use package-desc-version.
8185
8186 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8187 (byte-compile-preprocess): Use it.
8188 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8189 can't quite recognize.
8190 (byte-compile-add-to-list): Remove.
8191 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8192 (cconv-closure-convert): Add assertion.
8193
8194 * emacs-lisp/map-ynp.el: Use lexical-binding.
8195 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8196 Factor out some repeated code.
8197
8198 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8199
8200 * subr.el (with-eval-after-load): New macro.
8201 (eval-after-load): Allow form to be a function.
8202 take advantage of lexical-binding.
8203 (do-after-load-evaluation): Use dolist and adjust to new format.
8204 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8205
8206 2013-06-13 Juri Linkov <juri@jurta.org>
8207
8208 * replace.el (perform-replace): Display "symbol " and other search
8209 modes from `isearch-message-prefix' in the *Help* buffer.
8210
8211 * isearch.el (isearch-query-replace): Add " symbol" and other
8212 possible search modes from `isearch-message-prefix' to the prompt.
8213 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8214 when reading a regexp to collect.
8215
8216 2013-06-13 Juri Linkov <juri@jurta.org>
8217
8218 * isearch.el (word-search-regexp): Match whitespace if the search
8219 string begins or ends in whitespace. The LAX arg is applied to
8220 both ends of the search string. Use `regexp-quote' and explicit
8221 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8222 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8223 boundaries are replaced with symbol boundaries, and characters
8224 between symbols match non-word non-symbol syntax. (Bug#14602)
8225
8226 2013-06-13 Juri Linkov <juri@jurta.org>
8227
8228 * isearch.el (isearch-del-char): Don't exceed the length of
8229 `isearch-string' by the prefix arg. (Bug#14563)
8230
8231 2013-06-13 Juri Linkov <juri@jurta.org>
8232
8233 * isearch.el (isearch-yank-word, isearch-yank-line)
8234 (isearch-char-by-name, isearch-quote-char)
8235 (isearch-printing-char, isearch-process-search-char):
8236 Add optional count prefix arg. (Bug#14563)
8237
8238 * international/isearch-x.el
8239 (isearch-process-search-multibyte-characters):
8240 Add optional count prefix arg.
8241
8242 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8243
8244 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8245 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8246 lexical-binding.
8247
8248 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8249
8250 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8251
8252 2013-06-13 Glenn Morris <rgm@gnu.org>
8253
8254 * startup.el (tty-handle-args):
8255 Don't just discard "--" and anything after. (Bug#14608)
8256
8257 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8258
8259 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8260
8261 Implement changes in Secret Service API. Make it backward compatible.
8262 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8263 (secrets-create-item): Use it. Prefix properties with interface.
8264
8265 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8266
8267 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8268 (term-emulate-terminal): Respect term-suppress-hard-newline.
8269
8270 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8271
8272 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8273 Only remove a `thumb-file' overlay. (Bug#14548)
8274
8275 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8276
8277 * mail/reporter.el (reporter-submit-bug-report):
8278 Handle missing package-name. (Bug#14600)
8279
8280 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8281
8282 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8283 (reftex-citation-prompt, reftex-default-bibliography)
8284 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8285 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8286 (reftex-bib-sort-author, reftex-bib-sort-year)
8287 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8288 (reftex-extract-bib-entries-from-thebibliography)
8289 (reftex-get-bibkey-default, reftex-get-bib-names)
8290 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8291 (reftex-format-bib-entry, reftex-parse-bibitem)
8292 (reftex-format-bibitem, reftex-do-citation)
8293 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8294 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8295 (reftex-insert-bib-matches, reftex-format-citation)
8296 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8297 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8298 existing comments into docstrings.
8299
8300 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8301
8302 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8303
8304 2013-06-12 Andreas Schwab <schwab@suse.de>
8305
8306 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8307 for auto-save files.
8308
8309 2013-06-12 Glenn Morris <rgm@gnu.org>
8310
8311 * ido.el (ido-delete-ignored-files): Remove.
8312 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8313 Go back to calling ido-ignore-item-p directly.
8314
8315 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8316
8317 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8318
8319 * ido.el (ido-delete-ignored-files): New function,
8320 split from ido-make-file-list-1.
8321 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8322 (ido-make-file-list-1): Use ido-delete-ignored-files.
8323
8324 2013-06-12 Leo Liu <sdl.web@gmail.com>
8325
8326 * progmodes/octave.el (inferior-octave-startup)
8327 (inferior-octave-completion-table)
8328 (inferior-octave-track-window-width-change)
8329 (octave-eldoc-function-signatures, octave-help)
8330 (octave-find-definition): Use single quoted strings.
8331 (inferior-octave-startup-args): Change default value.
8332 (inferior-octave-startup): Do not hard code "-i" and
8333 "--no-line-editing".
8334 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8335 (inferior-octave-directory-tracker): Use it.
8336 (octave-goto-function-definition): Robustify.
8337 (octave-help): Support highlighting operators in 'See also'.
8338 (octave-find-definition): Find subfunctions only in Octave mode.
8339
8340 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 * help-fns.el (help-fns--compiler-macro): If the handler function is
8343 named, then put a link to it.
8344 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8345 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8346 (cl-typep): Use it.
8347 (cl-eval-when): Simplify debug spec.
8348 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8349 compiler-macro function instead of setting `compiler-macro-file'.
8350
8351 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8352
8353 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8354 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8355
8356 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8357 Daniel Hackney <dan@haxney.org>
8358
8359 First part of Daniel Hackney's patch to package.el.
8360 * emacs-lisp/package.el: Use defstruct.
8361 (package-desc): New, main struct.
8362 (package--bi-desc, package--ac-desc): New structs, used to describe the
8363 format in external files.
8364 (package-desc-vers): Replace with package-desc-version accessor.
8365 (package-desc-doc): Replace with package-desc-summary accessor.
8366 (package-activate-1): Remove `package' arg since the pkg-vec now
8367 includes the name.
8368 (define-package): Use package-desc-from-define.
8369 (package-unpack-single): Change file-name arg to be a symbol.
8370 (package--add-to-archive-contents): Use package-desc-create and new
8371 accessor functions to package--ac-desc.
8372 (package-buffer-info, package-tar-file-info): Return a package-desc.
8373 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8374 arg to be a package-desc.
8375 (package-install-file): Adjust accordingly. Use \' to match EOS.
8376 (package--from-builtin): New function.
8377 (describe-package-1, package-menu--generate): Use it.
8378 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8379 (package-generate-autoloads): Idem and return the name of the file.
8380 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8381 Change pkg-info arg to be a package-desc.
8382 Use package-make-ac-desc.
8383 (package-upload-file): Use \' to match EOS.
8384 * finder.el (finder-compile-keywords): Use package-make-builtin.
8385
8386 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8387
8388 * vc/vc.el (vc-deduce-fileset): Change error message.
8389 (vc-read-backend): New function.
8390 (vc-next-action): Use it.
8391
8392 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8393
8394 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8395 (prolog-font-lock-keywords): Use regexp-opt instead.
8396 Don't manually highlight strings.
8397 (prolog-mode-variables): Simplify comment-start-skip.
8398 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8399
8400 * emacs-lisp/generic.el (generic--normalise-comments)
8401 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8402 (generic-mode-set-comments): Use them.
8403 (generic-bracket-support): Use setq-local.
8404 (generic-make-keywords-list): Declare obsolete.
8405
8406 2013-06-11 Glenn Morris <rgm@gnu.org>
8407
8408 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8409 Prettify after setting font-lock-defaults. (Bug#14574)
8410
8411 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8412
8413 * replace.el (query-replace, occur-read-regexp-defaults-function)
8414 (replace-search):
8415 * subr.el (declare-function, number-sequence, local-set-key)
8416 (substitute-key-definition, locate-user-emacs-file)
8417 (with-silent-modifications, split-string, eval-after-load):
8418 Fix typos, remove unneeded backslashes and reflow some docstrings.
8419
8420 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8421
8422 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8423 default for Elisp files.
8424
8425 2013-06-11 Glenn Morris <rgm@gnu.org>
8426
8427 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8428 although define-derived-mode was doing this anyway. (Bug#14583)
8429
8430 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8431
8432 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8433 Fix make-variable-buffer-local call to refer to the correct variable.
8434
8435 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8436
8437 * eshell/em-term.el (eshell-visual-commands)
8438 (eshell-visual-subcommands, eshell-visual-options):
8439 Add summary line to docstrings. Add cross-references.
8440
8441 2013-06-10 Glenn Morris <rgm@gnu.org>
8442
8443 * epa.el (epa-read-file-name): New function. (Bug#14510)
8444 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8445
8446 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8447
8448 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8449 output redirection to be ignored with visual commands.
8450
8451 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8452
8453 * eshell/em-term.el (eshell-visual-command-p): New function.
8454 (eshell-term-initialize): Move long lambda to separate function
8455 eshell-visual-command-p.
8456 * eshell/em-dirs.el (eshell-dirs-initialise):
8457 * eshell/em-script.el (eshell-script-initialize):
8458 Add missing #' to lambda.
8459
8460 2013-06-08 Leo Liu <sdl.web@gmail.com>
8461
8462 * progmodes/octave.el (octave-add-log-current-defun): New function.
8463 (octave-mode): Set add-log-current-defun-function.
8464 (octave-goto-function-definition): Do not move point if not found.
8465 (octave-find-definition): Enhance to try subfunctions first.
8466
8467 2013-06-08 Glenn Morris <rgm@gnu.org>
8468
8469 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8470 (byte-compile-backward-char, byte-compile-backward-word):
8471 Improve previous change, to handle non-explicit nil.
8472
8473 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8474
8475 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8476 (smie--opener/closer-at-point): New function.
8477 (smie--matching-block-data): Use it. Don't match from right after an
8478 opener or right before a closer. Obey smie-blink-matching-inners.
8479 Don't signal a mismatch for repeated inners like "switch..case..case".
8480
8481 2013-06-07 Leo Liu <sdl.web@gmail.com>
8482
8483 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8484 to t. (Bug#14303)
8485 (octave-function-header-regexp): Fix. (Bug#14570)
8486 (octave-help-mode-finish-hook, octave-help-mode-finish):
8487 Remove. Just use temp-buffer-show-hook.
8488
8489 * newcomment.el (comment-search-backward): Revert last change.
8490 (Bug#14434)
8491
8492 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8493
8494 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8495
8496 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8497 through xargs, to avoid failure due to MS-Windows limitations on
8498 command-line length.
8499
8500 2013-06-06 Glenn Morris <rgm@gnu.org>
8501
8502 * font-lock.el (lisp-font-lock-keywords-2):
8503 Treat user-error like error.
8504
8505 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8506 (byte-compile-backward-char, byte-compile-backward-word):
8507 Handle explicit nil arguments. (Bug#14565)
8508
8509 2013-06-05 Alan Mackenzie <acm@muc.de>
8510
8511 * isearch.el (isearch-allow-prefix): New user option.
8512 (isearch-other-meta-char): Don't exit isearch when a prefix
8513 argument is typed whilst `isearch-allow-prefix' is non-nil.
8514 (Bug#9706)
8515
8516 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8517
8518 * autorevert.el (auto-revert-notify-handler): Use memq.
8519 Hide assertion failure.
8520
8521 * skeleton.el: Use cl-lib.
8522 (skeleton-further-elements): Use defvar-local.
8523 (skeleton-insert): Use cl-progv.
8524
8525 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8526
8527 * progmodes/prog-mode.el (prog-prettify-symbols)
8528 (prog-prettify-install): Update docstrings.
8529
8530 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * simple.el: Move all the prog-mode code to prog-mode.el.
8533 * progmodes/prog-mode.el: New file.
8534 * loadup.el: Add prog-mode.el.
8535
8536 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8537
8538 * simple.el (prog-prettify-symbols): Add version.
8539 (prog-prettify-install): Add convenience function to prettify symbols.
8540
8541 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8542 (perl--augmented-font-lock-keywords-1)
8543 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8544 variables and use it.
8545
8546 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8547 (cfengine3-mode): Remove unneeded variable and use it.
8548
8549 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8550 (lisp--augmented-font-lock-keywords-1)
8551 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8552 Remove unneeded variables and use it.
8553
8554 2013-06-05 João Távora <joaotavora@gmail.com>
8555
8556 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8557 to point when opening the connection. (Bug#14380)
8558
8559 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * subr.el (load-history-regexp, load-history-filename-element)
8562 (eval-after-load, after-load-functions, do-after-load-evaluation)
8563 (eval-next-after-load, display-delayed-warnings)
8564 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8565 definition of save-match-data.
8566 (overriding-local-map): Remove accidental obsolescence declaration.
8567
8568 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8569
8570 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8571
8572 Generalize symbol prettify support to prog-mode and implement it
8573 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8574 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8575 (prog--prettify-font-lock-compose-symbol)
8576 (prog-prettify-font-lock-symbols-keywords): New variables and
8577 functions to support symbol prettification.
8578 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8579 (lisp--augmented-font-lock-keywords-1)
8580 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8581 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8582 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8583 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8584 Implement prettify of -> => :: strings.
8585 * progmodes/perl-mode.el (perl-prettify-symbols)
8586 (perl--font-lock-compose-symbol)
8587 (perl--font-lock-symbols-keywords): Move to prog-mode.
8588 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8589 (perl-font-lock-keywords-1)
8590 (perl-font-lock-keywords-2): Remove explicit prettify support.
8591 (perl--augmented-font-lock-keywords)
8592 (perl--augmented-font-lock-keywords-1)
8593 (perl--augmented-font-lock-keywords-2, perl-mode):
8594 Implement prettify support.
8595
8596 2013-06-05 Leo Liu <sdl.web@gmail.com>
8597
8598 Re-implement smie matching block highlight using
8599 show-paren-data-function. (Bug#14395)
8600 * emacs-lisp/smie.el (smie-matching-block-highlight)
8601 (smie--highlight-matching-block-overlay)
8602 (smie--highlight-matching-block-lastpos)
8603 (smie-highlight-matching-block)
8604 (smie-highlight-matching-block-mode): Remove.
8605 (smie--matching-block-data-cache): New variable.
8606 (smie--matching-block-data): New function.
8607 (smie-setup): Use smie--matching-block-data for
8608 show-paren-data-function.
8609
8610 * progmodes/octave.el (octave-mode-menu): Fix.
8611 (octave-find-definition): Skip garbage lines.
8612
8613 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 Fix compilation error with simultaneous dynamic+lexical scoping.
8616 Add warning when a defvar appears after the first let-binding.
8617 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8618 (byte-compile-close-variables): Initialize it.
8619 (byte-compile--declare-var): New function.
8620 (byte-compile-file-form-defvar)
8621 (byte-compile-file-form-define-abbrev-table)
8622 (byte-compile-file-form-custom-declare-variable): Use it.
8623 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8624 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8625 (byte-compile-bind): Handle dynamic bindings that shadow
8626 lexical bindings.
8627 (byte-compile-unbind): Make arg non-optional.
8628 (byte-compile-let): Simplify.
8629 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8630 (cconv--analyse-function, cconv-analyse-form): Populate it.
8631 Protect byte-compile-bound-variables to limit the scope of defvars.
8632 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8633 Remove unneeded rule for `declare'.
8634
8635 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8636 so as to avoid depending on cl-adjoin at run-time.
8637 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8638
8639 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8640 (macroexp--warn-and-return): Use it.
8641
8642 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * lisp/subr.el: Convert to lexical binding.
8645 (overriding-local-map): Make obsolete.
8646 (add-to-list): Doc fix. Add compiler macro.
8647 (read-key): Swap values of local maps.
8648
8649 2013-06-05 Leo Liu <sdl.web@gmail.com>
8650
8651 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8652
8653 2013-06-04 Leo Liu <sdl.web@gmail.com>
8654
8655 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8656 (compilation-auto-jump): Suppress the "Mark set" message to give
8657 way to exit message.
8658
8659 2013-06-04 Alan Mackenzie <acm@muc.de>
8660
8661 Remove faulty optimisation from indentation calculation.
8662 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8663 search limit based on 2000 characters back from indent-point.
8664
8665 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8666
8667 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8668
8669 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * emacs-lisp/lisp.el: Use lexical-binding.
8672 (lisp--local-variables-1, lisp--local-variables): New functions.
8673 (lisp--local-variables-completion-table): New var.
8674 (lisp-completion-at-point): Use it complete let-bound vars.
8675
8676 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8677 eagerly (bug#14422).
8678
8679 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8680
8681 * autorevert.el (auto-revert-notify-enabled)
8682 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8683 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8684 (auto-revert-notify-handler): Handle also gfilenotify.
8685
8686 * subr.el (file-notify-handle-event): New defun. Replacing ...
8687 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8688 Remove.
8689
8690 2013-06-03 Juri Linkov <juri@jurta.org>
8691
8692 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8693 `M-s h .'. (Bug#14427)
8694
8695 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8696 command `hi-lock-face-symbol-at-point'.
8697 (hi-lock-face-symbol-at-point): New command.
8698 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8699 (hi-lock-menu): Add `highlight-symbol-at-point'.
8700 (hi-lock-mode): Doc fix.
8701
8702 * isearch.el (isearch-forward-symbol-at-point): New command.
8703 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8704 (isearch-highlight-regexp): Add a regexp which matches
8705 words/symbols for word/symbol mode.
8706
8707 * subr.el (find-tag-default-bounds): New function with the body
8708 mostly moved from `find-tag-default'.
8709 (find-tag-default): Move most code to `find-tag-default-bounds',
8710 call it and apply `buffer-substring-no-properties' afterwards.
8711
8712 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8713
8714 * eshell/em-term.el (eshell-term-initialize):
8715 Use `cl-intersection' rather than `intersection'.
8716
8717 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8718
8719 * vc/log-view.el: Doc fix.
8720 (log-view-mode-map): Copy keymap from `special-mode-map'.
8721
8722 2013-06-02 Eric Ludlam <zappo@gnu.org>
8723
8724 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8725 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8726 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8727 (eieio-unbound, eieio-default-superclass)
8728 (eieio--define-field-accessors, method-static, method-before)
8729 (method-primary, method-after, method-num-lists)
8730 (method-generic-before, method-generic-primary)
8731 (method-generic-after, method-num-slots)
8732 (eieio-specialized-key-to-generic-key)
8733 (eieio--check-type, class-v, class-p)
8734 (eieio-class-name, define-obsolete-function-alias)
8735 (eieio-class-parents-fast, eieio-class-children-fast)
8736 (same-class-fast-p, class-constructor, generic-p)
8737 (generic-primary-only-p, generic-primary-only-one-p)
8738 (class-option-assoc, class-option, eieio-object-p)
8739 (class-abstract-p, class-method-invocation-order)
8740 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8741 (eieio-class-un-autoload, eieio-defclass)
8742 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8743 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8744 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8745 (eieio-defgeneric-reset-generic-form)
8746 (eieio-defgeneric-form-primary-only)
8747 (eieio-defgeneric-reset-generic-form-primary-only)
8748 (eieio-defgeneric-form-primary-only-one)
8749 (eieio-defgeneric-reset-generic-form-primary-only-one)
8750 (eieio-unbind-method-implementations)
8751 (eieio--defmethod, eieio--typep)
8752 (eieio-perform-slot-validation, eieio-validate-slot-value)
8753 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8754 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8755 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8756 (eieio-slot-name-index, eieio-class-slot-name-index)
8757 (eieio-set-defaults, eieio-initarg-to-attribute)
8758 (eieio-attribute-to-initarg, eieio-c3-candidate)
8759 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8760 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8761 (eieio-class-precedence-list, eieio-generic-call-methodname)
8762 (eieio-generic-call-arglst, eieio-generic-call-key)
8763 (eieio-generic-call-next-method-list)
8764 (eieio-pre-method-execution-functions, eieio-generic-call)
8765 (eieio-generic-call-primary-only, eieiomt-method-list)
8766 (eieiomt-optimizing-obarray, eieiomt-install)
8767 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8768 (eieio-generic-form, eieio-defmethod, make-obsolete)
8769 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8770 (defclass): Remove `eval-and-compile' from macro.
8771 (call-next-method, shared-initialize): Instead of using
8772 `scoped-class' variable, use new eieio--scoped-class, and
8773 eieio--with-scoped-class.
8774 (initialize-instance): Rename local variable 'scoped-class' to
8775 'this-class' to remove ambiguitity from old global.
8776
8777 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8778 eieio.el.
8779 (eieio--scoped-class-stack): New variable.
8780 (eieio--scoped-class): New fcn.
8781 (eieio--with-scoped-class): New scoping macro.
8782 (eieio-defclass): Use pushnew instead of add-to-list.
8783 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8784 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8785 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8786 `scoped-class' variable, use new eieio--scoped-class, and
8787 eieio--with-scoped-class.
8788
8789 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8790
8791 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8792
8793 * eshell/esh-ext.el (eshell-external-command): Pass args to
8794 `eshell-find-interpreter'.
8795 (eshell-find-interpreter): Add new second parameter ARGS.
8796
8797 * eshell/em-script.el (eshell-script-initialize): Add second arg
8798 to the function added as MATCH to `eshell-interpreter-alist'.
8799
8800 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8801 the function added as MATCH to `eshell-interpreter-alist'.
8802
8803 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8804 (eshell-visual-options): New defcustom.
8805 (eshell-escape-control-x): Adapt docstring.
8806 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8807 `eshell-visual-options' in addition to `eshell-visual-commands'.
8808 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8809
8810 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8811
8812 * progmodes/python.el (python-indent-block-enders): Add break,
8813 continue and raise keywords.
8814
8815 2013-06-01 Glenn Morris <rgm@gnu.org>
8816
8817 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8818
8819 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8820 * progmodes/cc-cmds.el (delete-forward-p):
8821 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8822 * progmodes/cc-engine.el (buffer-syntactic-context):
8823 * progmodes/cc-fonts.el (face-property-instance):
8824 * progmodes/cc-mode.el (set-keymap-parents):
8825 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8826 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8827 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8828 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8829 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8830
8831 * progmodes/cc-vars.el (other): Emacs has this widget since
8832 at least 21.1, so don't (re)define it.
8833
8834 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8835 Replace the obsolete alias pcomplete-arg-quote-list.
8836
8837 2013-06-01 Leo Liu <sdl.web@gmail.com>
8838
8839 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8840 punctuation syntax.
8841 (inferior-octave-minimal-columns)
8842 (inferior-octave-last-column-width): New variables.
8843 (inferior-octave-track-window-width-change): New function.
8844 (inferior-octave-mode): Adjust column width so that Octave output,
8845 for example from 'ls', can fit into the window nicely.
8846
8847 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8848
8849 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8850 Highlight expansions inside regexp literals.
8851
8852 2013-05-31 Glenn Morris <rgm@gnu.org>
8853
8854 * obsolete/sym-comp.el (symbol-complete):
8855 Replace obsolete completion-annotate-function.
8856
8857 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8858
8859 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8860
8861 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8862 New function, checks if point is inside a literal that allows
8863 expression expansion.
8864 (ruby-syntax-propertize-expansion): Use it.
8865 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8866 around the body.
8867
8868 2013-05-30 Juri Linkov <juri@jurta.org>
8869
8870 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8871 to "\M-si".
8872 (isearch-invisible): New variable.
8873 (isearch-forward): Doc fix.
8874 (isearch-mode): Set `isearch-invisible'
8875 to the value of `search-invisible'.
8876 (isearch-toggle-case-fold): Doc fix.
8877 (isearch-toggle-invisible): New command.
8878 (isearch-query-replace): Let-bind `search-invisible'
8879 to the value of `isearch-invisible'.
8880 (isearch-search): Use `isearch-invisible' instead of
8881 `search-invisible'. Let-bind `search-invisible'
8882 to the value of `isearch-invisible'. (Bug#11378)
8883
8884 2013-05-30 Juri Linkov <juri@jurta.org>
8885
8886 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8887 call when `query-flag' is nil and `search-invisible' is non-nil.
8888 (Bug#11746)
8889
8890 2013-05-30 Glenn Morris <rgm@gnu.org>
8891
8892 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8893
8894 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8895 (cc-require): Suppress spurious "noruntime" warnings.
8896 (cc-require-when-compile): Use fboundp, for sake of compiler.
8897
8898 * progmodes/cc-mode.el: Move load of cc-vars before that of
8899 cc-langs (which in turn loads cc-vars), to quieten compiler.
8900
8901 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8902
8903 * paren.el: Simplify the code.
8904 (show-paren-mode): Always start the timer.
8905 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8906 (show-paren--overlay, show-paren--overlay-1): Rename from
8907 show-paren-overlay and show-paren-overlay-1, and initialize to an
8908 overlay rather than to nil.
8909 (show-paren-function): Misc cleanup and simplifications.
8910
8911 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8912
8913 * paren.el (show-paren-data-function): New hook.
8914 (show-paren--default): New function, extracted from show-paren-function.
8915 (show-paren-function): Use show-paren-data-function.
8916
8917 2013-05-30 Glenn Morris <rgm@gnu.org>
8918
8919 * ielm.el (ielm-map, ielm-complete-symbol):
8920 Use completion-at-point rather than obsolete functions.
8921 (inferior-emacs-lisp-mode): Doc fix.
8922 Set completion-at-point-functions, rather than
8923 comint-dynamic-complete-functions.
8924
8925 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8926 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8927 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8928
8929 * image.el (image-animated-p): Tweak definition.
8930
8931 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8932 (rlogin-process-connection-type): Tweak default. Add set-after.
8933 (rlogin-host): Doc fix.
8934 (rlogin): Tweak prompt.
8935 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8936
8937 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8938 * progmodes/tcl.el (inferior-tcl-mode-map):
8939 Use completion-at-point rather than obsolete alias.
8940
8941 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8942
8943 * minibuffer.el (read-file-name-completion-ignore-case):
8944 Move before completion--in-region, for eager macro expansion.
8945
8946 2013-05-29 Juri Linkov <juri@jurta.org>
8947
8948 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8949 for total count of matching lines. Add `global-matches' for total
8950 count of matches. Rename `matches' to `lines' for count of
8951 matching lines. Add `matches' for count of matches.
8952 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8953 to `prev-line' for line number of prev match endpt.
8954 Increment `matches' for every match. Print the number of
8955 matching lines in the header.
8956 (occur-context-lines): Rename `lines' to `curr-line'.
8957 Rename `prev-lines' to `prev-line'. (Bug#14017)
8958
8959 2013-05-29 Juri Linkov <juri@jurta.org>
8960
8961 * replace.el (perform-replace): Add `skip-read-only-count',
8962 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8963 Increment them for corresponding conditions and report the number
8964 of skipped occurrences in the final message. (Bug#11746)
8965 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8966 (replace-string, replace-regexp): Doc fix.
8967
8968 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8969
8970 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8971
8972 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8973 prog-mode-map (bug#14504).
8974
8975 2013-05-29 Leo Liu <sdl.web@gmail.com>
8976
8977 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8978 (octave-help): Small simplification.
8979
8980 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8981 off the highlight first.
8982
8983 2013-05-29 Glenn Morris <rgm@gnu.org>
8984
8985 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8986 Handle idlwave-last-system-routine-info-cons-cell being nil.
8987
8988 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8989 (idlwave-write-paths): Simplify via with-temp-buffer.
8990
8991 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8992 * emulation/cua-rect.el: Also load cua-base at run time.
8993
8994 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8995 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8996 (cperl-imenu-on-info): Require imenu.
8997
8998 2013-05-28 Alan Mackenzie <acm@muc.de>
8999
9000 Handle "capitalised keywords" correctly.
9001 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9002
9003 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9004
9005 * eshell/em-unix.el: Add -r option to cp.
9006
9007 2013-05-28 Glenn Morris <rgm@gnu.org>
9008
9009 * vc/vc-arch.el (vc-exec-after): Declare.
9010 (vc-switches): Autoload.
9011 * vc/vc-bzr.el: No need to require vc when compiling.
9012 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9013 (vc-resynch-buffer, vc-dir-refresh): Declare.
9014 (vc-setup-buffer, vc-switches): Autoload.
9015 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9016 (vc-resynch-buffer): Declare.
9017 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9018 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9019 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9020 (grep-read-regexp, grep-read-files, grep-expand-template)
9021 (vc-dir-refresh): Declare.
9022 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9023 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9024 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9025 * vc/vc-mtn.el (vc-exec-after): Declare.
9026 (vc-switches): Autoload.
9027 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9028 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9029 (vc-file-tree-walk): Declare.
9030 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9031 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9032 (vc-tag-precondition, vc-rename-master): Autoload.
9033 * vc/vc-svn.el (vc-exec-after): Declare.
9034 (vc-switches, vc-setup-buffer): Autoload.
9035 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9036 Autoload.
9037 (vc-resynch-buffer): Declare.
9038
9039 * obsolete/fast-lock.el (byte-compile-warnings):
9040 Don't warn about obsolete features in this obsolete file.
9041
9042 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9043 Move definition before use.
9044
9045 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9046 (dun-unix-verbs): Remove dun-zippy.
9047 (dun-zippy): Remove function.
9048
9049 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9050
9051 2013-05-27 Juri Linkov <juri@jurta.org>
9052
9053 * replace.el (replace-search): New function with code moved out
9054 from `perform-replace'.
9055 (replace-highlight, replace-dehighlight): Move function definitions
9056 up closer to `replace-search'. (Bug#11746)
9057
9058 2013-05-27 Juri Linkov <juri@jurta.org>
9059
9060 * replace.el (perform-replace): Ignore invisible matches.
9061 In addition to checking `query-replace-skip-read-only', also
9062 filter out matches by calling `run-hook-with-args-until-failure'
9063 on `isearch-filter-predicates', and also check `search-invisible'
9064 for t or call `isearch-range-invisible'.
9065 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9066
9067 2013-05-27 Juri Linkov <juri@jurta.org>
9068
9069 * isearch.el (isearch-filter-predicates): Rename from
9070 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9071 (isearch-message-prefix): Display text from the property
9072 `isearch-message-prefix' of the currently active filters.
9073 (isearch-search): Don't compare `isearch-filter-predicate' with
9074 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9075 on `isearch-filter-predicates'. Also check `search-invisible' for t
9076 or call `isearch-range-invisible'.
9077 (isearch-filter-visible): Make obsolete.
9078 (isearch-lazy-highlight-search):
9079 Call `run-hook-with-args-until-failure' on
9080 `isearch-filter-predicates' and use `isearch-range-invisible'.
9081
9082 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9083 `isearch-filter-predicates' instead of `funcall'ing
9084 `isearch-filter-predicate'.
9085 (Info-mode): Set `Info-isearch-filter' to
9086 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9087
9088 * dired-aux.el (dired-isearch-filter-predicate-orig):
9089 Remove variable.
9090 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9091 (dired-isearch-filenames-end): Add and remove
9092 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9093 instead of changing the value of `isearch-filter-predicate'.
9094 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9095 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9096 Put property `isearch-message-prefix' to "filename " on
9097 `dired-isearch-filter-filenames'.
9098
9099 * wdired.el (wdired-change-to-wdired-mode):
9100 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9101 locally instead of changing `isearch-filter-predicate'.
9102 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9103
9104 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9105
9106 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9107 return the commit hash (Bug#14459). Also set the
9108 `vc-git-detached' property.
9109 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9110 (vc-git-mode-line-string): Use the same help-echo format whether
9111 in detached mode or not, because we know the actual revision now.
9112 When in detached mode, shorten the revision to 7 chars.
9113
9114 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * emacs-lisp/easy-mmode.el (define-minor-mode):
9117 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9118 mode hook and provide a docstring.
9119
9120 2013-05-27 Alan Mackenzie <acm@muc.de>
9121
9122 Remove spurious syntax-table text properties inserted by C-y.
9123 * progmodes/cc-mode.el (c-after-change): Also clear hard
9124 syntax-table property with value nil.
9125
9126 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9127
9128 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9129 when reading the events; the buffer layout shall not be changed.
9130
9131 2013-05-27 Leo Liu <sdl.web@gmail.com>
9132
9133 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9134 New variable.
9135 (inferior-octave-directory-tracker): Automatically re-sync
9136 default-directory.
9137 (octave-help): Improve handling of 'See also'.
9138
9139 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * doc-view.el: Minor naming convention tweaks.
9142 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9143
9144 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9145 even if there's no `display' property yet (bug#14435).
9146
9147 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9148
9149 * subr.el (unmsys--file-name): Rename from reveal-filename.
9150
9151 * Makefile.in (custom-deps, finder-data, autoloads)
9152 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9153 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9154 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9155
9156 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9157
9158 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9159 error-completion on the first 2 args of condition-case (bug#14446).
9160 Don't burp at EOB.
9161
9162 2013-05-25 Leo Liu <sdl.web@gmail.com>
9163
9164 * comint.el (comint-previous-matching-input): Do not flood the
9165 *Messages* buffer with trivial messages.
9166
9167 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * progmodes/flymake.el (flymake-nop): Don't return a string.
9170 (flymake-set-at): Fix typo.
9171
9172 * simple.el (read--expression): New function, extracted from
9173 eval-expression. Set completion-at-point-functions (bug#14465).
9174 (eval-expression, eval-minibuffer): Use it.
9175
9176 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9177
9178 * progmodes/flymake.el (flymake-save-buffer-in-file)
9179 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9180 (flymake-selected-frame, flymake-log, flymake-ins-after)
9181 (flymake-set-at, flymake-get-buildfile-from-cache)
9182 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9183 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9184 Refine the doc string.
9185 (flymake-get-file-name-mode-and-masks): Reformat.
9186 (flymake-get-real-file-name-function): Fix a minor bug.
9187
9188 2013-05-24 Juri Linkov <juri@jurta.org>
9189
9190 * progmodes/grep.el (grep-mode-font-lock-keywords):
9191 Support =linenumber= format used by git-grep for lines with
9192 function names. (Bug#13549)
9193
9194 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9197 0 after a semi-colon; it works better for smie-auto-fill.
9198 (octave--indent-new-comment-line): New function.
9199 (octave-indent-new-comment-line): Use it (indirectly).
9200 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9201 modify comment-line-break-function.
9202
9203 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9204 (smie-setup): Use add-function to set it.
9205
9206 2013-05-24 Sam Steingold <sds@gnu.org>
9207
9208 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9209 argument (before the `interactive' argument).
9210
9211 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * image-mode.el (image-mode-winprops): Add winprops to
9214 image-mode-winprops-alist before running
9215 image-mode-new-window-functions.
9216 * doc-view.el (doc-view-new-window-function): Don't delay
9217 doc-view-goto-page via timers (bug#14435).
9218
9219 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9220
9221 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9222 (doc-view-desktop-save-buffer): New function.
9223 (doc-view-restore-desktop-buffer): New function.
9224 (desktop-buffer-mode-handlers):
9225 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9226 handler.
9227 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9228 `desktop-save-buffer' function.
9229
9230 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9231
9232 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9233 (tramp-gvfs-file-name-handler): Raise a user error when
9234 `tramp-gvfs-enabled' is nil.
9235 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9236 Do not raise a user error when loading package. (Bug#14447)
9237
9238 * net/xesam.el: Move to obsolete/.
9239
9240 2013-05-24 Glenn Morris <rgm@gnu.org>
9241
9242 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9243
9244 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9245
9246 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9247 (Info-find-node, Man-getpage-in-background): Declare.
9248
9249 * mail/unrmail.el (unrmail):
9250 Replace obsolete detect-coding-with-priority.
9251
9252 * net/socks.el (socks-split-string): Use this rather than split-string.
9253 (socks-nslookup-host): Update for above change.
9254 (dynamic-choice, s5-dynamic-choice-match)
9255 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9256 Comment out unused code.
9257
9258 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9259 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9260 (gud-tooltip-echo-area): Make obsolete.
9261 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9262
9263 * progmodes/js.el (js--optimize-arglist): Declare.
9264
9265 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9266
9267 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9268 (ediff-window-C): Declare.
9269
9270 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9271 Tweak requires to silence compiler.
9272
9273 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9274 (he-search-string, he-tried-table, he-expand-list)
9275 (he-init-string, he-string-member, he-substitute-string)
9276 (he-reset-string): Declare.
9277
9278 * obsolete/options.el (list-options): Use custom-variable-p,
9279 rather than obsolete alias.
9280
9281 2013-05-23 Sam Steingold <sds@gnu.org>
9282
9283 * simple.el (shell-command-on-region): Pass the `replace' argument
9284 down to `call-process-region' to comply with the doc as reported on
9285 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9286
9287 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9288
9289 * emacs-lisp/smie.el (smie-indent-forward-token)
9290 (smie-indent-backward-token): Handle string tokens (bug#14381).
9291
9292 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9293
9294 * ielm.el (ielm-menu): New menu.
9295 (inferior-emacs-lisp-mode): Set comment-start.
9296
9297 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9298
9299 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9300 Fix deactivate action.
9301
9302 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9303 Add cleveref macros.
9304
9305 * lisp/textmodes/reftex-parse.el
9306 (reftex-locate-bibliography-files): Accept options for
9307 bibliography commands.
9308 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9309 Add addbibresource. Basic Biblatex support.
9310
9311 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9312
9313 * net/tramp-gvfs.el (top):
9314 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9315 when loading package. (Bug#14447)
9316
9317 2013-05-23 Glenn Morris <rgm@gnu.org>
9318
9319 * progmodes/js.el: No need to load comint when compiling.
9320 (ring-insert, comint-send-string, comint-send-input)
9321 (comint-last-input-end, ido-chop): Declare.
9322
9323 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9324 * vc/ediff-mult.el: Adjust requires.
9325 (ediff-directories-internal, ediff-directory-revisions-internal)
9326 (ediff-patch-file-internal): Declare.
9327 * vc/ediff-ptch.el: Adjust requires.
9328 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9329 (ediff-find-file): Autoload.
9330 * vc/ediff-util.el: No need to load ediff when compiling.
9331 (ediff-regions-internal): Declare.
9332 * vc/ediff-wind.el: Adjust requires.
9333 (ediff-compute-toolbar-width): Define when compiling.
9334 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9335 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9336 (dired-get-filename, dired-get-marked-files)
9337 (ediff-last-dir-patch, ediff-patch-default-directory)
9338 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9339 (ediff-patch-buffer-internal): Declare.
9340
9341 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9342 (ispell-process, ispell-buffer-local-words, lm-summary)
9343 (lm-section-start, lm-section-end): Declare.
9344 (checkdoc-ispell-init): Simplify.
9345
9346 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9347 (he-string-member, he-reset-string, he-substitute-string): Declare.
9348
9349 * eshell/em-ls.el: Adjust requires.
9350 (eshell-glob-regexp): Declare.
9351 * eshell/em-tramp.el: Adjust requires.
9352 (eshell-parse-command): Autoload.
9353 * eshell/em-xtra.el: Adjust requires.
9354 (eshell-parse-command): Autoload.
9355 * eshell/esh-ext.el: Adjust requires.
9356 (eshell-parse-command, eshell-close-handles): Autoload.
9357 * eshell/esh-io.el: Adjust requires.
9358 (eshell-output-filter): Autoload.
9359 * eshell/esh-util.el: No need to load tramp when compiling.
9360 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9361 Declare.
9362 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9363 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9364 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9365 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9366 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9367 * eshell/esh-opt.el, eshell/esh-proc.el:
9368 * eshell/esh-var.el: Adjust requires.
9369 * eshell/eshell.el: Do not require esh-util twice.
9370 (eshell-add-input-to-history): Declare.
9371 (eshell-command): Check history module is active before using it.
9372
9373 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9374
9375 2013-05-22 Leo Liu <sdl.web@gmail.com>
9376
9377 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9378
9379 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9380
9381 * autorevert.el (auto-revert-notify-add-watch)
9382 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9383 it indicates changes in file modification time.
9384
9385 2013-05-22 Glenn Morris <rgm@gnu.org>
9386
9387 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9388 Always delete the autoloaded function from the noruntime and
9389 unresolved functions lists.
9390
9391 * allout.el: No need to load epa, epg, overlay when compiling.
9392 (epg-context-set-passphrase-callback, epg-list-keys)
9393 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9394 (epg-key-user-id-list): Declare.
9395
9396 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9397 (viper-set-parsing-style-toggling-macro)
9398 (viper-set-emacs-state-searchstyle-macros):
9399 Use called-interactively-p on Emacs.
9400 (viper-looking-back): Make it an obsolete alias. Update callers.
9401 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9402 Use looking-back rather than viper-looking-back.
9403 (viper-tmp-insert-at-eob, viper-enlarge-region)
9404 (viper-read-string-with-history, viper-register-to-point)
9405 (viper-append-to-register, viper-change-state-to-vi)
9406 (viper-backward-char-carefully, viper-forward-char-carefully)
9407 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9408 (viper-change-state-to-emacs): Declare.
9409 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9410 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9411 * emulation/viper-mous.el: Do not load viper-cmd.
9412 (viper-backward-char-carefully, viper-forward-char-carefully)
9413 (viper-forward-word, viper-adjust-window): Declare.
9414
9415 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9416
9417 * progmodes/idlw-help.el (idlwave-help-fontify):
9418 Use called-interactively-p.
9419
9420 * term/w32console.el (w32-get-console-codepage)
9421 (w32-get-console-output-codepage): Declare.
9422
9423 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9424 Remove unnecessary declarations.
9425 (dframe-message): Doc fix.
9426
9427 * info.el (dframe-select-attached-frame, dframe-current-frame):
9428 Declare.
9429
9430 * speedbar.el (speedbar-message): Make it an obsolete alias.
9431 Update all callers.
9432 (speedbar-with-attached-buffer)
9433 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9434 (speedbar-with-writable): Use backquote.
9435 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9436 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9437 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9438 rather than speedbar- aliases.
9439 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9440 (speedbar-make-specialized-keymap, speedbar-insert-button)
9441 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9442 (speedbar-do-function-pointer): Declare.
9443 (rmail-speedbar-button, rmail-speedbar-find-file)
9444 (rmail-speedbar-move-message):
9445 Use dframe-with-attached-buffer rather than speedbar- alias.
9446 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9447 (dframe-message, speedbar-make-specialized-keymap)
9448 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9449 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9450 (speedbar-insert-button, dframe-select-attached-frame)
9451 (dframe-maybee-jump-to-attached-frame)
9452 (speedbar-change-initial-expansion-list)
9453 (speedbar-previously-used-expansion-list-name): Declare.
9454 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9455 Use dframe-message, dframe-with-attached-buffer rather than
9456 speedbar- aliases.
9457 (gud-sentinel): Silence compiler.
9458 * progmodes/vhdl-mode.el (speedbar-refresh)
9459 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9460 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9461 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9462 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9463 (speedbar-file-lists, speedbar-make-tag-line)
9464 (speedbar-line-directory, speedbar-goto-this-file)
9465 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9466 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9467 (speedbar-make-button, speedbar-reset-scanners)
9468 (speedbar-files-item-info, speedbar-line-text)
9469 (speedbar-find-file-in-frame, speedbar-set-timer)
9470 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9471 (speedbar-with-writable): Do not (re)define it.
9472 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9473 rather than speedbar- alias.
9474
9475 2013-05-21 Leo Liu <sdl.web@gmail.com>
9476
9477 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9478 menu items.
9479 (octave-mode): Tweak fill-nobreak-predicate.
9480 (inferior-octave-startup): Check process to avoid infinite loop.
9481 (inferior-octave): Pop to buffer first to show abornmal process
9482 exit information.
9483
9484 2013-05-21 Glenn Morris <rgm@gnu.org>
9485
9486 * printing.el (pr-menu-bar): Define when compiling.
9487
9488 2013-05-21 Leo Liu <sdl.web@gmail.com>
9489
9490 * progmodes/octave.el (octave-auto-fill): Remove.
9491 (octave-indent-new-comment-line): Improve.
9492 (octave-mode): Use auto fill mode through
9493 comment-line-break-function and fill-nobreak-predicate.
9494 (octave-goto-function-definition): Support DEFUN_DLD.
9495 (octave-beginning-of-defun): Small tweak.
9496 (octave-help): Show parent directory.
9497
9498 2013-05-21 Glenn Morris <rgm@gnu.org>
9499
9500 * files.el (dired-unmark):
9501 * progmodes/gud.el (gdb-input): Update declarations.
9502
9503 * calculator.el (electric, ehelp): No need to load when compiling.
9504 (Electric-command-loop, electric-describe-mode): Declare.
9505
9506 * doc-view.el (doc-view-current-converter-processes): Move before use.
9507
9508 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9509 Move MODE-set-explicitly definition before use.
9510
9511 * international/mule-diag.el (mule-diag):
9512 Don't use obsolete window-system-version.
9513
9514 * mail/feedmail.el (smtpmail): No need to load when compiling.
9515 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9516
9517 * mail/mail-utils.el (rfc822): No need to load when compiling.
9518 (rfc822-addresses): Autoload it.
9519 (mail-strip-quoted-names): Trivial simplification.
9520
9521 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9522 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9523
9524 * net/snmp-mode.el (tempo): Don't duplicate requires.
9525
9526 * progmodes/prolog.el (info): No need to load when compiling.
9527 (comint): Require before shell requires it.
9528 (Info-goto-node): Autoload it.
9529 (Info-follow-nearest-node): Declare.
9530 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9531
9532 * textmodes/artist.el (picture-mode-exit): Declare.
9533
9534 * textmodes/reftex-parse.el (reftex-parse-from-file):
9535 Trivial rewrite so the compiler can parse it better.
9536
9537 2013-05-20 Leo Liu <sdl.web@gmail.com>
9538
9539 * progmodes/octave.el (octave-help-mode-map)
9540 (octave-help-mode-finish-hook): New variables.
9541 (octave-help-mode, octave-help-mode-finish): New functions.
9542 (octave-help): Use octave-help-mode.
9543
9544 2013-05-20 Glenn Morris <rgm@gnu.org>
9545
9546 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9547
9548 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9549
9550 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9551 start at point, so that expansion starting right after opening
9552 slash in a regexp is recognized.
9553 (ruby-syntax-before-regexp-re): New defvar, extracted from
9554 ruby-syntax-propertize-function. Since the value of this regexp
9555 is looked up at runtime now, we should be able to turn
9556 `ruby-syntax-methods-before-regexp' into a defcustom later.
9557 (ruby-syntax-propertize-function): Split regexp matching into two
9558 parts, for opening and closing slashes. That allows us to skip
9559 over string interpolations and support multiline regexps.
9560 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9561 for them, which calls `ruby-syntax-propertize-expansion'.
9562 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9563 call to `ruby-syntax-propertize-function'.
9564 (ruby-syntax-propertize-expansion): Extracted from
9565 `ruby-syntax-propertize-expansions'. Handles one expansion.
9566 (ruby-syntax-propertize-percent-literal): Leave point right after
9567 the percent symbol, so that the expression expansion rule can
9568 propertize the contents.
9569 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9570 heredoc openers.
9571 (ruby-syntax-propertize-expansions): Remove.
9572
9573 2013-05-18 Juri Linkov <juri@jurta.org>
9574
9575 * man.el (Man-default-man-entry): Remove `-' from the end
9576 of the default value. (Bug#14400)
9577
9578 2013-05-18 Glenn Morris <rgm@gnu.org>
9579
9580 * comint.el (comint-password-prompt-regexp):
9581 Allow "password for XXX" where XXX contains colons (eg https://...).
9582
9583 2013-05-18 Leo Liu <sdl.web@gmail.com>
9584
9585 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9586 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9587 (octave-source-directories): Don't check process.
9588 (octave-source-directories, octave-find-definition): Doc fix.
9589
9590 2013-05-18 Glenn Morris <rgm@gnu.org>
9591
9592 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9593 Remove backspace/delete bindings. (Bug#14392)
9594
9595 * cus-dep.el (custom-make-dependencies): Sort the output.
9596 (custom-versions-load-alist): Convert comment to doc.
9597
9598 2013-05-17 Leo Liu <sdl.web@gmail.com>
9599
9600 * newcomment.el (comment-search-backward): Stricter in finding
9601 comment start. (Bug#14303)
9602
9603 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9604 (octave-comment-start-skip): Properly anchored.
9605
9606 2013-05-17 Leo Liu <sdl.web@gmail.com>
9607
9608 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9609 Clean up when turned off. (Bug#14395)
9610 (smie--highlight-matching-block-overlay): No longer buffer-local.
9611 (smie-highlight-matching-block): Adjust.
9612
9613 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9614
9615 Doc string fix for "nanoseconds" (Bug#14406).
9616 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9617 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9618
9619 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9620
9621 * calc/calc-units.el (math-extract-units): Preserve powers
9622 of units.
9623
9624 2013-05-17 Leo Liu <sdl.web@gmail.com>
9625
9626 * subr.el (delete-consecutive-dups): New function.
9627 * ido.el (ido-set-matches-1): Use it.
9628 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9629 * ido.el (ido-remove-consecutive-dups): Remove.
9630
9631 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9634 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9635 regexp-opt's `words'.
9636
9637 2013-05-16 Leo Liu <sdl.web@gmail.com>
9638
9639 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9640 (smie--highlight-matching-block-overlay)
9641 (smie--highlight-matching-block-lastpos)
9642 (smie--highlight-matching-block-timer): New variables.
9643 (smie-highlight-matching-block): New function.
9644 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9645 (smie-setup): Conditionally enable smie-blink-matching-open.
9646
9647 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9648
9649 Sync with upstream verilog-mode r840.
9650 * progmodes/verilog-mode.el (verilog-mode-version)
9651 (verilog-mode-release-date): Update.
9652 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9653 (verilog-sig-tieoff): Fix string error on
9654 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9655 (verilog-read-decls): Fix parameters confusing
9656 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9657
9658 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9659
9660 * subr.el (reveal-filename): New function.
9661
9662 * loadup.el: Compute Emacs executable versions on MS-Windows,
9663 where executables have the .exe extension. Add a hard link
9664 emacs-XX.YY.ZZ.exe on MS-Windows.
9665
9666 * Makefile.in (XARGS_LIMIT): New variable.
9667 (custom-deps, finder-data, autoloads)
9668 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9669 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9670 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9671 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9672
9673 2013-05-16 Leo Liu <sdl.web@gmail.com>
9674
9675 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9676 (octave-mode-menu, octave-mode-map): Remove its uses.
9677
9678 2013-05-16 Reto Zimmermann <reto@gnu.org>
9679
9680 Sync with upstream vhdl mode v3.34.2.
9681 * progmodes/vhdl-mode.el: Use `push' throughout.
9682 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9683 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9684 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9685 (vhdl-actual-generic-name): New option to derive actual generic name.
9686 (vhdl-port-paste-signals): Replace formal by actual generics.
9687 (vhdl-beautify): New name for old group vhdl-align. Update users.
9688 (vhdl-beautify-options): New option.
9689 (vhdl-last-input-event): New compat alias. Use throughout.
9690 (vhdl-goto-line): Replace user level function `goto-line'.
9691 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9692 vhdl-fix-statement-buffer.
9693 (vhdl-create-mode-menu): Add some entries.
9694 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9695 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9696 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9697 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9698 to force statements on one line.
9699 (vhdl-remove-trailing-spaces-region):
9700 New, split from vhdl-remove-trailing-spaces.
9701 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9702 Respect vhdl-beautify-options.
9703 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9704 (vhdl-update-sensitivity-list): Not add with index if exists without.
9705 Not include array index with signal. Ignore keywords in comments.
9706 (vhdl-get-visible-signals): Regexp tweaks.
9707 (vhdl-template-component-inst): Handle empty library.
9708 (vhdl-template-type): Add template for 'enum' type.
9709 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9710 Use vhdl-replace-string.
9711 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9712 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9713 (vhdl-speedbar-initialize): Update for above name change.
9714 (vhdl-compose-wire-components): Fix in handling of constants.
9715 (vhdl-error-regexp-emacs-alist): New variable.
9716 (vhdl-error-regexp-add-emacs): New function;
9717 adds support for new compile.el (Emacs 22+)
9718 (vhdl-generate-makefile-1): Change target order for single lib. units.
9719 Allow use of absolute file names.
9720
9721 2013-05-16 Leo Liu <sdl.web@gmail.com>
9722
9723 * simple.el (prog-indent-sexp): Indent enclosing defun.
9724
9725 2013-05-15 Glenn Morris <rgm@gnu.org>
9726
9727 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9728 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9729 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9730 (whitespace-highlight): Move to whitespace group.
9731
9732 * comint.el (comint-source):
9733 * pcmpl-linux.el (pcmpl-linux):
9734 * shell.el (shell-faces):
9735 * eshell/esh-opt.el (eshell-opt):
9736 * international/ccl.el (ccl): Remove empty custom groups.
9737
9738 * completion.el (dynamic-completion-mode):
9739 * jit-lock.el (jit-lock-debug-mode):
9740 * minibuffer.el (completion-in-region-mode):
9741 * type-break.el (type-break-mode-line-message-mode)
9742 (type-break-query-mode):
9743 * emulation/tpu-edt.el (tpu-edt-mode):
9744 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9745 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9746 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9747
9748 * term/xterm.el (xterm): Change parent group to terminals.
9749
9750 * master.el (master): Remove empty custom group.
9751 (master-mode): Remove unused :group argument.
9752 * textmodes/refill.el (refill): Remove empty custom group.
9753 (refill-mode): Remove unused :group argument.
9754
9755 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9756
9757 * cus-dep.el: Provide a feature.
9758 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9759 Don't mistakenly ignore files whose basenames match a basename
9760 from preloaded-file-list (eg cedet/ede/simple.el).
9761 Add a fallback method for getting :group.
9762
9763 2013-05-15 Juri Linkov <juri@jurta.org>
9764
9765 * isearch.el (isearch-char-by-name): Rename from
9766 `isearch-insert-char-by-name'. Doc fix.
9767 (isearch-forward): Mention `isearch-char-by-name' in
9768 the docstring. (Bug#13348)
9769
9770 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9771 `exit-minibuffer' instead of
9772 `isearch-nonincremental-exit-minibuffer'.
9773 (isearch-edit-string): Remove mention of
9774 `isearch-nonincremental-exit-minibuffer' from docstring.
9775 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9776 (isearch-forward-exit-minibuffer)
9777 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9778
9779 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * loadup.el: Just use unversioned DOC.
9782
9783 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9784 literals as extending to EOB.
9785 (nxml-last-fontify-end): Remove unused variable.
9786 (nxml-after-change1): Use with-silent-modifications.
9787 (nxml-extend-after-change-region): Simplify.
9788 (nxml-extend-after-change-region1): Remove function.
9789 (nxml-after-change1): Don't adjust for dependent regions.
9790 (nxml-fontify-matcher): Simplify.
9791 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9792 (xmltok-add-dependent): Remove function.
9793 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9794 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9795 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9796 unclosed <[[, <?, comment, and other literals as extending to EOB.
9797 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9798 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9799 Remove functions.
9800 (rng-do-some-validation-1): Don't mark dependent regions.
9801 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9802 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9803 (nxml-clear-dependent-regions): Remove functions.
9804 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9805 (nxml-ensure-scan-up-to-date):
9806 Don't clear&mark dependent regions.
9807
9808 2013-05-15 Leo Liu <sdl.web@gmail.com>
9809
9810 * progmodes/octave.el (octave-goto-function-definition):
9811 Improve and fix callers.
9812
9813 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9816 the setter (bug#14387).
9817
9818 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9819 surrounding group (bug#14402).
9820
9821 2013-05-14 Juri Linkov <juri@jurta.org>
9822
9823 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9824 (Bug#14390)
9825
9826 2013-05-14 Glenn Morris <rgm@gnu.org>
9827
9828 * progmodes/f90.el (f90-imenu-generic-expression):
9829 Fix typo in 2013-05-08 change. (Bug#14402)
9830
9831 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9832
9833 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9834 Remove signals for which replies are never received.
9835
9836 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9837
9838 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9839 (gdb-handler-alist, gdb-handler-number): Remove variables.
9840 (gdb-handler-list): New variable.
9841 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9842 (gdb-pending-handler-p, gdb-handle-reply)
9843 (gdb-remove-all-pending-triggers): New functions.
9844 (gdb-discard-unordered-replies): New defcustom.
9845 (gdb-handler): New defstruct.
9846 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9847 instead of gdb-pending-triggers. Update docstring.
9848 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9849 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9850 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9851 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9852 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9853 (gdb-frame-handler): Pending triggers are now automatically managed.
9854 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9855 Remove argument.
9856 (gdb-input): Automatically handles pending triggers. Update docstring.
9857 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9858 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9859 Update comments.
9860 (gdb-done-or-error): Now use gdb-handle-reply.
9861
9862 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9863
9864 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9865 gdb-debug-log.
9866
9867 2013-05-14 Glenn Morris <rgm@gnu.org>
9868
9869 * subr.el (user-emacs-directory-warning): New option.
9870 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9871
9872 2013-05-14 Leo Liu <sdl.web@gmail.com>
9873
9874 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9875 during redisplay.
9876 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9877 (octave-font-lock-texinfo-comment): Fix invalid search bound
9878 error: wrong side of point.
9879
9880 2013-05-14 Glenn Morris <rgm@gnu.org>
9881
9882 * progmodes/flymake.el (flymake-xml-program): New option.
9883 (flymake-xml-init): Use it.
9884
9885 * term/xterm.el: Provide a feature.
9886
9887 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9888
9889 2013-05-13 Glenn Morris <rgm@gnu.org>
9890
9891 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9892 Add compat aliases as a hack workaround. (Bug#14384)
9893
9894 2013-05-13 Leo Liu <sdl.web@gmail.com>
9895
9896 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9897 ###, and %!.
9898 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9899 C-M-q.
9900 (octave-comment-start-skip): Include %!.
9901 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9902
9903 2013-05-12 Leo Liu <sdl.web@gmail.com>
9904
9905 * progmodes/octave.el (inferior-octave-startup): Store the value
9906 of __octave_srcdir__ for octave-source-directories.
9907 (inferior-octave-check-process): New function refactored out of
9908 inferior-octave-send-list-and-digest.
9909 (octave-source-directories)
9910 (octave-find-definition-filename-function): New variables.
9911 (octave-source-directories)
9912 (octave-find-definition-default-filename): New functions.
9913 (octave-find-definition): Improve to find functions implemented in C++.
9914
9915 2013-05-12 Glenn Morris <rgm@gnu.org>
9916
9917 * calendar/diary-lib.el (diary-outlook-format-1):
9918 Don't include dayname in the output. (Bug#14349)
9919
9920 2013-05-11 Glenn Morris <rgm@gnu.org>
9921
9922 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9923
9924 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9925 Treat cc-provide like provide.
9926
9927 2013-05-11 Kevin Ryde <user42@zip.com.au>
9928
9929 * cus-dep.el (custom-make-dependencies):
9930 Use generated-autoload-load-name for the sake of files such
9931 such cedet/semantic/bovine/c.el, where the base file name
9932 is not in load-path. (Bug#5277)
9933
9934 2013-05-11 Glenn Morris <rgm@gnu.org>
9935
9936 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9937 Provide features.
9938
9939 2013-05-11 Leo Liu <sdl.web@gmail.com>
9940
9941 * progmodes/octave.el (octave-indent-comment): Improve.
9942 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9943 (octave-eldoc-function-signatures, octave-eldoc-function):
9944 New functions.
9945 (octave-mode, inferior-octave-mode): Add eldoc support.
9946
9947 2013-05-11 Richard Stallman <rms@gnu.org>
9948
9949 * epa.el (epa-decrypt-file): Take output file name as argument
9950 and read it using `interactive'.
9951
9952 2013-05-11 Leo Liu <sdl.web@gmail.com>
9953
9954 * progmodes/octave.el (octave-beginning-of-line)
9955 (octave-end-of-line): Check before using up-list because it jumps
9956 out of more syntactic contructs since moving to smie.
9957 (octave-indent-comment): New function.
9958 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9959 (octave-begin-keywords, octave-end-keywords)
9960 (octave-reserved-words, octave-smie-bnf-table)
9961 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9962
9963 2013-05-11 Glenn Morris <rgm@gnu.org>
9964
9965 * faces.el (internal-face-x-get-resource):
9966 * frame.el (ns-display-monitor-attributes-list):
9967 * calc/calc-aent.el (math-to-radians-2):
9968 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9969 Fix declarations.
9970
9971 * calc/calc-menu.el: Make it loadable in isolation.
9972
9973 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9974 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9975 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9976 (eudc-bbdb-query-internal): Require 'bbdb.
9977
9978 * lpr.el (lpr-headers-switches):
9979 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9980
9981 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9982
9983 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9984
9985 * term.el (term-set-escape-char): Make it idempotent.
9986
9987 2013-05-10 Leo Liu <sdl.web@gmail.com>
9988
9989 * progmodes/octave.el (inferior-octave-completion-table):
9990 No longer a function and all uses changed. Use cache to speed up
9991 completion due to bug#11906.
9992 (octave-beginning-of-defun): Re-write to be more general.
9993
9994 2013-05-10 Glenn Morris <rgm@gnu.org>
9995
9996 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9997
9998 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * comint.el (comint-redirect-send-command-to-process): Use :around
10001 rather than :override for comint-redirect-filter.
10002 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10003 Call it instead of comint-redirect-original-filter-function (which
10004 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10005
10006 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10007
10008 * frame.el (display-monitor-attributes-list): Add NS case.
10009 (ns-display-monitor-attributes-list): Declare.
10010
10011 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10012
10013 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10014
10015 2013-05-09 Glenn Morris <rgm@gnu.org>
10016
10017 * international/fontset.el (vertical-centering-font-regexp):
10018 Set standard-value.
10019
10020 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10021
10022 * bookmark.el (bookmark-search-delay):
10023 * cus-start.el (vertical-centering-font-regexp):
10024 * ps-mule.el (ps-mule-font-info-database-default):
10025 * ps-print.el (ps-default-fg, ps-default-bg):
10026 * type-break.el (type-break-good-break-interval):
10027 * whitespace.el (whitespace-indentation-regexp)
10028 (whitespace-space-after-tab-regexp):
10029 * emacs-lisp/testcover.el (testcover-1value-functions)
10030 (testcover-noreturn-functions, testcover-progn-functions)
10031 (testcover-prog1-functions):
10032 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10033 * eshell/em-glob.el (eshell-glob-translate-alist):
10034 * play/tetris.el (tetris-tty-colors):
10035 * progmodes/cpp.el (cpp-face-default-list):
10036 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10037 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10038 (idlwave-help-browser-generic-args):
10039 * progmodes/make-mode.el (makefile-special-targets-list):
10040 * progmodes/python.el (python-shell-virtualenv-path):
10041 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10042 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10043 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10044 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10045 * textmodes/reftex-vars.el (reftex-format-label-function):
10046 * textmodes/remember.el (remember-diary-file): Fix custom types.
10047
10048 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10049 Add :version.
10050
10051 2013-05-09 Leo Liu <sdl.web@gmail.com>
10052
10053 * progmodes/octave.el (inferior-octave-completion-at-point):
10054 Restore file completion. (Bug#14300)
10055 (inferior-octave-startup): Fix incorrect highlighting for the
10056 first prompt.
10057
10058 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10059
10060 * progmodes/ruby-mode.el: First cut at SMIE support.
10061 (ruby-use-smie): New var.
10062 (ruby-smie-grammar): New constant.
10063 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10064 (ruby-smie--forward-token, ruby-smie--backward-token)
10065 (ruby-smie-rules): New functions.
10066 (ruby-mode-variables): Setup SMIE if applicable.
10067
10068 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10069
10070 * simple.el (line-move-visual): Signal beginning/end of buffer
10071 only if vertical-motion moved less than it was requested. Avoids
10072 silly incorrect error messages when there are display strings with
10073 multiple newlines at EOL.
10074
10075 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10078 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10079 (prolog-char-quote-workaround):
10080 * progmodes/cperl-mode.el (cperl-under-as-char):
10081 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10082 Mark as obsolete.
10083 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10084 their declaration.
10085 (vhdl-mode-syntax-table-init): Remove.
10086
10087 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10088 last change.
10089
10090 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10091 syntax for "_".
10092 (ld-script-font-lock-keywords):
10093 Change regexps to use things like \_< and \_>.
10094
10095 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10096 Change all regexps to use things like \_< and \_>.
10097
10098 * progmodes/autoconf.el (autoconf-definition-regexp)
10099 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10100 Handle a _ with symbol syntax.
10101 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10102
10103 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10104 Consolidate declaration.
10105 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10106 the declaration.
10107 (ada-create-syntax-table): Remove.
10108 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10109 already has the right syntax nowadays.
10110 (ada-goto-next-word): Don't change the syntax of "_".
10111
10112 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10113 with-wrapper-hook.
10114
10115 2013-05-08 Sam Steingold <sds@gnu.org>
10116
10117 * thingatpt.el (thing-at-point): Accept optional second argument
10118 NO-PROPERTIES to strip the text properties from the return value.
10119 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10120 to `thing-at-point' instead of stripping the properties ourselves.
10121 Also, when `thing-at-point' fails to find a url, prepend "http://"
10122 to the filename at point on the assumption that the user is
10123 pointing at something like gnu.org/gnu.
10124
10125 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10126
10127 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10128 * faces.el (crm-separator):
10129 Silence byte-compiler.
10130
10131 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10132 (tool-bar-map): Remove unneeded defvars.
10133
10134 2013-05-08 Leo Liu <sdl.web@gmail.com>
10135
10136 Re-work a fix for bug#10994 based on Le Wang's patch.
10137 * ido.el (ido-remove-consecutive-dups): New helper.
10138 (ido-completing-read): Use it.
10139 (ido-chop): Revert fix for bug#10994.
10140
10141 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10142
10143 * cus-edit.el (custom-save-variables):
10144 Pretty-print long values. (Bug#14187)
10145
10146 2013-05-08 Glenn Morris <rgm@gnu.org>
10147
10148 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10149 (m4-mode-syntax-table): Init in the defvar.
10150 (m4-mode-abbrev-table): Let define-derived-mode define it.
10151
10152 2013-05-08 Tom Tromey <tromey@redhat.com>
10153
10154 * progmodes/m4-mode.el (m4-mode-syntax-table):
10155 Do not treat "_" as word constituent. (Bug#14167)
10156
10157 2013-05-07 Glenn Morris <rgm@gnu.org>
10158
10159 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10160 Remove explicit eshell-isearch-cancel-map.
10161
10162 * progmodes/f90.el (f90-smart-end-names): New option.
10163 (f90-smart-end): Doc fix.
10164 (f90-end-block-optional-name): New constant.
10165 (f90-block-match): Respect f90-smart-end-names.
10166
10167 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10168
10169 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10170 about implicit semi-colons (bug#14218).
10171
10172 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10173
10174 * frame.el (display-monitor-attributes-list)
10175 (frame-monitor-attributes): New functions.
10176
10177 2013-05-06 Leo Liu <sdl.web@gmail.com>
10178
10179 * progmodes/octave.el (octave-syntax-propertize-function): Change
10180 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10181 (octave-font-lock-keywords): Use octave-operator-regexp.
10182 (octave-completion-at-point): Rename from
10183 octave-completion-at-point-function.
10184 (inferior-octave-directory-tracker): Robustify.
10185 (octave-text-functions): Remove and fix its uses. No such things
10186 any more.
10187
10188 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10189
10190 * emacs-lisp/trace.el (trace--display-buffer): New function.
10191 (trace-make-advice): Use it.
10192
10193 2013-05-06 Juri Linkov <juri@jurta.org>
10194
10195 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10196 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10197 Doc fix.
10198 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10199 in the help string. (Bug#12985)
10200
10201 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10202
10203 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10204
10205 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * progmodes/perl-mode.el: Add support for here documents.
10208 (perl-syntax-propertize-function): Match here-doc markers.
10209 (perl-syntax-propertize-special-constructs): Find their end.
10210 (perl-imenu-generic-expression): Use [:alnum:].
10211
10212 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10213 (advice--add-function): Refresh the advice if already present
10214 (bug#14317).
10215
10216 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10217
10218 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10219
10220 2013-05-06 Glenn Morris <rgm@gnu.org>
10221
10222 * w32-fns.el (w32-charset-info-alist): Declare.
10223
10224 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10225 of its defcustom properties.
10226 (eshell-cmpl-initialize): No need to load pcomplete.
10227
10228 * generic-x.el: No need to require comint when compiling.
10229
10230 * net/eudc-export.el: Make it loadable without bbdb.
10231 (top-level): Use require rather than load-library.
10232 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10233 (eudc-batch-export-records-to-bbdb)
10234 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10235 Require bbdb.
10236
10237 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10238
10239 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10240 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10241 some tweaks, instead.
10242
10243 2013-05-05 Leo Liu <sdl.web@gmail.com>
10244
10245 * progmodes/octave.el (octave-font-lock-keywords)
10246 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10247 (inferior-octave-send-list-and-digest): Improve error message.
10248 (octave-mode, inferior-octave-mode): Use setq-local.
10249 (octave-help): Set info-lookup-mode.
10250
10251 2013-05-05 Richard Stallman <rms@gnu.org>
10252
10253 * vc/compare-w.el (compare-windows-whitespace):
10254 Treat no-break space as whitespace.
10255
10256 * mail/rmailsum.el (rmail-summary-rmail-update):
10257 Detect empty summary and don't change selected message.
10258 (rmail-summary-goto-msg): Likewise.
10259
10260 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10261 Doc fixes, rename args.
10262
10263 2013-05-05 Alan Mackenzie <acm@muc.de>
10264
10265 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10266
10267 2013-05-05 Juri Linkov <juri@jurta.org>
10268
10269 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10270 to not add the length of the summary segment to the return value.
10271 (Bug#14125)
10272
10273 2013-05-05 Leo Liu <sdl.web@gmail.com>
10274
10275 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10276 (inferior-octave-output-filter): Remove.
10277 (octave-send-region, inferior-octave-startup): Fix callers.
10278 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10279 (octave-binary-file-extensions): New user variable.
10280 (octave-find-definition): Confirm if opening binary files.
10281 (octave-help-file): Use octave-find-definition to get the binary
10282 confirmation.
10283 (octave-help): Adjust for octave-help-file change.
10284
10285 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10286
10287 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10288 Merge the two entries that handle function definitions.
10289 (pascal--syntax-propertize): New const.
10290 (pascal-mode): Use it. Use setq-local.
10291
10292 2013-05-04 Glenn Morris <rgm@gnu.org>
10293
10294 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10295 (diary-from-outlook): Respect diary-from-outlook-function.
10296
10297 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10298
10299 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10300 Move the declaration from C.
10301 (read-minibuffer, eval-minibuffer): Move from C.
10302 (completion-setup-function): Avoid minibuffer-completion-contents.
10303
10304 2013-05-03 Leo Liu <sdl.web@gmail.com>
10305
10306 * progmodes/octave.el (octave-font-lock-keywords): Do not
10307 dehighlight 'end' in comments or strings.
10308 (octave-completing-read, octave-goto-function-definition):
10309 New helpers.
10310 (octave-help-buffer): New user variable.
10311 (octave-help-file, octave-help-function): New button types.
10312 (octave-help): New command and bind it to C-h ;.
10313 (octave-find-definition): New command and bind it to M-.
10314 (user-error): Alias to error if not defined.
10315
10316 2013-05-02 Leo Liu <sdl.web@gmail.com>
10317
10318 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10319 for \. (bug#14332)
10320 (octave-font-lock-keywords): Include [ and {.
10321
10322 2013-05-02 Leo Liu <sdl.web@gmail.com>
10323
10324 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10325 (inferior-octave): Remove calling comint-mode and return the buffer.
10326 (inferior-octave-startup): Cosmetic changes.
10327
10328 2013-05-02 Leo Liu <sdl.web@gmail.com>
10329
10330 * progmodes/octave.el (octave-syntax-propertize-function):
10331 Include the case when ' is at line beginning. (Bug#14336)
10332
10333 2013-05-02 Glenn Morris <rgm@gnu.org>
10334
10335 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10336 * desktop.el (vc-dir-mode): Just autoload it here.
10337
10338 2013-05-02 Alan Mackenzie <acm@muc.de>
10339
10340 Eliminate variable c-standard-font-lock-fontify-region-function.
10341 * progmodes/cc-mode.el
10342 (c-standard-font-lock-fontify-region-function): Remove.
10343 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10344
10345 2013-05-01 Leo Liu <sdl.web@gmail.com>
10346
10347 * progmodes/octave.el: Compatible with older emacs-24 releases.
10348 (inferior-octave-has-built-in-variables): Remove. Built-in
10349 variables were removed from Octave in 2007.
10350 (inferior-octave-startup): Fix uses.
10351 (comint-line-beginning-position): Remove compatibility code for
10352 emacs 21.
10353
10354 2013-05-01 Juri Linkov <juri@jurta.org>
10355
10356 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10357
10358 2013-05-01 Juri Linkov <juri@jurta.org>
10359
10360 * comint.el (comint-previous-matching-input): Don't print message
10361 "History item: %d" when `isearch-mode' is active.
10362 (comint-history-isearch-message): Print message "History item: %d"
10363 when `comint-input-ring-index' is not empty and this function is
10364 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10365
10366 2013-05-01 Leo Liu <sdl.web@gmail.com>
10367
10368 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10369 definitions. Use completion-at-point to insert keywords.
10370 (octave-abbrev-start): Remove.
10371 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10372
10373 2013-04-30 Leo Liu <sdl.web@gmail.com>
10374
10375 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10376 change.
10377
10378 2013-04-30 Alan Mackenzie <acm@muc.de>
10379
10380 Handle arbitrarily long C++ member initialisation lists.
10381 * progmodes/cc-engine.el (c-back-over-member-initializers):
10382 new function.
10383 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10384 (most) member init lists.
10385
10386 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10387
10388 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10389 variable.
10390
10391 2013-04-30 Leo Liu <sdl.web@gmail.com>
10392
10393 * progmodes/octave.el (octave-variables): Remove. No builtin
10394 variables any more. All converted to functions.
10395 (octave-font-lock-keywords, octave-completion-at-point-function):
10396 Fix uses.
10397 (octave-font-lock-texinfo-comment): New user variable.
10398 (octave-texinfo-font-lock-keywords): New variable for texinfo
10399 comment block.
10400 (octave-function-comment-block): New face.
10401 (octave-font-lock-texinfo-comment): New function.
10402 (octave-mode): Font lock texinfo comment block.
10403
10404 2013-04-29 Leo Liu <sdl.web@gmail.com>
10405
10406 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10407 indexing expression.
10408 (octave-continuation-string): Do not use \.
10409 (inferior-octave-complete-impossible): Remove.
10410 (inferior-octave-completion-table)
10411 (inferior-octave-completion-at-point): Remove its uses.
10412 (inferior-octave-startup): completion_matches was introduced to
10413 Octave in 1996 so safe to assume it.
10414 (octave-function-file-comment): Improve to follow how Octave does it.
10415 (octave-update-function-file-comment): Tweak.
10416
10417 2013-04-29 Leo Liu <sdl.web@gmail.com>
10418
10419 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10420 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10421 (octave-function-file-comment): Fix typo.
10422 (octave-sync-function-file-names): Use read-char-choice.
10423
10424 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10425
10426 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10427 to t for the less important warnings.
10428
10429 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10430
10431 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10432
10433 2013-04-27 Glenn Morris <rgm@gnu.org>
10434
10435 * vc/log-view.el (log-view-current-entry):
10436 Treat "---" separator lines as part of the following rev. (Bug#14169)
10437
10438 2013-04-27 Juri Linkov <juri@jurta.org>
10439
10440 * subr.el (read-number): Doc fix about using it by interactive
10441 code letter `n'. (Bug#14254)
10442
10443 2013-04-27 Juri Linkov <juri@jurta.org>
10444
10445 * desktop.el (desktop-auto-save-timeout): New option.
10446 (desktop-file-checksum): New variable.
10447 (desktop-save): Add optional arg `auto-save' and don't auto-save
10448 if nothing changed.
10449 (desktop-auto-save-timer): New variable.
10450 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10451 (after-init-hook): Call `desktop-auto-save-set-timer'.
10452 Suggested by Reuben Thomas <rrt@sc3d.org> in
10453 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10454
10455 2013-04-27 Leo Liu <sdl.web@gmail.com>
10456
10457 * progmodes/octave.el (octave-function-file-p)
10458 (octave-skip-comment-forward, octave-function-file-comment)
10459 (octave-update-function-file-comment): New functions.
10460 (octave-mode-map): Bind C-c ; to
10461 octave-update-function-file-comment.
10462 (octave-mode-menu): Add octave-update-function-file-comment.
10463 (octave-mode, inferior-octave-mode): Fix doc-string.
10464 (octave-insert-defun): Conform to Octave's coding convention.
10465 (Bug#14285)
10466
10467 * files.el (basic-save-buffer): Don't let errors in
10468 before-save-hook prevent saving buffer.
10469
10470 2013-04-20 Roland Winkler <winkler@gnu.org>
10471
10472 * faces.el (read-face-name): Use completing-read if arg multiple
10473 is nil.
10474
10475 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10476
10477 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10478 displayed, move point to after the totals line.
10479 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10480 for the details.
10481
10482 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10483
10484 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10485 Add current dir to the load-path.
10486 (package-generate-autoloads): Don't rely on
10487 autoload-ensure-default-file.
10488
10489 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10490
10491 * textmodes/remember.el (remember-store-in-files): Document that
10492 the file name format is passed to `format-time-string'.
10493
10494 2013-04-26 Leo Liu <sdl.web@gmail.com>
10495
10496 * progmodes/octave.el (octave-sync-function-file-names): New function.
10497 (octave-mode): Use it in before-save-hook.
10498
10499 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10502 (bug#14274).
10503
10504 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10505 \n and comment, even if it's not an implicit ; (bug#14218).
10506
10507 2013-04-26 Glenn Morris <rgm@gnu.org>
10508
10509 * subr.el (read-number): Once more use `read' rather than
10510 `string-to-number', to trap non-numeric input. (Bug#14254)
10511
10512 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10513
10514 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10515 Use `syntax-multiline' text property consistently instead of
10516 `font-lock-multiline'. (Bug#14237)
10517
10518 2013-04-26 Glenn Morris <rgm@gnu.org>
10519
10520 * emacs-lisp/shadow.el (list-load-path-shadows):
10521 No longer necessary to check for duplicate simple.el, since
10522 2012-07-07 change to init_lread to not include installation lisp
10523 directories in load-path when running uninstalled. (Bug#14270)
10524
10525 2013-04-26 Leo Liu <sdl.web@gmail.com>
10526
10527 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10528 (octave-mode, inferior-octave-mode): Use setq-local.
10529 (octave-not-in-string-or-comment-p): Rename to
10530 octave-in-string-or-comment-p.
10531 (octave-in-comment-p, octave-in-string-p)
10532 (octave-in-string-or-comment-p): Replace defsubst with defun.
10533
10534 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10535
10536 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10537
10538 2013-04-25 Bastien Guerry <bzg@gnu.org>
10539
10540 * textmodes/remember.el (remember-data-directory)
10541 (remember-directory-file-name-format): Fix custom types.
10542
10543 2013-04-25 Leo Liu <sdl.web@gmail.com>
10544
10545 * progmodes/octave.el (octave-completion-at-point-function):
10546 Make use of inferior octave process.
10547 (octave-initialize-completions): Remove.
10548 (inferior-octave-completion-table): New function.
10549 (inferior-octave-completion-at-point): Use it.
10550 (octave-completion-alist): Remove.
10551
10552 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10555 (opascal-mode-syntax-table): New var.
10556 (opascal-literal-kind, opascal-is-literal-end)
10557 (opascal-literal-token-at): Rewrite.
10558 (opascal--literal-start-re, opascal-font-lock-keywords)
10559 (opascal--syntax-propertize): New constants.
10560 (opascal-font-lock-defaults): Adjust.
10561 (opascal-mode): Use them. Set comment-<foo> variables as well.
10562 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10563 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10564 (delphi-other-face, opascal-other-face): Remove face variables.
10565 (opascal-save-state): Remove macro.
10566 (opascal-fontifying-progress-step): Remove constant.
10567 (opascal--ignore-changes): Remove var.
10568 (opascal-set-token-property, opascal-parse-next-literal)
10569 (opascal-is-stable-literal, opascal-complete-literal)
10570 (opascal-is-literal-start, opascal-face-of)
10571 (opascal-parse-region, opascal-parse-region-until-stable)
10572 (opascal-fontify-region, opascal-after-change)
10573 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10574 (opascal-debug-parse-region, opascal-debug-parse-window)
10575 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10576 (opascal-debug-fontify-buffer): Remove.
10577 (opascal-debug-mode-map): Adjust accordingly.
10578
10579 2013-04-25 Leo Liu <sdl.web@gmail.com>
10580
10581 Merge octave-mod.el and octave-inf.el into octave.el with some
10582 cleanups.
10583 * progmodes/octave.el: New file renamed from octave-mod.el.
10584 * progmodes/octave-inf.el: Merged into octave.el.
10585 * progmodes/octave-mod.el: Renamed to octave.el.
10586
10587 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10588
10589 * textmodes/reftex-vars.el
10590 (reftex-label-ignored-macros-and-environments): New defcustom.
10591
10592 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10593
10594 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10595
10596 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10597 (smie-indent-keyword): Improve the check to ensure that the next
10598 comment is really on the same line.
10599 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10600
10601 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10602 semi-colons if the line is not otherwise empty (bug#14218).
10603
10604 2013-04-25 Glenn Morris <rgm@gnu.org>
10605
10606 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10607
10608 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * progmodes/opascal.el (opascal-set-token-property): Rename from
10611 opascal-set-text-properties and only set `token' (bug#14134).
10612 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10613 (opascal-literal-text-properties): Remove.
10614 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10615 Adjust callers.
10616
10617 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10618
10619 * textmodes/remember.el (remember-handler-functions): Add an
10620 option for a new handler `remember-store-in-files'.
10621 (remember-data-directory, remember-directory-file-name-format):
10622 New options.
10623 (remember-store-in-files): New function to store remember notes
10624 as separate files within a directory.
10625
10626 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10627
10628 * progmodes/compile.el (compilation-next-error-function):
10629 Pass "formats" to compilation-find-file (bug#11777).
10630
10631 2013-04-24 Glenn Morris <rgm@gnu.org>
10632
10633 * vc/vc-bzr.el (vc-bzr-print-log):
10634 * vc/vc-hg.el (vc-hg-print-log):
10635 * vc/vc-svn.el (vc-svn-print-log):
10636 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10637
10638 * vc/vc-bzr.el (vc-bzr-print-log):
10639 * vc/vc-cvs.el (vc-cvs-print-log):
10640 * vc/vc-git.el (vc-git-print-log):
10641 * vc/vc-hg.el (vc-hg-print-log):
10642 * vc/vc-mtn.el (vc-mtn-print-log):
10643 * vc/vc-rcs.el (vc-rcs-print-log):
10644 * vc/vc-sccs.el (vc-sccs-print-log):
10645 * vc/vc-svn.el (vc-svn-print-log):
10646 * vc/vc.el (vc-print-log-internal): Doc fixes.
10647
10648 2013-04-23 Glenn Morris <rgm@gnu.org>
10649
10650 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10651 Remove venerable code attempting to avoid substitute-command-keys.
10652
10653 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10654
10655 * textmodes/reftex-vars.el (reftex-label-regexps):
10656 Call `reftex-compile-variables' after changes to this variable.
10657
10658 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10659
10660 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10661 Use lexical-binding.
10662 (jit-lock-force-redisplay): Use markers, check buffer's continued
10663 existence and beware narrowed buffers.
10664 (jit-lock-fontify-now): Adjust call accordingly.
10665
10666 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10669 to avoid misleading the user.
10670
10671 2013-04-22 Leo Liu <sdl.web@gmail.com>
10672
10673 * info-look.el: Prefer latex2e.info. (Bug#14240)
10674
10675 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10676
10677 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10678
10679 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10680 * net/tramp.el (tramp-call-process): ... here.
10681 (tramp-set-completion-function, tramp-parse-putty):
10682 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10683 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10684 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10685 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10686 (tramp-call-local-coding-command): Use `tramp-call-process'
10687 instead of `tramp-compat-call-process'.
10688
10689 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10690 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10691 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10692 (tramp-find-inline-compress): Improve traces.
10693 (tramp-maybe-send-script): Check for Perl binary.
10694 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10695
10696 2013-04-22 Daiki Ueno <ueno@gnu.org>
10697
10698 * epg.el (epg-context-pinentry-mode): New function.
10699 (epg-context-set-pinentry-mode): New function.
10700 (epg--start): Pass --pinentry-mode option to gpg command.
10701
10702 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10703
10704 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10705 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10706 `completion-at-point'. (Bug#13774)
10707
10708 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10709 default key binding for `describe-distribution' has been moved to
10710 `C-h C-o'. (Bug#13970)
10711
10712 2013-04-21 Glenn Morris <rgm@gnu.org>
10713
10714 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10715 Add doc strings.
10716 (vc-print-log): Clarify interactive prompt.
10717
10718 2013-04-20 Glenn Morris <rgm@gnu.org>
10719
10720 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10721 No longer include timestamp etc information.
10722
10723 2013-04-20 Roland Winkler <winkler@gnu.org>
10724
10725 * faces.el (read-face-name): Bug fix, return just one face if arg
10726 multiple is nil. (Bug#14209)
10727
10728 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10731 (remove-function): Autoload.
10732
10733 * comint.el (comint-redirect-original-filter-function): Remove.
10734 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10735 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10736 (vc-cvs-annotate-command):
10737 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10738 * progmodes/prolog.el (prolog-consult-compile):
10739 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10740 Use add/remove-function instead.
10741 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10742 (gud-tooltip-process-output, gud-tooltip-tips):
10743 Use add/remove-function instead.
10744 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10745 (scheme-interaction-mode, exit-scheme-interaction-mode):
10746 Use add/remove-function instead.
10747
10748 * vc/vc-dispatcher.el: Use lexical-binding.
10749 (vc--process-sentinel): Rename from vc-process-sentinel.
10750 Change last arg to be the code to run. Don't use vc-previous-sentinel
10751 and vc-sentinel-commands any more.
10752 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10753 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10754
10755 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10756
10757 * progmodes/sh-script.el (sh-imenu-generic-expression):
10758 Handle function names with a single character. (Bug#14111)
10759
10760 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10761
10762 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10763 for subroutines defined in an eval (bug#14182).
10764
10765 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10766
10767 * bookmark.el (bookmark-completing-read): Improve handling of empty
10768 string (bug#14176).
10769
10770 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10773
10774 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10775
10776 New faster Imenu implementation (bug#14058).
10777 * progmodes/python.el:
10778 (python-imenu-prev-index-position):
10779 (python-imenu-format-item-label-function)
10780 (python-imenu-format-parent-item-label-function)
10781 (python-imenu-format-parent-item-jump-label-function):
10782 New vars.
10783 (python-imenu-format-item-label)
10784 (python-imenu-format-parent-item-label)
10785 (python-imenu-format-parent-item-jump-label)
10786 (python-imenu--put-parent, python-imenu--build-tree)
10787 (python-imenu-create-index, python-imenu-create-flat-index)
10788 (python-util-popn): New functions.
10789 (python-mode): Set imenu-create-index-function to
10790 python-imenu-create-index.
10791
10792 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10793
10794 * winner.el (winner-active-region): Use region-active-p, activate-mark
10795 and deactivate-mark (bug#14225).
10796
10797 * simple.el (deactivate-mark): Don't inline it.
10798
10799 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10800
10801 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10802
10803 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10804
10805 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10806 file extensions from the archive-mode entry in order to prefer
10807 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10808
10809 2013-04-18 Leo Liu <sdl.web@gmail.com>
10810
10811 * bindings.el (help-event-list): Add ?\?.
10812
10813 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10814
10815 * subr.el (with-wrapper-hook): Declare obsolete.
10816 * simple.el (filter-buffer-substring-function): New hook.
10817 (filter-buffer-substring): Use it.
10818 (filter-buffer-substring-functions): Mark obsolete.
10819 * minibuffer.el (completion-in-region-function): New hook.
10820 (completion-in-region): Use it.
10821 (completion-in-region-functions): Mark obsolete.
10822 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10823 * abbrev.el (abbrev-expand-function): New hook.
10824 (expand-abbrev): Use it.
10825 (abbrev-expand-functions): Mark obsolete.
10826 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10827 and :filter-return.
10828
10829 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10830
10831 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10832 and do not care about match data.
10833
10834 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10835
10836 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10837 completion tables when completing error conditions and
10838 `declare' arguments.
10839 (lisp-complete-symbol, field-complete): Mark as obsolete.
10840 (check-parens): Unmatched parens are user errors.
10841 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10842
10843 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10844
10845 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10846 command changed buffer (ie. `flyspell-pre-buffer' is not current
10847 buffer), which prevents making decisions based on invalid value of
10848 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10849 cause an error when `flyspell-pre-point' was nil after switching
10850 buffers.
10851 (flyspell-post-command-hook): No longer needs to change buffers when
10852 checking pre-word. While at it remove unnecessary progn.
10853
10854 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10855
10856 * textmodes/ispell.el (ispell-add-per-file-word-list):
10857 Fix `flyspell-correct-word-before-point' error when accepting
10858 words and `coment-padding' is an integer by using
10859 `comment-normalize-vars' (Bug #14214).
10860
10861 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10862
10863 New defun movement commands.
10864 * progmodes/python.el (python-nav--syntactically)
10865 (python-nav--forward-defun, python-nav-backward-defun)
10866 (python-nav-forward-defun): New functions.
10867
10868 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10869
10870 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10871 (python-syntax-context): Use named compiler-macro for backwards
10872 compatibility with Emacs 24.x.
10873
10874 2013-04-17 Leo Liu <sdl.web@gmail.com>
10875
10876 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10877 octave-hide-process-buffer.
10878
10879 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10880
10881 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10882 (bug#14216).
10883
10884 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10885
10886 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10887 Fix adjustment of offset when receiving incomplete responses from GDB
10888 (bug#14129).
10889
10890 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10893 python-mode-abbrev-table.
10894 (python-skeleton-define): Adjust accordingly.
10895 (python-mode-abbrev-table): New table that inherits from it so that
10896 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10897
10898 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10899 (abbrev-symbol): Use it.
10900 (abbrev--before-point): Use it since we already handle inheritance.
10901
10902 2013-04-16 Leo Liu <sdl.web@gmail.com>
10903
10904 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10905 binding to info-lookup-symbol.
10906
10907 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10908
10909 * minibuffer.el (completion--twq-all):
10910 * term/ns-win.el (ns-initialize-window-system):
10911 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10912
10913 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10914
10915 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10916 global bindings.
10917
10918 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10919
10920 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10921
10922 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10923 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10924 to nil.
10925 (ruby-end-of-defun): Remove the unused arg, change the docstring
10926 to reflect that this function is only used as the value of
10927 `end-of-defun-function'.
10928 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10929 to reflect an earlier change that beginning/end-of-defun functions
10930 jump between methods in a class definition, as well as top-level
10931 functions.
10932
10933 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10934
10935 * minibuffer.el (minibuffer-complete): Don't just scroll
10936 a *Completions* that's been iconified.
10937 (minibuffer-force-complete): Make sure repetitions do cycle when going
10938 through completion-in-region -> minibuffer-complete.
10939
10940 2013-04-15 Alan Mackenzie <acm@muc.de>
10941
10942 Correct the placement of c-cpp-delimiters when there're #s not at
10943 col 0.
10944
10945 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10946 place a submatch around the #.
10947 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10948 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10949 on the #, not BOL.
10950
10951 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10954 (advice--member-p): New arg `name'.
10955 (advice--add-function, advice-member-p): Use it (bug#14202).
10956
10957 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10958
10959 Reformulate java imenu-generic-expression.
10960 The old expression contained ill formed regexps.
10961
10962 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10963 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10964 (cc-imenu-java-method-arg-regexp): New defconsts.
10965 (cc-imenu-java-build-type-args-regex): New defun.
10966 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10967 handling of spaces in the regexp.
10968
10969 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10970
10971 * textmodes/ispell.el (ispell-command-loop): Remove
10972 flyspell highlight of a word when ispell accepts it (bug #14178).
10973
10974 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10975
10976 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10977 uses code from the previous `ange-ftp-run-real-handler'.
10978 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10979 only in case that function exist. This is needed for proper
10980 unloading of Tramp.
10981
10982 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10983
10984 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10985
10986 * textmodes/reftex.el (reftex-compile-variables): Use it.
10987
10988 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10989
10990 * files.el (normal-mode): Only use default major-mode if no other mode
10991 was specified.
10992
10993 * emacs-lisp/trace.el (trace-values): New function.
10994
10995 * files.el: Allow : in local variables (bug#14089).
10996 (hack-local-variable-regexp): New var.
10997 (hack-local-variables-prop-line, hack-local-variables): Use it.
10998
10999 2013-04-13 Roland Winkler <winkler@gnu.org>
11000
11001 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11002 data before it gets modified by bibtex-beginning-of-entry.
11003
11004 2013-04-13 Roland Winkler <winkler@gnu.org>
11005
11006 * textmodes/bibtex.el (bibtex-url): Doc fix.
11007
11008 2013-04-13 Roland Winkler <winkler@gnu.org>
11009
11010 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11011 does not visit a BibTeX file, exclude it from the list of buffers
11012 returned by bibtex-initialize.
11013
11014 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11015
11016 * window.el (split-window): Remove interactive form, since as a
11017 command this function is a special case of split-window-below.
11018 Correct doc string.
11019
11020 2013-04-12 Roland Winkler <winkler@gnu.org>
11021
11022 * faces.el (read-face-name): Do not override value of arg default.
11023 Allow single faces and strings as default values. Remove those
11024 elements from return value that are not faces.
11025 (describe-face): Simplify.
11026 (face-at-point): New optional args thing and multiple so that this
11027 function can provide the same functionality previously provided by
11028 read-face-name.
11029 (make-face-bold, make-face-unbold, make-face-italic)
11030 (make-face-unitalic, make-face-bold-italic, invert-face)
11031 (modify-face, read-face-and-attribute): Use face-at-point.
11032
11033 * cus-edit.el (customize-face, customize-face-other-window)
11034 * cus-theme.el (custom-theme-add-face)
11035 * face-remap.el (buffer-face-set)
11036 * facemenu.el (facemenu-set-face): Use face-at-point.
11037
11038 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11039
11040 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11041
11042 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11043
11044 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11045 off leading { and trailing } from field values.
11046
11047 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * emacs-lisp/timer.el (timer--check): New function.
11050 (timer--time, timer-set-function, timer-event-handler): Use it.
11051 (timer-set-idle-time): Simplify.
11052 (timer--activate): CSE.
11053 (timer-event-handler): Give more info in error message.
11054 (internal-timer-start-idle): New function, moved from C.
11055
11056 * mpc.el (mpc-proc): Add `restart' argument.
11057 (mpc-proc-cmd): Use it.
11058 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11059 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11060 less often.
11061
11062 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11063
11064 * progmodes/sh-script.el: Implement `sh-mode' own
11065 `add-log-current-defun-function' (bug#14112).
11066 (sh-current-defun-name): New function.
11067 (sh-mode): Use the function.
11068
11069 2013-04-09 Bastien Guerry <bzg@gnu.org>
11070
11071 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11072
11073 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11074
11075 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11076
11077 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11078 timer (bug#14156).
11079
11080 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11081
11082 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11083 declaration.
11084
11085 2013-04-07 Leo Liu <sdl.web@gmail.com>
11086
11087 * pcmpl-x.el: New file.
11088
11089 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11090
11091 Do not set x-display-name until X connection is established.
11092 This is needed to prevent from weird situation described at
11093 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11094 * frame.el (make-frame): Set x-display-name after call to
11095 window system initialization function, not before.
11096 * term/x-win.el (x-initialize-window-system): Add optional
11097 display argument and use it.
11098 * term/w32-win.el (w32-initialize-window-system):
11099 * term/ns-win.el (ns-initialize-window-system):
11100 * term/pc-win.el (msdos-initialize-window-system):
11101 Add compatible optional display argument.
11102
11103 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11104
11105 * files.el (normal-backup-enable-predicate): On MS-Windows and
11106 MS-DOS compare truenames of temporary-file-directory and of the
11107 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11108 don't fail comparison by compare-strings. Also, compare file
11109 names case-insensitively on MS-Windows and MS-DOS.
11110
11111 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11114 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11115
11116 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11117
11118 * whitespace.el (whitespace-color-on, whitespace-color-off):
11119 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11120
11121 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11122
11123 * ispell.el (ispell-set-spellchecker-params):
11124 Really set `ispell-args' for all equivs.
11125
11126 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * ido.el (ido-completions): Use extra elements of ido-decorations
11129 (bug#14143).
11130 (ido-decorations): Update docstring.
11131
11132 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11133
11134 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11135 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11136 nil during initialization, in order not to miss changes since the
11137 file was opened. (Bug#14140)
11138
11139 2013-04-05 Leo Liu <sdl.web@gmail.com>
11140
11141 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11142
11143 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11144
11145 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11146
11147 2013-04-04 Glenn Morris <rgm@gnu.org>
11148
11149 * electric.el (electric-pair-inhibit-predicate): Add :version.
11150
11151 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11152
11153 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11154 when a package is required several times (bug#14082).
11155
11156 2013-04-04 Roland Winkler <winkler@gnu.org>
11157
11158 * faces.el (read-face-name): Behave as promised by the docstring.
11159 Assume that arg default is a list of faces.
11160 (describe-face): Call read-face-name with list of default faces.
11161
11162 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11163
11164 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11165 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11166 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11167 the header.
11168 (bookmark-exit-hook-internal): Save even if list is empty.
11169
11170 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11171
11172 * emacs-lisp/package.el (package-pinned-packages): New var.
11173 (package--add-to-archive-contents): Obey it (bug#14118).
11174
11175 2013-04-03 Alan Mackenzie <acm@muc.de>
11176
11177 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11178 Also adapt to the new values of element 7 of a parse state.
11179
11180 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11181 parameter `not-in-delimiter'. Handle being inside comment opener.
11182 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11183 character in case we're typing a '*' after a '/'.
11184 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11185 instead by passing the parameter to c-state-pp-to-literal.
11186
11187 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11188 for elt. 7 of a parse state.
11189
11190 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11191
11192 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11193 * international/latin1-disp.el, international/mule-util.el:
11194 * language/cyril-util.el, language/european.el, language/ind-util.el:
11195 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11196 * language/tibetan.el, language/viet-util.el:
11197 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11198
11199 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11200
11201 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11202 (electric-pair-post-self-insert-function): Use it.
11203 (electric-pair-default-inhibit): New function, extracted from
11204 electric-pair-post-self-insert-function.
11205
11206 2013-03-31 Roland Winkler <winkler@gnu.org>
11207
11208 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11209
11210 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11211
11212 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11213
11214 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11215
11216 Un-indent after "pass" and "return" statements (Bug#13888)
11217 * progmodes/python.el (python-indent-block-enders): New var.
11218 (python-indent-calculate-indentation): Use it.
11219
11220 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11221
11222 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11223 defun. Defining it as defalias could introduce too eager
11224 byte-compiler optimization. (Bug#14030)
11225
11226 2013-03-30 Chong Yidong <cyd@gnu.org>
11227
11228 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11229
11230 2013-03-30 Leo Liu <sdl.web@gmail.com>
11231
11232 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11233 (kmacro-execute-from-register): Pass the keyboard macro to
11234 kmacro-call-macro or repeating won't work correctly.
11235
11236 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11237
11238 * progmodes/subword.el: Back to using `forward-symbol'.
11239
11240 * subr.el (forward-whitespace, forward-symbol)
11241 (forward-same-syntax): Move from thingatpt.el.
11242
11243 2013-03-29 Leo Liu <sdl.web@gmail.com>
11244
11245 * kmacro.el (kmacro-to-register): New command.
11246 (kmacro-execute-from-register): New function.
11247 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11248
11249 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * mpc.el: Use defvar-local and setq-local.
11252 (mpc--proc-connect): Connection failures are not bugs.
11253 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11254 (mpc-volume-map): Bind to the up-events.
11255
11256 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11257
11258 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11259 instead of `forward-symbol'.
11260
11261 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11262
11263 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11264 (edebug--recursive-edit): Use it.
11265 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11266 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11267
11268 2013-03-28 Leo Liu <sdl.web@gmail.com>
11269
11270 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11271
11272 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11273
11274 * facemenu.el (list-colors-callback): New defvar.
11275 (list-colors-redisplay): New function.
11276 (list-colors-display): Install list-colors-redisplay as the
11277 revert-buffer-function. (Bug#14063)
11278
11279 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11280
11281 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11282 and suffixes don't overlap (bug#14061).
11283
11284 * case-table.el: Use lexical-binding.
11285 (case-table-get-table): New function.
11286 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11287
11288 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11289
11290 * progmodes/subword.el: Add `superword-mode' to do word motion
11291 over symbol_words (parallels and leverages `subword-mode' which
11292 does word motion inside MixedCaseWords).
11293
11294 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11295
11296 * eshell/em-unix.el: Move su and sudo to...
11297 * eshell/em-tramp.el: ...Eshell tramp module.
11298
11299 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11302 Change return value to be a sexp. Delay `get-buffer' to after
11303 restoring the desktop (bug#13951).
11304
11305 2013-03-26 Leo Liu <sdl.web@gmail.com>
11306
11307 * register.el: Move semantic tag handling back to
11308 cedet/semantic/senator.el. (Bug#14052)
11309
11310 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11311
11312 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11313 into the prompt either (bug#13963).
11314
11315 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11316
11317 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11318 part of "(error-foo)".
11319
11320 2013-03-24 Juri Linkov <juri@jurta.org>
11321
11322 * replace.el (list-matching-lines-prefix-face): New defcustom.
11323 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11324 `occur-engine' if `face-differs-from-default-p' returns t.
11325 (occur-engine): Add `,' inside backquote construct to evaluate
11326 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11327 Pass `prefix-face' to the functions `occur-context-lines' and
11328 `occur-engine-add-prefix'.
11329 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11330 `prefix-face' and propertize the prefix with `prefix-face'.
11331 (Bug#14017)
11332
11333 2013-03-24 Leo Liu <sdl.web@gmail.com>
11334
11335 * nxml/rng-valid.el (rng-validate-while-idle)
11336 (rng-validate-quick-while-idle): Guard against deleted buffer.
11337 (Bug#13999)
11338
11339 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11340 is the last entry in kill-buffer-hook.
11341
11342 * files.el (kill-buffer-hook): Doc fix.
11343
11344 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11345
11346 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11347 Make it safe-local.
11348
11349 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11350
11351 2013-03-23 Leo Liu <sdl.web@gmail.com>
11352
11353 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11354 Remove.
11355
11356 * nxml/rng-valid.el (rng-validate-mode)
11357 (rng-after-change-function, rng-do-some-validation):
11358 * nxml/rng-maint.el (rng-validate-buffer):
11359 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11360 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11361 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11362 (nxml-extend-after-change-region): Use with-silent-modifications.
11363
11364 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11365 timer-idle-list.
11366
11367 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11368 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11369 timer-idle-list. (Bug#13999)
11370
11371 2013-03-23 Juri Linkov <juri@jurta.org>
11372
11373 * info.el (info-index-match): New face.
11374 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11375 main pattern and add text properties with the new face to matches
11376 in index entries relative to the beginning of the index entry.
11377 (Bug#14015)
11378
11379 2013-03-21 Eric Ludlam <zappo@gnu.org>
11380
11381 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11382 Inhibit read only while inserting objects.
11383
11384 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11385
11386 * progmodes/cfengine.el: Update docs to mention
11387 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11388 symbol motion. Remove "_" from the word syntax.
11389
11390 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11391
11392 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11393 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11394
11395 2013-03-20 Juri Linkov <juri@jurta.org>
11396
11397 * info.el (Info-next-reference-or-link)
11398 (Info-prev-reference-or-link): New functions.
11399 (Info-next-reference, Info-prev-reference): Use them.
11400 (Info-try-follow-nearest-node): Handle footnote navigation.
11401 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11402
11403 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11406 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11407
11408 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11409
11410 Suppress unnecessary non-ASCII chatter during build process.
11411 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11412 (batch-skkdic-convert): Suppress most of the chatter.
11413 It's not needed so much now that machines are faster,
11414 and its non-ASCII component was confusing; see Dmitry Gutov in
11415 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11416
11417 2013-03-20 Leo Liu <sdl.web@gmail.com>
11418
11419 * ido.el (ido-chop): Fix bug#10994.
11420
11421 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11422
11423 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11424 Remove vars.
11425 (whitespace-color-on, whitespace-color-off):
11426 Use `font-lock-fontify-buffer' (Bug#13817).
11427
11428 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11429
11430 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11431 remapping in mode-line.
11432 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11433
11434 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11435
11436 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11437 value for `whitespace-line' face (Bug#13875).
11438 (whitespace-font-lock-keywords): Change description.
11439 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11440 the constructed keywords instead.
11441 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11442
11443 2013-03-19 Leo Liu <sdl.web@gmail.com>
11444
11445 * progmodes/compile.el (compilation-display-error): New command.
11446 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11447 C-o. (Bug#13992)
11448
11449 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11450
11451 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11452
11453 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11454
11455 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11456
11457 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11458
11459 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11460
11461 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11462 * net/tramp-gvfs.el (top):
11463 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11464 (tramp-handle-shell-command): Use it.
11465 (tramp-dissect-file-name): Raise an error when hostname is a
11466 method name, and neither method nor user is specified.
11467
11468 * net/trampver.el: Update release number.
11469
11470 2013-03-18 Leo Liu <sdl.web@gmail.com>
11471
11472 Make sure eldoc can be turned off properly.
11473 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11474 eldoc-mode.
11475 (eldoc-display-message-p): Revert last change.
11476 (eldoc-display-message-no-interference-p)
11477 (eldoc-print-current-symbol-info): Tweak.
11478
11479 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11480
11481 * doc-view.el (doc-view-new-window-function): Check the new window
11482 overlay's display property instead the char property of the
11483 buffer's first char. Use `with-selected-window' instead of
11484 `save-window-excursion' with `select-window'.
11485 (doc-view-document->bitmap): Check the current doc-view overlay's
11486 display property instead the char property of the buffer's first char.
11487
11488 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11489
11490 Automate the build of ja-dic.el (Bug#13984).
11491 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11492 from the input, rather than assume that it's been done for us by the
11493 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11494 the current date into a ja-dic.el comment, as that complicates
11495 regression testing.
11496
11497 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11498
11499 * whitespace.el: Fix double evaluation.
11500 (whitespace-space, whitespace-hspace, whitespace-tab)
11501 (whitespace-newline, whitespace-trailing, whitespace-line)
11502 (whitespace-space-before-tab, whitespace-indentation)
11503 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11504 obsolete defvars.
11505 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11506 (whitespace-color-on): Use a single font-lock-add-keywords call.
11507 Fix double-evaluation of face variables.
11508
11509 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11510
11511 * net/tramp-adb.el (tramp-adb-parse-device-names):
11512 Use `start-process' instead of `call-process'. Otherwise, the
11513 function might be blocked under MS Windows. (Bug#13299)
11514
11515 2013-03-17 Leo Liu <sdl.web@gmail.com>
11516
11517 Extend eldoc to display info in the mode-line. (Bug#13978)
11518 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11519 (eldoc-mode-line-string): New variable.
11520 (eldoc-minibuffer-message): New function.
11521 (eldoc-message-function): New variable.
11522 (eldoc-message): Use it.
11523 (eldoc-display-message-p)
11524 (eldoc-display-message-no-interference-p):
11525 Support eldoc-post-insert-mode.
11526
11527 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11528 (eval-expression): Run it.
11529
11530 2013-03-17 Roland Winkler <winkler@gnu.org>
11531
11532 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11533 strings in the list of return values.
11534
11535 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11536
11537 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11538 radix before checking for HMS forms.
11539
11540 2013-03-16 Leo Liu <sdl.web@gmail.com>
11541
11542 * progmodes/scheme.el: Add indentation and font-locking for λ.
11543 (Bug#13975)
11544
11545 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11548 token before point (bug#13942).
11549
11550 2013-03-16 Leo Liu <sdl.web@gmail.com>
11551
11552 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11553
11554 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11555
11556 * startup.el (command-line-normalize-file-name): Fix handling of
11557 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11558 <xfq.free@gmail.com> in
11559 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11560
11561 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11562
11563 Sync with Tramp 2.2.7.
11564
11565 * net/trampver.el: Update release number.
11566
11567 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11568
11569 * doc-view.el: Fix bug#13887.
11570 (doc-view-insert-image): Don't modify overlay associated to
11571 non-live windows, and implement horizontal centering of image in
11572 case it's smaller than the window.
11573 (doc-view-new-window-function): Force redisplay of new windows on
11574 doc-view buffers.
11575
11576 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11577
11578 * saveplace.el (save-place-alist-to-file): Don't sort
11579 `save-place-alist', just pretty-print it (bug#13882).
11580
11581 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11582
11583 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11584 Check whether `default-file-name-coding-system' is bound.
11585 It isn't in XEmacs.
11586
11587 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11588
11589 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11590 backquotes for `obsolete' (bug#13929).
11591
11592 * international/mule.el (find-auto-coding): Include file name in
11593 obsolescence warning (bug#13922).
11594
11595 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11596
11597 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11598 for CFEngine 3-specific indentation.
11599 (cfengine3-indent-line): Use it. Fix up category regex.
11600 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11601
11602 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11603
11604 * type-break.el (type-break-file-name):
11605 * textmodes/remember.el (remember-data-file):
11606 * strokes.el (strokes-file):
11607 * shadowfile.el (shadow-initialize):
11608 * saveplace.el (save-place-file):
11609 * ps-bdf.el (bdf-cache-file):
11610 * progmodes/idlwave.el (idlwave-config-directory):
11611 * net/quickurl.el (quickurl-url-file):
11612 * international/kkc.el (kkc-init-file-name):
11613 * ido.el (ido-save-directory-list-file):
11614 * emulation/viper.el (viper-custom-file-name):
11615 * emulation/vip.el (vip-startup-file):
11616 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11617 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11618
11619 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11620
11621 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11622 * language/thai-word.el: Switch to UTF-8.
11623
11624 See ChangeLog.16 for earlier changes.
11625
11626 ;; Local Variables:
11627 ;; coding: utf-8
11628 ;; End:
11629
11630 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11631
11632 This file is part of GNU Emacs.
11633
11634 GNU Emacs is free software: you can redistribute it and/or modify
11635 it under the terms of the GNU General Public License as published by
11636 the Free Software Foundation, either version 3 of the License, or
11637 (at your option) any later version.
11638
11639 GNU Emacs is distributed in the hope that it will be useful,
11640 but WITHOUT ANY WARRANTY; without even the implied warranty of
11641 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11642 GNU General Public License for more details.
11643
11644 You should have received a copy of the GNU General Public License
11645 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.