1 2014-10-06 Glenn Morris <rgm@gnu.org>
3 Remove calendar code obsolete since at least version 23.1.
4 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
5 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6 (calendar-goto-bahai-date, list-bahai-diary-entries)
7 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
8 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
9 (insert-yearly-bahai-diary-entry):
10 * calendar/cal-china.el (chinese-calendar-time-zone)
11 (chinese-calendar-location-name)
12 (chinese-calendar-daylight-time-offset)
13 (chinese-calendar-standard-time-zone-name)
14 (chinese-calendar-daylight-time-zone-name)
15 (chinese-calendar-daylight-savings-starts)
16 (chinese-calendar-daylight-savings-ends)
17 (chinese-calendar-daylight-savings-starts-time)
18 (chinese-calendar-daylight-savings-ends-time)
19 (chinese-calendar-celestial-stem)
20 (chinese-calendar-terrestrial-branch)
21 (calendar-absolute-from-chinese, calendar-print-chinese-date)
22 (calendar-goto-chinese-date):
23 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
24 (calendar-print-coptic-date, coptic-prompt-for-date)
25 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
26 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
27 * calendar/cal-french.el (calendar-absolute-from-french)
28 (calendar-print-french-date, calendar-goto-french-date):
29 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
30 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
31 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
32 (holiday-rosh-hashanah-etc, holiday-hanukkah)
33 (holiday-passover-etc, holiday-tisha-b-av-etc)
34 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
35 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
36 (insert-monthly-hebrew-diary-entry)
37 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
38 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
39 (diary-sabbath-candles):
40 * calendar/cal-islam.el (calendar-absolute-from-islamic)
41 (calendar-print-islamic-date, calendar-goto-islamic-date)
42 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
43 (mark-islamic-diary-entries, insert-islamic-diary-entry)
44 (insert-monthly-islamic-diary-entry)
45 (insert-yearly-islamic-diary-entry):
46 * calendar/cal-iso.el (calendar-absolute-from-iso)
47 (calendar-print-iso-date, calendar-iso-read-args)
48 (calendar-goto-iso-date, calendar-goto-iso-week):
49 * calendar/cal-julian.el (calendar-absolute-from-julian)
50 (calendar-print-julian-date, calendar-goto-julian-date)
51 (calendar-absolute-from-astro, calendar-print-astro-day-number)
52 (calendar-goto-astro-day-number):
53 * calendar/cal-mayan.el (calendar-print-mayan-date)
54 (calendar-next-haab-date, calendar-previous-haab-date)
55 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
56 (calendar-next-calendar-round-date)
57 (calendar-previous-calendar-round-date)
58 (calendar-absolute-from-mayan-long-count)
59 (calendar-goto-mayan-long-count-date):
60 * calendar/cal-move.el (scroll-calendar-left)
61 (scroll-calendar-right, scroll-calendar-left-three-months)
62 (scroll-calendar-right-three-months):
63 * calendar/cal-persia.el (calendar-absolute-from-persian)
64 (calendar-print-persian-date, persian-prompt-for-date)
65 (calendar-goto-persian-date):
66 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
67 * calendar/calendar.el (view-diary-entries-initially)
68 (mark-diary-entries-in-calendar, calendar-today-face)
69 (diary-face, holiday-face, view-calendar-holidays-initially)
70 (mark-holidays-in-calendar, initial-calendar-window-hook)
71 (today-visible-calendar-hook, today-invisible-calendar-hook)
72 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
73 (bahai-diary-entry-symbol, american-date-diary-pattern)
74 (european-date-diary-pattern, european-calendar-display-form)
75 (american-calendar-display-form, holidays-in-diary-buffer)
76 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
77 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
78 (fancy-diary-buffer, increment-calendar-month)
79 (extract-calendar-month, extract-calendar-day)
80 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
81 (mark-visible-calendar-date, calendar-version):
82 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
83 (diary-display-hook, list-diary-entries-hook)
84 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
85 (nongregorian-diary-marking-hook, print-diary-entries-hook)
86 (abbreviated-calendar-year, number-of-diary-entries)
87 (view-other-diary-entries, add-to-diary-list)
88 (include-other-diary-files, simple-diary-display)
89 (fancy-diary-display, print-diary-entries, mark-diary-entries)
90 (mark-sexp-diary-entries, mark-included-diary-files)
91 (mark-calendar-days-named, mark-calendar-month)
92 (mark-calendar-date-pattern, sort-diary-entries)
93 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
94 (insert-weekly-diary-entry, insert-monthly-diary-entry)
95 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
96 (insert-block-diary-entry, insert-cyclic-diary-entry)
97 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
98 * calendar/holidays.el (general-holidays, oriental-holidays)
99 (local-holidays, other-holidays, hebrew-holidays)
100 (christian-holidays, islamic-holidays, bahai-holidays)
101 (solar-holidays, list-calendar-holidays)
102 (check-calendar-holidays, mark-calendar-holidays)
103 (filter-visible-calendar-holidays):
104 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
105 (diary-phases-of-moon): Remove obsolete aliases.
106 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
107 * calendar/cal-x.el (calendar-one-frame-setup)
108 (calendar-only-one-frame-setup, calendar-two-frame-setup):
109 Remove obsolete functions.
110 (cal-x-load-hook): Remove obsolete hook.
111 * calendar/calendar.el (european-calendar-style):
112 Remove obsolete variable.
113 (calendar-date-style): No longer consult european-calendar-style.
114 * calendar/calendar.el (european-calendar, american-calendar):
115 Remove obsolete commands.
116 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
117 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
118 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
119 Use the face `diary' instead of the variable `diary-face'.
120 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
121 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
122 * calendar/icalendar.el (icalendar--date-style): Remove function.
123 Replace all uses with calendar-date-style.
124 * textmodes/remember.el (calendar-date-style): Declare.
125 (remember-diary-convert-entry):
126 No longer consult european-calendar-style.
128 2014-10-05 Leo Liu <sdl.web@gmail.com>
130 * imenu.el (imenu-default-goto-function): Fix typo.
132 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
134 * net/ntlm.el (ntlm-build-auth-request):
135 Add NTLM2 Session support. (Bug#15603)
137 2014-10-04 Glenn Morris <rgm@gnu.org>
139 * apropos.el (apropos-symbols-internal):
140 Avoid error with non-symbol properties. (Bug#18337#16)
142 * startup.el (command-line):
143 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
145 2014-10-04 Martin Rudalics <rudalics@gmx.at>
147 * window.el (window-full-height-p): Make it behave correctly for
149 (window-current-scroll-bars): Fix code.
150 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
152 * frame.el (frame-current-scroll-bars): Fix doc-string.
153 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
155 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
157 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
159 2014-10-04 Glenn Morris <rgm@gnu.org>
161 * frame.el (frame-monitor-attributes)
162 (display-monitor-attributes-list): Doc fixes.
164 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
166 Merge trivially safe differences from standalone CC-mode.
167 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
168 just to then pass it to `symbol-value'.
169 (prog-mode): Provide fallback definition, if needed.
170 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
171 Remove "cl-" prefix accordingly.
172 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
173 characterp depending on the type of characters.
174 (c-font-lock-enum-tail): Remove unused var `start'.
175 * progmodes/cc-engine.el: Load CL at compile-time.
176 (c-declare-lang-variables): Use mapcan.
177 (c-append-to-state-cache): Remove unused var `ce+1'.
178 (c-parse-state-state): Make buffer-local.
179 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
180 (c-just-after-func-arglist-p): Remove unused var `end'.
181 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
182 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
183 (c-make-keywords-re): Use delete-dups.
184 (c-get-current-file): Avoid file-name-base.
185 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
186 `close-paren-inserted'.
187 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
189 * progmodes/python.el: Avoid building unneeded markers.
190 (python-font-lock-keywords, python-indent-dedent-line)
191 (python-fill-paren, python-shell-completion-complete-or-indent):
192 Prefer point over point-marker.
193 (inferior-python-mode): Remove redundant completion settings.
195 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
197 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
198 (vc-svn-ignore): Use it. (Bug#18619)
200 2014-10-03 Martin Rudalics <rudalics@gmx.at>
202 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
203 In doc-string mention need to set `frame-resize-pixelwise'.
205 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
207 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
208 similarly to Rogers's 2010-06-16 change for the remote case
211 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
213 New gui-selection-value consolidating x-selection-value.
214 * select.el (gui-selection-value-alist): New method.
215 (gui-selection-value): New function.
216 (x-selection-value): Make it an obsolete alias.
217 * simple.el (interprogram-paste-function): Default to
219 * w32-common-fns.el (w32-get-selection-value): Simplify.
220 (x-selection-value): Remove alias.
221 (interprogram-paste-function): Don't set.
222 (gui-selection-value): Define for w32.
223 * term/x-win.el (gui-selection-value): Define for x.
224 (x--selection-value): Rename from x--selection-value.
225 (interprogram-paste-function): Don't set.
226 * term/pc-win.el (w16-get-selection-value): Simplify.
227 (msdos-initialize-window-system): Don't set
228 interprogram-paste-function.
229 (gui-selection-value): Define for pc.
230 * term/ns-win.el (x-selection-value): Remove.
231 (gui-selection-value): Define for ns, instead.
232 * term/common-win.el (x-setup-function-keys): Don't set
233 interprogram-paste-function.
234 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
235 Use gui-selection-value.
237 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
239 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
241 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
243 * obsolete/lucid.el (read-number): Remove, redundant.
244 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
247 2014-10-02 Glenn Morris <rgm@gnu.org>
249 * emacs-lisp/package.el (package-import-keyring):
250 Create gnupg directory private. (Bug#17625#155)
252 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
254 * progmodes/python.el (python-shell-completion-get-completions):
255 Use python-shell--prompt-calculated-input-regexp from the
256 process buffer (bug#18582).
257 Don't assume that `line' comes from the process buffer.
259 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
261 * frame.el: Use lexical-binding (bug#18598).
262 (make-frame): Use t rather than nil for tty's window-system.
263 * startup.el (command-line): Use gui-method.
265 Consolidate management/ownership of selections.
266 * select.el (gui-get-selection-alist): New method.
267 (gui-get-selection): Use it. Rename from x-get-selection.
268 (x-get-selection): Define as obsolete alias.
269 (x-get-clipboard): Mark obsolete.
270 (gui-get-primary-selection): New function.
271 (x-get-selection-value): Mark obsolete.
272 (gui-own-selection-alist, gui-disown-selection-alist)
273 (gui-selection-owner-p-alist): New methods.
274 (gui-set-selection): Use them. Rename from x-set-selection.
275 (x-set-selection): Define as obsolete alias.
276 (gui--valid-simple-selection-p): Rename from
277 x-valid-simple-selection-p.
278 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
279 (gui-selection-owner-p, gui-get-selection): Define for w32.
280 (w32-get-selection-value): Rename from x-get-selection-value.
281 Use the new gui-last-selected-text.
282 * term/x-win.el (x-get-selection-value): Remove.
283 (x-clipboard-yank): Declare obsolete.
284 (gui-own-selection, gui-disown-selection, gui-get-selection)
285 (gui-selection-owner-p): Define for x.
286 * term/w32-win.el (w32-win-suspend-error): Rename from
288 * term/pc-win.el (w16-get-selection-value): Rename from
289 x-get-selection-value.
290 (w16-selection-owner-p): Rename from x-selection-owner-p.
291 (gui-own-selection, gui-disown-selection, gui-get-selection)
292 (gui-selection-owner-p): Define for pc.
293 (w16--select-text): New function.
294 * term/ns-win.el (gui-own-selection, gui-disown-selection)
295 (gui-get-selection, gui-selection-owner-p): Define for ns.
296 * term.el (term-mouse-paste):
297 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
299 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de> (tiny change)
301 * calc/calc-help.el (calc-describe-thing): Quote strings
302 which could look like regexps.
304 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
306 Consolidate x-select-text.
307 * frame.el (gui-method, gui-method-define, gui-method-declare)
308 (gui-call): New macros.
309 (gui-method--name): New function.
310 (frame-creation-function-alist): Use gui-method-declare.
311 (make-frame): Use gui-method.
312 * select.el (gui-select-enable-clipboard): Rename from
313 x-select-enable-clipboard and move here.
314 (x-select-enable-clipboard): Define as obsolete alias.
315 (gui-last-selected-text): New var, to replace x-last-selected-text.
316 (gui-select-text): New GUI method.
317 (gui-select-text): New function.
318 (x-select-text): Define as obsolete alias.
319 * term/common-win.el (x-select-enable-clipboard, x-select-text):
321 * simple.el (interprogram-cut-function): Change default to
323 (interprogram-paste-function): Change default to `ignore'.
324 * w32-common-fns.el (interprogram-cut-function): Don't modify.
325 * term/x-win.el (interprogram-cut-function): Don't modify.
326 (gui-select-text): Add method for x.
327 * term/w32-win.el (gui-select-text): Add method for w32.
328 * term/pc-win.el (x-last-selected-text): Remove, use
329 gui-last-selected-text instead.
330 (msdos-initialize-window-system): Don't set interprogram-cut-function.
331 (gui-select-text): Add method for pc.
332 * term/ns-win.el (ns-last-selected-text): Remove, use
333 gui-last-selected-text instead.
334 (gui-select-text): Add method for ns.
335 (x-setup-function-keys): Don't change interprogram-cut-function.
336 * loadup.el ("startup"): Load after "frame".
337 * subr.el (package--builtin-versions, package--description-file):
338 Move from startup.el.
339 * startup.el (package--builtin-versions, package--description-file):
341 (handle-args-function-alist, window-system-initialization-alist):
342 Use gui-method-declare.
343 (command-line): Use gui-method.
345 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
347 * subr.el (alist-get): New accessor.
348 * emacs-lisp/gv.el (alist-get): Provide expander.
349 * winner.el (winner-remember):
350 * tempo.el (tempo-use-tag-list):
351 * progmodes/gud.el (minor-mode-map-alist):
352 * international/mule-cmds.el (define-char-code-property):
353 * frameset.el (frameset-filter-params):
354 * files.el (dir-locals-set-class-variables):
355 * register.el (get-register, set-register):
356 * calc/calc-yank.el (calc-set-register): Use it.
357 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
358 * tooltip.el (tooltip-set-param): Mark as obsolete.
359 (tooltip-show): Use alist-get instead.
360 * ses.el (ses--alist-get): Remove. Use alist-get instead.
362 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
364 * net/newst-backend.el: Remove Time-stamp. Rename variable
365 `newsticker--download-logos' to `newsticker-download-logos' and
366 make it customizable.
367 (newsticker--sentinel-work): Move xml-workarounds to function
368 `newsticker--do-xml-workarounds', call unless libxml-parser is
369 used. Allow single quote in regexp for encoding.
370 Use libxml-parser if available, else fall back to `xml-parse-region'.
371 Take care of possibly missing namespace prefixes (like "RDF"
372 instead of "rdf:RDF") when checking xml nodes and attributes (as
373 libxml correctly removes the prefixes). Always use Atom 1.0 as
374 fallback feed type. Rename `newsticker--download-logos' to
375 `newsticker-download-logos'
376 (newsticker--unxml, newsticker--unxml-node)
377 (newsticker--unxml-attribute): New.
378 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
379 HTML code has become part of the xml parse tree.
380 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
381 of possibly missing namespace prefixes.
382 (newsticker--parse-generic-items): Code formatting. Typo.
383 (newsticker--images-dir): Add trailing slash.
384 (newsticker--image-get): Fix error message.
386 * net/newst-plainview.el: Remove Time-stamp.
388 * net/newst-reader.el: Remove Time-stamp.
389 (newsticker-download-logos): Rename variable
390 `newsticker--download-logos' to `newsticker-download-logos' and
391 make it customizable.
392 (newsticker--print-extra-elements): Add optional parameter
393 'htmlish for using html markup. Amend list of ignored elements.
394 (newsticker--do-print-extra-element): Add parameter 'htmlish for
397 * net/newst-ticker.el: Remove Time-stamp.
399 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
400 for formatting extra elements.
402 * net/newsticker.el: Remove Time-stamp, Version.
403 (newsticker-version): Make obsolete.
405 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
407 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
410 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
412 * emacs-lisp/package.el (package-check-signature): Default to nil if
413 GPG is not available.
414 (package-refresh-contents): Don't mess with the keyring if we won't
415 check the signatures anyway.
417 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
419 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
420 (ses-center, ses-center-span): Use them.
421 (ses-print-cell): Bind them while calling the printer.
422 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
423 (ses-dorange): Revert last change.
424 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
426 (ses-set-cell): Avoid `eval'.
427 (ses--time-check): Rename it from ses-time-check and turn it into
430 * ses.el (ses-setup): Don't assume modifying the iteration var of
431 dotimes affects the iteration (bug#18191).
433 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
435 * ses.el (ses-calculate-cell): Bind row and col dynamically to
436 their values with 'cl-progv'.
437 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
438 their values with 'cl-progv', also use non-interned symbols for
439 row, minrow, maxrow, mincol and maxcol.
440 (maxrow maxcol): New defvar, to make the compiler happy.
442 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
444 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
445 completion functions.
447 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
449 * ses.el (ses--letref): Quote value before it gets re-evaluated.
451 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
453 Font-lock `cl-flet*', too.
454 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
455 Add "flet*" to intermediate var `cl-lib-kw'.
457 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
459 * epg-config.el (epg-gpg-program): Use the plain program names rather
460 than their absolute file name.
462 * subr.el (track-mouse): New macro.
463 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
464 Remove track-mouse case.
465 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
467 2014-09-27 Leo Liu <sdl.web@gmail.com>
469 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
471 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
473 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
475 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
476 Handle the case where `match' is :pcase--succeed or :pcase--fail
479 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
480 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
481 (eldoc-schedule-timer): Obey it.
482 (eldoc-documentation-function): Default to nil.
483 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
484 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
485 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
486 (eldoc-last-data-store, eldoc-docstring-first-line)
487 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
488 (eldoc-beginning-of-sexp, eldoc-current-symbol)
489 (eldoc-function-argstring): Move to elisp-mode.el.
490 (eldoc-symbol-function): Remove, unused.
491 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
492 (elisp-completion-at-point): Rename from lisp-completion-at-point.
493 (elisp--preceding-sexp): Rename from preceding-sexp.
494 * loadup.el: Load new file progmodes/elisp-mode.
495 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
496 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
497 (lisp--local-variables-completion-table, lisp--expect-function-p)
498 (lisp--form-quoted-p, lisp--company-doc-buffer)
499 (lisp--company-doc-string, lisp--company-location)
500 (lisp-completion-at-point): Move to elisp-mode.el.
501 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
502 extracted from emacs-lisp-mode-syntax-table.
503 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
505 (lisp-imenu-generic-expression): Add comments to document what comes
506 from which Lisp dialect.
507 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
508 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
509 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
510 (emacs-lisp-byte-code-comment)
511 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
512 (lisp-interaction-mode-map, lisp-interaction-mode)
513 (eval-print-last-sexp, last-sexp-setup-props)
514 (last-sexp-toggle-display, prin1-char, preceding-sexp)
515 (eval-last-sexp-1, eval-last-sexp-print-value)
516 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
517 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
519 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
521 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
522 Do not match file names that end in '/', as they cannot be 'grep'
523 hits nowadays. This prevents confusion when 'grep -r' reports a
524 match in a file whose basename is ':12345:'. Conversely, do not
525 require exactly the same sequence of spaces and tabs after both
526 colons, and allow spaces or tabs before the second colon, as per
527 the POSIX spec for 'grep' output.
529 2014-09-26 Leo Liu <sdl.web@gmail.com>
531 Add cl-parse-integer based on parse-integer (Bug#18557)
532 * calendar/parse-time.el (parse-time-digits): Remove.
533 (digit-char-p, parse-integer) Moved to cl-lib.el.
534 (parse-time-tokenize, parse-time-rules, parse-time-string):
535 Use cl-parse-integer.
537 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
539 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
540 (cl-digit-char-p): New function.
542 2014-09-25 Juri Linkov <juri@jurta.org>
544 * vc/add-log.el (change-log-next-buffer): Don't create an empty
545 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
546 Return the current buffer if no files match the default pattern
547 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
549 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
551 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
552 the global vc-handled-backends (bug#18535).
554 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
556 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
557 Suggested by <lompik@voila.fr>.
559 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
561 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
562 Rename from `newsticker--treeview-do-get-node'.
563 (newsticker--treeview-get-node-by-id):
564 Rename from `newsticker--treeview-get-node'.
565 (newsticker--treeview-buffer-init)
566 (newsticker--treeview-buffer-init): Disable buffer undo.
567 (newsticker--treeview-unfold-node): Adapt to modified
568 `newsticker--group-find-parent-group'.
569 (newsticker--group-do-find-group):
570 Rename from `newsticker--group-do-find-group-for-feed'.
571 Now works for both, groups and feeds.
572 (newsticker--group-find-parent-group):
573 Rename from `newsticker--group-find-group-for-feed'.
574 Now works for both, groups and feeds.
575 (newsticker--group-do-get-parent-group)
576 (newsticker--group-get-parent-group): Remove.
577 (newsticker-group-add-group): Change interactive prompts.
578 (newsticker-group-add-group): Finally jump to added group.
579 (newsticker-group-delete-group): Finally jump to current feed.
580 (newsticker--group-do-rename-group, newsticker-group-rename-group)
581 (newsticker--get-group-names, newsticker--group-names): New.
582 (newsticker-group-move-feed): Finally jump to moved feed.
583 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
584 (newsticker-group-shift-group-down)
585 (newsticker-group-shift-group-up, newsticker--group-shift): New.
586 (newsticker-treeview-mode-map): New keybindings for new shift commands.
588 * net/newst-backend.el (newsticker--item-list)
589 (newsticker--item-position, newsticker--prev-message)
590 (newsticker--scrollable-text): Move to newst-ticker.el.
592 * net/newst-ticker.el (newsticker--item-list)
593 (newsticker--item-position, newsticker--prev-message)
594 (newsticker--scrollable-text): Move from newst-backend.el.
596 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
598 * window.el (fit-window-to-buffer): When counting buffer width,
599 count the whole visible buffer. Correctly convert the body-height
600 to pixel size for window-text-pixel-size (Bug#18498).
602 2014-09-22 Sam Steingold <sds@gnu.org>
604 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
605 (sql-execute): Use `special-mode'.
607 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
609 Add pcase-defmacro, as well as `quote' and `app' patterns.
610 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
611 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
612 (pcase--funcall, pcase--eval): New functions.
613 (pcase--u1): Use them for guard, pred, let, and app.
614 (\`): Use the new feature to generate better code for vector patterns.
615 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
616 (pcase--upat): Remove.
617 (pcase--macroexpand): Don't hardcode handling of `.
618 (pcase--split-consp, pcase--split-vector): Remove.
619 (pcase--split-equal): Disregard ` since it's expanded away.
620 (pcase--split-member): Optimize for quote rather than for `.
621 (pcase--split-pred): Optimize for quote rather than for `.
622 (pcase--u1): Remove handling of ` (and of `or' and `and').
623 Quote non-selfquoting values when passing them to `eq'.
624 Drop `app's let-binding if the variable is not used.
626 (`): Define as a pattern macro.
627 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
628 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
629 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
631 (pcase--split-match): Don't hoist or/and here any more.
632 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
633 (pcase--flip): New helper macro.
634 (pcase--u1): Optimize the memq case directly.
635 Don't handle neither self-quoting nor and/or patterns any more.
636 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
637 (pcase--macroexpand): New function.
638 (pcase--expand): Use it.
639 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
640 New optimization functions.
641 (pcase--u1): Add support for `quote' and `app'.
642 (pcase): Document them in the docstring.
644 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
646 Use lexical-bindin in Ibuffer.
647 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
648 (ibuffer-compile-format): Simplify.
649 (ibuffer-clear-summary-columns): Simplify.
650 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
651 elem of dotimes when we don't refer to the iteration var from it.
652 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
653 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
654 Silence byte-compiler.
656 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
658 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
659 expression for a list.
661 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
662 for functions with no arguments.
664 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
665 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
667 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
669 * simple.el (clone-indirect-buffer): Mention the return value
672 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
673 Text mode in docstring (bug#18464).
675 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
677 * progmodes/perl-mode.el (perl-syntax-propertize-function):
678 Accept underscores in identifiers after "sub" (bug#18502).
680 2014-09-21 Tassilo Horn <tsdh@gnu.org>
682 * textmodes/reftex-sel.el (reftex-select-label-mode)
683 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
684 from special-mode (instead of fundamental-mode) and propertize
685 with font-lock-face instead of just face. (Bug#18496)
687 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
689 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
691 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
692 `table-etc' when `end' is non-nil.
693 (lisp-completion-at-point): Move `end' back if it's after quote.
694 If in comment or string, only complete when after backquote.
696 (lisp-completion-at-point): Don't use
697 `lisp--local-variables-completion-table' in the
698 `lisp--form-quoted-p' case.
700 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
702 * emacs-lisp/lisp.el (lisp--expect-function-p)
703 (lisp--form-quoted-p): New functions.
704 (lisp-completion-at-point): Use them to see if we're completing a
705 variable reference, a function name, or just any symbol.
706 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
708 2014-09-18 Ivan Kanis <ivan@kanis.fr>
710 * net/shr.el, net/eww.el: Don't override `shr-width', but
711 introduce a new variable `shr-internal-width'. This allows users
712 to specify a width themselves.
714 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
716 * image-mode.el (image-toggle-display-image): If we have a
717 `fit-width' or a `fit-height', don't limit the size of the image
718 to the window size, because that doesn't preserve the aspect ratio.
719 * image-mode.el: Move defvars earlier to avoid a byte-compilation
722 2014-09-17 Reuben Thomas <rrt@sc3d.org>
724 * progmodes/js.el: Add interpreter-mode-alist support for various
725 JavaScript interpreters.
727 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
729 Don't assume 'grep' supports GREP_OPTIONS.
730 The GREP_OPTIONS environment variable is planned to be marked
731 obsolescent in GNU grep, due to problems in its use, so stop
733 * progmodes/grep.el (grep-highlight-matches): Document this.
734 (grep-process-setup): Do not set GREP_OPTIONS.
735 (grep-compute-defaults): Use an explicit --color option if supported.
737 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
739 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
740 Don't add outdated key-shortcut cache (bug#18482).
742 2014-09-15 Glenn Morris <rgm@gnu.org>
744 * image.el (image-multi-frame-p): Fix thinko - do not force
745 a delay if none was specified. (Bug#18334)
747 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
749 * window.el (fit-window-to-buffer): Doc fix.
751 2014-09-15 Ivan Shmakov <ivan@siamics.net>
753 * desktop.el (desktop-create-buffer): Check that buffers are still live
754 before burying them (bug#18373).
756 2014-09-15 Glenn Morris <rgm@gnu.org>
758 * calendar/diary-lib.el (diary-list-entries):
759 Restore 24.3 display behavior. (Bug#18381)
761 2014-09-15 Eli Zaretskii <eliz@gnu.org>
763 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
764 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
765 discrepancy between window-pixel-edges and mouse events, and
766 avoids moving mode line up when the mouse click is on the modeline
767 and no drag is attempted.
769 2014-09-14 Daniel Colascione <dancol@dancol.org>
771 * register.el (insert-register): Change default interactive
774 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
776 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
777 Suppress debug messages.
779 * net/tramp.el (tramp-file-name-handler):
780 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
783 2014-09-13 Christopher Schmidt <ch@ristopher.com>
785 * calendar/calendar.el (calendar-update-mode-line):
786 Do not overwrite mode-line-format if calendar-mode-line-format is
789 2014-09-13 Leo Liu <sdl.web@gmail.com>
791 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
792 (pcase--expand): Use it.
793 (pcase-exhaustive): New macro. (Bug#16567)
795 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
796 Add pcase-exhaustive.
798 2014-09-13 Eli Zaretskii <eliz@gnu.org>
800 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
801 using the specified transfer-encoding, if any, or 'undecided'.
802 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
803 broken at the window margin.
805 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
807 Support rendering of HTML parts in Rmail (bug#4258).
808 * mail/rmailmm.el (rmail-mime-process): Handle text/html
809 separately from other text/ types. Suppress tagline for
811 (rmail-mime-parse): Don't change visibility of tagline here.
812 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
813 Handle text/html specially.
814 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
815 (rmail-mime-insert-html, rmail-mime-render-html-shr)
816 (rmail-mime-render-html-lynx): New functions.
817 (rmail-mime-fix-inserted-faces): New function.
818 (rmail-mime-process-multipart): Find the best part to show
819 following rmail-mime-prefer-html if set.
820 (rmail-mime-searching): New variable.
821 (rmail-search-mime-message): Bind rmail-mime-searching to
822 suppress rendering while searching.
824 2014-09-12 Sam Steingold <sds@gnu.org>
826 * progmodes/sql.el (sql-product-alist): Add vertica.
827 (sql-vertica-program, sql-vertica-options)
828 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
829 New functions and variables to support Vertica.
830 Inspired by code by Roman Scherer <roman@burningswell.com>.
832 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
834 * ses.el (ses-file-format-extend-parameter-list): Rename from
835 ses-file-format-extend-paramter-list, to correct a misspelling.
838 2014-09-10 Alan Mackenzie <acm@muc.de>
840 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
841 gets loaded at run-time).
842 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
843 c-lang-const to c-make-no-parens-syntax-table and correct the
845 (c-no-parens-syntax-table): Correct the logic of the
848 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
850 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
852 * progmodes/cc-mode.el (c-basic-common-init):
853 Set open-paren-in-column-0-is-defun-start.
854 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
855 Remove declarations, unused.
856 (run-mode-hooks): Remove declaration.
857 (font-lock-defaults): Use plain `defvar' to declare.
858 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
859 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
860 (c-make-mode-syntax-table): Don't micro-optimize.
861 (c-keywords, c-keyword-member-alist): Simplify.
862 (c-kwds-lang-consts): Don't eval at compile-time.
863 (c-primary-expr-regexp): Comment out unused vars.
864 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
865 (c-font-byte-compile): New var.
866 (c--compile): New function. Use it instead of `byte-compile'.
867 (c-cpp-matchers): Quote the value returned by
868 `c-make-syntactic-matcher' in case it's not self-evaluating.
869 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
870 parentheses instead (in case MATCHER happens to be a list).
871 (c-font-lock-enum-tail): Remove unused var `start'.
872 (c-font-lock-objc-methods): Silence byte-compiler warnings.
873 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
874 test into an argument.
875 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
876 (c-get-char-property): Don't use `eval' just to unquote a constant.
877 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
879 (c-put-char-property-fun): Don't call `byte-compile' by hand.
880 (c-clear-char-property, c-clear-char-properties): Check that `property'
881 is a quoted constant.
882 (c-emacs-features): Remove `infodock', `syntax-properties', and
883 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
884 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
885 changing buffer, so we don't have to setq them again afterwards.
886 (c-lang-const): Remove redundant symbolp assertions.
887 (c-find-assignment-for-mode): Use `or'.
888 * Makefile.in (compile-one-process): Remove cc-mode dependency.
890 2014-09-09 Sam Steingold <sds@gnu.org>
892 * progmodes/sql.el (sql-default-directory): Fix type annotation.
894 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
896 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
897 Change doc comments into docstrings.
898 * Makefile.in: Remove cc-awk dependency.
900 2014-09-08 Sam Steingold <sds@gnu.org>
902 * progmodes/sql.el (sql-send-line-and-next): New command,
904 (sql-show-sqli-buffer): Display the buffer instead of its name and
905 bind the command to C-c C-z.
906 (sql-default-directory): New user option.
907 (sql-product-interactive): Bind `default-directory' to it to
908 enable remote connections using Tramp.
909 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
910 suitable buffer is available.
912 2014-09-08 Glenn Morris <rgm@gnu.org>
914 * calendar/calendar.el (calendar-basic-setup):
915 Fix calendar-view-holidays-initially-flag and fancy display.
916 * calendar/diary-lib.el (diary-live-p): Doc fix.
918 * calendar/calendar.el (calendar-basic-setup):
919 Avoid clobbering calendar with diary. (Bug#18381)
921 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
923 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
925 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
927 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
930 2014-09-08 Eli Zaretskii <eliz@gnu.org>
932 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
934 2014-09-06 Leo Liu <sdl.web@gmail.com>
936 * emacs-lisp/pcase.el (pcase): Doc fix.
937 (pcase--split-vector): New function.
938 (pcase--q1): Support vector qpattern. (Bug#18327)
940 2014-09-05 Sam Steingold <sds@gnu.org>
942 * textmodes/tex-mode.el (tex-print-file-extension): New user
944 (tex-print): Use it instead of the hard-coded string.
946 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
948 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
949 Expand `default-directory'.
951 2014-09-05 Martin Rudalics <rudalics@gmx.at>
953 * scroll-bar.el (horizontal-scroll-bars-available-p):
955 (horizontal-scroll-bar-mode): Rewrite using
956 horizontal-scroll-bars-available-p.
957 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
958 horizontal-scroll-bars-available-p.
960 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
962 * subr.el (call-process-shell-command, process-file-shell-command):
963 Make the `args' obsolete (bug#18409).
964 (start-process-shell-command, start-file-process-shell-command):
967 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
969 * calc/calc-forms.el (math-normalize-hms): Do a better check for
970 "negative" hms forms.
972 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
974 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
975 returns nil (bug#18391).
977 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
979 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
980 terminating paren (bug#18352).
981 (eldoc-last-data-store): Return cached data.
982 (eldoc-get-var-docstring): Avoid setq.
983 (eldoc-get-fnsym-args-string): Clarify data flow.
985 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
987 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
988 case where we're currently providing part of the &rest arg after some
989 &key args, as in define-ibuffer-op (bug#18048).
991 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
993 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
994 buffer-local setting of which-func-mode.
995 (which-func-mode): Use defvar-local.
996 (which-function-mode): Don't reset which-func-mode in each buffer since
997 it might have been set by someone else.
998 (which-func-update-ediff-windows): Check which-function-mode.
1000 2014-09-03 Martin Rudalics <rudalics@gmx.at>
1002 * frame.el (frame-initialize): Remove horizontal-scroll-bars
1003 from frame-initial-frame-alist.
1004 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
1005 (horizontal-scroll-bar-mode-explicit)
1006 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
1007 (toggle-horizontal-scroll-bar): Remove.
1008 (horizontal-scroll-bar-mode): Remove defcustom.
1009 (horizontal-scroll-bar-mode): Fix doc-string.
1010 (scroll-bar-toolkit-scroll)
1011 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
1013 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1015 * emacs-lisp/package.el (package-generate-description-file):
1016 Properly quote the arguments (bug#18332). Change second arg.
1017 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1019 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1020 the *-pkg.el file. Adjust to new calling convention of
1021 package-generate-description-file.
1023 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1024 (gud-gdb-completions): Remove obsolete workaround.
1026 2014-09-03 Eli Zaretskii <eliz@gnu.org>
1028 * subr.el (posn-col-row): Revert the change from commit
1029 r99634.2.576 eliz@gnu.org-20101113210758-8ml5kibjtza5ysmb, which
1030 was inadvertently merged from emacs-23 release branch in r102428
1031 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1032 introduced an off-by-one error in the reported row when there is a
1033 header line. (Bug#18384)
1035 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
1037 * progmodes/python.el (python-indent-post-self-insert-function):
1038 Avoid electric colon at beginning-of-defun. (Bug#18228)
1040 2014-09-03 Glenn Morris <rgm@gnu.org>
1042 * tutorial.el (tutorial--display-changes):
1043 Fix 2014-08-01 change. (Bug#18382)
1045 2014-09-03 Ken Brown <kbrown@cornell.edu>
1047 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1048 the Cygwin-w32 build. (Bug#18347)
1050 2014-09-03 Glenn Morris <rgm@gnu.org>
1052 * tar-mode.el (tar--extract, tar-extract):
1053 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1055 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1057 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
1058 handle multiline elements (bug#18380).
1060 2014-09-01 Eli Zaretskii <eliz@gnu.org>
1062 * ls-lisp.el (ls-lisp-use-string-collate)
1063 (ls-lisp-UCA-like-collation): New defcustoms.
1064 (ls-lisp-string-lessp): Use them to control sorting by file
1066 (ls-lisp-version-lessp): New function.
1067 (ls-lisp-handle-switches): Use it to implement the -v switch of
1069 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
1071 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
1073 * ibuffer.el: Replace mode-specific quit function with
1074 `quit-window' via `special-mode'.
1075 (ibuffer-mode-map): Use keybindings from special-mode-map instead
1077 (ibuffer): Don't store previous windows configuration.
1078 Let `quit-window' handle restoring.
1079 (ibuffer-quit): Remove function. Use `quit-window' instead.
1080 (ibuffer-restore-window-config-on-quit): Remove variable.
1081 (ibuffer-prev-window-config): Remove variable.
1083 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
1085 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
1086 name instead of variable name in hook docstring. (Bug#18349)
1088 2014-08-29 Martin Rudalics <rudalics@gmx.at>
1090 * window.el (display-buffer-at-bottom): Prefer bottom-left
1091 window to other bottom windows. Reuse a bottom window if it
1092 shows the buffer already. Suggested by Juri Linkov
1093 <juri@jurta.org> in discussion of (Bug#18181).
1095 2014-08-29 Leo Liu <sdl.web@gmail.com>
1097 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
1098 append to minibuffer-setup-hook. (Bug#18341)
1100 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1102 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
1104 (lookup-syntax-properties): Silence byte-compiler.
1105 (c-lang-defconst): Quote the code with `lambda' rather than with
1107 (c-lang-const): Avoid unneeded setq.
1108 (c-lang-constants-under-evaluation): Add docstring.
1109 (c-lang--novalue): New constant.
1110 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
1111 (c-get-lang-constant): Same here.
1112 Get the mode's value using `funcall' now that the code is quoted
1115 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
1117 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
1120 2014-08-28 Martin Rudalics <rudalics@gmx.at>
1122 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
1123 interpretation of `portion-whole'.
1125 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
1127 * net/tramp-adb.el: Spell author name correctly.
1129 2014-08-28 João Távora <joaotavora@gmail.com>
1131 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1132 use url-expand-file-name. (Bug#18310)
1134 2014-08-28 Glenn Morris <rgm@gnu.org>
1136 * emulation/cua-rect.el (cua--highlight-rectangle):
1137 Avoid error at point-min. (Bug#18309)
1139 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1141 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1142 executable-find (bug#18244).
1144 * simple.el (self-insert-uses-region-functions): Defvar.
1146 2014-08-28 Glenn Morris <rgm@gnu.org>
1148 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
1150 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
1152 * startup.el (normal-top-level): Now use internal--top-level-message.
1154 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
1156 * startup.el (normal-top-level): Use top-level-message.
1158 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1160 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
1161 URLs containing spaces and the like.
1163 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
1165 * subr.el (remq): Fix docstring (Bug#18253).
1167 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
1169 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
1171 2014-08-24 Alan Mackenzie <acm@muc.de>
1173 Handle C++11's "auto" and "decltype" constructions.
1174 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
1175 and return 'decltype.
1176 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
1177 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
1179 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
1181 (c-font-lock-c++-new): Handle "decltype" constructions.
1182 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
1183 New c-lang-defconsts/defvars.
1184 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
1185 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
1186 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
1187 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
1189 Make ">>" act as double template ender in C++ Mode.
1190 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
1191 off from c->-op-cont-re.
1192 (c->-op-cont-tokens): Change to use the above.
1193 (c->-op-without->-cont-regexp): New lang-const.
1194 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1195 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
1198 2014-08-23 Alan Mackenzie <acm@muc.de>
1200 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
1201 loop, bug #18306. The bug was introduced on 2014-08-02.
1203 2014-08-21 Eli Zaretskii <eliz@gnu.org>
1205 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
1206 Don't recognize a Top node if there are other sectioning commands
1207 earlier in the Texinfo file. This fixes a bug in
1208 texinfo-make-menu and avoids inflooping in
1209 texinfo-all-menus-update when they are invoked on texinfo.texi.
1211 2014-08-21 Martin Rudalics <rudalics@gmx.at>
1213 * window.el (window--side-window-p): New function.
1214 (split-window, window-splittable-p): Use window--side-window-p to
1215 determine whether WINDOW can be split (Bug#18304).
1216 * calendar/calendar.el (calendar-basic-setup): Fix one call of
1217 `window-splittable-p' and add another (Bug#18304).
1219 2014-08-20 Sam Steingold <sds@gnu.org>
1221 * progmodes/python.el (python-new-pythonpath): Extract from
1222 `python-shell-calculate-process-environment'.
1224 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1226 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
1227 for &key args (bug#18048).
1229 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1231 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
1232 (eldoc-function-argstring-format): Remove.
1233 (eldoc-function-argstring): Always return upcase args.
1234 Use help-make-usage. Don't add parens.
1235 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
1236 it's too late to do it right (bug#18048).
1238 2014-08-18 Eli Zaretskii <eliz@gnu.org>
1240 * scroll-bar.el (scroll-bar-horizontal-drag-1)
1241 (scroll-bar-toolkit-horizontal-scroll): When determining the
1242 paragraph direction, use the buffer of the window designated in
1245 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
1247 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
1248 context of unified diff.
1250 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
1252 Add dependencies to fix loaddefs race during parallel builds.
1253 Without this, for example, 'make -j bootstrap' can fail and report
1254 "Opening input file: no such file or directory,
1255 .../lisp/calendar/diary-loaddefs.el ... recipe for target
1256 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
1257 got confused because diary-loaddefs.el was being built in parallel.
1258 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
1259 Depend on $(CAL_DIR)/cal-loaddefs.el.
1260 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
1262 2014-08-16 Martin Rudalics <rudalics@gmx.at>
1264 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
1265 portion-whole for scrolling right-to-left text.
1267 2014-08-15 Leo Liu <sdl.web@gmail.com>
1269 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1270 elements from imenu.
1272 2014-08-15 Glenn Morris <rgm@gnu.org>
1274 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1276 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
1278 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1279 Add Guile regexpses.
1281 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
1283 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
1284 add Guile debugger support for GUD.
1286 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1288 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
1289 (mouse-sel--ignore): New function.
1290 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
1291 (mouse-sel-original-interprogram-cut-function)
1292 (mouse-sel-original-interprogram-paste-function): Remove.
1294 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
1296 * vc/vc-git.el (vc-git-resolve-when-done): New function.
1297 Call "git add" when there are no longer conflict markers.
1299 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1301 * vc/vc-git.el (vc-git-find-file-hook): New function.
1302 Adds support for calling smerge (and resolve) on a conflicted file.
1303 (vc-git-conflicted-files): New function.
1304 Useful in itself and a step towards better smerge support.
1306 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1308 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
1309 to the first part if they're the same as the selection.
1311 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1313 * image-mode.el (image-transform-reset): New command and menu item.
1314 (image-mode-map): Rearrange the menu items to put presumably more
1315 obscure items at the end.
1317 2014-08-12 Juri Linkov <juri@jurta.org>
1319 * vc/vc-annotate.el (vc-annotate-background-mode):
1320 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
1322 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1324 * files.el (out-of-memory-warning-percentage): Turn it off by default.
1326 2014-08-11 Sam Steingold <sds@gnu.org>
1328 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
1329 the presence of known validators (tidy, (o)nsgmls).
1331 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
1333 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
1335 * net/newst-treeview.el (newsticker-treeview-date-format): New.
1336 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
1338 2014-08-11 Glenn Morris <rgm@gnu.org>
1340 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1341 chose coding system for writing before backing up, since it causes
1342 a more serious problem than the one it solves. (Closes Bug#18141,
1345 2014-08-11 Martin Rudalics <rudalics@gmx.at>
1347 * window.el (window-total-size): Make doc-string more self-contained.
1349 * window.el (display-buffer-below-selected): Restore original
1350 behavior if buffer is already displayed in the window below the
1351 selected one (Bug#18181).
1353 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
1355 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1358 2014-08-11 Eli Zaretskii <eliz@gnu.org>
1360 * info.el (info): Doc fix.
1362 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
1364 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1367 2014-08-11 Eli Zaretskii <eliz@gnu.org>
1369 * simple.el (default-line-height): A floating-point value of
1370 line-spacing means a fraction of the default frame font's height,
1371 not of the font currently used by the 'default' face.
1372 Truncate the pixel value, like the display engine does.
1373 (window-screen-lines): Use window-inside-pixel-edges for
1374 determining the window height in pixels. (Bug#18195)
1376 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
1378 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
1380 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
1382 Enumerate evaluated sexp diary entries (Bug#7911).
1383 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
1384 (icalendar-export-sexp-enumeration-days): New.
1385 (icalendar-export-region): Now `icalendar--convert-to-ical'
1386 returns a cons cell or a list of cons cells.
1387 (icalendar--convert-to-ical): Take care of
1388 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
1389 (icalendar--convert-ordinary-to-ical)
1390 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1391 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
1392 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
1393 (icalendar--convert-anniversary-to-ical): Return cons cell.
1394 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
1395 entries. Return (list of) cons cells.
1397 2014-08-09 Juri Linkov <juri@jurta.org>
1399 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
1400 to reevaluate `vc-annotate-color-map'. (Bug#18189)
1402 2014-08-09 Alan Mackenzie <acm@muc.de>
1404 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
1405 for top-level that can cause unacceptable slow-down in scrolling.
1406 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
1407 Antipov from 2013-10-14 in emacs-devel.
1409 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1411 * ibuffer.el (ibuffer-mode-map): Use toggle button for
1412 `ibuffer-auto-mode' menu entry.
1413 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
1415 2014-08-08 Matthias Meulien <orontee@gmail.com>
1417 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
1420 2014-08-07 Martin Rudalics <rudalics@gmx.at>
1422 * window.el (window--min-size-1): Explicitly set WINDOW arg in
1423 calls of window-min-pixel-height and window-min-pixel-width.
1425 2014-08-07 Reuben Thomas <rrt@sc3d.org>
1427 * progmodes/ada-mode.el:
1428 * net/tramp.el (tramp-handle-file-symlink-p):
1429 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
1430 about VMS, which we no longer support.
1431 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
1432 and fix a FIXME, using convert-standard-filename in place of
1433 removed ada-convert-file-name.
1435 2014-08-07 Eli Zaretskii <eliz@gnu.org>
1437 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
1439 2014-08-07 Reuben Thomas <rrt@sc3d.org>
1441 Refer to MS-DOS using the same name everywhere.
1442 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
1443 ``msdog'' become ``MS-DOS''.
1445 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
1447 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1448 Use cached "remote-copy-args" value, if available. (Bug#18199)
1450 2014-08-07 Leo Liu <sdl.web@gmail.com>
1452 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
1453 Revert change on 2014-03-22.
1455 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
1457 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
1458 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
1462 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1464 * image-mode.el (image-toggle-display-image): Always rescale images
1465 to not be bigger than the current window.
1467 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
1469 * net/eww.el (eww-bookmarks-directory): New variable.
1470 (eww-write-bookmarks): Use it.
1471 (eww-read-bookmarks): Ditto.
1473 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1475 * net/shr.el (shr-copy-url): Also copy the image URL.
1477 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
1479 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
1480 also for Tramp working buffers.
1482 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1484 * progmodes/python.el: Fix completions inside (i)pdb.
1485 (python-shell-completion-pdb-string-code): Make obsolete.
1486 (python-shell-completion-get-completions):
1487 Use python-shell-completion-string-code resending setup code
1488 continuously for (i)pdb.
1490 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
1492 * rect.el (rectangle--default-line-number-format): Rename
1493 from misspelled rectange--default-line-number-format (Bug#18045).
1496 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
1498 Don't mishandle year-9999 dates (Bug#18176).
1499 * calendar/parse-time.el (parse-time-rules):
1500 Allow years up to most-positive-fixnum.
1501 * calendar/time-date.el (date-to-time):
1502 Pass "Specified time is not representable" errors through.
1504 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1506 * progmodes/python.el: Completion code cleanups.
1507 (python-shell-completion-get-completions): Detect and send import
1508 statements directly to completion function.
1509 (python-shell-completion-at-point): Simplify prompt calculation
1510 and import vs input completion logic.
1512 2014-08-02 Alan Mackenzie <acm@muc.de>
1514 Fix confusion in C++ file caused by comma in "= {1,2},".
1516 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
1517 for a statement boundary marked by "}", check there's no "="
1519 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
1520 non-nil `comma-delim' argument.
1521 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
1522 initializer expression more accurately.
1524 Correct loop termination condition in c-syntactic-skip-backward.
1525 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
1526 the situation where, after moving back out of a literal,
1527 skip-chars-backward doesn't move further, yet checks have still to
1530 2014-08-01 Eli Zaretskii <eliz@gnu.org>
1532 * tutorial.el (tutorial--display-changes): Accept punctuation
1533 characters before the key binding. (Bug#18146)
1535 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
1537 * progmodes/python.el: Shell output capture enhancements.
1538 (python-shell-accept-process-output): New function.
1539 (inferior-python-mode)
1540 (python-shell-send-setup-code): Use it.
1542 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
1544 * calendar/icalendar.el (icalendar--decode-isodatetime):
1545 Use actual current-time-zone when converting to local time. (Bug#15408)
1547 2014-07-29 Martin Rudalics <rudalics@gmx.at>
1549 * window.el (window--state-put-2): Handle horizontal scroll
1552 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1554 * menu-bar.el (menu-bar-update-buffers): Update item list format
1555 in `buffers-menu' to confirm with changes to `get_keyelt'
1556 (r117463). (Bug#18016)
1558 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1560 * progmodes/python.el (inferior-python-mode): Make input prompts
1563 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
1565 * net/tramp-sh.el (tramp-get-remote-python): Also search for
1566 executables named "python2" or "python3".
1567 (tramp-get-remote-uid-with-python): Use parentheses around
1568 arguments to `print' to make it compatible with Python 3.
1569 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
1571 2014-07-28 Eli Zaretskii <eliz@gnu.org>
1573 * window.el (window--pixel-to-total): Use FRAME's root window, not
1574 that of the selected frame. (Bug#18112, Bug#16674)
1576 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
1578 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1581 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1583 * progmodes/python.el (inferior-python-mode): Doc fix.
1585 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1587 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1588 not a character, ignore it instead of raising an error.
1590 * calendar/todo-mode.el: Fix handling of marked items and make
1591 minor code improvements.
1592 (todo-edit-item): If there are marked items, ensure user can only
1593 invoke editing commands that work with marked items.
1594 (todo-edit-item--text): When there are marked items, make it a
1595 noop if invoked with point not on an item; otherwise, ensure it
1596 applies only to item at point.
1597 (todo-item-undone): If there are marked not-done items, return
1598 point to its original position before signaling user error.
1599 (todo--user-error-if-marked-done-item): New function.
1600 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1601 (todo-item-done): Use it.
1603 2014-07-28 Glenn Morris <rgm@gnu.org>
1605 * files.el (toggle-read-only): Re-add basic doc-string.
1606 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1608 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1609 Replace missing `switch-to-prolog' with `run-prolog'.
1610 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1612 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1614 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1615 of file-wide setting when changing category-wide setting.
1617 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1619 * doc-view.el (doc-view-open-text): Don't require that the
1620 document is saved in a file (e.g., email attachment).
1622 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1624 Parse completion input in a iPython friendly way. (Bug#18084)
1625 * progmodes/python.el
1626 (python-shell-completion-at-point): Rename from
1627 python-shell-completion-complete-at-point.
1628 (inferior-python-mode): Use it.
1629 (python-completion-at-point): Rename from
1630 python-completion-complete-at-point. Parse input up to first
1631 backward occurrence of whitespace, open-paren, close-paren or
1633 (python-mode): Use it.
1635 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1637 Prevent Python process shell buffer to pop twice.
1638 * progmodes/python.el (python-shell-switch-to-shell): Do not call
1641 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1643 * progmodes/python.el
1644 (python-shell-with-shell-buffer): New macro.
1645 (python-shell-font-lock-get-or-create-buffer)
1646 (python-shell-font-lock-kill-buffer)
1647 (python-shell-font-lock-with-font-lock-buffer)
1648 (python-shell-font-lock-cleanup-buffer)
1649 (python-shell-font-lock-toggle): Use it.
1650 (python-shell-font-lock-turn-on)
1651 (python-shell-font-lock-turn-off): Use it. Make command.
1653 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1655 Grab all Python process output before inferior-python-mode hooks.
1656 * progmodes/python.el (inferior-python-mode):
1657 Call accept-process-output and sit-for to ensure all output for process
1658 has been received before running hooks.
1659 (python-shell-internal-get-or-create-process):
1660 Cleanup accept-process-output and sit-for calls.
1662 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1664 More robust shell startup and code setup.
1665 * progmodes/python.el (python-shell-make-comint):
1666 Remove accept-process-output call.
1667 (python-shell-get-buffer): Return current buffer if major-mode is
1668 inferior-python-mode.
1669 (python-shell-get-or-create-process): Use it.
1670 (python-shell-send-setup-code): Send all setup code in one string,
1671 output success message and accept-process-output.
1673 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1675 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
1676 Add rudimentary support for bidirectional text.
1678 2014-07-27 Martin Rudalics <rudalics@gmx.at>
1680 * frame.el (frame-notice-user-settings): Rewrite using
1681 frame-initial-frame-tool-bar-height.
1682 * menu-bar.el (menu-bar-horizontal-scroll-bar)
1683 (menu-bar-no-horizontal-scroll-bar): New functions.
1684 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
1686 * scroll-bar.el (scroll-bar-lines)
1687 (set-horizontal-scroll-bar-mode)
1688 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
1689 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
1690 (scroll-bar-toolkit-horizontal-scroll): New functions.
1691 (horizontal-scroll-bar-mode)
1692 (previous-horizontal-scroll-bar-mode)
1693 (horizontal-scroll-bar-mode-explicit): New variables.
1694 (horizontal-scroll-bar-mode): New option.
1695 (toggle-horizontal-scroll-bar): Do something.
1696 (top-level): Bind horizontal-scroll-bar mouse-1.
1697 * startup.el (tool-bar-originally-present): Remove variable.
1698 (command-line): Don't set tool-bar-originally-present.
1699 * window.el (window-min-height): Update doc-string.
1700 (window--dump-frame): Dump horizontal scroll bar values.
1701 (window--min-size-1): Handle minibuffer window separately.
1702 Count in margins and horizontal scroll bar. Return safe value
1703 iff IGNORE equals 'safe.
1704 (frame-windows-min-size): New function (used by frame resizing
1706 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
1708 (window--sanitize-window-sizes): New function.
1709 (window-split-min-size): Remove.
1710 (split-window): Count divider-width. Don't use
1711 `window-split-min-size' any more. Reword error messages.
1712 Sanitize windows sizes after splitting.
1714 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
1716 Use `defvar-local' more.
1717 * progmodes/hideshow.el
1718 (hs-c-start-regexp, hs-block-start-regexp)
1719 (hs-block-start-mdata-select, hs-block-end-regexp)
1720 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
1721 remove corresponding `make-variable-buffer-local' top-level calls.
1723 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1725 Cleanup error signals. (Bug#18067)
1726 * progmodes/python.el
1727 (python-indent-shift-left): Use user-error instead.
1728 (python-shell-prompt-detect): Use lwarn with python group.
1729 (python-completion-complete-at-point)
1730 (python-eldoc--get-doc-at-point): Don't signal error.
1732 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1734 Support for packages in Python shell. (Bug#13570)
1735 * progmodes/python.el (python-shell--package-depth): New var.
1736 (python-shell-package-enable): New command.
1737 (python-util-list-directories, python-util-list-files)
1738 (python-util-list-packages): New functions.
1740 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1742 Faster comint output. (Bug#16875)
1743 * progmodes/python.el:
1744 (python-comint-output-filter-function): Make obsolete.
1745 (python-comint-postoutput-scroll-to-bottom): New function.
1746 (inferior-python-mode): Set comint-output-filter-functions to a
1749 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1751 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1752 Safeguard current point and undo history.
1754 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1756 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
1757 * progmodes/python.el:
1758 (python-shell-prompt-input-regexps): Add iPython block prompt.
1759 (python-shell-output-syntax-table): Delete var.
1760 (python-shell-font-lock-with-font-lock-buffer): New macro.
1761 (python-shell-font-lock-get-or-create-buffer)
1762 (python-shell-font-lock-kill-buffer)
1763 (python-shell-font-lock-cleanup-buffer)
1764 (python-shell-font-lock-post-command-hook)
1765 (python-shell-font-lock-turn-off): New functions.
1766 (python-shell-font-lock-turn-on): New function.
1767 (inferior-python-mode): Use it.
1768 (python-shell-font-lock-toggle): New command.
1769 (python-shell-font-lock-enable): Rename from
1770 python-shell-enable-font-lock.
1771 (run-python-internal): Use it.
1772 (python-shell-font-lock-comint-output-filter-function): New function.
1773 (python-shell-comint-end-of-output-p): New function.
1774 (python-shell-output-filter): Use it.
1775 (python-util-comint-last-prompt): New function.
1776 (python-util-text-properties-replace-name): New function.
1778 2014-07-25 Glenn Morris <rgm@gnu.org>
1780 * vc/ediff-init.el (ediff-toggle-read-only-function):
1781 * vc/ediff-util.el (ediff-toggle-read-only):
1782 Replace obsolete toggle-read-only with read-only-mode.
1784 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
1786 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
1787 with `save-match-data'. (Bug#18095)
1789 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
1791 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
1792 order to ensure that row and col are lexically bound inside the
1795 2014-07-21 Glenn Morris <rgm@gnu.org>
1797 * progmodes/hideif.el (hide-ifdef-mode-submap):
1798 Also substitute read-only-mode.
1799 * bindings.el (mode-line-toggle-read-only):
1800 * bs.el (bs-toggle-readonly):
1801 * buff-menu.el (Buffer-menu-toggle-read-only):
1802 * dired.el (dired-toggle-read-only):
1803 * files.el (view-read-only, find-file-read-only)
1804 (find-file-read-only-other-window)
1805 (find-file-read-only-other-frame):
1806 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1807 Doc fixes re toggle-read-only.
1809 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1811 * progmodes/python.el: Add comment about pipe buffering and
1812 solutions for missing/delayed output in inferior Python shells.
1815 * progmodes/python.el (python-mode): Don't set
1816 mode-require-final-newline. (Bug#17990)
1818 Make python.el work with IPython automatically. (Bug#15510)
1819 * progmodes/python.el:
1820 (python-shell-completion-setup-code): New value supporting iPython.
1821 (python-shell-completion-string-code): New value supporting iPython.
1822 (python-shell-completion-get-completions): Use them.
1823 (python-shell-completion-module-string-code): Make obsolete.
1824 (python-shell-prompt-input-regexps)
1825 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1826 (python-shell-output-filter): Fix comment typo.
1828 Fix Python shell prompts detection for remote hosts.
1829 * progmodes/python.el (python-shell-prompt-detect):
1830 Replace call-process with process-file and make it more robust.
1832 Autodetect Python shell prompts. (Bug#17370)
1833 * progmodes/python.el:
1834 (python-shell-interpreter-interactive-arg)
1835 (python-shell-prompt-detect-enabled)
1836 (python-shell-prompt-detect-failure-warning)
1837 (python-shell-prompt-input-regexps)
1838 (python-shell-prompt-output-regexps): New vars.
1839 (python-shell-prompt-calculated-input-regexp)
1840 (python-shell-prompt-calculated-output-regexp): New vars.
1841 (python-shell-get-process-name)
1842 (python-shell-internal-get-process-name)
1843 (python-shell-output-filter)
1844 (python-shell-completion-get-completions): Use them.
1845 (python-shell-prompt-detect)
1846 (python-shell-prompt-validate-regexps): New functions.
1847 (python-shell-prompt-set-calculated-regexps): New function.
1848 (inferior-python-mode): Use it. Also honor overriden
1849 python-shell-interpreter and python-shell-interpreter-args.
1850 (python-shell-make-comint): Honor overriden
1851 python-shell-interpreter and python-shell-interpreter-args.
1852 (python-shell-get-or-create-process): Make it testable by allowing
1853 to call run-python non-interactively.
1854 (python-util-valid-regexp-p): New function.
1855 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1856 (python-shell-prompt-output-regexp)
1857 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1859 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
1861 * emacs-lisp/smie.el (smie-config--guess-1): Split from
1863 (smie-config--guess): Use it.
1865 * emacs-lisp/edebug.el: Use nadvice.
1866 (edebug-original-read): Remove.
1867 (edebug--read): Rename from edebug-read and add `orig' arg.
1868 (edebug-uninstall-read-eval-functions)
1869 (edebug-install-read-eval-functions): Use nadvice.
1870 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
1871 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
1872 (edebug-read-string, edebug-read-function): Use just `read'.
1873 (edebug-original-debug-on-entry): Remove.
1874 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
1876 (debug-on-entry): Override with nadvice.
1878 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
1879 it also makes sense to bind it to a non-mouse event.
1881 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
1883 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1885 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
1888 * rect.el (rectangle--string-preview): Don't assume there
1889 a non-nil default (bug#17984).
1891 2014-07-16 Glenn Morris <rgm@gnu.org>
1893 * desktop.el (after-init-hook): Disable startup frame restoration
1894 in non-graphical situations. (Bug#17693)
1896 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1897 if it was "empty", or used for a different set of files. (Bug#17884)
1899 2014-07-16 Eli Zaretskii <eliz@gnu.org>
1901 * bindings.el (mode-line-remote): If default-directory is not a
1902 string, don't call file-remote-p on it; instead state in the
1903 help-echo that it is nil. (Bug#17986)
1905 2014-07-14 Daniel Colascione <dancol@dancol.org>
1907 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
1908 to `macroexpand-all'
1910 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1911 Use `macroexpand-all' instead of `cl-macroexpand-all'.
1913 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1915 Fix bug: C-x v v discarded existing log message (Bug#17884).
1916 * vc/vc-dispatcher.el (vc-log-edit):
1917 Don't clobber an already-existing log message.
1919 2014-07-12 Glenn Morris <rgm@gnu.org>
1921 * vc/log-edit.el (log-edit-changelog-entries):
1922 Check for a visited-but-never-saved ChangeLog.
1924 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
1926 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1927 a non-existing file (bug#17970).
1929 * faces.el (face-name): Undo last change.
1930 (x-resolve-font-name): Don't call face-name (bug#17956).
1932 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1934 Fix dedenters and electric colon handling. (Bug#15163)
1935 * progmodes/python.el
1936 (python-rx-constituents): Add dedenter and block-ender.
1937 (python-indent-dedenters, python-indent-block-enders): Delete.
1938 (python-indent-context): Return new case for dedenter-statement.
1939 (python-indent-calculate-indentation): Handle new case.
1940 (python-indent-calculate-levels): Fix levels calculation for
1941 dedenter statements.
1942 (python-indent-post-self-insert-function): Fix colon handling.
1943 (python-info-dedenter-opening-block-message): New function.
1944 (python-indent-line): Use it.
1945 (python-info-closing-block)
1946 (python-info-closing-block-message): Remove.
1947 (python-info-dedenter-opening-block-position)
1948 (python-info-dedenter-opening-block-positions)
1949 (python-info-dedenter-statement-p): New functions.
1951 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
1953 * files.el (out-of-memory-warning-percentage): New defcustom.
1954 (warn-maybe-out-of-memory): Use it.
1956 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
1958 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
1959 when calling `read-string'. (Bug#17839)
1961 2014-07-10 Eli Zaretskii <eliz@gnu.org>
1963 * files.el (warn-maybe-out-of-memory): Fix the wording of the
1966 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
1968 * files.el (warn-maybe-out-of-memory): New function.
1969 (find-file-noselect): Use it.
1971 2014-07-09 Sam Steingold <sds@gnu.org>
1973 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
1974 `constant' like `bless', `return' &c
1976 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * rect.el (apply-on-rectangle): Check forward-line really moved to the
1981 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1983 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1984 the middle of a line (bug#17896).
1986 2014-07-09 Juri Linkov <juri@jurta.org>
1988 * startup.el (command-line): Append displaying the warning about
1989 the errors in the init file to the end of `after-init-hook'.
1992 * faces.el (face-name): Return input arg `face' as-is
1993 when it's not a symbol.
1994 (x-resolve-font-name): Don't check if the face is a symbol.
1997 * facemenu.el (list-colors-print): In help-echo format use %.2f
1998 instead of %d because now HSV values are floating-point components
1999 between 0.0 and 1.0.
2001 2014-07-09 Glenn Morris <rgm@gnu.org>
2003 * emulation/cua-rect.el (cua--activate-rectangle):
2004 Avoid setting cua--rectangle to nil. (Bug#17877)
2006 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
2008 * calendar/todo-mode.el: Fix wrong-type-argument error when
2009 marking multiple consecutive items.
2010 (todo-toggle-mark-item): Don't try to mark the empty lines at the
2011 end of the todo and done items sections. Note in doc string that
2012 items marked by passing a numeric prefix argument can include the
2013 last todo and first done items.
2014 (todo-mark-category): Don't try to mark the empty line between the
2015 todo and done items sections.
2017 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
2019 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
2020 proper Lisp quoting (bug#17934).
2022 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
2023 require-final-newline since prog-mode already took care of it (bug#17947).
2025 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
2027 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
2028 refer to the Todo mode Info manual. Update the comment on
2030 (todo-find-filtered-items-file): Add todo-prefix overlays.
2031 (todo-filter-items): Reorder a let-bound variable to avoid a
2032 wrong-type-argument error on canceling the file choice dialog.
2034 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * progmodes/octave.el (inferior-octave-mode):
2037 Set comint-input-ring-size to a number (bug#17912).
2039 2014-07-09 Juri Linkov <juri@jurta.org>
2041 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
2042 and `isearch-mode' associated with nil. (Bug#17849)
2044 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2046 * linum.el (linum--face-height): New function (bug#17813).
2047 (linum-update-window): Use it to adjust margin to linum's width.
2049 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
2050 * eshell/em-smart.el (eshell-smart-scroll-window):
2051 Use with-selected-window.
2053 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
2054 Remove also pointless window&mark manipulation.
2056 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
2057 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
2058 (perl-continuation-line-p): Don't skip over anything else than labels.
2059 Return the previous char.
2060 (perl-calculate-indent): Use syntax-ppss instead of parse-start
2061 and update callers accordingly. For continuation lines, check the
2062 the case of array hashes.
2063 (perl-backward-to-noncomment): Make it non-interactive.
2064 (perl-backward-to-start-of-continued-exp): Rewrite.
2066 2014-07-08 Sam Steingold <sds@gnu.org>
2068 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
2071 2014-07-08 Juri Linkov <juri@jurta.org>
2073 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
2074 (vc-annotate-color-map): Use less saturated colors (20%) for
2076 (vc-annotate-very-old-color): Add default value for background-mode.
2077 (vc-annotate-background): Set default value to nil since now text on
2078 the default backgrounds should be legible in light and dark modes.
2079 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
2082 2014-07-08 Juri Linkov <juri@jurta.org>
2084 * simple.el (transpose-chars): Don't move point into read-only area.
2087 2014-07-08 Juri Linkov <juri@jurta.org>
2089 * window.el (with-displayed-buffer-window): New macro.
2090 (with-temp-buffer-window, with-current-buffer-window):
2091 Use `macroexp-let2' to evaluate and bind variables
2092 in the same order as macro arguments.
2093 (display-buffer--action-function-custom-type):
2094 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
2096 * minibuffer.el (minibuffer-completion-help): Replace
2097 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
2098 with actions that display *Completions* at-bottom when called
2099 from the minibuffer, or below-selected in a normal buffer.
2100 Associate `window-height' with `fit-window-to-buffer'.
2101 Let-bind `pop-up-windows' to nil.
2103 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
2104 instead of `with-current-buffer-window'. (Bug#17809)
2106 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
2108 * progmodes/hideif.el (hide-ifdef-env): Change to global.
2109 (hide-ifdef-env-backup): New variable.
2110 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
2111 New customizable variables.
2112 (hif-clear-all-ifdef-defined): New defun.
2113 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
2114 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
2115 (hif-tokenize): Fix for MS-DOS/Win EOL style.
2116 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
2117 Fix bug to hide the correct #elif region(s).
2118 (hif-range-elif): New defun.
2119 (hif-recurse-level): New var.
2120 (hif-evaluate-region, hif-evaluate-macro): New defun.
2121 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
2123 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
2126 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
2128 * net/dbus.el (dbus-peer-handler): New defun.
2129 (dbus-register-service): Register it. (Bug#17858)
2130 (dbus-managed-objects-handler): Fix docstring.
2132 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
2134 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
2135 (narrow-to-defun): New arg include-comments, defaulting to it
2138 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
2140 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
2141 different calling convention to rectangle--unhighlight-for-redisplay.
2143 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
2145 * net/tramp.el (tramp-call-process): Handle error strings.
2147 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
2149 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
2150 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
2152 * net/trampver.el: Update release number.
2154 2014-07-03 Juri Linkov <juri@jurta.org>
2156 * desktop.el (desktop-save): Rename arg `auto-save' to
2157 `only-if-changed'. Doc fix. (Bug#17873)
2159 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
2162 Use insert-for-yank (bug#17271).
2164 2014-07-03 Leo Liu <sdl.web@gmail.com>
2166 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
2167 Support lexical-binding.
2169 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
2171 * vc/log-edit.el (log-edit-goto-eoh): New function.
2172 (log-edit--match-first-line): Use it (bug#17861).
2174 2014-07-03 Glenn Morris <rgm@gnu.org>
2176 * vc/log-edit.el (log-edit-hook): Add missing :version.
2178 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
2180 * progmodes/python.el (python-indent-post-self-insert-function):
2181 Enhancements to electric indentation behavior inside
2184 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
2186 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
2187 buffer-invisibility-spec (bug#17867).
2189 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
2191 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
2194 2014-07-03 Glenn Morris <rgm@gnu.org>
2196 * cus-edit.el (help):
2197 * finder.el (finder-known-keywords):
2198 * help.el (help-for-help-internal):
2199 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
2200 (ediff-redraw-registry-buffer):
2201 * vc/ediff-ptch.el (ediff-patch-file-internal):
2202 Doc fixes re "online" help. (Bug#17803)
2204 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
2205 (idlwave-mode): Doc URL update.
2207 2014-07-01 Juri Linkov <juri@jurta.org>
2209 * man.el: Display man pages immediately and use process-filter
2210 to format them asynchronously.
2211 (Man-width): Doc fix.
2213 (Man-start-calling): Use `with-selected-window' to get
2214 `frame-width' and `window-width'.
2215 (Man-getpage-in-background): Call `Man-notify-when-ready'
2216 immediately after creating a new buffer. Call `Man-mode' and set
2217 `mode-line-process' in the created buffer. Set process-filter to
2218 `Man-bgproc-filter' in start-process branch. In call-process branch
2219 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
2220 Use `Man-start-calling' inside `with-current-buffer'.
2221 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
2222 (Man-cleanup-manpage): Don't print messages.
2223 (Man-bgproc-filter): New function.
2224 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
2225 user moved it during asynchronous formatting. Move calls of
2226 `Man-fontify-manpage' and `Man-cleanup-manpage' to
2227 `Man-bgproc-filter'. Move the call of `Man-mode' to
2228 `Man-getpage-in-background'. Use `quit-restore-window'
2229 instead of `kill-buffer'. Use `message' instead of `error'
2230 because errors are caught by process sentinel.
2231 (Man-mode): Move calls of `Man-build-page-list',
2232 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
2233 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
2235 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
2236 for the message about the man page cleaned up.
2238 2014-07-01 Mario Lang <mlang@delysid.org>
2240 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
2241 cosutomization option `gnutls-verify-error'.
2243 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2245 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
2246 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
2248 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
2249 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
2250 is suspended (bug#17857).
2252 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
2254 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2255 Prefer utf-8 coding. (Bug#17859)
2257 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
2259 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
2262 2014-06-30 Glenn Morris <rgm@gnu.org>
2264 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
2265 (autoload-ensure-default-file): Maybe make existing output writable.
2266 * Makefile.in (AUTOGEN_VCS): Remove.
2267 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
2269 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
2271 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
2273 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
2275 New if-let, when-let, thread-first and thread-last macros.
2277 * emacs-lisp/subr-x.el
2278 (internal--listify, internal--check-binding)
2279 (internal--build-binding-value-form, internal--build-binding)
2280 (internal--build-bindings): New functions.
2281 (internal--thread-argument, thread-first, thread-last)
2282 (if-let, when-let): New macros.
2284 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
2286 * net/rcirc.el (rcirc-buffer-process): Restore previous
2287 behaviour. (Bug#17772)
2289 2014-06-29 Alan Mackenzie <acm@muc.de>
2291 Don't call c-parse-state when c++-template-syntax-table is active.
2292 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
2293 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
2294 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
2296 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
2298 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
2299 account for file-wide setting of todo-top-priorities-overrides.
2300 Make code a bit cleaner.
2302 2014-06-28 Glenn Morris <rgm@gnu.org>
2304 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
2306 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
2308 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
2309 category-wide setting of todo-top-priorities-overrides, check for
2310 a file-wide setting and fontify accordingly.
2312 2014-06-28 Glenn Morris <rgm@gnu.org>
2314 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
2316 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2318 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
2320 2014-06-28 K. Handa <handa@gnu.org>
2324 * composite.el: Setup composition-function-table for dotted circle.
2325 (compose-gstring-for-dotted-circle): New function.
2327 * international/characters.el: Add category "^" to all
2328 non-spacing characters.
2330 2014-06-28 Glenn Morris <rgm@gnu.org>
2332 * Makefile.in (doit): Remove force rule.
2333 (custom-deps, finder-data, autoloads, update-subdirs)
2334 (compile-one-process): PHONY targets do not need force rules.
2336 * Makefile.in (compile-main, compile, compile-always):
2337 No need to explicitly pass variables to ourself in recursive calls.
2339 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2341 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
2343 2014-06-26 Glenn Morris <rgm@gnu.org>
2345 * Makefile.in (update-authors): Update for moved authors.el.
2347 2014-06-26 Leo Liu <sdl.web@gmail.com>
2349 * skeleton.el (skeleton-end-hook): Default to nil and move the
2350 work to skeleton-insert. (Bug#17850)
2352 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
2354 * calc/calc-alg.el (math-beforep):
2355 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
2356 Simplify because string-lessp can accept symbols as args.
2358 2014-06-26 Daiki Ueno <ueno@gnu.org>
2360 * emacs-lisp/package.el (package--check-signature):
2361 If package-check-signature is allow-unsigned, don't signal error when
2362 we can't verify signature because of missing public key
2365 2014-06-26 Glenn Morris <rgm@gnu.org>
2367 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
2368 Remove outdated declaration.
2370 * emacs-lisp/authors.el (authors-valid-file-names)
2371 (authors-renamed-files-alist): Additions.
2373 2014-06-26 Leo Liu <sdl.web@gmail.com>
2375 * textmodes/picture.el (picture-set-tab-stops):
2376 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
2377 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
2379 * progmodes/asm-mode.el (asm-calculate-indentation):
2380 Use indent-next-tab-stop.
2382 * indent.el (indent-accumulate-tab-stops): New function.
2384 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2386 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
2387 (package-desc-status): Obey it.
2389 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
2391 * calendar/todo-mode.el: Fix two bugs.
2392 (todo-insert-item--basic): If user cancels item insertion to
2393 another category before setting priority, show original category
2394 whether it is in the same or a different file.
2395 (todo-set-item-priority): After selecting category, instead of
2396 moving point to top, which extends an active region, restore it.
2398 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2400 * help-fns.el (describe-function-1): Check file-name is a string before
2401 calling help-fns--autoloaded-p (bug#17564).
2403 2014-06-26 Juri Linkov <juri@jurta.org>
2405 * desktop.el (desktop-auto-save-enable)
2406 (desktop-auto-save-disable): New functions.
2407 (desktop-save-mode, desktop-auto-save-timeout): Use them.
2408 (desktop-read): Disable the autosave before loading the desktop,
2409 and enable afterwards. (Bug#17351)
2411 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2413 Fix some indentation problem with \; and pipes (bug#17842).
2414 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
2415 (sh-smie--default-forward-token, sh-smie--default-backward-token):
2417 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
2418 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
2419 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
2421 2014-06-26 Glenn Morris <rgm@gnu.org>
2423 * emacs-lisp/find-func.el (find-function-C-source-directory):
2424 Use file-accessible-directory-p.
2426 * ps-samp.el: Make it slightly less awful.
2427 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
2428 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
2429 Only set local values.
2430 (ps-article-subject, ps-article-author): Use standard functions
2431 like mail-fetch-field.
2432 (ps-info-file, ps-info-node): Use match-string.
2433 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
2434 (ps-samp-ps-setup): ... new function.
2436 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
2437 Optimize away code unneeded on any modern Emacs.
2439 * emacs-lisp/authors.el: Move to ../admin.
2441 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
2443 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
2445 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
2446 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
2447 performance enhancements.
2448 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
2450 (hif-factor, hif-string-concatenation, intern-safe): Support string
2451 concatenation and argumented macro expansion.
2452 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
2453 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
2454 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
2455 (hif-canonicalize-tokens, hif-place-macro-invocation)
2456 (hif-parse-macro-arglist): Mostly new functions for supporting
2457 argumented macro expansion.
2458 (hif-string-concatenation, hif-stringify, hif-token-concat)
2459 (hif-token-stringification, hif-token-concatenation):
2460 Stringification and concatenation.
2461 (hif-find-next-relevant): Fix comments.
2462 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
2463 some cases involving #elif.
2464 (hif-find-define, hif-add-new-defines): New functions for automatically
2465 scanning of defined symbols.
2466 (hide-ifdef-guts): Fix for defined symbol auto scanning.
2467 (hide-ifdef-undef): Fix behavior to match CPP.
2469 2014-06-25 Glenn Morris <rgm@gnu.org>
2471 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
2472 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
2473 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
2474 files. They are not relevant to the original issue (bug#1004),
2475 and cause unnecessary recompilation (bug#2151).
2477 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2479 * play/landmark.el: Use lexical-binding and avoid `intangible'.
2480 (landmark--last-pos): New var.
2481 (landmark--intangible-chars): New const.
2482 (landmark--intangible): New function.
2483 (landmark-mode, landmark-move): Use it.
2484 (landmark-mode): Remove properties.
2485 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
2486 (landmark-cross-qtuple):
2487 Don't worry about `intangible' any more.
2488 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
2489 (landmark-init-display): Don't set `intangible' and `point-entered'.
2490 (square): Remove. Inline it instead.
2491 (landmark--distance): Rename from `distance'.
2492 (landmark-calc-distance-of-robot-from): Rename from
2493 calc-distance-of-robot-from.
2494 (landmark-calc-smell-internal): Rename from calc-smell-internal.
2496 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
2498 * files.el (dir-locals-find-file, file-relative-name):
2499 * info.el (Info-complete-menu-item):
2500 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
2501 to compare-strings to avoid out-of-range errors.
2502 * subr.el (string-prefix-p): Adjust to match strict range
2503 checking in compare-strings.
2505 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
2507 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
2508 for comment lines non-greedy and stopping at newlines to fix stack
2509 overflows with large files.
2511 2014-06-24 Eli Barzilay <eli@barzilay.org>
2513 * calculator.el (calculator-last-input): Drop 'ascii-character property
2516 2014-06-24 Leo Liu <sdl.web@gmail.com>
2518 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
2519 tab-stop-list to nil. (Bug#16381)
2521 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
2522 (indent-rigidly-left-to-tab-stop)
2523 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
2524 (move-to-tab-stop): Change callers.
2526 2014-06-24 Eli Zaretskii <eliz@gnu.org>
2528 * skeleton.el (skeleton-insert): Yet another fix of the doc string
2529 wrt behavior of \n as the first/last element of a skeleton.
2531 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
2533 * net/tramp-adb.el (tramp-adb-handle-process-file):
2534 * net/tramp-sh.el (tramp-sh-handle-process-file):
2535 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
2536 the output buffer when DISPLAY is non-nil. (Bug#17815)
2538 2014-06-24 Glenn Morris <rgm@gnu.org>
2540 * play/landmark.el (landmark-move-down, landmark-move-up):
2541 Fix 2007-10-20 change - preserve horizontal position.
2543 2014-06-23 Sam Steingold <sds@gnu.org>
2545 * simple.el (kill-append): Remove undo boundary depending on ...
2546 (kill-append-merge-undo): New user option.
2548 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2550 * simple.el (handle-shift-selection, exchange-point-and-mark)
2551 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
2552 (transient-mark-mode): Use&set the global value.
2553 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
2554 * emulation/edt.el (edt-emulation-off): Save&restore the global
2555 transient-mark-mode setting.
2556 * obsolete/pc-select.el (pc-selection-mode): Use the
2557 transient-mark-mode function.
2559 2014-06-23 Eli Zaretskii <eliz@gnu.org>
2561 * international/fontset.el (script-representative-chars):
2562 Add representative characters for scripts added in Unicode 7.0.
2563 (otf-script-alist): Synchronize with the latest registry of OTF
2566 * international/characters.el (char-script-table): Update for
2567 scripts added and codepoint ranges changed in Unicode 7.0.
2569 2014-06-23 Eli Barzilay <eli@barzilay.org>
2571 * calculator.el (calculator-standard-displayer): Fix bug in use of
2572 `calculator-groupize-number'.
2573 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
2574 `eval' code, so it works in v24.3.1 too.
2575 (calculator-last-input): Comment to clarify purpose.
2577 2014-06-22 Mario Lang <mlang@delysid.org>
2579 * textmodes/rst.el (rst-comment-region): From from -> from.
2581 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
2583 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
2585 * electric.el (electric-layout-post-self-insert-function):
2586 * emacs-lisp/ert.el (ert--insert-infos):
2587 * obsolete/vi.el (vi-set-mark):
2588 * term.el (term-handle-scroll):
2589 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
2590 * wid-edit.el (widget-editable-list-value-create):
2591 Prefer point-marker to copy-marker of point.
2593 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2595 Fix completion retrieval parsing (bug#17209).
2596 * progmodes/python.el (python-mode):
2597 (python-util-strip-string): New function.
2598 (python-shell-completion-get-completions): Use it.
2600 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2602 * skeleton.el (skeleton-insert): Fix last change.
2604 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2606 Enhancements for outline integration (bug#17796).
2607 * progmodes/python.el (python-mode): Properly set
2608 outline-heading-end-regexp so that comments after colons for
2609 defuns are supported.
2611 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2613 * skeleton.el (skeleton-insert): Doc fix.
2615 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2617 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
2618 (smie-config-guess): Use smie-config-local so the rules are obeyed
2621 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
2622 since it's already done inside the loop (bug#17819).
2624 2014-06-21 Martin Rudalics <rudalics@gmx.at>
2626 * mouse.el (mouse-drag-line): Re-remove code initially removed
2627 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
2630 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2632 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
2633 align with the surrounding parent (bug#17721).
2635 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2637 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
2639 (texinfo-insert-block, texinfo-insert-@end)
2640 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
2641 local setting of skeleton-end-newline by adding an explicit \n to
2642 the skeletons where appropriate. (Bug#17801)
2644 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2646 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
2647 (smie-indent--hanging-p): Use it.
2648 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
2650 2014-06-21 Leo Liu <sdl.web@gmail.com>
2652 * simple.el (read-quoted-char): Don't let help chars pop up help
2655 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2657 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
2660 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
2661 Drop unknown events instead of burping.
2663 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2665 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
2666 and later. (Bug#17790)
2668 2014-06-21 Juri Linkov <juri@jurta.org>
2670 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
2671 to `soft'. (Bug#17554)
2673 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2675 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
2678 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
2680 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
2681 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
2683 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
2685 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
2686 `unread-command-events'.
2688 2014-06-19 William Xu <william.xwl@gmail.com>
2690 * progmodes/hideif.el (hif-string-to-number): Don't return float for
2691 hex integer constants (bug#17807).
2693 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2695 * international/mule-util.el (truncate-string-ellipsis): New var.
2696 (truncate-string-to-width): Use it.
2698 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
2700 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
2701 (lisp-string-in-doc-position-p): New function, extracted from
2702 lisp-font-lock-syntactic-face-function.
2703 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
2705 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
2707 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
2709 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2711 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
2712 (bubbles--game-over): Don't add `intangible' properties since they
2715 2014-06-18 Juri Linkov <juri@jurta.org>
2717 * vc/ediff-init.el (ediff-current-diff-Ancestor)
2718 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
2719 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
2720 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
2721 Add `min-colors 88' version with removed black/white foregrounds.
2724 2014-06-18 Juri Linkov <juri@jurta.org>
2726 * vc/diff-mode.el (diff-changed): Empty face definition to use
2727 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
2728 (diff-context): Use darker color on light background and
2729 lighter color on dark background.
2731 2014-06-18 Juri Linkov <juri@jurta.org>
2733 * vc/diff-mode.el (diff-refine-changed): Rename from
2734 `diff-refine-change' for consistency with `diff-changed'.
2735 (diff-refine-change): Add obsolete face alias. (Bug#10181)
2737 * vc/smerge-mode.el (smerge-refined-changed): Rename from
2738 `smerge-refined-change'.
2739 (smerge-refined-change): Add obsolete face alias.
2741 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * rect.el (rectangle-preview): New custom.
2744 (rectangle): New group.
2745 (rectangle--pos-cols): Add `window' argument.
2746 (rectangle--string-preview-state, rectangle--string-preview-window):
2748 (rectangle--string-flush-preview, rectangle--string-erase-preview)
2749 (rectangle--space-to, rectangle--string-preview): New functions.
2750 (string-rectangle): Use them.
2751 (rectangle--inhibit-region-highlight): New var.
2752 (rectangle--highlight-for-redisplay): Obey it. Make sure
2753 `apply-on-region' uses the point-crutches of the right window.
2754 Use :align-to rather than multiple spaces.
2756 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
2758 * ruler-mode.el (ruler-mode-window-col)
2759 (ruler-mode-mouse-set-left-margin)
2760 (ruler-mode-mouse-set-right-margin): Fix calculation of column
2761 from mouse position (Bug#17768).
2763 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
2765 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
2766 without varname or rhs causes crash.
2767 (dun-ftp): Fix bug where blank ftp password is allowed, making it
2768 impossible to win endgame.
2769 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
2771 (dun-help): Bump version number; update contact info.
2773 2014-06-15 Eli Barzilay <eli@barzilay.org>
2775 * calculator.el (calculator-prompt, calculator-remove-zeros)
2776 (calculator-mode-hook, calculator-operators, calculator-stack)
2777 (calculator-mode): Tweak docstring.
2778 (calculator-user-operators): Tweak docstring, fix a bug in the last
2780 (calculator-displayer): `std' case has an optional boolean.
2781 (calculator-displayers): Use the new boolean to group in decimal mode.
2782 (calculator-mode-map, calculator, calculator-message)
2783 (calculator-op-arity, calculator-add-operators)
2784 (calculator-string-to-number, calculator-displayer-prev)
2785 (calculator-displayer-next, calculator-remove-zeros)
2786 (calculator-eng-display, calculator-number-to-string)
2787 (calculator-update-display, calculator-last-input)
2788 (calculator-clear-fragile, calculator-digit, calculator-decimal)
2789 (calculator-exp, calculator-saved-move, calculator-clear)
2790 (calculator-copy, calculator-put-value, calculator-help)
2791 (calculator-expt, calculator-truncate): Minor code improvements.
2792 (calculator-need-3-lines): New function pulling out code from
2794 (calculator-get-display): Rename from `calculator-get-prompt', and
2796 (calculator-push-curnum): Rename from `calculator-curnum-value', and
2797 extended for all uses of it. All callers changed.
2798 (calculator-groupize-number): New utility for splitting a number into
2800 (calculator-standard-displayer): Improve code, new optional argument to
2801 use comma-split groups, make second argument optional too to use with
2802 'left/'right inputs. All callers changed.
2803 (calculator-reduce-stack-once): New utility, doing the meat of what
2804 `calculator-reduce-stack' used to do, much improved (mostly using
2805 `pcase' for conciseness and clarity).
2806 (calculator-reduce-stack): Now doing just the reduction loop using
2807 `calculator-reduce-stack-once'.
2808 (calculator-funcall): Improve code, make it work in v24.3.1 too.
2809 (calculator-last-input): Improve code, remove some old cruft.
2810 (calculator-quit): Kill `calculator-buffer' in electric mode too.
2811 (calculator-integer-p): Remove.
2812 (calculator-fact): Improve code, make it work on non-integer values
2813 too (using truncated numbers).
2815 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
2817 Sync with Tramp 2.2.10.
2819 * net/tramp.el (tramp-methods): Tweak docstring.
2820 (tramp-handle-file-accessible-directory-p): Check for
2821 `file-readable-p' instead of `file-executable-p'.
2822 (tramp-check-cached-permissions):
2823 Use `tramp-compat-file-attributes'.
2824 (tramp-call-process): Add new argument VEC. Adapt callees in all
2827 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
2828 (tramp-adb-maybe-open-connection): Don't set
2829 `tramp-current-*' variables.
2831 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
2832 file properties of temporary buffers.
2834 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
2836 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
2837 (tramp-gvfs-handle-delete-file): Flush file
2838 properties, not directory properties.
2839 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
2840 reading "unix::mode".
2841 (tramp-gvfs-handle-file-name-all-completions):
2842 Use "-h" option for "gvfs-ls".
2843 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
2844 (tramp-gvfs-send-command): Simplify traces.
2846 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
2847 (vc-git-program, vc-hg-program): Declare.
2848 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
2849 (tramp-methods) <nc>: Add new method.
2850 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
2851 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
2853 (tramp-default-user-alist): Add "nc".
2854 (top): Remove completion function for "sftp". Add completion
2855 functions for "nc" and "psftp".
2856 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
2857 Implement support for "nc" method.
2858 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
2859 (tramp-remote-coding-commands, tramp-call-local-coding-command):
2861 (tramp-sh-handle-write-region): Tweak error message.
2862 (tramp-sh-handle-vc-registered): Remove backends when the remote
2863 binary does not exist.
2864 (tramp-find-inline-encoding): Do not raise an error.
2865 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
2866 the "nc" case. Quote result also locally.
2868 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2869 (tramp-smb-handle-set-file-acl): Use `start-process'.
2870 (tramp-smb-handle-insert-directory): Use progress reporter.
2871 (tramp-smb-handle-rename-file): Flush also file properties of
2874 * net/trampver.el: Update release number.
2876 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2878 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
2880 (ses-localvars): Remove ses--local-printer-list, unused.
2881 (ses--metaprogramming): New macro. Use it to defvar variables.
2882 (ses-set-localvars): Simplify.
2883 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
2884 property-list into an alist.
2885 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2886 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
2887 Remove; use defstruct accessors/setters instead.
2888 (ses-cell-formula-aset, ses-cell-printer-aset)
2889 (ses-cell-references-aset): Remove, use setf instead.
2890 (ses--alist-get): New function.
2891 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
2892 Use an alist instead of a plist and don't do move-to-front since the
2893 list is always short.
2894 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
2895 (ses-cell-property-set-fun, ses-cell-property-set)
2896 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
2897 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
2898 (ses--letref): New macro.
2899 (ses-cell-property-pop): Rewrite.
2900 (ses--cell): Rename from ses-cell and make it into a function.
2901 Make `formula' fallback on `value' if nil.
2902 (ses--local-printer): Rename from ses-local-printer and make it into
2904 (ses-set-cell): Turn it into a macro so finding the accessor from the
2905 field name is done at compile time.
2906 (ses-repair-cell-reference-all): Test presence of `sym' rather than
2907 `ref' before adding `sym' to :ses-repair-reference.
2908 (ses-calculate-cell): Use ses--letref rather than
2909 ses-cell-property-get-handle.
2910 (ses-write-cells): Use a single prin1-to-string.
2911 (ses-setter-with-undo): New function.
2912 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
2913 (ses-unset-with-undo): Remove.
2914 (ses-load): Prefer apply' over `eval'.
2915 (ses-read-printer, ses-set-column-width): Use standard "(default
2918 2014-06-15 Glenn Morris <rgm@gnu.org>
2920 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
2922 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
2923 Replace delete-duplicates and mapcan by cl- versions throughout.
2924 And cl-macroexpand-all by macroexpand-all.
2925 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
2927 2014-06-15 Eli Zaretskii <eliz@gnu.org>
2929 * subr.el (posn-col-row): Doc fix. (Bug#17768)
2931 2014-06-15 Juri Linkov <juri@jurta.org>
2933 * bindings.el: Put `ascii-character' property on keypad keys
2934 mapped to characters. (Bug#17759)
2936 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2938 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
2939 bumping forward into a closing paren (bug#17761).
2941 * term/xterm.el (xterm--version-handler): Work around for OSX
2942 Terminal.app (bug#17607).
2944 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
2946 * play/dunnet.el (dun-describe-room, dun-mode):
2947 If a lamp is in the room, you won't be eaten by a grue.
2949 2014-06-13 Glenn Morris <rgm@gnu.org>
2951 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
2952 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
2953 (compile-always): GNU make automatically passes
2954 command-line arguments to sub-makes.
2956 * calendar/calendar.el (calendar-generate-window):
2957 Remove pointless call to font-lock-fontify-buffer.
2959 2014-06-13 Matthias Meulien <orontee@gmail.com>
2961 * simple.el (completion-list-mode-map): Navigate with tab and backtab
2964 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2966 * simple.el (set-mark-command): Simplify a bit.
2968 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2970 * help.el (help--key-binding-keymap): New function.
2971 (help--binding-locus): New function.
2972 (describe-key): Mention the keymap in which the binding was
2975 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2977 * hippie-exp.el (he--all-buffers): New function.
2978 (try-expand-line-all-buffers, try-expand-list-all-buffers)
2979 (try-expand-dabbrev-all-buffers): Use it.
2981 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
2983 * hippie-exp.el (try-expand-line-all-buffers)
2984 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
2985 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
2986 original buffer, in case they're buffer-local.
2988 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
2990 * ses.el (ses-initial-global-parameters-re): New defconst, a
2991 specific regexp is needed now that ses.el can handle both
2992 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
2994 (ses-localvars): Add local variables needed for local printer handling.
2995 (ses-set-localvars): Handle hashmap initialisation.
2996 (ses-paramlines-plist): Add param-line for number of local printers.
2997 (ses-paramfmt-plist): New defconst, needed for code factorization
2998 between functions `ses-set-parameter' and
2999 `ses-file-format-extend-paramter-list'
3000 (ses-make-local-printer-info): New defsubst.
3001 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
3002 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
3003 (ses-cell-printer-aset): New defmacro.
3004 (ses-local-printer-compile): New defun.
3005 (ses-local-printer): New defmacro.
3006 (ses-printer-validate, ses-call-printer): Add support for local
3008 (ses-file-format-extend-paramter-list): New defun.
3009 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
3011 (ses-load): Add support for local printer functions.
3012 (ses-read-printer): Update docstring and add support for local printer
3014 (ses-refresh-local-printer, ses-define-local-printer): New defun.
3015 (ses-safe-printer): Add support for local printer functions.
3017 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
3019 * ffap.el (ffap-lax-url): New var (bug#17723).
3020 (ffap-url-at-point): Use it.
3021 (ffap-file-at-point): Avoid returning just "/".
3023 2014-06-12 Matthias Meulien <orontee@gmail.com>
3025 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
3026 (python-mode-map): Bind it.
3028 * progmodes/python.el (class skeleton): Don't erase last char of class
3031 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
3033 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
3035 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
3037 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
3040 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3042 * international/mule-cmds.el: Use lexical-binding.
3043 (ucs-names): Simplify.
3045 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
3047 * progmodes/python.el (run-python): Use read-shell-command.
3049 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3051 * rect.el: Make it possible to move bounds past EOL or into TABs.
3052 (operate-on-rectangle): Use apply-on-rectangle.
3053 (rectangle--mark-crutches): New var.
3054 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
3055 (rectangle--crutches, rectangle--reset-crutches): New functions.
3056 (apply-on-rectangle): Obey crutches. Avoid setq.
3057 Fix missing final iteration if end is at EOB&BOL.
3058 (rectangle-mark-mode-map): Add remap bindings for
3059 exchange-point-and-mark and char/line movements.
3060 (rectangle--*-char): New function.
3061 (rectangle-exchange-point-and-mark, rectangle-right-char)
3062 (rectangle-left-char, rectangle-forward-char)
3063 (rectangle-backward-char, rectangle-next-line)
3064 (rectangle-previous-line): New commands.
3065 (rectangle--place-cursor): New function.
3066 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
3068 2014-06-08 Glenn Morris <rgm@gnu.org>
3070 * startup.el (initial-buffer-choice): Doc fix.
3071 Reset :version (adding an option does not merit a :version bump).
3073 * bookmark.el (bookmark-load):
3074 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
3076 2014-06-08 Juri Linkov <juri@jurta.org>
3078 * desktop.el: Activate auto-saving on window configuration changes.
3079 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
3080 `desktop-auto-save-set-timer' to/from
3081 `window-configuration-change-hook'.
3082 (desktop-auto-save-set-timer): Change REPEAT arg of
3083 `run-with-idle-timer' from t to nil.
3084 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
3086 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
3088 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
3089 vc-hg-command (bug#17570).
3091 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3093 * international/mule-cmds.el (ucs-names): Add special entry for BEL
3096 2014-06-08 Glenn Morris <rgm@gnu.org>
3098 * startup.el (window-setup-hook): Doc fix.
3100 * emacs-lisp/package.el (package-check-signature)
3101 (package-unsigned-archives): Doc fixes.
3103 2014-06-08 Martin Rudalics <rudalics@gmx.at>
3105 * window.el (display-buffer-use-some-window): Don't make window
3106 used smaller than it was before (Bug#17671).
3108 2014-06-08 Eli Zaretskii <eliz@gnu.org>
3110 * menu-bar.el (menu-bar-open): Fix last change: use the PC
3111 'redisplay' instead of '(sit-for 0)'.
3113 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
3115 * net/tramp.el (tramp-ssh-controlmaster-options):
3116 Improve search regexp. (Bug#17653)
3118 2014-06-08 Glenn Morris <rgm@gnu.org>
3120 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
3122 2014-06-08 Eli Zaretskii <eliz@gnu.org>
3124 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
3126 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
3128 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
3131 * vc/vc-hg.el (vc-hg-log-graph): New var.
3132 (vc-hg-print-log): Use it.
3133 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
3134 graph output (bug#17515).
3136 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * mouse.el (mouse-posn-property): Ignore buffer position info when the
3139 even happened elsewhere.
3141 2014-06-06 Mario Lang <mlang@delysid.org>
3143 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
3144 `recenter' if `current-buffer' is equal to `window-buffer'.
3146 2014-06-05 Leo Liu <sdl.web@gmail.com>
3148 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
3150 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
3152 * textmodes/tildify.el (tildify-foreach-region-outside-env):
3153 New function which calls a callback on portions of the buffer that are
3154 outside of ignored environments.
3155 (tildify-build-regexp): Remove function since it is now
3156 incorporated in `tildify-foreach-region-outside-env' where it is
3157 optimised and simplified by the use of `mapconcat'.
3158 (tildify-tildify): Return number of substitutions made so that…
3159 (tildify-count): …can be removed.
3160 (tildify-find-env): Accept a new PAIRS argument which was
3161 previously looked up in `tildify-ignored-environments-alist' each
3162 time the function was called. With this change, the lookup is
3163 performed only once in `tildify-foreach-region-outside-env'.
3164 (tildify-region): Greatly simplify the function since now most of
3165 the work is done by `tildify-foreach-region-outside-env'.
3166 (tildify-mode-alist): Simplify slightly by avoiding if and setq
3167 and instead using or.
3169 * textmodes/tildify.el (tildify-ignored-environments-alist):
3170 Optimise environments regexes
3172 Each time beginning of an environment to ignore is found,
3173 `tildify-find-env' needs to identify regexp for the ending
3174 of the environment. This is done by trying all the opening
3175 regexes on matched text in a loop, so to speed that up, this
3176 loop should have fewer things to match, which can be done by
3177 using alternatives in the opening regexes.
3179 Coincidentally, this should make matching of the opening
3180 regexp faster as well thanks to the use of `regexp-opt' and
3181 having common prefix pulled from many regexes.
3183 * textmodes/tildify.el (tildify-string-alist)
3184 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
3185 of supported modes since `xml-mode' is no longer a thing but just
3186 an alias to the former. Also include comments and insides of tags
3187 in `tildify-ignored-environments-alist' for XML modes. Finally,
3188 since XML does not define “ ”[1], use a numeric reference for
3189 a no-break space (namely “ ”)
3191 [1] XML specification defines only a handful of predefined entities.
3192 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
3193 and includes only <, >, &, ' and " (meaning <,
3194 >, &, ' and " respectively). This is in contrast to HTML and even
3195 XHTML which defined a whole bunch of entities including “ ”.
3197 * textmodes/tildify.el (tildify-pattern-alist)
3198 (tildify-string-alist, tildify-ignored-environments-alist):
3199 Improve defcustom's types by adding more tags explaining what each
3200 value means and replace “sexp” used in
3201 `tildify-ignored-environments-alist' with a full type declaration.
3203 * textmodes/tildify.el (tildify-find-env): Fix matched group
3204 indexes in end-regex building
3206 When looking for a start of an ignore-environment, the regex is built
3207 by concatenating regexes of all the environments configured in
3208 `tildify-ignored-environments-alist'. So for example, the following
3209 list could be used to match TeX's \verb and \verb* commands:
3211 (("\\\\verb\\(.\\)" . (1))
3212 ("\\\\verb\\*\\(.\\)" . (1)))
3214 This would result in the following regex being used to find the start
3215 of any of the variants of the \verb command:
3217 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
3219 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
3220 won't match anything, and thus (match-string 1) will be nil, which
3221 will cause building of the end-matching regex to fail.
3223 Fix this by using capture groups from the time when the opening
3224 regexes are matched individually.
3226 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
3227 in `tildify-find-env'
3229 The `tildify-ignored-environments-alist' allows the end-regex to
3230 be provided not as a static string but mix of strings and indexes
3231 of groups matched the begin-regex. For example, the “\verb!…!”
3232 TeX-command (where “!” is an arbitrary character) is handled
3235 ("\\\\verb\\*?\\(.\\)" . (1))
3237 In the same way, the following should be supported as well:
3239 ("open-\\(.\\)" . ("end-" 1))
3241 However the tildify-find-env function fails at
3244 (if (stringp (setq aux (car expression)))
3245 expression ; BUG: expression is a list
3246 (regexp-quote (match-string aux))))
3248 where the string part is handled incorrectly.
3250 The most trivial fix would be to replace `expression' in the
3251 true-part of the if-statement with `aux', but instead, this commit
3252 optimises `tildify-find-env' by changing it to use `mapconcat'
3253 rather than open-coded while-loop.
3255 2014-06-05 Mario Lang <mlang@delysid.org>
3257 * woman.el (woman-mapcan): Remove.
3258 (woman-parse-colon-path): Use cl-mapcan instead.
3260 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3262 * register.el: Add link to Emacs manual in Commentary.
3264 2014-06-02 Sam Steingold <sds@gnu.org>
3266 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
3267 (popup-menu): ...here.
3268 (menu-bar-open): Use it to avoid an error when `lookup-key'
3271 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
3273 * net/tramp.el (tramp-call-process): Add traces.
3274 (tramp-handle-unhandled-file-name-directory): Return "/".
3276 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
3278 Sync with upstream verilog-mode revision 3cd8144.
3279 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
3280 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
3281 (verilog-type-font-keywords): Add nor.
3282 (verilog-batch-execute-func): Force reading of Local Variables.
3283 Fix printing "no changes to be saved" with verilog-batch.
3284 (verilog-auto-arg-ports): Doc fix.
3285 Add verilog-auto-arg-format to support newlines in AUTOARG.
3286 (verilog-auto-arg): Doc fix.
3288 2014-06-02 Glenn Morris <rgm@gnu.org>
3290 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
3291 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
3292 * emulation/ws-mode.el: Move to obsolete/.
3293 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
3295 2014-06-02 Eli Zaretskii <eliz@gnu.org>
3297 * simple.el (keyboard-quit): Force update of mode lines, to remove
3298 the "Def" indicator, if we were defining a macro. (Bug#17615)
3300 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3302 * minibuffer.el (minibuffer-force-complete-and-exit):
3303 Obey minibuffer-default (bug#17545).
3305 * progmodes/js.el (js-indent-line): Don't mix columns and chars
3308 * subr.el (set-transient-map): Don't wait for some "nested"
3309 transient-map to finish if we're only supposed to be active for
3310 the next command (bug#17642).
3312 2014-06-02 Leo Liu <sdl.web@gmail.com>
3314 * emacs-lisp/gv.el (window-buffer, window-display-table)
3315 (window-dedicated-p, window-hscroll, window-point, window-start):
3316 Fix gv-expander. (Bug#17630)
3318 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3320 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
3323 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
3324 for the single comma, since ", " is *very* common in normal French text
3327 2014-06-02 Glenn Morris <rgm@gnu.org>
3329 * emacs-lisp/package.el (package-check-signature)
3330 (package-unsigned-archives): Fix :version.
3332 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3334 * subr.el (sit-for): Don't run input-methods (bug#15614).
3336 2014-06-02 Glenn Morris <rgm@gnu.org>
3338 * cus-start.el: Fix some :version numbers.
3340 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3342 * simple.el (deactivate-mark): Set mark-active to nil even if
3343 deactivation is done via setting transient-mark-mode to nil,
3344 since one is buffer-local and the other is global.
3346 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
3347 there can't be more than 2 arguments (bug#17584).
3349 2014-06-02 Glenn Morris <rgm@gnu.org>
3351 * simple.el (filter-buffer-substring-functions)
3352 (filter-buffer-substring-function, buffer-substring-filters)
3353 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
3355 * minibuffer.el (completion-in-region-functions, completion-in-region)
3356 (completion--in-region): Doc fixes.
3358 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
3359 (expand-abbrev, abbrev--default-expand): Doc fixes.
3361 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
3363 Include sources used to create macuvs.h.
3364 * international/README: Refer to the Unicode Terms of Use rather
3365 than copying it bodily here, as that simplifies maintenance.
3367 2014-06-01 Glenn Morris <rgm@gnu.org>
3369 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
3371 2014-05-31 Glenn Morris <rgm@gnu.org>
3373 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
3375 2014-05-30 Glenn Morris <rgm@gnu.org>
3377 * loadup.el: Treat `command-line-args' more flexibly.
3379 2014-05-30 Alan Mackenzie <acm@muc.de>
3381 Guard (looking-at "\\s!") from XEmacs.
3382 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
3384 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
3386 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
3387 The argument COUNT is now optional, to be more backward-compatible.
3388 Doc fix. (Bug#17560)
3390 2014-05-29 Reuben Thomas <rrt@sc3d.org>
3392 * whitespace.el (whitespace-report-region):
3393 Simplify documentation.
3394 (whitespace-report-region): Allow report-if-bogus to take the
3395 value `never', for non-interactive use.
3396 (whitespace-report): Refer to whitespace-report-region's
3399 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3401 * whitespace.el: Use font-lock-flush. Minimize refontifications.
3402 Side benefit: it works without jit-lock.
3403 (whitespace-point--used): New buffer-local var.
3404 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
3405 (whitespace-color-off): Use font-lock-flush.
3406 (whitespace-point--used, whitespace-point--flush-used): New functions.
3407 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
3408 (whitespace-empty-at-eob-regexp): Use them.
3409 (whitespace-post-command-hook): Rewrite.
3411 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
3412 (font-lock-fontify-buffer): Mark interactive-only.
3413 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
3415 (font-lock-specified-p): Remove redundant boundp check.
3416 (font-lock-flush-function, font-lock-ensure-function): New vars.
3417 (font-lock-turn-on-thing-lock): Set them.
3418 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
3419 (font-lock-after-change-function): Make `old-len' optional.
3420 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
3421 Call font-lock-flush, just in case.
3422 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
3424 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
3425 (vera-mode-map, vera-mode-menu): Remove bindings to it.
3426 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
3427 and with-syntax-table.
3428 * textmodes/conf-mode.el (conf-quote-normal):
3429 * progmodes/sh-script.el (sh-set-shell):
3430 * progmodes/prog-mode.el (prettify-symbols-mode):
3431 * progmodes/f90.el (f90-font-lock-n):
3432 * progmodes/cwarn.el (cwarn-mode):
3433 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
3434 * progmodes/compile.el (compilation-setup, compilation--unsetup):
3435 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
3436 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
3437 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
3438 font-lock-fontify-buffer-function and
3439 font-lock-unfontify-buffer-function.
3440 (rmail-unfontify-buffer-function, rmail-fontify-message):
3441 Use with-silent-modifications.
3442 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
3443 and font-lock-ensure.
3444 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
3446 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
3448 * emacs-lisp/package.el (package-generate-autoloads):
3449 Inhibit backup files.
3451 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3453 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
3456 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
3458 * textmodes/tildify.el (tildify-buffer, tildify-region):
3459 Add dont-ask option.
3461 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3463 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
3464 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
3466 * subr.el (internal--funcall-interactively): New.
3467 (internal--call-interactively): Remove.
3468 (called-interactively-p): Detect funcall-interactively instead of
3470 * simple.el (repeat-complex-command): Use funcall-interactively.
3471 (repeat-complex-command--called-interactively-skip): Remove.
3473 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * register.el (register-read-with-preview): Don't burp on
3476 frame switches (e.g. due to the frame we just popped).
3478 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
3479 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
3481 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
3483 * cus-face.el (custom-face-attributes): Add :distant-foreground.
3485 2014-05-26 Martin Rudalics <rudalics@gmx.at>
3487 * window.el (window--dump-frame): Remove interactive specification.
3489 2014-05-26 Glenn Morris <rgm@gnu.org>
3491 * hippie-exp.el (he-line-search-regexp):
3492 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
3494 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3496 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
3497 to avoid errors when trying to create or visit a file foo.todo
3498 located outside to todo-directory, and to allow having such files
3499 without them being tied to Todo mode (bug#17482).
3500 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
3501 (todo-archive-done-item, todo-find-filtered-items-file)
3502 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
3503 (todo-category-completions, todo-read-category): When visiting a
3504 Todo file, make sure we're in the right mode and the buffer local
3506 (todo-make-categories-list, todo-reset-nondiary-marker)
3507 (todo-reset-done-string, todo-reset-comment-string):
3508 After processing all Todo files, kill the buffers of those files that
3509 weren't being visited before the processing.
3510 (todo-display-as-todo-file, todo-add-to-buffer-list)
3511 (todo-visit-files-commands): Comment out.
3512 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
3513 (auto-mode-alist): Remove add-to-list calls making Todo file
3514 extensions unrestrictedly tied to Todo modes.
3516 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3518 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
3519 (advice-function-member-p): Tell it to check both names and functions
3521 (advice--add-function): Adjust call accordingly.
3523 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3525 * calendar/todo-mode.el: Miscellaneous bug fixes.
3526 (todo-delete-file): When deleting an archive but not its todo
3527 file, make sure to update the todo file's category sexp.
3528 (todo-move-category): Keep the moved category's name unless the
3529 file moved to already has a category with that name. If the
3530 numerically last category of the source file was moved, make the
3531 first category current to avoid selecting a nonexisting category.
3532 (todo-merge-category): Fix implementation to make merging to a
3533 category in another file work as documented. Eliminate now
3534 insufficient and unnecessary renaming of archive category, correct
3535 document string accordingly, and clarify it. If the numerically
3536 last category of the source file was merged, make the first
3537 category current to avoid selecting a nonexisting category.
3538 (todo-archive-done-item): When there are marked items and point
3539 happens to be on an unmarked item, ignore the latter. Don't leave
3540 point below last item after archiving marked items.
3541 (todo-unarchive-items): Fix logic to ensure unarchiving an item
3542 from an archive with only one category deletes the archive only
3543 when the category is empty after unarchiving. Make sure the todo
3544 file's category sexp is updated.
3545 (todo-read-file-name): Allow an existing file name even when it is
3546 not required (todo-move-category needs this to work as documented).
3547 (todo-add-file): Call todo-validate-name to reject the name of an
3548 existing todo file (needed due to fix in todo-read-file-name).
3549 (todo-reset-nondiary-marker): Also reset in filtered items files.
3550 (todo-reset-done-string, todo-reset-comment-string): Also reset in
3551 regexp filtered items files.
3552 (todo-reset-highlight-item): Also reset in filtered items files.
3553 Fix incorrect variable reference in document string.
3555 2014-05-26 Glenn Morris <rgm@gnu.org>
3557 * window.el (window--dump-frame): Avoid error in --without-x builds.
3559 2014-05-26 Glenn Morris <rgm@gnu.org>
3561 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
3563 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3565 * frame.el (set-frame-font): Doc fix.
3567 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
3569 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
3571 * emacs-lisp/package.el (package--download-one-archive):
3572 Use `write-region' instead of `save-buffer' to avoid running various
3574 (describe-package-1): Same. Insert newline at the end of the
3575 buffer if appropriate.
3577 2014-05-26 Juri Linkov <juri@jurta.org>
3579 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
3580 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
3581 Add more modifiers: meta, control, shift, hyper, super, alt.
3584 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
3585 to allow changing its value with `set-variable'.
3587 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3589 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
3591 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
3593 (scheme-mode-variables): Set syntax-propertize-function instead of
3594 font-lock-syntactic-face-function.
3595 (scheme-font-lock-syntactic-face-function): Delete.
3597 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
3599 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
3602 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3604 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
3605 for a temporary file name.
3607 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3609 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
3611 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3613 * net/dbus.el (dbus-init-bus, dbus-call-method)
3614 (dbus-call-method-asynchronously, dbus-send-signal)
3615 (dbus-method-return-internal, dbus-method-error-internal):
3616 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
3618 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3620 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
3621 methods which do not have a doc string. (Bug#17490)
3623 2014-05-25 Tassilo Horn <tsdh@gnu.org>
3625 * textmodes/reftex-ref.el (reftex-format-special): Make it work
3626 also for AMS Math's \eqref macro.
3628 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3630 Arrange to never byte-compile the generated -pkg.el file.
3632 * emacs-lisp/package.el (package-generate-description-file):
3633 Output first-line comment to set buffer-local var `no-byte-compile'.
3634 Suggested by Dmitry Gutov:
3635 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
3637 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3639 Fix bug: Properly quote args to generated -pkg.el `define-package'.
3641 * emacs-lisp/package.el (package-generate-description-file):
3642 Inline `package--alist-to-plist'; rewrite to selectively
3643 quote alist values that are not self-quoting.
3644 (package--alist-to-plist): Delete func.
3646 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
3648 * term/xterm.el (xterm-function-map): Add mapping for shifted
3651 2014-05-24 Daniel Colascione <dancol@dancol.org>
3653 * progmodes/subword.el (subword-find-word-boundary): Move point to
3654 correct spot before search. (Bug#17580)
3656 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
3659 2014-05-24 Leo Liu <sdl.web@gmail.com>
3661 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
3663 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3665 * minibuffer.el (completion--sreverse): Remove.
3666 (completion--common-suffix): Use `reverse' instead.
3667 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
3669 2014-05-22 Glenn Morris <rgm@gnu.org>
3671 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
3673 2014-05-21 Daniel Colascione <dancol@dancol.org>
3675 * files.el (interpreter-mode-alist): Add mksh.
3677 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
3679 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
3680 mksh. Improve custom spec; allow regular expressions.
3681 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
3682 (sh-after-hack-local-variables): New function.
3683 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
3684 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
3686 (sh-canonicalize-shell): Rewrite to support regexes.
3688 2014-05-21 Leo Liu <sdl.web@gmail.com>
3690 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
3692 2014-05-19 Leo Liu <sdl.web@gmail.com>
3694 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
3696 2014-05-18 Glenn Morris <rgm@gnu.org>
3699 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
3701 2014-05-14 Sam Steingold <sds@gnu.org>
3703 * progmodes/python.el (python-shell-get-or-create-process):
3704 Do not bind `current-prefix-arg' so that C-c C-z does not talk
3705 back unless requested.
3707 2014-05-14 Glenn Morris <rgm@gnu.org>
3709 * subr.el (with-file-modes): New macro.
3710 * printing.el (pr-save-file-modes): Make obsolete.
3711 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
3712 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
3713 Add with-file-modes.
3714 * doc-view.el (doc-view-make-safe-dir):
3715 * epg.el (epg--start):
3716 * files.el (locate-user-emacs-file, make-temp-file)
3717 (backup-buffer-copy, move-file-to-trash):
3718 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
3719 * eshell/esh-util.el (eshell-with-private-file-modes)
3720 (eshell-make-private-directory):
3721 * net/browse-url.el (browse-url-mosaic):
3722 * obsolete/mailpost.el (post-mail-send-it):
3723 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
3724 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
3725 Use with-file-modes.
3727 * vc/emerge.el (emerge-make-temp-file): Simplify.
3729 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
3730 Stefan Monnier <monnier@iro.umontreal.ca>
3732 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
3735 2014-05-14 Glenn Morris <rgm@gnu.org>
3737 * vc/emerge.el (emerge-temp-file-prefix):
3738 Make pointless option obsolete.
3739 (emerge-temp-file-mode): Make non-functional option obsolete.
3741 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
3743 * net/browse-url.el (browse-url):
3744 Use `unhandled-file-name-directory' when setting `default-directory',
3745 in order to circumvent stalled remote connections. (Bug#17425)
3747 2014-05-14 Glenn Morris <rgm@gnu.org>
3749 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
3750 Optimize on Emacs, which has the relevant functions for ages.
3752 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3754 * simple.el (undo-make-selective-list): Obey undo-no-redo.
3756 2014-05-12 Sam Steingold <sds@gnu.org>
3758 * calendar/time-date.el (seconds-to-string): New function to
3759 pretty print time delay in seconds.
3761 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3763 * mpc.el (mpc-format): Trim Date to the year.
3764 (mpc-songs-hashcons): Shorten the Date field.
3766 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
3767 into autoloading just because of a silly indirection.
3769 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
3771 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
3773 2014-05-12 Glenn Morris <rgm@gnu.org>
3775 * emacs-lisp/find-gc.el: Move to ../admin.
3777 * printing.el (pr-version):
3778 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
3780 * net/browse-url.el (browse-url-mosaic):
3781 Create /tmp/Mosaic.PID as a private file.
3783 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3785 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
3786 (advice--member-p): If name is given, only compare the name.
3787 (advice--remove-function): Don't stop at the first match.
3788 (advice--normalize-place): New function.
3789 (add-function, remove-function): Use it.
3790 (advice--add-function): Pass the name, if any, to
3791 advice--remove-function.
3793 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3795 * electric.el (electric-indent-post-self-insert-function): Don't use
3796 `pos' after modifying the buffer (bug#17449).
3798 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
3800 * calendar/todo-mode.el (todo-insert-item-from-calendar):
3801 Correct argument list to conform to todo-insert-item--basic.
3803 2014-05-12 Glenn Morris <rgm@gnu.org>
3805 * files.el (cd-absolute): Test if directory is accessible
3806 rather than executable. (Bug#17330)
3808 * progmodes/compile.el (recompile):
3809 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
3811 * net/browse-url.el (browse-url-mosaic):
3812 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
3813 This is CVE-2014-3423.
3815 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3817 * mouse.el: Use the normal toplevel loop while dragging.
3818 (mouse-set-point): Handle multi-clicks.
3819 (mouse-set-region): Handle multi-clicks for drags.
3820 (mouse-drag-region): Update call accordingly.
3821 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
3822 Use the normal event loop instead of a local while/read-event loop.
3823 (global-map): Remove redundant bindings for double/triple-mouse-1.
3824 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
3825 Generate synthetic down events when the protocol only sends up events.
3826 (xterm-mouse-last): Remove.
3827 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
3828 terminal parameter instead.
3829 (xterm-mouse--set-click-count): New function.
3830 (xterm-mouse-event): Detect/generate double/triple clicks.
3831 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
3833 * info.el (Info-quoted): New face.
3834 (Info-mode-font-lock-keywords): New var.
3835 (Info-mode): Use it.
3837 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
3838 are a hindrance for C-x C-e.
3840 2014-05-11 Leo Liu <sdl.web@gmail.com>
3842 * net/rcirc.el (rcirc-sentinel): Fix last change.
3844 2014-05-08 Sam Steingold <sds@gnu.org>
3846 * net/rcirc.el (rcirc-reconnect-delay): New user option.
3847 (rcirc-sentinel): Auto-reconnect to the server if
3848 `rcirc-reconnect-delay' is non-0 (but not more often than its
3849 value in case the host is off-line).
3851 2014-05-09 Eli Zaretskii <eliz@gnu.org>
3853 * progmodes/grep.el (lgrep): Fix a typo in last commit.
3855 2014-05-09 Glenn Morris <rgm@gnu.org>
3857 * files.el (file-expand-wildcards):
3858 * man.el (Man-support-local-filenames):
3859 * printing.el (pr-i-directory, pr-interface-directory):
3860 * progmodes/grep.el (lgrep, rgrep):
3861 * textmodes/ispell.el (ispell-call-process)
3862 (ispell-call-process-region, ispell-start-process)
3863 (ispell-init-process): Use file-accessible-directory-p.
3865 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3867 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
3868 (xterm-mouse--read-event-sequence-1000): Return nil if something
3870 (xterm-mouse-event): Propagate it.
3871 (xterm-mouse-translate-1): Handle it.
3873 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
3875 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
3876 four slots of the parameter list are filled, make sure to pass it
3877 to the argument list of todo-insert-item--basic.
3879 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3881 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
3882 Add optional `seen' argument to detect and break infinite loops.
3884 2014-05-08 Eli Zaretskii <eliz@gnu.org>
3886 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
3887 (trace-unsafe, trace-use-tree): Make parentheses style be
3888 according to Emacs style.
3890 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
3892 * net/tramp-sh.el (tramp-remote-process-environment):
3893 Remove HISTFILE and HISTSIZE; it's too late to set them here.
3895 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
3896 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
3897 extra "PSx=..." commands.
3898 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
3901 (tramp-uudecode): Replace the hard-coded temporary file name by a
3903 (tramp-remote-coding-commands): Enhance docstring.
3904 (tramp-find-inline-encoding): Replace "%t" by a temporary file
3906 This is CVE-2014-3424.
3908 2014-05-08 Glenn Morris <rgm@gnu.org>
3910 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
3911 (find-gc-source-files): Update some names.
3912 (trace-call-tree): Simplify and update.
3913 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
3914 This is CVE-2014-3422.
3916 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3918 * minibuffer.el (completion--try-word-completion): Revert fix for
3919 Bug#15980 (bug#17375).
3921 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
3922 Always store button numbers in the same way in xterm-mouse-last;
3923 Don't burp is xterm-mouse-last is not set as expected.
3924 Never return negative indices.
3926 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
3928 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3929 Backtrack one char if the global/char-literal var matcher hits
3930 inside a string. The next char could be the beginning of an
3931 expression expansion.
3933 2014-05-08 Glenn Morris <rgm@gnu.org>
3935 * help-fns.el (describe-function-1): Test for an autoload before a
3936 macro, since `macrop' works on autoloads. (Bug#17410)
3938 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3940 * electric.el (electric-indent-functions-without-reindent): Add yaml.
3942 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
3943 Make sure the new point we return is within the new string (bug#17239).
3945 2014-05-05 Daniel Colascione <dancol@dancol.org>
3947 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3948 Port `gnu' pattern to rx.
3950 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
3952 Remove unneeded prompt when closing a buffer with active
3953 emacsclient ("Buffer ... still has clients"), #16548.
3954 * server.el (server-start): Remove the only call to:
3955 (server-kill-buffer-query-function): Remove.
3957 2014-05-04 Leo Liu <sdl.web@gmail.com>
3959 * calendar/diary-lib.el (calendar-chinese-month-name-array):
3960 Defvar to pacify compiler.
3962 2014-05-04 Eli Zaretskii <eliz@gnu.org>
3964 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
3966 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3968 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3969 Use nil rather than `default' for the "default" appearance (bug#17388).
3970 * vc/ediff-util.el (ediff-inferior-compare-regions)
3971 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
3972 a misleading `default' value when it's really a boolean.
3973 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
3974 overlay is not visible.
3976 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3978 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
3979 (todo-menu): Uncomment and update.
3981 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3983 * calendar/todo-mode.el: Reimplement item editing to have the same
3984 basic user interface as item insertion, and make small UI and
3985 larger internal improvements to the latter.
3986 (todo-insert-item): Add reference to the Todo mode user manual to
3987 the documentation string.
3988 (todo-insert-item--basic): Rename from todo-basic-insert-item and
3989 adjust all callers. Change signature to combine diary and
3990 nonmarking arguments. Incorporate functionality of deleted item
3991 copying command and add error checking. Remove detailed
3992 descriptions of the arguments from the documentation string, since
3993 this is treated in the Todo mode user manual.
3994 (todo-copy-item, todo-edit-multiline-item)
3995 (todo-edit-done-item-comment, todo-edit-item-header)
3996 (todo-edit-item-time, todo-edit-item-date-from-calendar)
3997 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
3998 (todo-edit-item-date-year, todo-edit-item-date-month)
3999 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
4001 (todo-edit-item): Reimplement as wrapper command for
4002 todo-edit-item--next-key and make it distinguish done and not done
4004 (todo-edit-item--text): New function, replacing old command
4005 todo-edit-item and incorporating deleted commands
4006 todo-edit-multiline-item and todo-edit-done-item-comment.
4007 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
4008 Use only numeric value of prefix argument. Remove detailed
4009 descriptions of the arguments from the documentation string, since
4010 this is treated in the Todo mode user manual.
4011 (todo-edit-item--diary-inclusion): New function, replacing old
4012 command todo-edit-item-diary-inclusion and incorporating and fixing
4013 functionality of deleted command todo-edit-item-diary-nonmarking,
4014 making sure to remove todo-nondiary-marker when adding
4015 diary-nonmarking-symbol.
4016 (todo-edit-category-diary-inclusion): Make sure to delete
4017 diary-nonmarking-symbol when adding todo-nondiary-marker.
4018 (todo-edit-category-diary-nonmarking): Fix indentation.
4019 (todo-insert-item--parameters): Group diary and nonmarking
4020 parameters together.
4021 (todo-insert-item--apply-args): Adjust to signature of
4022 todo-insert-item--basic and incorporate copy parameter.
4023 Make small code improvements.
4024 (todo-insert-item--next-param): Improve prompt and adjust it to
4025 new parameter grouping. Remove obsolete code.
4026 (todo-edit-item--param-key-alist)
4027 (todo-edit-item--date-param-key-alist)
4028 (todo-edit-done-item--param-key-alist): New defconsts.
4029 (todo-edit-item--prompt): New variable.
4030 (todo-edit-item--next-key): New function.
4031 (todo-key-bindings-t): Bind "e" to todo-edit-item.
4032 Remove bindings of deleted commands.
4034 2014-05-04 Leo Liu <sdl.web@gmail.com>
4036 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
4038 2014-05-04 Glenn Morris <rgm@gnu.org>
4040 * allout-widgets.el (allout-widgets-tally)
4041 (allout-decorate-item-guides):
4042 * menu-bar.el (menu-bar-positive-p):
4043 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
4044 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
4045 * progmodes/js.el (js--inside-param-list-p)
4046 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
4047 * progmodes/prolog.el (region-exists-p):
4048 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
4049 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
4050 Doc fixes (replace `iff').
4052 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4054 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
4056 2014-05-04 Leo Liu <sdl.web@gmail.com>
4058 Support Chinese diary entries in calendar and diary. (Bug#17393)
4059 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
4060 (calendar-chinese-from-absolute-for-diary)
4061 (calendar-chinese-to-absolute-for-diary)
4062 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
4063 (diary-chinese-list-entries): New functions to list and mark
4064 Chinese diary entries in the calendar window.
4065 (diary-chinese-anniversary)
4066 (diary-chinese-insert-anniversary-entry)
4067 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
4068 (diary-chinese-insert-yearly-entry): New commands to insert
4069 Chinese diary entries.
4071 * calendar/diary-lib.el (diary-font-lock-keywords):
4072 Support font-locking Chinese dates.
4074 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
4075 inserting Chinese diary entries.
4077 * calendar/calendar.el (diary-chinese-entry-symbol):
4078 New customizable variable.
4079 (calendar-mode-map): Add bindings for inserting Chinese diary
4082 2014-05-03 Juri Linkov <juri@jurta.org>
4084 * dired.el (dired-check-switches, dired-switches-recursive-p):
4085 New functions. (Bug#17218)
4086 (dired-switches-escape-p, dired-move-to-end-of-filename):
4087 Use `dired-check-switches'.
4088 (dired-insert-old-subdirs, dired-build-subdir-alist)
4089 (dired-sort-R-check): Use `dired-switches-recursive-p'.
4091 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
4093 * simple.el (undo-make-selective-list): New algorithm fixes
4094 incorrectness of position adjustments when undoing in region.
4096 (undo-elt-crosses-region): Make obsolete.
4097 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
4098 New functions to adjust positions using undo-deltas.
4100 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4102 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
4103 the last consecutive closing paren (bug#17345).
4105 2014-04-30 Reuben Thomas <rrt@sc3d.org>
4107 * dired.el (dired-mode): make terminology for eXpunge command
4108 consistent. (Bug#17276)
4110 2014-04-30 Eli Zaretskii <eliz@gnu.org>
4112 * dired.el (dired-initial-position-hook, dired-initial-position):
4115 2014-04-30 Glenn Morris <rgm@gnu.org>
4117 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
4119 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
4121 * faces.el (face-spec-recalc): Apply X resources only after the
4122 defface spec has been applied. Thus, X resources are no longer
4123 overriden by the defface spec which also fixes issues on win32 where
4124 the toolbar coloring was wrong because it is set through X resources
4125 and was (wrongfully) overriden. (Bug#16694)
4127 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4129 * textmodes/rst.el (electric-pair-pairs): Declare.
4130 (rst-mode): Set it (bug#17131).
4132 2014-04-30 Juri Linkov <juri@jurta.org>
4134 * desktop.el (desktop-value-to-string): Let-bind `print-length'
4135 and `print-level' to nil. (Bug#17351)
4137 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4139 * battery.el (battery-update): Handle the case where battery
4140 status is "N/A" (bug#17319).
4142 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4144 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
4145 to syntax-propertize.
4146 (ps-mode-auto-indent): Mark as obsolete.
4147 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
4148 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
4149 word regexp operators.
4150 (ps-mode-map): Move initialization into declaration. Remove binding
4151 for TAB, RET, >, ], and }.
4152 (ps-mode-syntax-table): Move initialization into declaration.
4153 Don't give word syntax to non-word chars.
4154 (ps-run-mode-map): Move initialization into declaration.
4155 (ps-mode-menu-main): Remove auto-indent entry.
4156 (ps-mode-smie-rules): New function.
4157 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
4158 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
4159 (ps-mode--string-syntax-table): New const.
4160 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
4162 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
4163 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
4165 2014-04-27 Daniel Colascione <dancol@dancol.org>
4167 * term/xterm.el (xterm-paste): Use large finite timeout when
4168 reading event to avoid putting keys in this-command-keys.
4170 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
4173 (perl-syntax-propertize-function): Use it. Extend handling of
4174 here-docs to the unquoted case.
4176 2014-04-25 Eli Zaretskii <eliz@gnu.org>
4178 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
4179 Use equal-including-properties to compare help-echo strings (bug#17331).
4181 2014-04-25 Leo Liu <sdl.web@gmail.com>
4183 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4184 Fix syntax for @. (Bug#17325)
4186 2014-04-25 Daniel Colascione <dancol@dancol.org>
4188 * emacs-lisp/cl.el (gv): Require gv early to break eager
4189 macro-expansion cycles.
4191 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4193 * simple.el (region-active-p): Check there's a mark (bug#17324).
4195 * simple.el (completion-list-mode-map): Use choose-completion for the
4196 mouse binding as well (bug#17302).
4197 (completion-list-mode, completion-setup-function): Adjust docstring and
4198 echo area message accordingly.
4199 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
4200 calling convention of choose-completion.
4201 * comint.el (comint-dynamic-list-completions):
4202 * term.el (term-dynamic-list-completions): Accept choose-completion.
4204 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
4205 &, |, +, - and * can't be a division (bug#17317).
4207 * term/xterm.el (xterm--version-handler): Don't use modern xterm
4208 features on gnome-terminal (bug#16988).
4210 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
4212 Improve Scheme font-locking for (define ((foo ...) ...) ...).
4214 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
4215 the declared object, ignore zero or more parens, not zero or one.
4217 2014-04-24 Leo Liu <sdl.web@gmail.com>
4219 * progmodes/xscheme.el (xscheme-expressions-ring)
4220 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
4221 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
4222 (xscheme-allow-output-p, xscheme-prompt)
4223 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
4225 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
4226 Comment out unused functions.
4228 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4230 * info.el: Use lexical-binding and cl-lib.
4231 Use defvar-local and setq-local instead of make-local-variable.
4232 (Info-apropos-matches): Avoid add-to-list.
4233 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
4235 2014-04-24 Daniel Colascione <dancol@dancol.org>
4237 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
4239 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4241 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
4243 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
4245 * dired.el (dired-insert-set-properties): Do not consider
4246 subdirectory headings and empty lines to be information that
4247 `dired-hide-details-mode' should hide. (Bug#17228)
4249 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
4251 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4252 Remove test messages.
4253 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
4256 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4258 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
4259 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
4261 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
4263 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
4265 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4266 Set "IFS=" when using read builtin, in order to preserve spaces in
4267 the file name. Add test messages for hunting a bug on hydra.
4268 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
4270 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4272 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4273 Don't prettify a word within a symbol.
4275 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
4277 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
4280 2014-04-22 Daniel Colascione <dancol@dancol.org>
4282 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
4283 use defun to define `function-put'.
4285 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4287 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
4288 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
4289 (lisp-mode-variables): Set font-lock-extra-managed-props.
4291 * emacs-lisp/byte-run.el (function-put): New function.
4292 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
4293 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
4294 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
4297 2014-04-22 Daniel Colascione <dancol@dancol.org>
4299 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
4300 Add `full-p' parameter; when nil, call `macroexpand' instead of
4303 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4306 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4307 Use lambda function values, not quoted lambdas.
4308 (byte-compile-recurse-toplevel): Remove extraneous &optional.
4310 * emacs-lisp/cl-macs.el
4311 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
4312 (cl-struct-slot-value): Conditionally use aref or nth so that the
4313 compiler produces optimal code.
4315 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
4318 (inline): Don't inline cl--set-elt.
4319 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
4320 Define as inlinable instead.
4321 (cl-struct-set-slot-value): Remove.
4323 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
4324 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
4327 2014-04-21 Daniel Colascione <dancol@dancol.org>
4329 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
4330 last two parameters after all.
4331 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
4332 (cl--compiler-macro-assoc,cl-struct-slot-value)
4333 (cl-struct-set-slot-value): Stop using them.
4335 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4337 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
4338 entry in image-mode-winprops-alist.
4340 2014-04-21 Daniel Colascione <dancol@dancol.org>
4342 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
4343 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
4344 (byte-compile-toplevel-file-form): Use it.
4346 * emacs-lisp/cl-macs.el:
4347 (cl--loop-let): Properly destructure `while' clauses.
4349 2014-04-20 Daniel Colascione <dancol@dancol.org>
4351 * vc/vc.el (vc-root-dir): New public autoloaded function for
4352 generically finding the current VC root.
4353 * vc/vc-hooks.el (vc-not-supported): New error.
4354 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
4356 2014-04-20 Daniel Colascione <dancol@dancol.org>
4358 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
4360 (cl--const-expr-val): cl--const-expr-val should macroexpand its
4361 argument in case we're inside a symbol-macrolet.
4362 (cl--do-arglist, cl--compiler-macro-typep)
4363 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
4364 environment to `cl--const-expr-val'.
4365 (cl-struct-sequence-type,cl-struct-slot-info)
4366 (cl-struct-slot-offset, cl-struct-slot-value)
4367 (cl-struct-set-slot-value): New functions.
4369 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4371 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
4372 assignments such as "case=hello" (bug#17297).
4374 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
4376 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
4378 (tramp-file-name-handler, tramp-completion-file-name-handler):
4379 Revert patch from 2014-04-10, it isn't necessary anymore.
4380 (tramp-autoload-file-name-handler)
4381 (tramp-register-autoload-file-name-handlers): New defuns.
4382 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
4383 (tramp-register-file-name-handlers): Remove also
4384 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
4385 Do not autoload its invocation, but eval it after loading of 'tramp.
4387 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
4389 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
4391 2014-04-17 Daniel Colascione <dancol@dancol.org>
4393 Add support for bracketed paste mode; add infrastructure for
4394 managing terminal mode enabling and disabling automatically.
4397 (xterm-mouse-mode): Simplify.
4398 (xterm-mouse-tracking-enable-sequence)
4399 (xterm-mouse-tracking-disable-sequence): New constants.
4400 (turn-on-xterm-mouse-tracking-on-terminal)
4401 (turn-off-xterm-mouse-tracking-on-terminal):
4402 Use tty-mode-set-strings and tty-mode-reset-strings terminal
4403 parameters instead of random hooks.
4404 (turn-on-xterm-mouse-tracking)
4405 (turn-off-xterm-mouse-tracking): Delete.
4407 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
4408 (xterm-paste-ending-sequence): New constant.
4409 (xterm-paste): New command used for bracketed paste support.
4411 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
4412 (terminal-init-xterm-bracketed-paste-mode): New function.
4413 (terminal-init-xterm): Call it.
4414 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
4415 and tty-mode-reset-strings instead of random hooks.
4416 (xterm-turn-on-modify-other-keys)
4417 (xterm-turn-off-modify-other-keys)
4418 (xterm-remove-modify-other-keys): Delete obsolete functions.
4420 * term/screen.el: Rewrite to just use the xterm code.
4421 Add copyright notice. Mention tmux.
4423 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
4425 * image-mode.el (image-mode-window-put): Also update the property of
4426 the "default window".
4427 * doc-view.el (doc-view-new-window-function): If no window
4428 exists, move to the last known page.
4430 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4432 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
4433 here-documents (bug#17262).
4435 2014-04-16 Eli Zaretskii <eliz@gnu.org>
4437 * term/pc-win.el (x-list-fonts, x-get-selection-value):
4438 Provide doc strings, as required by snarf-documentation.
4440 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4442 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
4443 arg of overlays-at. Use `invisible-p'.
4445 * obsolete/lucid.el (extent-at):
4446 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
4448 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
4450 2014-04-16 João Távora <joaotavora@gmail.com>
4452 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
4455 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4457 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
4458 Use mapc to loop over a vector. (Bug#17257).
4460 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
4462 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
4463 patch, there are new problems with file names containing spaces.
4464 Get rid of backticks. (Bug#17238)
4466 2014-04-16 João Távora <joaotavora@gmail.com>
4468 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
4471 2014-04-16 Eli Zaretskii <eliz@gnu.org>
4473 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
4474 (blink-cursor-mode): Mention customization variables and the
4475 effect of 'blink-cursor-blinks'.
4477 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
4479 * simple.el (undo): Prevent insertion of identity mapping into
4480 undo-equiv-table so as undo-only does not inf loop in the presence
4481 of consecutive nils in undo list.
4483 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
4485 * faces.el (make-face): Deprecate optional argument as it is no
4486 longer needed/used since the conditional X resources handling
4487 has been pushed down to make-face-x-resource-internal itself.
4488 (make-empty-face): Don't pass optional argument to make-face.
4490 2014-04-16 Karl Fogel <kfogel@red-bean.com>
4492 * savehist.el (savehist-save): Remove workaround for a read-passwd
4493 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
4494 noticing that the shim was still present.
4496 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4498 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
4500 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
4502 * faces.el (face-set-after-frame-default): Remove unused local variable.
4504 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4506 * progmodes/grep.el: Use lexical-binding.
4507 (grep-expand-template): Pass explicit lexical env to `eval'.
4508 (zrgrep): Let-bind grep-find-template explicitly.
4510 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
4511 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
4513 2014-04-12 Eli Zaretskii <eliz@gnu.org>
4515 * international/characters.el <standard-case-table>: Add entries
4516 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
4517 Set category of Coptic characters be 'g' (Greek).
4519 2014-04-12 Leo Liu <sdl.web@gmail.com>
4521 * progmodes/octave.el (completion-table-with-cache):
4522 Define if not available.
4523 (octave-goto-function-definition, octave-sync-function-file-names)
4524 (octave-find-definition-default-filename):
4525 Backquote upattern for compatibility.
4527 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
4529 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
4530 name twice due to backticks. (Bug#17238)
4532 2014-04-12 Glenn Morris <rgm@gnu.org>
4534 * term/w32-win.el (x-win-suspend-error):
4535 * term/x-win.el (x-win-suspend-error): Sync docs.
4537 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
4539 * faces.el (make-face): Remove deprecated optional argument.
4540 The conditional application of X resources is handled directly by
4541 make-face-x-resource-internal since Emacs 24.4.
4542 (make-empty-face): Don't pass optional argument to make-face.
4544 2014-04-11 Glenn Morris <rgm@gnu.org>
4546 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
4548 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4550 Ediff's overlay priorities cause more trouble than they solve.
4551 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
4552 (ediff-highest-priority): Remove function (bug#17234).
4553 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
4554 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
4555 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
4558 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
4560 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
4561 entry; use symbol boundaries to avoid mis-matches.
4563 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
4565 * net/tramp.el (tramp-file-name-handler)
4566 (tramp-completion-file-name-handler): Avoid recursive loading.
4568 * net/tramp-sh.el (tramp-make-copy-program-file-name):
4569 Quote result also locally.
4571 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4573 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
4574 Remove left-over code.
4576 * newcomment.el (comment-indent-new-line): Sink code where it's used.
4577 Reuse the previous comment's indentation unconditionally if it's on its
4580 2014-04-09 Daniel Colascione <dancol@dancol.org>
4582 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
4583 `no-syntax-crossing' arguments. Forward to `up-list'.
4584 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
4585 Implement logic for escaping from strings. Use narrowing to deal
4588 2014-04-09 Leo Liu <sdl.web@gmail.com>
4590 * net/rcirc.el (rcirc-connection-info): New variable.
4591 (rcirc-connect): Use it to store connection info.
4592 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
4594 (rcirc-cmd-reconnect): New command. (Bug#17045)
4595 (rcirc-mode, set-rcirc-encode-coding-system)
4596 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
4598 2014-04-09 Daniel Colascione <dancol@dancol.org>
4600 * emacs-lisp/cl-indent.el: Add comment claiming
4601 facility is also good for elisp.
4602 (lisp-indent-find-method): New function.
4603 (common-lisp-indent-function): Recognize cl-loop.
4604 (common-lisp-indent-function-1): Recognize cl constructs; use
4605 `lisp-indent-find-method' instead of `get' directly.
4606 (if): Use else-body style for elisp.
4608 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
4610 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4611 Module methods. (Bug#17216)
4613 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4615 * help.el (describe-bindings): Fix buffer handling (bug#17210).
4616 (describe-bindings-internal): Mark obsolete.
4618 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4620 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
4621 buffer-file-name, and buffer-file-truename any more.
4623 2014-04-08 Leo Liu <sdl.web@gmail.com>
4625 Use lexical-binding and require cl-lib.
4626 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
4627 (rcirc-handler-generic, rcirc-fill-paragraph)
4628 (rcirc-format-response-string, rcirc-target-buffer)
4629 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
4630 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
4631 (rcirc-ctcp-sender-PING, rcirc-browse-url)
4632 (rcirc-markup-timestamp, rcirc-markup-attributes)
4633 (rcirc-markup-my-nick, rcirc-markup-urls)
4634 (rcirc-markup-bright-nicks, rcirc-markup-fill)
4635 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
4636 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
4637 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
4638 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
4639 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
4640 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
4641 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
4642 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
4643 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
4644 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
4647 2014-04-07 João Távora <joaotavora@gmail.com>
4649 * elec-pair.el (electric-pair--syntax-ppss):
4650 When inside comments parse from comment beginning.
4651 (electric-pair--balance-info): Fix typo in comment.
4652 (electric-pair--in-unterminated-string-p): Delete.
4653 (electric-pair--unbalanced-strings-p): New function.
4654 (electric-pair-string-bound-function): New var.
4655 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4656 according to `electric-pair--in-unterminated-string-p'
4658 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4659 Inhibit quote pairing if point-max is inside an unterminated string.
4660 (electric-pair--looking-at-unterminated-string-p): Delete.
4661 (electric-pair--in-unterminated-string-p): New function.
4663 2014-04-07 Glenn Morris <rgm@gnu.org>
4665 * shell.el (shell-directory-tracker):
4666 Go back to just ignoring failures. (Bug#17159)
4668 2014-04-07 João Távora <joaotavora@gmail.com>
4670 Fix `electric-pair-delete-adjacent-pairs' in modes binding
4671 backspace. (bug#16981)
4672 * elec-pair.el (electric-pair-backward-delete-char): Delete.
4673 (electric-pair-backward-delete-char-untabify): Delete.
4674 (electric-pair-mode-map): Bind backspace to a menu item filtering
4675 a new `electric-pair-delete-pair' command.
4676 (electric-pair-delete-pair): New command.
4678 * progmodes/python.el (python-electric-pair-string-delimiter):
4679 Fix triple-quoting electricity. (Bug#17192)
4681 * elec-pair.el (electric-pair-post-self-insert-function):
4682 Don't skip whitespace when `electric-pair-text-pairs' and
4683 `electric-pair-pairs' were used. syntax to
4684 electric-pair--skip-whitespace. (Bug#17183)
4686 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4688 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
4691 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4693 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
4694 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
4696 2014-04-07 Glenn Morris <rgm@gnu.org>
4698 * help.el (view-lossage): Doc tweak.
4700 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
4702 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
4703 only when inhibit-x-resources is nil, and do that earlier in the
4704 function. Doc fix. (Bug#16694)
4705 (face-spec-choose): Accept additional optional argument, whose
4706 value is returned if no matching attributes are found.
4707 (face-spec-recalc): Use the new optional argument when calling
4708 face-spec-choose. (Bug#16378)
4709 (make-face-x-resource-internal): Do nothing when
4710 inhibit-x-resources is non-nil. Don't touch the default face if
4711 reversed video is given--as was done in previous versions of Emacs.
4712 (face-set-after-frame-default): Don't call
4713 make-face-x-resource-internal here. (Bug#16434)
4715 2014-04-07 Tassilo Horn <tsdh@gnu.org>
4717 * doc-view.el (doc-view-bookmark-jump):
4718 Use `bookmark-after-jump-hook' to jump to the right page after the
4719 buffer is shown in a window. (bug#16090)
4721 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4723 * international/characters.el (mirroring): Fix last change:
4724 instead of loading uni-mirrored.el explicitly, do that implicitly
4725 by creating the 'mirroring' uniprop table. This avoids announcing
4726 the loading of uni-mirrored.el.
4728 2014-04-07 Glenn Morris <rgm@gnu.org>
4730 * files.el (buffer-stale--default-function)
4731 (buffer-stale-function, revert-buffer--default):
4732 * autorevert.el (auto-revert-buffers): Doc tweaks.
4734 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4736 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
4738 2014-04-07 Glenn Morris <rgm@gnu.org>
4740 * files.el (make-backup-file-name-function)
4741 (make-backup-file-name, make-backup-file-name--default-function)
4742 (make-backup-file-name-1, find-backup-file-name)
4743 (revert-buffer-function, revert-buffer-insert-file-contents-function)
4744 (buffer-stale--default-function, buffer-stale-function)
4745 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
4746 (revert-buffer, revert-buffer--default)
4747 (revert-buffer-insert-file-contents--default-function):
4748 Doc fixes related to defaults no longer being nil.
4749 (make-backup-file-name-function): Bump :version.
4750 Restore nil as a valid but deprecated custom type.
4752 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4754 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4755 Handle $' used as a variable (bug#17174).
4757 * progmodes/perl-mode.el (perl-indent-new-calculate):
4758 Handle forward-sexp failure (bug#16985).
4759 (perl-syntax-propertize-function): Add "foreach" and "for" statement
4760 modifiers introducing expressions (bug#17116).
4762 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
4764 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
4766 2014-04-05 Leo Liu <sdl.web@gmail.com>
4768 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4769 Add define-compilation-mode.
4771 2014-04-04 João Távora <joaotavora@gmail.com>
4773 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
4774 parse from comment beginning.
4775 (electric-pair--balance-info): Fix typo in comment.
4776 (electric-pair--in-unterminated-string-p): Delete.
4777 (electric-pair--unbalanced-strings-p): New function.
4778 (electric-pair-string-bound-function): New var.
4779 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4780 according to `electric-pair--in-unterminated-string-p'.
4782 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4784 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
4785 Move declaration before first use.
4786 (reftex-move-to-next-arg): Silence compiler warning.
4788 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
4790 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
4791 Use `window-total-width' instead of `window-width'.
4793 2014-04-03 Daniel Colascione <dancol@dancol.org>
4795 * subr.el (set-transient-map): Remove rms's workaround entirely;
4796 use new `suspicious-object' subr to mark our lambda for closer
4799 2014-04-02 Richard Stallman <rms@gnu.org>
4801 * subr.el (set-transient-map): Comment out previous change.
4803 2014-04-02 Glenn Morris <rgm@gnu.org>
4805 * menu-bar.el (menu-bar-file-menu):
4806 * vc/ediff.el (ediff-current-file):
4807 Update for revert-buffer-function no longer being nil by default.
4809 * simple.el (command-execute): Respect nil disabled-command-function.
4811 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4813 * simple.el (command-execute): Do not execute the command when it
4814 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
4816 2014-04-02 Juri Linkov <juri@jurta.org>
4818 * dired-aux.el (dired-compress-file): Don't use string-match-p
4819 because its match data is used afterwards.
4821 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
4823 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
4826 2014-04-02 João Távora <joaotavora@gmail.com>
4828 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4829 Inhibit quote pairing if point-max is inside an unterminated string.
4830 (electric-pair--looking-at-unterminated-string-p):
4832 (electric-pair--in-unterminated-string-p): New function.
4834 2014-04-01 Daniel Colascione <dancol@dancol.org>
4836 * minibuffer.el (minibuffer-complete): Prevent assertion failure
4837 when trying to complete the prompt.
4839 2014-03-31 Leo Liu <sdl.web@gmail.com>
4841 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4842 Refactor out eldoc-documentation-function-default.
4843 (eldoc-documentation-function-default): New function.
4844 (eldoc-documentation-function): Change value.
4846 2014-03-31 Glenn Morris <rgm@gnu.org>
4848 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
4850 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
4851 (vhdl-compose-components-package, vhdl-compose-configuration):
4852 Abbreviate default-directory (missing from some previous upstream sync).
4854 2014-03-31 Reto Zimmermann <reto@gnu.org>
4856 Sync with upstream vhdl mode v3.35.2.
4857 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4858 (top-level): No longer require assoc.
4859 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
4860 New functions. Use throughout to replace aget etc.
4861 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
4862 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
4863 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
4864 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
4865 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
4866 except `vhdl-compiler'.
4867 (vhdl-error-regexp-add-emacs): Remove all other compilers,
4870 2014-03-31 Glenn Morris <rgm@gnu.org>
4872 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
4873 Revert 2014-03-26 merge goof; go back to using defalias.
4875 2014-03-30 Daniel Colascione <dancol@dancol.org>
4877 * comint.el (comint-send-input):
4878 Deactivate completion-in-region-mode before we send comint input.
4881 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
4884 2014-03-29 Glenn Morris <rgm@gnu.org>
4886 * textmodes/reftex.el: Manage most autoloads automatically.
4887 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
4888 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
4889 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
4890 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
4891 * textmodes/reftex-toc.el: Set generated-autoload-file,
4892 and add autoload cookies for reftex.el.
4893 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
4895 2014-03-28 Glenn Morris <rgm@gnu.org>
4897 * cus-start.el (report-emacs-bug-address): Set custom properties.
4898 * mail/emacsbug.el (report-emacs-bug-address):
4899 Variable is now defined in emacs.c.
4901 * mail/emacsbug.el (report-emacs-bug):
4902 Include system-configuration-features.
4904 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
4906 * simple.el (cycle-spacing): Never delete spaces on first run by
4907 default, but do so in a new 'fast mode and if there are already
4908 N spaces (the previous behavior).
4909 Compare N with its value in previous invocation so that changing
4910 prefix argument restarts `cycle-spacing' sequence.
4911 The idea is that with this change, binding M-SPC to
4912 `cycle-spacing' should not introduce any changes in behavior of
4913 the binding so long as users do not type M-SPC twice in a raw with
4914 the same prefix argument or lack thereof.
4916 2014-03-28 Glenn Morris <rgm@gnu.org>
4918 * faces.el (term-file-aliases): New variable.
4919 (tty-run-terminal-initialization): Respect term-file-aliases.
4920 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
4921 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
4922 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
4924 2014-03-27 Glenn Morris <rgm@gnu.org>
4926 * startup.el (inhibit-startup-hooks): Doc tweak.
4927 (normal-top-level): Simplify running of hooks.
4928 For window-setup-hook, respect inhibit-startup-hooks.
4929 (command-line-1): Don't set window-setup-hook to nil.
4931 Allow selective autoloading from obsolete/ directory.
4932 * Makefile.in (obsolete-autoloads): New rule.
4933 (autoloads): Run obsolete-autoloads.
4934 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
4935 * simple.el (iswitchb-mode): Remove hand-written autoloads.
4937 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
4939 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4940 Highlight special globals with font-lock-builtin-face. (Bug#17057)
4942 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4943 Don't propertize `?' or `!' as symbol constituent when after
4946 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
4948 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
4949 which is no longer needed and causes trouble in GTK builds (bug#17046).
4951 * emacs-lisp/package-x.el (package--archive-contents-from-url):
4952 Use url-insert-file-contents; package-handle-response no longer exists.
4954 2014-03-26 Daniel Colascione <dancol@dancol.org>
4956 * simple.el (process-menu-mode-map): New variable.
4957 (process-menu-delete-process): New command.
4959 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4961 * emacs-lisp/package.el: Fix bug#16733 (again).
4962 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
4963 (url-http-target-url): Remove unused declarations.
4964 (package-handle-response): Remove.
4965 (package--with-work-buffer): Use url-insert-file-contents and simplify.
4966 (package--download-one-archive): Use current-buffer instead of
4967 dynamic binding of `buffer'.
4968 (describe-package-1): Do not decode readme-string.
4970 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
4972 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
4974 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
4975 from 2014-03-07, it decreases performance unnecessarily. Let-bind
4976 `remote-file-name-inhibit-cache' to nil in the second pass.
4977 (tramp-find-executable): Do not call "which" on SunOS.
4978 (tramp-send-command-and-check): Fix docstring.
4979 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
4980 check whether source directory has set the sticky bit.
4982 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
4984 * simple.el (primitive-undo): Only process marker adjustments
4985 validated against their corresponding (TEXT . POS). Issue warning
4986 for lone marker adjustments in undo history. (Bug#16818)
4987 (undo-make-selective-list): Add marker adjustments to selective
4988 undo list based on whether their corresponding (TEXT . POS) is in
4989 the region. Remove variable adjusted-markers, which was unused
4990 and only non nil during undo-make-selective-list.
4991 (undo-elt-in-region): Return nil when passed a marker adjustment
4992 and explain in function doc.
4994 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4996 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
4998 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
5000 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
5001 Match special global variables without curlies, too.
5002 (ruby-font-lock-keywords): Simplify the matcher for special global
5003 variables. Don't require a non-word character after the variable.
5006 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5008 * simple.el (redisplay-highlight-region-function): Increase priority of
5009 overlay to make sure boundaries are visible (bug#15899).
5011 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
5013 * frameset.el (frameset--initial-params): Fix typo in parameter name.
5014 (frameset-restore): Compare display strings with equal.
5016 * frame.el (make-frame): Don't quote display name in error message,
5017 it is already a string.
5019 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5021 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
5024 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
5026 * emacs-lisp/package.el (package--add-to-archive-contents):
5027 Include already installed and built-in packages in
5028 `package-archive-contents'.
5029 (package-install): Don't include already installed packages in the
5030 options during interactive invocation. (Bug#16762)
5031 (package-show-package-list): If the buffer is already displayed in
5032 another window, switch to that window.
5034 2014-03-26 Reto Zimmermann <reto@gnu.org>
5036 Sync with upstream vhdl mode v3.35.1.
5037 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
5038 (vhdl-compiler-alist): Doc fix.
5039 (vhdl-goto-line): Remove.
5040 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
5041 (vhdl-mode) <paragraph-start>: Fix value.
5042 (vhdl-fix-statement-region): Not `for' in wait-statement.
5043 (vhdl-beautify-region): Also (un)tabify.
5044 (vhdl-get-visible-signals):
5045 Scan declarative part of generate statements.
5046 (vhdl-template-record): Fix indentation for record type declaration.
5047 (vhdl-expand-abbrev, vhdl-expand-paren):
5048 Revert to using fset again rather than defalias.
5049 (vhdl-scan-directory-contents): Tweak.
5050 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
5051 (vhdl-compose-components-package):
5052 Replace vhdl-goto-line with forward-line.
5053 (top-level): Tweak speedbar frame selection.
5054 (vhdl-generate-makefile-1): Support for compilers with no
5055 unit-to-file name mapping (create directory with dummy files).
5057 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
5059 Sync with upstream verilog-mode revision 702457d.
5060 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5061 (create-lockfiles): Declare.
5062 (verilog-read-decls): Fix module header imports, bug709.
5063 Reported by Victor Lau.
5064 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
5065 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
5066 interface-only modules, bug721. Reported by Dean Hoyt.
5068 2014-03-26 Glenn Morris <rgm@gnu.org>
5070 * obsolete/gulp.el: Move here from emacs-lisp/.
5072 * files.el (lock-buffer, unlock-buffer, file-locked-p):
5073 Remove fallback aliases, since they are always defined now.
5075 2014-03-24 Daniel Colascione <dancol@dancol.org>
5077 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
5078 instead of cl-loop search function.
5080 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
5082 * calendar/parse-time.el (parse-time-iso8601-regexp)
5083 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
5086 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
5088 * net/dns.el (network-interface-list): Define for XEmacs.
5090 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
5092 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
5093 the network interfaces changed.
5094 (dns-query): Use it to flush the data.
5096 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
5098 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
5100 2014-03-23 Daniel Colascione <dancol@dancol.org>
5102 Change subword-mode to use `find-word-boundary-function-table' and
5103 replace `capitalized-words-mode'. Also, convert to lexical binding.
5104 * progmodes/cap-words.el: Delete now-obsolete file.
5105 * progmodes/subword.el: Reimplement using
5106 `find-word-boundary-function-table'.
5107 (subword-mode-map): Hollow out.
5108 (capitalized-words-mode): Define as obsolete alias for
5110 (subword-mode, superword-mode): Tweak documentation to reflect new
5111 implementation; call `subword-setup-buffer'.
5112 (subword-forward, subword-capitalize): Add underscore to indicate
5114 (subword-find-word-boundary-function-table): New constant.
5115 (subword-empty-char-table): New constant.
5116 (subword-setup-buffer): New function.
5117 (subword-find-word-boundary): New function.
5119 2014-03-23 Daniel Colascione <dancol@dancol.org>
5121 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
5122 list to look for keyword arguments instead of `memq', fixing
5123 (Bug#3647) --- unfortunately, only for freshly-compiled code.
5124 Please make bootstrap.
5126 2014-03-22 Glenn Morris <rgm@gnu.org>
5128 * dired.el (dired-read-regexp): Make obsolete.
5129 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
5130 (dired-flag-files-regexp):
5131 * dired-aux.el (dired-mark-read-regexp):
5132 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
5134 * startup.el (fancy-startup-text):
5135 * help.el (describe-gnu-project): Visit online info about GNU project.
5137 * help-fns.el (help-fns--interactive-only): New function.
5138 (help-fns-describe-function-functions): Add the above function.
5139 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
5140 (next-line, previous-line): Remove hand-written interactive-only
5141 information from doc strings, it is auto-generated now.
5142 * bookmark.el (bookmark-write):
5143 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
5144 (epa-mail-import-keys): Mark interactive-only,
5145 and remove hand-written interactive-only information from doc strings.
5146 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
5147 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
5148 * files.el (not-modified):
5149 * simple.el (mark-whole-buffer): Mark interactive-only.
5151 * emacs-lisp/byte-run.el (defun-declarations-alist):
5152 Add interactive-only. Doc tweak.
5153 (macro-declarations-alist): Doc tweak.
5154 * subr.el (declare): Doc tweak (add xref to manual).
5155 * comint.el (comint-run):
5156 * files.el (insert-file-literally, insert-file):
5157 * replace.el (replace-string, replace-regexp):
5158 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5159 (delete-forward-char, goto-line, insert-buffer, next-line)
5160 (previous-line): Set interactive-only via declare.
5162 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
5164 * emacs-lisp/package.el (package-desc): Use the contents of the
5165 quoted form, not its cdr. (Bug#16873)
5167 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
5169 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
5170 benefit of doc.c; change parameter profile to match the X function.
5172 2014-03-22 Leo Liu <sdl.web@gmail.com>
5174 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
5175 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
5177 2014-03-21 Richard Stallman <rms@gnu.org>
5179 * battery.el (battery-linux-sysfs): Search for each field
5180 from the beginning of the buffer.
5182 * subr.el (set-transient-map): Clear out function and value
5183 of the temporary symbol when we're done with it.
5185 * mail/rmailsum.el (rmail-summary-delete-forward):
5186 Optimize case of reaching end and handling count.
5187 (rmail-summary-mark-deleted): Optimize when N is current msg.
5188 Don't create new summary line.
5189 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
5190 (rmail-summary-undelete-many): Rewrite for speed.
5191 (rmail-summary-msg-number): New function.
5193 * mail/rmail.el (rmail-delete-message): Update summary.
5194 (rmail-undelete-previous-message): Handle repeat count arg.
5195 (rmail-delete-backward, rmail-delete-forward): Likewise.
5197 2014-03-21 Daniel Colascione <dancol@dancol.org>
5199 * mail/emacsbug.el (report-emacs-bug): Include memory usage
5200 information in bug reports.
5202 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
5204 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
5205 and `tramp-copy-env'.
5207 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
5208 (tramp-maybe-open-connection): Handle `tramp-login-env'.
5210 2014-03-21 Glenn Morris <rgm@gnu.org>
5212 * electric.el (electric-indent-post-self-insert-function): Add doc.
5214 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
5216 * emacs-lisp/package.el (package-compute-transaction):
5217 Use `version-list-<=' to compare the requirement version against
5218 the version of package already to be installed. Update the error
5219 message. (Bug#16826)
5221 * progmodes/ruby-mode.el (ruby-smie-rules):
5222 Add indentation rule for ` @ '. (Bug#17050)
5224 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
5226 * align.el (align-regexp): Remove superfluous backslash.
5228 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
5229 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
5230 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
5231 Fix docstring typos.
5232 (ffap-next): Use C-u in docstring.
5233 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
5234 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
5235 Remove superfluous backslashes.
5236 (ffap-string-at-point): Reflow docstring.
5238 * server.el (server-host): Reflow docstring.
5239 (server-unload-function): Fix docstring typo.
5240 (server-eval-at): Remove superfluous backslash.
5242 * skeleton.el (skeleton-insert): Remove superfluous backslash.
5243 (skeleton-insert): Doc fix.
5244 (skeleton-insert): Reflow docstring.
5246 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
5247 (tty-color-approximate, tty-color-by-index, tty-color-values)
5248 (tty-color-desc): Remove superfluous backslashes.
5250 2014-03-21 Glenn Morris <rgm@gnu.org>
5252 * cus-start.el (history-length): Bump :version.
5254 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5255 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5256 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5257 Don't set `make-backup-files'.
5259 * info.el (info--prettify-description): New function,
5260 to give info-finder descriptions consistent case, punctuation.
5261 (Info-finder-find-node): Use it. Sort packages.
5262 Refer to "description" rather than "commentary".
5264 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
5266 * frameset.el (frameset--print-register): New function.
5267 (frameset-to-register): Use it.
5269 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
5271 * progmodes/hideif.el (hif-string-to-number): New function.
5272 (hif-tokenize): Use it to understand non-decimal floats.
5274 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
5276 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
5278 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * electric.el (electric-newline-and-maybe-indent): New command.
5281 Bind it globally to C-j.
5282 (electric-indent-mode): Don't mess with the global map any more.
5283 Don't drop the post-self-insert-hook is some buffer is still using it
5286 * bindings.el (global-map): Remove C-j binding.
5288 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
5289 the docstring of functions advised before dumping (bug#16993).
5291 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
5293 * ps-print.el (ps-generate-postscript-with-faces):
5294 Explicitly deactivate the mark (bug#16866).
5295 * simple.el (deactivate-mark): Update region highlight.
5297 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
5299 * emacs-lisp/package.el (describe-package-1):
5300 Decode commentary (bug#16733).
5302 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
5304 * custom.el (defcustom): Doc fix: recommend avoiding destructive
5305 modification of the value argument of :set (bug#16755).
5307 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
5309 * simple.el (newline-and-indent): Do autofill (bug#17031).
5311 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
5313 * newcomment.el (comment-normalize-vars): Only add escaping check
5314 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
5315 (comment-beginning): Use `narrow-to-region' instead of moving back
5317 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
5318 (comment-start-skip): Update the docstring.
5320 2014-03-18 Richard Stallman <rms@gnu.org>
5322 * dired.el (dired-display-file): Force use of other window.
5324 2014-03-18 Daniel Colascione <dancol@dancol.org>
5326 * startup.el (tty-handle-args): Remove debug message from 2007.
5328 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5330 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
5331 (advice--make-interactive-form): Use it to avoid (auto)loading function.
5332 (advice--make-1, advice-add, advice-remove):
5333 Remove braindead :advice-pending hack.
5335 2014-03-17 Glenn Morris <rgm@gnu.org>
5337 * calendar/calendar.el (calendar-generate-month): Apply weekend
5338 face to the right days; fixes 2013-08-06 change. (Bug#17028)
5340 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
5342 * net/tramp.el (tramp-action-out-of-band): Read pending output.
5343 (tramp-call-process): Trace also DESTINATION.
5345 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5346 Quote file names when they are local. Remove superfluous trace.
5348 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
5350 * newcomment.el (comment-beginning): If `comment-start-skip'
5351 doesn't match, move back one char and try again. (Bug#16971)
5353 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5354 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
5355 Set `comment-start-skip' to a simpler value that doesn't try to
5356 check if the semicolon is escaped (this is handled by
5357 `syntax-ppss' now). (Bug#16971)
5359 * progmodes/scheme.el (scheme-mode-variables): Same.
5361 2014-03-16 Martin Rudalics <rudalics@gmx.at>
5363 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
5364 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
5365 current (Bug#16816, Bug#17007).
5366 (with-current-buffer-window): New macro doing the same as
5367 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
5368 * help.el (help-print-return-message): Warn in doc-string to not
5369 use this in `with-help-window'.
5370 (describe-bindings-internal): Call `describe-buffer-bindings'
5371 from within help buffer. See Juanma's scenario in (Bug#16816).
5372 (with-help-window): Update doc-string.
5373 * dired.el (dired-mark-pop-up):
5374 * files.el (save-buffers-kill-emacs):
5375 * register.el (register-preview): Use `with-current-buffer-window'
5376 instead of `with-temp-buffer-window'.
5378 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
5380 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
5381 Implement inserting into current buffer, documented in their docstrings.
5382 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
5383 (rst-section-tree-point, rst-forward-section, rst-indent)
5384 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
5385 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
5386 (rst-font-lock-handle-adornment-pre-match-form)
5387 (rst-repeat-last-character): Reflow docstrings.
5388 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
5389 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
5390 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
5391 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
5392 Fix docstring typos.
5393 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
5394 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
5395 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
5397 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
5399 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
5400 for compatibility with other ports.
5401 (ns-initialize-window-system): Use it. It is set in term/common-win.el
5402 from the -xrm command line argument, but in the Nextstep port its value
5403 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
5405 * progmodes/python.el (defconst, python-syntax-count-quotes)
5406 (python-indent-region, python-indent-shift-right)
5407 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
5408 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
5409 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
5410 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
5411 (inferior-python-mode, python-shell-make-comint, run-python-internal)
5412 (python-shell-buffer-substring, python-shell-send-buffer)
5413 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
5414 (python-completion-complete-at-point, python-fill-docstring-style)
5415 (python-eldoc-function, python-imenu-format-item-label)
5416 (python-imenu-format-parent-item-label)
5417 (python-imenu-format-parent-item-jump-label)
5418 (python-imenu--build-tree, python-imenu-create-index)
5419 (python-imenu-create-flat-index): Fix docstring typos.
5420 (python-indent-context, python-shell-prompt-regexp, run-python):
5421 Remove superfluous backslashes.
5422 (python-indent-line, python-nav-beginning-of-defun)
5423 (python-shell-get-buffer, python-shell-get-process)
5424 (python-info-current-defun, python-info-current-line-comment-p)
5425 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
5426 (python-indent-post-self-insert-function, python-shell-send-file)
5427 (python-shell-completion-get-completions)
5428 (python-shell-completion-complete-or-indent)
5429 (python-eldoc--get-doc-at-point): Reflow docstrings.
5431 2014-03-14 Glenn Morris <rgm@gnu.org>
5433 * emacs-lisp/package.el (package-menu-mode-map):
5434 Replace use of obsolete function alias. Tweak menu item text.
5436 * info.el (Info-finder-find-node):
5437 Ignore the `emacs' metapackage. (Bug#10813)
5439 * finder.el (finder-list-matches): Include unversioned packages
5440 in the result of a keyword search.
5442 * finder.el (finder--builtins-descriptions): New constant.
5443 (finder-compile-keywords): Use finder--builtins-descriptions.
5445 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
5447 * simple.el (blink-matching-paren): Describe the new value,
5448 `jump', enabling the old behavior.
5449 (blink-matching-open): Use that value. (Bug#17008)
5451 2014-03-14 Glenn Morris <rgm@gnu.org>
5453 * finder.el (finder-no-scan-regexp): Add leim-list.
5454 (finder-compile-keywords):
5455 Don't skip files with same basename. (Bug#14010)
5456 * Makefile.in (setwins_finder): New, excluding leim.
5457 (finder-data): Use setwins_finder.
5459 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
5460 (help-function-arglist, help-make-usage): Move from here...
5461 * help.el (help-split-fundoc, help-add-fundoc-usage)
5462 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
5463 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
5465 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
5467 * net/socks.el (socks, socks-override-functions)
5468 (socks-find-services-entry):
5469 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
5470 (hif-find-ifdef-block):
5471 * progmodes/modula2.el (m2-indent): Fix docstring typos.
5473 * net/tls.el (tls-program): Reflow docstring.
5475 * progmodes/pascal.el (pascal-mode-abbrev-table)
5476 (pascal-imenu-generic-expression, pascal-auto-endcomments)
5477 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
5478 (pascal-outline-mode): Fix docstring typos.
5479 (pascal-mode): Let define-derived-mode document mode hook.
5480 (pascal-uncomment-area): Reflow.
5481 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
5483 * progmodes/opascal.el (opascal-compound-block-indent)
5484 (opascal-case-label-indent): Fix docstring typos.
5485 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
5487 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
5489 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5490 Fontify multiple adjacent negation chars. (Bug#17004)
5492 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
5494 * emacs-lisp/package.el (package--prepare-dependencies):
5495 Accept requirements without explicit version (bug#14941).
5497 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5499 * register.el (register-separator, copy-to-register): Doc fixes.
5500 (register-preview-default): Remove unnecessary call to concat.
5502 * frameset.el (frameset-restore): When checking for a visible frame,
5503 use the action map instead of calling visible-frame-list.
5505 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
5507 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
5509 2014-03-12 Martin Rudalics <rudalics@gmx.at>
5511 * window.el (fit-frame-to-buffer): Get maximum width from
5512 display's width instead of height.
5514 2014-03-12 Glenn Morris <rgm@gnu.org>
5516 * desktop.el (desktop-restore-frames)
5517 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
5518 (desktop-restore-reuses-frames): Doc tweaks.
5520 * electric.el (electric-indent-mode): Doc fix.
5522 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5524 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
5525 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
5526 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
5527 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
5528 (cvs-dired-use-hook): Fix docstring typos.
5529 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
5532 * vc/pcvs-defs.el (cvs-auto-remove-handled)
5533 (cvs-auto-remove-directories, cvs-default-ignore-marks)
5534 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
5535 (cvs-execute-single-dir): Fix docstring typos.
5537 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
5538 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
5540 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
5542 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
5543 Fix docstring typos.
5545 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5547 * frameset.el (frameset--jump-to-register): Add autoload; it could be
5548 called from jump-to-register after unloading the frameset package.
5550 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
5553 (bug#16975). Deactivate the mark before setting it to nil.
5554 (activate-mark): Do nothing if region is already active.
5556 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5558 * frameset.el (frameset--target-display): Remove definition; declare.
5559 (frameset-save, frameset-restore): Let-bind frameset--target-display.
5561 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5563 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
5564 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
5565 when the advice is pending.
5566 (advice-remove): Remove this marker when not needed any more.
5568 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5570 * frameset.el: Separate options for reusing frames and cleaning up.
5571 (frameset--reuse-list): Remove definition; declare.
5572 (frameset--action-map): Declare.
5573 (frameset--find-frame-if): Doc fix.
5574 (frameset--restore-frame): Cache frame action.
5575 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
5576 how to clean up the frame list after restoring. Remove cleaning
5577 options from REUSE-FRAMES. Change all keyword values to symbols.
5578 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
5580 * desktop.el (desktop-restore-forces-onscreen)
5581 (desktop-restore-reuses-frames): Use non-keyword values.
5582 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
5584 2014-03-10 Glenn Morris <rgm@gnu.org>
5586 * files.el (find-file): Doc fix: update info node name.
5588 * emacs-lisp/advice.el (ad-add-advice, defadvice):
5589 Doc fix: remove references to deleted info nodes.
5591 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
5593 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5594 Do not add nil to the environment, when there's no remote `locale'.
5595 (tramp-find-inline-encoding): Check, that the remote host has
5596 installed perl, before sending scripts.
5598 2014-03-10 Leo Liu <sdl.web@gmail.com>
5600 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5601 Clear eldoc-last-message. (Bug#16920)
5603 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
5605 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
5608 2014-03-09 Juri Linkov <juri@jurta.org>
5610 * ansi-color.el (ansi-color-names-vector): Copy default colors
5611 from `xterm-standard-colors' that look well on the default white
5612 background (and also on the black background) to avoid illegible
5613 color combinations like yellow-on-white and white-on-white.
5614 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
5616 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
5618 * frameset.el (frameset-restore): When no frame is visible, do not
5619 generate a list of frames, just make visible the selected one.
5621 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
5623 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
5624 it only contains the repository root. (Bug#16897)
5626 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
5628 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
5629 only when `remote-file-name-inhibit-cache' is nil.
5630 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
5632 2014-03-06 Martin Rudalics <rudalics@gmx.at>
5634 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
5636 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
5637 fit-frame-to-buffer variable. Fix doc-string.
5638 (fit-window-to-buffer): Set ONLY argument in call of
5639 fit-frame-to-buffer. Fix doc-string.
5641 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
5643 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
5644 (tramp-action-password): Clear password cache if needed.
5645 (tramp-read-passwd): Do not clear password cache.
5647 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
5648 cache unless it is the first password request.
5650 2014-03-06 Glenn Morris <rgm@gnu.org>
5652 * simple.el (newline): Doc tweak.
5654 * emacs-lisp/shadow.el (load-path-shadows-find):
5655 Ignore dir-locals. (Bug#12357)
5657 2014-03-05 Glenn Morris <rgm@gnu.org>
5659 * files.el (interpreter-mode-alist):
5660 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
5662 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5664 * frameset.el (frameset--initial-params): Filter out null entries.
5666 2014-03-05 Martin Rudalics <rudalics@gmx.at>
5668 * window.el (window-min-height, window-min-width):
5669 Rewrite doc-strings.
5670 (window-body-size): Add PIXELWISE argument to make it consistent
5673 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5675 * finder.el (finder-mode-map, finder-mode-syntax-table):
5676 Revert part of 2014-02-28 change.
5678 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
5680 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
5681 (eww-setup-buffer): Clear next/prev/etc more reliably.
5682 (eww-textarea-map): [tab] doesn't work on tty.
5683 Reported by Mario Lang.
5685 * net/shr.el (shr-map): Ditto.
5687 2014-03-04 Glenn Morris <rgm@gnu.org>
5689 * minibuffer.el (completion-hilit-commonality):
5690 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
5692 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5694 * hilit-chg.el (hilit-chg-unload-function): New function.
5695 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
5696 (hilit-chg-map-changes): Prefer cardinal number to digit.
5697 (hilit-chg-display-changes): Reflow docstring.
5698 (highlight-changes-rotate-faces): Remove superfluous backslash.
5700 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
5702 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
5703 `tramp-send-command-and-check'.
5705 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5707 * hexl.el (hexl-address-region, hexl-ascii-region)
5708 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
5709 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
5710 (hexl-forward-word, hexl-previous-line, hexl-next-line):
5711 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
5712 (hexl-mode): Doc fix.
5713 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
5714 (hexl-mode-ruler): Fix typos in docstrings.
5716 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
5717 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
5718 Remove superfluous backslashes.
5719 (strokes-last-stroke, strokes-global-map, strokes-mode):
5721 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
5722 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
5723 (strokes-distance-squared, strokes-global-set-stroke)
5724 (strokes-global-set-stroke-string): Doc fixes.
5725 (strokes-help): Fix typos; reflow docstring.
5727 2014-03-04 Martin Rudalics <rudalics@gmx.at>
5729 * window.el (window-in-direction): Fix doc-string.
5731 2014-03-04 Glenn Morris <rgm@gnu.org>
5733 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
5734 Explicit error if no grammar.
5735 (smie-config-save): Doc fix. Fix quote typo.
5737 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
5739 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
5740 electric-indent-mode-hook if we obey electric-indent-mode.
5741 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
5742 decide whether we obey electric-indent-mode.
5743 (c-change-set-fl-decl-start, c-extend-after-change-region):
5745 (c-electric-indent-mode-hook): Assume we do want to obey
5746 electric-indent-mode.
5748 * electric.el (electric-indent-mode-has-been-called): Remove.
5749 (electric-indent-mode): Fix accordingly.
5751 * files.el (hack-local-variables): Mention file name in warning.
5753 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
5755 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
5757 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5758 * simple.el (delete-forward-char): Mark as interactive-only.
5760 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
5762 * icomplete.el (icomplete-completions):
5763 Follow-up to 2014-03-01 change.
5765 * icomplete.el: Miscellaneous doc fixes.
5766 Use Icomplete everywhere instead of icomplete for consistency.
5767 (icomplete-max-delay-chars): Fix typo.
5768 (icomplete-mode): Use \[].
5769 (icomplete-tidy, icomplete-exhibit): Reflow.
5770 (icomplete-minibuffer-setup-hook, icomplete-completions):
5771 Remove superfluous backlashes.
5773 * ido.el: Miscellaneous doc fixes.
5774 Use Ido everywhere instead of ido or `ido' for consistency.
5775 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
5776 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
5777 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
5778 (ido-separator): Extract obsolescence info from docstring and declare
5779 with make-obsolete-variable.
5780 (ido-minibuffer-setup-hook): Simplify example.
5781 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
5782 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
5783 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
5784 (ido-everywhere): Reflow docstring.
5785 (ido-toggle-vc): Doc fix.
5786 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
5787 of long list of keybindings.
5789 2014-03-03 Glenn Morris <rgm@gnu.org>
5791 * frame.el (display-pixel-height, display-pixel-width)
5792 (display-mm-dimensions-alist, display-mm-height)
5793 (display-mm-width): Doc tweaks.
5795 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
5797 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
5798 case of undo in region.
5800 2014-03-02 Martin Rudalics <rudalics@gmx.at>
5802 * window.el (fit-window-to-buffer): Fix argument in window-size
5803 call when window is horizontally combined.
5805 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
5807 * icomplete.el (icomplete-completions): Use string-width.
5808 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5810 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
5812 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5813 Highlight regexp options. (Bug#16914)
5815 2014-03-01 Martin Rudalics <rudalics@gmx.at>
5817 * window.el (window--max-delta-1): Round down when calculating
5818 how many lines/columns we can get from a window.
5820 2014-03-01 Glenn Morris <rgm@gnu.org>
5822 * isearch.el (search-invisible): Doc fix.
5824 * minibuffer.el (completion-hilit-commonality):
5825 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
5826 * comint.el (comint-dynamic-list-completions): Doc fix.
5827 * comint.el (comint-dynamic-list-completions):
5828 * filecache.el (file-cache-minibuffer-complete):
5829 * tempo.el (tempo-display-completions):
5830 * eshell/em-hist.el (eshell-list-history):
5831 Replace use of obsolete argument of display-completion-list.
5833 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
5835 * icomplete.el (icomplete-completions):
5836 Revert back to using "..." when ?… cannot be displayed.
5838 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5840 * finder.el (finder-unload-function): New function.
5842 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5844 * dframe.el (dframe-detach):
5845 * find-dired.el (find-dired, find-name-dired):
5846 * finder.el (finder-mode-map, finder-mode-syntax-table)
5847 (finder-headmark, finder-select, finder-mouse-select):
5848 Fix docstring typos.
5850 2014-02-28 Martin Rudalics <rudalics@gmx.at>
5852 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
5853 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
5854 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5855 Fix doc-string based on a suggestion by Nicolas Richard
5856 <theonewiththeevillook@yahoo.fr>.
5857 * help.el (with-help-window): Fix doc-string.
5859 2014-02-28 Ivan Kanis <ivan@kanis.fr>
5861 * net/shr.el (shr-image-animate): New option.
5862 (shr-put-image): Respect shr-image-animate.
5864 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
5866 * net/tramp-adb.el (tramp-adb-parse-device-names):
5867 Use `accept-process-output'.
5868 (tramp-adb-handle-file-truename): Cache the localname only.
5869 (tramp-adb-handle-make-directory)
5870 (tramp-adb-handle-delete-directory): Flush file properties correctly.
5871 (tramp-adb-handle-set-file-modes): Do not raise an error when file
5872 modes cannot be changed.
5874 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
5875 file properties of symlinks.
5877 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
5879 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
5880 required/optional fields to match development biblatex. (Bug#16781)
5882 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
5884 * saveplace.el (toggle-save-place):
5885 Fix argument handling. (Bug#16673)
5887 2014-02-28 Glenn Morris <rgm@gnu.org>
5889 * minibuffer.el (completions-first-difference)
5890 (completions-common-part, completion-hilit-commonality): Doc fixes.
5892 2014-02-28 Karl Berry <karl@gnu.org>
5894 * info.el (Info-mode-map): Add H for describe-mode,
5895 to synchronize with standalone Info.
5897 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
5899 * progmodes/sql.el (sql-interactive-mode):
5900 Avoid setting global comint-input-ring-separator. (Bug#16814)
5902 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5904 * net/dbus.el (dbus--init-bus): Declare function.
5905 (dbus-path-local, dbus-interface-local): New defconst.
5906 (dbus-init-bus): Use them.
5907 (dbus-return-values-table): Extend doc.
5908 (dbus-handle-bus-disconnect): Extend error message.
5910 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
5912 * subr.el (y-or-n-p): Fix double space issue in message.
5914 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5916 * net/tramp.el (tramp-call-process): Improve trace message.
5917 (tramp-handle-insert-file-contents): Trace error case.
5919 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5920 <insert-directory>: Use `tramp-handle-insert-directory'.
5921 (tramp-adb-handle-insert-directory): Remove function.
5922 (tramp-adb-send-command-and-check): New defun, replacing
5923 `tramp-adb-command-exit-status'. Change all callees.
5924 (tramp-adb-handle-file-attributes)
5925 (tramp-adb-handle-directory-files-and-attributes): Use it.
5926 (tramp-adb-ls-output-name-less-p):
5927 Use `directory-listing-before-filename-regexp'.
5928 (tramp-adb-handle-delete-directory): Flush also file properties of
5929 the truename of directory.
5930 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
5931 (tramp-adb-handle-file-local-copy): Make the local copy readable.
5932 (tramp-adb-handle-write-region): Implement APPEND.
5933 (tramp-adb-handle-rename-file): Make it more robust. Flush file
5934 properties correctly.
5935 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
5936 variables. Check for connected devices only when needed.
5938 2014-02-27 Glenn Morris <rgm@gnu.org>
5940 * minibuffer.el (completion-table-dynamic)
5941 (completion-table-with-cache): Doc fixes.
5943 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
5944 (completing-read-multiple): Doc fixes.
5946 2014-02-27 Daniel Colascione <dancol@dancol.org>
5948 * minibuffer.el (completion--nth-completion): Fix indentation.
5950 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
5951 explicit tramp path is empty.
5953 2014-02-27 Glenn Morris <rgm@gnu.org>
5955 * emacs-lisp/crm.el (completing-read-multiple):
5956 Empower help-enable-auto-load.
5958 2014-02-26 Glenn Morris <rgm@gnu.org>
5960 * startup.el (command-line): Don't init the tty in daemon mode.
5962 Avoid calling tty-setup-hook twice, eg if a term file
5963 explicitly calls tty-run-terminal-initialization. (Bug#16859)
5964 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
5965 (tty-create-frame-with-faces): Use it.
5966 * startup.el (command-line): Pass run-hook argument
5967 to tty-run-terminal-initialization.
5969 * dired.el (dired-restore-desktop-buffer): Demote errors;
5970 eg in case a glob match fails. (Bug#16884)
5972 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
5974 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
5975 error from `read-from-string'. (Bug#16850)
5977 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
5978 result of `completing-read' in the interactive form. (Bug#16854)
5980 2014-02-25 Glenn Morris <rgm@gnu.org>
5982 * image.el (image-animate, image-animate-timeout):
5983 Stop animating images in dead buffers. (Bug#16878)
5985 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
5987 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
5989 * startup.el (term-setup-hook): Doc fix. Make obsolete.
5990 * term/sun.el (sun-raw-prefix-hooks):
5991 Use tty-setup-hook instead of term-setup-hook.
5992 (terminal-init-sun): Construct message from bytecomp plist.
5993 * term/wyse50.el (enable-arrow-keys): Doc fix.
5995 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5997 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
5998 Fix docstring typos.
6000 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
6002 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
6004 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6006 * minibuffer.el (completion--try-word-completion):
6007 Fix error when completing M-x commands (bug#16808).
6009 2014-02-24 Leo Liu <sdl.web@gmail.com>
6011 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
6013 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
6015 * apropos.el (apropos-print): Avoid formatting error when
6016 apropos-do-all and apropos-compact-layout are both t.
6018 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
6020 * apropos.el (apropos-property, apropos-all-words-regexp)
6021 (apropos-true-hit, apropos-variable, apropos-print):
6022 Fix docstring typos, and remove obsolete comment.
6024 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
6026 * net/tramp-sh.el (tramp-sh-handle-file-truename):
6027 Preserve trailing "/". (Bug#16851)
6029 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
6031 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
6032 after `=>' (bug#16811).
6033 (ruby-smie-rules): Handle the inconsistent second element of the
6034 list returned by `smie-indent--parent'.
6035 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
6038 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
6040 * elec-pair.el (electric-pair-text-syntax-table)
6041 (electric-pair-syntax-info, electric-pair--syntax-ppss)
6042 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
6043 (electric-pair--looking-at-unterminated-string-p): Doc fix.
6044 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
6046 2014-02-22 Glenn Morris <rgm@gnu.org>
6048 * imenu.el (imenu--generic-function): Doc fix.
6050 * register.el (frame-configuration-to-register): Make obsolete.
6052 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
6054 * desktop.el (desktop-save-buffer-p): Do not fail when
6055 desktop-files-not-to-save is nil. Return t for true result
6058 2014-02-22 Daniel Colascione <dancol@dancol.org>
6060 * net/secrets.el (secrets-create-item, secrets-search-items):
6061 Check that attribute values are strings, avoiding the construction
6062 of invalid dbus messages.
6064 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
6066 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
6067 defun-declarations-alist.
6069 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
6071 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
6074 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
6076 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
6077 (whitespace-newline, whitespace-trailing, whitespace-line)
6078 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
6079 (whitespace-space-after-tab): Fix typo in docstrings.
6081 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
6083 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
6085 * electric.el (electric-indent-functions-without-reindent):
6086 Add `yaml-indent-line'.
6088 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
6090 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
6091 It has done nothing for years; should be removed after the release.
6093 * simple.el (choose-completion): Fix docstring typo.
6094 (read-quoted-char-radix): Remove unneeded * in docstring.
6095 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
6096 Don't escape parentheses unnecessarily in docstrings.
6098 2014-02-21 Martin Rudalics <rudalics@gmx.at>
6100 Fix handling of window-min-height/-width (Bug#16738).
6101 * window.el (window--dump-window, window--dump-frame):
6103 (window--min-size-1): Account for window dividers.
6104 When window-resize-pixelwise is nil, delay rounding till after the
6105 sum of the window components has been calculated.
6106 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
6107 nil make sure at least one text line and two text columns remain
6109 (window-resize): Signal an error when window-resize-apply fails.
6110 (window--resize-child-windows): Fix calculation of by how many
6111 pixels a window can still be shrunk via window-new-normal.
6112 (adjust-window-trailing-edge): Call window--resizable with
6113 correct TRAIL argument.
6115 (with-temp-buffer-window): Don't evaluate BODY within
6116 with-current-buffer (Bug#16816).
6118 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
6120 * net/tramp.el (tramp-check-cached-permissions):
6121 Call `file-attributes' with `suffix' being a symbol but a string.
6123 2014-02-21 Daniel Colascione <dancol@dancol.org>
6125 * net/dbus.el (dbus-init-bus-1): Declare new subr.
6126 (dbus-init-bus): New function: call into dbus-init-bus-1
6127 and installs a handler for the disconnect signal.
6128 (dbus-call-method): Rewrite to look for result in cons.
6129 (dbus-call-method-handler): Store result in cons.
6130 (dbus-check-event): Recognize events with nil sender as valid.
6131 (dbus-handle-bus-disconnect): New function. React to bus
6132 disconnection signal by synthesizing dbus error for each
6133 pending synchronous or asynchronous call.
6134 (dbus-notice-synchronous-call-errors): New function.
6135 (dbus-handle-event): Raise errors directly only when `dbus-debug'
6136 is true, not all the time.
6138 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
6140 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6141 Remove obsolescence declarations, these variables do not exist anymore.
6143 * savehist.el (savehist-save-minibuffer-history)
6144 (savehist-additional-variables, savehist-file, savehist-mode-hook)
6145 (savehist-save-hook, savehist-coding-system, savehist-loaded)
6146 (savehist-load, savehist-install, savehist-autosave): Fix typos;
6147 mostly, refer to "Savehist mode" when talking about the mode,
6148 and not the function.
6150 * saveplace.el (save-place): Remove redundant info in docstring.
6151 (save-place-forget-unreadable-files, toggle-save-place)
6152 (save-place-forget-unreadable-files, save-place-dired-hook):
6153 Fix typos and remove unneeded backslashes.
6155 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
6157 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
6158 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
6160 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6161 <insert-directory>: Use `tramp-handle-insert-directory'.
6162 (tramp-gvfs-handle-insert-directory): Remove function.
6164 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6165 Call `tramp-handle-insert-directory'.
6167 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
6169 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
6170 before the start of buffer/region (bug#16799).
6172 2014-02-20 Glenn Morris <rgm@gnu.org>
6174 * isearch.el (search-invisible): Doc fix.
6176 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
6178 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
6181 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
6183 * frameset.el (frameset-restore): Delay removing an old frame's
6184 duplicate id until the new frame has been correctly created.
6186 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
6188 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
6189 (tramp-check-cached-permissions): Call `file-attributes' if the
6192 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
6193 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
6195 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6196 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
6197 (tramp-gvfs-maybe-open-connection): Set always connection
6198 properties, even if target is mounted already.
6200 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
6201 Set tramp-autoload cookie.
6202 (tramp-get-remote-touch): New defun.
6203 (tramp-sh-handle-set-file-times): Use it.
6204 (tramp-sh-handle-directory-files-and-attributes):
6205 Use `tramp-handle-directory-files-and-attributes' if neither stat
6206 nor perl are available on the remote host.
6208 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
6209 "/". Write long listing only when "l" belongs to the switches.
6211 * net/trampver.el: Update release number.
6213 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
6215 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
6217 2014-02-19 Martin Rudalics <rudalics@gmx.at>
6219 * window.el (window-state-put): Allow WINDOW to refer to an
6220 internal window (Bug#16793).
6222 2014-02-19 Glenn Morris <rgm@gnu.org>
6224 * textmodes/remember.el: Move provide statement to end.
6225 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
6226 (remember-notes): Doc fixes.
6228 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * delsel.el (delete-char): Restore incorrectly erased property
6233 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
6235 * frameset.el (frameset--restore-frame): When a frame is being reused
6236 and its root window is not alive, delete all the frame's windows before
6237 restoring the window state. This works around the issue in bug#16793.
6239 2014-02-18 Glenn Morris <rgm@gnu.org>
6241 * textmodes/remember.el (remember-data-directory)
6242 (remember-directory-file-name-format, remember-store-in-files)
6243 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
6244 (remember-notes-save-and-bury-buffer)
6245 (remember-notes--kill-buffer-query): Doc fixes.
6247 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
6249 2014-02-17 Alan Mackenzie <acm@muc.de>
6251 Connect electric-indent-mode up with CC Mode. Bug #15478.
6252 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
6253 to electric-indent-{,local-}-mode.
6254 (c-basic-common-init): Set electric-indent-inhibit.
6255 Initialise c-electric-flag from electric-indent-mode.
6256 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
6257 New hook functions which propagate electric-indent-mode to CC mode.
6259 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
6260 hit, toggle electric-indent-local-mode.
6262 * electric.el (electric-indent-mode-has-been-called):
6265 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
6267 * frameset.el (frameset-cfg-id): New function.
6268 (frameset--reuse-frame, frameset-restore): Use it.
6269 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
6271 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
6273 * ido.el (ido-file-internal): Remove unused var `d'.
6274 Use \` for to match BoS. Fit within 80n columns.
6276 2014-02-17 Daniel Colascione <dancol@dancol.org>
6278 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
6279 dbus-call-method check for completion using a busy-wait loop with
6282 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
6284 Sync with Tramp 2.2.9.
6286 * net/trampver.el: Update release number.
6288 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
6290 * ido.el (ido-file-internal): Don't add the name of an existing
6291 directory twice. (Bug#16747)
6293 2014-02-16 Glenn Morris <rgm@gnu.org>
6295 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
6296 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
6298 2014-02-15 Michael R. Mauger <michael@mauger.com>
6300 * progmodes/sql.el: Version 3.4
6301 (sql-oracle-options): New default value ("-L").
6302 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
6303 (sql-placeholders-filter): Correct placeholder pattern.
6304 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
6305 (sql-login-delay): New variable.
6306 (sql-product-interactive): Use it.
6308 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
6310 * frameset.el (frameset--jump-to-register): Check that buffer is live
6313 2014-02-15 Glenn Morris <rgm@gnu.org>
6315 * info.el (info-initialize): Revert 2014-01-10 change.
6317 2014-02-14 Glenn Morris <rgm@gnu.org>
6319 * replace.el (map-query-replace-regexp)
6320 (read-regexp-defaults-function, read-regexp): Doc fixes.
6322 * dired.el (dired-read-regexp):
6323 * faces.el (list-faces-display):
6324 * misearch.el (multi-isearch-read-matching-buffers)
6325 (multi-isearch-read-matching-files):
6326 * play/cookie1.el (cookie-apropos):
6327 * progmodes/grep.el (grep-read-regexp): Doc fixes.
6329 * textmodes/remember.el (remember): Use frameset-to-register
6330 rather than frame-configuration-to-register.
6332 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
6334 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
6335 incorrect keybinding.
6337 2014-02-13 Daniel Colascione <dancol@dancol.org>
6339 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
6340 when adding overlays so that line numbers from compiler match line
6343 2014-02-13 Glenn Morris <rgm@gnu.org>
6345 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
6347 * jit-lock.el (jit-lock-mode): Doc fix.
6349 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
6351 * apropos.el (apropos-read-pattern): When the user passes an empty
6352 string, give a more helpful error message than "Wrong type
6353 argument: stringp, nil".
6355 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
6357 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
6359 2014-02-13 Glenn Morris <rgm@gnu.org>
6361 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
6363 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
6365 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
6366 shift-select commands.
6368 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
6370 * progmodes/js.el (js-indent-line): Don't widen.
6371 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
6373 2014-02-12 Glenn Morris <rgm@gnu.org>
6375 * icomplete.el (icomplete): Add info-link to defgroup.
6376 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
6377 (icomplete-minibuffer-map, icomplete-mode)
6378 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
6380 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
6381 (package-menu-filter): Rename from package-menu-filter-interactive.
6384 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
6386 * frameset.el (frameset--jump-to-register): Select the required
6387 window and buffer before restoring position (bug#16696).
6389 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
6391 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
6393 2014-02-10 Glenn Morris <rgm@gnu.org>
6395 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
6397 2014-02-10 Eli Zaretskii <eliz@gnu.org>
6399 * w32-common-fns.el (x-get-selection): Doc fix.
6400 * select.el (x-get-selection): Doc fix. (Bug#15109)
6402 * face-remap.el (face-remap-add-relative)
6403 (face-remap-remove-relative, face-remap-reset-base)
6404 (face-remap-set-base): Call force-mode-line-update to redisplay
6405 the current buffer due to potential change in faces. (Bug#16709)
6407 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
6409 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
6410 script more robustly.
6412 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6414 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
6416 * simple.el (choose-completion): Doc fix (bug#14160).
6418 * subr.el (event-start): Say what a nil EVENT value means.
6420 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
6423 * progmodes/grep.el (find-program): Doc fix (bug#14289).
6425 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
6427 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
6429 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
6430 predicate function (bug#15455).
6432 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
6434 * ielm.el (inferior-emacs-lisp-mode): Instead of
6435 `comment-use-global-state', set `comment-use-syntax'.
6437 2014-02-10 Glenn Morris <rgm@gnu.org>
6439 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
6441 2014-02-09 Alan Mackenzie <acm@muc.de>
6443 Fix c-invalidate-state-cache on narrowed buffers.
6444 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
6445 Widen when setting and clearing the CPP delimiter properties.
6447 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
6449 * help.el (describe-bindings): Doc fix (bug#9888).
6451 * files.el (save-buffer): Use ARG as the parameter name for
6452 consistency (bug#10346).
6453 (save-buffer): Clarify the 0 argument (bug#10346).
6455 * cus-edit.el (customize-apropos): Fix error string.
6456 (custom-buffer-create): Doc fix (bug#11122).
6457 (custom-sort-items): Doc fix (bug#11121).
6459 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
6461 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
6462 (icomplete-simple-completing-p): Mention the previous variable.
6464 * font-lock.el (font-lock-value-in-major-mode): Clarify the
6465 meaning of the parameter (bug#12282).
6467 * files.el (find-file-noselect): Clarify prompt when changing
6468 readedness (bug#13261).
6469 (locate-file): Suffixes aren't returned, so don't say that they
6471 (backup-inhibited): Doc clarification (bug#12525).
6473 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
6474 before we actually start to delete things (bug#16331).
6476 * subr.el (event-start): Doc fix (bug#14228).
6479 2014-02-09 Glenn Morris <rgm@gnu.org>
6481 * emacs-lisp/warnings.el (lwarn):
6482 Empower help-enable-auto-load. (Bug#15940)
6484 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6486 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
6489 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
6491 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6492 Insert output at end of buffer. (Bug#16120)
6494 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
6496 * simple.el (choose-completion-string-functions): Document new
6497 calling convention (bug#14153).
6498 (execute-extended-command): Clarify doc string (bug#13373).
6500 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
6502 * find-dired.el (find-name-dired): Doc fix (bug#14290).
6503 (find-grep-dired): Doc fix (bug#14288).
6505 2014-02-08 Juri Linkov <juri@jurta.org>
6507 * isearch.el (isearch-quote-char): Check character validity
6508 like in `quoted-insert' (bug#16677).
6510 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
6512 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
6514 * isearch.el (isearch-hide-immediately): Doc clarification
6517 * simple.el (line-move): Document utility function used many
6518 places in the Emacs sources (bug#14843).
6520 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
6521 (dired-prev-marked-file): Doc fix (bug#14855).
6522 (dired-up-directory): Doc fix (bug#14848).
6524 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
6526 * files.el (file-relative-name): Doc fix (bug#15159).
6528 * fringe.el (fringe-styles): Doc fix (bug#15239).
6530 * isearch.el (isearch-filter-predicate): Documentation typo fix
6533 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
6535 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
6537 * replace.el (replace-match-maybe-edit): Doc clarification
6540 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
6542 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
6544 2014-02-08 Glenn Morris <rgm@gnu.org>
6546 * help-fns.el (describe-variable):
6547 Check {file,dir}-local-variables-alist, and buffer-file-name,
6548 in the correct buffer.
6550 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
6552 * help-fns.el (describe-variable): Fix the case where
6553 a value is directory-local with no dir-locals file. (Bug#16635)
6555 2014-02-08 Glenn Morris <rgm@gnu.org>
6557 * abbrev.el (edit-abbrevs-mode):
6558 Derive from fundamental-mode. (Bug#16682)
6560 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
6562 * simple.el (quoted-insert): Check character validity (bug#16677).
6564 2014-02-07 Juri Linkov <juri@jurta.org>
6566 * desktop.el (desktop-read): Claim the lock when the owner is not
6567 the current process. (Bug#16157)
6569 2014-02-07 Juri Linkov <juri@jurta.org>
6571 * desktop.el (desktop-buffers-not-to-save): Change default from nil
6572 to "\\` ". (Bug#16651)
6574 2014-02-07 Juri Linkov <juri@jurta.org>
6576 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
6577 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
6578 (desktop-auto-save-cancel-timer): New function with some code from
6579 `desktop-auto-save-set-timer'.
6580 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
6581 Instead of setting `desktop-save-mode' to nil, call
6582 `desktop-save-mode' with arg 0. (Bug#16630)
6584 2014-02-07 Glenn Morris <rgm@gnu.org>
6586 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
6587 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
6588 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
6590 * obsolete/iswitchb.el: Move to obsolete/.
6591 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
6592 since obsolete/ is not scanned for autoloads.
6593 * emacs-lisp/authors.el (authors-valid-file-names):
6596 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
6597 Disable now non-functional find-file-hook.
6599 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
6601 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
6602 instead of ";" in order to avoid additional prompts. Let heredoc
6603 scripts read from tty. (Bug#16582)
6604 (tramp-send-command): No special handling of heredocs, it isn't
6607 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
6609 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
6610 with a space (bug#16664). Limit the symbols considered to the ones
6611 that are bound or fbound (bug#16646).
6613 2014-02-06 Glenn Morris <rgm@gnu.org>
6615 * epa.el (epa-mail-aliases): Doc fix.
6617 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
6619 * emacs-lisp/lisp.el (lisp-completion-at-point):
6620 Use `completion-table-merge' instead of `completion-table-in-turn'
6623 * minibuffer.el (completion-table-merge): New function.
6625 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
6627 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
6628 (tramp-sh-handle-set-file-acl)
6629 (tramp-sh-handle-start-file-process)
6630 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
6631 (tramp-find-executable, tramp-send-command): Use it.
6633 2014-02-05 Glenn Morris <rgm@gnu.org>
6635 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
6637 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
6639 * progmodes/python.el (python-shell-send-string)
6640 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
6642 2014-02-04 Anders Lindgren <andlind@gmail.com>
6644 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
6645 the names (bug#16620).
6647 2014-02-03 Martin Rudalics <rudalics@gmx.at>
6649 * faces.el (window-divider): New default value. Rewrite doc-string.
6650 (window-divider-first-pixel, window-divider-last-pixel): New faces.
6652 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
6654 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
6655 `protected' and `public' can also be called without arguments.
6657 2014-02-03 Glenn Morris <rgm@gnu.org>
6659 * register.el (window-configuration-to-register)
6660 (frame-configuration-to-register): Unadvertise unused argument.
6661 * frameset.el (frameset-to-register): Remove unused argument.
6663 * frameset.el (frameset-to-register):
6664 * kmacro.el (kmacro-to-register):
6665 * register.el (increment-register):
6666 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
6667 (calc-append-to-register, calc-prepend-to-register):
6668 * play/gametree.el (gametree-layout-to-register)
6669 (gametree-apply-register-layout):
6670 * textmodes/picture.el (picture-clear-rectangle-to-register)
6671 (picture-yank-rectangle-from-register):
6672 * vc/emerge.el (emerge-combine-versions-register):
6673 Use register-read-with-preview to read registers.
6675 2014-02-03 João Távora <joaotavora@gmail.com>
6677 * elec-pair.el (electric-pair-backward-delete-char): Don't error
6678 when at beginning of (possibly narrowed) buffer.
6680 2014-02-02 Daniel Colascione <dancol@dancol.org>
6682 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
6683 Also try to display local help from just before point.
6685 2014-02-02 Alan Mackenzie <acm@muc.de>
6687 c-parse-state. Don't "append-lower-brace-pair" in certain
6688 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
6689 recognised as a comment.
6691 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
6692 as well as normal comment starter.
6693 (c-parse-state-get-strategy): Extra return possibility
6695 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
6696 return value list to indicate replacement of a brace-pair cons
6698 (c-parse-state-1): With 'back-and-forward, only call
6699 c-append-lower-brace-pair-to state-cache when cons-separated.
6701 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
6703 * term/ns-win.el (ns-suspend-error): New function.
6704 (ns-initialize-window-system): Add ns-suspend-error to
6705 suspend-hook (Bug#16612).
6707 2014-02-02 Daniel Colascione <dancol@dancol.org>
6709 * progmodes/cc-defs.el (c-find-assignment-for-mode):
6710 Make loading cc-mode silent.
6712 2014-02-02 Daniel Colascione <dancol@dancol.org>
6714 * comint.el (comint-prompt-read-only): Change doc to suggest
6717 2014-02-02 Glenn Morris <rgm@gnu.org>
6719 * register.el (register-read-with-preview, point-to-register)
6720 (window-configuration-to-register, frame-configuration-to-register)
6721 (jump-to-register, number-to-register, view-register, insert-register)
6722 (copy-to-register, append-to-register, prepend-to-register)
6723 (copy-rectangle-to-register): Doc fixes.
6725 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
6727 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
6728 * emacs-lisp/find-func.el (find-function-C-source): Idem.
6729 * emacs-lisp/nadvice.el (advice--cd*r): New function.
6730 * help-fns.el (describe-function-1): Use it.
6732 2014-02-02 Glenn Morris <rgm@gnu.org>
6734 * register.el (register-preview-default): New function,
6735 split from register-preview.
6736 (register-preview-function): Rename from register-preview-functions,
6738 (register-preview): Use register-preview-function.
6739 (register-read-with-preview): Error on non-character event. (Bug#16595)
6741 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
6743 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
6744 `:' before binary operators (bug#16609). Don't check for `:'
6745 before `[' and `(', or their syntax status. A percent literal
6746 can't end with either.
6747 (ruby-font-lock-keywords): For built-ins that require arguments,
6748 check that they're followed by something that looks like argument
6751 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
6753 * subr.el (butlast): Document what an omitted N means (bug#13437).
6756 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
6758 * net/shr.el (shr-generic): Make into a defsubst to make the stack
6759 depth shallower (bug#16587).
6760 (shr-tag-svg): Respect `shr-inhibit-images'.
6761 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
6763 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
6765 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
6766 (ruby-smie-grammar): Make "." right-associative. Make its priority
6767 lower than the ternary and all binary operators.
6768 (ruby-smie-rules): Indent "(" relative to the first non-"."
6769 parent, or the first "." parent at indentation.
6770 Use `ruby-align-chained-calls' for indentation of "." tokens.
6773 2014-01-31 Juri Linkov <juri@jurta.org>
6775 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
6776 from `make-hash-table'.
6778 * textmodes/ispell.el (ispell-init-process): Change message format
6779 to be consistent with other messages.
6781 2014-01-31 Glenn Morris <rgm@gnu.org>
6783 * delsel.el (delete-selection-mode): Doc fix.
6785 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
6786 (trace-function-background): Doc fixes.
6788 * ido.el (ido-use-virtual-buffers): Doc fix.
6789 Reset :version, since the default value has not changed.
6791 * register.el (register-preview-delay, register-read-with-preview):
6794 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
6795 do not mess with mail-buffer position (fixes 2009-11-03 change).
6796 * progmodes/cc-mode.el (c-submit-bug-report):
6797 Check auto-fill-mode is bound. (Bug#16592)
6799 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
6801 * startup.el (fancy-splash-image-file): New function,
6802 split from fancy-splash-head.
6803 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
6804 so that we are both using the same image. (Bug#16574)
6806 2014-01-30 Glenn Morris <rgm@gnu.org>
6808 * simple.el (eval-expression): Doc fix.
6810 * hexl.el (hexl-mode-hook):
6811 * ielm.el (ielm-mode-hook):
6812 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
6813 (lisp-interaction-mode-hook):
6814 * progmodes/cfengine.el (cfengine3-documentation-function):
6815 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
6817 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
6819 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
6820 is a symbol (bug#16584).
6822 2014-01-30 Glenn Morris <rgm@gnu.org>
6824 * help.el (help-for-help-internal): Add "P" to text.
6826 2014-01-29 Glenn Morris <rgm@gnu.org>
6828 * simple.el (just-one-space, cycle-spacing): Doc fixes.
6830 2014-01-28 Martin Rudalics <rudalics@gmx.at>
6832 * window.el (fit-frame-to-buffer): Fix calculations for margins and
6835 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
6837 * progmodes/hideif.el: Extend to full CPP expression syntax.
6838 (hif-token-alist): Add missing tokens.
6839 (hif-token-regexp): Add support for float/octal/hex immediates.
6840 (hif-string-literal-regexp): New const.
6841 (hif-tokenize): Recognize strings and float/octal/hex immediates.
6842 (hif-exprlist): New function.
6843 (hif-parse-if-exp): Use it.
6844 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
6845 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
6846 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
6847 (hif-logxor, hif-comma): New functions.
6849 2014-01-28 Glenn Morris <rgm@gnu.org>
6851 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
6853 * indent.el (tab-stop-list): Doc fix. Add :version.
6855 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
6856 (cvs-append-to-ignore): Add compatibility alias.
6858 2014-01-27 Glenn Morris <rgm@gnu.org>
6860 * dired.el (dired-hide-details-mode): Don't autoload it,
6861 since it cannot be used outside Dired buffers anyway.
6863 * emulation/cua-base.el (cua-mode): Doc fix.
6865 * dired.el (dired-hide-details-hide-symlink-targets)
6866 (dired-hide-details-hide-information-lines)
6867 (dired-hide-details-mode): Doc fixes.
6869 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
6870 * strokes.el (strokes-file): Doc fix. Bump :version.
6871 (strokes-help): Doc fix.
6872 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
6873 * emulation/viper.el (viper): Doc fix for custom group.
6874 (top-level): Remove oh-so-no-longer-relevant text about vip.
6875 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
6877 * ido.el (ido-save-directory-list-file):
6878 * saveplace.el (save-place-file):
6879 * calendar/timeclock.el (timeclock-file):
6880 * net/quickurl.el (quickurl-url-file):
6881 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6882 * progmodes/idlwave.el (idlwave-config-directory):
6883 * textmodes/remember.el (remember-data-file):
6886 2014-01-26 Glenn Morris <rgm@gnu.org>
6888 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
6889 Doc fix. Make obsolete.
6890 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
6892 * sort.el (delete-duplicate-lines): Doc fix.
6894 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6896 * progmodes/ada-mode.el (ada):
6897 * woman.el (woman): Link to info manual and Commentary section.
6899 * progmodes/flymake.el (flymake):
6900 * nxml/nxml-mode.el (nxml):
6902 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
6903 * htmlfontify.el (htmlfontify):
6906 * ido.el (ido): Link to info manual.
6908 2014-01-25 Leo Liu <sdl.web@gmail.com>
6910 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
6912 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
6914 * net/shr.el (shr-tag-img): Prefer the title over the alt text
6917 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
6919 * net/eww.el (eww-download-callback):
6920 Fix reference to eww-download-directory.
6922 * emacs-lisp/bytecomp.el (byte-compile-file):
6923 Remove unused local variable `file-name'.
6925 2014-01-24 Glenn Morris <rgm@gnu.org>
6927 * woman.el (woman-default-faces, woman-monochrome-faces):
6928 Fix obsolescence specification.
6930 * subr.el (with-demoted-errors): Doc fix.
6932 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
6934 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
6935 (cl--macroexp-fboundp): New function.
6936 (cl--make-type-test): Use it.
6938 2014-01-23 Glenn Morris <rgm@gnu.org>
6940 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
6941 * simple.el (eval-expression): Doc fixes.
6943 2014-01-22 Glenn Morris <rgm@gnu.org>
6945 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
6947 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
6949 * emacs-lisp/package.el: Write files silently.
6950 (package-autoload-ensure-default-file, package--write-file-no-coding)
6951 (package-generate-description-file, package--download-one-archive)
6952 (package-install-from-archive): Tell `write-region' to stay quiet.
6953 (package-menu-mode, package-menu--print-info): Omit the Archive column
6954 if there's only one archive.
6955 (package-all-keywords, package--has-keyword-p): Remove dead code.
6957 2014-01-22 Glenn Morris <rgm@gnu.org>
6959 * version.el (emacs-bzr-version-bzr): Fix typo.
6961 * version.el (emacs-repository-get-version):
6962 Check either .bzr or .git, but not both.
6963 Make the git case actually use the DIR argument, and return nil
6964 rather than the empty string.
6965 Avoid error if .git exists but the git executable is not found.
6967 2014-01-22 Martin Rudalics <rudalics@gmx.at>
6969 Fixes in window size functions around Bug#16430 and Bug#16470.
6970 * window.el (window-total-size, window-size): New argument ROUND.
6971 (window--min-delta-1, window-min-delta, window--max-delta-1):
6972 Be more conservative when calculating the numbers of lines or
6973 columns a window can shrink (Bug#16430).
6974 (fit-window-to-buffer): Simplify code.
6975 * term.el (term-window-width): Call window-body-width again.
6977 2014-01-22 Glenn Morris <rgm@gnu.org>
6979 * image.el (image-format-suffixes): Doc fix.
6981 * international/quail.el (quail-define-package): Doc fix.
6983 * emacs-lisp/authors.el (authors-valid-file-names)
6984 (authors-renamed-files-alist): Additions.
6986 * vc/vc-git.el (vc-git-print-log): Remove --follow;
6987 reverts 2014-01-09 change. (Bug#16422)
6989 * calc/calc-embed.el (thing-at-point-looking-at):
6990 * emacs-lisp/map-ynp.el (x-popup-dialog):
6991 * obsolete/lmenu.el (x-popup-dialog):
6992 * emacs-lisp/package.el (url-recreate-url):
6993 * mail/mailclient.el (clipboard-kill-ring-save):
6994 * subr.el (x-popup-dialog): Update declaration.
6995 * mail/rmail.el (rmail-mime-message-p):
6996 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
6998 2014-01-21 Daniel Colascione <dancol@dancol.org>
7000 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7001 Correctly detect when we're inside an arithmetic expansion form
7002 containing nested parenthesis.
7003 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
7004 to detect cases where we shouldn't expand "<<" to a heredoc
7007 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
7009 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
7010 (eldoc--message-command-p): New function.
7011 (eldoc-display-message-p): Use it.
7012 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
7013 message is not automatically erased for us.
7014 (eldoc-print-current-symbol-info): Erase previous message, if any.
7016 2014-01-21 Tassilo Horn <tsdh@gnu.org>
7018 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
7019 specify it's an interactive function.
7021 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
7022 Fix regex used for scanning for citation keys which failed for
7023 citations with optional arguments.
7025 2014-01-21 Leo Liu <sdl.web@gmail.com>
7027 * simple.el (read--expression): Don't enable eldoc-mode.
7029 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
7031 * simple.el (move-beginning-of-line): Make sure we don't move forward
7034 2014-01-20 Juri Linkov <juri@jurta.org>
7036 * saveplace.el (toggle-save-place, save-place-to-alist)
7037 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
7038 'dired-mode) before checking for dired-directory. (Bug#16477)
7040 2014-01-20 Juri Linkov <juri@jurta.org>
7042 * indent.el (indent-line-to): Use backward-to-indentation
7043 instead of back-to-indentation. (Bug#16461)
7045 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
7047 Revert some of the CANNOT_DUMP fix (Bug#16494).
7048 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
7049 but fixing this can wait until after the next release.
7050 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
7052 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
7054 * eshell/esh-mode.el (eshell-password-prompt-regexp):
7055 Use `password-word-equivalents'.
7056 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
7057 to t. (Bug#5664, Bug#13124)
7059 2014-01-19 Alan Mackenzie <acm@muc.de>
7061 Bind open-paren-in-column-0-is-defun-start to nil at some entry
7063 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
7064 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
7065 * progmodes/cc-mode.el (c-before-change, c-after-change)
7066 (c-font-lock-fontify-region): Bind it here.
7068 2014-01-19 Martin Rudalics <rudalics@gmx.at>
7070 * term.el (term-window-width): Call window-text-width instead of
7071 window-width (Bug#16470).
7073 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
7075 * simple.el (password-word-equivalents): Remove duplicates.
7076 Sort, to make this easier next time.
7077 Downcase. Omit ": " after "jelszó".
7079 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
7081 * term/common-win.el (saved-region-selection): Defvar it.
7082 (x-select-text): Set saved-region-selection (Bug#16382).
7084 2014-01-18 Glenn Morris <rgm@gnu.org>
7086 * emacs-lisp/authors.el (authors-aliases)
7087 (authors-renamed-files-alist): Add some entries.
7089 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
7091 * net/tramp.el (tramp-password-prompt-regexp):
7092 Use `password-word-equivalents' if available.
7093 (tramp-action-password, tramp-process-one-action)
7094 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
7096 2014-01-17 Chong Yidong <cyd@gnu.org>
7098 * simple.el (password-word-equivalents): New defcustom.
7099 * comint.el (comint-password-prompt-regexp): Use it. Bump version
7101 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
7104 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
7106 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
7107 (ruby-align-to-stmt-keywords): Change the default value.
7108 Use `ruby-alignable-keywords' to generate the possible customization
7110 (ruby-smie-rules): Instead of using a hardcoded list of alignable
7111 keywords, check against the value of `ruby-alignable-keywords'
7112 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
7114 2014-01-17 Glenn Morris <rgm@gnu.org>
7116 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
7118 Make M-x authors return zero *Authors Errors* from current logs.
7119 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
7120 (authors-ignored-files): Add some entries, remove others.
7121 (authors-ambiguous-files, authors-valid-file-names):
7123 (authors-renamed-files-alist): Add, remove, and adjust entries.
7124 (authors-renamed-files-regexps): Add some entries.
7125 Remove some very broad ones. Make some entries `lax'.
7126 (authors-lax-changelogs): New constant.
7127 (authors-disambiguate-file-name): Treat top-level specially.
7128 (authors-lax-changelog-p): New function.
7129 (authors-canonical-file-name): Check file as written against
7130 authors-valid-file-names. Do not special-case etc/.
7131 Handle `lax' logs and authors-renamed-files-regexps elements.
7133 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
7135 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
7136 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
7139 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7141 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
7142 Assume we're already in the proper buffer.
7143 Inspired by Anders Lindgren <andlind@gmail.com>.
7144 (follow-post-command-hook): Call it from the right buffer.
7145 (follow-comint-scroll-to-bottom): Adjust call.
7146 (follow-all-followers): Use get-buffer-window-list.
7148 2014-01-15 Daniel Colascione <dancol@dancol.org>
7150 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
7151 `buffer-file-name' in interactive-form so that we don't leave
7152 pathless file names in `file-name-history'.
7154 2014-01-15 Juri Linkov <juri@jurta.org>
7156 * indent.el (indent-rigidly): Set deactivate-mark to nil
7157 in transient indentation mode. (Bug#16438)
7159 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
7161 * emacs-lisp/package.el (package-desc-keywords): New function
7163 (describe-package-1, package-all-keywords)
7164 (package--has-keyword-p): Use it.
7166 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7168 * simple.el (define-alternatives): When creating the
7169 COMMAND-alternatives variable, assign COMMAND as its definition
7170 name so that `describe-variable' can relocate it.
7172 2014-01-14 Matthew Leach <matthew@mattleach.net>
7174 * font-lock.el (font-lock-keywords): Fix typo in docstring
7177 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7179 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
7180 line instead of wrongly reset `add-coment' (bug#13577).
7182 2014-01-14 Daiki Ueno <ueno@gnu.org>
7184 * epa-file.el (epa-file-write-region): Encode the region according
7185 to `buffer-file-format'. Problem reported at:
7186 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
7188 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
7191 so it applies in the right buffer (bug#16410).
7193 2014-01-13 Daniel Colascione <dancol@dancol.org>
7195 * textmodes/rst.el (rst-define-key): Provide deprecated
7196 keybindings through named functions instead of anonymous ones so
7197 that "??" doesn't appear in describe-mode output.
7199 2014-01-13 Bastien Guerry <bzg@gnu.org>
7201 * simple.el (define-alternatives): Call the selected command
7202 interactively. When setting `COMMAND--implementation' for the
7203 first time, tell the user how to chose another implementation.
7204 Enhance the docstring.
7206 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
7208 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
7209 (log-edit--match-first-line): New function.
7210 (log-edit-font-lock-keywords): Use it.
7211 (log-edit-mode): Make jit-lock-defer-multiline work.
7213 2014-01-13 Bastien Guerry <bzg@gnu.org>
7215 * rect.el (rectangle-mark-mode): When the region is not active,
7216 display a message saying that the mark as been set and that
7217 rectangle mode is in use.
7218 (rectangle--highlight-for-redisplay): Only put an overlay with a
7219 visible vertical bar when (display-graphic-p) is non-nil.
7220 This partially fixes Bug#16403.
7222 2014-01-13 Juri Linkov <juri@jurta.org>
7224 * info.el (Info-find-file): Go to DIR before displaying the error
7225 about a nonexistent file if no previous Info file is visited.
7226 Use `user-error' instead of `error' for "Info file %s does not exist".
7227 (Info-find-node-2): In case of a nonexistent node in unwind forms
7228 go to the Top node if there is no previous node to revert to.
7231 2014-01-13 Martin Rudalics <rudalics@gmx.at>
7233 fit-frame/window-to-buffer code fixes including one for Bug#14096.
7234 * window.el (fit-frame-to-buffer): Fix doc-string.
7235 Respect window-min-height/-width. Fit pixelwise when
7236 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
7237 when avoiding that frame goes partially off-screen.
7238 (fit-window-to-buffer): Respect window-min-height/-width
7241 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
7243 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
7244 after an empty line.
7246 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
7248 * net/shr.el (shr-render-region): Autoload.
7250 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
7252 * net/eww.el (eww-download-directory): Rename from
7253 `eww-download-path' (Bug#16419).
7255 2014-01-12 Leo Liu <sdl.web@gmail.com>
7257 * dired-x.el (dired-mode-map): Fix last change.
7259 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
7261 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
7264 * emacs-lisp/generic.el (generic--normalize-comments):
7265 Rename from generic--normalise-comments. All uses changed.
7266 * play/bubbles.el (bubbles--neighborhood-score)
7267 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
7268 (bubbles--neighborhood-available)
7269 (bubbles--update-neighborhood-score):
7270 Rename from names with 'neighbourhood'. All uses changed.
7272 2014-01-12 Leo Liu <sdl.web@gmail.com>
7274 Re-implement the feature of showing eldoc info after editing.
7275 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
7276 (eldoc-edit-message-commands): New function.
7277 (eldoc-print-after-edit): New variable.
7278 (eldoc-pre-command-refresh-echo-area): Emit message only by
7279 eldoc-message-commands.
7280 (eldoc-mode): Restrict eldoc-message-commands to editing commands
7281 if eldoc-print-after-edit is set. (Bug#16346)
7282 * simple.el (read--expression): Enable eldoc-mode.
7283 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
7285 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
7286 Eric S. Raymond <esr@thyrsus.com>
7288 * version.el (emacs-repository-get-version): Enhance so the
7289 function works correctly in either a Bazaar or Git repo.
7291 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
7293 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
7294 Goes with removal of the joke manpages from /etc.
7296 2014-01-10 Kenichi Handa <handa@gnu.org>
7298 * mail/rmail.el (rmail-get-coding-system):
7299 Check rmail-get-coding-function before "funcall"ing it.
7301 2014-01-10 Glenn Morris <rgm@gnu.org>
7303 * emacs-lisp/authors.el (authors-fixed-entries):
7304 Update for files that no longer exist.
7306 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
7308 * version.el (emacs-bzr-get-version): Restore compatibilty with
7311 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
7313 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
7316 2014-01-10 Eli Zaretskii <eliz@gnu.org>
7318 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
7320 2014-01-10 Chong Yidong <cyd@gnu.org>
7322 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
7324 2014-01-10 Anders Lindgren <andlind@gmail.com>
7326 * follow.el (follow-cache-command-list): Include right-char and
7329 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
7332 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
7333 * woman.el (woman-mark-horizontal-position):
7334 Rename from woman-mark-horizonal-position. Use changed.
7336 2014-01-10 Glenn Morris <rgm@gnu.org>
7338 * info.el (info-initialize): If running uninstalled, ensure our
7339 own info files are always found first, even if INFOPATH is set.
7341 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
7343 2014-01-09 David Engster <deng@randomsample.de>
7345 * emacs-lisp/eieio-custom.el:
7346 * emacs-lisp/eieio-opt.el: Set generated autoload file to
7347 'eieio.el'. This was accidentally removed in rev. 110325.
7348 * emacs-lisp/eieio.el: Regenerate autoloads.
7350 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
7352 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
7353 following renames. (Bug#8756)
7355 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
7359 (activate-mark): Add `no-tmm' argument.
7360 (set-mark, push-mark-command): Use it instead of running
7361 activate-mark-hook by hand.
7363 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
7365 In preparation for the move to git, sanitize out some
7366 Bazaar-specific names.
7368 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
7370 * version.el (emacs-bzr-version): Name changed to
7371 emacs-repository-version. Obsolete-variable alias made.
7372 * loadup.el: Follow through on this name change.
7373 * mail/emacsbug.el (report-emacs-bug): Factor out any
7374 assumption about the version control system in use.
7376 2014-01-08 David Engster <deng@randomsample.de>
7378 * help-fns.el (help-fns-describe-function-functions):
7379 New variable to call functions for augmenting help buffers.
7380 (describe-function-1): Remove explicit calls to
7381 `help-fns--compiler-macro', `help-fns--parent-mode' and
7382 `help-fns--obsolete'. Put them in above new variable instead, and
7383 call them through `run-hook-with-args'.
7384 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
7385 `eieio-describe-class'. Not meant for interactive use anymore,
7386 but to augment existing help buffers. Remove optional second
7387 argument. Create proper button for file location.
7388 Rewrite function to use `insert' instead of `princ' and `prin1' where
7390 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
7391 (eieio-method-def, eieio-class-def): Move further up.
7392 (describe-method, describe-generic, eieio-describe-method):
7394 (eieio-help-constructor, eieio-help-generic): Rename from
7395 `eieio-describe-constructor' and `eieio-describe-generic', resp.
7396 Rewrite to use `insert' in the current buffer and use proper help
7398 (eieio-help-find-method-definition)
7399 (eieio-help-find-class-definition): Also accept symbols as
7401 (eieio-help-mode-augmentation-maybee): Remove.
7402 (eieio-describe-class-sb): Use `describe-function'.
7403 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
7404 Add `eieio-help-generic' and `eieio-help-constructor'.
7406 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
7409 * language/china-util.el (hz-ascii-designation):
7410 Rename from hz-ascii-designnation.
7411 (hz-ascii-designation): Rename from hz-ascii-designnation.
7414 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
7416 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
7419 2014-01-08 Bastien Guerry <bzg@gnu.org>
7421 * emacs-lisp/package.el (package-delete):
7422 Correctly delete the package from package-alist.
7424 2014-01-08 Daiki Ueno <ueno@gnu.org>
7426 * emacs-lisp/package.el (url-recreate-url): Declare.
7427 (url-http-target-url): Declare.
7428 (package-handle-response): Include requested URL in the error message.
7429 (package--check-signature): Don't re-signal errors from
7430 package--with-work-buffer. Suggested by Stefan Monnier.
7432 2014-01-07 Bastien Guerry <bzg@gnu.org>
7434 * minibuffer.el (completion--try-word-completion): When both a
7435 hyphen and a space are possible candidates for the character
7436 following a word, display both candidates. (Bug#15980)
7438 2014-01-07 Martin Rudalics <rudalics@gmx.at>
7440 * window.el (balance-windows-2): While rounding don't give a
7441 window more than the remainder. Bug#16351, bug#16383.
7443 2014-01-07 Glenn Morris <rgm@gnu.org>
7445 * menu-bar.el (menu-bar-help-extra-packages): Remove.
7446 (menu-bar-help-menu): Use view-external-packages instead.
7448 2014-01-07 Bastien Guerry <bzg@gnu.org>
7450 * emacs-lisp/package.el (package-delete): Also delete the package
7451 name from `package-alist', not its description only.
7453 2014-01-07 Glenn Morris <rgm@gnu.org>
7455 * help.el (view-external-packages):
7456 * menu-bar.el (menu-bar-help-extra-packages):
7457 Visit efaq.info rather than etc/MORE.STUFF.
7459 2014-01-07 Juri Linkov <juri@jurta.org>
7461 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
7462 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
7464 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
7465 that shadows RET. (Bug#16342)
7467 2014-01-07 Chong Yidong <cyd@gnu.org>
7469 * isearch.el (isearch-yank-char, isearch-yank-word)
7470 (isearch-yank-line): Doc fix.
7472 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
7474 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
7475 * emacs-lisp/elint.el (elint-find-builtins):
7476 * emacs-lisp/eldoc.el (eldoc-symbol-function):
7477 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
7478 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
7479 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7480 * apropos.el (apropos-safe-documentation):
7481 * subr.el (symbol-file): Remove redundant fboundp.
7482 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
7484 2014-01-06 Bastien Guerry <bzg@gnu.org>
7486 * hl-line.el (global-hl-line-overlay): Make a local variable.
7487 (global-hl-line-overlays): New variable to store all overlays.
7488 (global-hl-line-mode): Don't delete overlays from the current
7489 buffer when `global-hl-line-sticky-flag' is non-nil.
7490 (global-hl-line-highlight): Add new overlays to
7491 `global-hl-line-overlays'.
7492 (global-hl-line-unhighlight-all): New function to delete all
7493 overlays when turning off `global-hl-line-mode'.
7494 This fixes Bug#16183.
7496 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
7498 * subr.el (set-transient-map): Fix nested case and docstring.
7500 2014-01-06 Tassilo Horn <tsdh@gnu.org>
7502 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
7505 2014-01-06 Daniel Colascione <dancol@dancol.org>
7507 Fix defun navigation in vc log view.
7509 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
7510 like `beginning-of-defun'.
7511 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
7512 log-view-end-of-defun to log-view-end-of-defun-1. Replace
7513 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
7514 (log-view-extract-comment): Call `log-view-current-entry' directly
7515 instead of relying on broken `log-view-beginning-of-defun' behavior.
7517 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
7520 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
7521 * emacs-lisp/debug.el (cancel-debug-on-entry):
7522 * epg.el (epg-error-to-string):
7523 * files.el (recover-file):
7524 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
7525 * mail/emacsbug.el (report-emacs-bug-hook):
7526 * mail/sendmail.el (mail-recover):
7527 * ses.el (ses-yank-resize):
7528 * term/ns-win.el (ns-print-buffer):
7529 Spelling fixes in diagnostics, mostly for "canceled" with one L.
7530 * epg.el (epg-key-capability-alist): Rename from misspelled version.
7532 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
7534 2014-01-06 Leo Liu <sdl.web@gmail.com>
7536 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
7537 to avoid shadowing global key. (Bug#16354)
7539 2014-01-06 Daniel Colascione <dancol@dancol.org>
7541 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
7544 2014-01-05 Martin Rudalics <rudalics@gmx.at>
7546 * window.el (balance-windows): Add mising t to fix Bug#16351.
7548 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7550 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
7552 (shr-insert): If we have a word that's longer than `shr-width',
7553 break after it anyway. Otherwise we'll do no breaking once we get
7556 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7558 * net/eww.el (eww): Support single/double quote for search.
7559 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
7560 (eww-history-quit): Delete and use quit-window.
7561 (eww-history-kill): Delete, because it doesn't work well and
7563 (eww-history-mode-map): Delete some keys and add easy-menu.
7565 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
7567 Fix misspelling of 'chinese' in rx (Bug#16237).
7568 * emacs-lisp/rx.el (rx-categories): Correct spelling of
7571 Change subword regexps back to vars (Bug#16296).
7572 * progmodes/subword.el (subword-forward-regexp)
7573 (subword-backward-regexp): Change these back to variables.
7575 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7577 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
7578 syntax-begin-function (bug#16247).
7580 2014-01-03 Chong Yidong <cyd@gnu.org>
7582 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
7583 (advice--docstring): Delete variable.
7584 (advice--make-1): Leave the docstring empty.
7585 (advice-add): Use function-documentation for advised docstring.
7587 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
7588 Ignore function-documentation property when getting documentation.
7589 (ad-activate-advised-definition): Use function-documentation
7590 generate the docstring.
7591 (ad-make-advised-definition): Don't call
7592 ad-make-advised-definition-docstring.
7593 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7596 * progmodes/sql.el (sql-help): Use function-documentation instead
7597 of dynamic-docstring-function property. No need to autoload now.
7598 (sql--help-docstring): New variable.
7599 (sql--make-help-docstring): Use it.
7601 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7603 * ielm.el (ielm-tab): Retarget.
7604 (ielm-map): Use ielm-tab for tab.
7605 (ielm-complete-filename): Use comint-filename-completion.
7606 (ielm-complete-symbol): Remove.
7607 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
7608 remove ielm-tab from completion-at-point-functions (bug#16224).
7610 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
7611 Beware signals raised by predicates (bug#16201).
7613 2014-01-02 Richard Stallman <rms@gnu.org>
7615 * dired-aux.el (dired-do-print): Handle printer-name.
7617 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
7618 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
7619 (rmail-epa-decrypt): Turn off mime processing.
7621 * mail/rmail.el (rmail-make-in-reply-to-field):
7622 Add parens in message-id.
7624 * mail/rmail.el (rmail-get-coding-function): Variable.
7625 (rmail-get-coding-system): Use it.
7627 2013-12-31 Eli Zaretskii <eliz@gnu.org>
7629 * international/mule-conf.el: Unify the charset indian-is13194.
7630 (indian-is13194): Specify unify-map.
7632 2013-12-31 Leo Liu <sdl.web@gmail.com>
7634 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
7636 2013-12-30 Daniel Colascione <dancol@dancol.org>
7638 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
7639 of printing a useless when we resume from sleep.
7641 * progmodes/sh-script.el
7642 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
7643 in indentation code. (Bug#16233)
7645 2013-12-28 João Távora <joaotavora@gmail.com>
7647 * elec-pair.el (electric-pair-post-self-insert-function):
7648 Don't open extra newlines at beginning of buffer. (Bug#16272)
7650 2013-12-28 Eli Zaretskii <eliz@gnu.org>
7652 * frame.el (window-system-for-display): Don't allow to create a
7653 GUI frame from a -nw session on MS-Windows. (Bug#14739)
7655 2013-12-28 Glenn Morris <rgm@gnu.org>
7657 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
7660 * apropos.el (apropos-match-face):
7661 * calculator.el (calculator-displayer):
7662 * dabbrev.el (dabbrev-search-these-buffers-only):
7663 * face-remap.el (buffer-face-mode-face):
7664 * simple.el (yank-handled-properties):
7665 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
7666 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
7667 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
7668 (hashcash-double-spend-database):
7669 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
7670 (ruby-deep-indent-paren-style):
7671 * textmodes/flyspell.el (flyspell-auto-correct-binding):
7672 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
7673 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
7674 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
7675 Specify custom types.
7677 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
7678 * bookmark.el (bookmark-bmenu-use-header-line):
7679 * doc-view.el (doc-view-scale-internally):
7680 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
7681 * register.el (register-preview-delay):
7682 * net/shr.el (shr-bullet):
7683 * progmodes/cfengine.el (cfengine-cf-promises)
7684 (cfengine-parameters-indent):
7685 * progmodes/octave.el (inferior-octave-error-regexp-alist):
7686 * textmodes/reftex-vars.el (reftex-label-regexps):
7687 * vc/log-edit.el (log-edit-setup-add-author): Add version.
7689 * net/tls.el (tls-certtool-program): Fix default value.
7691 * desktop.el (desktop-restore-in-current-display):
7692 * newcomment.el (comment-empty-lines):
7693 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
7694 (idlwave-pad-keyword):
7695 * progmodes/tcl.el (tcl-tab-always-indent):
7696 * textmodes/reftex-vars.el (reftex-index-default-tag):
7697 * elec-pair.el (electric-pair-skip-whitespace):
7698 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
7700 * emacs-lisp/authors.el (authors-ignored-files)
7701 (authors-valid-file-names, authors-renamed-files-alist): Additions.
7703 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
7705 * shell.el (shell-dynamic-complete-command): Doc fix.
7706 (shell--command-completion-data): Shell completion now matches
7707 executable filenames from the current buffer's directory, on
7708 systems in which this behavior is the default (windows-nt, ms-dos).
7710 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7712 * net/shr.el (shr-insert): Don't infloop if the width is zero.
7714 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
7716 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
7719 * electric.el: Move all electric-pair-* to elec-pair.el.
7720 * elec-pair.el: New file, split from electric.el.
7722 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7724 * net/shr.el (shr-find-fill-point): Don't try to fill if the
7725 indentation level is larger than the width, because that will
7727 (shr-insert): Fill repeatedly long texts, so that Japanese is
7728 formatted correctly (bug#16263).
7729 (shr-find-fill-point): Off by one error in comparison with the
7732 2013-12-26 João Távora <joaotavora@gmail.com>
7734 * electric.el (electric-pair-mode): More flexible engine for skip-
7735 and inhibit predicates, new options for pairing-related functionality.
7736 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
7737 if that keeps or improves their balance in buffers.
7738 (electric-pair-delete-adjacent-pairs): Delete the pair when
7739 backspacing over adjacent matched delimiters.
7740 (electric-pair-open-extra-newline): Open extra newline when
7741 inserting newlines between adjacent matched delimiters.
7742 (electric--sort-post-self-insertion-hook):
7743 Sort post-self-insert-hook according to priority values when
7744 minor-modes are activated.
7745 * simple.el (newline-and-indent): Call newline with interactive
7747 (blink-paren-post-self-insert-function): Set priority to 100.
7748 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7749 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
7750 comments. Locally set electric-pair-skip-whitespace to 'chomp and
7751 electric-pair-open-newline-between-pairs to nil.
7753 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7755 * progmodes/python.el: Use lexical-binding.
7756 (python-nav-beginning-of-defun): Stop searching ASAP.
7758 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
7760 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
7761 Fix interactive spec. Doc fix. (Bug#15754)
7763 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
7765 * emacs-lisp/byte-run.el (eval-when-compile):
7766 * progmodes/cc-defs.el (cc-eval-when-compile):
7767 Fix edebug spec (bug#16184).
7769 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7771 * net/shr.el (shr-visit-file): Remove debugging function.
7772 (shr-insert): Don't infloop if we can't find a good place to break
7773 the line (bug#16256).
7775 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
7777 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
7778 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
7779 python-nav-lisp-forward-sexp-safe.
7780 (python-nav--forward-sexp): New argument SAFE allows switching
7781 forward sexp movement behavior for parens.
7782 (python-nav-forward-sexp): Throw errors on unterminated parens
7784 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
7785 (python-nav-backward-sexp-safe): New functions.
7786 (python-shell-buffer-substring):
7787 Use `python-nav-forward-sexp-safe'.
7789 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7791 * net/shr.el (shr-find-fill-point): Don't break lines before a
7793 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
7794 (shr-find-fill-point): Remove the special checks for the quotation
7795 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
7797 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7799 * net/eww.el (eww-form-textarea): Use a different face for
7800 textareas than text input since they have different keymaps
7803 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
7805 * progmodes/python.el (python-nav-beginning-of-statement):
7806 Speed up (Bug#15295).
7808 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7810 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
7811 the window configuration.
7813 2013-12-24 Eli Zaretskii <eliz@gnu.org>
7815 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
7816 we run on MS-Windows or MS-DOS.
7818 2013-12-24 Martin Rudalics <rudalics@gmx.at>
7820 * window.el (balance-windows-area): Call window-size instead of
7821 window-height and window-width. Bug#16241.
7823 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7825 * net/eww.el (eww-bookmark-quit): Remove.
7826 (eww-bookmark-browse): Restore the window configuration when you
7827 choose a bookmark (bug#16144).
7829 2013-12-24 Daniel Colascione <dancol@dancol.org>
7831 * icomplete.el: Remove redundant :group arguments to `defcustom'
7833 (icomplete-show-matches-on-no-input): New customizable variable.
7834 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
7835 we have something to show.
7836 (icomplete-exhibit): Compute completions even if we have no user input.
7838 2013-12-23 Daniel Colascione <dancol@dancol.org>
7840 * icomplete.el: Move `provide' to end of file.
7842 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
7844 * net/gnutls.el (gnutls-verify-error): Add version tag.
7846 2013-12-23 Chong Yidong <cyd@gnu.org>
7848 * subr.el (set-transient-map): Rename from
7849 set-temporary-overlay-map. Doc fix.
7851 * face-remap.el (text-scale-adjust):
7852 * indent.el (indent-rigidly):
7853 * kmacro.el (kmacro-call-macro):
7854 * minibuffer.el (minibuffer-force-complete):
7855 * repeat.el (repeat):
7856 * simple.el (universal-argument--mode):
7857 * calendar/todo-mode.el (todo-insert-item--next-param):
7858 * progmodes/f90.el (f90-abbrev-start): Callers changed.
7860 * indent.el (indent-rigidly): Use substitute-command-keys.
7862 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7864 * net/eww.el (eww-tag-select): Add text-property to jump to next
7866 (eww): Add non-supported ftp error.
7868 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7870 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
7871 comments. Handle electric indent after typing `?' and `!'.
7873 2013-12-22 Chong Yidong <cyd@gnu.org>
7875 * faces.el (face-spec-recalc): If the theme specs are not
7876 applicable to a frame, fall back on the defface spec.
7877 This prevents themes from obliterating faces on low-color terminals.
7879 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7881 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7882 after `{'. We need it after block openers, and it doesn't seem
7883 to hurt after hash openers.
7885 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7887 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
7888 extracted from `ruby-smie-rules'.
7889 (ruby--electric-indent-chars): New variable.
7890 (ruby--electric-indent-p): New function.
7891 (ruby-mode): Use `electric-indent-functions' instead of
7892 `electric-indent-chars'.
7894 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7896 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
7898 (ruby-smie-rules): Indent plus one level after `=>'.
7900 2013-12-21 Richard Stallman <rms@gnu.org>
7902 * simple.el (newline): Doc fix.
7904 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7906 * net/eww.el (eww-list-histories, eww-list-histories)
7907 (eww-history-browse, eww-history-quit, eww-history-kill)
7908 (eww-history-mode-map, eww-history-mode): New command and
7909 functions to list browser histories.
7910 (eww-form-text): Support text form with disabled
7911 and readonly attributes.
7912 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
7914 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7916 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
7917 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
7918 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
7919 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
7921 (eww-bookmark-mode-map): Add menu.
7922 (eww-render, eww-mode): Use `setq-local'.
7923 (eww-tool-bar-map): New variable.
7924 (eww-mode): Set `tool-bar-map'.
7925 (eww-view-source): Check for `html-mode' with `fboundp'.
7927 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7929 * net/shr.el (shr--extract-best-source): Don't bug out on audio
7930 elements with text inside. Also remove debugging.
7932 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
7934 * cus-start.el (all): Add ns-use-srgb-colorspace.
7936 2013-12-21 Chong Yidong <cyd@gnu.org>
7938 * custom.el (custom-theme-recalc-face): Do nothing if the face is
7939 undefined. Thus, theme settings for undefined faces do not take
7940 effect until the faces are defined with defface, the same as with
7943 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
7944 (face-spec-reset-face): Don't assign extra properties in temacs.
7945 (face-spec-recalc): Apply X resources too.
7947 2013-12-21 Chong Yidong <cyd@gnu.org>
7949 * faces.el (face-spec-set):
7950 * cus-face.el (custom-theme-set-faces, custom-set-faces):
7951 * custom.el (defface): Doc fixes (Bug#16203).
7953 * indent.el (indent-rigidly-map): Add docstring, and move commands
7954 into named functions.
7955 (indent-rigidly-left, indent-rigidly-right)
7956 (indent-rigidly-left-to-tab-stop)
7957 (indent-rigidly-right-to-tab-stop): New functions. Decide on
7958 indentation direction based on bidi direction, and accumulate
7959 sequential commands in a single undo boundary.
7960 (indent-rigidly--pop-undo): New utility function.
7962 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
7964 * faces.el (read-face-name): Require crm.el when using crm-separator.
7966 2013-12-20 Daniel Colascione <dancol@dancol.org>
7968 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
7969 so that we don't reflow comments into the shebang line.
7971 2013-12-20 Juri Linkov <juri@jurta.org>
7973 * saveplace.el (save-place-to-alist): Add `dired-filename' as
7974 a position when `dired-directory' is non-nil. Check integer
7975 positions with `integerp'.
7976 (toggle-save-place, save-places-to-alist): Add check for
7978 (save-place-find-file-hook): Check integer positions with
7980 (save-place-dired-hook): Use `dired-goto-file' when
7981 `dired-filename' is found in the assoc list. Check integer
7982 positions with `integerp'.
7983 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
7985 * dired.el (dired-initial-position-hook): Rename back from
7986 `dired-initial-point-hook'.
7987 (dired-initial-position): Rename `dired-initial-point-hook' to
7988 `dired-initial-position-hook'.
7989 (dired-file-name-at-point): Doc fix. (Bug#15329)
7991 2013-12-20 Juri Linkov <juri@jurta.org>
7993 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
7994 (read-regexp-suggestions): New function.
7995 (read-regexp): Use `read-regexp-defaults-function' to get default values.
7996 Use `read-regexp-suggestions'. Add non-empty default to history
7998 (occur-read-regexp-defaults-function): Remove function.
7999 (occur-read-primary-args): Use `regexp-history-last' instead of
8000 `occur-read-regexp-defaults-function'.
8002 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
8003 (hi-lock-line-face-buffer, hi-lock-face-buffer)
8004 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
8005 `hi-lock-read-regexp-defaults-function'. Doc fix.
8006 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
8007 with `find-tag-default-as-symbol-regexp'. Doc fix.
8008 (hi-lock-read-regexp-defaults): Remove function.
8009 (hi-lock-regexp-okay): Add check for null.
8011 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
8012 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
8014 * subr.el (find-tag-default-as-symbol-regexp): New function.
8015 (find-tag-default-as-regexp): Move symbol regexp formatting to
8016 `find-tag-default-as-symbol-regexp'.
8018 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
8020 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
8023 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
8025 * calendar/todo-mode.el: New implementation of item insertion
8026 commands and key bindings.
8027 (todo-key-prompt): New face.
8028 (todo-insert-item): New command.
8029 (todo-insert-item--parameters): New defconst, replacing defvar
8030 todo-insertion-commands-args-genlist.
8031 (todo-insert-item--param-key-alist): New defconst, replacing
8032 defvar todo-insertion-commands-arg-key-list.
8033 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
8034 (todo-insert-item--argsleft, todo-insert-item--apply-args)
8035 (todo-insert-item--next-param): New functions.
8036 (todo-insert-item--args, todo-insert-item--argleft)
8037 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
8039 (todo-key-bindings-t): Change binding of "i" from
8040 todo-insertion-map to todo-insert-item.
8041 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
8042 (todo-insertion-command-name, todo-insertion-commands-names)
8043 (todo-define-insertion-command, todo-insertion-commands)
8044 (todo-insertion-key-bindings, todo-insertion-map): Remove.
8046 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
8048 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
8049 (todo-toggle-item-highlighting): Use eval-and-compile instead of
8051 (todo-move-category): Allow choosing a non-existing todo file to
8052 move the category to, and create that file.
8053 (todo-default-priority): New user option.
8054 (todo-set-item-priority): Use it.
8055 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
8056 (desktop-restore-file-buffer): Declare.
8057 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
8058 (todo-modes-set-2): Locally set desktop-save-buffer to
8059 todo-desktop-save-buffer.
8060 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
8061 (auto-mode-alist): Add autoload cookie.
8063 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
8065 * emacs-lisp/subr-x.el: Renamed from helpers.el.
8066 helpers.el was a poor choice of name.
8067 (string-remove-prefix): New function.
8068 (string-remove-suffix): New function.
8070 2013-12-20 Martin Rudalics <rudalics@gmx.at>
8072 Fix assignment for new window total sizes.
8073 * window.el (window--pixel-to-size): Remove function.
8074 (window--pixel-to-total-1, window--pixel-to-total):
8075 Fix calculation of new total sizes.
8077 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
8079 * comint.el (comint-output-filter): Fix rear-nonsticky property
8080 placement (Bug#16010).
8082 2013-12-20 Chong Yidong <cyd@gnu.org>
8084 * faces.el (read-color): Minor fix for completion function.
8086 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
8088 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
8089 New option. (Bug#16182)
8090 (ruby-smie--indent-to-stmt-p): Use it.
8091 (ruby-smie-rules): Revert the logic in the handling of `when'.
8092 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
8093 (ruby-deep-arglist, ruby-deep-indent-paren)
8094 (ruby-deep-indent-paren-style): Update docstrings to note that the
8095 vars don't have any effect with SMIE.
8097 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
8099 * calc/calc.el (calc-enter, calc-pop): Use the variable
8100 `calc-context-sensitive-enter'.
8102 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8104 * net/shr.el (shr-insert): Protect against infloops in degenerate
8107 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8109 * progmodes/octave.el (octave): Add link to manual and octave
8111 (octave-mode-menu): Link to octave-mode manual.
8113 2013-12-20 Leo Liu <sdl.web@gmail.com>
8115 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
8116 insertion using skeleton-end-newline. (Bug#16138)
8118 2013-12-20 Juri Linkov <juri@jurta.org>
8120 * replace.el (occur-engine): Use `add-face-text-property'
8121 to add the face property to matches and titles. (Bug#14645)
8123 * hi-lock.el (hi-green): Use lighter color "light green" closer to
8124 the palette of other hi-lock colors.
8125 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
8127 2013-12-19 Juri Linkov <juri@jurta.org>
8129 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
8130 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
8131 (minibuffer-history-symbol): Move variable declaration closer to
8134 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
8137 2013-12-19 Juri Linkov <juri@jurta.org>
8139 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
8141 (log-edit-hook): Add it to :options. (Bug#16170)
8143 2013-12-19 Juri Linkov <juri@jurta.org>
8145 * simple.el (eval-expression-print-format): Don't check for
8146 command names and the last command. Always display additional
8147 formats of the integer result in the echo area, and insert them
8148 to the current buffer only with a zero prefix arg.
8149 Display character when char-displayable-p is non-nil.
8150 (eval-expression): With a zero prefix arg, set `print-length' and
8151 `print-level' to nil, and insert the integer values from
8152 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
8154 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
8155 `eval-last-sexp-arg-internal'. Doc fix.
8156 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
8157 `eval-last-sexp-print-value'. Doc fix.
8158 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
8159 Set `print-length' and `print-level' to nil when arg is zero.
8160 (eval-last-sexp): Doc fix.
8161 (eval-defun-2): Print the integer values from
8162 `eval-expression-print-format' at the end.
8164 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
8165 values from `eval-expression-print-format' at the end.
8167 * ielm.el (ielm-eval-input): Print the integer
8168 values from `eval-expression-print-format' at the end.
8170 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
8172 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
8173 2013-12-11 (r115470).
8175 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
8177 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
8178 (hl-line-highlight, global-hl-line-highlight): Use it.
8179 (hl-line-overlay): Use defvar-local.
8181 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
8183 * term/ns-win.el: Require dnd.
8184 (global-map): Remove drag items.
8185 (ns-insert-text, ns-set-foreground-at-mouse)
8186 (ns-set-background-at-mouse):
8187 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
8188 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
8191 2013-12-19 Glenn Morris <rgm@gnu.org>
8193 * emacs-lisp/ert.el (ert-select-tests):
8194 Fix string/symbol mixup. (Bug#16121)
8196 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
8198 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
8199 keywords to their parent.
8201 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
8203 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
8204 first arg to be a string (fixed dead code), or an operator symbol.
8205 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
8207 (ruby-smie-rules): Remove parent token check in the `.' clause, it
8208 did nothing. Don't respond to `(:after ".")', it will be called
8209 with :before anyway. Remove the ` @ ' rule, it didn't seem to
8210 change anything. Only return indentation for binary operators
8211 when they are hanging. De-dent opening paren when its parent is
8212 `.', otherwise it looks bad when the dot is not at bol or eol
8215 2013-12-19 Juri Linkov <juri@jurta.org>
8217 * replace.el (query-replace-read-args): Split a non-negative arg
8218 and a negative arg into separate elements.
8219 (query-replace, query-replace-regexp, replace-string)
8220 (replace-regexp): Add arg `backward'. Doc fix.
8221 (replace-match-maybe-edit): When new arg `backward' is non-nil,
8222 move point to the beginning of the match.
8223 (replace-search, replace-highlight): Use new arg `backward'
8224 to set the value of `isearch-forward'.
8225 (perform-replace): Add arg `backward' and use it to perform
8226 replacement backward. (Bug#14979)
8228 * isearch.el (isearch-query-replace): Use a negative prefix arg
8229 to call `perform-replace' with a non-nil arg `backward'.
8231 2013-12-18 Juri Linkov <juri@jurta.org>
8233 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
8234 to the default list. Move `log-edit-show-files' to the end.
8235 Add more available functions to options.
8236 (log-edit): Move default specific settings to
8237 `log-edit-insert-message-template'. Don't move point.
8238 (log-edit-insert-message-template): New function.
8239 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
8242 2013-12-18 Juri Linkov <juri@jurta.org>
8244 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
8245 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
8247 2013-12-18 Leo Liu <sdl.web@gmail.com>
8249 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
8252 2013-12-18 Eli Zaretskii <eliz@gnu.org>
8254 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
8255 formats for displaying file sizes when the -s switch is given.
8256 Instead, compute a separate format for displaying the size in
8257 blocks, which is displayed in addition to the "regular" size.
8258 When -h is given in addition to -s, produce size in blocks in
8259 human-readable form as well. (Bug#16179)
8261 2013-12-18 Tassilo Horn <tsdh@gnu.org>
8263 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8264 Reference tables with ~\ref{...} instead of only \ref{...}.
8266 2013-12-18 Chong Yidong <cyd@gnu.org>
8268 * cus-edit.el (custom-magic-alist): Fix "themed" description
8271 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
8272 is non-nil, do not create a new entry in the symbol's theme-value
8273 or theme-face property; update theme-settings only (Bug#14664).
8274 (custom-available-themes): Doc fix.
8276 * cus-theme.el (custom-new-theme-mode-map): Add bindings
8279 * replace.el (occur-engine): Avoid infloop (Bug#7593).
8281 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
8283 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
8286 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
8288 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
8290 2013-12-18 Glenn Morris <rgm@gnu.org>
8292 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
8293 * cus-start.el (load-prefer-newer): New option.
8295 2013-12-18 Le Wang <l26wang@gmail.com>
8297 * comint.el (comint-previous-matching-input-from-input):
8298 Retain point (Bug#13404).
8300 2013-12-18 Chong Yidong <cyd@gnu.org>
8302 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
8304 2013-12-18 Glenn Morris <rgm@gnu.org>
8306 * mail/emacsbug.el (report-emacs-bug):
8307 Only mention enable-multibyte-characters if non-standard.
8309 2013-12-17 Juri Linkov <juri@jurta.org>
8311 * arc-mode.el (archive-extract-by-file): Check if directory exists
8312 before deletion to not show irrelevant errors if it doesn't exist.
8314 2013-12-17 Juri Linkov <juri@jurta.org>
8316 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
8319 * net/eww.el (browse-web): Add alias to `eww'.
8320 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
8321 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
8323 * net/browse-url.el (browse-url-browser-function): Move `eww'
8324 closer to similar functions.
8326 * startup.el (fancy-startup-screen, fancy-about-screen):
8327 Set browse-url-browser-function to eww-browse-url locally.
8330 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
8332 * window.el (window--pixel-to-total): Remove unused `mini' var.
8333 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
8334 (split-window): Remove unused `new' var.
8335 (window--display-buffer): Remove unused `frame' and `delta' vars.
8336 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
8339 2013-12-17 Martin Rudalics <rudalics@gmx.at>
8341 * dired.el (dired-mark-pop-up):
8342 * register.el (register-preview): Don't bind
8343 split-height-threshold here since it's now done in
8344 display-buffer-below-selected.
8346 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
8348 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
8349 xterm-rgb-convert-to-16bit.
8350 (rxvt-register-default-colors): Standardize with
8351 xterm-register-default-colors (Bug#14078).
8353 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
8355 * simple.el (kill-region): Pass mark first, then point, so that
8356 kill-append works right (Bug#12819).
8357 (copy-region-as-kill, kill-ring-save): Likewise.
8359 2013-12-17 Leo Liu <sdl.web@gmail.com>
8361 * net/rcirc.el (rcirc-add-face):
8362 * eshell/em-prompt.el (eshell-emit-prompt):
8363 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
8366 2013-12-17 Chong Yidong <cyd@gnu.org>
8368 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
8369 Suggested by Xue Fuqiao.
8371 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
8373 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
8375 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
8377 * net/shr.el (shr-insert-document): Remove unused var
8378 `shr-preliminary-table-render'.
8379 (shr-rescale-image): Remove unused arg `force'.
8380 (shr-put-image): Update calls accordingly.
8381 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
8383 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
8385 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
8386 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
8387 :close-all, to see which indentation method to use (Bug#16116).
8388 (smie-rules-function): Document the method :close-all.
8390 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8392 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
8394 * net/eww.el (eww-display-html): If we can't find the anchor we're
8395 looking for, then go to point-min.
8397 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
8399 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
8400 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
8401 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
8402 Expand dir too, in case it's relative.
8404 2013-12-16 Juri Linkov <juri@jurta.org>
8406 * desktop.el (desktop-auto-save-timeout): Change default to
8407 `auto-save-timeout'. Doc fix.
8408 (desktop-save): Skip the timestamp in desktop-saved-frameset
8409 when checking for auto-save changes.
8410 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
8411 `desktop-auto-save' is called repeatedly by the idle timer.
8412 (desktop-auto-save-set-timer): Replace `run-with-timer' with
8413 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
8416 2013-12-16 Juri Linkov <juri@jurta.org>
8418 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
8420 (isearch-pre-command-hook): Check `this-command' for symbolp.
8422 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
8424 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
8426 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
8428 * progmodes/cfengine.el (cfengine3--current-word): Remove.
8429 (cfengine3--current-function): Bring in the current-function
8430 functionality from `cfengine3--current-word'.
8431 (cfengine3-completion-function): Bring in the
8432 bounds-of-current-word functionality from
8433 `cfengine3--current-word'.
8435 2013-12-16 Martin Rudalics <rudalics@gmx.at>
8437 * window.el (display-buffer-below-selected):
8438 Bind split-height-threshold to 0 as suggested by Juri Linkov.
8440 2013-12-16 Leo Liu <sdl.web@gmail.com>
8442 * progmodes/compile.el (compile-goto-error): Do not push-mark.
8443 Remove NOMSG arg and all uses changed.
8445 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
8447 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
8448 (cua--deactivate-rectangle): Don't deactivate the mark.
8449 (cua-set-rectangle-mark): Don't set mark-active since
8450 cua--activate-rectangle already does it for us.
8451 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
8452 non-rectangular region.
8454 * emulation/cua-base.el (cua-repeat-replace-region):
8455 Use with-current-buffer.
8457 * net/gnutls.el: Use cl-lib.
8458 (gnutls-negotiate): `mapcan' -> cl-mapcan.
8460 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
8462 * emacs-lisp/package.el (package-built-in-p): Support both
8463 built-in and the package.el converted package descriptions.
8464 (package-show-package-list): Allow keywords.
8465 (package-keyword-button-action): Use it instead of
8466 `finder-list-matches'.
8467 (package-menu-filter-interactive): Interactive filtering (by
8469 (package-menu--generate): Support keywords and change keymappings
8470 and headers when they are given.
8471 (package--has-keyword-p): Helper function.
8472 (package-menu--refresh): Use it.
8473 (package--mapc): Helper function.
8474 (package-all-keywords): Use it.
8475 (package-menu-mode-map): Set up menu items and keybindings to
8476 provide a filtering UI.
8478 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
8480 * net/gnutls.el (gnutls-verify-error): New defcustom to control
8481 the behavior when a certificate fails validation. Defaults to
8482 old behavior: never abort, just warn.
8483 (gnutls-negotiate): Use it.
8485 2013-12-14 Martin Rudalics <rudalics@gmx.at>
8487 * window.el (display-buffer-below-selected): Never split window
8488 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
8490 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
8492 * emacs-lisp/package.el (package--prepare-dependencies): New function.
8493 (package-buffer-info): Use it (bug#15108).
8495 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
8497 * icomplete.el (icomplete-completions): Make sure the prefix is already
8498 displayed elsewhere before hiding it (bug#16219).
8500 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
8502 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
8503 open-paren tokens when preceded by a open-paren, too.
8504 (ruby-smie-rules): Handle virtual indentation after open-paren
8505 tokens specially. If there is code between it and eol, return the
8506 column where is starts (Bug#16118).
8508 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8510 * progmodes/cfengine.el: Fix `add-hook' doc.
8511 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
8512 (cfengine3--current-word): Fix parameters.
8513 (cfengine3-make-syntax-cache): Simplify further.
8514 (cfengine3-completion-function, cfengine3--current-function):
8515 Use `assq' for symbols.
8516 (cfengine3--current-function): Fix `cfengine3--current-word' call.
8518 2013-12-13 Glenn Morris <rgm@gnu.org>
8520 * loadup.el (load-path): Warn if site-load or site-init changes it.
8521 No more need to reset it when bootstrapping.
8523 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8525 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
8526 locations for cf-promises.
8527 (cfengine-mode-syntax-functions-regex): New caching variable.
8528 (cfengine3-fallback-syntax): Fallback syntax for cases where
8529 cf-promises doesn't run.
8530 (cfengine3--current-word): Reimplement using
8531 `cfengine-mode-syntax-functions-regex'.
8532 (cfengine3-completion-function, cfengine3--current-function):
8533 Use `cfengine3-make-syntax-cache' directly.
8534 (cfengine3-clear-syntax-cache): New function.
8535 (cfengine3-make-syntax-cache): Simplify and create
8536 `cfengine-mode-syntax-functions-regex' on demand.
8537 (cfengine3-format-function-docstring): Don't call
8538 `cfengine3-make-syntax-cache' explicitly.
8540 2013-12-13 Martin Rudalics <rudalics@gmx.at>
8542 Fix windmove-find-other-window broken after pixelwise resizing
8544 * windmove.el (windmove-other-window-loc): Revert change from
8546 (windmove-find-other-window): Call window-in-direction.
8547 * window.el (window-in-direction): New arguments SIGN, WRAP and
8548 MINI to emulate original windmove-find-other-window behavior.
8550 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
8552 * simple.el (blink-matching--overlay): New variable.
8553 (blink-matching-open): Instead of moving point, highlight the
8554 matching paren with an overlay
8555 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
8557 * faces.el (paren-showing-faces, show-paren-match)
8558 (show-paren-mismatch): Move from paren.el.
8560 2013-12-13 Leo Liu <sdl.web@gmail.com>
8562 * indent.el (indent-region): Disable progress reporter in
8563 minibuffer. (Bug#16108)
8565 * bindings.el (visual-order-cursor-movement): Fix version.
8567 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8569 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
8570 Also match after beginning of line.
8571 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
8572 files. Thanks to Russell Sim. (Bug#15378)
8574 2013-12-13 Juri Linkov <juri@jurta.org>
8576 * simple.el <Keypad support>: Remove key bindings duplicated
8577 with bindings.el. (Bug#14397)
8579 2013-12-13 Juri Linkov <juri@jurta.org>
8581 * comint.el (comint-mode-map): Replace `delete-char' with
8582 `delete-forward-char'. (Bug#16109)
8584 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8586 * progmodes/python.el (python-indent-calculate-indentation):
8587 Fix de-denters cornercase. (Bug#15731)
8589 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8591 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
8592 (advice--make): Pay attention to `depth'.
8593 (advice--make-1): Don't autoload commands eagerly.
8594 * emacs-lisp/elp.el (elp-instrument-function):
8595 * emacs-lisp/trace.el (trace-function-internal):
8596 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
8598 * iswitchb.el (iswitchb-mode): Don't belittle ido.
8600 2013-12-12 Eli Zaretskii <eliz@gnu.org>
8602 * term/w32-win.el (w32-handle-dropped-file):
8603 * startup.el (normal-top-level):
8604 * net/browse-url.el (browse-url-file-url):
8605 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
8606 decode file names using 'utf-8' rather than
8607 file-name-coding-system.
8609 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8611 * progmodes/python.el (python-indent-context)
8612 (python-indent-calculate-indentation): Fix auto-identation
8613 behavior for comment blocks. (Bug#15916)
8615 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8617 * progmodes/python.el (python-indent-calculate-indentation):
8618 When determining indentation, don't treat "return", "pass", etc., as
8619 operators when they are just string constituents. (Bug#15812)
8621 2013-12-12 Juri Linkov <juri@jurta.org>
8623 * uniquify.el (uniquify-buffer-name-style): Change default to
8624 `post-forward-angle-brackets'.
8626 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
8627 `uniquify'. Change default to `post-forward-angle-brackets'.
8629 2013-12-11 Glenn Morris <rgm@gnu.org>
8631 * emacs-lisp/package.el (finder-list-matches):
8632 Autoload rather than falsely declaring.
8634 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
8636 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
8637 (eww-mode-map): Use them.
8639 2013-12-11 Martin Rudalics <rudalics@gmx.at>
8641 * window.el (display-buffer-in-side-window): Fix doc-string
8644 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
8646 * vc/vc-git.el: Silence byte-compiler warnings.
8647 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
8648 (log-edit-set-header): Declare.
8650 2013-12-11 Eli Zaretskii <eliz@gnu.org>
8652 * Makefile.in (custom-deps, finder-data): Run output file names
8653 through unmsys--file-name. (Bug#16099)
8655 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
8657 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
8658 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
8660 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
8661 instead of deleting the selection "by hand" (bug#16098).
8662 Rely on insert-for-yank to yank rectangles.
8663 (cua-highlight-region-shift-only): Mark obsolete.
8664 (cua-mode): Don't enable/disable transient-mark-mode,
8665 shift-select-mode (cua-mode works both with and without them), and
8666 pc-selection-mode (obsolete).
8667 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
8668 (cua--deactivate-rectangle): Deactivate it.
8670 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
8671 (delete-selection-helper): Make sure yank starts at the top of the
8673 (minibuffer-keyboard-quit): Use region-active-p.
8675 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
8677 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
8678 to `delete' (bug#16109).
8680 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8682 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
8683 info manual and show keybindings and set `:group' keyword.
8685 2013-12-11 Juri Linkov <juri@jurta.org>
8687 * delsel.el (delete-active-region): Let-bind `this-command'
8688 to prevent `kill-region' from changing its original value.
8689 (delete-selection-helper): Handle `overwrite-mode' for the type
8690 `kill' exactly the same way as for the type `t'.
8691 (insert-char, quoted-insert, reindent-then-newline-and-indent):
8692 Support more commands. (Bug#13312)
8694 2013-12-11 Juri Linkov <juri@jurta.org>
8696 * bindings.el: Map kp keys to non-kp keys systematically
8697 with basic modifiers control, meta and shift. (Bug#14397)
8699 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8701 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
8702 "Close browser" menu items. Fix wrong function of "List
8705 2013-12-11 Juri Linkov <juri@jurta.org>
8707 * misearch.el (multi-isearch-buffers): Set the value of
8708 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8709 arg of isearch-forward to t.
8710 (multi-isearch-buffers-regexp): Set the value of
8711 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8712 arg of isearch-forward-regexp to t.
8713 (multi-isearch-files): Set the value of
8714 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8715 arg of isearch-forward to t.
8716 (multi-isearch-files-regexp): Set the value of
8717 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8718 arg of isearch-forward-regexp to t. (Bug#16035)
8720 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
8721 arg of isearch-forward to t.
8722 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
8723 arg of isearch-forward-regexp to t.
8724 (dired-isearch-filter-filenames): Remove unnecessary check for
8725 `dired-isearch-filenames'.
8727 * comint.el (comint-history-isearch-backward):
8728 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
8729 (comint-history-isearch-backward-regexp):
8730 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
8732 2013-12-10 Eli Zaretskii <eliz@gnu.org>
8734 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
8735 unmsys--file-name. (Bug#16099)
8737 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
8739 * emacs-lisp/package.el (package-keyword-button-action):
8740 Remove finder.el require dependency.
8742 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
8744 * emacs-lisp/package.el: Require finder.el.
8745 (describe-package-1): Add keyword buttons.
8746 (package-make-button): New convenience function.
8747 (package-keyword-button-action): Keyword button action using
8748 `finder-list-matches'.
8750 2013-12-09 Eli Zaretskii <eliz@gnu.org>
8752 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
8755 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
8757 * autorevert.el (auto-revert-notify-add-watch): Do not handle
8760 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8762 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
8763 after the end of a percent literal.
8765 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
8767 * progmodes/ruby-mode.el (ruby-forward-string): Document.
8768 Handle caret-delimited strings (Bug#16079).
8770 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8772 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
8773 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
8774 `ruby-parse-partial' (Bug#16078).
8776 2013-12-09 Leo Liu <sdl.web@gmail.com>
8778 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
8780 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
8782 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
8783 (js-switch-indent-offset): New option.
8784 (js--proper-indentation): Use it. And handle the case when
8785 "default" is actually a key in an object literal.
8786 (js--same-line): New function.
8787 (js--multi-line-declaration-indentation): Use it.
8788 (js--indent-in-array-comp, js--array-comp-indentation):
8790 (js--proper-indentation): Use them, to handle array comprehension
8793 2013-12-08 Leo Liu <sdl.web@gmail.com>
8795 * progmodes/flymake.el (flymake-highlight-line): Re-write.
8796 (flymake-make-overlay): Remove arg MOUSE-FACE.
8797 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
8799 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8801 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
8803 (redisplay-highlight-region-function): Use it.
8805 * emulation/cua-base.el (cua--explicit-region-start)
8806 (cua--last-region-shifted): Remove.
8807 (cua--deactivate): Use deactivate-mark.
8808 (cua--pre-command-handler-1): Don't handle shift-selection.
8809 (cua--post-command-handler-1): Don't change transient-mark-mode.
8810 (cua--select-keymaps): Use region-active-p rather than
8811 cua--explicit-region-start or cua--last-region-shifted.
8812 (cua-mode): Enable shift-select-mode.
8814 2013-12-08 Leo Liu <sdl.web@gmail.com>
8816 * progmodes/flymake.el (flymake-popup-current-error-menu):
8817 Rename from flymake-display-err-menu-for-current-line. Reimplement.
8818 (flymake-posn-at-point-as-event, flymake-popup-menu)
8819 (flymake-make-emacs-menu): Remove. (Bug#16077)
8821 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * rect.el (rectangle-mark-mode): Activate mark even if
8824 transient-mark-mode is off (bug#16066).
8825 (rectangle--highlight-for-redisplay): Fix boundary condition when point
8826 is > mark and at bolp.
8828 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
8829 (region-extract-function): Use it.
8830 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
8831 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
8833 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
8834 kill-ring-save, kill-region, delete-char, delete-forward-char.
8835 Ignore self-insert-iso.
8837 * emulation/cua-gmrk.el (cua--init-global-mark):
8838 Ignore `self-insert-iso'.
8840 * emulation/cua-base.el (cua--prefix-copy-handler)
8841 (cua--prefix-cut-handler): Rely on region-extract-function rather than
8842 checking cua--rectangle.
8843 (cua-delete-region): Use region-extract-function.
8844 (cua-replace-region): Delete function.
8845 (cua-copy-region, cua-cut-region): Obey region-extract-function.
8846 (cua--pre-command-handler-1): Don't do the delete-selection thing.
8847 (cua--self-insert-char-p): Ignore `self-insert-iso'.
8848 (cua--init-keymaps): Don't remap delete-selection commands.
8849 (cua-mode): Use delete-selection-mode instead of rolling our own
8852 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
8853 Obey region-extract-function.
8855 Make registers and delete-selection-mode work on rectangles.
8856 * register.el (describe-register-1): Don't modify the register's value.
8857 (copy-to-register): Obey region-extract-function.
8858 * delsel.el (delete-active-region): Obey region-extract-function.
8860 2013-12-08 Leo Liu <sdl.web@gmail.com>
8862 * progmodes/flymake.el (flymake, flymake-error-bitmap)
8863 (flymake-warning-bitmap, flymake-fringe-indicator-position)
8864 (flymake-compilation-prevents-syntax-check)
8865 (flymake-start-syntax-check-on-newline)
8866 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
8867 (flymake-start-syntax-check-on-find-file, flymake-log-level)
8868 (flymake-xml-program, flymake-master-file-dirs)
8869 (flymake-master-file-count-limit)
8870 (flymake-allowed-file-name-masks): Relocate.
8871 (flymake-makehash, flymake-float-time)
8872 (flymake-replace-regexp-in-string, flymake-split-string)
8873 (flymake-get-temp-dir): Remove.
8874 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
8875 (flymake-current-row, flymake-selected-frame)
8876 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
8877 related functions. (Bug#16077)
8879 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
8881 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
8883 2013-12-07 Tassilo Horn <tsdh@gnu.org>
8885 * help-fns.el (describe-function-1): Use new advice-* functions
8886 rather than old ad-* functions. Fix function type description and
8887 source links for advised functions and subrs.
8889 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8891 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
8893 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
8895 * progmodes/compile.el (compilation-start):
8896 * progmodes/grep.el (rgrep): Revert change of 2012-12-20 (r111276).
8898 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8899 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
8901 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8903 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8904 Touch up the last change.
8906 2013-12-06 Leo Liu <sdl.web@gmail.com>
8908 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
8909 (inferior-octave-startup): Always use "octave> " for prompt.
8910 (octave-goto-function-definition)
8911 (octave-sync-function-file-names)
8912 (octave-find-definition-default-filename): Remove redundant backquotes.
8914 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8916 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
8918 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
8919 where appropriate already.
8920 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
8921 end of method names (Bug#15874).
8923 2013-12-06 Juri Linkov <juri@jurta.org>
8925 * isearch.el (isearch--saved-overriding-local-map):
8926 New internal variable.
8927 (isearch-mode): Set it to the initial value of
8928 `overriding-terminal-local-map'.
8929 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
8930 with `isearch--saved-overriding-local-map'. (Bug#16035)
8932 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8934 * progmodes/octave.el (inferior-octave-completion-table):
8935 Turn back into function, use `completion-table-with-cache'
8936 (Bug#11906). Update all references.
8938 * minibuffer.el (completion-table-with-cache): New function.
8940 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
8942 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
8944 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
8946 * net/eww.el (eww-current-source): New variable to store page
8948 (eww-display-html, eww-mode, eww-save-history)
8949 (eww-restore-history): Use it.
8950 (eww-view-source): New command to view page source.
8951 Opportunistically uses `html-mode' to highlight the buffer.
8952 (eww-mode-map): Install it.
8954 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
8956 * net/dbus.el (dbus-unregister-service)
8957 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
8959 (dbus-unregister-service): Skip :serial entries in
8960 `dbus-registered-objects-table'.
8961 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
8963 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
8965 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
8966 around keywords with extra `split-string' argument.
8968 2013-12-04 Martin Rudalics <rudalics@gmx.at>
8970 * windmove.el (windmove-other-window-loc): Handle navigation
8971 between windows (excluding the minibuffer window - Bug#16017).
8973 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
8975 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
8976 in D-Bus type syntax.
8977 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
8978 preserve unibyte strings. (Bug#16048)
8980 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8982 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8983 Call force-mode-line-update is the proper buffer (bug#16042).
8985 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
8987 * vc/log-edit.el (log-edit-add-new-comment): Rename to
8988 `log-edit-remember-comment', make argument optional. Adjust all
8990 (log-edit-mode): Add `log-edit-remember-comment' to
8991 `kill-buffer-hook' locally.
8992 (log-edit-kill-buffer): Don't remember comment explicitly since
8993 the buffer is killed anyway.
8995 2013-12-04 Juri Linkov <juri@jurta.org>
8997 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
8998 add-hook and remove-hook for multi-buffer search. (Bug#16035)
9000 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
9002 * notifications.el (notifications-close-notification): Call the
9003 D-Bus method with ID being a `:uint32'. (Bug#16030)
9005 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
9007 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
9009 2013-12-03 Juri Linkov <juri@jurta.org>
9011 * progmodes/compile.el (compilation-start): Rename window alist
9012 entry `no-display-ok' to `allow-no-window'.
9014 * simple.el (shell-command): Add window alist entry
9015 `allow-no-window' to `display-buffer'.
9016 (async-shell-command): Doc fix.
9018 * window.el (display-buffer-no-window): New action function.
9019 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
9021 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
9023 * vc/log-edit.el (log-edit-set-header): Extract from
9024 `log-edit-toggle-header'.
9025 (log-edit-extract-headers): Separate the summary, when extracted
9026 from header, from the rest of the message with an empty line.
9028 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
9029 line, if present, to the Summary header.
9031 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9033 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
9034 in current-buffer (bug#16029).
9036 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
9038 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
9039 (debugger-mode-map): Bind it.
9040 (debugger--backtrace-base): New function.
9041 (debugger-eval-expression): Use it.
9042 (debugger-frame-number): Skip local vars when present.
9043 (debugger--locals-visible-p, debugger--insert-locals)
9044 (debugger--show-locals, debugger--hide-locals): New functions.
9046 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
9048 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
9050 (tramp-get-remote-locale): New defun.
9051 (tramp-open-connection-setup-interactive-shell): Use it.
9053 2013-12-02 Leo Liu <sdl.web@gmail.com>
9055 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
9057 * progmodes/sh-script.el (sh-shell-process):
9058 * progmodes/octave.el (inferior-octave-process-live-p):
9059 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
9060 (gdb-inferior-io-sentinel):
9061 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
9063 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
9065 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
9066 `save-selected-window' to `log-edit-hide-buf'. This makes
9067 `log-edit-show-files' idempotent.
9068 (log-edit-show-files): Mark the new window as dedicated.
9070 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
9072 * vc/log-edit.el (log-edit-mode-map): Add binding for
9073 `log-edit-kill-biffer'.
9074 (log-edit-hide-buf): Add a FIXME comment.
9075 (log-edit-add-new-comment): New function, extracted from
9077 (log-edit-done, log-edit-add-to-changelog): Use it.
9078 (log-edit-kill-buffer): New command.
9080 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9082 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
9083 instead of killing the buffer.
9085 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9087 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
9089 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9091 * net/eww.el (eww-form-checkbox-selected-symbol)
9092 (eww-form-checkbox-symbol): New customizable variable.
9093 (eww-form-checkbox, eww-toggle-checkbox):
9094 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
9096 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
9097 (shr--get-media-pref, shr--extract-best-source): New function.
9098 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
9099 no :src tag was specified.
9101 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
9102 (eww-render): Handle `eww-use-external-browser-for-content-type'.
9103 Use \\` to match beginning of string instead of ^.
9104 (eww-browse-with-external-browser): Provide optional URL parameter.
9105 (eww-render): Set `eww-current-title' back to "".
9107 * net/shr.el (shr-tag-video): Display content for video if no
9108 poster is available.
9109 (shr-tag-audio): Add support for <audio> tag.
9111 * net/eww.el (eww-text-input-types): New const.
9112 (eww-process-text-input): Treat input types in
9113 `eww-text-input-types' as text.
9115 * net/shr.el (shr-tag-table): Fix comment typo.
9117 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9119 * net/eww.el (eww-follow-link): New command to avoid reloading
9120 pages when we follow #target links (bug#15243).
9121 (eww-quit): Special mode buffers shouldn't query before exiting.
9123 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9125 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
9128 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9130 * net/eww.el (eww-restore-history): Update the window title after
9131 moving in the history.
9132 (eww-current-dom): New variable used to save the current DOM.
9134 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
9136 * vc/log-edit.el (log-edit-mode-map): Add binding for
9137 `log-edit-beginning-of-line'.
9138 (log-edit-setup-add-author): New user option.
9139 (log-edit-beginning-of-line): New command.
9140 (log-edit): Move major mode call above the contents setup so that
9141 the local variable values are already applied.
9142 (log-edit): Only insert "Author: " when
9143 `log-edit-setup-add-author' is non-nil.
9144 (log-edit): When SETUP is non-nil, position point after ": "
9145 instead of point-min.
9147 2013-12-01 Glenn Morris <rgm@gnu.org>
9149 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
9151 2013-11-30 Eli Zaretskii <eliz@gnu.org>
9153 * startup.el (fancy-splash-frame): On MS-Windows, trigger
9154 redisplay to make sure the initial frame gets a chance to become
9155 visible. (Bug#16014)
9157 2013-11-30 Martin Rudalics <rudalics@gmx.at>
9159 Support resizing frames and windows pixelwise.
9160 * cus-start.el (frame-resize-pixelwise)
9161 (window-resize-pixelwise): New entries.
9162 * emacs-lisp/debug.el (debug): Use window-total-height instead
9163 of window-total-size.
9164 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9165 * help.el (describe-bindings-internal): Use help-buffer as
9166 argument for with-help-window.
9167 (temp-buffer-max-width): New option.
9168 (resize-temp-buffer-window, help-window-setup)
9169 (with-help-window): Rewrite.
9170 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
9172 * window.el (frame-char-size, window-min-pixel-height)
9173 (window-safe-min-pixel-height, window-safe-min-pixel-width)
9174 (window-min-pixel-width, window-safe-min-pixel-size)
9175 (window-combination-p, window-safe-min-size)
9176 (window-resizable-p, window--size-to-pixel)
9177 (window--pixel-to-size, window--resize-apply-p): New functions.
9178 (window-safe-min-height): Fix doc-string.
9179 (window-size, window-min-size, window--min-size-1)
9180 (window-sizable, window-sizable-p, window--min-delta-1)
9181 (window-min-delta, window--max-delta-1, window-max-delta)
9182 (window--resizable, window--resizable-p, window-resizable)
9183 (window-full-height-p, window-full-width-p, window-at-side-p)
9184 (window--in-direction-2, window-in-direction)
9185 (window--resize-reset-1, window--resize-mini-window)
9186 (window-resize, window-resize-no-error)
9187 (window--resize-child-windows-normal)
9188 (window--resize-child-windows, window--resize-siblings)
9189 (window--resize-this-window, window--resize-root-window)
9190 (window--resize-root-window-vertically)
9191 (adjust-window-trailing-edge, enlarge-window, shrink-window)
9192 (maximize-window, minimize-window, delete-window)
9193 (quit-restore-window, window-split-min-size, split-window)
9194 (balance-windows-2, balance-windows)
9195 (balance-windows-area-adjust, balance-windows-area)
9196 (window--state-get-1, window-state-get, window--state-put-1)
9197 (window--state-put-2, window-state-put)
9198 (display-buffer-record-window, window--display-buffer):
9199 Make functions handle pixelwise sizing of windows.
9200 (display-buffer--action-function-custom-type)
9201 (display-buffer-fallback-action):
9202 Add display-buffer-in-previous-window.
9203 (display-buffer-use-some-window): Resize window to height it had
9205 (fit-window-to-buffer-horizontally): New option.
9206 (fit-frame-to-buffer): Describe new values.
9207 (fit-frame-to-buffer-bottom-margin): Replace with
9208 fit-frame-to-buffer-margins.
9209 (window--sanitize-margin): New function.
9210 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
9211 using window-text-pixel-size.
9213 2013-11-30 Glenn Morris <rgm@gnu.org>
9215 * emacs-lisp/bytecomp.el (byte-compile-form):
9216 Make the `interactive-only' warning like the `obsolete' one.
9217 * comint.el (comint-run):
9218 * files.el (insert-file-literally, insert-file):
9219 * replace.el (replace-string, replace-regexp):
9220 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9221 (goto-line, insert-buffer, next-line, previous-line):
9222 Tweak `interactive-only' spec.
9224 Stop keeping (most) generated cedet grammar files in the repository.
9225 * Makefile.in (semantic): New.
9226 (compile-main): Depend on semantic.
9228 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9230 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
9231 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
9233 * uniquify.el (uniquify-buffer-name-style): Change default.
9235 * loadup.el: Preload "uniquify".
9237 * time.el (display-time-update): Update all mode lines (bug#15999).
9239 * electric.el (electric-indent-mode): Enable by default.
9240 * loadup.el: Preload "electric".
9242 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
9244 * emacs-lisp/helpers.el (string-empty-p): New function.
9245 (string-blank-p): New function.
9247 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
9249 * imenu.el (imenu--index-alist): Add missing dot to the docstring
9252 2013-11-29 Andreas Politz <politza@fh-trier.de>
9253 * imenu.el (imenu--subalist-p): Don't error on non-conses and
9254 allow non-lambda lists as functions.
9255 (imenu--in-alist): Don't recurse into non-subalists.
9256 (imenu): Don't pass function itself as an argument (Bug#14029).
9258 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9260 * progmodes/python.el (python-mode-map): Remove binding for ":".
9261 (python-indent-electric-colon): Remove command.
9262 (python-indent-post-self-insert-function): Integrate the previous code
9263 of python-indent-electric-colon. Make it conditional on
9264 electric-indent-mode.
9265 (python-mode): Add ?: to electric-indent-chars.
9266 Move python-indent-post-self-insert-function to the end of
9267 post-self-insert-hook.
9269 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9271 * doc-view.el (doc-view-goto-page): Update mode-line.
9273 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
9275 2013-11-27 Glenn Morris <rgm@gnu.org>
9277 * international/charprop.el, international/uni-bidi.el:
9278 * international/uni-category.el, international/uni-combining.el:
9279 * international/uni-comment.el, international/uni-decimal.el:
9280 * international/uni-decomposition.el, international/uni-digit.el:
9281 * international/uni-lowercase.el, international/uni-mirrored.el:
9282 * international/uni-name.el, international/uni-numeric.el:
9283 * international/uni-old-name.el, international/uni-titlecase.el:
9284 * international/uni-uppercase.el:
9285 Remove generated files from VCS repository.
9287 2013-11-27 Eli Zaretskii <eliz@gnu.org>
9289 * filenotify.el (file-notify-add-watch): Don't special-case
9290 w32notify when computing the directory to watch.
9292 2013-11-27 Glenn Morris <rgm@gnu.org>
9294 Make bootstrap without generated uni-*.el files possible again.
9295 * loadup.el: Update command-line-args checking for unidata-gen.
9296 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
9297 * composite.el, international/characters.el:
9298 Handle unicode tables being undefined.
9300 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
9301 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
9302 (compile-main): Depend on leim rule.
9304 * loadup.el: Move leim-list.el to leim/ subdirectory.
9305 * startup.el (normal-top-level): No more leim directory.
9306 * international/ja-dic-cnv.el (skkdic-convert):
9307 Disable version-control and autoloads in output files.
9308 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
9309 Disable version-control and autoloads in output files.
9310 * leim/quail: Move here from ../leim.
9311 * leim/quail/hangul.el (hangul-input-method-activate):
9312 Add autoload cookie.
9313 (generated-autoload-load-name): Set file-local value.
9314 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
9315 (generated-autoload-load-name): Set file-local value.
9317 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
9319 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
9320 (eww-add-bookmark): Ask confirmation when add to bookmarks.
9321 (eww-quit): Ask confirmation before quitting eww.
9323 2013-11-26 Eli Zaretskii <eliz@gnu.org>
9325 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
9326 reading output from Diff on MS-Windows and MS-DOS.
9328 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
9330 * emacs-lisp/helpers.el (string-reverse): New function.
9332 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
9334 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
9335 names on MS Windows, like "/[::1]:".
9337 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
9340 2013-11-26 Glenn Morris <rgm@gnu.org>
9342 * progmodes/python.el (python-indent-guess-indent-offset):
9343 Avoid corner-case error. (Bug#15975)
9345 Preload leim-list.el. (Bug#4789)
9346 * loadup.el: Load leim-list.el when found.
9347 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
9349 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
9351 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
9353 * emacs-lisp/helpers.el (string-join): New function.
9355 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
9357 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9358 Mark as obsolete and replace it with a symbol property.
9359 (byte-compile-form): Use new 'interactive-only property.
9360 * comint.el, files.el, replace.el, simple.el:
9361 Apply new 'interactive-only properly.
9363 2013-11-25 Martin Rudalics <rudalics@gmx.at>
9365 * window.el (display-buffer-at-bottom): Make sure that
9366 split-window-sensibly creates the new window on bottom
9369 2013-11-23 David Kastrup <dak@gnu.org>
9371 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
9372 on the conflict markers when available.
9373 (smerge--get-marker): New function.
9374 (smerge-end-re, smerge-base-re): Add subgroup.
9376 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9378 * frame.el (handle-focus-in, handle-focus-out): Add missing
9381 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
9383 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
9384 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
9386 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9388 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
9389 (gomoku--last-pos): New var.
9390 (gomoku--intangible-chars): New const.
9391 (gomoku--intangible): New function.
9392 (gomoku-mode): Use it. Derive from special-mode.
9393 (gomoku-move-up): Adjust line count.
9394 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
9395 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
9396 Simplify accordingly.
9398 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
9399 Remove blink-cursor code.
9400 (blink-cursor-timer-function, blink-cursor-suspend):
9401 Don't special-case GUIs.
9402 (blink-cursor-mode): Use focus-in/out-hook.
9404 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
9406 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
9407 work when annotation is invisible (Bug#13886).
9409 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
9411 * json.el (json-alist-p): Only return non-nil if the alist has
9412 simple keys (Bug#13518).
9414 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
9416 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
9417 when control-statement is the first statement in a buffer (Bug#15956).
9419 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
9421 * imenu.el (imenu-generic-skip-comments-and-strings):
9422 New option (Bug#15560).
9423 (imenu--generic-function): Use it.
9425 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
9427 * minibuffer.el (completion--in-region-1): Scroll the correct window.
9430 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
9432 * emacs-lisp/helpers.el: Add some string helpers.
9433 (string-trim-left): Removes leading whitespace.
9434 (string-trim-right): Removes trailing whitespace.
9435 (string-trim): Removes leading and trailing whitespace.
9437 * subr.el (string-suffix-p): New function.
9439 2013-11-23 Glenn Morris <rgm@gnu.org>
9441 * progmodes/python.el (python-shell-send-file):
9442 Add option to delete file when done. (Bug#15647)
9443 (python-shell-send-string, python-shell-send-region): Use it.
9445 2013-11-23 Ivan Shmakov <ivan@siamics.net>
9447 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
9448 to set buffer-read-only to t, never to nil. (Bug#15938)
9450 * textmodes/tex-mode.el (latex-noindent-environments):
9451 Add safe-local-variable property. (Bug#15936)
9453 2013-11-23 Glenn Morris <rgm@gnu.org>
9455 * textmodes/enriched.el (enriched-mode): Doc fix.
9456 * emacs-lisp/authors.el (authors-renamed-files-alist):
9457 Add enriched.doc -> enriched.txt.
9459 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
9461 2013-11-22 Leo Liu <sdl.web@gmail.com>
9463 * progmodes/octave.el (inferior-octave-startup): Spit out error
9466 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
9468 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9471 (ruby-encoding-magic-comment-style): Add :version.
9473 2013-11-22 Leo Liu <sdl.web@gmail.com>
9475 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
9477 (octave-help-mode): Adapt to change to help-mode-finish to use
9478 derived-mode-p on 2013-09-17.
9479 (inferior-octave-prompt): Also match octave-gui.
9480 (octave-kill-process): Don't ask twice. (Bug#10564)
9482 2013-11-22 Leo Liu <sdl.web@gmail.com>
9484 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
9485 (inferior-octave-startup, inferior-octave-check-process)
9486 (inferior-octave-track-window-width-change)
9487 (octave-completion-at-point, octave-eldoc-function): Use it.
9488 (octave-kill-process): Provide confirmation. (Bug#10564)
9490 2013-11-21 Leo Liu <sdl.web@gmail.com>
9492 * progmodes/octave.el (octave-mode, inferior-octave-mode):
9493 Fix obsolete variable comment-use-global-state.
9495 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9497 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
9498 Add `octave-source-file'.
9499 (octave-source-file): New function. (Bug#15935)
9501 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
9503 * net/eww.el (eww-local-regex): New variable.
9504 (eww): Use it to detect localhost and similar.
9506 2013-11-21 Leo Liu <sdl.web@gmail.com>
9508 Add completion for command `ag'.
9509 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
9510 (pcomplete/ag): New function.
9511 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
9513 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9515 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
9517 (make-obsolete): Remove interactive spec.
9519 2013-11-21 Glenn Morris <rgm@gnu.org>
9521 * startup.el (command-line-1): Use path-separator with -L.
9523 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
9525 * emacs-lisp/package.el (describe-package-1): Add package archive
9528 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
9530 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9531 Change default to "# encoding: %s" to differentiate it from the
9532 default Ruby encoding comment template.
9534 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
9536 * ses.el (ses-mode): Doc fix. (Bug#14748)
9538 2013-11-20 Leo Liu <sdl.web@gmail.com>
9540 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
9542 2013-11-19 Dan Nicolaescu <dann@gnu.org>
9544 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
9545 when rebase or bisect are in progress.
9547 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
9549 * filenotify.el (file-notify-add-watch): Doc fix.
9551 2013-11-19 Leo Liu <sdl.web@gmail.com>
9553 * obsolete/rcompile.el: Mark obsolete.
9555 * progmodes/compile.el (compilation-start)
9556 (compilation-goto-locus, compilation-find-file):
9557 Pass no-display-ok and handle nil value from display-buffer.
9560 * window.el (display-buffer-alist, display-buffer): Document the
9561 new parameter no-display-ok. Return either a window or nil
9562 but never a non-window value.
9564 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9566 * electric.el (electric-indent-mode-map): Remove.
9567 (electric-indent-mode): Change the global-map instead (bug#15915).
9569 * textmodes/text-mode.el (paragraph-indent-minor-mode):
9572 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * emacs-lisp/nadvice.el (remove-function): Align with
9575 add-function's behavior.
9577 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
9578 (gdb--string-regexp): New constant.
9579 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
9580 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
9581 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
9583 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
9584 Adjust use accordingly.
9585 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
9587 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
9589 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
9590 interpolation curlies (Bug#15914).
9592 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
9594 * calc/calc.el (calc-context-sensitive-enter): New variable.
9595 (calc-enter): Use `calc-context-sensitive-enter'.
9597 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
9599 * progmodes/cfengine.el: Version bump.
9600 (cfengine-cf-promises): New defcustom to locate cf-promises.
9601 (cfengine3-vartypes): Add new "data" type.
9602 (cfengine3--current-word): New function to get current name-like
9604 (cfengine3--current-function): New function to look up a CFEngine
9605 function's definition.
9606 (cfengine3-format-function-docstring): New function.
9607 (cfengine3-make-syntax-cache): New function.
9608 (cfengine3-documentation-function): New function: ElDoc glue.
9609 (cfengine3-completion-function): New function: completion glue.
9610 (cfengine3-mode): Set `compile-command',
9611 `eldoc-documentation-function', and add to
9612 `completion-at-point-functions'.
9614 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
9616 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
9617 `tramp-current-connection'.
9619 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
9621 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
9622 nil/self/true/false with "end of symbol".
9624 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
9626 * subr.el (version-regexp-alist): Fix a typo.
9628 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
9630 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
9631 "en_US.utf8" and "LC_CTYPE" to "".
9632 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
9633 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
9635 2013-11-15 Leo Liu <sdl.web@gmail.com>
9637 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
9639 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9641 * progmodes/gud.el (ctl-x-map):
9642 Remove C-x SPC binding. (Bug#12342)
9643 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
9645 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
9647 * subr.el (version-regexp-alist):
9648 Recognize hg, svn and darcs versions as snapshot versions.
9650 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
9651 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
9652 (ruby--encoding-comment-required-p): Extract from
9653 `ruby-mode-set-encoding'.
9654 (ruby-mode-set-encoding): Add the ability to always insert an
9655 utf-8 encoding comment. Fix and simplify coding comment update
9658 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
9660 * net/tramp-gvfs.el (top): Run init code only when
9661 `tramp-gvfs-enabled' is not nil.
9662 (tramp-gvfs-enabled): Check also :system bus.
9664 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9666 Sync with upstream verilog-mode revision 78e66ba.
9667 * progmodes/verilog-mode.el (verilog-end-of-defun)
9668 (verilog-type-completion, verilog-get-list): Remove unused funcs.
9669 (verilog-get-end-of-defun): Remove unused argument.
9670 (verilog-comment-depth): Remove unused local `e'.
9671 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
9672 Don't pass arg to verilog-get-end-of-defun.
9674 2013-11-14 Glenn Morris <rgm@gnu.org>
9676 * obsolete/assoc.el (aget): Prefix dynamic variable.
9678 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
9680 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9682 * widget.el, hfy-cmap.el: Remove bogus package version number.
9684 2013-11-13 Glenn Morris <rgm@gnu.org>
9686 * replace.el (replace-eval-replacement):
9687 Try to give more helpful error message. (Bug#15836)
9689 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9690 (archive-7z-update): Avoid custom type mismatches.
9692 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
9694 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
9696 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
9697 address can be empty.
9699 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
9700 Accept nil SWITCHES.
9701 (tramp-gvfs-handle-write-region): Implement APPEND.
9703 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
9705 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
9706 binary "|" operator and closing block args delimiter.
9707 Remove FIXME comment referring to Ruby 1.8-only syntax.
9708 (ruby-smie--implicit-semi-p): Not after "|" operator.
9709 (ruby-smie--closing-pipe-p): New function.
9710 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
9711 (ruby-smie-rules): Indent after "|".
9713 2013-11-12 Glenn Morris <rgm@gnu.org>
9715 * ps-print.el (ps-face-attribute-list):
9716 Handle anonymous faces. (Bug#15827)
9718 2013-11-12 Martin Rudalics <rudalics@gmx.at>
9720 * window.el (display-buffer-other-frame): Fix doc-string.
9723 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9725 * subr.el (force-mode-line-update): Delete, move to buffer.c.
9727 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
9729 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
9730 (tramp-sh-handle-file-local-copy): Don't write a message when
9731 saving temporary files.
9733 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
9734 both directories are remote.
9735 (tramp-smb-handle-directory-files): Do not return double entries.
9736 Do not expand full file names.
9737 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
9738 (tramp-smb-handle-write-region): Implement APPEND.
9739 (tramp-smb-get-stat-capability): Fix a stupid bug.
9741 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9743 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
9745 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9747 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
9748 throwing error over malformed let/let* (bug#15814).
9750 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9752 * iswitchb.el (iswitchb-mode): Mark obsolete.
9754 2013-11-11 Glenn Morris <rgm@gnu.org>
9756 * international/uni-bidi.el, international/uni-category.el:
9757 * international/uni-name.el, international/uni-numeric.el:
9758 Regenerate for Unicode 6.3.0.
9760 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
9762 * net/tramp.el (tramp-methods):
9763 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
9764 2013-10-29 (r114834).
9766 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
9768 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9769 Force highlighting text after Summary keyword in doc face for rpm.
9771 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
9773 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
9774 available and the word has no wildcards, append one to the grep pattern.
9775 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
9776 (ispell-complete-word): Call `ispell-lookup-words' with the value
9777 independent of `ispell-look-p'.
9779 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9781 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
9783 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
9786 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9788 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
9789 (ruby-font-lock-keywords): Use backquote.
9791 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9793 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9794 (ruby-smie--backward-token): Only consider full-string matches.
9796 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
9798 * faces.el (describe-face): Add distant-foreground.
9800 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
9802 * progmodes/ruby-mode.el: Improve encoding comment handling.
9803 (ruby-encoding-magic-comment-style): New option.
9804 (ruby-custom-encoding-magic-comment-template): New option.
9805 (ruby--insert-coding-comment, ruby--detect-encoding):
9806 New functions extracted from `ruby-mode-set-encoding'.
9807 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
9808 to control the style of the auto-inserted encoding comment.
9810 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9812 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
9813 Use `smie-backward-sexp' with token argument.
9815 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
9817 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9818 Remove instrumentation code.
9820 2013-11-08 Glenn Morris <rgm@gnu.org>
9822 * progmodes/autoconf.el (autoconf-mode):
9823 Tweak comment-start-skip. (Bug#15822)
9825 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9827 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
9828 at bobp (bug#15826).
9829 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
9831 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
9833 * man.el (Man-start-calling): New macro, extracted from
9834 Man-getpage-in-background.
9835 (Man-getpage-in-background): Use it.
9836 (Man-update-manpage): New command.
9837 (Man-mode-map): Bind it.
9839 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9841 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
9842 of "and", "or", "&&" and "||".
9843 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
9844 argument. Prohibit opening curly brace because it could only be a
9845 block opener in that position.
9846 (ruby-smie--forward-token, ruby-smie--backward-token):
9847 Separate "|" from "&" or "*" going after it. That can happen in block
9849 (ruby-smie--indent-to-stmt): New function, seeks the end of
9850 previous statement or beginning of buffer.
9851 (ruby-smie-rules): Use it.
9852 (ruby-smie-rules): Check if there's a ":" before a curly block
9853 opener candidate; if there is, it's a hash.
9855 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9857 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
9858 (cl--block-wrapper): Fix last accidental change.
9860 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
9862 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9863 Instrument, in order to hunt failure on hydra.
9865 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9867 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
9868 malformed bindings form (bug#15814).
9870 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
9872 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
9873 "." compared to " @ ". This incidentally fixes some indentation
9875 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
9876 (ruby-smie-grammar): New tokens: "and" and "or".
9877 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
9878 Exclude "and" and "or". Remove "do" in order to work around token
9880 (ruby-smie-rules): Add all infix tokens. Handle the case of
9881 beginning-of-buffer.
9883 2013-11-06 Glenn Morris <rgm@gnu.org>
9885 * Makefile.in (setwins_almost, setwins_for_subdirs):
9886 Avoid accidental matches.
9888 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9890 * menu-bar.el (popup-menu): Use key-binding.
9892 2013-11-06 Eli Zaretskii <eliz@gnu.org>
9894 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
9895 menus, support also the menus produced by minor modes.
9898 2013-11-06 Leo Liu <sdl.web@gmail.com>
9900 * thingatpt.el (thing-at-point-looking-at): Add optional arg
9901 DISTANCE to bound the search. All uses changed. (Bug#15808)
9903 2013-11-06 Glenn Morris <rgm@gnu.org>
9905 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
9906 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
9907 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
9909 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9911 * electric.el (electric-indent-just-newline): New command.
9912 (electric-indent-mode-map): New keymap.
9913 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
9914 Re-add :group which weren't redundant.
9916 * electric.el (electric-indent-local-mode): New minor mode.
9917 (electric-indent-functions-without-reindent): New var.
9918 (electric-indent-post-self-insert-function): Use it.
9919 * emacs-lisp/gv.el (buffer-local-value): Add setter.
9921 2013-11-05 Eli Zaretskii <eliz@gnu.org>
9923 * international/quail.el (quail-help): Be more explicit about the
9924 meaning of the labels shown on the keys. (Bug#15800)
9926 * startup.el (normal-top-level): Load the subdirs.el files before
9927 setting the locale environment. (Bug#15805)
9929 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
9931 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
9932 via arguments so as to get the right ones (bug#15418).
9934 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
9936 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
9938 Fix problems found while writing a test suite.
9940 * net/tramp-compat.el (tramp-compat-load): New defun.
9941 * net/tramp.el (tramp-handle-load): Use it.
9943 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
9944 "(numberp ok-if-already-exists)" correctly.
9946 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
9948 * international/characters.el (glyphless-char-display-control):
9951 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
9953 * progmodes/python.el (python-mode):
9954 * progmodes/scheme.el (scheme-mode):
9955 * progmodes/prolog.el (prolog-mode):
9956 * progmodes/ruby-mode.el (ruby-mode):
9957 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
9958 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
9960 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9962 * rect.el (rectangle--highlight-for-redisplay):
9963 * emacs-lisp/smie.el (smie--next-indent-change):
9964 Use buffer-chars-modified-tick.
9966 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
9968 * electric.el (electric-indent-post-self-insert-function):
9969 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
9971 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
9973 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
9975 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9977 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
9980 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9982 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
9984 * progmodes/python.el: Fix up last change.
9985 (python-shell--save-temp-file): New function.
9986 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
9987 `string' comes from the current buffer.
9988 (python-shell-send-string-no-output): Remove `msg' arg.
9989 (python--use-fake-loc): New var.
9990 (python-shell-buffer-substring): Obey it. Try to compensate for the
9991 extra coding line added by python-shell--save-temp-file.
9992 (python-shell-send-region): Use python-shell--save-temp-file and
9993 python-shell-send-file directly. Add `nomain' argument.
9994 (python-shell-send-buffer): Use python-shell-send-region.
9995 (python-electric-pair-string-delimiter): New function.
9996 (python-mode): Use it.
9998 2013-11-04 Eli Zaretskii <eliz@gnu.org>
10000 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
10001 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
10002 environment and decoding all of the default-directory's to here
10004 (command-line): Decode also argv[0].
10006 * loadup.el: Error out if default-directory is a multibyte string
10007 when we are dumping.
10009 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
10011 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
10013 * emacs-lisp/package.el (package-menu-mode)
10014 (package-menu--print-info, package-menu--archive-predicate):
10015 Add Archive column to package list.
10017 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
10019 Fix problems found while writing a test suite.
10021 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
10022 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
10023 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
10024 to nil when running original file name handler. Otherwise,
10025 there are problems with constructs like "$$FOO".
10027 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
10030 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
10032 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
10034 * subr.el (version<, version<=, version=):
10035 Update docstrings with information for snapshot versions.
10037 * helpers.el: New library for misc helper functions.
10038 (hash-table-keys): New function returning a list of hash keys.
10039 (hash-table-values): New function returning a list of hash values.
10041 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
10043 * progmodes/ruby-mode.el (ruby-smie--forward-token)
10044 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
10046 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
10048 * textmodes/fill.el (fill-single-char-nobreak-p): New function
10049 checking whether point is after a 1-letter word.
10051 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
10053 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
10054 Don't infloop when expanding region over `multiline' syntax-type that
10055 begins a line (bug#15778).
10057 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
10059 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
10060 Make it into a proper minor mode.
10061 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
10062 (rectangle-mark-mode-map): New keymap.
10063 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
10065 2013-11-04 Glenn Morris <rgm@gnu.org>
10067 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
10069 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10071 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
10072 (ruby-smie-rules): Use smie-rule-parent instead.
10074 * emacs-lisp/smie.el (smie-rule-parent): Always call
10075 smie-indent-virtual rather than only for hanging tokens.
10076 (smie--next-indent-change): New helper command.
10078 2013-11-03 Glenn Morris <rgm@gnu.org>
10080 * Makefile.in (abs_srcdir): Remove.
10081 (emacs): Unset EMACSLOADPATH.
10083 2013-11-02 Glenn Morris <rgm@gnu.org>
10085 * Makefile.in (EMACS): Use a relative filename.
10086 (abs_top_builddir): Remove.
10087 (custom-deps, finder-data, autoloads): Use --chdir.
10089 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
10091 Use relative filenames in TAGS files.
10092 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
10093 (lisptagsfiles4, TAGS): Use relative file names.
10094 (TAGS-LISP): Remove.
10095 (maintainer-clean): No more TAGS-LISP file.
10097 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
10098 (lisptagsfiles4): Use absolute filenames again.
10099 (TAGS, TAGS-LISP): Not everything needs to run in one line.
10100 Remove all *loaddefs files, not just the first. Remove esh-groups.
10101 (maintainer-clean): Delete TAGS, TAGS-LISP.
10103 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
10105 * emacs-lisp/package.el (package-version-join):
10106 Recognize snapshot versions.
10108 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
10110 * subr.el (version-regexp-alist): Add support for snapshot versions.
10112 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
10114 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
10115 New function, replacement for `smie-rule-parent' for when we want to
10116 skip over our direct parent if it's an assignment token..
10117 (ruby-smie-rules): Use it.
10119 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
10121 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
10122 unconditionally. Remove now unnecessary forward declarations.
10123 Remove XEmacs-specific setup.
10124 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
10125 (ruby-font-lock-syntactic-keywords)
10126 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
10127 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
10128 (ruby-here-doc-end-syntax): Remove.
10129 (ruby-mode): Don't check whether `syntax-propertize-rules' is
10130 defined as function.
10132 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
10134 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
10136 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
10138 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
10139 table and abbrev table, `define-derived-mode' does that for us
10142 2013-11-01 Glenn Morris <rgm@gnu.org>
10144 * Makefile.in: Remove manual mh-e dependencies (writing .elc
10145 files is atomic for some time, so no parallel compilation issues).
10147 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
10149 * faces.el (face-x-resources): Add :distant-foreground.
10150 (region): Use :distant-foreground for gtk and ns.
10152 2013-11-01 Tassilo Horn <tsdh@gnu.org>
10154 Allow multiple bibliographies when BibLaTeX is used rather than
10156 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
10157 (reftex-locate-bibliography-files): Us it.
10159 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
10161 * image.el (image-type-header-regexps): Fix the 'pbm' part to
10162 allow comments in pbm files.
10164 * term/w32-win.el (dynamic-library-alist): Support newer versions
10165 of libjpeg starting with v7: look only for the DLL from the
10166 version against which Emacs was built.
10167 Support versions of libpng beyond 1.4.x.
10168 Support libtiff v4.x.
10170 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
10172 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
10173 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
10174 Add property :safe.
10175 (ruby-deep-arglist): Add property :type.
10177 2013-10-31 Glenn Morris <rgm@gnu.org>
10179 * Makefile.in (custom-deps, finder-data): No need to setq the target
10180 variables, we are in the right directory and the defaults work fine.
10182 2013-10-30 Glenn Morris <rgm@gnu.org>
10184 * Makefile.in (autoloads): Do not use abs_lisp.
10186 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10187 `newline' does not respect `standard-output', so use `princ'.
10189 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
10191 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
10192 * buff-menu.el (Buffer-menu--unmark): New function.
10193 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
10195 2013-10-30 Glenn Morris <rgm@gnu.org>
10197 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
10199 * emacs-lisp/package.el (lm-homepage): Declare.
10201 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
10204 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
10206 * Makefile.in (finder-data, autoloads, update-subdirs)
10207 (compile-main, compile-clean, compile-always, bootstrap-clean):
10208 Check return value of cd.
10209 (compile-calc): Remove.
10211 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10213 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
10215 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
10216 (byte-compile-and-folded): New function.
10217 (=, <, >, <=, >=): Use it.
10219 * dos-w32.el (minibuffer-history-case-insensitive-variables)
10220 (path-separator, null-device, buffer-file-coding-system)
10221 (lpr-headers-switches): Check system-type before modifying them.
10222 (find-buffer-file-type-coding-system): Mark obsolete.
10223 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
10224 find-file-not-found-set-buffer-file-coding-system.
10225 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
10226 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
10227 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
10228 (w32-direct-print-region-helper, w32-direct-print-region-function)
10229 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
10230 * startup.el (normal-top-level-add-subdirs-to-load-path):
10231 * ps-print.el (ps-print-region-function):
10232 * lpr.el (print-region-function): Use new name.
10234 * subr.el (custom-declare-variable-early): Remove function.
10235 (custom-declare-variable-list): Remove var.
10236 (error, user-error): Remove `while' loop.
10237 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
10238 (user-emacs-directory-warning, locate-user-emacs-file):
10240 * simple.el (read-quoted-char-radix, read-quoted-char):
10241 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
10243 * custom.el (custom-declare-variable-list): Don't process
10244 custom-declare-variable-list.
10246 * progmodes/python.el (python-shell-get-buffer): New function.
10247 (python-shell-get-process): Use it.
10248 (python-shell-send-string): Always use utf-8 and add a cookie to tell
10249 Python which encoding was used. Don't split-string since we only care
10250 about the first line. Return the temp-file, if applicable.
10251 (python-shell-send-region): Tell compile.el how to turn locations in
10252 the temp-file into locations in the source buffer.
10254 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * subr.el (undefined): Add missing behavior from the C code for
10259 * rect.el: Use lexical-binding. Add new rectangular region support.
10260 (rectangle-mark): New command.
10261 (rectangle--region): New var.
10262 (deactivate-mark-hook): Reset rectangle--region.
10263 (rectangle--extract-region, rectangle--insert-for-yank)
10264 (rectangle--highlight-for-redisplay)
10265 (rectangle--unhighlight-for-redisplay): New functions.
10266 (region-extract-function, redisplay-unhighlight-region-function)
10267 (redisplay-highlight-region-function): Use them to handle
10268 rectangular region.
10269 * simple.el (region-extract-function): New var.
10270 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
10271 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
10272 (kill-region): Replace obsolete `yank-handler' arg with `region'.
10273 (copy-region-as-kill, kill-ring-save): Add `region' argument.
10274 (redisplay-unhighlight-region-function)
10275 (redisplay-highlight-region-function): New vars.
10276 (redisplay--update-region-highlight): New function.
10277 (pre-redisplay-function): Use it.
10278 (exchange-point-and-mark): Don't deactivate the mark before
10279 reactivate-it anyway.
10280 * comint.el (comint-kill-region): Remove yank-handler argument.
10281 * delsel.el (delete-backward-char, backward-delete-char-untabify)
10282 (delete-char): Remove property, since it's now part of their
10284 (self-insert-iso): Remove property since this command doesn't exist.
10286 * emacs-lisp/package.el (package--download-one-archive)
10287 (describe-package-1): Don't query the user about final newline.
10289 2013-10-29 Daniel Colascione <dancol@dancol.org>
10291 * net/tramp.el (tramp-methods): Document new functionality.
10292 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
10293 tramp-hostname-checker if method provides one instead of scanning
10294 argument list for "%h" to decide hostname acceptability.
10296 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
10298 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10299 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10300 Handle COPY-CONTENTS. (Bug#15737)
10302 2013-10-28 Daiki Ueno <ueno@gnu.org>
10304 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
10305 Document that this option has no effect with GnuPG 2.0 (bug#15552).
10307 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
10309 * image.el (defimage, image-load-path): Doc fixes.
10311 2013-10-27 Alan Mackenzie <acm@muc.de>
10313 Indent statements in macros following "##" correctly.
10314 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10315 Modify the "#" arm of a cond form to handle "#" and "##" operators.
10317 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
10319 * linum.el (linum-update-window): Fix boundary test (bug#13446).
10321 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
10323 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
10324 after `=' is probably a new expression.
10326 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10328 * man.el (man-imenu-title): New option.
10329 (Man-mode-map): Add menu. (Bug#15722)
10330 (Man-mode): Add imenu to menu.
10332 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
10334 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
10335 specific in what the first arg can be: a non-keyword word,
10336 string/regexp/percent literal opener, opening paren, or unary
10337 operator followed directly by word.
10339 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10341 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
10342 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
10343 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
10344 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
10345 Remove vars, they do not apply any more.
10346 (prolog-mode-abbrev-table): Remove redundant declaration.
10347 (prolog-upper-case-string, prolog-lower-case-string): Remove.
10348 (prolog-use-smie): Remove.
10349 (prolog-smie-rules): Add indentation rule for the if-then-else layout
10350 supported by prolog-electric-if-then-else-flag.
10351 (prolog-mode-variables, prolog-menu): Use setq-local.
10352 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
10353 Remove binding to `Backspace' since this key doesn't exist anyway.
10354 Remove bindings for electric self-inserting keys.
10355 (prog-mode): Assume it's defined.
10356 (prolog-post-self-insert): New function.
10357 (prolog-mode): Use it.
10358 (prolog-indent-line, prolog-indent-level)
10359 (prolog-find-indent-of-matching-paren)
10360 (prolog-indentation-level-of-line, prolog-goto-comment-column)
10361 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
10362 (prolog-goto-next-paren, prolog-in-string-or-comment)
10363 (prolog-tokenize, prolog-inside-mline-comment)
10364 (prolog-find-start-of-mline-comment): Remove functions.
10365 (prolog-find-unmatched-paren, prolog-clause-end)
10366 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
10367 (prolog-electric--if-then-else): Rename from
10368 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
10369 (prolog-tokenize-searchkey): Remove const.
10370 (prolog-clause-info): Use forward-sexp.
10371 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
10372 (prolog-electric-if-then-else): Remove commands.
10373 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
10374 for use in post-self-insert-hook.
10375 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
10376 for use in post-self-insert-hook.
10377 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
10378 for use in post-self-insert-hook.
10379 (prolog-electric--underscore): Rename from prolog-electric--underscore;
10380 adapt it for use in post-self-insert-hook.
10382 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
10384 * emacs-lisp/ert.el (ert-run-tests-interactively):
10385 Use `completing-read'. (Bug#9756)
10387 2013-10-25 Eli Zaretskii <eliz@gnu.org>
10389 * simple.el (line-move): Call line-move-1 instead of
10390 line-move-visual when the current window hscroll is zero, but
10391 temporary-goal-column indicates we will need to hscroll as result
10392 of the movement. (Bug#15712)
10394 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
10396 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
10397 capitalization. Use :visible instead of :active.
10398 Fix `ruby-indent-exp' reference. Add menu items for the generic
10399 commands that are used with SMIE.
10400 (ruby-do-end-to-brace): Insert space after `{'.
10402 2013-10-25 John Anthony <john@jo.hnanthony.com>
10404 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
10406 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
10408 2013-10-25 Glenn Morris <rgm@gnu.org>
10410 * vc/vc.el (vc-print-log): Don't use a working revision unless
10411 one was explicitly specified. (Bug#15322)
10413 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10415 * subr.el (add-to-list): Preserve return value in compiler-macro
10418 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10420 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
10421 result. Ask user to retry using '-all' flag. (Bug#15701)
10423 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10425 * emacs-lisp/smie.el: New smie-config system.
10426 (smie-config): New defcustom.
10427 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
10428 (smie-config-guess, smie-config-save): New commands.
10429 (smie-config--mode-local, smie-config--buffer-local)
10430 (smie-config--trace, smie-config--modefuns): New vars.
10431 (smie-config--advice, smie-config--mode-hook)
10432 (smie-config--setter, smie-config-local, smie-config--get-trace)
10433 (smie-config--guess-value, smie-config--guess): New functions.
10434 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
10435 text properties. Treat "string fence" syntax like string syntax.
10437 * progmodes/sh-script.el (sh-use-smie): Change default.
10438 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
10439 (sh-var-value): Simplify by CSE.
10440 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
10441 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
10443 (sh-guess-basic-offset): Use cl-incf.
10444 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
10446 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
10448 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
10451 2013-10-24 Glenn Morris <rgm@gnu.org>
10453 * Makefile.in (abs_top_srcdir): Remove.
10454 (update-subdirs): Use relative path to update-subdirs.
10456 2013-10-24 Eli Zaretskii <eliz@gnu.org>
10458 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
10459 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
10460 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
10461 Call unmsys--file-name before expand-file-name, not after it.
10463 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
10465 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
10466 (ert-test-skipped): New error.
10467 (ert-skip, ert-stats-skipped): New defuns.
10468 (ert--skip-unless): New macro.
10469 (ert-test-skipped): New struct.
10470 (ert--run-test-debugger, ert-test-result-type-p)
10471 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
10472 (ert--stats-set-test-and-result, ert-char-for-test-result)
10473 (ert-string-for-test-result, ert-run-tests-batch)
10474 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
10475 Handle skipped tests. (Bug#9803)
10477 2013-10-24 Glenn Morris <rgm@gnu.org>
10479 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
10481 * Makefile.in (abs_top_srcdir): New, set by configure.
10482 (update-subdirs): Correct build-aux location.
10484 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
10486 * vc/vc.el (vc-print-root-log): Always set `default-directory'
10487 value, whether we could auto-deduce `backend', or not.
10489 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
10490 with parameters" example. Simplify the "is it block or is it
10491 hash" check, but also make it more thorough.
10493 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
10495 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
10497 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
10499 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
10500 { if it is hanging.
10502 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
10505 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
10507 * progmodes/compile.el (compilation-directory-matcher)
10508 (compilation-page-delimiter):
10509 Support GNU Make-4.0 directory quoting. (Bug#15678)
10511 2013-10-23 Leo Liu <sdl.web@gmail.com>
10513 * ido.el (ido-tidy): Handle read-only text.
10515 2013-10-23 Glenn Morris <rgm@gnu.org>
10517 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
10518 (emacs, compile, compile-always):
10519 Quote entities that might contain whitespace.
10520 (custom-deps, finder-data, autoloads): Use abs_lisp.
10521 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10522 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10523 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
10525 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
10527 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
10528 Use `following-char'.
10530 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
10532 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
10533 * progmodes/ruby-mode.el (ruby-smie-rules):
10534 Remove corresponding workaround. Fix indentation rule of ";" so it
10535 also applies when ";" is the parent.
10537 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
10539 * frame.el (display-screens, display-pixel-height)
10540 (display-pixel-width, display-mm-width, display-backing-store)
10541 (display-save-under, display-planes, display-color-cells)
10542 (display-visual-class, display-monitor-attributes-list):
10543 Mention the optional ‘display’ argument in doc strings.
10545 2013-10-22 Michael Gauland <mikelygee@amuri.net>
10547 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
10548 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
10550 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10552 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
10553 TODO. Add "." after " @ ".
10554 (ruby-smie--at-dot-call): New function. Checks if point at method
10555 call with explicit target.
10556 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
10557 to the method name tokens when it precedes them.
10558 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
10559 (ruby-smie-rules): Add rule for indentation before and after "."
10562 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
10564 * textmodes/remember.el (remember-diary-extract-entries):
10567 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
10570 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10572 * progmodes/ruby-mode.el (ruby-smie-grammar):
10573 Add (almost) all infix operators.
10574 (ruby-smie--implicit-semi-p): Add new operator chars.
10576 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10578 (ruby-smie--args-separator-p): Check that there's no newline
10579 between method call and its arguments.
10581 2013-10-20 Alan Mackenzie <acm@muc.de>
10583 Allow comma separated lists after Java "implements".
10585 * progmodes/cc-engine.el (c-backward-over-enum-header):
10587 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
10588 from a "disallowed" list in enum fontification.
10590 2013-10-20 Johan Bockgård <bojohan@gnu.org>
10592 * startup.el (default-frame-background-mode): Remove unused defvar.
10594 * progmodes/verilog-mode.el (verilog-mode): Don't set
10595 comment-indent-function globally.
10597 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
10599 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
10600 Move Info menu item creation to ns-win.el.
10602 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
10605 * menu-bar.el: Move GNUstep specific menus...
10607 * term/ns-win.el (ns-initialize-window-system): ... to here.
10609 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10611 * simple.el (newline): Only run post-self-insert-hook when
10612 called interactively.
10614 2013-10-19 Johan Bockgård <bojohan@gnu.org>
10616 * icomplete.el (icomplete-with-completion-tables): Add :version.
10618 2013-10-19 Alan Mackenzie <acm@muc.de>
10620 Fix fontification bugs with constructors and const.
10622 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
10623 CASE 2) Remove the check for the absence of a suffix construct
10624 after a function declaration with only types (no identifiers) in
10625 the parentheses. Also, accept a function declaration with just a
10626 type inside the parentheses, if this type can be positively
10627 recognised as such, or if a prefix keyword like "explicit" nails
10628 down the construct as a declaration.
10630 2013-10-19 Eli Zaretskii <eliz@gnu.org>
10632 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
10633 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
10634 the problem whereby selecting a menu item that leads to a
10635 minibuffer prompt moves the cursor out of the minibuffer window,
10636 making it hard to type at the prompt. Suggested by Stefan Monnier
10637 <monnier@iro.umontreal.ca>.
10639 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
10641 * menu-bar.el: Don't make Services menu.
10643 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10645 * ffap.el: Handle "/usr/include/c++/<version>" directories.
10646 (ffap-alist): Use ffap-c++-mode for c++-mode.
10647 (ffap-c++-path): New variable.
10648 (ffap-c++-mode): New function.
10650 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
10652 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
10654 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
10656 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
10657 introduced on 2013-09-08, which results in an infinite loop
10658 requesting a password.
10660 2013-10-18 Glenn Morris <rgm@gnu.org>
10662 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
10664 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
10666 Sync with upstream verilog-mode revision 1a6ecec7.
10667 * progmodes/verilog-mode.el (verilog-mode-version): Update.
10668 (verilog-mode-release-date): Remove.
10669 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
10670 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
10671 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
10672 (verilog-auto-tieoff-ignore-regexp)
10673 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
10674 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
10675 (verilog-signals-with, verilog-dir-cache-preserving)
10676 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
10678 (verilog-case-fold): New option, to control case folding in
10679 regexp searches, bug597.
10680 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
10681 (verilog-string-match-fold, verilog-in-paren-count)
10682 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
10683 (verilog-at-close-struct-p): New functions.
10684 (verilog-beg-block-re-ordered, verilog-extended-case-re)
10685 (verilog-forward-sexp, verilog-set-auto-endcomments)
10686 (verilog-leap-to-case-head): Handle "unique0" case.
10687 (verilog-in-constraint-re): New constant.
10688 (verilog-keywords, verilog-type-font-keywords):
10689 Add some SystemVerilog 1800-2012 keywords.
10690 (verilog-label-be): Remove unimplemented argument, bug669.
10691 (verilog-batch-execute-func): When batch expanding clear
10692 create-lockfiles to prevent spurious user locks when a file ends
10694 (verilog-calculate-indent, verilog-calc-1)
10695 (verilog-at-close-constraint-p, verilog-at-constraint-p)
10696 (verilog-do-indent): Fix indentation of nested constraints
10698 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
10699 (verilog-auto-inst-param): Use verilog-string-match-fold.
10700 (verilog-read-inst-module-matcher):
10701 Fix AUTOINST on gate primitives with #1.
10702 (verilog-read-decls): Fix double-declaring user-defined typed signals.
10703 Reads all user-defined typed variables.
10704 (verilog-read-defines): Fix reading definitions inside comments, bug647.
10705 (verilog-signals-matching-regexp)
10706 (verilog-signals-not-matching-regexp, verilog-auto):
10707 Respect verilog-case-fold.
10708 (verilog-diff-report): Fix line count.
10709 (verilog-auto-assign-modport): Remove unused local `modi'.
10710 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
10711 better handle multidimensional arrays.
10712 Fix packed array ports misadding bit index in AUTOINST, bug637.
10713 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
10714 to not double-declare existing outputs and inputs, respectively.
10715 (verilog-template-map): Bind U to verilog-sk-uvm-component.
10716 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
10717 (verilog-sk-uvm-component): New skeleton.
10718 (verilog-submit-bug-report): Add verilog-case-fold,
10719 remove verilog-mode-release-date.
10721 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
10723 * subr.el (sit-for): Call (input-pending-p t) so as to behave
10726 2013-10-18 Reuben Thomas <rrt@sc3d.org>
10728 * textmodes/remember.el (remember): Set buffer-offer-save in
10729 remember buffers (bug#13566).
10731 2013-10-18 Daniel Colascione <dancol@dancol.org>
10733 When evaluating forms in ielm, direct standard output to ielm
10734 buffer. Add new ielm-return-for-effect command. Remove trailing
10735 whitespace throughout.
10737 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
10738 (ielm-return-for-effect): New command.
10739 (ielm-send-input): Accept optional `for-effect' parameter.
10740 (ielm-eval-input): Accept optional `for-effect' parameter.
10741 Bind `standard-output' to stream we create using
10742 `ielm-standard-output-impl'. Suppress printing result when
10744 (ielm-standard-output-impl): New function.
10745 (inferior-emacs-lisp-mode): Explain new features in documentation.
10747 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
10751 * net/tramp.el (tramp-debug-message): Do not check for connection
10753 (tramp-message): Use "vector" connection property.
10755 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
10756 (tramp-equal-remote, tramp-eshell-directory-change)
10757 * net/tramp-adb.el (tramp-adb-handle-copy-file)
10758 (tramp-adb-handle-rename-file)
10759 * net/tramp-cmds.el (tramp-list-remote-buffers)
10760 (tramp-cleanup-connection, tramp-cleanup-this-connection)
10761 * net/tramp-compat.el (tramp-compat-process-running-p)
10762 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
10763 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
10764 (tramp-gvfs-handle-rename-file)
10765 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10766 (tramp-set-file-uid-gid)
10767 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10768 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
10769 of `file-remote-p'.
10771 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
10772 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10773 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
10774 (tramp-gw-open-network-stream): Suppress unrelated traces.
10776 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
10777 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10778 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10779 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
10780 connection property.
10782 * net/tramp-cache.el (top): Suppress traces when reading
10785 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10786 Refactor common code. Improve debug message.
10787 (tramp-maybe-open-connection)
10788 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
10789 connection buffer too early.
10791 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
10792 from `tramp-smb-actions-with-acl'.
10793 (tramp-smb-actions-set-acl): New defconst.
10794 (tramp-smb-handle-copy-directory)
10795 (tramp-smb-action-get-acl): New defun, renamed from
10796 `tramp-smb-action-with-acl'.
10797 (tramp-smb-action-set-acl): New defun.
10798 (tramp-smb-handle-set-file-acl): Rewrite.
10800 2013-10-17 Glenn Morris <rgm@gnu.org>
10802 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
10804 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10806 * skeleton.el (skeleton-newline): Remove.
10807 (skeleton-internal-1): Use (insert "\n") instead.
10809 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
10812 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
10813 forward-sexp-function while we redo its job (bug#15613).
10815 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
10817 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
10818 represented by lists.
10820 2013-10-16 Glenn Morris <rgm@gnu.org>
10822 * tmm.el (tmm--history): New dynamic variable.
10823 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
10825 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
10827 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
10828 (tramp-smb-errors): Add error messages.
10829 (tramp-smb-actions-with-acl): New defconst.
10830 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
10831 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
10832 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
10833 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
10834 (tramp-smb-get-stat-capability): Fix tests.
10836 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
10838 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
10841 2013-10-16 Glenn Morris <rgm@gnu.org>
10843 * ansi-color.el (ansi-color-drop-regexp):
10844 Add 1J, 1K, 2K. (Bug#15617)
10846 * files.el (hack-local-variables--warned-lexical): New.
10847 (hack-local-variables):
10848 Warn about misplaced lexical-binding. (Bug#15616)
10850 * net/eww.el (eww-render): Always set eww-current-url,
10851 and update header line. (Bug#15622)
10852 (eww-display-html): ... Rather than just doing it here.
10854 2013-10-15 Eli Zaretskii <eliz@gnu.org>
10856 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
10857 menu navigations commands.
10859 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
10861 * progmodes/subword.el (subword-capitalize): Be careful when
10862 the search for [[:alpha:]] fails (bug#15580).
10864 2013-10-14 Eli Zaretskii <eliz@gnu.org>
10866 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
10867 to commands that scroll the menu.
10869 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
10871 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
10872 Handle methods ending with `?' and `!'.
10874 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
10876 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
10877 `japanese-cp932' to `cp932' to fix the problem where saving a
10878 source file written in Shift_JIS twice would end up having
10879 `coding: japanese-cp932' which Ruby could not recognize.
10880 (ruby-mode-set-encoding): Add support for encodings mapped to nil
10881 in `ruby-encoding-map'.
10882 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
10883 doesn't need to be explicitly declared in magic comment.
10884 (ruby-encoding-map): Add type declaration for better customize UI.
10886 2013-10-13 Glenn Morris <rgm@gnu.org>
10888 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
10889 Occur buffers are read-only. http://bugs.debian.org/720775
10891 * emacs-lisp/authors.el (authors-fixed-entries):
10892 Comment out old alpha stuff.
10894 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
10896 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
10897 to `after-save-hook' instead of `before-save-hook'.
10898 (ruby-mode-set-encoding): Use the value of coding system used to
10899 write the file. Call `basic-save-buffer-1' after modifying the
10902 2013-10-13 Alan Mackenzie <acm@muc.de>
10904 Fix indentation/fontification of Java enum with
10905 "implements"/generic.
10907 * progmodes/cc-engine.el (c-backward-over-enum-header):
10908 Extracted from the three other places and enhanced to handle generics.
10909 (c-inside-bracelist-p): Uses new function above.
10910 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
10912 (c-font-lock-enum-tail): Uses new function above.
10914 2013-10-13 Kenichi Handa <handa@gnu.org>
10916 * international/mule-cmds.el (select-safe-coding-system): Remove a
10917 superfluous condition in chekcing whether a coding system is safe
10920 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
10922 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
10924 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
10926 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
10928 2013-10-13 Glenn Morris <rgm@gnu.org>
10930 * menu-bar.el (menu-bar-update-buffers):
10931 Unify Buffers menu prompt string. (Bug#15576)
10933 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
10935 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
10937 (authors-fixed-entries): Use accented form of name.
10939 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10941 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
10942 method calls (bug#15594).
10943 (ruby-smie--args-separator-p): New function.
10944 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
10945 recognize paren-free method calls.
10947 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
10948 internals of universal-argument.
10950 2013-10-11 Eli Zaretskii <eliz@gnu.org>
10952 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
10953 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
10954 dropped menu on second mouse click on the menu bar.
10956 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10958 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
10959 (explicit-shell-file-name): Declare.
10960 (sh--vars-before-point, sh--cmd-completion-table): New functions.
10961 (sh-completion-at-point-function): New function.
10963 (sh-smie--keyword-p): Remove unused argument.
10964 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
10966 (sh-set-shell): Always setup SMIE, even if we use the
10967 old indentation code.
10969 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
10971 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
10973 (ruby-smie-rules): Simplify the "do" rule. The cases when the
10974 predicate would return nil are almost non-existent.
10975 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
10977 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
10978 cache also after commands that modify the buffer but don't move
10981 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10983 * env.el (substitute-env-in-file-name): New function.
10984 (substitute-env-vars): Extend the meaning of the optional arg.
10986 2013-10-10 Eli Zaretskii <eliz@gnu.org>
10988 * term/w32-win.el (dynamic-library-alist): Define separate lists
10989 of GIF DLLs for versions before and after 5.0.0 of giflib.
10992 2013-10-10 João Távora <joaotavora@gmail.com>
10994 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
10995 not locked, use last revision and current source as
10996 defaults. (Bug#15569)
10998 2013-10-10 Masatake YAMATO <yamato@redhat.com>
11000 * menu-bar.el (menu-bar-open): Don't use popup-menu if
11001 menu-bar is hidden.
11003 2013-10-10 Martin Rudalics <rudalics@gmx.at>
11005 * window.el (pop-to-buffer-same-window): Fix doc-string.
11008 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
11010 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
11012 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
11014 * calendar/icalendar.el (icalendar-import-file):
11015 Fix interactive spec. (Bug#15482)
11017 2013-10-10 Glenn Morris <rgm@gnu.org>
11019 * desktop.el (desktop-save): Default to saving in .emacs.d,
11020 since PWD is no longer in desktop-path by default. (Bug#15319)
11022 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
11023 now that text mode has a menu with the same entry.
11024 (menu-bar-text-mode-auto-fill): Remove now unused func.
11025 * textmodes/text-mode.el (text-mode-map):
11026 Use auto-fill help text from menu-bar.el.
11028 2013-10-10 John Anthony <john@jo.hnanthony.com>
11030 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
11032 2013-10-09 Juri Linkov <juri@jurta.org>
11034 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
11035 instead of this-command-keys. Add universal-argument-more and
11036 universal-argument-minus to the list of prefix commands. (Bug#15568)
11038 2013-10-09 Glenn Morris <rgm@gnu.org>
11040 * vc/vc-svn.el (vc-svn-create-repo):
11041 Expand paths in file://... url. (Bug#15446)
11043 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
11045 (authors): Remove unused local variables.
11047 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
11049 * profiler.el: Create a more coherent calltree from partial backtraces.
11050 (profiler-format): Hide the tail with `invisible' so that C-s can still
11051 find the hidden elements.
11052 (profiler-calltree-depth): Don't recurse so enthusiastically.
11053 (profiler-function-equal): New hash-table-test.
11054 (profiler-calltree-build-unified): New function.
11055 (profiler-calltree-build): Use it.
11056 (profiler-report-make-name-part): Indent the calltree less.
11057 (profiler-report-mode): Add visibility specs for profiler-format.
11058 (profiler-report-expand-entry, profiler-report-toggle-entry):
11059 Expand the whole subtree when provided with a prefix arg.
11061 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
11063 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
11065 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
11066 hanging iuwu-mod token.
11067 (ruby-smie--forward-token): Do not include a dot after a token in
11069 (ruby-smie--backward-token): Likewise.
11071 2013-10-08 Juri Linkov <juri@jurta.org>
11073 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
11074 to isearch-other-control-char.
11075 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
11076 and isearch-post-command-hook to post-command-hook.
11077 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
11078 and isearch-post-command-hook from post-command-hook.
11079 (isearch-unread-key-sequence)
11080 (isearch-reread-key-sequence-naturally)
11081 (isearch-lookup-scroll-key, isearch-other-control-char)
11082 (isearch-other-meta-char): Remove functions.
11083 (isearch-pre-command-hook, isearch-post-command-hook):
11084 New functions based on isearch-other-meta-char rewritten
11085 relying on the new behavior of overriding-terminal-local-map
11086 that does not replace the local keymaps any more. (Bug#15200)
11088 2013-10-08 Eli Zaretskii <eliz@gnu.org>
11090 Support menus on text-mode terminals.
11091 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
11094 * tooltip.el (tooltip-mode): Don't error out on TTYs.
11096 * menu-bar.el (popup-menu, popup-menu-normalize-position):
11097 Move here from mouse.el.
11098 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
11100 (tty-menu-navigation-map): New map for TTY menu navigation.
11102 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
11104 * frame.el (display-mouse-p): Report text-mode mouse as available
11106 (display-popup-menus-p): Report availability if mouse is
11107 available; don't condition on window-system.
11109 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
11110 (tty-menu-selected-face): New faces.
11112 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
11114 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
11115 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
11116 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
11117 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
11119 (lisp-mode-variables): New `elisp' argument.
11120 (emacs-lisp-mode): Use it.
11121 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
11122 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
11124 * indent.el: Use lexical-binding.
11125 (indent-region): Add progress reporter.
11126 (tab-stop-list): Make it implicitly extend to infinity by repeating the
11128 (indent--next-tab-stop): New function to implement this behavior.
11129 (tab-to-tab-stop, move-to-tab-stop): Use it.
11131 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
11133 * indent.el (indent-rigidly--current-indentation): New function.
11134 (indent-rigidly-map): New var.
11135 (indent-rigidly): Use it to provide interactive mode (bug#8196).
11137 2013-10-08 Bastien Guerry <bzg@gnu.org>
11139 * register.el (insert-register): Fix 2013-10-07 change.
11141 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
11143 * progmodes/perl-mode.el: Use lexical-binding.
11144 Remove redundant :group args.
11145 (perl-nochange): Change default to be closer to other major modes's
11147 (perl-indent-line): Don't consider text on current line as a
11148 valid beginning of function from which to indent.
11150 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
11151 with more than one argument (bug#15538).
11153 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
11155 * vc/pcvs.el: Use lexical-binding.
11156 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
11157 environment of `eval'.
11158 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
11159 than a list of expressions. Adjust callers.
11160 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
11162 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
11164 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
11165 case of the dot in a chained method call being on the following line.
11167 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
11169 * electric.el (electric-indent-inhibit): New var.
11170 (electric-indent-post-self-insert-function): Use it.
11171 * progmodes/python.el (python-mode): Set it.
11173 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
11176 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
11178 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
11179 (css-mode): Use electric-indent-chars.
11181 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
11182 (font-lock-beg, font-lock-end): Move before first use.
11183 (nxml-mode): Use syntax-propertize-function.
11184 (nxml-after-change, nxml-after-change1): Adjust accordingly.
11185 (nxml-extend-after-change-region): Remove.
11186 * nxml/xmltok.el: Use lexical-binding.
11187 (xmltok-save): Use `declare'.
11188 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
11189 * nxml/nxml-util.el: Use lexical-binding.
11190 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
11192 * nxml/nxml-ns.el: Use lexical-binding.
11193 (nxml-ns-save): Use `declare'.
11194 (nxml-ns-prefixes-for): Avoid add-to-list.
11195 * nxml/rng-match.el: Use lexical-binding.
11196 (rng--ipattern): Use cl-defstruct.
11197 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
11198 (rng-cons-group-after, rng-subst-group-after)
11199 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
11200 Use closures instead of `(lambda...).
11202 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
11204 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
11207 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11208 Use `tramp-handle-insert-file-contents'.
11209 (tramp-gvfs-handle-insert-file-contents): Remove function.
11211 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11212 Use `save-restriction' in order to keep markers.
11214 * net/trampver.el: Update release number.
11216 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
11218 * progmodes/compile.el (compilation-parse-errors):
11219 Use compilation--put-prop.
11220 (compilation--ensure-parse): Check compilation-multiline.
11222 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
11224 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
11227 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
11229 * progmodes/ruby-mode.el: Fix recently added tests.
11230 (ruby-smie-grammar): Add - and +.
11231 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
11232 (ruby-smie--backward-id): New functions.
11233 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
11234 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
11237 2013-10-07 Leo Liu <sdl.web@gmail.com>
11239 * register.el (register-preview-delay)
11240 (register-preview-functions): New variables.
11241 (register-read-with-preview, register-preview)
11242 (register-describe-oneline): New functions.
11243 (point-to-register, window-configuration-to-register)
11244 (frame-configuration-to-register, jump-to-register)
11245 (number-to-register, view-register, insert-register)
11246 (copy-to-register, append-to-register, prepend-to-register)
11247 (copy-rectangle-to-register): Use register-read-with-preview to
11248 read register. (Bug#15525)
11250 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
11252 * net/network-stream.el (network-stream-open-starttls): Don't add
11253 --insecure if it's already present, because that gnutls-cli
11254 rejects getting that parameter twice.
11256 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
11258 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
11261 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
11263 * newcomment.el (comment-use-global-state): Change default value
11264 to t, mark obsolete (Bug#15251).
11265 (comment-beginning): In addition to `comment-to-syntax', check the
11266 value of `comment-use-global-state'.
11268 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11270 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
11271 (ruby-comment-column): Follow the global default, by default.
11272 (ruby-smie-grammar): Add assignment syntax.
11273 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
11274 open-paren, a comma, or a \.
11275 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
11276 and line continuations.
11277 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
11278 followed by implicit semi-colons. Add rule for string concatenation
11279 and for indentation at BOB.
11280 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
11282 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
11283 calling next-sexp, since next-token may have skipped chars which
11284 next-sexp doesn't know should be skipped!
11286 2013-10-05 Leo Liu <sdl.web@gmail.com>
11288 * progmodes/octave.el (octave-send-region):
11289 Call compilation-forget-errors.
11291 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
11293 * vc/vc-svn.el (vc-svn-find-admin-dir):
11294 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
11295 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
11296 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
11297 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
11299 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
11301 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
11303 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
11305 * subr.el (read-passwd): Hide chars even when called within a context
11306 where after-change-functions is disabled (bug#15501).
11307 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
11308 until we removed ourself from overriding-terminal-local-map.
11310 2013-10-04 Leo Liu <sdl.web@gmail.com>
11312 * progmodes/octave.el (inferior-octave-mode):
11313 Call compilation-forget-errors.
11315 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
11317 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
11319 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
11321 * net/secrets.el (secrets-create-collection): Add optional
11322 argument ALIAS. Use proper Label keyword. Append ALIAS as
11323 dbus-call-method argument. (Bug#15516)
11325 2013-10-04 Leo Liu <sdl.web@gmail.com>
11327 * progmodes/octave.el (inferior-octave-error-regexp-alist)
11328 (inferior-octave-compilation-font-lock-keywords): New variables.
11329 (compilation-error-regexp-alist)
11330 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
11331 (inferior-octave-mode): Use compilation-shell-minor-mode.
11333 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
11335 * minibuffer.el (completion--replace): Be careful that `end' might be
11338 2013-10-03 Daiki Ueno <ueno@gnu.org>
11340 Add support for package signature checking.
11341 * emacs-lisp/package.el (url-http-file-exists-p)
11342 (epg-make-context, epg-context-set-home-directory)
11343 (epg-verify-string, epg-context-result-for)
11344 (epg-signature-status, epg-signature-to-string)
11345 (epg-check-configuration, epg-configuration)
11346 (epg-import-keys-from-file): Declare.
11347 (package-check-signature): New user option.
11348 (package-unsigned-archives): New user option.
11349 (package-desc): Add `signed' field.
11350 (package-load-descriptor): Set `signed' field if .signed file exists.
11351 (package--archive-file-exists-p): New function.
11352 (package--check-signature): New function.
11353 (package-install-from-archive): Check package signature.
11354 (package--download-one-archive): Check archive signature.
11355 (package-delete): Remove .signed file.
11356 (package-import-keyring): New command.
11357 (package-refresh-contents): Import default keyring.
11358 (package-desc-status): Add "unsigned" status.
11359 (describe-package-1, package-menu--print-info)
11360 (package-menu-mark-delete, package-menu--find-upgrades)
11361 (package-menu--status-predicate): Support "unsigned" status.
11363 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11365 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
11366 the new compilation scheme using the new byte-codes.
11368 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
11369 (byte-pophandler): New byte codes.
11370 (byte-goto-ops): Adjust accordingly.
11371 (byte-compile--use-old-handlers): New var.
11372 (byte-compile-catch): Use new byte codes depending on
11373 byte-compile--use-old-handlers.
11374 (byte-compile-condition-case--old): Rename from
11375 byte-compile-condition-case.
11376 (byte-compile-condition-case--new): New function.
11377 (byte-compile-condition-case): New function that dispatches depending
11378 on byte-compile--use-old-handlers.
11379 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
11382 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
11383 Optimize under `condition-case' and `catch' if
11384 byte-compile--use-old-handlers is nil.
11385 (disassemble-offset): Handle new bytecodes.
11387 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11389 * subr.el (error): Use `declare'.
11390 (decode-char, encode-char): Use advertised-calling-convention instead
11391 of the docstring to discourage use of the `restriction' arg.
11393 2013-10-03 Daiki Ueno <ueno@gnu.org>
11395 * epg.el (epg-verify-file): Add a comment saying that it does not
11396 notify verification error as a return value nor a signal.
11397 (epg-verify-string): Ditto.
11399 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
11401 * progmodes/compile.el (compilation-start): Try globbing the arg to
11404 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
11406 Sync with Tramp 2.2.8.
11408 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
11409 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
11410 * net/trampver.el: Update release number.
11412 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
11414 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
11415 and default-process-coding-system for darwin only.
11417 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
11419 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
11421 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
11423 * vc/vc-git.el (vc-git-grep): Disable pager.
11425 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
11427 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
11428 Use :url instead of :homepage, as per
11429 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
11431 * newcomment.el (comment-beginning): When `comment-use-syntax' is
11432 non-nil, use `syntax-ppss' (Bug#15251).
11434 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11436 * progmodes/octave.el (inferior-octave-startup-file):
11437 Prefer ~/.emacs.d/init_octave.m.
11439 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
11441 * emacs-lisp/package.el (package-desc-from-define):
11442 Accept additional arguments as plist, convert them to an alist and store
11443 them in the `extras' slot.
11444 (package-generate-description-file): Convert extras alist back to
11445 plist and append to the `define-package' form arguments.
11446 (package--alist-to-plist): New function.
11447 (package--ac-desc): Add `extras' slot.
11448 (package--add-to-archive-contents): Check if the archive-contents
11449 vector is long enough, and if it is, pass its `extras' slot value
11450 to `package-desc-create'.
11451 (package-buffer-info): Call `lm-homepage', pass the returned value
11452 to `package-desc-from-define'.
11453 (describe-package-1): Render the homepage button (Bug#13291).
11455 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11456 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
11458 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
11460 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
11461 and default-process-coding-system to utf-8-unix (Bug#15402).
11463 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
11465 * subr.el (looking-back): Do not recommend using looking-back.
11467 2013-09-28 Alan Mackenzie <acm@muc.de>
11469 Fix indentation/fontification of Java enum with "implements".
11471 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
11472 regexp which matches "implements", etc., in Java.
11473 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
11474 specifier clauses coming after "enum".
11475 * progmodes/cc-fonts.el (c-font-lock-declarations)
11476 (c-font-lock-enum-tail): Check for extra specifier clauses coming
11479 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
11481 * faces.el (region): Change ns_selection_color to
11482 ns_selection_fg_color, add ns_selection_bg_color.
11484 2013-09-28 Leo Liu <sdl.web@gmail.com>
11486 * progmodes/octave.el (inferior-octave-completion-table)
11487 (inferior-octave-completion-at-point): Minor tweaks.
11489 * textmodes/ispell.el (ispell-lookup-words): Rename from
11490 lookup-words. (Bug#15460)
11491 (lookup-words): Obsolete.
11492 (ispell-complete-word, ispell-command-loop): All uses changed.
11494 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11496 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
11497 (octave-mode-menu): Add octave-send-buffer.
11498 (octave-send-buffer): New function.
11500 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11502 * progmodes/octave.el (octave-mode-map): Add key binding for
11504 (octave-mode-menu): Add octave-lookfor.
11505 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
11507 (octave-lookfor): New function.
11509 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11511 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
11512 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
11514 (cl--loop-set-iterator-function): New function.
11515 (cl-loop): Adjust accordingly, so as not to use cl-subst.
11516 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
11517 Bind `it' with `let' instead of substituting it with `cl-subst'.
11518 (cl--unused-var-p): New function.
11519 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
11520 Eliminate some unused variable warnings (bug#15326).
11522 2013-09-27 Tassilo Horn <tsdh@gnu.org>
11524 * doc-view.el (doc-view-scale-reset): Rename from
11525 `doc-view-reset-zoom-level'.
11526 (doc-view-scale-adjust): New command.
11527 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
11528 `doc-view-scale-adjust'.
11530 2013-09-26 Tassilo Horn <tsdh@gnu.org>
11532 * doc-view.el (doc-view-reset-zoom-level): New command.
11533 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
11534 zoom commands (bug#15466).
11536 2013-09-26 Kenichi Handa <handa@gnu.org>
11538 * international/quail.el (quail-help): Make it not a command.
11540 2013-09-26 Leo Liu <sdl.web@gmail.com>
11542 * minibuffer.el (completion-all-sorted-completions): Make args
11543 optional as they are.
11545 2013-09-25 Daniel Colascione <dancol@dancol.org>
11547 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
11548 specs are and that they're not evaluated.
11550 2013-09-24 Sam Steingold <sds@gnu.org>
11552 * midnight.el (clean-buffer-list-kill-regexps)
11553 (clean-buffer-list-kill-buffer-names): Update for the new Man
11554 buffer naming which includes the object name.
11556 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11558 * eshell/esh-cmd.el (eshell--sep-terms): New var.
11559 (eshell-parse-command, eshell-parse-pipeline): Use it since
11560 eshell-separate-commands requires a dynamic scoped var.
11561 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
11563 2013-09-23 Leo Liu <sdl.web@gmail.com>
11565 * autoinsert.el (auto-insert-alist): Make the value of
11566 lexical-binding match its file setting.
11568 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
11570 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
11572 * autoarg.el (autoarg-kp-digit-argument):
11573 * electric.el (Electric-command-loop):
11574 * kmacro.el (kmacro-step-edit-insert):
11575 Do not set universal-argument-num-events.
11577 2013-09-22 Leo Liu <sdl.web@gmail.com>
11579 * files.el (interpreter-mode-alist): Add octave.
11581 2013-09-21 Alan Mackenzie <acm@muc.de>
11583 C++: fontify identifier in declaration following "public:" correctly.
11584 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
11585 to match "public", etc.
11586 (c-decl-prefix-re): Add ":" into the C++ value.
11587 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
11588 bit. Add a check for a ":" preceded by "public", etc.
11590 2013-09-21 Eli Zaretskii <eliz@gnu.org>
11592 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
11593 recognized by GDB 7.5 and later.
11595 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
11597 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
11599 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11601 * subr.el (internal--call-interactively): New const.
11602 (called-interactively-p): Use it (bug#3984).
11604 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
11606 * vc/pcvs.el (cvs-mode-ignore):
11607 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
11608 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
11610 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11612 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
11613 (eshell-ls-orig-insert-directory): Remove.
11614 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
11615 (eshell-ls-use-in-dired): Use advice-add/remove.
11616 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
11617 Add `orig-fun' arg for use in :around advice.
11618 Make it check (redundantly) eshell-ls-use-in-dired.
11620 2013-09-19 Glenn Morris <rgm@gnu.org>
11622 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
11624 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
11626 * emacs-lisp/eieio.el (class-parent): Undo previous change.
11628 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
11630 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
11631 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
11632 (tramp-get-remote-python): New defuns.
11633 (tramp-get-remote-uid-with-perl)
11634 (tramp-get-remote-gid-with-perl): New defuns. Perl code
11635 contributed by yary <not.com@gmail.com> (tiny change).
11636 (tramp-get-remote-uid-with-python)
11637 (tramp-get-remote-gid-with-python): New defuns. Python code
11638 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
11639 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
11641 2013-09-19 Glenn Morris <rgm@gnu.org>
11643 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
11645 * eshell/em-unix.el (eshell-remove-entries):
11646 Rename argument to avoid name-clash with global `top-level'.
11648 * eshell/esh-proc.el (eshell-kill-process-function):
11649 Remove eshell-reset-after-proc from eshell-kill-hook if present.
11650 (eshell-reset-after-proc): Remove unused arg `proc'.
11652 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
11653 (directory-files-and-attributes): Mark unused arg.
11655 * eshell/em-unix.el (eshell-remove-entries):
11656 Remove unused arg `path'. Update callers.
11658 * eshell/em-hist.el (eshell-hist-parse-arguments):
11659 Remove unused arg `silent'. Update callers.
11661 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
11662 Fix (f)boundp mix-up.
11664 * eshell/em-smart.el (eshell-smart-scroll-window)
11665 (eshell-disable-after-change):
11666 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
11668 2013-09-18 Alan Mackenzie <acm@muc.de>
11670 Fix fontification of type when followed by "const".
11671 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
11672 "known" types from fontification.
11674 2013-09-18 Glenn Morris <rgm@gnu.org>
11676 * emacs-lisp/chart.el (x-display-color-cells): Declare.
11677 (chart-face-list): Drop Emacsen without display-color-p.
11679 * net/eww.el (libxml-parse-html-region): Declare.
11680 (eww-display-html): Explicit error if no libxml2 support.
11682 * doc-view.el (doc-view-mode): Silence --without-x compilation.
11684 * image.el (image-type-from-buffer, image-multi-frame-p):
11685 Remove --without-x warning/error.
11687 * mouse.el (mouse-yank-primary):
11688 * term.el (term-mouse-paste):
11689 Reorder to silence --without-x compilation.
11691 * mpc.el (doc-view-mode): Silence --without-x compilation.
11693 * mail/rmailmm.el (rmail-mime-set-bulk-data):
11694 Silence --without-x compilation.
11696 * progmodes/gud.el (gud-find-file, gud-mode):
11697 Silence --without-x compilation.
11698 (tooltip-mode): Declare.
11700 * wdired.el (dired-backup-overwrite): Remove declaration.
11701 (wdired-mode-map): Add doc string.
11703 * custom.el (x-get-resource): Declare.
11705 * eshell/em-glob.el (ange-cache):
11706 * eshell/em-unix.el (ange-cache): Declare.
11708 * faces.el (x-display-list, x-open-connection, x-get-resource):
11711 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
11712 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
11715 * frame.el (x-display-grayscale-p, x-display-name): Declare.
11717 * net/gnutls.el (gnutls-log-level): Declare.
11719 * net/shr.el (image-size, image-animate): Declare.
11721 * simple.el (font-info): Declare.
11723 * subr.el (x-popup-dialog): Declare.
11725 * term/common-win.el (x-select-enable-primary)
11726 (x-last-selected-text-primary, x-last-selected-text-clipboard):
11729 * term/ns-win.el (x-handle-args): Declare.
11731 * term/x-win.el (x-select-enable-clipboard): Declare.
11733 * term/w32-win.el (create-default-fontset): Declare.
11735 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
11738 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
11739 (fit-frame-to-buffer): Explicit error if --without-x.
11740 (mouse-autoselect-window-select): Silence compiler.
11742 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11744 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
11745 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
11746 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
11747 * eshell/esh-util.el (eshell-sublist):
11748 Remove unused local variables.
11750 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
11752 * textmodes/two-column.el: Make 2C-split work for --without-x.
11753 (scroll-bar-columns): Autoload.
11754 (top-level): Require fringe when compiling.
11756 2013-09-18 Leo Liu <sdl.web@gmail.com>
11758 * subr.el (add-hook): Robustify to handle closure as well.
11760 2013-09-17 Glenn Morris <rgm@gnu.org>
11762 * simple.el (messages-buffer-mode-map): Unbind "g".
11764 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11766 * help-mode.el (help-mode-finish): Use derived-mode-p.
11767 Remove obsolete highlighting.
11769 * play/life.el (life-mode): Use define-derived-mode. Derive from
11771 (life): Let-bind inhibit-read-only.
11772 (life-setup): Avoid `setq'. Use `life-mode'.
11774 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
11775 which should not be needed any more.
11776 (package-menu-refresh, package-menu-describe-package): Use user-error.
11778 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
11779 (eshell-post-rewrite-command-hook): Make obsolete.
11780 (eshell-parse-command): Simplify.
11781 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
11782 (eshell--cmd): Declare.
11783 (eshell-parse-pipeline): Remove unused var `final-p'.
11784 Pass a dynvar to eshell-post-rewrite-command-hook.
11785 Implement the new eshell-post-rewrite-command-function.
11786 (eshell-invoke-directly): Remove unused arg `input'.
11787 * eshell/esh-io.el (eshell-io-initialize):
11788 Use eshell-post-rewrite-command-function (bug#15399).
11789 (eshell--apply-redirections): Rename from eshell-apply-redirections;
11790 adjust to new calling convention.
11791 (eshell-create-handles): Rename args to avoid clashing with dynvar
11794 2013-09-17 Glenn Morris <rgm@gnu.org>
11796 * simple.el (messages-buffer-mode): New major mode.
11797 (messages-buffer): New function.
11798 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
11799 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
11800 (ert-run-test): Use `messages-buffer' function.
11801 (ert--force-message-log-buffer-truncation): Ignore read-only.
11802 * help.el (view-echo-area-messages): Use `messages-buffer' function.
11803 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
11805 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11807 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
11809 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
11811 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11813 * icomplete.el (icomplete-in-buffer): New var.
11814 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
11815 vars and replace them with functions.
11816 (icomplete-minibuffer-setup): Adjust accordingly.
11817 (icomplete--completion-table, icomplete--completion-predicate)
11818 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
11820 (icomplete-forward-completions, icomplete-backward-completions)
11821 (icomplete-simple-completing-p, icomplete-exhibit)
11822 (icomplete-completions): Use them.
11823 (icomplete--in-region-buffer): New var.
11824 (icomplete--in-region-setup): New function.
11825 (icomplete-mode): Use it.
11827 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
11829 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
11830 return args and options.
11831 (eshell-eval-using-options): Use the new return value of
11832 eshell--do-opts to set the options's vars in their scope.
11833 (eshell--set-option): Rename from eshell-set-option.
11834 Add arg `opt-vals'.
11835 (eshell--process-option): Rename from eshell-process-option.
11836 Add arg `opt-vals'.
11837 (eshell--process-args): Use an `opt-vals' alist to store the options's
11838 values during their processing and return them additionally to the
11841 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
11843 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
11844 continuation character an operator, as far as indentation is
11845 concerned (Bug#15369).
11847 2013-09-15 Martin Rudalics <rudalics@gmx.at>
11849 * window.el (window--state-put-2): Don't process buffer state
11850 when buffer doesn't exist any more (Bug#15382).
11852 2013-09-15 Glenn Morris <rgm@gnu.org>
11854 * eshell/em-unix.el (eshell/rm):
11855 Make -f ignore missing files. (Bug#15373)
11857 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
11858 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
11859 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
11861 2013-09-14 Glenn Morris <rgm@gnu.org>
11863 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
11865 2013-09-13 Glenn Morris <rgm@gnu.org>
11867 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
11868 (dired-guess-default): Make `file' available in the env. (Bug#15363)
11870 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
11872 * frame.el (x-focus-frame): Mark as declared in frame.c.
11874 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
11876 * ls-lisp.el: Use advice-add.
11877 (original-insert-directory): Remove.
11878 (ls-lisp--insert-directory): Rename from insert-directory; add
11879 `orig-fun' argument.
11880 (insert-directory): Advise.
11882 2013-09-13 Eli Zaretskii <eliz@gnu.org>
11884 * term.el (term-emulate-terminal): Decode the command string
11885 before passing it to term-command-hook. (Bug#15337)
11887 2013-09-13 Glenn Morris <rgm@gnu.org>
11889 * eshell/esh-util.el (ange-cache): Move declaration earlier.
11891 * eshell/esh-ext.el (eshell-search-path): Declare.
11893 * eshell/em-prompt.el (eshell/pwd): Autoload it.
11894 Otherwise an error occurs if eshell-dirs module not loaded.
11896 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
11898 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
11900 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
11901 `tramp-check-proper-host'. Check for a valid method name.
11903 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11904 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11905 * net/tramp-sh.el (tramp-maybe-open-connection):
11906 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
11908 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
11909 also for hash values.
11911 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11913 * term/ns-win.el (parameters): Don't declare as dynamic.
11914 (before-make-frame-hook): Don't add ineffective function.
11916 * eshell/*.el: Use lexical-binding (bug#15231).
11918 2013-09-12 Kenichi Handa <handa@gnu.org>
11920 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
11922 2013-09-12 Glenn Morris <rgm@gnu.org>
11924 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
11925 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
11927 * subr.el (do-after-load-evaluation): Also give compiler warnings
11928 when obsolete files are used (except by obsolete files).
11930 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
11931 in the status output, assume `filename' is the first. (Bug#15322)
11933 * vc/vc.el (vc-deduce-fileset): Doc fix.
11935 * calc/calc-help.el (Info-goto-node):
11936 * progmodes/cperl-mode.el (Info-find-node):
11937 * vc/ediff.el (Info-goto-node): Update declarations.
11939 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
11941 * vc/vc-bzr.el (vc-compilation-mode): Declare.
11942 (vc-bzr-pull): Require vc-dispatcher.
11943 * vc/vc-git.el (vc-compilation-mode): Declare.
11944 (vc-git-pull): Require vc-dispatcher.
11946 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
11948 * progmodes/octave.el (help-button-action): Declare.
11950 * shell.el (shell-directory-tracker): Output error as a message
11951 rather than just returning it as a string.
11952 (shell-process-pushd): Remove useless use of message.
11954 * dframe.el (dframe-timer-fn):
11955 * files.el (dir-locals-read-from-file):
11956 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
11958 * reveal.el (reveal-post-command):
11959 * saveplace.el (load-save-place-alist-from-file):
11960 * shell.el (shell-resync-dirs):
11961 * w32-common-fns.el (x-get-selection-value):
11962 * emacs-lisp/copyright.el (copyright-find-copyright):
11963 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11964 * emulation/tpu-edt.el (tpu-copy-keyfile):
11965 * play/bubbles.el (bubbles--mark-neighbourhood):
11966 * progmodes/executable.el
11967 (executable-make-buffer-file-executable-if-script-p):
11968 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
11970 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11972 Cleanup Eshell to rely less on dynamic scoping.
11973 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
11974 last-value, and ext-command here. Bind `args' closer to `body'.
11975 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
11976 (eshell--args): Declare new dynamic var.
11977 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
11978 last-value, and ext-command. Pass `args' to `body'.
11979 (eshell-process-args): Bind eshell--args.
11980 (eshell-set-option): Use eshell--args.
11981 * eshell/eshell.el (eshell): Use derived-mode-p.
11982 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
11983 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
11984 (eshell-glob-function): Declare.
11985 * eshell/esh-util.el: Require cl-lib.
11986 (eshell-read-hosts-file): Avoid add-to-list.
11987 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
11989 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
11991 (eshell/diff): Remove unused var `err'.
11992 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
11994 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
11995 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
11997 * eshell/em-glob.el (eshell-glob-matches, message-shown):
11998 Move declaration before first use.
11999 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
12000 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
12003 2013-09-12 Glenn Morris <rgm@gnu.org>
12005 * term/ns-win.el (global-map): Remove binding for ispell-next,
12006 deleted 1999-05-29. (Bug#15357)
12008 2013-09-11 Glenn Morris <rgm@gnu.org>
12010 * echistory.el (electric-command-history): Remove call to deleted func.
12012 * play/landmark.el (landmark-mode): Fix typos.
12014 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
12015 Check cvs-sort-ignore-file is bound.
12017 * savehist.el: No need for cl when compiling on Emacs.
12019 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
12021 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
12023 (eshell-self-insert-command, eshell-send-invisible):
12024 Remove unused argument.
12025 (eshell-handle-control-codes): Remove unused var `orig'.
12026 Avoid delete-backward-char.
12028 * files.el (set-auto-mode): Simplify a bit further.
12030 2013-09-11 Glenn Morris <rgm@gnu.org>
12032 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
12033 (set-auto-mode): Don't regexp-quote elements.
12034 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
12035 * progmodes/cc-mode.el (interpreter-mode-alist):
12036 * progmodes/ruby-mode.el (interpreter-mode-alist):
12037 Revert previous change.
12039 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
12041 * play/snake.el (snake-mode):
12042 * play/mpuz.el (mpuz-mode):
12043 * play/landmark.el (lm-mode):
12044 * play/blackbox.el (blackbox-mode):
12045 * play/5x5.el (5x5-mode):
12046 * obsolete/options.el (Edit-options-mode):
12047 * net/quickurl.el (quickurl-list-mode):
12048 * net/newst-treeview.el (newsticker-treeview-mode):
12049 * mail/rmailsum.el (rmail-summary-mode):
12050 * mail/mspools.el (mspools-mode):
12051 * locate.el (locate-mode):
12052 * ibuffer.el (ibuffer-mode):
12053 * emulation/ws-mode.el (wordstar-mode):
12054 * emacs-lisp/debug.el (debugger-mode):
12055 * array.el (array-mode):
12056 * net/eudc.el (eudc-mode): Use define-derived-mode.
12057 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
12058 Move initialization into declaration.
12059 (mairix-searches-mode): Use define-derived-mode.
12060 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
12061 (eudc-edit-hotlist): Use dolist.
12062 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
12063 (Man-mode): Use define-derived-mode.
12064 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
12065 (Info-edit-mode): Use define-derived-mode.
12066 (Info-cease-edit): Use Info-mode.
12067 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
12069 (eshell-mode): Use define-derived-mode.
12070 * chistory.el (command-history-mode-map): Rename from
12071 command-history-map.
12072 (command-history-mode): Use define-derived-mode.
12073 (Command-history-setup): Remove function.
12074 * calc/calc.el (calc-trail-mode-map): New var.
12075 (calc-trail-mode): Use define-derived-mode.
12076 (calc-trail-buffer): Set calc-main-buffer manually.
12077 * bookmark.el (bookmark-insert-annotation): New function.
12078 (bookmark-edit-annotation): Use it.
12079 (bookmark-edit-annotation-mode): Make it a proper major mode.
12080 (bookmark-send-edited-annotation): Use derived-mode-p.
12081 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
12082 closer to its ideal place. Use \' to match EOS.
12084 * profiler.el (profiler-calltree-find): Use function-equal.
12086 2013-09-10 Glenn Morris <rgm@gnu.org>
12088 * files.el (interpreter-mode-alist): Convert to regexps.
12089 (set-auto-mode): Adapt for this. (Bug#15306)
12090 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
12091 Comment out unused variable.
12092 * progmodes/cc-mode.el (interpreter-mode-alist):
12093 * progmodes/python.el (interpreter-mode-alist):
12094 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
12095 * progmodes/sh-script.el (sh-set-shell):
12096 No longer use interpreter-mode-alist to get list of shells.
12098 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
12100 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
12102 * simple.el: Use set-temporary-overlay-map for universal-argument.
12103 (universal-argument-map): Don't use default-bindings (bug#15317).
12104 Bind switch-frame explicitly. Replace universal-argument-minus with
12105 a conditional binding.
12106 (universal-argument-num-events, saved-overriding-map): Remove.
12107 (restore-overriding-map): Remove.
12108 (universal-argument--mode): Rename from save&set-overriding-map,
12110 (universal-argument, universal-argument-more, negative-argument)
12111 (digit-argument): Adjust accordingly.
12112 (universal-argument-minus): Remove.
12113 (universal-argument-other-key): Remove.
12115 * subr.el (with-demoted-errors): Add `format' argument.
12117 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
12119 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
12120 `tramp-cleanup-connection'.
12122 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
12123 parameters KEEP-DEBUG and KEEP-PASSWORD.
12125 * net/tramp.el (tramp-file-name-handler):
12126 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12127 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12128 (tramp-maybe-open-connection):
12129 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12130 Use `tramp-cleanup-connection'.
12132 * net/tramp-sh.el (tramp-maybe-open-connection):
12133 Catch 'uname-changed inside the progress reporter.
12135 2013-09-10 Glenn Morris <rgm@gnu.org>
12137 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
12139 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
12140 returns "alternate access method" in mode (eg "-rw-r--r--.").
12142 2013-09-08 Glenn Morris <rgm@gnu.org>
12144 * saveplace.el (load-save-place-alist-from-file):
12145 Demote errors. (Bug#15305)
12147 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
12149 Improve compatibility with older Emacsen, and XEmacs.
12151 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
12152 only if it is bound. It isn't for XEmacs.
12153 (with-tramp-progress-reporter): Do not let-bind `result'.
12154 This yields to scoping errors in XEmacs.
12155 (tramp-handle-make-auto-save-file-name): New function, moved from
12158 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
12159 for `make-auto-save-file-name'.
12160 (tramp-adb--gnu-switches-to-ash):
12161 Use `tramp-compat-replace-regexp-in-string'.
12163 * net/tramp-cache.el (tramp-cache-print): Call
12164 `substring-no-properties' only if it is bound. It isn't for XEmacs.
12166 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
12167 bound. It isn't for XEmacs.
12169 * net/tramp-compat.el (tramp-compat-copy-file):
12170 Catch `wrong-number-of-arguments' error.
12171 (tramp-compat-replace-regexp-in-string): New defun.
12173 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
12174 for `make-auto-save-file-name'.
12175 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
12177 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
12178 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
12179 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
12181 * net/tramp-gw.el (tramp-gw-open-network-stream):
12182 Use `tramp-compat-replace-regexp-in-string'.
12184 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12185 Call `tramp-handle-make-auto-save-file-name'.
12186 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
12187 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12188 (tramp-sh-file-inotifywait-process-filter):
12189 Use `tramp-compat-replace-regexp-in-string'.
12190 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
12192 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
12193 for `make-auto-save-file-name'.
12194 (tramp-smb-handle-copy-directory):
12195 Call `tramp-compat-replace-regexp-in-string'.
12196 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
12197 (tramp-smb-handle-copy-file): Improve error message.
12198 (tramp-smb-handle-rename-file): Rename directly only in case
12199 `newname' does not exist yet. This is a restriction of smbclient.
12200 (tramp-smb-maybe-open-connection): Rerun the function only when
12201 `auth-sources' is non-nil.
12203 2013-09-08 Kenichi Handa <handa@gnu.org>
12205 * international/characters.el: Set category "^" (Combining) for
12208 2013-09-07 Alan Mackenzie <acm@muc.de>
12210 Correctly fontify Java class constructors.
12211 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
12213 (c-recognize-typeless-decls): Set the Java value to t.
12214 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12215 While handling a "(", add a check for, effectively, Java, and handle a
12216 "typeless" declaration there.
12218 2013-09-07 Roland Winkler <winkler@gnu.org>
12220 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
12221 field subtitle for entry type book.
12223 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
12225 * minibuffer.el: Make minibuffer-complete call completion-in-region
12226 rather than other way around.
12227 (completion--some, completion-pcm--find-all-completions):
12228 Don't delay signals when debugging.
12229 (minibuffer-completion-contents): Beware fields within the
12230 minibuffer contents.
12231 (completion-all-sorted-completions): Use defvar-local.
12232 (completion--do-completion, completion--cache-all-sorted-completions)
12233 (completion-all-sorted-completions, minibuffer-force-complete):
12234 Add args `beg' and `end'.
12235 (completion--in-region-1): New fun, extracted from minibuffer-complete.
12236 (minibuffer-complete): Use completion-in-region.
12237 (completion-complete-and-exit): New fun, extracted from
12238 minibuffer-complete-and-exit.
12239 (minibuffer-complete-and-exit): Use it.
12240 (completion--complete-and-exit): Rename from
12241 minibuffer--complete-and-exit.
12242 (completion-in-region--single-word): New function, extracted from
12243 minibuffer-complete-word.
12244 (minibuffer-complete-word): Use it.
12245 (display-completion-list): Make `common-substring' argument obsolete.
12246 (completion--in-region): Call completion--in-region-1 instead of
12247 minibuffer-complete.
12248 (completion-help-at-point): Pass boundaries to
12249 minibuffer-completion-help as args rather than via an overlay.
12250 (completion-pcm--string->pattern): Use `any-delim'.
12251 (completion-pcm--optimize-pattern): New function.
12252 (completion-pcm--pattern->regex): Handle `any-delim'.
12253 * icomplete.el (icomplete-forward-completions)
12254 (icomplete-backward-completions, icomplete-completions):
12255 Adjust calls to completion-all-sorted-completions and
12256 completion--cache-all-sorted-completions.
12257 (icomplete-with-completion-tables): Default to t.
12258 * emacs-lisp/crm.el (crm--current-element): Rename from
12259 crm--select-current-element. Don't put an overlay but return the
12260 boundaries instead.
12261 (crm--completion-command): Take two new args to bind to the boundaries.
12262 (crm-completion-help): Adjust accordingly.
12263 (crm-complete): Use completion-in-region.
12264 (crm-complete-word): Use completion-in-region--single-word.
12265 (crm-complete-and-exit): Use completion-complete-and-exit.
12267 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
12269 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
12272 2013-09-06 Juri Linkov <juri@jurta.org>
12274 * info.el (Info-display-images-node): When image file doesn't exist
12275 display text version of the image if it's provided in the Info file.
12276 Otherwise, display the location of missing image from SRC attribute.
12277 Add help-echo text property from ALT attribute. (Bug#15279)
12279 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
12281 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
12282 (edit-abbrevs-mode): Use define-derived-mode.
12284 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
12285 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
12287 (epa-key-list-mode, epa-key-mode, epa-info-mode):
12288 Use define-derived-mode.
12290 * epg.el (epg-start-encrypt): Minor CSE simplification.
12292 2013-09-06 William Xu <william.xwl@gmail.com>
12294 * arc-mode.el: Add support for 7za (bug#15264).
12295 (archive-7z-program): New var.
12296 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
12297 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
12298 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
12300 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
12304 * net/tramp.el (tramp-syntax, tramp-prefix-format)
12305 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
12306 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
12307 (tramp-postfix-host-format, tramp-file-name-regexp)
12308 (tramp-completion-file-name-regexp)
12309 (tramp-completion-dissect-file-name)
12310 (tramp-handle-substitute-in-file-name): Remove 'url case.
12311 (tramp-file-name-regexp-url)
12312 (tramp-completion-file-name-regexp-url): Remove constants.
12314 2013-09-06 Glenn Morris <rgm@gnu.org>
12316 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
12318 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
12320 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
12321 keywords" below "here-doc beginnings" (Bug#15270).
12323 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
12325 * subr.el (pop): Use `car-safe'.
12326 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
12327 to detect unused `pop' return value.
12329 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
12330 var `block-regexp'.
12331 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
12332 (python-fill-string): Remove unused var `marker'.
12333 (python-skeleton-add-menu-items): Remove unused var `items'.
12335 * international/mule-cmds.el: Require CL.
12336 (find-coding-systems-for-charsets): Avoid add-to-list.
12337 (sanitize-coding-system-list): New function, extracted from
12338 select-safe-coding-system-interactively.
12339 (select-safe-coding-system-interactively): Use it.
12340 (read-input-method-name): Accept symbols for `default'.
12342 * emacs-lisp/advice.el (defadvice): Add indent rule.
12344 2013-09-05 Daniel Hackney <dan@haxney.org>
12348 * net/browse-url.el:
12351 * net/eudcb-ldap.el:
12355 * vc/ediff-diff.el:
12356 * vc/ediff-init.el:
12357 * vc/ediff-merg.el:
12358 * vc/ediff-mult.el:
12359 * vc/ediff-util.el:
12360 * vc/ediff-wind.el:
12364 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
12365 byte compiler. Remove some unused let-bound variables.
12367 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
12369 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
12370 a "ref-cell", since it gets better optimized (bug#14883).
12372 2013-09-05 Glenn Morris <rgm@gnu.org>
12374 * progmodes/cc-awk.el (c-forward-sws): Declare.
12376 2013-09-04 Glenn Morris <rgm@gnu.org>
12378 * generic-x.el [rul-generic-mode]: Require cc-mode.
12379 (c++-mode-syntax-table): Declare.
12380 (rul-generic-mode-syntax-table): Init in the defvar.
12382 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
12384 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
12385 (vc-do-command, vc-set-async-update):
12386 * vc/vc-mtn.el (vc-mtn-dir-status):
12387 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
12388 (vc-hg-pull, vc-hg-merge-branch):
12389 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
12390 (vc-git-merge-branch):
12391 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
12392 (vc-cvs-dir-status-files):
12393 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
12394 (vc-bzr-dir-status-files):
12395 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
12396 * vc/vc-annotate.el: Use lexical-binding.
12397 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
12398 (vc-sentinel-movepoint): Declare.
12399 (vc-annotate): Don't use `goto-line'.
12400 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
12401 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
12402 (vc-sentinel-movepoint): Declare.
12403 * vc/vc-svn.el: Use lexical-binding.
12404 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
12406 * vc/vc-rcs.el: Use lexical-binding.
12408 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
12409 `deleted'. Don't drop errors silently.
12411 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
12413 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
12415 * vc/vc.el (vc-ignore): Rewrite.
12416 (vc-default-ignore): New function.
12417 (vc-default-ignore-completion-table): Use find-ignore-file.
12419 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
12420 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
12421 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
12422 Remove. Most code moved to vc.el.
12424 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
12426 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
12427 * net/tramp-smb.el (tramp-smb-get-file-entries):
12428 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
12429 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
12431 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
12433 (eww-change-select): Remove unused var `properties'.
12434 (eww-make-unique-file-name): Remove unused var `base'.
12436 * finder.el (finder-compile-keywords): Don't mess with windows.
12438 * calculator.el (calculator-funcall): Fix typo in last change.
12440 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
12442 * emacs-lisp/package.el (package-activate-1): Don't let a missing
12443 <pkg>-autoloads.el file stop us.
12445 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
12446 warnings, and factor out common code.
12448 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
12450 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
12451 two-character operators and whether the character preceding them
12452 changes their meaning (Bug#15208).
12454 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
12456 Format code sent to Python shell for robustness.
12457 * progmodes/python.el (python-shell-buffer-substring):
12459 (python-shell-send-region, python-shell-send-buffer): Use it.
12461 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
12463 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
12464 * net/tramp.el (tramp-user-error): ... here.
12465 (tramp-find-method, tramp-check-proper-host)
12466 (tramp-dissect-file-name, tramp-debug-message)
12467 (tramp-handle-shell-command):
12468 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12469 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
12471 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
12473 2013-09-02 Martin Rudalics <rudalics@gmx.at>
12475 * avoid.el (mouse-avoidance-point-position)
12476 (mouse-avoidance-too-close-p): Handle case where posn-at-point
12479 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
12481 * progmodes/python.el (python-shell-completion-get-completions):
12482 Drop use of deleted `comint-last-prompt-overlay'.
12483 (python-nav-if-name-main): New command.
12485 2013-09-01 Glenn Morris <rgm@gnu.org>
12487 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12488 Avoid leading space in $wins. Otherwise the sed command used by
12489 eg compile-main ends up containing "/*.el". (Bug#15170)
12491 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
12493 2013-08-30 Glenn Morris <rgm@gnu.org>
12495 * emacs-lisp/bytecomp.el (byte-recompile-directory):
12496 Fix is-this-a-directory logic. (Bug#15220)
12498 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12500 * textmodes/css-mode.el: Use SMIE.
12501 (css-smie-grammar): New var.
12502 (css-smie--forward-token, css-smie--backward-token)
12503 (css-smie-rules): New functions.
12504 (css-mode): Use them.
12505 (css-navigation-syntax-table): Remove var.
12506 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
12507 (css-indent-calculate, css-indent-line): Remove functions.
12509 Misc changes to reduce use of `(lambda...); and other cleanups.
12510 * cus-edit.el: Use lexical-binding.
12511 (customize-push-and-save, customize-apropos)
12512 (custom-buffer-create-internal): Use closures.
12513 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
12514 * progmodes/ada-xref.el: Use setq.
12515 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
12516 * dframe.el: Use lexical-binding.
12517 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
12518 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
12519 * descr-text.el: Use lexical-binding.
12520 (describe-text-widget, describe-text-sexp, describe-property-list):
12522 * comint.el (comint-history-isearch-push-state): Use a closure.
12523 * calculator.el: Use lexical-binding.
12524 (calculator-number-to-string): Make it work with lexical-binding.
12525 (calculator-funcall): Same and use cl-letf.
12527 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
12528 (lisp--company-doc-string, lisp--company-location): New functions.
12529 (lisp-completion-at-point): Use them to improve Company support.
12531 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
12532 params of lambda expressions.
12533 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
12534 (ruby-smie--opening-pipe-p): New function.
12535 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
12536 symbols and matched |...| for formal params.
12537 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
12538 from being treated as hanging. Handle "rescue".
12540 2013-08-29 Glenn Morris <rgm@gnu.org>
12542 * progmodes/cc-engine.el (c-pull-open-brace):
12543 Move definition before use.
12545 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12547 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
12548 are immutable. Don't use `unsafe' any more.
12549 (cl--defsubst-expand): Don't substitute at the same time as keeping
12550 a residual unused let-binding. Don't use `unsafe' any more.
12552 2013-08-29 Glenn Morris <rgm@gnu.org>
12554 * calendar/cal-china.el (calendar-chinese-year-cache):
12557 * nxml/nxml-util.el (nxml-debug-clear-inside):
12558 Use cl-loop rather than loop.
12560 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
12562 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
12564 2013-08-28 Glenn Morris <rgm@gnu.org>
12566 * progmodes/antlr-mode.el: No need to require cc-mode twice.
12568 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
12570 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
12572 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12574 * simple.el (repeat-complex-command--called-interactively-skip):
12576 (repeat-complex-command): Use it (bug#14136).
12578 * progmodes/cc-mode.el: Minor cleanup of var declarations.
12579 (c-define-abbrev-table): Add `doc' argument.
12580 (c-mode-abbrev-table, c++-mode-abbrev-table)
12581 (objc-mode-abbrev-table, java-mode-abbrev-table)
12582 (idl-mode-abbrev-table, pike-mode-abbrev-table)
12583 (awk-mode-abbrev-table): Use it.
12584 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
12585 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
12586 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
12587 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
12588 Move initialization into the declaration; and remove any
12591 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
12592 and dynamic let binding.
12594 * vc/smerge-mode.el: Remove redundant :group args.
12596 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
12599 2013-08-28 Juri Linkov <juri@jurta.org>
12601 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
12602 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
12603 (isearch-other-meta-char): Handle an undefined shifted printing
12604 character by downshifting it. (Bug#15200)
12606 2013-08-28 Juri Linkov <juri@jurta.org>
12608 * isearch.el (isearch-search): Change regexp error message for
12609 non-regexp searches. (Bug#15166)
12611 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
12613 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
12614 for portability to hosts where /bin/sh has problems.
12616 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12618 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
12620 2013-08-27 Juri Linkov <juri@jurta.org>
12622 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
12623 in the keyboard macro. (Bug#15126)
12625 2013-08-27 Juri Linkov <juri@jurta.org>
12627 * isearch.el (isearch-quote-char): Comment out converting unibyte
12628 to multibyte, thus syncing with its `quoted-insert' counterpart.
12631 2013-08-27 Martin Rudalics <rudalics@gmx.at>
12633 * window.el (display-buffer-use-some-window): Add missing
12634 argument in call of get-largest-window (Bug#15185).
12635 Reported by Stephen Leake.
12637 2013-08-27 Glenn Morris <rgm@gnu.org>
12639 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
12641 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
12643 * progmodes/python.el (python-font-lock-keywords): Don't return nil
12644 from a matcher-function unless there's no more matches (bug#15161).
12646 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12648 * minibuffer.el: Revert change from 2013-08-20.
12650 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
12651 with text property `tramp-default', if appropriate.
12652 (tramp-check-proper-host): New defun.
12653 (tramp-dissect-file-name): Do not check hostname. Revert change
12655 (tramp-backtrace): Make VEC-OR-PROC optional.
12657 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12658 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12659 * net/tramp-sh.el (tramp-maybe-open-connection):
12660 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12661 Apply `tramp-check-proper-host'.
12663 2013-08-26 Tassilo Horn <tsdh@gnu.org>
12665 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
12666 lambda expression in order to have `describe-variable' display it.
12668 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12670 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
12671 BUF can be optional. (Bug#15186)
12673 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
12675 * progmodes/flymake.el (flymake-get-real-file-name-function):
12676 Fix broken customization. (Bug#15184)
12678 2013-08-25 Alan Mackenzie <acm@muc.de>
12680 Improve indentation of bracelists defined by macros (without "=").
12682 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
12683 expansion begins with "{", regard it as bracelist when it doesn't
12686 Parse C++ inher-intro when there's a template split over 2 lines.
12688 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
12689 rigorously the search for "class" etc. followed by ":".
12691 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
12692 random languages a regexp which never matches rather than nil.
12694 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
12696 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
12697 (c-awk-regexp-one-line-possibly-open-char-list-re)
12698 (c-awk-one-line-possibly-open-regexp-re)
12699 (c-awk-one-line-non-syn-ws*-re): Remove.
12700 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
12701 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
12702 (c-awk-space*-unclosed-regexp-/-re): New constants.
12703 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
12704 aren't regexp delimiters.
12706 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
12707 handling for a rare situation in AWK Mode involving unterminated
12710 2013-08-23 Glenn Morris <rgm@gnu.org>
12712 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
12714 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
12716 * files.el (create-file-buffer): If the result would begin with
12717 spaces, prepend a "|" instead of removing them. (Bug#15162)
12719 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12721 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
12722 text-properties (bug#15155).
12724 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
12726 (calc-keypad-redraw): Remove unused var `pad'.
12727 (calc-keypad-press): Remove unused var `menu'.
12729 2013-08-23 Martin Rudalics <rudalics@gmx.at>
12731 * window.el (display-buffer-pop-up-frame):
12732 Call pop-up-frame-function with BUFFER current so `make-frame' will
12733 use it as the new frame's buffer (Bug#15133).
12735 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12737 * calendar/timeclock.el: Minor cleanups.
12738 (timeclock-ask-before-exiting, timeclock-use-display-time):
12740 (timeclock-modeline-display): Define as alias before the
12742 (timeclock-mode-line-display): Use define-minor-mode.
12743 (timeclock-day-list-template): Make it a function, add an argument.
12744 (timeclock-day-list-required, timeclock-day-list-length)
12745 (timeclock-day-list-debt, timeclock-day-list-span)
12746 (timeclock-day-list-break): Adjust calls accordingly.
12748 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
12750 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
12751 Use read--expression so that completion works again.
12753 2013-08-21 Sam Steingold <sds@gnu.org>
12755 Add rudimentary inferior shell interaction
12756 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
12757 (sh-set-shell): Reset it.
12758 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
12759 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
12761 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
12763 * align.el: Use lexical-binding.
12764 (align-region): Simplify accordingly.
12766 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
12768 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
12770 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
12771 `non-essential' up.
12773 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
12776 * net/tramp-adb.el:
12777 * net/tramp-cmds.el:
12778 * net/tramp-ftp.el:
12779 * net/tramp-gvfs.el:
12781 * net/tramp-sh.el: Don't wrap external variable declarations by
12782 `eval-when-compile'.
12784 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12786 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
12787 now that Emacs supports ImageMagick animations.
12789 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
12791 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
12792 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
12794 2013-08-16 Martin Rudalics <rudalics@gmx.at>
12796 * window.el (mouse-autoselect-window-select): Do autoselect when
12797 mouse pointer is on margin.
12799 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
12801 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
12803 2013-08-16 Glenn Morris <rgm@gnu.org>
12805 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
12806 Handle "Remote Directory" response of some clients. (Bug#15058)
12808 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
12809 Tweak warning. (Bug#14926)
12811 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
12812 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
12814 * image-mode.el (image-mode-map): Add menu items to reverse,
12815 increase, decrease, reset animation speed.
12816 (image--set-speed, image-increase-speed, image-decrease-speed)
12817 (image-reverse-speed, image-reset-speed): New functions.
12818 (image-mode-map): Add bindings for speed commands.
12820 * image.el (image-animate-get-speed, image-animate-set-speed):
12822 (image-animate-timeout): Respect image :speed property.
12824 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12826 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
12827 previous line (bug#15101).
12828 (debugger-eval-expression, debugger-record-expression):
12829 Use read--expression (bug#15102).
12831 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
12833 Remove byte compiler warnings, visible when compiling with
12834 `byte-compile-force-lexical-warnings' set to t.
12836 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
12837 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
12838 (tramp-handle-unhandled-file-name-directory)
12839 (tramp-handle-file-notify-add-watch, tramp-action-login)
12840 (tramp-action-succeed, tramp-action-permission-denied)
12841 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
12842 arguments with "_".
12844 * net/tramp-adb.el (tramp-adb-parse-device-names)
12845 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
12846 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
12847 (tramp-adb-handle-file-truename): Remove unused arguments.
12849 * net/tramp-cache.el (tramp-flush-directory-property)
12850 (tramp-flush-connection-property, tramp-list-connections)
12851 (tramp-parse-connection-properties): Prefix unused arguments with "_".
12853 * net/tramp-compat.el (tramp-compat-make-temp-file):
12854 Rename FILENAME to F.
12856 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12857 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
12858 (tramp-zeroconf-parse-workstation-device-names)
12859 (tramp-zeroconf-parse-webdav-device-names)
12860 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
12862 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12863 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
12865 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
12867 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
12868 (tramp-sh-handle-insert-file-contents-literally)
12869 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
12871 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
12872 Remove unused variables.
12874 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12875 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
12876 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
12878 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
12879 Make them a defconst.
12880 (tramp-uuencode-region): Remove unused variable.
12882 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
12884 * frameset.el (frameset--prop-setter): New function.
12885 (frameset-prop): Add gv-setter declaration.
12886 (frameset-filter-minibuffer): Deal with the case that the minibuffer
12887 parameter was already set in FILTERED. Doc fix.
12888 (frameset--record-minibuffer-relationships): Allow saving a
12889 minibufferless frame without its corresponding minibuffer frame.
12890 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
12891 frame, if the frame id matches.
12892 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
12893 frames before orphaned ones.
12894 (frameset-restore): Warn about orphaned windows, instead of error out.
12896 2013-08-14 Martin Rudalics <rudalics@gmx.at>
12898 * window.el (window-make-atom): Don't overwrite parameter
12900 (display-buffer-in-atom-window): Handle special case where we
12901 split an already atomic window.
12902 (window--major-non-side-window, display-buffer-in-side-window)
12903 (window--side-check): Ignore minibuffer window when walking
12905 (window-deletable-p): Return 'frame only if no other frame uses
12906 our minibuffer window.
12907 (record-window-buffer): Run buffer-list-update-hook.
12908 (split-window): Make sure window--check-frame won't destroy an
12909 existing atomic window in case the new window gets nested
12911 (display-buffer-at-bottom): Ignore minibuffer window when
12912 walking window tree. Don't split a side window.
12913 (pop-to-buffer): Don't set-buffer here, the select-window call
12915 (mouse-autoselect-window-select): Autoselect only if we are in the
12916 text portion of the window.
12918 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12920 * net/shr.el (shr-parse-image-data): New function to grab both the
12921 data itself and the Content-Type.
12922 (shr-put-image): Use it.
12924 * net/eww.el (eww-display-image): Ditto.
12926 * image.el (image-content-type-suffixes): New variable.
12928 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12930 * progmodes/python.el (python-imenu--build-tree)
12931 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
12933 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
12935 * simple.el (backward-word): Mention the optional argument.
12937 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12939 * frameset.el (frameset--make): Rename constructor from make-frameset.
12940 (frameset-p, frameset-valid-p): Don't autoload.
12941 (frameset-valid-p): Use normal accessors.
12943 2013-08-13 Glenn Morris <rgm@gnu.org>
12945 * progmodes/compile.el (compile-command): Tweak example in doc.
12946 * obsolete/scribe.el (scribe-mode):
12947 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
12949 * mail/feedmail.el (feedmail-confirm-outgoing)
12950 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
12952 * cus-start.el (truncate-partial-width-windows): Fix type.
12954 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
12956 * net/shr.el (shr-table-horizontal-line): Fix custom type.
12958 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12960 * emacs-lisp/timer.el (timer--time-setter): New function.
12961 (timer--time): Use it as gv-setter.
12963 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
12964 setter is not a symbol.
12966 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
12968 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
12969 if sending fails. This makes debugging easier.
12971 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
12973 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
12974 revno:113793, which breaks the test suite).
12975 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
12977 2013-08-12 Eli Zaretskii <eliz@gnu.org>
12979 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
12981 2013-08-12 Glenn Morris <rgm@gnu.org>
12983 * format.el (format-annotate-function):
12984 Handle read-only text properties in the source. (Bug#14887)
12986 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12988 * net/eww.el (eww-display-html): Ignore coding system errors.
12989 One web site uses "utf-8lias" as the coding system.
12991 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
12993 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
12995 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
12997 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
12998 (tutorial--detailed-help): Remove unused local variables.
12999 (tutorial--save-tutorial-to): Use ignore-errors.
13000 (help-with-tutorial): Use looking-at-p.
13002 * view.el (view-buffer-other-window, view-buffer-other-frame):
13003 Mark unused arguments.
13005 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
13006 (woman-select-symbol-fonts, woman, woman-find-file)
13007 (woman-insert-file-contents, woman-non-underline-faces):
13008 Use string-match-p.
13009 (woman1-unquote): Move declaration.
13011 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
13012 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
13013 argument. Remove unused local variable.
13014 (xml-parse-elem-type): Use string-match-p.
13015 (xml-substitute-numeric-entities): Use ignore-errors.
13017 * calculator.el (calculator): Mark unused argument.
13018 (calculator-paste, calculator-quit, calculator-integer-p):
13020 (calculator-string-to-number, calculator-decimal, calculator-exp)
13021 (calculator-op-or-exp): Use string-match-p.
13023 * dired.el (dired-buffer-more-recently-used-p): Declare.
13024 (dired-insert-set-properties, dired-insert-old-subdirs):
13027 * dired-aux.el (dired-compress): Use ignore-errors.
13028 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
13029 (dired-do-async-shell-command, dired-do-shell-command)
13030 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
13031 (dired-insert-subdir-validate): Use string-match-p.
13032 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
13033 (dired-add-entry): Use string-match-p, looking-at-p.
13034 (dired-insert-subdir-newpos): Remove unused local variable.
13036 * filenotify.el (file-notify-callback): Remove unused local variable.
13038 * filesets.el (filesets-error): Mark unused argument.
13039 (filesets-which-command-p, filesets-filter-dir-names)
13040 (filesets-directory-files, filesets-get-external-viewer)
13041 (filesets-ingroup-get-data): Use string-match-p.
13043 * find-file.el (ff-other-file-name, ff-other-file-name)
13044 (ff-find-the-other-file, ff-cc-hh-converter):
13045 Remove unused local variables.
13046 (ff-get-file-name): Use string-match-p.
13047 (ff-all-dirs-under): Use ignore-errors.
13049 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
13050 (follow-select-if-visible): Remove unused local variable.
13052 * forms.el (read-file-filter): Move declaration.
13053 (forms--make-format, forms--make-parser, forms-insert-record):
13054 Quote function with #'.
13055 (forms--update): Use string-match-p. Quote function with #'.
13057 * help-mode.el (help-dir-local-var-def): Mark unused argument.
13058 (help-make-xrefs): Use looking-at-p.
13059 (help-xref-on-pp): Use looking-at-p, ignore-errors.
13061 * ibuffer.el (ibuffer-ext-visible-p): Declare.
13062 (ibuffer-confirm-operation-on): Use string-match-p.
13064 * msb.el (msb-item-handler, msb-dired-item-handler):
13065 Mark unused arguments.
13067 * ses.el (ses-decode-cell-symbol)
13068 (ses-kill-override): Remove unused local variable.
13069 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
13070 (ses-load): Use ignore-errors, looking-at-p.
13071 (ses-jump-safe): Use ignore-errors.
13072 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
13074 * tabify.el (untabify, tabify): Mark unused arguments.
13076 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
13077 Mark unused argument.
13078 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
13079 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
13081 * emacs-lisp/timer.el (timer--time): Define setter with
13082 gv-define-setter to avoid deprecation warning.
13084 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
13085 (*record-cmpl-statistics-p*): Remove (was commented out).
13086 (cmpl-statistics-block): Remove (body was commented out).
13087 All callers changed.
13088 (add-completions-from-buffer, load-completions-from-file):
13089 Remove unused variables.
13091 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
13093 * filecache.el (file-cache-delete-file-list):
13094 Print message only when told so.
13095 (file-cache-files-matching): Use #' in mapconcat argument.
13097 * ffap.el (ffap-url-at-point): Fix reference to variable
13098 thing-at-point-default-mail-uri-scheme.
13100 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
13102 * subr.el (define-error): New function.
13103 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
13104 error-file-not-found and define with define-error.
13105 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
13106 and define with define-error.
13107 * userlock.el (file-locked, file-supersession):
13108 * simple.el (mark-inactive):
13109 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
13110 * progmodes/ada-mode.el (ada-mode-errors):
13111 * play/life.el (life-extinct):
13112 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
13113 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
13114 * nxml/rng-util.el (rng-error):
13115 * nxml/rng-uri.el (rng-uri-error):
13116 * nxml/rng-match.el (rng-compile-error):
13117 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
13118 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
13119 * nxml/nxml-rap.el (nxml-scan-error):
13120 * nxml/nxml-outln.el (nxml-outline-error):
13121 * net/soap-client.el (soap-error):
13122 * net/gnutls.el (gnutls-error):
13123 * net/ange-ftp.el (ftp-error):
13124 * mpc.el (mpc-proc-error):
13125 * json.el (json-error, json-readtable-error, json-unknown-keyword)
13126 (json-number-format, json-string-escape, json-string-format)
13127 (json-key-format, json-object-format):
13128 * jka-compr.el (compression-error):
13129 * international/quail.el (quail-error):
13130 * international/kkc.el (kkc-error):
13131 * emacs-lisp/ert.el (ert-test-failed):
13132 * calc/calc.el (calc-error, inexact-result, math-overflow)
13134 * bookmark.el (bookmark-error-no-filename):
13135 * epg.el (epg-error): Define with define-error.
13137 * time.el (display-time-event-handler)
13138 (display-time-next-load-average): Don't call sit-for since it seems
13139 unnecessary (bug#15045).
13141 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
13142 Use #' instead of ' to quote functions.
13143 (checkdoc-output-mode): Use setq-local.
13144 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
13145 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
13146 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
13147 (checkdoc-ispell, checkdoc-ispell-current-buffer)
13148 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
13149 (checkdoc-ispell-message-text, checkdoc-ispell-start)
13150 (checkdoc-ispell-continue, checkdoc-ispell-comments)
13151 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
13153 * ido.el (ido-completion-help): Fix up compiler warning.
13155 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
13157 * frameset.el (frameset-p): Add autoload cookie.
13158 (frameset--jump-to-register): New function, based on code moved from
13160 (frameset-to-register): Move from register.el. Adapt to `registerv'.
13162 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
13163 (frameset-restore, frameset-save, frameset-session-filter-alist):
13164 Remove declarations.
13165 (register-alist): Doc fix.
13166 (frameset-to-register): Move to frameset.el.
13167 (jump-to-register, describe-register-1): Remove frameset-specific code.
13169 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13171 * allout-widgets.el (allout-widgets-pre-command-business)
13172 (allout-widgets-post-command-business)
13173 (allout-widgets-after-change-handler)
13174 (allout-decorate-item-and-context, allout-set-boundary-marker)
13175 (allout-body-modification-handler)
13176 (allout-graphics-modification-handler): Mark ignored arguments.
13177 (allout-widgets-post-command-business)
13178 (allout-widgets-exposure-change-processor)
13179 (allout-widgets-exposure-undo-processor)
13180 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
13181 (allout-parse-item-at-point, allout-decorate-item-guides)
13182 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
13183 * allout.el (epa-passphrase-callback-function): Declare.
13184 (allout-overlay-insert-in-front-handler)
13185 (allout-overlay-interior-modification-handler)
13186 (allout-isearch-end-handler, allout-chart-siblings)
13187 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
13188 (allout-yank-processing, allout-process-exposed)
13189 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
13190 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
13191 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
13192 (lisp-indent-defform): Mark ignored arguments.
13193 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
13194 (calculate-lisp-indent): Remove unused variables.
13195 * international/characters.el (indian-2-column, arabic-2-column)
13196 (tibetan): Mark ignored arguments.
13197 (use-cjk-char-width-table): Mark ignored arguments.
13198 Remove unused variables.
13199 * international/fontset.el (build-default-fontset-data)
13200 (x-compose-font-name, create-fontset-from-fontset-spec):
13201 Mark ignored arguments.
13202 (fontset-plain-name): Remove unused variables.
13203 * international/mule.el (charset-id, charset-bytes, generic-char-p)
13204 (keyboard-coding-system): Mark ignored arguments.
13205 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
13206 * help.el (resize-temp-buffer-window):
13207 * window.el (display-buffer-in-major-side-window)
13208 (display-buffer-in-side-window, display-buffer-in-previous-window):
13209 Remove unused variables.
13210 * isearch.el (isearch-forward-symbol):
13211 * version.el (emacs-bzr-version-bzr):
13212 * international/mule-cmds.el (current-language-environment):
13213 * term/common-win.el (x-handle-iconic, x-handle-geometry)
13214 (x-handle-display):
13215 * term/pc-win.el (x-list-fonts, x-display-planes)
13216 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
13217 (x-server-version, x-display-screens, x-display-mm-height)
13218 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
13219 (x-selection-owner-p, x-own-selection-internal)
13220 (x-disown-selection-internal, x-get-selection-internal)
13221 (msdos-initialize-window-system):
13222 * term/tty-colors.el (tty-color-alist, tty-color-clear):
13223 * term/x-win.el (x-handle-no-bitmap-icon):
13224 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
13225 (vc-default-find-file-hook, vc-default-extra-menu):
13226 Mark ignored arguments.
13228 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
13230 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
13231 break-condition in the context of the debugged code (bug#12685).
13233 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
13236 Do not use an overlay to highlight the last prompt. (Bug#14744)
13237 (comint-mode): Make comint-last-prompt buffer local.
13238 (comint-last-prompt): New variable.
13239 (comint-last-prompt-overlay): Remove. Superseded by
13240 comint-last-prompt.
13241 (comint-snapshot-last-prompt, comint-output-filter):
13242 Use comint-last-prompt.
13244 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13246 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
13247 (frameset-save): Check validity of the resulting frameset.
13249 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
13251 * ido.el (ido-record-command): Add doc string.
13253 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13255 * frameset.el (frameset): Do not disable creation of the default
13256 frameset-p predicate. Doc fix.
13257 (frameset-valid-p): New function, copied from the old predicate-p.
13258 Add additional checks.
13259 (frameset-restore): Check with frameset-valid-p.
13260 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
13261 (frameset-name, frameset-description, frameset-properties)
13262 (frameset-states): Add docstring.
13263 (frameset-session-filter-alist, frameset-persistent-filter-alist)
13264 (frameset-filter-alist): Doc fixes.
13266 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13268 * frameset.el (frameset-p, frameset-prop): Doc fixes.
13270 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
13272 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
13273 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
13274 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
13275 (byte-compile-normal-call): Remove obsolescence check.
13277 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13279 * frameset.el (frameset-restore): Doc fix.
13281 * register.el (frameset-frame-id, frameset-frame-with-id)
13282 (frameset-p, frameset-restore, frameset-save): Declare.
13283 (register-alist): Document framesets.
13284 (frameset-session-filter-alist): Declare.
13285 (frameset-to-register): New function.
13286 (jump-to-register): Implement jumping to framesets. Doc fix.
13287 (describe-register-1): Describe framesets.
13289 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
13291 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
13293 * desktop.el (desktop-save-frameset): Use new frameset-save args.
13294 Use lexical-binding.
13296 * frameset.el (frameset): Use type vector, not list (incompatible
13297 change). Do not declare a new constructor, use the default one.
13298 Upgrade suggested properties `app', `name' and `desc' to slots `app',
13299 `name' and `description', respectively, and add read-only slot
13300 `timestamp'. Doc fixes.
13301 (frameset-copy, frameset-persistent-filter-alist)
13302 (frameset-filter-alist, frameset-switch-to-gui-p)
13303 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
13304 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
13305 (frameset-filter-iconified, frameset-keep-original-display-p):
13307 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
13308 Rename from frameset-filter-(save|restore)-param. All callers changed.
13310 (frameset-p): Adapt to change to vector and be more thorough.
13311 Change arg name to OBJECT. Doc fix.
13312 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
13313 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
13314 All callers changed.
13315 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
13316 All callers changed.
13317 (frameset--record-minibuffer-relationships): Rename from
13318 frameset--process-minibuffer-frames. All callers changed.
13319 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
13320 Use new default constructor (again). Doc fix.
13321 (frameset--find-frame-if): Rename from `frameset--find-frame'.
13322 All callers changed.
13323 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
13324 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
13326 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
13327 PARAMETERS and WINDOW-STATE, respectively.
13328 (frameset-restore): Add new keyword argument PREDICATE.
13329 Reset frameset--target-display to nil. Doc fix.
13331 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
13333 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
13334 (bat-mode): Use it.
13335 (bat-mode-syntax-table): Mark \n as end-of-comment.
13336 (bat-font-lock-keywords): Remove comment rule.
13338 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
13339 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
13341 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
13342 (byte-compile-callargs-warn): Use `push'.
13343 (byte-compile-arglist-warn): Ignore higher-order "calls".
13344 (byte-compile-file-form-autoload): Use `pcase'.
13345 (byte-compile-function-form): If quoting a symbol, check that it exists.
13347 2013-08-07 Eli Zaretskii <eliz@gnu.org>
13349 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
13350 and add a few popular commands found in batch files.
13351 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
13352 (dos-mode): Doc fixes.
13354 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
13356 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
13357 (dos-mode): Use setq-local. Add space after "rem".
13358 (dos-mode-syntax-table): Don't use "w" for symbol chars.
13359 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
13361 2013-08-07 Arni Magnusson <arnima@hafro.is>
13363 * progmodes/dos.el: New file.
13364 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
13367 2013-08-06 Glenn Morris <rgm@gnu.org>
13369 * calendar/calendar.el: Add new faces, and day-header-array.
13370 (calendar-weekday-header, calendar-weekend-header)
13371 (calendar-month-header): New faces.
13372 (calendar-day-header-construct): New function.
13373 (calendar-day-header-width): Also :set calendar-day-header-array.
13374 (calendar-american-month-header, calendar-european-month-header)
13375 (calendar-iso-month-header): Use calendar- faces.
13376 (calendar-generate-month):
13377 Use calendar-day-header-array for day headers; apply faces to them.
13378 (calendar-mode): Check calendar-font-lock-keywords non-nil.
13379 (calendar-abbrev-construct): Add optional maxlen argument.
13380 (calendar-day-name-array): Doc fix.
13381 (calendar-day-name-array, calendar-abbrev-length)
13382 (calendar-day-abbrev-array):
13383 Also :set calendar-day-header-array, and maybe redraw.
13384 (calendar-day-header-array): New option. (Bug#15007)
13385 (calendar-font-lock-keywords): Set to nil and make obsolete.
13386 (calendar-day-name): Add option to use header array.
13388 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13390 * net/shr.el (shr-render-td): Remove debugging.
13391 (shr-render-td): Make width computation consistent by defaulting
13392 all zero-width columns to 10 characters. This may not be optimal,
13393 but it's at least consistent.
13394 (shr-make-table-1): Redo last change to fix the real problem in
13397 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
13399 * files.el (cache-long-line-scans):
13400 Make obsolete alias to `cache-long-scans'.
13402 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
13404 * frameset.el (frameset, frameset-filter-alist)
13405 (frameset-filter-params, frameset-save, frameset--reuse-frame)
13406 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
13407 (frameset-compute-pos): Rename from frameset--compute-pos,
13409 (frameset-move-onscreen): Use frameset-compute-pos.
13410 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
13412 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
13413 Fix typos in docstrings.
13415 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
13417 * frame.el (get-other-frame): Tiny cleanup.
13419 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
13421 * vc/vc.el (vc-default-ignore-completion-table):
13422 Silence byte-compiler warning.
13424 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
13425 slot, which can indeed be nil.
13426 (frameset-live-filter-alist, frameset-persistent-filter-alist):
13427 Move entry for `left' from persistent to live filter alist.
13428 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
13430 (frameset-filter-params): When restoring a frame, copy items added to
13431 `filtered', to avoid unwittingly modifying the original parameters.
13432 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
13433 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
13435 * dired.el (dired-insert-directory): Revert change in revno:113117
13436 to use looking-at-p instead of looking-at. (Bug#15028)
13438 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13440 Revert introduction of isearch-filter-predicates (bug#14714).
13441 Rely on add-function instead.
13442 * isearch.el (isearch-filter-predicates): Rename it back to
13443 isearch-filter-predicate.
13444 (isearch-message-prefix): Use advice-function-mapc and advice
13445 properties to get the isearch-message-prefix.
13446 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
13447 instead of run-hook-with-args-until-failure.
13448 (isearch-filter-visible): Not obsolete any more.
13449 * loadup.el: Preload nadvice.
13450 * replace.el (perform-replace): Revert to funcall
13451 instead of run-hook-with-args-until-failure.
13452 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
13453 * dired-aux.el (dired-isearch-filenames-mode): Rename from
13454 dired-isearch-filenames-toggle; make it into a proper minor mode.
13455 Use add/remove-function.
13456 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
13457 Call the minor-mode rather than add/remove-hook.
13458 (dired-isearch-filter-filenames):
13459 Remove isearch-message-prefix property.
13460 * info.el (Info--search-loop): New function, extracted from Info-search.
13461 Funcall isearch-filter-predicate instead of
13462 run-hook-with-args-until-failure isearch-filter-predicates.
13463 (Info-search): Use it.
13464 (Info-mode): Use isearch-filter-predicate instead of
13465 isearch-filter-predicates.
13467 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13469 Do not call to `selected-window' where it is assumed by default.
13470 Affected functions are `window-minibuffer-p', `window-dedicated-p',
13471 `window-hscroll', `window-width', `window-height', `window-buffer',
13472 `window-frame', `window-start', `window-point', `next-window'
13473 and `window-display-table'.
13474 * abbrev.el (abbrev--default-expand):
13475 * bs.el (bs--show-with-configuration):
13476 * buff-menu.el (Buffer-menu-mouse-select):
13477 * calc/calc.el (calc):
13478 * calendar/calendar.el (calendar-generate-window):
13479 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
13480 (diary-make-entry):
13481 * comint.el (send-invisible, comint-dynamic-complete-filename)
13482 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
13483 * completion.el (complete):
13484 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
13485 * disp-table.el (describe-current-display-table):
13486 * doc-view.el (doc-view-insert-image):
13487 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
13488 * ehelp.el (with-electric-help):
13489 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13490 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
13491 * emacs-lisp/helper.el (Helper-help-scroller):
13492 * emulation/cua-base.el (cua--post-command-handler-1):
13493 * eshell/esh-mode.el (eshell-output-filter):
13494 * ffap.el (ffap-gnus-wrapper):
13495 * help-macro.el (make-help-screen):
13496 * hilit-chg.el (highlight-compare-buffers):
13497 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
13498 * hl-line.el (global-hl-line-highlight):
13499 * icomplete.el (icomplete-simple-completing-p):
13500 * isearch.el (isearch-done):
13501 * jit-lock.el (jit-lock-stealth-fontify):
13502 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
13503 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
13504 * mpc.el (mpc-tagbrowser, mpc):
13505 * net/rcirc.el (rcirc-any-buffer):
13506 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
13507 * play/landmark.el (landmark-max-width, landmark-max-height):
13508 * play/zone.el (zone):
13509 * progmodes/compile.el (compilation-goto-locus):
13510 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
13511 * progmodes/etags.el (find-tag-other-window):
13512 * progmodes/fortran.el (fortran-column-ruler):
13513 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13514 * progmodes/verilog-mode.el (verilog-point-text):
13515 * reposition.el (reposition-window):
13516 * rot13.el (toggle-rot13-mode):
13517 * server.el (server-switch-buffer):
13518 * shell.el (shell-dynamic-complete-command)
13519 (shell-dynamic-complete-environment-variable):
13520 * simple.el (insert-buffer, set-selective-display)
13521 (delete-completion-window):
13522 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
13523 (speedbar-recenter):
13524 * startup.el (fancy-splash-head):
13525 * textmodes/ispell.el (ispell-command-loop):
13526 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
13527 * tutorial.el (help-with-tutorial):
13528 * vc/add-log.el (add-change-log-entry):
13529 * vc/compare-w.el (compare-windows):
13530 * vc/ediff-help.el (ediff-indent-help-message):
13531 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
13532 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
13533 (ediff-setup-control-frame):
13534 * vc/emerge.el (emerge-position-region):
13535 * vc/pcvs-util.el (cvs-bury-buffer):
13536 * window.el (walk-windows, mouse-autoselect-window-select):
13537 * winner.el (winner-set-conf, winner-undo): Related users changed.
13539 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13541 * frameset.el (frameset--set-id): Doc fix.
13542 (frameset-frame-id, frameset-frame-id-equal-p)
13543 (frameset-locate-frame-id): New functions.
13544 (frameset--process-minibuffer-frames, frameset--reuse-frame)
13545 (frameset-restore): Use them.
13547 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13549 Do not call to `selected-frame' where it is assumed by default.
13550 Affected functions are `raise-frame', `redraw-frame',
13551 `frame-first-window', `frame-terminal' and `delete-frame'.
13552 * calendar/appt.el (appt-disp-window):
13553 * epg.el (epg-wait-for-completion):
13554 * follow.el (follow-delete-other-windows-and-split)
13555 (follow-avoid-tail-recenter):
13556 * international/mule.el (set-terminal-coding-system):
13557 * mail/rmail.el (rmail-mail-return):
13558 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13559 * progmodes/f90.el (f90-add-imenu-menu):
13560 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
13561 * server.el (server-switch-buffer):
13562 * simple.el (delete-completion-window):
13564 * term/xterm.el (terminal-init-xterm-modify-other-keys)
13565 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
13566 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
13567 * vc/ediff.el (ediff-documentation): Related users changed.
13568 * frame.el (selected-terminal): Remove the leftover.
13570 2013-08-05 Glenn Morris <rgm@gnu.org>
13572 * calendar/calendar.el (calendar-generate-month):
13573 Fix for calendar-column-width != 1 + calendar-day-digit-width.
13574 (calendar-generate-month, calendar-font-lock-keywords):
13575 Fix for calendar-day-header-width > length of any day name.
13577 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13579 * desktop.el (desktop-clear): Use new name of sort predicate.
13581 * frameset.el (frameset): Add docstring. Move :version property to its
13582 own `version' slot.
13583 (frameset-copy): Rename from copy-frameset.
13584 (frameset-p): Check more thoroughly.
13585 (frameset-prop): Do not check for :version, which is no longer a prop.
13586 (frameset-live-filter-alist, frameset-persistent-filter-alist):
13587 Use new :never value instead of t.
13588 (frameset-filter-alist): Expand and clarify docstring.
13589 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
13590 (frameset-filter-minibuffer, frameset-filter-save-param)
13591 (frameset-filter-restore-param, frameset-filter-iconified):
13592 Add pointer to docstring of frameset-filter-alist.
13593 (frameset-filter-params): Rename filter values to be more meaningful:
13594 :never instead of t, and reverse the meanings of :save and :restore.
13595 (frameset--process-minibuffer-frames): Clarify error message.
13596 (frameset-save): Avoid unnecessary and confusing call to framep.
13597 Use new BOA constructor for framesets.
13598 (frameset--reuse-list): Doc fix.
13599 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
13600 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
13601 (frameset-minibufferless-first-p): Doc fix.
13602 Rename from frameset-sort-frames-for-deletion.
13603 (frameset-restore): Doc fixes. Use new function names.
13604 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
13606 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13608 * desktop.el (desktop-restore-forces-onscreen)
13609 (desktop-restore-reuses-frames): Document :keyword constant values.
13610 (desktop-filter-parameters-alist): Remove, now identical to
13611 frameset-filter-alist.
13612 (desktop--filter-tty*): Remove, moved to frameset.el.
13613 (desktop-save-frameset, desktop-restore-frameset):
13614 Do not pass :filters argument.
13616 * frameset.el (frameset-live-filter-alist)
13617 (frameset-persistent-filter-alist): New variables.
13618 (frameset-filter-alist): Use them. Add autoload cookie.
13619 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
13620 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
13621 `frameset--id' (it's supposed to be internal to frameset.el).
13622 (frameset--process-minibuffer-frames): Ditto. Doc fix.
13623 (frameset--initial-params): New function.
13624 (frameset--get-frame): Use it. Doc fix.
13625 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
13626 Accept :all, not 'all.
13627 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
13628 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
13629 with fbound symbols. Fix frame id matching, and remove matching ids if
13630 the frame being restored is deleted. Obey :delete.
13632 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13634 * subr.el (macrop): New function.
13635 (text-clone--maintaining): New var.
13636 (text-clone--maintain): Rename from text-clone-maintain. Use it
13637 instead of inhibit-modification-hooks.
13639 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
13640 a proxy, so as handle autoloads and redefinitions of the target.
13641 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
13643 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
13644 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
13645 (pcase--mutually-exclusive-p): New function.
13646 (pcase--split-consp): Use it.
13647 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
13648 mutually exclusive with the current predicate.
13650 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
13651 (edebug-macrop): Remove. Use `macrop' instead.
13652 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
13654 * eshell/esh-cmd.el (eshell-macrop):
13655 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
13657 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13659 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
13660 (advice-mapc): New function, using it.
13661 (advice-function-member-p): New function.
13662 (advice--normalize): Store the cdr in advice--saved-rewrite since
13663 that's the part that will be changed.
13664 (advice--symbol-function): New function.
13665 (advice-remove): Handle removal before the function is defined.
13666 Adjust to new advice--saved-rewrite.
13667 (advice-member-p): Use advice-function-member-p and
13668 advice--symbol-function.
13670 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13672 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
13673 (frameset-filter-minibuffer): Doc fix.
13674 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
13675 (frameset--set-id, frameset--process-minibuffer-frames)
13676 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
13677 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
13679 * desktop.el (desktop-clear): Only delete frames when called
13680 interactively and desktop-restore-frames is non-nil. Doc fix.
13681 (desktop-read): Set desktop-saved-frameset to nil.
13683 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
13685 * vc/vc.el (vc-ignore): Rewrite.
13686 (vc-default-ignore-completion-table, vc--read-lines)
13687 (vc--add-line, vc--remove-regexp): New functions.
13689 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
13690 (vc-svn-ignore-completion-table): New function.
13692 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
13693 (vc-hg-ignore-completion-table)
13694 (vc-hg-find-ignore-file): New functions.
13696 * vc/vc-git.el (vc-git-ignore): Rewrite.
13697 (vc-git-ignore-completion-table)
13698 (vc-git-find-ignore-file): New functions.
13700 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
13702 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
13703 (vc-bzr-ignore-completion-table)
13704 (vc-bzr-find-ignore-file): New functions.
13706 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
13708 * frameset.el (frameset-prop): New function and setter.
13709 (frameset-save): Do not modify frame list passed by the caller.
13711 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13713 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
13715 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
13717 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
13718 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
13720 * custom.el (custom-initialize-default, custom-initialize-set)
13721 (custom-initialize-reset, custom-initialize-changed): Affect the
13722 toplevel-default-value (bug#6275, bug#14586).
13723 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
13726 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13728 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
13729 Add cl-def* expressions.
13731 * frameset.el (frameset-filter-params): Fix order of arguments.
13733 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13735 Move code related to saving frames to frameset.el.
13736 * desktop.el: Require frameset.
13737 (desktop-restore-frames): Doc fix.
13738 (desktop-restore-reuses-frames): Rename from
13739 desktop-restoring-reuses-frames.
13740 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
13741 (desktop-clear): Clear frames too.
13742 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
13743 (desktop--filter-tty*, desktop-save, desktop-read):
13744 Use frameset functions.
13745 (desktop-before-saving-frames-functions, desktop--filter-*-color)
13746 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13747 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
13748 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
13749 (desktop--process-minibuffer-frames, desktop-save-frames)
13750 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
13751 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
13752 (desktop--sort-states, desktop-restoring-frames-p)
13753 (desktop-restore-frames): Remove. Most code moved to frameset.el.
13754 (desktop-restoring-frameset-p, desktop-restore-frameset)
13755 (desktop--check-dont-save, desktop-save-frameset): New functions.
13756 (desktop--app-id): New constant.
13757 (desktop-first-buffer, desktop-buffer-ok-count)
13758 (desktop-buffer-fail-count): Move before first use.
13759 * frameset.el: New file.
13761 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13763 * files.el: Use lexical-binding.
13764 (dir-locals-read-from-file): Remove unused `err' variable.
13765 (hack-dir-local-variables--warned-coding): New var.
13766 (hack-dir-local-variables): Use it to avoid repeated warnings.
13767 (make-backup-file-name--default-function): New function.
13768 (make-backup-file-name-function): Use it as default.
13769 (buffer-stale--default-function): New function.
13770 (buffer-stale-function): Use it as default.
13771 (revert-buffer-insert-file-contents--default-function): New function.
13772 (revert-buffer-insert-file-contents-function): Use it as default.
13773 (insert-directory): Avoid add-to-list.
13775 * autorevert.el (auto-revert-handler): Simplify.
13776 Use buffer-stale--default-function.
13778 2013-08-01 Tassilo Horn <tsdh@gnu.org>
13780 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
13782 * whitespace.el (whitespace-ensure-local-variables): New function.
13783 (whitespace-cleanup-region): Call it.
13784 (whitespace-turn-on): Call it.
13786 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
13788 Complete file name handlers.
13790 * net/tramp.el (tramp-handle-set-visited-file-modtime)
13791 (tramp-handle-verify-visited-file-modtime)
13792 (tramp-handle-file-notify-rm-watch): New functions.
13793 (tramp-call-process): Do not bind `default-directory'.
13795 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13796 Order alphabetically.
13797 <access-file, add-name-to-file, dired-call-process>:
13798 <dired-compress-file, file-acl, file-notify-rm-watch>:
13799 <file-ownership-preserved-p, file-selinux-context>:
13800 <make-directory-internal, make-symbolic-link, set-file-acl>:
13801 <set-file-selinux-context, set-visited-file-modtime>:
13802 <verify-visited-file-modtime>: Add handler.
13803 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
13805 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
13806 <file-notify-add-watch, file-notify-rm-watch>:
13807 <set-file-times, set-visited-file-modtime>:
13808 <verify-visited-file-modtime>: Add handler.
13809 (with-tramp-gvfs-error-message)
13810 (tramp-gvfs-handle-set-visited-file-modtime)
13811 (tramp-gvfs-fuse-file-name): Remove.
13812 (tramp-gvfs-handle-file-notify-add-watch)
13813 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
13814 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
13816 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13817 Order alphabetically.
13818 <file-notify-rm-watch>: Use default Tramp handler.
13819 <executable-find>: Remove private handler.
13820 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
13821 `default-directory'.
13822 (tramp-sh-handle-executable-find)
13823 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
13824 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13825 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
13826 Do not use `format' in `tramp-message'.
13828 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
13829 <file-notify-rm-watch, set-visited-file-modtime>:
13830 <verify-visited-file-modtime>: Add handler.
13831 (tramp-smb-call-winexe): Do not bind `default-directory'.
13833 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
13835 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
13837 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
13839 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
13841 (log-view-diff-changeset): Same.
13842 (log-view-diff-common): Call backend command `previous-revision'
13843 to find out the previous revision, in both cases. Swap the
13844 variables `to' and `fr', so that `fr' usually refers to the
13845 earlier revision (Bug#14989).
13847 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
13849 * ibuf-ext.el (ibuffer-filter-by-filename):
13850 Make it work with dired buffers too.
13852 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
13854 * emacs-lisp/re-builder.el (reb-color-display-p):
13855 * files.el (save-buffers-kill-terminal):
13856 * net/browse-url.el (browse-url):
13857 * server.el (server-save-buffers-kill-terminal):
13858 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
13859 Prefer nil to selected-frame for the first arg of frame-parameter.
13861 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
13863 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
13865 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
13867 * minibuffer.el (completion--twq-all): Try and preserve each
13868 completion's case choice (bug#14907).
13870 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13872 * net/network-stream.el (open-network-stream): Mention the new
13873 :nogreeting parameter.
13874 (network-stream-open-starttls): Use the :nogreeting parameter
13877 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
13879 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
13880 more natural than popping.
13882 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
13883 (shr-urlify): Highlight under mouse.
13885 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13887 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
13889 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
13891 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
13894 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
13895 point-min==1. Fix search string. Fix parentheses missing.
13897 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
13898 assume point-min==1. Fix search string. Fix parentheses missing.
13900 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
13902 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
13905 2013-07-29 Eli Zaretskii <eliz@gnu.org>
13907 * frame.el (frame-notice-user-settings): Avoid inflooping when the
13908 initial frame is minibuffer-less. (Bug#14841)
13910 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
13912 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
13915 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13916 (tramp-maybe-open-connection): Use it.
13918 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13920 * desktop.el (desktop--make-frame): Include `minibuffer' in the
13921 minimal set of parameters passed when creating a frame, because
13922 the minibuffer status of a frame cannot be changed later.
13924 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
13926 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
13927 replace-regexp-in-string and inadvertent omissions in previous change.
13928 (todo-filter-items): Ensure only file names are comma-separated in
13929 name of filtered items buffer.
13931 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13933 * desktop.el: Optionally force offscreen frames back onscreen.
13934 (desktop-restoring-reuses-frames): New option.
13935 (desktop--compute-pos, desktop--move-onscreen): New functions.
13936 (desktop--make-frame): Use desktop--move-onscreen.
13938 2013-07-27 Alan Mackenzie <acm@muc.de>
13940 Fontify a Java generic method as a function.
13941 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
13944 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
13946 * calendar/todo-mode.el: Add command to rename todo files.
13947 (todo-rename-file): New command.
13948 (todo-key-bindings-t): Add key binding for it. Change the
13949 bindings of todo-filter-regexp-items(-multifile) to use `x'
13950 instead of `r', since the latter is better suited to the new
13953 2013-07-27 Alan Mackenzie <acm@muc.de>
13955 Make Java try-with-resources statement parse properly.
13956 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
13957 (c-block-stmt-1-2-key): New language constants/variables.
13958 * progmodes/cc-engine.el (c-beginning-of-statement-1)
13959 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
13960 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
13961 with c-block-stmt-1-2-key.
13963 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
13965 * desktop.el (desktop--make-frame): Apply most frame parameters after
13966 creating the frame to force (partially or totally) offscreen frames to
13967 be restored as such.
13969 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
13971 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
13974 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13976 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
13977 `base' arg of backtrace-frame.
13979 2013-07-26 Eli Zaretskii <eliz@gnu.org>
13981 * simple.el (list-processes): Doc fix.
13983 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13985 * desktop.el (desktop--select-frame):
13986 Try harder to reuse existing frames.
13988 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13990 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
13991 (edebug-eval): Use backtrace-eval.
13992 (edebug--display, edebug--recursive-edit): Don't let-bind the
13993 edebug-outer-* vars that keep track of variables we locally let-bind.
13994 (edebug-outside-excursion): Don't restore outside values of locally
13996 (edebug--display): Use user-error.
13997 (cl-lexical-debug, cl-debug-env): Remove.
13999 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
14001 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
14002 are restored to be sure that they are visible before deleting any
14005 2013-07-26 Matthias Meulien <orontee@gmail.com>
14007 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
14008 vc-print-root-log. (Bug#14948)
14010 2013-07-26 Richard Stallman <rms@gnu.org>
14012 Add aliases for encrypting mail.
14013 * epa.el (epa-mail-aliases): New option.
14014 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
14015 Bind inhibit-read-only so read-only text doesn't ruin everything.
14016 (epa-mail-default-recipients): New subroutine broken out.
14017 Handle epa-mail-aliases.
14019 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
14021 Add support for lexical variables to the debugger's `e' command.
14022 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
14023 vars, except for debugger-outer-match-data.
14024 (debugger-frame-number): Move check for "on a function call" from
14025 callers into it. Add `skip-base' argument.
14026 (debugger-frame, debugger-frame-clear): Simplify accordingly.
14027 (debugger-env-macro): Only reset the state stored in non-variables,
14028 i.e. current-buffer and match-data.
14029 (debugger-eval-expression): Rewrite using backtrace-eval.
14030 * subr.el (internal--called-interactively-p--get-frame): Remove.
14031 (called-interactively-p):
14032 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
14033 `base' arg of backtrace-frame instead.
14035 2013-07-26 Glenn Morris <rgm@gnu.org>
14037 * align.el (align-regexp): Doc fix. (Bug#14857)
14038 (align-region): Explicit error if subexpression missing/does not match.
14040 * simple.el (global-visual-line-mode):
14041 Do not duplicate the mode lighter. (Bug#14858)
14043 2013-07-25 Martin Rudalics <rudalics@gmx.at>
14045 * window.el (display-buffer): In display-buffer bind
14046 split-window-keep-point to t, bug#14829.
14048 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
14050 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
14051 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
14052 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
14053 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
14054 Change accordingly.
14055 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
14056 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
14058 2013-07-25 Glenn Morris <rgm@gnu.org>
14060 * dired-x.el (dired-mark-extension): Convert comment to doc string.
14062 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
14064 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
14065 parameter to modify-frame-parameters if the value has not changed;
14066 this is a workaround for bug#14949.
14067 (desktop--make-frame): On cl-delete-if call, check parameter name,
14068 not full parameter.
14070 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
14072 * vc/vc.el (vc-ignore): New function.
14074 * vc/vc-svn.el (vc-svn-ignore): New function.
14076 * vc/vc-hg.el (vc-hg-ignore): New function.
14078 * vc/vc-git.el (vc-git-ignore): New function.
14080 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
14081 (vc-dir-ignore): New function.
14083 * vc/vc-cvs.el (vc-cvs-ignore): New function.
14084 (cvs-append-to-ignore): Move here from pcvs.el.
14086 * vc/vc-bzr.el (vc-bzr-ignore): New function.
14088 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
14090 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
14092 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
14093 (desktop-restore-frames): Warn when deleting an existing frame failed.
14095 2013-07-24 Glenn Morris <rgm@gnu.org>
14097 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
14099 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
14101 * filenotify.el (file-notify-supported-p):
14102 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
14105 * autorevert.el (auto-revert-use-notify)
14106 (auto-revert-notify-add-watch):
14107 * net/tramp.el (tramp-file-name-for-operation):
14108 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14109 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14110 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
14111 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
14112 Remove `file-notify-supported-p' entry.
14114 2013-07-24 Glenn Morris <rgm@gnu.org>
14116 * printing.el: Replace all uses of deleted ps-windows-system,
14117 ps-lp-system, ps-flatten-list with lpr- versions.
14119 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
14121 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
14122 checked with memq (bug#14935).
14124 * files.el (revert-buffer-function): Use a non-nil default.
14125 (revert-buffer-preserve-modes): Declare var to
14126 provide access to the `preserve-modes' argument.
14127 (revert-buffer): Let-bind it.
14128 (revert-buffer--default): New function, extracted from revert-buffer.
14130 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
14132 * lpr.el: Signal print errors more prominently.
14133 (print-region-function): Don't default to nil.
14134 (lpr-print-region): New function, extracted from print-region-1.
14135 Check lpr's return value and signal an error in case of problem.
14136 (print-region-1): Use it.
14137 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
14139 (ps-printer-name): Default to nil.
14140 (ps-printer-name-option): Default to lpr-printer-switch.
14141 (ps-print-region-function): Don't default to nil.
14142 (ps-postscript-code-directory): Simplify default.
14143 (ps-do-despool): Use lpr-print-region to properly check the outcome.
14144 (ps-string-list, ps-eval-switch, ps-flatten-list)
14145 (ps-flatten-list-1): Remove.
14146 (ps-multibyte-buffer): Avoid setq.
14147 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
14148 (print-region-function, ps-print-region-function): Don't set them here.
14150 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
14152 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
14153 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
14154 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
14155 (ido-decorations): Doc fix.
14157 * ansi-color.el: Fix old URL.
14159 2013-07-23 Michael R. Mauger <michael@mauger.com>
14161 * progmodes/sql.el: Version 3.3
14162 (sql-product-alist): Improve oracle :prompt-cont-regexp.
14163 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
14164 (sql-interactive-remove-continuation-prompt): Rewrite, use
14165 functions above. Fix continuation prompt and complete output line
14167 (sql-redirect-one, sql-execute): Use `read-only-mode' on
14168 redirected output buffer.
14169 (sql-mode): Restore deleted code (Bug#13591).
14171 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
14173 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
14175 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
14177 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
14179 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14180 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14181 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
14183 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
14185 * desktop.el (desktop-clear): Simplify; remove useless checks
14186 against invalid buffer names.
14187 (desktop-list*): Use cl-list*.
14188 (desktop-buffer-info, desktop-create-buffer): Simplify.
14190 2013-07-23 Leo Liu <sdl.web@gmail.com>
14192 * bookmark.el (bookmark-make-record): Restore NAME as a default
14195 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
14197 * emacs-lisp/autoload.el (autoload--setup-output): New function,
14198 extracted from autoload--insert-text.
14199 (autoload--insert-text): Remove.
14200 (autoload--print-cookie-text): New function, extracted from
14201 autoload--insert-cookie-text.
14202 (autoload--insert-cookie-text): Remove.
14203 (autoload-generate-file-autoloads): Adjust calls accordingly.
14205 * winner.el (winner-hook-installed-p): Remove.
14206 (winner-mode): Simplify accordingly.
14208 * subr.el (add-to-list): Fix compiler-macro when `append' is
14209 not constant. Don't use `cl-member' for the base case.
14211 * progmodes/subword.el: Fix boundary case (bug#13758).
14212 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
14214 (subword-backward-regexp): Make it a constant.
14215 (subword-forward-internal): Don't treat a trailing capital as the
14216 beginning of a word.
14218 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
14220 * emacs-lisp/package.el (package-menu-mode): Don't modify the
14221 global value of tabulated-list-revert-hook (bug#14930).
14223 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
14225 * desktop.el: Require 'cl-lib.
14226 (desktop-before-saving-frames-functions): New hook.
14227 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
14228 for frames being saved. Rename from desktop--save-minibuffer-frames.
14229 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
14230 Do not save frames with non-nil `desktop-dont-save' parameter.
14231 Filter out deleted frames.
14232 (desktop--find-frame): Use cl-find-if.
14233 (desktop--select-frame): Use cl-(first|second|third) to access values
14235 (desktop--make-frame): Use cl-delete-if.
14236 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
14237 (desktop-restore-frames): Use cl-(first|second|third) to access values
14238 of desktop-mini. Look for visible frame at the end, not while
14241 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
14242 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
14243 Use string-match-p, looking-at-p (bug#14927).
14245 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
14247 * desktop.el (desktop-saved-frame-states):
14248 Rename from desktop--saved-states; all users changed.
14249 (desktop-save-frames): Rename from desktop--save-frames.
14250 Do not save state to desktop file.
14251 (desktop-save): Save desktop-saved-frame-states to desktop file
14253 (desktop-restoring-frames-p): New function.
14254 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
14255 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
14256 buffer-lists when restoring frames. Suggested by Martin Rudalics.
14258 * desktop.el: Correctly restore iconified frames.
14259 (desktop--filter-iconified-position): New function.
14260 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
14262 2013-07-20 Glenn Morris <rgm@gnu.org>
14264 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
14265 Let `message' do the formatting.
14266 (def-gdb-preempt-display-buffer): Add explicit format.
14268 * image-dired.el (image-dired-track-original-file):
14269 Use with-current-buffer.
14270 (image-dired-track-thumbnail): Use with-current-buffer.
14271 Avoid changing point of wrong window.
14273 * image-dired.el (image-dired-track-original-file):
14274 Avoid changing point of wrong window. (Bug#14909)
14276 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
14278 * progmodes/gdb-mi.el (gdb-done-or-error):
14279 Guard against "%" in gdb output. (Bug#14127)
14281 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
14283 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
14286 * international/mule.el (coding-system-iso-2022-flags): Fix last
14289 2013-07-20 Kenichi Handa <handa@gnu.org>
14291 * international/mule.el (coding-system-iso-2022-flags):
14292 Add `8-bit-level-4'. (Bug#8522)
14294 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14296 * net/shr.el (shr-mouse-browse-url): New command and keystroke
14299 * net/eww.el (eww-process-text-input): Allow inputting when the
14300 point is at the start of the line, as the properties aren't
14303 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
14306 2013-07-19 Richard Stallman <rms@gnu.org>
14308 * epa.el (epa-popup-info-window): Doc fix.
14310 * subr.el (split-string): New arg TRIM.
14312 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
14314 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
14315 Add check for W32 (followup to revno:113431).
14317 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
14319 * filenotify.el (file-notify--library): Rename from
14320 `file-notify-support'. Do not autoload. Adapt all uses.
14321 (file-notify-supported-p): New defun.
14323 * autorevert.el (auto-revert-use-notify):
14324 Use `file-notify-supported-p' instead of `file-notify-support'.
14326 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
14328 * net/tramp.el (tramp-file-name-for-operation):
14329 Add `file-notify-supported-p'.
14331 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
14333 (tramp-sh-file-name-handler-alist): Add it as handler for
14334 `file-notify-supported-p '.
14336 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14337 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14338 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
14339 Add `ignore' as handler for `file-notify-*' functions.
14341 2013-07-17 Eli Zaretskii <eliz@gnu.org>
14343 * simple.el (line-move-partial, line-move): Don't start vscroll or
14344 scroll-up if the current line is not taller than the window.
14347 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
14349 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
14350 highlight question marks in the method names as strings.
14351 (ruby-block-beg-keywords): Inline.
14352 (ruby-font-lock-keyword-beg-re): Extract from
14353 `ruby-font-lock-keywords'.
14355 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
14357 * frame.el (blink-cursor-blinks): New defcustom.
14358 (blink-cursor-blinks-done): New defvar.
14359 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
14360 (blink-cursor-timer-function): Check if number of blinks has been
14362 (blink-cursor-suspend, blink-cursor-check): New defuns.
14364 2013-07-15 Glenn Morris <rgm@gnu.org>
14366 * edmacro.el (edmacro-format-keys): Fix previous change.
14368 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
14370 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
14371 The hack didn't work outside English locales anyway.
14373 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
14375 * simple.el (define-alternatives): Rename from alternatives-define,
14376 per RMS' suggestion.
14378 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
14380 * desktop.el (desktop-restore-frames): Change default to t.
14381 (desktop-restore-in-current-display): Now offer more options.
14382 (desktop-restoring-reuses-frames): New customization option.
14383 (desktop--saved-states): Doc fix.
14384 (desktop-filter-parameters-alist): New variable, renamed and expanded
14385 from desktop--excluded-frame-parameters.
14386 (desktop--target-display): New variable.
14387 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
14388 (desktop--filter-tty*, desktop--filter-*-color)
14389 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
14390 (desktop--filter-save-desktop-parm)
14391 (desktop-restore-in-original-display-p): New functions.
14392 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
14393 (desktop--save-minibuffer-frames): New function, inspired by a similar
14394 function from Martin Rudalics.
14395 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
14396 (desktop--restore-in-this-display-p): Remove.
14397 (desktop--find-frame): Rename from desktop--find-frame-in-display
14398 and add predicate argument.
14399 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
14400 (desktop--reuse-list): New variable.
14401 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
14403 (desktop--restore-frames): Add support for "minibuffer-special" frames.
14405 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
14407 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
14409 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
14411 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14412 Highlight conversion methods on Kernel.
14414 2013-07-13 Alan Mackenzie <acm@muc.de>
14416 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
14417 and comment it out. This out-commenting enables certain C++
14418 declarations to be parsed correctly.
14420 2013-07-13 Eli Zaretskii <eliz@gnu.org>
14422 * international/mule.el (define-coding-system): Doc fix.
14424 * simple.el (default-font-height): Don't call font-info if the
14425 frame's default font didn't change since the frame was created.
14428 2013-07-13 Leo Liu <sdl.web@gmail.com>
14430 * ido.el (ido-read-file-name): Guard against non-symbol value.
14432 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14434 * progmodes/python.el (python-imenu--build-tree): Fix corner case
14437 2013-07-13 Leo Liu <sdl.web@gmail.com>
14439 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
14440 ido-set-matches call. (Bug#6852)
14442 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
14444 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
14445 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
14447 (ruby-font-lock-keywords): Distinguish calls to functions with
14448 module-like names from module references. Highlight character
14451 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
14453 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
14454 (gdb-send): Handle continued commands. (Bug#14847)
14456 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
14458 * desktop.el (desktop--v2s): Remove unused local variable.
14459 (desktop-save-buffer): Make defvar-local; adjust docstring.
14460 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
14461 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
14463 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
14465 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
14467 2013-07-12 Eli Zaretskii <eliz@gnu.org>
14469 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
14472 2013-07-12 Glenn Morris <rgm@gnu.org>
14474 * doc-view.el: Require cl-lib at runtime too.
14475 (doc-view-remove-if): Remove.
14476 (doc-view-search-next-match, doc-view-search-previous-match):
14479 * edmacro.el: Require cl-lib at runtime too.
14480 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
14481 (edmacro-mismatch, edmacro-subseq): Remove.
14483 * shadowfile.el: Require cl-lib.
14484 (shadow-remove-if): Remove.
14485 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
14488 * wid-edit.el: Require cl-lib.
14489 (widget-choose): Use cl-remove-if.
14490 (widget-remove-if): Remove.
14492 * progmodes/ebrowse.el: Require cl-lib at runtime too.
14493 (ebrowse-delete-if-not): Remove.
14494 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
14495 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
14496 Use cl-delete-if-not.
14498 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
14500 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
14501 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
14503 2013-07-12 Leo Liu <sdl.web@gmail.com>
14505 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
14507 2013-07-11 Glenn Morris <rgm@gnu.org>
14509 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
14510 (edebug-gensym-index, edebug-gensym):
14511 Remove reimplementation of cl-gensym.
14512 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
14514 * thumbs.el: Require cl-lib at run-time too.
14515 (thumbs-gensym-counter, thumbs-gensym):
14516 Remove reimplementation of cl-gensym.
14517 (thumbs-temp-file): Use cl-gensym.
14519 * emacs-lisp/ert.el: Require cl-lib at runtime too.
14520 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
14521 (ert--intersection, ert--set-difference, ert--set-difference-eq)
14522 (ert--union, ert--gensym-counter, ert--gensym-counter)
14523 (ert--coerce-to-vector, ert--remove*, ert--string-position)
14524 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
14525 (ert-make-test-unbound, ert--expand-should-1)
14526 (ert--expand-should, ert--should-error-handle-error)
14527 (should-error, ert--explain-equal-rec)
14528 (ert--plist-difference-explanation, ert-select-tests)
14529 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
14530 Use cl-lib functions rather than reimplementations.
14532 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
14534 * net/tramp.el (tramp-methods): Extend docstring.
14535 (tramp-connection-timeout): New defcustom.
14536 (tramp-error-with-buffer): Reset timestamp only when appropriate.
14537 (with-tramp-progress-reporter): Simplify.
14538 (tramp-process-actions): Improve messages.
14540 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14541 * net/tramp-sh.el (tramp-maybe-open-connection):
14542 Use `tramp-connection-timeout'.
14543 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
14546 2013-07-11 Leo Liu <sdl.web@gmail.com>
14548 * ido.el (ido-read-file-name): Conform to the requirements of
14549 read-file-name. (Bug#11861)
14550 (ido-read-directory-name): Conform to the requirements of
14551 read-directory-name.
14553 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
14555 * subr.el (delay-warning): New function.
14557 2013-07-10 Eli Zaretskii <eliz@gnu.org>
14559 * simple.el (default-line-height): New function.
14560 (line-move-partial, line-move): Use it instead of computing the
14561 line height inline.
14562 (line-move-partial): Always compute ROWH. If the last line is
14563 partially-visible, but its text is completely visible, allow
14564 cursor to enter such a partially-visible line.
14566 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
14568 Improve error messages. (Bug#14808)
14570 * net/tramp.el (tramp-current-connection): New defvar, moved from
14572 (tramp-message-show-progress-reporter-message): Remove, not
14574 (tramp-error-with-buffer): Show message in minibuffer.
14575 Discard input before waiting. Reset connection timestamp.
14576 (with-tramp-progress-reporter): Improve messages.
14577 (tramp-process-actions): Use progress reporter. Delete process in
14578 case of error. Improve messages.
14580 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
14581 Call `tramp-error-with-buffer' with vector and buffer.
14582 (tramp-current-connection): Remove.
14583 (tramp-maybe-open-connection): The car of
14584 `tramp-current-connection' are the first 3 slots of the vector.
14586 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
14588 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
14589 inside continued strings.
14591 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
14593 Timestamp fixes for undo (Bug#14824).
14594 * files.el (clear-visited-file-modtime): Move here from fileio.c.
14596 2013-07-10 Leo Liu <sdl.web@gmail.com>
14598 * files.el (require-final-newline): Allow safe local value.
14601 2013-07-09 Leo Liu <sdl.web@gmail.com>
14603 * ido.el (ido-read-directory-name): Handle fallback.
14604 (ido-read-file-name): Update DIR to ido-current-directory.
14606 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
14608 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
14610 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
14611 "autoload". Remove "warn lower camel case" section, previously
14612 commented out. Highlight negation char. Do not highlight the
14613 target in singleton method definitions.
14615 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14617 * faces.el (tty-setup-hook): Declare the hook.
14619 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
14620 and detect when a guard/pred depends on local vars (bug#14773).
14621 (pcase--u1): Adjust caller.
14623 2013-07-08 Eli Zaretskii <eliz@gnu.org>
14625 * simple.el (line-move-partial, line-move): Account for
14627 (line-move-partial): Avoid setting vscroll when the last
14628 partially-visible line in window is of default height.
14630 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14632 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
14635 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
14637 * subr.el (read-quoted-char): Remove unused local variable `char'.
14639 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
14641 * vc/ediff.el (ediff-version): Version update.
14642 (ediff-files-command, ediff3-files-command, ediff-merge-command)
14643 (ediff-merge-with-ancestor-command, ediff-directories-command)
14644 (ediff-directories3-command, ediff-merge-directories-command)
14645 (ediff-merge-directories-with-ancestor-command): New functions.
14646 All are command-line interfaces to ediff: to facilitate calling
14647 Emacs with the appropriate ediff functions invoked.
14649 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
14651 (viper-save-kill-buffer): Check if buffer is modified.
14653 * emulation/viper.el (viper-version): Version update.
14654 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
14656 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
14658 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
14659 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
14660 (viper-intercept-ESC-key): Simplify.
14661 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
14663 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
14664 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
14665 (viper-setup-ESC-to-escape): New functions.
14666 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
14667 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
14669 2013-07-07 Eli Zaretskii <eliz@gnu.org>
14671 * simple.el (default-font-height, window-screen-lines):
14673 (line-move, line-move-partial): Use them instead of
14674 frame-char-height and window-text-height. This makes scrolling
14675 text smoother when the buffer's default face uses a font that is
14676 different from the frame's default font.
14678 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
14680 * files.el (write-file): Do not display confirm dialog for NS,
14681 it does its own dialog, which can't be canceled (Bug#14578).
14683 2013-07-06 Eli Zaretskii <eliz@gnu.org>
14685 * simple.el (line-move-partial): Adjust the row returned by
14686 posn-at-point for the current window-vscroll. (Bug#14567)
14688 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
14690 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
14691 (tramp-sh-file-inotifywait-process-filter): Handle file names with
14694 2013-07-06 Martin Rudalics <rudalics@gmx.at>
14696 * window.el (window-state-put-stale-windows): New variable.
14697 (window--state-put-2): Save list of windows without matching buffer.
14698 (window-state-put): Remove "bufferless" windows if possible.
14700 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14702 * simple.el (alternatives-define): Remove leftover :group keyword.
14705 2013-07-06 Leo Liu <sdl.web@gmail.com>
14707 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
14708 (ido-enable-virtual-buffers): New variable.
14709 (ido-buffer-internal, ido-toggle-virtual-buffers)
14710 (ido-make-buffer-list): Use it.
14711 (ido-exhibit): Support turning on and off virtual buffers
14714 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14716 * simple.el (alternatives-define): New macro.
14718 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
14720 * subr.el (read-quoted-char): Use read-key.
14721 (sit-for): Let read-event decode tty input (bug#14782).
14723 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
14725 * calendar/todo-mode.el: Add handling of file deletion, both by
14726 mode command and externally. Fix various related bugs.
14727 Clarify Commentary and improve some documentation strings and code.
14728 (todo-delete-file): New command.
14729 (todo-check-file): New function.
14730 (todo-show): Handle external deletion of the file we're trying to
14731 show (bug#14688). Replace called-interactively-p by an optional
14732 prefix argument to avoid problematic interaction with catch form
14733 when byte compiled (bug#14702).
14734 (todo-quit): Handle external deletion of the archive's todo file.
14735 Make sure the buffer that was visiting the archive file is still
14736 live before trying to bury it.
14737 (todo-category-completions): Handle external deletion of any
14738 category completion files.
14739 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
14740 of todo files, in case of external deletion.
14741 (todo-add-file): Replace unnecessary setq by let-binding.
14742 (todo-find-archive): Check whether there are any archives.
14743 Replace unnecessary setq by let-binding.
14744 (todo-archive-done-item): Use find-file-noselect to get the
14745 archive buffer whether or not the archive already exists.
14746 Remove superfluous code. Use file size instead of buffer-file-name to
14747 check if the archive is new; if it is, update list of archives.
14748 (todo-default-todo-file): Allow nil to be a valid value for when
14749 there are no todo files.
14750 (todo-reevaluate-default-file-defcustom): Use corrected definition
14751 of todo-default-todo-file.
14752 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
14753 (todo-delete-category, todo-show-categories-table)
14754 (todo-category-number): Clarify comment.
14755 (todo-filter-items): Clarify documentation string.
14756 (todo-show-current-file, todo-display-as-todo-file)
14757 (todo-reset-and-enable-done-separator): Tweak documentation string.
14758 (todo-done-separator): Make separator length window-width, since
14759 bug#2749 is now fixed.
14761 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
14763 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14764 Support both "gvfs-monitor-dir" and "inotifywait".
14765 (tramp-sh-file-inotifywait-process-filter): Rename from
14766 `tramp-sh-file-notify-process-filter'.
14767 (tramp-sh-file-gvfs-monitor-dir-process-filter)
14768 (tramp-get-remote-gvfs-monitor-dir): New defuns.
14770 2013-07-05 Leo Liu <sdl.web@gmail.com>
14772 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
14774 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14776 * frame.el (display-pixel-height, display-pixel-width)
14777 (display-mm-height, display-mm-width): Mention behavior on
14778 multi-monitor setups in docstrings.
14779 (w32-display-monitor-attributes-list): Declare function.
14780 (display-monitor-attributes-list): Use it.
14782 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
14784 * filenotify.el: New package.
14786 * autorevert.el (top): Require filenotify.el.
14787 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
14789 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14790 (auto-revert-notify-handler): Use `file-notify-*' functions.
14792 * subr.el (file-notify-handle-event): Move function to filenotify.el.
14794 * net/tramp.el (tramp-file-name-for-operation):
14795 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
14797 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
14798 for `file-notify-add-watch' and `file-notify-rm-watch'.
14799 (tramp-process-sentinel): Improve trace.
14800 (tramp-sh-handle-file-notify-add-watch)
14801 (tramp-sh-file-notify-process-filter)
14802 (tramp-sh-handle-file-notify-rm-watch)
14803 (tramp-get-remote-inotifywait): New defuns.
14805 2013-07-03 Juri Linkov <juri@jurta.org>
14807 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
14808 call of `occur-read-primary-args' to interactive spec.
14810 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
14811 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
14813 2013-07-03 Matthias Meulien <orontee@gmail.com>
14815 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
14816 `Buffer-menu-multi-occur'. Add it to the menu.
14817 (Buffer-menu-mode): Document it in docstring.
14818 (Buffer-menu-multi-occur): New command. (Bug#14673)
14820 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14822 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
14823 keywords and built-ins.
14825 2013-07-03 Glenn Morris <rgm@gnu.org>
14827 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
14829 Make info-xref checks case-sensitive by default
14830 * info.el (Info-find-node, Info-find-in-tag-table)
14831 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
14832 Add option for exact case matching of nodes.
14833 * info-xref.el (info-xref): New custom group.
14834 (info-xref-case-fold): New option.
14835 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
14837 2013-07-03 Leo Liu <sdl.web@gmail.com>
14839 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
14841 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14843 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
14844 middle of block statement initially, lower the depth. Remove
14845 FIXME comment, not longer valid. Remove middle of block statement
14846 detection, no need to do that anymore since we've been using
14847 `ruby-parse-region' here.
14849 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
14851 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
14853 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
14855 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
14857 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
14859 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
14860 (desktop-restore-in-current-display): New customization option.
14861 (desktop--excluded-frame-parameters): Add `font'.
14862 (desktop--save-frames): Rename from desktop--save-windows.
14863 (desktop--restore-in-this-display-p): New function.
14864 (desktop--make-full-frame): Remove unwanted width/height from
14865 full(width|height) frames.
14866 (desktop--restore-frames): Rename from desktop--restore-windows.
14867 Obey desktop-restore-current-display. Do not delete old frames or
14868 select a new frame unless we were able to restore at least one frame.
14870 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
14872 * files.el (find-file-noselect): Simplify conditional expression.
14874 * textmodes/remember.el (remember-append-to-file):
14875 Don't mix `find-buffer-visiting' and `get-file-buffer'.
14877 Add `remember-notes' function to store random notes across Emacs
14879 * textmodes/remember.el (remember-data-file): Add :set callback to
14880 affect notes buffer (if any).
14881 (remember-notes): New command.
14882 (remember-notes-buffer-name, bury-remember-notes-on-kill):
14883 New defcustoms for the `remember-notes' function.
14884 (remember-notes-save-and-bury-buffer): New command.
14885 (remember-notes-mode-map): New variable.
14886 (remember-mode): New minor mode.
14887 (remember-notes--kill-buffer-query): New function.
14888 * startup.el (initial-buffer-choice): Add notes to custom type.
14890 2013-06-30 Eli Zaretskii <eliz@gnu.org>
14892 * bindings.el (right-char, left-char): Don't call sit-for, this is
14893 no longer needed. Use arithmetic comparison only for numerical
14896 * international/mule-cmds.el (select-safe-coding-system):
14897 Handle the case of FROM being a string correctly. (Bug#14755)
14899 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14901 * net/shr.el (shr-make-table-1): Add a sanity check that allows
14902 progression on degenerate tables.
14903 (shr-rescale-image): ImageMagick animated images currently don't work.
14905 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
14907 Some fixes and improvements for desktop frame restoration.
14908 It is still experimental and disabled by default.
14909 * desktop.el (desktop--save-windows): Put the selected frame at
14910 the head of the list.
14911 (desktop--make-full-frame): New function.
14912 (desktop--restore-windows): Try to re-select the frame that was
14913 selected upon saving. Do not abort if some frames fail to restore,
14914 just show an error message and continue. Set up maximized frames
14915 so they have default non-maximized dimensions.
14917 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
14919 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14920 Don't start heredoc inside a string or comment.
14922 2013-06-29 Eli Zaretskii <eliz@gnu.org>
14924 * bindings.el (visual-order-cursor-movement): New defcustom.
14925 (right-char, left-char): Provide visual-order cursor motion by
14926 calling move-point-visually. Update the doc strings.
14928 2013-06-28 Kenichi Handa <handa@gnu.org>
14930 * international/mule.el (define-coding-system): New coding system
14931 properties :inhibit-null-byte-detection,
14932 :inhibit-iso-escape-detection, and :prefer-utf-8.
14933 (set-buffer-file-coding-system): If :charset-list property of
14934 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
14935 appropriate for setting.
14937 * international/mule-cmds.el (select-safe-coding-system):
14938 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
14939 multibyte characters, return utf-8 (or one of its siblings).
14941 * international/mule-conf.el (prefer-utf-8): New coding system.
14942 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
14945 2013-06-28 Ivan Kanis <ivan@kanis.fr>
14947 * net/shr.el (shr-render-region): New function.
14949 * net/eww.el: Autoload `eww-browse-url'.
14951 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
14953 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14954 Adapt to `package-desc-version' being a list.
14955 Use `package--ac-desc-version' to retrieve version from a package
14958 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
14960 New experimental feature to save&restore window and frame setup.
14961 * desktop.el (desktop-save-windows): New defcustom.
14962 (desktop--saved-states): New var.
14963 (desktop--excluded-frame-parameters): New defconst.
14964 (desktop--filter-frame-parms, desktop--find-frame-in-display)
14965 (desktop--restore-windows, desktop--save-windows): New functions.
14966 (desktop-save): Call `desktop--save-windows'.
14967 (desktop-read): Call `desktop--restore-windows'.
14969 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14971 * net/shr.el (add-face-text-property): Remove compat definition.
14973 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14975 * info.el (Info-try-follow-nearest-node): Move search for footnote
14976 above search for node name to prevent missing a footnote (bug#14717).
14978 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14980 * obsolete/otodo-mode.el: Add obsolescence info to file header.
14982 2013-06-27 Leo Liu <sdl.web@gmail.com>
14984 * net/eww.el (eww-read-bookmarks): Check file size.
14986 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14988 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
14989 advice--pending if newdef is nil or an autoload (bug#13820).
14990 (advice-mapc): New function.
14992 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14994 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
14996 (eww-mode-map): Add a menu bar.
14997 (eww-add-bookmark): New command.
14998 (eww-bookmark-mode): New mode and commands.
14999 (eww-add-bookmark): Remove newlines from the title.
15000 (eww-bookmark-browse): Don't bug out if it's the only window.
15002 2013-06-26 Glenn Morris <rgm@gnu.org>
15004 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
15005 (hfy-size): Handle ttys. (Bug#14668)
15007 * info-xref.el: Update for Texinfo 5 change in *note format.
15008 (info-xref-node-re, info-xref-note-re): New constants.
15009 (info-xref-check-buffer): Use info-xref-note-re.
15011 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
15013 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
15015 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
15016 nil terminate the loop (bug#14718).
15018 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
15020 * net/eww.el: Rework history traversal. When going forward/back,
15021 put these actions into the history, too, so that they can be
15023 (eww-render): Move the history reset to the correct buffer.
15025 2013-06-25 Juri Linkov <juri@jurta.org>
15027 * files-x.el (modify-dir-local-variable): Change the header comment
15028 in the file with directory local variables. (Bug#14692)
15030 * files-x.el (read-file-local-variable-value): Add `default'.
15033 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
15035 * net/eww.el (eww-make-unique-file-name): Create a unique file
15036 name before saving to entering `y' accidentally asynchronously.
15038 2013-06-25 Ivan Kanis <ivan@kanis.fr>
15040 * net/eww.el (eww-download): New command and keystroke.
15042 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
15044 * net/eww.el (eww-copy-page-url): Change name of command.
15046 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
15047 be more consistent with Info and dired.
15049 * net/eww.el (eww-mode-map): Ditto.
15051 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15053 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
15054 packages from archives.
15055 (package-archive-contents): Change format; include obsolete packages.
15056 (package-desc): Use `dir' to mark builtin packages.
15057 (package--from-builtin): Set the `dir' field to `builtin'.
15058 (generated-autoload-file, version-control): Declare.
15059 (package-compute-transaction): Change first arg and return value to be
15060 lists of package-descs. Adjust to new package-archive-contents format.
15061 (package--add-to-archive-contents): Adjust to new
15062 package-archive-contents format.
15063 (package-download-transaction): Arg is now a list of package-descs.
15064 (package-install): If `pkg' is a package name, pass it as
15065 a requirement, so it is subject to the usual (e.g. disabled) checks.
15066 (describe-package): Accept package-desc as well.
15067 (describe-package-1): Describe a specific package-desc. Add links to
15068 other package-descs for the same package name.
15069 (package-menu-describe-package): Pass the actual package-desc.
15070 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
15072 (package-desc-status): New function.
15073 (package-menu--refresh): New function, extracted
15074 from package-menu--generate.
15075 (package-menu--generate): Use it.
15076 (package-delete): Update package-alist.
15077 (package-menu-execute): Don't call package-initialize.
15079 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
15080 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
15081 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
15082 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
15083 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
15084 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
15086 2013-06-25 Martin Rudalics <rudalics@gmx.at>
15088 * window.el (window--state-get-1): Workaround for bug#14527.
15089 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
15091 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
15093 * net/eww.el (eww-back-url): Implement the history by stashing all
15094 the data into a list.
15095 (eww-forward-url): Allow going forward in the history, too.
15097 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15099 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
15100 for values and use read--expression for expressions (bug#14710).
15101 (read-file-local-variable): Avoid setq.
15102 (read-file-local-variable-mode): Use minor-mode-list.
15104 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15106 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
15109 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15111 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
15112 Update imenu-support when dialect changes.
15114 2013-06-25 Leo Liu <sdl.web@gmail.com>
15116 * ido.el (ido-read-internal): Allow forward slash on windows.
15118 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
15120 * net/eww.el (eww): Start of strings is \\`, not ^.
15122 2013-06-24 Ivan Kanis <ivan@kanis.fr>
15124 * net/shr.el (shr-browse-url): Fix interactive spec.
15126 * net/eww.el (eww): Add a trailing slash to domain names.
15128 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
15130 * faces.el (face-spec-recalc): Revert part of revno:113147 (bug#14705).
15132 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
15134 * net/shr.el (shr-browse-url): Use an external browser if given a
15137 * net/eww.el (eww-external-browser): Move to shr.
15139 2013-06-24 Ivan Kanis <ivan@kanis.fr>
15141 * net/eww.el (eww): Work more correctly for file: URLs.
15142 (eww-detect-charset): Allow quoted charsets.
15143 (eww-yank-page-url): New command and keystroke.
15145 2013-06-24 Daiki Ueno <ueno@gnu.org>
15147 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
15148 file name of gpg executable.
15149 (epg-context-program): New function.
15150 (epg-context-home-directory): New function.
15151 (epg-context-set-program): New function.
15152 (epg-context-set-home-directory): New function.
15153 (epg--start): Use `epg-context-program' instead of
15155 (epg--list-keys-1): Likewise.
15157 2013-06-24 Leo Liu <sdl.web@gmail.com>
15159 * ido.el (ido-read-internal): Fix bug#14620.
15161 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
15163 * faces.el (face-documentation): Simplify.
15164 (read-face-attribute, tty-find-type, x-resolve-font-name):
15165 Use `string-match-p'.
15166 (list-faces-display): Use `string-match-p'. Simplify.
15167 (face-spec-recalc): Check face to avoid face alias loops.
15168 (read-color): Use `string-match-p' and non-capturing parenthesis.
15170 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15172 * net/shr.el (shr-rescale-image): Use the new
15173 :max-width/:max-height functionality.
15175 2013-06-23 Ivan Kanis <ivan@kanis.fr>
15177 * net/eww.el (eww-search-prefix): New variable.
15179 (eww-external-browser): New variable.
15180 (eww-mode-map): New keystroke.
15181 (eww-browse-with-external-browser): New command.
15183 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
15185 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
15187 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
15188 Don't skip aligning the next header field when padding is 0;
15189 otherwise, field width is not respected unless the title is as
15192 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
15194 * emacs-lisp/package.el (package-el-version): Remove.
15195 (package-process-define-package): Fix inf-loop.
15196 (package-install): Allow symbols as arguments again.
15198 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
15200 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
15201 add some more keyword-like methods.
15202 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
15204 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
15206 * bs.el (bs-buffer-show-mark): Make defvar-local.
15207 (bs-mode): Use setq-local.
15209 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
15210 (emacs-lock--try-unlocking): Make defvar-local.
15212 2013-06-22 Glenn Morris <rgm@gnu.org>
15214 * play/cookie1.el (cookie-apropos): Minor simplification.
15216 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
15218 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
15220 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
15221 `regexp-opt', it breaks the build during dumping.
15223 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
15225 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
15226 Highlight keyword-like methods on Kernel and Module with
15227 font-lock-builtin-face.
15228 (auto-mode-alist): Consolidate different entries into one regexp
15229 and add more *file-s.
15231 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
15233 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
15235 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
15236 (diary-entry): Use it in the action of this button type instead of
15239 * calendar/todo-mode.el: New version.
15240 (todo-add-category): Append new category to end of file and give
15241 it the highest number, instead of putting it at the beginning and
15242 giving it 0. Incorporate noninteractive functionality.
15243 (todo-forward-category): Adapt to 1-based category numbering.
15244 Allow skipping over archived categories.
15245 (todo-backward-category): Derive from todo-forward-category.
15246 (todo-backward-item, todo-forward-item): Make noninteractive and
15247 delegate interactive part to new commands. Make sensitive to done items.
15248 (todo-categories): Make value an alist of category names and
15249 vectors of item counts.
15250 (todo-category-beg): Make a defconst.
15251 (todo-category-number): Use 1 instead of 0 as initial value.
15252 (todo-category-select): Make sensitive to overlays, optional item
15253 highlighting and done items.
15254 (todo-delete-item): Make sensitive to overlays and marked and done items.
15255 (todo-edit-item): Make sensitive to overlays and editing of
15256 date/time header optional. Add format checks.
15257 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
15258 no-op if point is not on an item. Advertise using todo-edit-quit.
15259 (todo-edit-mode): Make sensitive to new format, font-locking, and
15260 multiple todo files.
15261 (todo-insert-item, todo-insert-item-here): Derive from
15262 todo-basic-insert-item and extend functionality.
15263 (todo-item-end, todo-item-start): Make sensitive to done items.
15264 (todo-item-string): Don't return text properties. Restore point.
15265 (todo-jump-to-category): Make sensitive to multiple todo files and
15266 todo archives. Use extended category completion.
15267 (todo-lower-item, todo-raise-item): Rename to *-priority and
15268 derive from todo-set-item-priority.
15269 (todo-mode): Derive from special-mode. Make sensitive to new
15270 format, font-locking and multiple todo files. Make read-only.
15271 (todo-mode-map): Don't suppress digit keys, so they can supply
15272 prefix arguments. Add many new key bindings.
15273 (todo-prefix): Insert as an overlay instead of file text.
15274 Change semantics from diary date expression to purely visual mark.
15275 (todo-print): Rename to todo-print-buffer. Make buffer display
15276 features printable. Remove option to restrict number of items
15277 printed. Add option to print to file.
15278 (todo-print-function): Rename to todo-print-buffer-function.
15279 (todo-quit): Extend to handle exiting new todo modes.
15280 (todo-remove-item): Make sensitive to overlays.
15281 (todo-save): Extend to buffers of filtered items.
15282 (todo-show): Make sensitive to done items, multiple todo files and
15283 new todo modes. Offer to convert legacy todo file before creating
15284 first new todo file.
15285 (todo-show-priorities): Rename to todo-top-priorities.
15286 Change semantics of value 0.
15287 (todo-top-priorities): Rename to todo-filter-top-priorities,
15288 derive from todo-filter-items and extend functionality.
15289 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
15290 and extend functionality to other types of filtered items.
15291 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
15292 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
15293 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
15294 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
15295 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
15296 (todo-edit-mode-hook, todo-entry-prefix-function)
15297 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
15298 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
15299 (todo-initials, todo-insert-threshold, todo-item-string-start)
15300 (todo-line-string, todo-menu, todo-mode-hook)
15301 (todo-more-important-p, todo-previous-answer, todo-previous-line)
15302 (todo-print-priorities, todo-remove-separator)
15303 (todo-save-top-priorities-too, todo-string-count-lines)
15304 (todo-string-multiline-p, todo-time-string-format)
15305 (todo-tmp-buffer-name): Remove.
15306 (todo-add-file, todo-archive-done-item, todo-choose-archive)
15307 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
15308 (todo-edit-category-diary-inclusion)
15309 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
15310 (todo-edit-file, todo-edit-item-date-day)
15311 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
15312 (todo-edit-item-date-month, todo-edit-item-date-to-today)
15313 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
15314 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
15315 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
15316 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
15317 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
15318 (todo-filter-top-priorities-multifile, todo-find-archive)
15319 (todo-find-filtered-items-file, todo-go-to-source-item)
15320 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
15321 (todo-jump-to-archive-category, todo-lower-category)
15322 (todo-mark-category, todo-marked-item-p, todo-merge-category)
15323 (todo-move-category, todo-move-item, todo-next-button)
15324 (todo-next-item, todo-padded-string, todo-powerset)
15325 (todo-previous-button, todo-previous-item)
15326 (todo-print-buffer-to-file, todo-raise-category)
15327 (todo-rename-category, todo-repair-categories-sexp, todo-search)
15328 (todo-set-category-number, todo-set-item-priority)
15329 (todo-set-top-priorities-in-category)
15330 (todo-set-top-priorities-in-file, todo-show-categories-table)
15331 (todo-sort-categories-alphabetically-or-numerically)
15332 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
15333 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
15334 (todo-toggle-item-header, todo-toggle-item-highlighting)
15335 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
15336 (todo-toggle-view-done-items, todo-toggle-view-done-only)
15337 (todo-unarchive-items, todo-unmark-category): New commands.
15338 (todo-absolute-file-name, todo-add-to-buffer-list)
15339 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
15340 (todo-basic-insert-item, todo-category-completions)
15341 (todo-category-number, todo-category-string-matcher-1)
15342 (todo-category-string-matcher-2, todo-check-filtered-items-file)
15343 (todo-check-format, todo-clear-matches)
15344 (todo-comment-string-matcher, todo-convert-legacy-date-time)
15345 (todo-current-category, todo-date-string-matcher)
15346 (todo-define-insertion-command, todo-diary-expired-matcher)
15347 (todo-diary-goto-entry, todo-diary-item-p)
15348 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
15349 (todo-display-categories, todo-display-sorted, todo-done-item-p)
15350 (todo-done-item-section-p, todo-done-separator)
15351 (todo-done-string-matcher, todo-files, todo-filter-items)
15352 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
15353 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
15354 (todo-insert-category-line, todo-insert-item-from-calendar)
15355 (todo-insert-sort-button, todo-insert-with-overlays)
15356 (todo-insertion-command-name, todo-insertion-key-bindings)
15357 (todo-label-to-key, todo-longest-category-name-length)
15358 (todo-make-categories-list, todo-mode-external-set)
15359 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
15360 (todo-modes-set-3, todo-multiple-filter-files)
15361 (todo-nondiary-marker-matcher, todo-prefix-overlays)
15362 (todo-read-category, todo-read-date, todo-read-dayname)
15363 (todo-read-file-name, todo-read-time)
15364 (todo-reevaluate-category-completions-files-defcustom)
15365 (todo-reevaluate-default-file-defcustom)
15366 (todo-reevaluate-filelist-defcustoms)
15367 (todo-reevaluate-filter-files-defcustom)
15368 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
15369 (todo-reset-done-separator, todo-reset-done-separator-string)
15370 (todo-reset-done-string, todo-reset-global-current-todo-file)
15371 (todo-reset-highlight-item, todo-reset-nondiary-marker)
15372 (todo-reset-prefix, todo-set-categories)
15373 (todo-set-date-from-calendar, todo-set-show-current-file)
15374 (todo-set-top-priorities, todo-short-file-name)
15375 (todo-show-current-file, todo-sort, todo-time-string-matcher)
15376 (todo-total-item-counts, todo-update-buffer-list)
15377 (todo-update-categories-display, todo-update-categories-sexp)
15378 (todo-update-count, todo-validate-name, todo-y-or-n-p):
15380 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
15382 (todo-categories, todo-display, todo-edit, todo-faces)
15383 (todo-filtered): New defgroups.
15384 (todo-archived-only, todo-button, todo-category-string, todo-date)
15385 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
15386 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
15387 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
15388 (todo-add-item-if-new-category, todo-always-add-time-string)
15389 (todo-categories-align, todo-categories-archived-label)
15390 (todo-categories-category-label, todo-categories-diary-label)
15391 (todo-categories-done-label, todo-categories-number-separator)
15392 (todo-categories-todo-label, todo-categories-totals-label)
15393 (todo-category-completions-files, todo-completion-ignore-case)
15394 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
15395 (todo-done-separator-string, todo-done-string)
15396 (todo-files-function, todo-filter-done-items, todo-filter-files)
15397 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
15398 (todo-initial-category, todo-initial-file, todo-item-mark)
15399 (todo-legacy-date-time-regexp, todo-mode-line-function)
15400 (todo-nondiary-marker, todo-number-prefix)
15401 (todo-print-buffer-function, todo-show-current-file)
15402 (todo-show-done-only, todo-show-first, todo-show-with-done)
15403 (todo-skip-archived-categories, todo-top-priorities-overrides)
15404 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
15405 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
15407 (todo-category-done, todo-date-pattern, todo-date-string-start)
15408 (todo-diary-items-buffer, todo-done-string-start)
15409 (todo-filtered-items-buffer, todo-item-start)
15410 (todo-month-abbrev-array, todo-month-name-array)
15411 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
15412 (todo-top-priorities-buffer): New defconsts.
15413 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
15414 (todo-categories-with-marks, todo-category-string-face)
15415 (todo-comment-face, todo-comment-string, todo-current-todo-file)
15416 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
15417 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
15418 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
15419 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
15420 (todo-font-lock-keywords, todo-global-current-todo-file)
15421 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
15422 (todo-insertion-commands-args)
15423 (todo-insertion-commands-args-genlist)
15424 (todo-insertion-commands-names, todo-insertion-map)
15425 (todo-key-bindings-t, todo-key-bindings-t+a)
15426 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
15427 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
15428 (todo-nondiary-face, todo-print-buffer, todo-time-face)
15429 (todo-visited): New variables.
15431 2013-06-21 Glenn Morris <rgm@gnu.org>
15433 * play/cookie1.el (cookie-apropos): Add optional display argument.
15434 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
15435 (psychoanalyze-pinhead): Use cookie-doctor.
15437 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15439 * emacs-lisp/package.el (tar-get-file-descriptor)
15440 (tar--extract): Declare.
15442 2013-06-21 Eduard Wiebe <usenet@pusto.de>
15444 Extend flymake's warning predicate to be a function (bug#14217).
15445 * progmodes/flymake.el (flymake-warning-predicate): New.
15446 (flymake-parse-line): Use it.
15447 (flymake-warning-re): Make obsolete alias to
15448 `flymake-warning-predicate'.
15450 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15452 * emacs-lisp/package.el (package-alist): Include obsolete packages.
15453 (package-obsolete-list): Remove.
15454 (package-activate): Remove min-version argument. Add `force' argument.
15455 Adjust to new package-alist format.
15456 (package-mark-obsolete): Remove.
15457 (package-unpack): Force reload of the package's autoloads.
15458 (package-installed-p): Check builtins if the installed package is not
15460 (package-initialize): Don't reset package-obsolete-list.
15461 Don't specify which package version to activate.
15462 (package-process-define-package, describe-package-1)
15463 (package-menu--generate): Adjust to new package-alist format.
15465 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15467 * allout-widgets.el (allout-widgets-mode-off)
15468 (allout-widgets-mode-on, allout-widgets-pre-command-business)
15469 (allout-widgets-post-command-business)
15470 (allout-widgets-after-copy-or-kill-function)
15471 (allout-widgets-after-undo-function, allout-test-range-overlaps)
15472 (allout-decorate-item-and-context)
15473 (allout-graphics-modification-handler): Fix typos in docstrings.
15474 (allout-get-or-create-parent-widget): Use `looking-at-p'.
15476 * cmuscheme.el (scheme-start-file): Doc fix.
15477 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
15478 (scheme-input-filter): Use `string-match-p'.
15480 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
15482 * dired-x.el: Use Dired consistently in docstrings.
15484 * dired.el: Use Dired consistently in docstrings.
15485 (dired-readin, dired-mode): Use `setq-local'.
15486 (dired-switches-alist): Make defvar-local.
15487 (dired-buffers-for-dir): Use `zerop'.
15488 (dired-safe-switches-p, dired-switches-escape-p)
15489 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
15490 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
15491 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
15492 (dired-goto-next-nontrivial-file): Use `string-match-p'.
15493 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
15494 (dired-toggle-marks, dired-mark-files-containing-regexp)
15495 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
15496 (dired-flag-auto-save-files, dired-flag-backup-files):
15497 Use `looking-at-p'.
15498 (dired-mark-files-regexp, dired-build-subdir-alist):
15499 Use `string-match-p', `looking-at-p'.
15501 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
15502 (direct-print-region-helper): Use `string-match-p'.
15504 2013-06-21 Leo Liu <sdl.web@gmail.com>
15506 * comint.el (comint-redirect-results-list-from-process):
15509 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15511 * net/eww.el (eww-update-header-line-format): Quote % characters.
15513 2013-06-21 Glenn Morris <rgm@gnu.org>
15515 * play/cookie1.el (cookie): New custom group.
15516 (cookie-file): New option.
15517 (cookie-check-file): New function.
15518 (cookie): Make it interactive. Make start and end messages optional.
15519 Interactively, display the result. Default to cookie-file.
15520 (cookie-insert): Default to cookie-file.
15521 (cookie-snarf): Make start and end messages optional.
15522 Default to cookie-file. Use with-temp-buffer.
15523 (cookie-read): Rename from read-cookie.
15524 Make start and end messages optional. Default to cookie-file.
15525 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
15526 Do not autoload it.
15527 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
15528 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
15530 2013-06-21 Leo Liu <sdl.web@gmail.com>
15532 * progmodes/octave.el (octave-mode): Backward compatibility fix.
15534 2013-06-21 Glenn Morris <rgm@gnu.org>
15536 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
15538 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15539 Daniel Hackney <dan@haxney.org>
15541 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
15542 Consolidate the single-file vs tarball code.
15543 (package-desc-suffix): New function.
15544 (package-desc-full-name): Don't bother inlining it.
15545 (package-load-descriptor): Return the new package-desc.
15546 (package-mark-obsolete): Remove unused arg `package'.
15547 (package-unpack): Make it work for single files as well.
15548 Make it update package-alist.
15549 (package--make-autoloads-and-stuff): Rename from
15550 package--make-autoloads-and-compile. Don't compile any more.
15551 (package--compile): New function.
15552 (package-generate-description-file): New function, extracted from
15553 package-unpack-single.
15554 (package-unpack-single): Remove.
15555 (package--with-work-buffer): Add indentation and debugging info.
15556 (package-download-single): Remove.
15557 (package-install-from-archive): Rename from package-download-tar, make
15558 it take a pkg-desc, and make it work for single files as well.
15559 (package-download-transaction): Simplify.
15560 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
15561 external tar program.
15562 (package-install-from-buffer): Remove `pkg-desc' argument.
15563 Use package-tar-file-info for tar-mode buffers.
15564 (package-install-file): Simplify accordingly.
15565 (package-archive-base): Change to take a pkg-desc.
15566 * tar-mode.el (tar--check-descriptor): New function, extracted from
15567 tar-get-descriptor.
15568 (tar-get-descriptor): Use it.
15569 (tar-get-file-descriptor): New function.
15570 (tar--extract): New function, extracted from tar-extract.
15571 (tar--extract): Use it.
15572 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
15573 case the summary uses non-ascii. Adjust to new calling convention of
15574 package-tar-file-info.
15576 2013-06-21 Leo Liu <sdl.web@gmail.com>
15578 * comint.el (comint-redirect-results-list-from-process):
15579 Fix random delay. (Bug#14681)
15581 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15583 * profiler.el (profiler-format-number): Use log, not log10.
15585 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15587 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
15589 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15591 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
15592 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
15594 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
15595 (AUTOGENEL): ... here.
15596 * emacs-lisp/cl-macs.el (cl--sublis): New function.
15597 (cl--defsubst-expand): Use it.
15599 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
15601 * subr.el (log10): Move here from C code, and declare as obsolete.
15602 All uses of (log10 X) replaced with (log X 10).
15604 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15606 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
15607 Declare with `defvar-local'.
15608 (tabulated-list-use-header-line, tabulated-list-entries)
15609 (tabulated-list-padding, tabulated-list-printer)
15610 (tabulated-list-sort-key): Declare with `defvar-local'.
15611 (tabulated-list-init-header, tabulated-list-print-fake-header):
15614 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
15616 * arc-mode.el (archive-mode): Add `archive-write-file' to
15617 `write-contents-functions' also for remote files. (Bug#14652)
15619 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15621 * cus-edit.el (custom-commands): Fix typos.
15622 (custom-display): Fix tooltip text.
15623 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
15624 Fix typos in docstrings.
15625 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
15626 (custom-unlispify-menu-entry, custom-magic-value-create)
15627 (custom-add-see-also, custom-group-value-create): Use ?\s.
15628 (custom-guess-type, customize-apropos, editable-field)
15629 (custom-face-value-create): Use `string-match-p'.
15630 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
15632 * custom.el (custom-load-symbol): Use `string-match-p'.
15634 * ansi-color.el: Convert to lexical binding.
15635 (ansi-colors): Fix URL.
15636 (ansi-color-context, ansi-color-context-region): Use defvar-local.
15637 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
15638 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
15640 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15642 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
15644 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
15646 2013-06-19 Tom Tromey <tromey@redhat.com>
15648 * net/eww.el (eww-top-url): Remove.
15649 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
15650 (eww-render): Set new variables. Don't set eww-top-url.
15651 (eww-handle-link): Handle "prev", "home", and "contents".
15652 Downcase the rel text.
15653 (eww-top-url): Choose best top URL.
15655 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15657 * net/eww.el: Rewrite to implement form elements "by hand" instead of
15658 relying in widget.el. Using widget.el leads to too many
15659 user interface inconsistencies.
15660 (eww-self-insert): Implement entering commands in text fields.
15661 (eww-process-text-input): New function to make text input field editing
15663 (eww-submit): Rewrite to use the new-style form methods.
15664 (eww-select-display): Display the correct selected item.
15665 (eww-change-select): Implement changing the select value.
15666 (eww-toggle-checkbox): Implement radio/checkboxes.
15667 (eww-update-field): Fix compilation error.
15668 (eww-tag-textarea): Implement <textarea>.
15670 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
15671 we don't shadow mode-specific bindings.
15673 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
15676 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
15678 2013-06-19 Glenn Morris <rgm@gnu.org>
15680 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
15682 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15684 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
15687 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
15689 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15691 * net/browse-url.el (browse-url-browser-function):
15692 `eww-browse-url' has the right calling signature, `eww' does not.
15694 2013-06-19 Glenn Morris <rgm@gnu.org>
15696 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15697 Only eval autoloaded macros.
15698 (byte-compile-autoload): Only give the macro warning for macros.
15700 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
15701 (ps-underlined-faces): Declare.
15703 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
15704 (speedbar-add-supported-extension): Declare.
15706 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
15707 Don't include a date stamp in the header of the generated file;
15708 it leads to needless differences between output files.
15710 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15712 * net/secrets.el (secrets-struct-secret-content-type):
15713 Replace check of introspection data by a test call of "CreateItem".
15714 Some servers do not offer introspection.
15716 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
15718 * electric.el (electric-pair-mode): Improve interaction with
15719 electric-layout-mode.
15720 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
15721 (electric-pair-syntax): Use text-mode-syntax-table in comments
15723 (electric-pair--insert): New function.
15724 (electric-pair-post-self-insert-function): Use it and
15725 electric--after-char-pos.
15727 2013-06-19 Leo Liu <sdl.web@gmail.com>
15729 * progmodes/octave.el (octave-help): Fix regexp.
15731 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15733 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
15734 (shr-table-horizontal-line): Allow nil as a value, and change the
15736 (shr-insert-table-ruler): Respect the nil value.
15738 2013-06-18 Tom Tromey <tromey@barimba>
15740 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15742 (eww-open-file): New defun.
15743 (eww-render): Initialize new variables.
15744 (eww-display-html): Handle "link" and "a".
15745 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
15746 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
15747 (eww-back-url): Rename from eww-previous-url.
15748 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15751 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
15753 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
15754 Distinguish ternary operator tokens from slash symbol and slash
15757 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15759 Convert symbol prettification into minor mode and global minor mode.
15761 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
15762 `prog-prettify-symbols', and make a local defvar instead of defcustom.
15763 (prettify-symbols--keywords): Rename from
15764 `prog-prettify-symbols-alist' and make a local defvar.
15765 (prettify-symbols--compose-symbol): Rename from
15766 `prog--prettify-font-lock-compose-symbol'.
15767 (prettify-symbols--make-keywords): Rename from
15768 `prog-prettify-font-lock-symbols-keywords' and simplify.
15769 (prog-prettify-install): Remove.
15770 (prettify-symbols-mode): New minor mode, based on
15771 `prog-prettify-install'.
15772 (turn-on-prettify-symbols-mode): New function.
15773 (global-prettify-symbols-mode): New globalized minor mode.
15775 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15776 * progmodes/cfengine.el (cfengine3-mode):
15777 * progmodes/perl-mode.el (perl-mode): Don't call
15778 `prog-prettify-install'; set `prettify-symbols-alist' instead.
15780 2013-06-18 Juri Linkov <juri@jurta.org>
15782 * files-x.el (modify-file-local-variable-message): New function.
15783 (modify-file-local-variable)
15784 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
15785 and call `modify-file-local-variable-message' when it's non-nil.
15786 (add-file-local-variable, delete-file-local-variable)
15787 (add-file-local-variable-prop-line)
15788 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
15789 and use it. (Bug#9820)
15791 2013-06-18 Juri Linkov <juri@jurta.org>
15793 * emulation/vi.el (vi-shell-op):
15794 * emulation/vip.el (vip-execute-com, ex-command):
15795 * emulation/viper-cmd.el (viper-exec-bang):
15796 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
15797 the call of `shell-command-on-region'. (Bug#14637)
15799 * simple.el (shell-command-on-region): Doc fix.
15801 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15803 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
15806 2013-06-18 Glenn Morris <rgm@gnu.org>
15808 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
15810 * newcomment.el (comment-search-forward, comment-search-backward):
15811 Doc fix. (Bug#14376)
15813 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15815 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
15816 (buffer-face-mode-invoke): Doc fix.
15818 2013-06-18 Matthias Meulien <orontee@gmail.com>
15820 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
15821 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
15823 2013-06-18 Glenn Morris <rgm@gnu.org>
15825 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
15826 Replace obsolete function generic-make-keywords with its expansion.
15828 * progmodes/python.el (ffap-alist): Declare.
15830 * textmodes/reftex.el (bibtex-mode-map): Declare.
15832 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15834 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
15835 (package-unpack, package-unpack-single): Return the pkg-dir.
15836 (package-download-transaction): Use it to update package-alist.
15838 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15840 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
15843 2013-06-17 Juri Linkov <juri@jurta.org>
15845 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
15847 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15849 * emacs-lisp/package.el (package-load-descriptor):
15850 Remove `with-syntax-table' call, `read' doesn't need it.
15851 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
15853 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15855 * startup.el (command-line): Expand package name returned by
15856 `package--description-file' (bug#14639).
15858 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15860 * emacs-lisp/package.el (package-load-descriptor): Do not call
15861 `emacs-lisp-mode', just use its syntax table.
15863 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15865 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
15866 `font-lock-extra-managed-props' if any prettifying keyword is added.
15867 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
15868 (prog-mode): Use `setq-local'.
15870 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15872 * international/characters.el (standard-case-table): Set syntax of ?»
15873 and ?« to punctuation.
15875 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
15877 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
15878 Save relevant match data before calling `syntax-ppss' (bug#14595).
15880 2013-06-15 Juri Linkov <juri@jurta.org>
15882 * files-x.el (modify-file-local-variable-prop-line): Add local
15883 variables to the end of the existing comment on the first line.
15884 Use `file-auto-mode-skip' to skip interpreter magic line,
15885 and also skip XML declaration.
15887 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15889 * startup.el (package--builtin-versions): New var.
15890 (package-subdirectory-regexp): Remove.
15891 (package--description-file): Hard code its value instead.
15893 * emacs-lisp/package.el: Don't activate packages older than builtin.
15894 (package-obsolete-list): Rename from package-obsolete-alist, and make
15895 it into a simple list of package-desc.
15896 (package-strip-version): Remove.
15897 (package-built-in-p): Use package--builtin-versions.
15898 (package-mark-obsolete): Simplify.
15899 (package-process-define-package): Mark it obsolete if older than the
15901 (package-handle-response): Use line-end-position.
15902 (package-read-archive-contents, package--download-one-archive):
15904 (package--add-to-archive-contents): Skip if older than the builtin or
15906 (package-menu-describe-package): Fix last change.
15907 (package-list-unversioned): New var.
15908 (package-menu--generate): Use it.
15910 * emacs-lisp/autoload.el: Manage package--builtin-versions.
15911 (autoload--insert-text, autoload--insert-cookie-text): New functions.
15912 (autoload-builtin-package-versions): New variable.
15913 (autoload-generate-file-autoloads): Use them.
15914 Remove the list of autoloaded functions/macros from the
15915 (autoload...) comments.
15917 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
15919 2013-06-15 Eli Zaretskii <eliz@gnu.org>
15921 * simple.el (line-move-partial): Don't jump to the next screen
15922 line as soon as it becomes visible. Instead, continue enlarging
15923 the vscroll until the portion of a tall screen line that's left on
15924 display is about the height of the frame's default font.
15927 2013-06-15 Glenn Morris <rgm@gnu.org>
15929 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
15930 compilation-error-regexp-alist void, or local while let-bound.
15932 * progmodes/make-mode.el (makefile-mode-syntax-table):
15933 Treat "=" as punctuation. (Bug#14614)
15935 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
15937 * help-fns.el (describe-variable):
15938 Add extra line for permanent-local variables.
15940 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
15942 * progmodes/scheme.el (scheme-font-lock-keywords-2):
15943 Add export, import, library. (Bug#9164)
15944 (library): Set indent function.
15946 2013-06-14 Glenn Morris <rgm@gnu.org>
15948 * term/xterm.el (xterm--query):
15949 Stop after first matching handler. (Bug#14615)
15951 2013-06-14 Ivan Kanis <ivan@kanis.fr>
15953 Add support for dired in saveplace.
15954 * dired.el (dired-initial-position-hook): New variable.
15955 (dired-initial-position): Call hook to place cursor position.
15956 * saveplace.el (save-place-to-alist): Add dired position.
15957 (save-place-dired-hook): New function.
15959 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
15961 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
15962 through a symbol rather than letrec.
15964 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
15965 (package-desc): Add `dir' field.
15966 (package-desc-full-name): New function.
15967 (package-load-descriptor): Combine the two arguments. Don't use `load'.
15968 (package-maybe-load-descriptor): Remove.
15969 (package-load-all-descriptors): Just call package-load-descriptor.
15970 (package--disabled-p): New function.
15971 (package-desc-vers, package-desc-doc): Remove aliases.
15972 (package--dir): Remove function.
15973 (package-activate): Check if a package is disabled.
15974 (package-process-define-package): New function, extracted from
15976 (define-package): Turn into a place holder.
15977 (package-unpack-single, package-tar-file-info):
15978 Use package--description-file.
15979 (package-compute-transaction): Use package--disabled-p.
15980 (package-download-transaction): Don't call
15981 package-maybe-load-descriptor since they're all loaded anyway.
15982 (package-install): Change argument to be a pkg-desc.
15983 (package-delete): Use a single pkg-desc argument.
15984 (describe-package-1): Use package-desc-dir instead of package--dir.
15985 Use package-desc property instead of package-symbol.
15986 (package-install-button-action): Adjust accordingly.
15987 (package--push): Rewrite.
15988 (package-menu--print-info): Adjust accordingly. Change the ID format
15990 (package-menu-describe-package, package-menu-get-status)
15991 (package-menu--find-upgrades, package-menu-mark-upgrades)
15992 (package-menu-execute, package-menu--name-predicate):
15993 Adjust accordingly.
15994 * startup.el (package--description-file): New function.
15995 (command-line): Use it.
15996 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15997 Use package-desc-version.
15999 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
16000 (byte-compile-preprocess): Use it.
16001 (byte-compile-file-form-defalias): Try a bit harder to use macros we
16002 can't quite recognize.
16003 (byte-compile-add-to-list): Remove.
16004 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
16005 (cconv-closure-convert): Add assertion.
16007 * emacs-lisp/map-ynp.el: Use lexical-binding.
16008 (map-y-or-n-p): Remove unused vars `tail' and `object'.
16009 Factor out some repeated code.
16011 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
16013 * subr.el (with-eval-after-load): New macro.
16014 (eval-after-load): Allow form to be a function.
16015 take advantage of lexical-binding.
16016 (do-after-load-evaluation): Use dolist and adjust to new format.
16017 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
16019 2013-06-13 Juri Linkov <juri@jurta.org>
16021 * replace.el (perform-replace): Display "symbol " and other search
16022 modes from `isearch-message-prefix' in the *Help* buffer.
16024 * isearch.el (isearch-query-replace): Add " symbol" and other
16025 possible search modes from `isearch-message-prefix' to the prompt.
16026 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
16027 when reading a regexp to collect.
16029 2013-06-13 Juri Linkov <juri@jurta.org>
16031 * isearch.el (word-search-regexp): Match whitespace if the search
16032 string begins or ends in whitespace. The LAX arg is applied to
16033 both ends of the search string. Use `regexp-quote' and explicit
16034 \< and \> instead of \b. Use \` and \' instead of ^ and $.
16035 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
16036 boundaries are replaced with symbol boundaries, and characters
16037 between symbols match non-word non-symbol syntax. (Bug#14602)
16039 2013-06-13 Juri Linkov <juri@jurta.org>
16041 * isearch.el (isearch-del-char): Don't exceed the length of
16042 `isearch-string' by the prefix arg. (Bug#14563)
16044 2013-06-13 Juri Linkov <juri@jurta.org>
16046 * isearch.el (isearch-yank-word, isearch-yank-line)
16047 (isearch-char-by-name, isearch-quote-char)
16048 (isearch-printing-char, isearch-process-search-char):
16049 Add optional count prefix arg. (Bug#14563)
16051 * international/isearch-x.el
16052 (isearch-process-search-multibyte-characters):
16053 Add optional count prefix arg.
16055 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
16057 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
16058 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
16061 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
16063 * subr.el (set-temporary-overlay-map): Add on-exit argument.
16065 2013-06-13 Glenn Morris <rgm@gnu.org>
16067 * startup.el (tty-handle-args):
16068 Don't just discard "--" and anything after. (Bug#14608)
16070 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
16072 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
16074 Implement changes in Secret Service API. Make it backward compatible.
16075 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
16076 (secrets-create-item): Use it. Prefix properties with interface.
16078 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
16080 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
16081 (term-emulate-terminal): Respect term-suppress-hard-newline.
16083 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
16085 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
16086 Only remove a `thumb-file' overlay. (Bug#14548)
16088 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
16090 * mail/reporter.el (reporter-submit-bug-report):
16091 Handle missing package-name. (Bug#14600)
16093 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16095 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
16096 (reftex-citation-prompt, reftex-default-bibliography)
16097 (reftex-bib-or-thebib, reftex-get-bibfile-list)
16098 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
16099 (reftex-bib-sort-author, reftex-bib-sort-year)
16100 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
16101 (reftex-extract-bib-entries-from-thebibliography)
16102 (reftex-get-bibkey-default, reftex-get-bib-names)
16103 (reftex-parse-bibtex-entry, reftex-get-bib-field)
16104 (reftex-format-bib-entry, reftex-parse-bibitem)
16105 (reftex-format-bibitem, reftex-do-citation)
16106 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
16107 (reftex-restrict-bib-matches, reftex-extract-bib-file)
16108 (reftex-insert-bib-matches, reftex-format-citation)
16109 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
16110 (reftex-create-bibtex-file): Add docstrings, mostly by converting
16111 existing comments into docstrings.
16113 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
16115 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
16117 2013-06-12 Andreas Schwab <schwab@suse.de>
16119 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
16120 for auto-save files.
16122 2013-06-12 Glenn Morris <rgm@gnu.org>
16124 * ido.el (ido-delete-ignored-files): Remove.
16125 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
16126 Go back to calling ido-ignore-item-p directly.
16128 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
16130 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
16132 * ido.el (ido-delete-ignored-files): New function,
16133 split from ido-make-file-list-1.
16134 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
16135 (ido-make-file-list-1): Use ido-delete-ignored-files.
16137 2013-06-12 Leo Liu <sdl.web@gmail.com>
16139 * progmodes/octave.el (inferior-octave-startup)
16140 (inferior-octave-completion-table)
16141 (inferior-octave-track-window-width-change)
16142 (octave-eldoc-function-signatures, octave-help)
16143 (octave-find-definition): Use single quoted strings.
16144 (inferior-octave-startup-args): Change default value.
16145 (inferior-octave-startup): Do not hard code "-i" and
16146 "--no-line-editing".
16147 (inferior-octave-resync-dirs): Add optional arg NOERROR.
16148 (inferior-octave-directory-tracker): Use it.
16149 (octave-goto-function-definition): Robustify.
16150 (octave-help): Support highlighting operators in 'See also'.
16151 (octave-find-definition): Find subfunctions only in Octave mode.
16153 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
16155 * help-fns.el (help-fns--compiler-macro): If the handler function is
16156 named, then put a link to it.
16157 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
16158 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
16159 (cl-typep): Use it.
16160 (cl-eval-when): Simplify debug spec.
16161 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
16162 compiler-macro function instead of setting `compiler-macro-file'.
16164 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
16166 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
16167 * vc/vc-hooks.el (vc-stay-local): Doc fix.
16169 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
16170 Daniel Hackney <dan@haxney.org>
16172 First part of Daniel Hackney's patch to package.el.
16173 * emacs-lisp/package.el: Use defstruct.
16174 (package-desc): New, main struct.
16175 (package--bi-desc, package--ac-desc): New structs, used to describe the
16176 format in external files.
16177 (package-desc-vers): Replace with package-desc-version accessor.
16178 (package-desc-doc): Replace with package-desc-summary accessor.
16179 (package-activate-1): Remove `package' arg since the pkg-vec now
16181 (define-package): Use package-desc-from-define.
16182 (package-unpack-single): Change file-name arg to be a symbol.
16183 (package--add-to-archive-contents): Use package-desc-create and new
16184 accessor functions to package--ac-desc.
16185 (package-buffer-info, package-tar-file-info): Return a package-desc.
16186 (package-install-from-buffer): Remove `type' argument. Change pkg-info
16187 arg to be a package-desc.
16188 (package-install-file): Adjust accordingly. Use \' to match EOS.
16189 (package--from-builtin): New function.
16190 (describe-package-1, package-menu--generate): Use it.
16191 (package--make-autoloads-and-compile): Change name arg to be a symbol.
16192 (package-generate-autoloads): Idem and return the name of the file.
16193 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16194 Change pkg-info arg to be a package-desc.
16195 Use package-make-ac-desc.
16196 (package-upload-file): Use \' to match EOS.
16197 * finder.el (finder-compile-keywords): Use package-make-builtin.
16199 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
16201 * vc/vc.el (vc-deduce-fileset): Change error message.
16202 (vc-read-backend): New function.
16203 (vc-next-action): Use it.
16205 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
16207 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
16208 (prolog-font-lock-keywords): Use regexp-opt instead.
16209 Don't manually highlight strings.
16210 (prolog-mode-variables): Simplify comment-start-skip.
16211 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
16213 * emacs-lisp/generic.el (generic--normalise-comments)
16214 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
16215 (generic-mode-set-comments): Use them.
16216 (generic-bracket-support): Use setq-local.
16217 (generic-make-keywords-list): Declare obsolete.
16219 2013-06-11 Glenn Morris <rgm@gnu.org>
16221 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
16222 Prettify after setting font-lock-defaults. (Bug#14574)
16224 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
16226 * replace.el (query-replace, occur-read-regexp-defaults-function)
16228 * subr.el (declare-function, number-sequence, local-set-key)
16229 (substitute-key-definition, locate-user-emacs-file)
16230 (with-silent-modifications, split-string, eval-after-load):
16231 Fix typos, remove unneeded backslashes and reflow some docstrings.
16233 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
16235 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
16236 default for Elisp files.
16238 2013-06-11 Glenn Morris <rgm@gnu.org>
16240 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
16241 although define-derived-mode was doing this anyway. (Bug#14583)
16243 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
16245 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16246 Fix make-variable-buffer-local call to refer to the correct variable.
16248 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
16250 * eshell/em-term.el (eshell-visual-commands)
16251 (eshell-visual-subcommands, eshell-visual-options):
16252 Add summary line to docstrings. Add cross-references.
16254 2013-06-10 Glenn Morris <rgm@gnu.org>
16256 * epa.el (epa-read-file-name): New function. (Bug#14510)
16257 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
16259 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
16261 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
16262 output redirection to be ignored with visual commands.
16264 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
16266 * eshell/em-term.el (eshell-visual-command-p): New function.
16267 (eshell-term-initialize): Move long lambda to separate function
16268 eshell-visual-command-p.
16269 * eshell/em-dirs.el (eshell-dirs-initialize):
16270 * eshell/em-script.el (eshell-script-initialize):
16271 Add missing #' to lambda.
16273 2013-06-08 Leo Liu <sdl.web@gmail.com>
16275 * progmodes/octave.el (octave-add-log-current-defun): New function.
16276 (octave-mode): Set add-log-current-defun-function.
16277 (octave-goto-function-definition): Do not move point if not found.
16278 (octave-find-definition): Enhance to try subfunctions first.
16280 2013-06-08 Glenn Morris <rgm@gnu.org>
16282 * emacs-lisp/bytecomp.el (byte-compile-char-before)
16283 (byte-compile-backward-char, byte-compile-backward-word):
16284 Improve previous change, to handle non-explicit nil.
16286 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
16288 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
16289 (smie--opener/closer-at-point): New function.
16290 (smie--matching-block-data): Use it. Don't match from right after an
16291 opener or right before a closer. Obey smie-blink-matching-inners.
16292 Don't signal a mismatch for repeated inners like "switch..case..case".
16294 2013-06-07 Leo Liu <sdl.web@gmail.com>
16296 * progmodes/octave.el (octave-mode): Set comment-use-global-state
16298 (octave-function-header-regexp): Fix. (Bug#14570)
16299 (octave-help-mode-finish-hook, octave-help-mode-finish):
16300 Remove. Just use temp-buffer-show-hook.
16302 * newcomment.el (comment-search-backward): Revert last change.
16305 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
16307 2013-06-07 Eli Zaretskii <eliz@gnu.org>
16309 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
16310 through xargs, to avoid failure due to MS-Windows limitations on
16311 command-line length.
16313 2013-06-06 Glenn Morris <rgm@gnu.org>
16315 * font-lock.el (lisp-font-lock-keywords-2):
16316 Treat user-error like error.
16318 * emacs-lisp/bytecomp.el (byte-compile-char-before)
16319 (byte-compile-backward-char, byte-compile-backward-word):
16320 Handle explicit nil arguments. (Bug#14565)
16322 2013-06-05 Alan Mackenzie <acm@muc.de>
16324 * isearch.el (isearch-allow-prefix): New user option.
16325 (isearch-other-meta-char): Don't exit isearch when a prefix
16326 argument is typed whilst `isearch-allow-prefix' is non-nil.
16329 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16331 * autorevert.el (auto-revert-notify-handler): Use memq.
16332 Hide assertion failure.
16334 * skeleton.el: Use cl-lib.
16335 (skeleton-further-elements): Use defvar-local.
16336 (skeleton-insert): Use cl-progv.
16338 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
16340 * progmodes/prog-mode.el (prog-prettify-symbols)
16341 (prog-prettify-install): Update docstrings.
16343 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16345 * simple.el: Move all the prog-mode code to prog-mode.el.
16346 * progmodes/prog-mode.el: New file.
16347 * loadup.el: Add prog-mode.el.
16349 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
16351 * simple.el (prog-prettify-symbols): Add version.
16352 (prog-prettify-install): Add convenience function to prettify symbols.
16354 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
16355 (perl--augmented-font-lock-keywords-1)
16356 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
16357 variables and use it.
16359 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
16360 (cfengine3-mode): Remove unneeded variable and use it.
16362 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
16363 (lisp--augmented-font-lock-keywords-1)
16364 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
16365 Remove unneeded variables and use it.
16367 2013-06-05 João Távora <joaotavora@gmail.com>
16369 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
16370 to point when opening the connection. (Bug#14380)
16372 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16374 * subr.el (load-history-regexp, load-history-filename-element)
16375 (eval-after-load, after-load-functions, do-after-load-evaluation)
16376 (eval-next-after-load, display-delayed-warnings)
16377 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
16378 definition of save-match-data.
16379 (overriding-local-map): Remove accidental obsolescence declaration.
16381 * emacs-lisp/edebug.el (edebug-result): Move before first use.
16383 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
16385 Generalize symbol prettify support to prog-mode and implement it
16386 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
16387 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
16388 (prog--prettify-font-lock-compose-symbol)
16389 (prog-prettify-font-lock-symbols-keywords): New variables and
16390 functions to support symbol prettification.
16391 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
16392 (lisp--augmented-font-lock-keywords-1)
16393 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
16394 (lisp--prettify-symbols-alist): Implement prettify of lambda.
16395 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
16396 (cfengine3--prettify-symbols-alist, cfengine3-mode):
16397 Implement prettify of -> => :: strings.
16398 * progmodes/perl-mode.el (perl-prettify-symbols)
16399 (perl--font-lock-compose-symbol)
16400 (perl--font-lock-symbols-keywords): Move to prog-mode.
16401 (perl--prettify-symbols-alist): Prettify -> => :: strings.
16402 (perl-font-lock-keywords-1)
16403 (perl-font-lock-keywords-2): Remove explicit prettify support.
16404 (perl--augmented-font-lock-keywords)
16405 (perl--augmented-font-lock-keywords-1)
16406 (perl--augmented-font-lock-keywords-2, perl-mode):
16407 Implement prettify support.
16409 2013-06-05 Leo Liu <sdl.web@gmail.com>
16411 Re-implement SMIE matching block highlight using
16412 show-paren-data-function. (Bug#14395)
16413 * emacs-lisp/smie.el (smie-matching-block-highlight)
16414 (smie--highlight-matching-block-overlay)
16415 (smie--highlight-matching-block-lastpos)
16416 (smie-highlight-matching-block)
16417 (smie-highlight-matching-block-mode): Remove.
16418 (smie--matching-block-data-cache): New variable.
16419 (smie--matching-block-data): New function.
16420 (smie-setup): Use smie--matching-block-data for
16421 show-paren-data-function.
16423 * progmodes/octave.el (octave-mode-menu): Fix.
16424 (octave-find-definition): Skip garbage lines.
16426 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16428 Fix compilation error with simultaneous dynamic+lexical scoping.
16429 Add warning when a defvar appears after the first let-binding.
16430 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
16431 (byte-compile-close-variables): Initialize it.
16432 (byte-compile--declare-var): New function.
16433 (byte-compile-file-form-defvar)
16434 (byte-compile-file-form-define-abbrev-table)
16435 (byte-compile-file-form-custom-declare-variable): Use it.
16436 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
16437 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
16438 (byte-compile-bind): Handle dynamic bindings that shadow
16440 (byte-compile-unbind): Make arg non-optional.
16441 (byte-compile-let): Simplify.
16442 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
16443 (cconv--analyse-function, cconv-analyse-form): Populate it.
16444 Protect byte-compile-bound-variables to limit the scope of defvars.
16445 (cconv-analyse-form): Add missing rule for (defvar <foo>).
16446 Remove unneeded rule for `declare'.
16448 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
16449 so as to avoid depending on cl-adjoin at run-time.
16450 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
16452 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
16453 (macroexp--warn-and-return): Use it.
16455 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16457 * subr.el: Convert to lexical binding.
16458 (overriding-local-map): Make obsolete.
16459 (add-to-list): Doc fix. Add compiler macro.
16460 (read-key): Swap values of local maps.
16462 2013-06-05 Leo Liu <sdl.web@gmail.com>
16464 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
16466 2013-06-04 Leo Liu <sdl.web@gmail.com>
16468 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
16469 (compilation-auto-jump): Suppress the "Mark set" message to give
16470 way to exit message.
16472 2013-06-04 Alan Mackenzie <acm@muc.de>
16474 Remove faulty optimisation from indentation calculation.
16475 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
16476 search limit based on 2000 characters back from indent-point.
16478 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16480 * eshell/em-term.el (cl-lib): Require `cl-lib'.
16482 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
16484 * emacs-lisp/lisp.el: Use lexical-binding.
16485 (lisp--local-variables-1, lisp--local-variables): New functions.
16486 (lisp--local-variables-completion-table): New var.
16487 (lisp-completion-at-point): Use it complete let-bound vars.
16489 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
16490 eagerly (bug#14422).
16492 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
16494 * autorevert.el (auto-revert-notify-enabled)
16495 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16496 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
16497 (auto-revert-notify-handler): Handle also gfilenotify.
16499 * subr.el (file-notify-handle-event): New defun. Replacing ...
16500 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
16503 2013-06-03 Juri Linkov <juri@jurta.org>
16505 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
16506 `M-s h .'. (Bug#14427)
16508 * hi-lock.el (highlight-symbol-at-point): New alias for the new
16509 command `hi-lock-face-symbol-at-point'.
16510 (hi-lock-face-symbol-at-point): New command.
16511 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
16512 (hi-lock-menu): Add `highlight-symbol-at-point'.
16513 (hi-lock-mode): Doc fix.
16515 * isearch.el (isearch-forward-symbol-at-point): New command.
16516 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
16517 (isearch-highlight-regexp): Add a regexp which matches
16518 words/symbols for word/symbol mode.
16520 * subr.el (find-tag-default-bounds): New function with the body
16521 mostly moved from `find-tag-default'.
16522 (find-tag-default): Move most code to `find-tag-default-bounds',
16523 call it and apply `buffer-substring-no-properties' afterwards.
16525 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16527 * eshell/em-term.el (eshell-term-initialize):
16528 Use `cl-intersection' rather than `intersection'.
16530 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
16532 * vc/log-view.el: Doc fix.
16533 (log-view-mode-map): Copy keymap from `special-mode-map'.
16535 2013-06-02 Eric Ludlam <zappo@gnu.org>
16537 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
16538 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
16539 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
16540 (eieio-unbound, eieio-default-superclass)
16541 (eieio--define-field-accessors, method-static, method-before)
16542 (method-primary, method-after, method-num-lists)
16543 (method-generic-before, method-generic-primary)
16544 (method-generic-after, method-num-slots)
16545 (eieio-specialized-key-to-generic-key)
16546 (eieio--check-type, class-v, class-p)
16547 (eieio-class-name, define-obsolete-function-alias)
16548 (eieio-class-parents-fast, eieio-class-children-fast)
16549 (same-class-fast-p, class-constructor, generic-p)
16550 (generic-primary-only-p, generic-primary-only-one-p)
16551 (class-option-assoc, class-option, eieio-object-p)
16552 (class-abstract-p, class-method-invocation-order)
16553 (eieio-defclass-autoload-map, eieio-defclass-autoload)
16554 (eieio-class-un-autoload, eieio-defclass)
16555 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
16556 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
16557 (eieio--defgeneric-init-form, eieio-defgeneric-form)
16558 (eieio-defgeneric-reset-generic-form)
16559 (eieio-defgeneric-form-primary-only)
16560 (eieio-defgeneric-reset-generic-form-primary-only)
16561 (eieio-defgeneric-form-primary-only-one)
16562 (eieio-defgeneric-reset-generic-form-primary-only-one)
16563 (eieio-unbind-method-implementations)
16564 (eieio--defmethod, eieio--typep)
16565 (eieio-perform-slot-validation, eieio-validate-slot-value)
16566 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
16567 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
16568 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
16569 (eieio-slot-name-index, eieio-class-slot-name-index)
16570 (eieio-set-defaults, eieio-initarg-to-attribute)
16571 (eieio-attribute-to-initarg, eieio-c3-candidate)
16572 (eieio-c3-merge-lists, eieio-class-precedence-c3)
16573 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
16574 (eieio-class-precedence-list, eieio-generic-call-methodname)
16575 (eieio-generic-call-arglst, eieio-generic-call-key)
16576 (eieio-generic-call-next-method-list)
16577 (eieio-pre-method-execution-functions, eieio-generic-call)
16578 (eieio-generic-call-primary-only, eieiomt-method-list)
16579 (eieiomt-optimizing-obarray, eieiomt-install)
16580 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
16581 (eieio-generic-form, eieio-defmethod, make-obsolete)
16582 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
16583 (defclass): Remove `eval-and-compile' from macro.
16584 (call-next-method, shared-initialize): Instead of using
16585 `scoped-class' variable, use new eieio--scoped-class, and
16586 eieio--with-scoped-class.
16587 (initialize-instance): Rename local variable 'scoped-class' to
16588 'this-class' to remove ambiguitity from old global.
16590 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
16592 (eieio--scoped-class-stack): New variable.
16593 (eieio--scoped-class): New fcn.
16594 (eieio--with-scoped-class): New scoping macro.
16595 (eieio-defclass): Use pushnew instead of add-to-list.
16596 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
16597 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
16598 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
16599 `scoped-class' variable, use new eieio--scoped-class, and
16600 eieio--with-scoped-class.
16602 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
16604 2013-06-02 Tassilo Horn <tsdh@gnu.org>
16606 * eshell/esh-ext.el (eshell-external-command): Pass args to
16607 `eshell-find-interpreter'.
16608 (eshell-find-interpreter): Add new second parameter ARGS.
16610 * eshell/em-script.el (eshell-script-initialize): Add second arg
16611 to the function added as MATCH to `eshell-interpreter-alist'.
16613 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
16614 the function added as MATCH to `eshell-interpreter-alist'.
16616 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
16617 (eshell-visual-options): New defcustom.
16618 (eshell-escape-control-x): Adapt docstring.
16619 (eshell-term-initialize): Test `eshell-visual-subcommands' and
16620 `eshell-visual-options' in addition to `eshell-visual-commands'.
16621 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
16623 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
16625 * progmodes/python.el (python-indent-block-enders): Add break,
16626 continue and raise keywords.
16628 2013-06-01 Glenn Morris <rgm@gnu.org>
16630 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
16632 Plain (f)boundp silences compilation warnings since Emacs 22.1.
16633 * progmodes/cc-cmds.el (delete-forward-p):
16634 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
16635 * progmodes/cc-engine.el (buffer-syntactic-context):
16636 * progmodes/cc-fonts.el (face-property-instance):
16637 * progmodes/cc-mode.el (set-keymap-parents):
16638 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
16639 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
16640 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
16641 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
16642 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
16644 * progmodes/cc-vars.el (other): Emacs has this widget since
16645 at least 21.1, so don't (re)define it.
16647 * eshell/em-cmpl.el (eshell-cmpl-initialize):
16648 Replace the obsolete alias pcomplete-arg-quote-list.
16650 2013-06-01 Leo Liu <sdl.web@gmail.com>
16652 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
16653 punctuation syntax.
16654 (inferior-octave-minimal-columns)
16655 (inferior-octave-last-column-width): New variables.
16656 (inferior-octave-track-window-width-change): New function.
16657 (inferior-octave-mode): Adjust column width so that Octave output,
16658 for example from 'ls', can fit into the window nicely.
16660 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16662 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16663 Highlight expansions inside regexp literals.
16665 2013-05-31 Glenn Morris <rgm@gnu.org>
16667 * obsolete/sym-comp.el (symbol-complete):
16668 Replace obsolete completion-annotate-function.
16670 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
16672 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16674 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16675 New function, checks if point is inside a literal that allows
16676 expression expansion.
16677 (ruby-syntax-propertize-expansion): Use it.
16678 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
16681 2013-05-30 Juri Linkov <juri@jurta.org>
16683 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
16685 (isearch-invisible): New variable.
16686 (isearch-forward): Doc fix.
16687 (isearch-mode): Set `isearch-invisible'
16688 to the value of `search-invisible'.
16689 (isearch-toggle-case-fold): Doc fix.
16690 (isearch-toggle-invisible): New command.
16691 (isearch-query-replace): Let-bind `search-invisible'
16692 to the value of `isearch-invisible'.
16693 (isearch-search): Use `isearch-invisible' instead of
16694 `search-invisible'. Let-bind `search-invisible'
16695 to the value of `isearch-invisible'. (Bug#11378)
16697 2013-05-30 Juri Linkov <juri@jurta.org>
16699 * replace.el (perform-replace): Avoid `isearch-range-invisible'
16700 call when `query-flag' is nil and `search-invisible' is non-nil.
16703 2013-05-30 Glenn Morris <rgm@gnu.org>
16705 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
16707 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
16708 (cc-require): Suppress spurious "noruntime" warnings.
16709 (cc-require-when-compile): Use fboundp, for sake of compiler.
16711 * progmodes/cc-mode.el: Move load of cc-vars before that of
16712 cc-langs (which in turn loads cc-vars), to quieten compiler.
16714 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16716 * paren.el: Simplify the code.
16717 (show-paren-mode): Always start the timer.
16718 (show-paren--idle-timer): Rename from show-paren-idle-timer.
16719 (show-paren--overlay, show-paren--overlay-1): Rename from
16720 show-paren-overlay and show-paren-overlay-1, and initialize to an
16721 overlay rather than to nil.
16722 (show-paren-function): Misc cleanup and simplifications.
16724 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16726 * paren.el (show-paren-data-function): New hook.
16727 (show-paren--default): New function, extracted from show-paren-function.
16728 (show-paren-function): Use show-paren-data-function.
16730 2013-05-30 Glenn Morris <rgm@gnu.org>
16732 * ielm.el (ielm-map, ielm-complete-symbol):
16733 Use completion-at-point rather than obsolete functions.
16734 (inferior-emacs-lisp-mode): Doc fix.
16735 Set completion-at-point-functions, rather than
16736 comint-dynamic-complete-functions.
16738 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
16739 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
16740 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
16742 * image.el (image-animated-p): Tweak definition.
16744 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
16745 (rlogin-process-connection-type): Tweak default. Add set-after.
16746 (rlogin-host): Doc fix.
16747 (rlogin): Tweak prompt.
16748 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
16750 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
16751 * progmodes/tcl.el (inferior-tcl-mode-map):
16752 Use completion-at-point rather than obsolete alias.
16754 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
16756 * minibuffer.el (read-file-name-completion-ignore-case):
16757 Move before completion--in-region, for eager macro expansion.
16759 2013-05-29 Juri Linkov <juri@jurta.org>
16761 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
16762 for total count of matching lines. Add `global-matches' for total
16763 count of matches. Rename `matches' to `lines' for count of
16764 matching lines. Add `matches' for count of matches.
16765 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
16766 to `prev-line' for line number of prev match endpt.
16767 Increment `matches' for every match. Print the number of
16768 matching lines in the header.
16769 (occur-context-lines): Rename `lines' to `curr-line'.
16770 Rename `prev-lines' to `prev-line'. (Bug#14017)
16772 2013-05-29 Juri Linkov <juri@jurta.org>
16774 * replace.el (perform-replace): Add `skip-read-only-count',
16775 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
16776 Increment them for corresponding conditions and report the number
16777 of skipped occurrences in the final message. (Bug#11746)
16778 (query-replace, query-replace-regexp, query-replace-regexp-eval)
16779 (replace-string, replace-regexp): Doc fix.
16781 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
16783 * emacs-lisp/trace.el (trace--read-args): Provide a default.
16785 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
16786 prog-mode-map (bug#14504).
16788 2013-05-29 Leo Liu <sdl.web@gmail.com>
16790 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
16791 (octave-help): Small simplification.
16793 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
16794 off the highlight first.
16796 2013-05-29 Glenn Morris <rgm@gnu.org>
16798 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
16799 Handle idlwave-last-system-routine-info-cons-cell being nil.
16801 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16802 (idlwave-write-paths): Simplify via with-temp-buffer.
16804 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
16805 * emulation/cua-rect.el: Also load cua-base at run time.
16807 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
16808 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
16809 (cperl-imenu-on-info): Require imenu.
16811 2013-05-28 Alan Mackenzie <acm@muc.de>
16813 Handle "capitalised keywords" correctly.
16814 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
16816 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
16818 * eshell/em-unix.el: Add -r option to cp.
16820 2013-05-28 Glenn Morris <rgm@gnu.org>
16822 * vc/vc-arch.el (vc-exec-after): Declare.
16823 (vc-switches): Autoload.
16824 * vc/vc-bzr.el: No need to require vc when compiling.
16825 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
16826 (vc-resynch-buffer, vc-dir-refresh): Declare.
16827 (vc-setup-buffer, vc-switches): Autoload.
16828 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
16829 (vc-resynch-buffer): Declare.
16830 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
16831 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
16832 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
16833 (grep-read-regexp, grep-read-files, grep-expand-template)
16834 (vc-dir-refresh): Declare.
16835 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
16836 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
16837 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
16838 * vc/vc-mtn.el (vc-exec-after): Declare.
16839 (vc-switches): Autoload.
16840 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
16841 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
16842 (vc-file-tree-walk): Declare.
16843 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
16844 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
16845 (vc-tag-precondition, vc-rename-master): Autoload.
16846 * vc/vc-svn.el (vc-exec-after): Declare.
16847 (vc-switches, vc-setup-buffer): Autoload.
16848 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
16850 (vc-resynch-buffer): Declare.
16852 * obsolete/fast-lock.el (byte-compile-warnings):
16853 Don't warn about obsolete features in this obsolete file.
16855 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
16856 Move definition before use.
16858 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
16859 (dun-unix-verbs): Remove dun-zippy.
16860 (dun-zippy): Remove function.
16862 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
16864 2013-05-27 Juri Linkov <juri@jurta.org>
16866 * replace.el (replace-search): New function with code moved out
16867 from `perform-replace'.
16868 (replace-highlight, replace-dehighlight): Move function definitions
16869 up closer to `replace-search'. (Bug#11746)
16871 2013-05-27 Juri Linkov <juri@jurta.org>
16873 * replace.el (perform-replace): Ignore invisible matches.
16874 In addition to checking `query-replace-skip-read-only', also
16875 filter out matches by calling `run-hook-with-args-until-failure'
16876 on `isearch-filter-predicates', and also check `search-invisible'
16877 for t or call `isearch-range-invisible'.
16878 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
16880 2013-05-27 Juri Linkov <juri@jurta.org>
16882 * isearch.el (isearch-filter-predicates): Rename from
16883 `isearch-filter-predicate'. Doc fix. (Bug#11378)
16884 (isearch-message-prefix): Display text from the property
16885 `isearch-message-prefix' of the currently active filters.
16886 (isearch-search): Don't compare `isearch-filter-predicate' with
16887 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
16888 on `isearch-filter-predicates'. Also check `search-invisible' for t
16889 or call `isearch-range-invisible'.
16890 (isearch-filter-visible): Make obsolete.
16891 (isearch-lazy-highlight-search):
16892 Call `run-hook-with-args-until-failure' on
16893 `isearch-filter-predicates' and use `isearch-range-invisible'.
16895 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
16896 `isearch-filter-predicates' instead of `funcall'ing
16897 `isearch-filter-predicate'.
16898 (Info-mode): Set `Info-isearch-filter' to
16899 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
16901 * dired-aux.el (dired-isearch-filter-predicate-orig):
16903 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
16904 (dired-isearch-filenames-end): Add and remove
16905 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
16906 instead of changing the value of `isearch-filter-predicate'.
16907 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
16908 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
16909 Put property `isearch-message-prefix' to "filename " on
16910 `dired-isearch-filter-filenames'.
16912 * wdired.el (wdired-change-to-wdired-mode):
16913 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
16914 locally instead of changing `isearch-filter-predicate'.
16915 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
16917 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
16919 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
16920 return the commit hash (Bug#14459). Also set the
16921 `vc-git-detached' property.
16922 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
16923 (vc-git-mode-line-string): Use the same help-echo format whether
16924 in detached mode or not, because we know the actual revision now.
16925 When in detached mode, shorten the revision to 7 chars.
16927 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16929 * emacs-lisp/easy-mmode.el (define-minor-mode):
16930 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
16931 mode hook and provide a docstring.
16933 2013-05-27 Alan Mackenzie <acm@muc.de>
16935 Remove spurious syntax-table text properties inserted by C-y.
16936 * progmodes/cc-mode.el (c-after-change): Also clear hard
16937 syntax-table property with value nil.
16939 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
16941 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
16942 when reading the events; the buffer layout shall not be changed.
16944 2013-05-27 Leo Liu <sdl.web@gmail.com>
16946 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
16948 (inferior-octave-directory-tracker): Automatically re-sync
16950 (octave-help): Improve handling of 'See also'.
16952 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16954 * doc-view.el: Minor naming convention tweaks.
16955 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
16957 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
16958 even if there's no `display' property yet (bug#14435).
16960 2013-05-25 Eli Zaretskii <eliz@gnu.org>
16962 * subr.el (unmsys--file-name): Rename from reveal-filename.
16964 * Makefile.in (custom-deps, finder-data, autoloads)
16965 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16966 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16967 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
16969 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16971 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
16972 error-completion on the first 2 args of condition-case (bug#14446).
16975 2013-05-25 Leo Liu <sdl.web@gmail.com>
16977 * comint.el (comint-previous-matching-input): Do not flood the
16978 *Messages* buffer with trivial messages.
16980 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16982 * progmodes/flymake.el (flymake-nop): Don't return a string.
16983 (flymake-set-at): Fix typo.
16985 * simple.el (read--expression): New function, extracted from
16986 eval-expression. Set completion-at-point-functions (bug#14465).
16987 (eval-expression, eval-minibuffer): Use it.
16989 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
16991 * progmodes/flymake.el (flymake-save-buffer-in-file)
16992 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
16993 (flymake-selected-frame, flymake-log, flymake-ins-after)
16994 (flymake-set-at, flymake-get-buildfile-from-cache)
16995 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
16996 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
16997 Refine the doc string.
16998 (flymake-get-file-name-mode-and-masks): Reformat.
16999 (flymake-get-real-file-name-function): Fix a minor bug.
17001 2013-05-24 Juri Linkov <juri@jurta.org>
17003 * progmodes/grep.el (grep-mode-font-lock-keywords):
17004 Support =linenumber= format used by git-grep for lines with
17005 function names. (Bug#13549)
17007 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17009 * progmodes/octave.el (octave-smie-rules): Return nil rather than
17010 0 after a semi-colon; it works better for smie-auto-fill.
17011 (octave--indent-new-comment-line): New function.
17012 (octave-indent-new-comment-line): Use it (indirectly).
17013 (octave-mode): Don't disable smie-auto-fill. Use add-function to
17014 modify comment-line-break-function.
17016 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
17017 (smie-setup): Use add-function to set it.
17019 2013-05-24 Sam Steingold <sds@gnu.org>
17021 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
17022 argument (before the `interactive' argument).
17024 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17026 * image-mode.el (image-mode-winprops): Add winprops to
17027 image-mode-winprops-alist before running
17028 image-mode-new-window-functions.
17029 * doc-view.el (doc-view-new-window-function): Don't delay
17030 doc-view-goto-page via timers (bug#14435).
17032 2013-05-24 Tassilo Horn <tsdh@gnu.org>
17034 * doc-view.el: Integrate with desktop.el. (Bug#14435)
17035 (doc-view-desktop-save-buffer): New function.
17036 (doc-view-restore-desktop-buffer): New function.
17037 (desktop-buffer-mode-handlers):
17038 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
17040 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
17041 `desktop-save-buffer' function.
17043 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
17045 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
17046 (tramp-gvfs-file-name-handler): Raise a user error when
17047 `tramp-gvfs-enabled' is nil.
17048 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
17049 Do not raise a user error when loading package. (Bug#14447)
17051 * net/xesam.el: Move to obsolete/.
17053 2013-05-24 Glenn Morris <rgm@gnu.org>
17055 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
17057 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
17059 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
17060 (Info-find-node, Man-getpage-in-background): Declare.
17062 * mail/unrmail.el (unrmail):
17063 Replace obsolete detect-coding-with-priority.
17065 * net/socks.el (socks-split-string): Use this rather than split-string.
17066 (socks-nslookup-host): Update for above change.
17067 (dynamic-choice, s5-dynamic-choice-match)
17068 (s5-dynamic-choice-match-inline, s5-widget-value-create):
17069 Comment out unused code.
17071 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
17072 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
17073 (gud-tooltip-echo-area): Make obsolete.
17074 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
17076 * progmodes/js.el (js--optimize-arglist): Declare.
17078 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
17080 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
17081 (ediff-window-C): Declare.
17083 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
17084 Tweak requires to silence compiler.
17086 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
17087 (he-search-string, he-tried-table, he-expand-list)
17088 (he-init-string, he-string-member, he-substitute-string)
17089 (he-reset-string): Declare.
17091 * obsolete/options.el (list-options): Use custom-variable-p,
17092 rather than obsolete alias.
17094 2013-05-23 Sam Steingold <sds@gnu.org>
17096 * simple.el (shell-command-on-region): Pass the `replace' argument
17097 down to `call-process-region' to comply with the doc as reported on
17098 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
17100 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17102 * emacs-lisp/smie.el (smie-indent-forward-token)
17103 (smie-indent-backward-token): Handle string tokens (bug#14381).
17105 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17107 * ielm.el (ielm-menu): New menu.
17108 (inferior-emacs-lisp-mode): Set comment-start.
17110 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17112 * textmodes/reftex.el (reftex-ref-style-toggle):
17113 Fix deactivate action.
17115 * textmodes/reftex-vars.el (reftex-ref-style-alist):
17116 Add cleveref macros.
17118 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
17119 Accept options for bibliography commands.
17120 * textmodes/reftex-vars.el (reftex-bibliography-commands):
17121 Add addbibresource. Basic Biblatex support.
17123 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
17125 * net/tramp-gvfs.el (top):
17126 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
17127 when loading package. (Bug#14447)
17129 2013-05-23 Glenn Morris <rgm@gnu.org>
17131 * progmodes/js.el: No need to load comint when compiling.
17132 (ring-insert, comint-send-string, comint-send-input)
17133 (comint-last-input-end, ido-chop): Declare.
17135 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
17136 * vc/ediff-mult.el: Adjust requires.
17137 (ediff-directories-internal, ediff-directory-revisions-internal)
17138 (ediff-patch-file-internal): Declare.
17139 * vc/ediff-ptch.el: Adjust requires.
17140 (ediff-use-last-dir, ediff-buffers-internal): Declare.
17141 (ediff-find-file): Autoload.
17142 * vc/ediff-util.el: No need to load ediff when compiling.
17143 (ediff-regions-internal): Declare.
17144 * vc/ediff-wind.el: Adjust requires.
17145 (ediff-compute-toolbar-width): Define when compiling.
17146 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
17147 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
17148 (dired-get-filename, dired-get-marked-files)
17149 (ediff-last-dir-patch, ediff-patch-default-directory)
17150 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
17151 (ediff-patch-buffer-internal): Declare.
17153 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
17154 (ispell-process, ispell-buffer-local-words, lm-summary)
17155 (lm-section-start, lm-section-end): Declare.
17156 (checkdoc-ispell-init): Simplify.
17158 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
17159 (he-string-member, he-reset-string, he-substitute-string): Declare.
17161 * eshell/em-ls.el: Adjust requires.
17162 (eshell-glob-regexp): Declare.
17163 * eshell/em-tramp.el: Adjust requires.
17164 (eshell-parse-command): Autoload.
17165 * eshell/em-xtra.el: Adjust requires.
17166 (eshell-parse-command): Autoload.
17167 * eshell/esh-ext.el: Adjust requires.
17168 (eshell-parse-command, eshell-close-handles): Autoload.
17169 * eshell/esh-io.el: Adjust requires.
17170 (eshell-output-filter): Autoload.
17171 * eshell/esh-util.el: No need to load tramp when compiling.
17172 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
17174 (eshell-parse-ange-ls): Require ange-ftp and tramp.
17175 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
17176 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
17177 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
17178 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
17179 * eshell/esh-opt.el, eshell/esh-proc.el:
17180 * eshell/esh-var.el: Adjust requires.
17181 * eshell/eshell.el: Do not require esh-util twice.
17182 (eshell-add-input-to-history): Declare.
17183 (eshell-command): Check history module is active before using it.
17185 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
17187 2013-05-22 Leo Liu <sdl.web@gmail.com>
17189 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
17191 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
17193 * autorevert.el (auto-revert-notify-add-watch)
17194 (auto-revert-notify-handler): Add `attrib' for the inotify case,
17195 it indicates changes in file modification time.
17197 2013-05-22 Glenn Morris <rgm@gnu.org>
17199 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17200 Always delete the autoloaded function from the noruntime and
17201 unresolved functions lists.
17203 * allout.el: No need to load epa, epg, overlay when compiling.
17204 (epg-context-set-passphrase-callback, epg-list-keys)
17205 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
17206 (epg-key-user-id-list): Declare.
17208 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17209 (viper-set-parsing-style-toggling-macro)
17210 (viper-set-emacs-state-searchstyle-macros):
17211 Use called-interactively-p on Emacs.
17212 (viper-looking-back): Make it an obsolete alias. Update callers.
17213 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
17214 Use looking-back rather than viper-looking-back.
17215 (viper-tmp-insert-at-eob, viper-enlarge-region)
17216 (viper-read-string-with-history, viper-register-to-point)
17217 (viper-append-to-register, viper-change-state-to-vi)
17218 (viper-backward-char-carefully, viper-forward-char-carefully)
17219 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
17220 (viper-change-state-to-emacs): Declare.
17221 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
17222 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
17223 * emulation/viper-mous.el: Do not load viper-cmd.
17224 (viper-backward-char-carefully, viper-forward-char-carefully)
17225 (viper-forward-word, viper-adjust-window): Declare.
17227 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
17229 * progmodes/idlw-help.el (idlwave-help-fontify):
17230 Use called-interactively-p.
17232 * term/w32console.el (w32-get-console-codepage)
17233 (w32-get-console-output-codepage): Declare.
17235 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
17236 Remove unnecessary declarations.
17237 (dframe-message): Doc fix.
17239 * info.el (dframe-select-attached-frame, dframe-current-frame):
17242 * speedbar.el (speedbar-message): Make it an obsolete alias.
17243 Update all callers.
17244 (speedbar-with-attached-buffer)
17245 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
17246 (speedbar-with-writable): Use backquote.
17247 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
17248 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
17249 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
17250 rather than speedbar- aliases.
17251 * mail/rmail.el: Load dframe rather than speedbar when compiling.
17252 (speedbar-make-specialized-keymap, speedbar-insert-button)
17253 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
17254 (speedbar-do-function-pointer): Declare.
17255 (rmail-speedbar-button, rmail-speedbar-find-file)
17256 (rmail-speedbar-move-message):
17257 Use dframe-with-attached-buffer rather than speedbar- alias.
17258 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
17259 (dframe-message, speedbar-make-specialized-keymap)
17260 (speedbar-add-expansion-list, speedbar-mode-functions-list)
17261 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
17262 (speedbar-insert-button, dframe-select-attached-frame)
17263 (dframe-maybee-jump-to-attached-frame)
17264 (speedbar-change-initial-expansion-list)
17265 (speedbar-previously-used-expansion-list-name): Declare.
17266 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
17267 Use dframe-message, dframe-with-attached-buffer rather than
17269 (gud-sentinel): Silence compiler.
17270 * progmodes/vhdl-mode.el (speedbar-refresh)
17271 (speedbar-do-function-pointer, speedbar-add-supported-extension)
17272 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
17273 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
17274 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
17275 (speedbar-file-lists, speedbar-make-tag-line)
17276 (speedbar-line-directory, speedbar-goto-this-file)
17277 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
17278 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
17279 (speedbar-make-button, speedbar-reset-scanners)
17280 (speedbar-files-item-info, speedbar-line-text)
17281 (speedbar-find-file-in-frame, speedbar-set-timer)
17282 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
17283 (speedbar-with-writable): Do not (re)define it.
17284 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
17285 rather than speedbar- alias.
17287 2013-05-21 Leo Liu <sdl.web@gmail.com>
17289 * progmodes/octave.el (octave-mode-menu): Update and re-organize
17291 (octave-mode): Tweak fill-nobreak-predicate.
17292 (inferior-octave-startup): Check process to avoid infinite loop.
17293 (inferior-octave): Pop to buffer first to show abornmal process
17296 2013-05-21 Glenn Morris <rgm@gnu.org>
17298 * printing.el (pr-menu-bar): Define when compiling.
17300 2013-05-21 Leo Liu <sdl.web@gmail.com>
17302 * progmodes/octave.el (octave-auto-fill): Remove.
17303 (octave-indent-new-comment-line): Improve.
17304 (octave-mode): Use auto fill mode through
17305 comment-line-break-function and fill-nobreak-predicate.
17306 (octave-goto-function-definition): Support DEFUN_DLD.
17307 (octave-beginning-of-defun): Small tweak.
17308 (octave-help): Show parent directory.
17310 2013-05-21 Glenn Morris <rgm@gnu.org>
17312 * files.el (dired-unmark):
17313 * progmodes/gud.el (gdb-input): Update declarations.
17315 * calculator.el (electric, ehelp): No need to load when compiling.
17316 (Electric-command-loop, electric-describe-mode): Declare.
17318 * doc-view.el (doc-view-current-converter-processes): Move before use.
17320 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17321 Move MODE-set-explicitly definition before use.
17323 * international/mule-diag.el (mule-diag):
17324 Don't use obsolete window-system-version.
17326 * mail/feedmail.el (smtpmail): No need to load when compiling.
17327 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
17329 * mail/mail-utils.el (rfc822): No need to load when compiling.
17330 (rfc822-addresses): Autoload it.
17331 (mail-strip-quoted-names): Trivial simplification.
17333 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
17334 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
17336 * net/snmp-mode.el (tempo): Don't duplicate requires.
17338 * progmodes/prolog.el (info): No need to load when compiling.
17339 (comint): Require before shell requires it.
17340 (Info-goto-node): Autoload it.
17341 (Info-follow-nearest-node): Declare.
17342 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
17344 * textmodes/artist.el (picture-mode-exit): Declare.
17346 * textmodes/reftex-parse.el (reftex-parse-from-file):
17347 Trivial rewrite so the compiler can parse it better.
17349 2013-05-20 Leo Liu <sdl.web@gmail.com>
17351 * progmodes/octave.el (octave-help-mode-map)
17352 (octave-help-mode-finish-hook): New variables.
17353 (octave-help-mode, octave-help-mode-finish): New functions.
17354 (octave-help): Use octave-help-mode.
17356 2013-05-20 Glenn Morris <rgm@gnu.org>
17358 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
17360 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
17362 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
17363 start at point, so that expansion starting right after opening
17364 slash in a regexp is recognized.
17365 (ruby-syntax-before-regexp-re): New defvar, extracted from
17366 ruby-syntax-propertize-function. Since the value of this regexp
17367 is looked up at runtime now, we should be able to turn
17368 `ruby-syntax-methods-before-regexp' into a defcustom later.
17369 (ruby-syntax-propertize-function): Split regexp matching into two
17370 parts, for opening and closing slashes. That allows us to skip
17371 over string interpolations and support multiline regexps.
17372 Don't call `ruby-syntax-propertize-expansions', instead use another rule
17373 for them, which calls `ruby-syntax-propertize-expansion'.
17374 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
17375 call to `ruby-syntax-propertize-function'.
17376 (ruby-syntax-propertize-expansion): Extracted from
17377 `ruby-syntax-propertize-expansions'. Handles one expansion.
17378 (ruby-syntax-propertize-percent-literal): Leave point right after
17379 the percent symbol, so that the expression expansion rule can
17380 propertize the contents.
17381 (ruby-syntax-propertize-heredoc): Leave point at bol following the
17383 (ruby-syntax-propertize-expansions): Remove.
17385 2013-05-18 Juri Linkov <juri@jurta.org>
17387 * man.el (Man-default-man-entry): Remove `-' from the end
17388 of the default value. (Bug#14400)
17390 2013-05-18 Glenn Morris <rgm@gnu.org>
17392 * comint.el (comint-password-prompt-regexp):
17393 Allow "password for XXX" where XXX contains colons (eg https://...).
17395 2013-05-18 Leo Liu <sdl.web@gmail.com>
17397 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
17398 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
17399 (octave-source-directories): Don't check process.
17400 (octave-source-directories, octave-find-definition): Doc fix.
17402 2013-05-18 Glenn Morris <rgm@gnu.org>
17404 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
17405 Remove backspace/delete bindings. (Bug#14392)
17407 * cus-dep.el (custom-make-dependencies): Sort the output.
17408 (custom-versions-load-alist): Convert comment to doc.
17410 2013-05-17 Leo Liu <sdl.web@gmail.com>
17412 * newcomment.el (comment-search-backward): Stricter in finding
17413 comment start. (Bug#14303)
17415 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
17416 (octave-comment-start-skip): Properly anchored.
17418 2013-05-17 Leo Liu <sdl.web@gmail.com>
17420 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
17421 Clean up when turned off. (Bug#14395)
17422 (smie--highlight-matching-block-overlay): No longer buffer-local.
17423 (smie-highlight-matching-block): Adjust.
17425 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
17427 Doc string fix for "nanoseconds" (Bug#14406).
17428 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
17429 Fix doc string typo that had "nanoseconds" instead of "microseconds".
17431 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
17433 * calc/calc-units.el (math-extract-units): Preserve powers
17436 2013-05-17 Leo Liu <sdl.web@gmail.com>
17438 * subr.el (delete-consecutive-dups): New function.
17439 * ido.el (ido-set-matches-1): Use it.
17440 * progmodes/octave.el (inferior-octave-completion-table): Use it.
17441 * ido.el (ido-remove-consecutive-dups): Remove.
17443 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17445 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17446 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
17447 regexp-opt's `words'.
17449 2013-05-16 Leo Liu <sdl.web@gmail.com>
17451 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
17452 (smie--highlight-matching-block-overlay)
17453 (smie--highlight-matching-block-lastpos)
17454 (smie--highlight-matching-block-timer): New variables.
17455 (smie-highlight-matching-block): New function.
17456 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
17457 (smie-setup): Conditionally enable smie-blink-matching-open.
17459 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
17461 Sync with upstream verilog-mode r840.
17462 * progmodes/verilog-mode.el (verilog-mode-version)
17463 (verilog-mode-release-date): Update.
17464 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
17465 (verilog-sig-tieoff): Fix string error on
17466 AUTORESET with colon define, bug594. Reported by Andrew Hou.
17467 (verilog-read-decls): Fix parameters confusing
17468 AUTOINST interfaces, bug565. Reported by Leith Johnson.
17470 2013-05-16 Eli Zaretskii <eliz@gnu.org>
17472 * subr.el (reveal-filename): New function.
17474 * loadup.el: Compute Emacs executable versions on MS-Windows,
17475 where executables have the .exe extension. Add a hard link
17476 emacs-XX.YY.ZZ.exe on MS-Windows.
17478 * Makefile.in (XARGS_LIMIT): New variable.
17479 (custom-deps, finder-data, autoloads)
17480 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17481 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17482 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
17483 (compile-main): Limit xargs according to $(XARGS_LIMIT).
17485 2013-05-16 Leo Liu <sdl.web@gmail.com>
17487 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
17488 (octave-mode-menu, octave-mode-map): Remove its uses.
17490 2013-05-16 Reto Zimmermann <reto@gnu.org>
17492 Sync with upstream vhdl mode v3.34.2.
17493 * progmodes/vhdl-mode.el: Use `push' throughout.
17494 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
17495 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
17496 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
17497 (vhdl-actual-generic-name): New option to derive actual generic name.
17498 (vhdl-port-paste-signals): Replace formal by actual generics.
17499 (vhdl-beautify): New name for old group vhdl-align. Update users.
17500 (vhdl-beautify-options): New option.
17501 (vhdl-last-input-event): New compat alias. Use throughout.
17502 (vhdl-goto-line): Replace user level function `goto-line'.
17503 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
17504 vhdl-fix-statement-buffer.
17505 (vhdl-create-mode-menu): Add some entries.
17506 (vhdl-align-region-groups): Respect vhdl-beautify-options.
17507 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
17508 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
17509 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
17510 to force statements on one line.
17511 (vhdl-remove-trailing-spaces-region):
17512 New, split from vhdl-remove-trailing-spaces.
17513 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
17514 Respect vhdl-beautify-options.
17515 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
17516 (vhdl-update-sensitivity-list): Not add with index if exists without.
17517 Not include array index with signal. Ignore keywords in comments.
17518 (vhdl-get-visible-signals): Regexp tweaks.
17519 (vhdl-template-component-inst): Handle empty library.
17520 (vhdl-template-type): Add template for 'enum' type.
17521 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
17522 Use vhdl-replace-string.
17523 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
17524 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
17525 (vhdl-speedbar-initialize): Update for above name change.
17526 (vhdl-compose-wire-components): Fix in handling of constants.
17527 (vhdl-error-regexp-emacs-alist): New variable.
17528 (vhdl-error-regexp-add-emacs): New function;
17529 adds support for new compile.el (Emacs 22+)
17530 (vhdl-generate-makefile-1): Change target order for single lib. units.
17531 Allow use of absolute file names.
17533 2013-05-16 Leo Liu <sdl.web@gmail.com>
17535 * simple.el (prog-indent-sexp): Indent enclosing defun.
17537 2013-05-15 Glenn Morris <rgm@gnu.org>
17539 * cus-start.el (show-trailing-whitespace): Move to editing basics.
17540 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
17541 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
17542 (whitespace-highlight): Move to whitespace group.
17544 * comint.el (comint-source):
17545 * pcmpl-linux.el (pcmpl-linux):
17546 * shell.el (shell-faces):
17547 * eshell/esh-opt.el (eshell-opt):
17548 * international/ccl.el (ccl): Remove empty custom groups.
17550 * completion.el (dynamic-completion-mode):
17551 * jit-lock.el (jit-lock-debug-mode):
17552 * minibuffer.el (completion-in-region-mode):
17553 * type-break.el (type-break-mode-line-message-mode)
17554 (type-break-query-mode):
17555 * emulation/tpu-edt.el (tpu-edt-mode):
17556 * progmodes/subword.el (global-subword-mode, global-superword-mode):
17557 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17558 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
17560 * term/xterm.el (xterm): Change parent group to terminals.
17562 * master.el (master): Remove empty custom group.
17563 (master-mode): Remove unused :group argument.
17564 * textmodes/refill.el (refill): Remove empty custom group.
17565 (refill-mode): Remove unused :group argument.
17567 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
17569 * cus-dep.el: Provide a feature.
17570 (custom-make-dependencies): Ignore dotfiles (dir-locals).
17571 Don't mistakenly ignore files whose basenames match a basename
17572 from preloaded-file-list (eg cedet/ede/simple.el).
17573 Add a fallback method for getting :group.
17575 2013-05-15 Juri Linkov <juri@jurta.org>
17577 * isearch.el (isearch-char-by-name): Rename from
17578 `isearch-insert-char-by-name'. Doc fix.
17579 (isearch-forward): Mention `isearch-char-by-name' in
17580 the docstring. (Bug#13348)
17582 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
17583 `exit-minibuffer' instead of
17584 `isearch-nonincremental-exit-minibuffer'.
17585 (isearch-edit-string): Remove mention of
17586 `isearch-nonincremental-exit-minibuffer' from docstring.
17587 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
17588 (isearch-forward-exit-minibuffer)
17589 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
17591 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17593 * loadup.el: Just use unversioned DOC.
17595 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
17596 literals as extending to EOB.
17597 (nxml-last-fontify-end): Remove unused variable.
17598 (nxml-after-change1): Use with-silent-modifications.
17599 (nxml-extend-after-change-region): Simplify.
17600 (nxml-extend-after-change-region1): Remove function.
17601 (nxml-after-change1): Don't adjust for dependent regions.
17602 (nxml-fontify-matcher): Simplify.
17603 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
17604 (xmltok-add-dependent): Remove function.
17605 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
17606 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
17607 (xmltok-scan-prolog-after-processing-instruction-open): Treat
17608 unclosed <[[, <?, comment, and other literals as extending to EOB.
17609 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
17610 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
17612 (rng-do-some-validation-1): Don't mark dependent regions.
17613 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
17614 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
17615 (nxml-clear-dependent-regions): Remove functions.
17616 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
17617 (nxml-ensure-scan-up-to-date):
17618 Don't clear&mark dependent regions.
17620 2013-05-15 Leo Liu <sdl.web@gmail.com>
17622 * progmodes/octave.el (octave-goto-function-definition):
17623 Improve and fix callers.
17625 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17627 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
17628 the setter (bug#14387).
17630 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
17631 surrounding group (bug#14402).
17633 2013-05-14 Juri Linkov <juri@jurta.org>
17635 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
17638 2013-05-14 Glenn Morris <rgm@gnu.org>
17640 * progmodes/f90.el (f90-imenu-generic-expression):
17641 Fix typo in 2013-05-08 change. (Bug#14402)
17643 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17645 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
17646 Remove signals for which replies are never received.
17648 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17650 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
17651 (gdb-handler-alist, gdb-handler-number): Remove variables.
17652 (gdb-handler-list): New variable.
17653 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
17654 (gdb-pending-handler-p, gdb-handle-reply)
17655 (gdb-remove-all-pending-triggers): New functions.
17656 (gdb-discard-unordered-replies): New defcustom.
17657 (gdb-handler): New defstruct.
17658 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
17659 instead of gdb-pending-triggers. Update docstring.
17660 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
17661 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
17662 (gdb-var-update-handler, def-gdb-auto-update-trigger)
17663 (def-gdb-auto-update-handler, gdb-get-changed-registers)
17664 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
17665 (gdb-frame-handler): Pending triggers are now automatically managed.
17666 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
17668 (gdb-input): Automatically handles pending triggers. Update docstring.
17669 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
17670 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
17672 (gdb-done-or-error): Now use gdb-handle-reply.
17674 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17676 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
17679 2013-05-14 Glenn Morris <rgm@gnu.org>
17681 * subr.el (user-emacs-directory-warning): New option.
17682 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
17684 2013-05-14 Leo Liu <sdl.web@gmail.com>
17686 * progmodes/octave.el (octave-font-lock-keywords): Fix error
17688 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
17689 (octave-font-lock-texinfo-comment): Fix invalid search bound
17690 error: wrong side of point.
17692 2013-05-14 Glenn Morris <rgm@gnu.org>
17694 * progmodes/flymake.el (flymake-xml-program): New option.
17695 (flymake-xml-init): Use it.
17697 * term/xterm.el: Provide a feature.
17699 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
17701 2013-05-13 Glenn Morris <rgm@gnu.org>
17703 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
17704 Add compat aliases as a hack workaround. (Bug#14384)
17706 2013-05-13 Leo Liu <sdl.web@gmail.com>
17708 * progmodes/octave.el (octave-indent-comment): Fix indentation for
17710 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
17712 (octave-comment-start-skip): Include %!.
17713 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
17715 2013-05-12 Leo Liu <sdl.web@gmail.com>
17717 * progmodes/octave.el (inferior-octave-startup): Store the value
17718 of __octave_srcdir__ for octave-source-directories.
17719 (inferior-octave-check-process): New function refactored out of
17720 inferior-octave-send-list-and-digest.
17721 (octave-source-directories)
17722 (octave-find-definition-filename-function): New variables.
17723 (octave-source-directories)
17724 (octave-find-definition-default-filename): New functions.
17725 (octave-find-definition): Improve to find functions implemented in C++.
17727 2013-05-12 Glenn Morris <rgm@gnu.org>
17729 * calendar/diary-lib.el (diary-outlook-format-1):
17730 Don't include dayname in the output. (Bug#14349)
17732 2013-05-11 Glenn Morris <rgm@gnu.org>
17734 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
17736 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
17737 Treat cc-provide like provide.
17739 2013-05-11 Kevin Ryde <user42@zip.com.au>
17741 * cus-dep.el (custom-make-dependencies):
17742 Use generated-autoload-load-name for the sake of files such
17743 such cedet/semantic/bovine/c.el, where the base file name
17744 is not in load-path. (Bug#5277)
17746 2013-05-11 Glenn Morris <rgm@gnu.org>
17748 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
17751 2013-05-11 Leo Liu <sdl.web@gmail.com>
17753 * progmodes/octave.el (octave-indent-comment): Improve.
17754 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
17755 (octave-eldoc-function-signatures, octave-eldoc-function):
17757 (octave-mode, inferior-octave-mode): Add eldoc support.
17759 2013-05-11 Richard Stallman <rms@gnu.org>
17761 * epa.el (epa-decrypt-file): Take output file name as argument
17762 and read it using `interactive'.
17764 2013-05-11 Leo Liu <sdl.web@gmail.com>
17766 * progmodes/octave.el (octave-beginning-of-line)
17767 (octave-end-of-line): Check before using up-list because it jumps
17768 out of more syntactic contructs since moving to smie.
17769 (octave-indent-comment): New function.
17770 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
17771 (octave-begin-keywords, octave-end-keywords)
17772 (octave-reserved-words, octave-smie-bnf-table)
17773 (octave-smie-rules): Add new keywords from Octave 3.6.4.
17775 2013-05-11 Glenn Morris <rgm@gnu.org>
17777 * faces.el (internal-face-x-get-resource):
17778 * frame.el (ns-display-monitor-attributes-list):
17779 * calc/calc-aent.el (math-to-radians-2):
17780 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
17783 * calc/calc-menu.el: Make it loadable in isolation.
17785 * net/eudcb-bbdb.el: Make it loadable without bbdb.
17786 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
17787 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
17788 (eudc-bbdb-query-internal): Require 'bbdb.
17790 * lpr.el (lpr-headers-switches):
17791 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
17793 * progmodes/sql.el (sql-login-params): Fix and improve :type.
17795 * emulation/edt-mapper.el: In batch mode, error rather than hang.
17797 * term.el (term-set-escape-char): Make it idempotent.
17799 2013-05-10 Leo Liu <sdl.web@gmail.com>
17801 * progmodes/octave.el (inferior-octave-completion-table):
17802 No longer a function and all uses changed. Use cache to speed up
17803 completion due to bug#11906.
17804 (octave-beginning-of-defun): Re-write to be more general.
17806 2013-05-10 Glenn Morris <rgm@gnu.org>
17808 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
17810 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
17812 * comint.el (comint-redirect-send-command-to-process): Use :around
17813 rather than :override for comint-redirect-filter.
17814 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
17815 Call it instead of comint-redirect-original-filter-function (which
17816 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
17818 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
17820 * frame.el (display-monitor-attributes-list): Add NS case.
17821 (ns-display-monitor-attributes-list): Declare.
17823 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
17825 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
17827 2013-05-09 Glenn Morris <rgm@gnu.org>
17829 * international/fontset.el (vertical-centering-font-regexp):
17830 Set standard-value.
17832 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
17834 * bookmark.el (bookmark-search-delay):
17835 * cus-start.el (vertical-centering-font-regexp):
17836 * ps-mule.el (ps-mule-font-info-database-default):
17837 * ps-print.el (ps-default-fg, ps-default-bg):
17838 * type-break.el (type-break-good-break-interval):
17839 * whitespace.el (whitespace-indentation-regexp)
17840 (whitespace-space-after-tab-regexp):
17841 * emacs-lisp/testcover.el (testcover-1value-functions)
17842 (testcover-noreturn-functions, testcover-progn-functions)
17843 (testcover-prog1-functions):
17844 * emulation/viper-init.el (viper-emacs-state-cursor-color):
17845 * eshell/em-glob.el (eshell-glob-translate-alist):
17846 * play/tetris.el (tetris-tty-colors):
17847 * progmodes/cpp.el (cpp-face-default-list):
17848 * progmodes/flymake.el (flymake-allowed-file-name-masks):
17849 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
17850 (idlwave-help-browser-generic-args):
17851 * progmodes/make-mode.el (makefile-special-targets-list):
17852 * progmodes/python.el (python-shell-virtualenv-path):
17853 * progmodes/verilog-mode.el (verilog-active-low-regexp)
17854 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
17855 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
17856 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
17857 * textmodes/reftex-vars.el (reftex-format-label-function):
17858 * textmodes/remember.el (remember-diary-file): Fix custom types.
17860 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
17863 2013-05-09 Leo Liu <sdl.web@gmail.com>
17865 * progmodes/octave.el (inferior-octave-completion-at-point):
17866 Restore file completion. (Bug#14300)
17867 (inferior-octave-startup): Fix incorrect highlighting for the
17870 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17872 * progmodes/ruby-mode.el: First cut at SMIE support.
17873 (ruby-use-smie): New var.
17874 (ruby-smie-grammar): New constant.
17875 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
17876 (ruby-smie--forward-token, ruby-smie--backward-token)
17877 (ruby-smie-rules): New functions.
17878 (ruby-mode-variables): Setup SMIE if applicable.
17880 2013-05-08 Eli Zaretskii <eliz@gnu.org>
17882 * simple.el (line-move-visual): Signal beginning/end of buffer
17883 only if vertical-motion moved less than it was requested. Avoids
17884 silly incorrect error messages when there are display strings with
17885 multiple newlines at EOL.
17887 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17889 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
17890 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
17891 (prolog-char-quote-workaround):
17892 * progmodes/cperl-mode.el (cperl-under-as-char):
17893 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
17895 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
17897 (vhdl-mode-syntax-table-init): Remove.
17899 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
17902 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
17904 (ld-script-font-lock-keywords):
17905 Change regexps to use things like \_< and \_>.
17907 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
17908 Change all regexps to use things like \_< and \_>.
17910 * progmodes/autoconf.el (autoconf-definition-regexp)
17911 (autoconf-font-lock-keywords, autoconf-current-defun-function):
17912 Handle a _ with symbol syntax.
17913 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
17915 * progmodes/ada-mode.el (ada-mode-abbrev-table):
17916 Consolidate declaration.
17917 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
17919 (ada-create-syntax-table): Remove.
17920 (ada-capitalize-word): Don't mess with the syntax of "_" since it
17921 already has the right syntax nowadays.
17922 (ada-goto-next-word): Don't change the syntax of "_".
17924 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
17927 2013-05-08 Sam Steingold <sds@gnu.org>
17929 * thingatpt.el (thing-at-point): Accept optional second argument
17930 NO-PROPERTIES to strip the text properties from the return value.
17931 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
17932 to `thing-at-point' instead of stripping the properties ourselves.
17933 Also, when `thing-at-point' fails to find a url, prepend "http://"
17934 to the filename at point on the assumption that the user is
17935 pointing at something like gnu.org/gnu.
17937 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
17939 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17940 * faces.el (crm-separator):
17941 Silence byte-compiler.
17943 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
17944 (tool-bar-map): Remove unneeded defvars.
17946 2013-05-08 Leo Liu <sdl.web@gmail.com>
17948 Re-work a fix for bug#10994 based on Le Wang's patch.
17949 * ido.el (ido-remove-consecutive-dups): New helper.
17950 (ido-completing-read): Use it.
17951 (ido-chop): Revert fix for bug#10994.
17953 2013-05-08 Adam Spiers <emacs@adamspiers.org>
17955 * cus-edit.el (custom-save-variables):
17956 Pretty-print long values. (Bug#14187)
17958 2013-05-08 Glenn Morris <rgm@gnu.org>
17960 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
17961 (m4-mode-syntax-table): Init in the defvar.
17962 (m4-mode-abbrev-table): Let define-derived-mode define it.
17964 2013-05-08 Tom Tromey <tromey@redhat.com>
17966 * progmodes/m4-mode.el (m4-mode-syntax-table):
17967 Do not treat "_" as word constituent. (Bug#14167)
17969 2013-05-07 Glenn Morris <rgm@gnu.org>
17971 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
17972 Remove explicit eshell-isearch-cancel-map.
17974 * progmodes/f90.el (f90-smart-end-names): New option.
17975 (f90-smart-end): Doc fix.
17976 (f90-end-block-optional-name): New constant.
17977 (f90-block-match): Respect f90-smart-end-names.
17979 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17981 * progmodes/octave.el (octave-smie-forward-token): Be more careful
17982 about implicit semi-colons (bug#14218).
17984 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17986 * frame.el (display-monitor-attributes-list)
17987 (frame-monitor-attributes): New functions.
17989 2013-05-06 Leo Liu <sdl.web@gmail.com>
17991 * progmodes/octave.el (octave-syntax-propertize-function): Change
17992 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
17993 (octave-font-lock-keywords): Use octave-operator-regexp.
17994 (octave-completion-at-point): Rename from
17995 octave-completion-at-point-function.
17996 (inferior-octave-directory-tracker): Robustify.
17997 (octave-text-functions): Remove and fix its uses. No such things
18000 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18002 * emacs-lisp/trace.el (trace--display-buffer): New function.
18003 (trace-make-advice): Use it.
18005 2013-05-06 Juri Linkov <juri@jurta.org>
18007 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
18008 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
18010 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
18011 in the help string. (Bug#12985)
18013 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
18015 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
18017 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18019 * progmodes/perl-mode.el: Add support for here documents.
18020 (perl-syntax-propertize-function): Match here-doc markers.
18021 (perl-syntax-propertize-special-constructs): Find their end.
18022 (perl-imenu-generic-expression): Use [:alnum:].
18024 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
18025 (advice--add-function): Refresh the advice if already present
18028 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
18030 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
18032 2013-05-06 Glenn Morris <rgm@gnu.org>
18034 * w32-fns.el (w32-charset-info-alist): Declare.
18036 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
18037 of its defcustom properties.
18038 (eshell-cmpl-initialize): No need to load pcomplete.
18040 * generic-x.el: No need to require comint when compiling.
18042 * net/eudc-export.el: Make it loadable without bbdb.
18043 (top-level): Use require rather than load-library.
18044 (eudc-create-bbdb-record, eudc-bbdbify-phone)
18045 (eudc-batch-export-records-to-bbdb)
18046 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
18049 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18051 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
18052 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
18053 some tweaks, instead.
18055 2013-05-05 Leo Liu <sdl.web@gmail.com>
18057 * progmodes/octave.el (octave-font-lock-keywords)
18058 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
18059 (inferior-octave-send-list-and-digest): Improve error message.
18060 (octave-mode, inferior-octave-mode): Use setq-local.
18061 (octave-help): Set info-lookup-mode.
18063 2013-05-05 Richard Stallman <rms@gnu.org>
18065 * vc/compare-w.el (compare-windows-whitespace):
18066 Treat no-break space as whitespace.
18068 * mail/rmailsum.el (rmail-summary-rmail-update):
18069 Detect empty summary and don't change selected message.
18070 (rmail-summary-goto-msg): Likewise.
18072 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
18073 Doc fixes, rename args.
18075 2013-05-05 Alan Mackenzie <acm@muc.de>
18077 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
18079 2013-05-05 Juri Linkov <juri@jurta.org>
18081 * info.el (Info-read-subfile): Use (point-min) instead of (point)
18082 to not add the length of the summary segment to the return value.
18085 2013-05-05 Leo Liu <sdl.web@gmail.com>
18087 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
18088 (inferior-octave-output-filter): Remove.
18089 (octave-send-region, inferior-octave-startup): Fix callers.
18090 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
18091 (octave-binary-file-extensions): New user variable.
18092 (octave-find-definition): Confirm if opening binary files.
18093 (octave-help-file): Use octave-find-definition to get the binary
18095 (octave-help): Adjust for octave-help-file change.
18097 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18099 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
18100 Merge the two entries that handle function definitions.
18101 (pascal--syntax-propertize): New const.
18102 (pascal-mode): Use it. Use setq-local.
18104 2013-05-04 Glenn Morris <rgm@gnu.org>
18106 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
18107 (diary-from-outlook): Respect diary-from-outlook-function.
18109 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18111 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
18112 Move the declaration from C.
18113 (read-minibuffer, eval-minibuffer): Move from C.
18114 (completion-setup-function): Avoid minibuffer-completion-contents.
18116 2013-05-03 Leo Liu <sdl.web@gmail.com>
18118 * progmodes/octave.el (octave-font-lock-keywords): Do not
18119 dehighlight 'end' in comments or strings.
18120 (octave-completing-read, octave-goto-function-definition):
18122 (octave-help-buffer): New user variable.
18123 (octave-help-file, octave-help-function): New button types.
18124 (octave-help): New command and bind it to C-h ;.
18125 (octave-find-definition): New command and bind it to M-.
18126 (user-error): Alias to error if not defined.
18128 2013-05-02 Leo Liu <sdl.web@gmail.com>
18130 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
18132 (octave-font-lock-keywords): Include [ and {.
18134 2013-05-02 Leo Liu <sdl.web@gmail.com>
18136 * progmodes/octave.el (inferior-octave-startup-file): Change default.
18137 (inferior-octave): Remove calling comint-mode and return the buffer.
18138 (inferior-octave-startup): Cosmetic changes.
18140 2013-05-02 Leo Liu <sdl.web@gmail.com>
18142 * progmodes/octave.el (octave-syntax-propertize-function):
18143 Include the case when ' is at line beginning. (Bug#14336)
18145 2013-05-02 Glenn Morris <rgm@gnu.org>
18147 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
18148 * desktop.el (vc-dir-mode): Just autoload it here.
18150 2013-05-02 Alan Mackenzie <acm@muc.de>
18152 Eliminate variable c-standard-font-lock-fontify-region-function.
18153 * progmodes/cc-mode.el
18154 (c-standard-font-lock-fontify-region-function): Remove.
18155 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
18157 2013-05-01 Leo Liu <sdl.web@gmail.com>
18159 * progmodes/octave.el: Compatible with older emacs-24 releases.
18160 (inferior-octave-has-built-in-variables): Remove. Built-in
18161 variables were removed from Octave in 2007.
18162 (inferior-octave-startup): Fix uses.
18163 (comint-line-beginning-position): Remove compatibility code for
18166 2013-05-01 Juri Linkov <juri@jurta.org>
18168 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
18170 2013-05-01 Juri Linkov <juri@jurta.org>
18172 * comint.el (comint-previous-matching-input): Don't print message
18173 "History item: %d" when `isearch-mode' is active.
18174 (comint-history-isearch-message): Print message "History item: %d"
18175 when `comint-input-ring-index' is not empty and this function is
18176 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
18178 2013-05-01 Leo Liu <sdl.web@gmail.com>
18180 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
18181 definitions. Use completion-at-point to insert keywords.
18182 (octave-abbrev-start): Remove.
18183 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
18185 2013-04-30 Leo Liu <sdl.web@gmail.com>
18187 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
18190 2013-04-30 Alan Mackenzie <acm@muc.de>
18192 Handle arbitrarily long C++ member initialisation lists.
18193 * progmodes/cc-engine.el (c-back-over-member-initializers):
18195 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
18196 (most) member init lists.
18198 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18200 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
18203 2013-04-30 Leo Liu <sdl.web@gmail.com>
18205 * progmodes/octave.el (octave-variables): Remove. No builtin
18206 variables any more. All converted to functions.
18207 (octave-font-lock-keywords, octave-completion-at-point-function):
18209 (octave-font-lock-texinfo-comment): New user variable.
18210 (octave-texinfo-font-lock-keywords): New variable for texinfo
18212 (octave-function-comment-block): New face.
18213 (octave-font-lock-texinfo-comment): New function.
18214 (octave-mode): Font lock texinfo comment block.
18216 2013-04-29 Leo Liu <sdl.web@gmail.com>
18218 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
18219 indexing expression.
18220 (octave-continuation-string): Do not use \.
18221 (inferior-octave-complete-impossible): Remove.
18222 (inferior-octave-completion-table)
18223 (inferior-octave-completion-at-point): Remove its uses.
18224 (inferior-octave-startup): completion_matches was introduced to
18225 Octave in 1996 so safe to assume it.
18226 (octave-function-file-comment): Improve to follow how Octave does it.
18227 (octave-update-function-file-comment): Tweak.
18229 2013-04-29 Leo Liu <sdl.web@gmail.com>
18231 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
18232 (inferior-octave-startup): Remove inferior-octave-startup-hook.
18233 (octave-function-file-comment): Fix typo.
18234 (octave-sync-function-file-names): Use read-char-choice.
18236 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
18238 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
18239 to t for the less important warnings.
18241 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
18243 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
18245 2013-04-27 Glenn Morris <rgm@gnu.org>
18247 * vc/log-view.el (log-view-current-entry):
18248 Treat "---" separator lines as part of the following rev. (Bug#14169)
18250 2013-04-27 Juri Linkov <juri@jurta.org>
18252 * subr.el (read-number): Doc fix about using it by interactive
18253 code letter `n'. (Bug#14254)
18255 2013-04-27 Juri Linkov <juri@jurta.org>
18257 * desktop.el (desktop-auto-save-timeout): New option.
18258 (desktop-file-checksum): New variable.
18259 (desktop-save): Add optional arg `auto-save' and don't auto-save
18260 if nothing changed.
18261 (desktop-auto-save-timer): New variable.
18262 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
18263 (after-init-hook): Call `desktop-auto-save-set-timer'.
18264 Suggested by Reuben Thomas <rrt@sc3d.org> in
18265 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
18267 2013-04-27 Leo Liu <sdl.web@gmail.com>
18269 * progmodes/octave.el (octave-function-file-p)
18270 (octave-skip-comment-forward, octave-function-file-comment)
18271 (octave-update-function-file-comment): New functions.
18272 (octave-mode-map): Bind C-c ; to
18273 octave-update-function-file-comment.
18274 (octave-mode-menu): Add octave-update-function-file-comment.
18275 (octave-mode, inferior-octave-mode): Fix doc-string.
18276 (octave-insert-defun): Conform to Octave's coding convention.
18279 * files.el (basic-save-buffer): Don't let errors in
18280 before-save-hook prevent saving buffer.
18282 2013-04-20 Roland Winkler <winkler@gnu.org>
18284 * faces.el (read-face-name): Use completing-read if arg multiple
18287 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
18289 * ls-lisp.el (ls-lisp-insert-directory): If no files are
18290 displayed, move point to after the totals line.
18291 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
18294 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18296 * emacs-lisp/package.el (package-autoload-ensure-default-file):
18297 Add current dir to the load-path.
18298 (package-generate-autoloads): Don't rely on
18299 autoload-ensure-default-file.
18301 2013-04-26 Reuben Thomas <rrt@sc3d.org>
18303 * textmodes/remember.el (remember-store-in-files): Document that
18304 the file name format is passed to `format-time-string'.
18306 2013-04-26 Leo Liu <sdl.web@gmail.com>
18308 * progmodes/octave.el (octave-sync-function-file-names): New function.
18309 (octave-mode): Use it in before-save-hook.
18311 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
18313 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
18316 * progmodes/octave.el (octave-smie-forward-token): Properly skip
18317 \n and comment, even if it's not an implicit ; (bug#14218).
18319 2013-04-26 Glenn Morris <rgm@gnu.org>
18321 * subr.el (read-number): Once more use `read' rather than
18322 `string-to-number', to trap non-numeric input. (Bug#14254)
18324 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
18326 * emacs-lisp/syntax.el (syntax-propertize-multiline):
18327 Use `syntax-multiline' text property consistently instead of
18328 `font-lock-multiline'. (Bug#14237)
18330 2013-04-26 Glenn Morris <rgm@gnu.org>
18332 * emacs-lisp/shadow.el (list-load-path-shadows):
18333 No longer necessary to check for duplicate simple.el, since
18334 2012-07-07 change to init_lread to not include installation lisp
18335 directories in load-path when running uninstalled. (Bug#14270)
18337 2013-04-26 Leo Liu <sdl.web@gmail.com>
18339 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
18340 (octave-mode, inferior-octave-mode): Use setq-local.
18341 (octave-not-in-string-or-comment-p): Rename to
18342 octave-in-string-or-comment-p.
18343 (octave-in-comment-p, octave-in-string-p)
18344 (octave-in-string-or-comment-p): Replace defsubst with defun.
18346 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
18348 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
18350 2013-04-25 Bastien Guerry <bzg@gnu.org>
18352 * textmodes/remember.el (remember-data-directory)
18353 (remember-directory-file-name-format): Fix custom types.
18355 2013-04-25 Leo Liu <sdl.web@gmail.com>
18357 * progmodes/octave.el (octave-completion-at-point-function):
18358 Make use of inferior octave process.
18359 (octave-initialize-completions): Remove.
18360 (inferior-octave-completion-table): New function.
18361 (inferior-octave-completion-at-point): Use it.
18362 (octave-completion-alist): Remove.
18364 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18366 * progmodes/opascal.el: Use font-lock and syntax-propertize.
18367 (opascal-mode-syntax-table): New var.
18368 (opascal-literal-kind, opascal-is-literal-end)
18369 (opascal-literal-token-at): Rewrite.
18370 (opascal--literal-start-re, opascal-font-lock-keywords)
18371 (opascal--syntax-propertize): New constants.
18372 (opascal-font-lock-defaults): Adjust.
18373 (opascal-mode): Use them. Set comment-<foo> variables as well.
18374 (delphi-comment-face, opascal-comment-face, delphi-string-face)
18375 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
18376 (delphi-other-face, opascal-other-face): Remove face variables.
18377 (opascal-save-state): Remove macro.
18378 (opascal-fontifying-progress-step): Remove constant.
18379 (opascal--ignore-changes): Remove var.
18380 (opascal-set-token-property, opascal-parse-next-literal)
18381 (opascal-is-stable-literal, opascal-complete-literal)
18382 (opascal-is-literal-start, opascal-face-of)
18383 (opascal-parse-region, opascal-parse-region-until-stable)
18384 (opascal-fontify-region, opascal-after-change)
18385 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
18386 (opascal-debug-parse-region, opascal-debug-parse-window)
18387 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
18388 (opascal-debug-fontify-buffer): Remove.
18389 (opascal-debug-mode-map): Adjust accordingly.
18391 2013-04-25 Leo Liu <sdl.web@gmail.com>
18393 Merge octave-mod.el and octave-inf.el into octave.el with some
18395 * progmodes/octave.el: New file renamed from octave-mod.el.
18396 * progmodes/octave-inf.el: Merged into octave.el.
18397 * progmodes/octave-mod.el: Renamed to octave.el.
18399 2013-04-25 Tassilo Horn <tsdh@gnu.org>
18401 * textmodes/reftex-vars.el
18402 (reftex-label-ignored-macros-and-environments): New defcustom.
18404 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
18406 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18408 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
18409 (smie-indent-keyword): Improve the check to ensure that the next
18410 comment is really on the same line.
18411 (smie-indent-comment): Don't align with a subsequent closer (or eob).
18413 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
18414 semi-colons if the line is not otherwise empty (bug#14218).
18416 2013-04-25 Glenn Morris <rgm@gnu.org>
18418 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
18420 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
18422 * progmodes/opascal.el (opascal-set-token-property): Rename from
18423 opascal-set-text-properties and only set `token' (bug#14134).
18424 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
18425 (opascal-literal-text-properties): Remove.
18426 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
18429 2013-04-24 Reuben Thomas <rrt@sc3d.org>
18431 * textmodes/remember.el (remember-handler-functions): Add an
18432 option for a new handler `remember-store-in-files'.
18433 (remember-data-directory, remember-directory-file-name-format):
18435 (remember-store-in-files): New function to store remember notes
18436 as separate files within a directory.
18438 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
18440 * progmodes/compile.el (compilation-next-error-function):
18441 Pass "formats" to compilation-find-file (bug#11777).
18443 2013-04-24 Glenn Morris <rgm@gnu.org>
18445 * vc/vc-bzr.el (vc-bzr-print-log):
18446 * vc/vc-hg.el (vc-hg-print-log):
18447 * vc/vc-svn.el (vc-svn-print-log):
18448 Fix START-REVISION with LIMIT != 1. (Bug#14168)
18450 * vc/vc-bzr.el (vc-bzr-print-log):
18451 * vc/vc-cvs.el (vc-cvs-print-log):
18452 * vc/vc-git.el (vc-git-print-log):
18453 * vc/vc-hg.el (vc-hg-print-log):
18454 * vc/vc-mtn.el (vc-mtn-print-log):
18455 * vc/vc-rcs.el (vc-rcs-print-log):
18456 * vc/vc-sccs.el (vc-sccs-print-log):
18457 * vc/vc-svn.el (vc-svn-print-log):
18458 * vc/vc.el (vc-print-log-internal): Doc fixes.
18460 2013-04-23 Glenn Morris <rgm@gnu.org>
18462 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
18463 Remove venerable code attempting to avoid substitute-command-keys.
18465 2013-04-23 Tassilo Horn <tsdh@gnu.org>
18467 * textmodes/reftex-vars.el (reftex-label-regexps):
18468 Call `reftex-compile-variables' after changes to this variable.
18470 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
18472 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
18473 Use lexical-binding.
18474 (jit-lock-force-redisplay): Use markers, check buffer's continued
18475 existence and beware narrowed buffers.
18476 (jit-lock-fontify-now): Adjust call accordingly.
18478 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
18480 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
18481 to avoid misleading the user.
18483 2013-04-22 Leo Liu <sdl.web@gmail.com>
18485 * info-look.el: Prefer latex2e.info. (Bug#14240)
18487 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
18489 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
18491 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
18492 * net/tramp.el (tramp-call-process): ... here.
18493 (tramp-set-completion-function, tramp-parse-putty):
18494 * net/tramp-adb.el (tramp-adb-execute-adb-command):
18495 * net/tramp-gvfs.el (tramp-gvfs-send-command):
18496 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
18497 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
18498 (tramp-call-local-coding-command): Use `tramp-call-process'
18499 instead of `tramp-compat-call-process'.
18501 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
18502 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
18503 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
18504 (tramp-find-inline-compress): Improve traces.
18505 (tramp-maybe-send-script): Check for Perl binary.
18506 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
18508 2013-04-22 Daiki Ueno <ueno@gnu.org>
18510 * epg.el (epg-context-pinentry-mode): New function.
18511 (epg-context-set-pinentry-mode): New function.
18512 (epg--start): Pass --pinentry-mode option to gpg command.
18514 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
18516 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
18517 `comint-dynamic-complete' is obsolete since 24.1, replaced by
18518 `completion-at-point'. (Bug#13774)
18520 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
18521 default key binding for `describe-distribution' has been moved to
18522 `C-h C-o'. (Bug#13970)
18524 2013-04-21 Glenn Morris <rgm@gnu.org>
18526 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
18528 (vc-print-log): Clarify interactive prompt.
18530 2013-04-20 Glenn Morris <rgm@gnu.org>
18532 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
18533 No longer include timestamp etc information.
18535 2013-04-20 Roland Winkler <winkler@gnu.org>
18537 * faces.el (read-face-name): Bug fix, return just one face if arg
18538 multiple is nil. (Bug#14209)
18540 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18542 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
18543 (remove-function): Autoload.
18545 * comint.el (comint-redirect-original-filter-function): Remove.
18546 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
18547 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
18548 (vc-cvs-annotate-command):
18549 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
18550 * progmodes/prolog.el (prolog-consult-compile):
18551 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
18552 Use add/remove-function instead.
18553 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
18554 (gud-tooltip-process-output, gud-tooltip-tips):
18555 Use add/remove-function instead.
18556 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
18557 (scheme-interaction-mode, exit-scheme-interaction-mode):
18558 Use add/remove-function instead.
18560 * vc/vc-dispatcher.el: Use lexical-binding.
18561 (vc--process-sentinel): Rename from vc-process-sentinel.
18562 Change last arg to be the code to run. Don't use vc-previous-sentinel
18563 and vc-sentinel-commands any more.
18564 (vc-exec-after): Allow code to be a function. Use add/remove-function.
18565 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
18567 2013-04-19 Masatake YAMATO <yamato@redhat.com>
18569 * progmodes/sh-script.el (sh-imenu-generic-expression):
18570 Handle function names with a single character. (Bug#14111)
18572 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
18574 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
18575 for subroutines defined in an eval (bug#14182).
18577 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18579 * bookmark.el (bookmark-completing-read): Improve handling of empty
18580 string (bug#14176).
18582 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18584 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
18586 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
18588 New faster Imenu implementation (bug#14058).
18589 * progmodes/python.el (python-imenu-prev-index-position)
18590 (python-imenu-format-item-label-function)
18591 (python-imenu-format-parent-item-label-function)
18592 (python-imenu-format-parent-item-jump-label-function):
18594 (python-imenu-format-item-label)
18595 (python-imenu-format-parent-item-label)
18596 (python-imenu-format-parent-item-jump-label)
18597 (python-imenu--put-parent, python-imenu--build-tree)
18598 (python-imenu-create-index, python-imenu-create-flat-index)
18599 (python-util-popn): New functions.
18600 (python-mode): Set imenu-create-index-function to
18601 python-imenu-create-index.
18603 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18605 * winner.el (winner-active-region): Use region-active-p, activate-mark
18606 and deactivate-mark (bug#14225).
18608 * simple.el (deactivate-mark): Don't inline it.
18610 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
18612 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
18614 2013-04-18 Tassilo Horn <tsdh@gnu.org>
18616 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
18617 file extensions from the archive-mode entry in order to prefer
18618 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
18620 2013-04-18 Leo Liu <sdl.web@gmail.com>
18622 * bindings.el (help-event-list): Add ?\?.
18624 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18626 * subr.el (with-wrapper-hook): Declare obsolete.
18627 * simple.el (filter-buffer-substring-function): New hook.
18628 (filter-buffer-substring): Use it.
18629 (filter-buffer-substring-functions): Mark obsolete.
18630 * minibuffer.el (completion-in-region-function): New hook.
18631 (completion-in-region): Use it.
18632 (completion-in-region-functions): Mark obsolete.
18633 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
18634 * abbrev.el (abbrev-expand-function): New hook.
18635 (expand-abbrev): Use it.
18636 (abbrev-expand-functions): Mark obsolete.
18637 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
18638 and :filter-return.
18640 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18642 * progmodes/python.el (python-nav--syntactically): Fix cornercases
18643 and do not care about match data.
18645 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18647 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
18648 completion tables when completing error conditions and
18649 `declare' arguments.
18650 (lisp-complete-symbol, field-complete): Mark as obsolete.
18651 (check-parens): Unmatched parens are user errors.
18652 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
18654 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
18656 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
18657 command changed buffer (ie. `flyspell-pre-buffer' is not current
18658 buffer), which prevents making decisions based on invalid value of
18659 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
18660 cause an error when `flyspell-pre-point' was nil after switching
18662 (flyspell-post-command-hook): No longer needs to change buffers when
18663 checking pre-word. While at it remove unnecessary progn.
18665 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
18667 * textmodes/ispell.el (ispell-add-per-file-word-list):
18668 Fix `flyspell-correct-word-before-point' error when accepting
18669 words and `coment-padding' is an integer by using
18670 `comment-normalize-vars' (Bug #14214).
18672 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18674 New defun movement commands.
18675 * progmodes/python.el (python-nav--syntactically)
18676 (python-nav--forward-defun, python-nav-backward-defun)
18677 (python-nav-forward-defun): New functions.
18679 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18681 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
18682 (python-syntax-context): Use named compiler-macro for backwards
18683 compatibility with Emacs 24.x.
18685 2013-04-17 Leo Liu <sdl.web@gmail.com>
18687 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
18688 octave-hide-process-buffer.
18690 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18692 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
18695 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
18697 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
18698 Fix adjustment of offset when receiving incomplete responses from GDB
18701 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18703 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
18704 python-mode-abbrev-table.
18705 (python-skeleton-define): Adjust accordingly.
18706 (python-mode-abbrev-table): New table that inherits from it so that
18707 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
18709 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
18710 (abbrev-symbol): Use it.
18711 (abbrev--before-point): Use it since we already handle inheritance.
18713 2013-04-16 Leo Liu <sdl.web@gmail.com>
18715 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
18716 binding to info-lookup-symbol.
18718 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
18720 * minibuffer.el (completion--twq-all):
18721 * term/ns-win.el (ns-initialize-window-system):
18722 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
18724 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18726 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
18729 * doc-view.el (doc-view-start-process): Handle url-handler directories.
18731 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
18733 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
18734 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
18736 (ruby-end-of-defun): Remove the unused arg, change the docstring
18737 to reflect that this function is only used as the value of
18738 `end-of-defun-function'.
18739 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
18740 to reflect an earlier change that beginning/end-of-defun functions
18741 jump between methods in a class definition, as well as top-level
18744 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18746 * minibuffer.el (minibuffer-complete): Don't just scroll
18747 a *Completions* that's been iconified.
18748 (minibuffer-force-complete): Make sure repetitions do cycle when going
18749 through completion-in-region -> minibuffer-complete.
18751 2013-04-15 Alan Mackenzie <acm@muc.de>
18753 Correct the placement of c-cpp-delimiters when there're #s not at
18756 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
18757 place a submatch around the #.
18758 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
18759 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
18762 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18764 * emacs-lisp/nadvice.el: Properly test names when adding advice.
18765 (advice--member-p): New arg `name'.
18766 (advice--add-function, advice-member-p): Use it (bug#14202).
18768 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
18770 Reformulate java imenu-generic-expression.
18771 The old expression contained ill formed regexps.
18773 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
18774 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
18775 (cc-imenu-java-method-arg-regexp): New defconsts.
18776 (cc-imenu-java-build-type-args-regex): New defun.
18777 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
18778 handling of spaces in the regexp.
18780 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18782 * textmodes/ispell.el (ispell-command-loop): Remove
18783 flyspell highlight of a word when ispell accepts it (bug #14178).
18785 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
18787 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
18788 uses code from the previous `ange-ftp-run-real-handler'.
18789 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
18790 only in case that function exist. This is needed for proper
18791 unloading of Tramp.
18793 2013-04-15 Tassilo Horn <tsdh@gnu.org>
18795 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
18797 * textmodes/reftex.el (reftex-compile-variables): Use it.
18799 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18801 * files.el (normal-mode): Only use default major-mode if no other mode
18804 * emacs-lisp/trace.el (trace-values): New function.
18806 * files.el: Allow : in local variables (bug#14089).
18807 (hack-local-variable-regexp): New var.
18808 (hack-local-variables-prop-line, hack-local-variables): Use it.
18810 2013-04-13 Roland Winkler <winkler@gnu.org>
18812 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
18813 data before it gets modified by bibtex-beginning-of-entry.
18815 2013-04-13 Roland Winkler <winkler@gnu.org>
18817 * textmodes/bibtex.el (bibtex-url): Doc fix.
18819 2013-04-13 Roland Winkler <winkler@gnu.org>
18821 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
18822 does not visit a BibTeX file, exclude it from the list of buffers
18823 returned by bibtex-initialize.
18825 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
18827 * window.el (split-window): Remove interactive form, since as a
18828 command this function is a special case of split-window-below.
18829 Correct doc string.
18831 2013-04-12 Roland Winkler <winkler@gnu.org>
18833 * faces.el (read-face-name): Do not override value of arg default.
18834 Allow single faces and strings as default values. Remove those
18835 elements from return value that are not faces.
18836 (describe-face): Simplify.
18837 (face-at-point): New optional args thing and multiple so that this
18838 function can provide the same functionality previously provided by
18840 (make-face-bold, make-face-unbold, make-face-italic)
18841 (make-face-unitalic, make-face-bold-italic, invert-face)
18842 (modify-face, read-face-and-attribute): Use face-at-point.
18844 * cus-edit.el (customize-face, customize-face-other-window)
18845 * cus-theme.el (custom-theme-add-face)
18846 * face-remap.el (buffer-face-set)
18847 * facemenu.el (facemenu-set-face): Use face-at-point.
18849 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
18851 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
18853 2013-04-10 Tassilo Horn <tsdh@gnu.org>
18855 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
18856 off leading { and trailing } from field values.
18858 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
18860 * emacs-lisp/timer.el (timer--check): New function.
18861 (timer--time, timer-set-function, timer-event-handler): Use it.
18862 (timer-set-idle-time): Simplify.
18863 (timer--activate): CSE.
18864 (timer-event-handler): Give more info in error message.
18865 (internal-timer-start-idle): New function, moved from C.
18867 * mpc.el (mpc-proc): Add `restart' argument.
18868 (mpc-proc-cmd): Use it.
18869 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
18870 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
18873 2013-04-10 Masatake YAMATO <yamato@redhat.com>
18875 * progmodes/sh-script.el: Implement `sh-mode' own
18876 `add-log-current-defun-function' (bug#14112).
18877 (sh-current-defun-name): New function.
18878 (sh-mode): Use the function.
18880 2013-04-09 Bastien Guerry <bzg@gnu.org>
18882 * simple.el (choose-completion-string): Fix docstring (bug#14163).
18884 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
18886 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
18888 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
18891 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
18893 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
18896 2013-04-07 Leo Liu <sdl.web@gmail.com>
18898 * pcmpl-x.el: New file.
18900 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
18902 Do not set x-display-name until X connection is established.
18903 This is needed to prevent from weird situation described at
18904 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
18905 * frame.el (make-frame): Set x-display-name after call to
18906 window system initialization function, not before.
18907 * term/x-win.el (x-initialize-window-system): Add optional
18908 display argument and use it.
18909 * term/w32-win.el (w32-initialize-window-system):
18910 * term/ns-win.el (ns-initialize-window-system):
18911 * term/pc-win.el (msdos-initialize-window-system):
18912 Add compatible optional display argument.
18914 2013-04-06 Eli Zaretskii <eliz@gnu.org>
18916 * files.el (normal-backup-enable-predicate): On MS-Windows and
18917 MS-DOS compare truenames of temporary-file-directory and of the
18918 file, so that 8+3 aliases (usually found in $TEMP on Windows)
18919 don't fail comparison by compare-strings. Also, compare file
18920 names case-insensitively on MS-Windows and MS-DOS.
18922 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18924 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
18925 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
18927 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
18929 * whitespace.el (whitespace-color-on, whitespace-color-off):
18930 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
18932 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
18934 * ispell.el (ispell-set-spellchecker-params):
18935 Really set `ispell-args' for all equivs.
18937 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18939 * ido.el (ido-completions): Use extra elements of ido-decorations
18941 (ido-decorations): Update docstring.
18943 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
18945 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18946 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
18947 nil during initialization, in order not to miss changes since the
18948 file was opened. (Bug#14140)
18950 2013-04-05 Leo Liu <sdl.web@gmail.com>
18952 * kmacro.el (kmacro-call-macro): Fix bug#14135.
18954 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
18956 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
18958 2013-04-04 Glenn Morris <rgm@gnu.org>
18960 * electric.el (electric-pair-inhibit-predicate): Add :version.
18962 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
18964 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
18965 when a package is required several times (bug#14082).
18967 2013-04-04 Roland Winkler <winkler@gnu.org>
18969 * faces.el (read-face-name): Behave as promised by the docstring.
18970 Assume that arg default is a list of faces.
18971 (describe-face): Call read-face-name with list of default faces.
18973 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18975 * bookmark.el: Fix deletion of bookmarks (bug#13972).
18976 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
18977 (bookmark-bmenu-execute-deletions): Only skip first line if it's
18979 (bookmark-exit-hook-internal): Save even if list is empty.
18981 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
18983 * emacs-lisp/package.el (package-pinned-packages): New var.
18984 (package--add-to-archive-contents): Obey it (bug#14118).
18986 2013-04-03 Alan Mackenzie <acm@muc.de>
18988 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
18989 Also adapt to the new values of element 7 of a parse state.
18991 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
18992 parameter `not-in-delimiter'. Handle being inside comment opener.
18993 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
18994 character in case we're typing a '*' after a '/'.
18995 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
18996 instead by passing the parameter to c-state-pp-to-literal.
18998 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
18999 for elt. 7 of a parse state.
19001 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
19003 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
19004 * international/latin1-disp.el, international/mule-util.el:
19005 * language/cyril-util.el, language/european.el, language/ind-util.el:
19006 * language/lao-util.el, language/thai.el, language/tibet-util.el:
19007 * language/tibetan.el, language/viet-util.el:
19008 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
19010 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19012 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
19013 (electric-pair-post-self-insert-function): Use it.
19014 (electric-pair-default-inhibit): New function, extracted from
19015 electric-pair-post-self-insert-function.
19017 2013-03-31 Roland Winkler <winkler@gnu.org>
19019 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
19021 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19023 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
19025 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
19027 Un-indent after "pass" and "return" statements (Bug#13888)
19028 * progmodes/python.el (python-indent-block-enders): New var.
19029 (python-indent-calculate-indentation): Use it.
19031 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
19033 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
19034 defun. Defining it as defalias could introduce too eager
19035 byte-compiler optimization. (Bug#14030)
19037 2013-03-30 Chong Yidong <cyd@gnu.org>
19039 * iswitchb.el (iswitchb-read-buffer): Fix typo.
19041 2013-03-30 Leo Liu <sdl.web@gmail.com>
19043 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
19044 (kmacro-execute-from-register): Pass the keyboard macro to
19045 kmacro-call-macro or repeating won't work correctly.
19047 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
19049 * progmodes/subword.el: Back to using `forward-symbol'.
19051 * subr.el (forward-whitespace, forward-symbol)
19052 (forward-same-syntax): Move from thingatpt.el.
19054 2013-03-29 Leo Liu <sdl.web@gmail.com>
19056 * kmacro.el (kmacro-to-register): New command.
19057 (kmacro-execute-from-register): New function.
19058 (kmacro-keymap): Bind to 'x'. (Bug#14071)
19060 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
19062 * mpc.el: Use defvar-local and setq-local.
19063 (mpc--proc-connect): Connection failures are not bugs.
19064 (mpc-mode-map): `follow-link' only applies to the buffer's content.
19065 (mpc-volume-map): Bind to the up-events.
19067 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
19069 * progmodes/subword.el (superword-mode): Use `forward-sexp'
19070 instead of `forward-symbol'.
19072 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
19074 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
19075 (edebug--recursive-edit): Use it.
19076 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
19077 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
19079 2013-03-28 Leo Liu <sdl.web@gmail.com>
19081 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
19083 2013-03-27 Eli Zaretskii <eliz@gnu.org>
19085 * facemenu.el (list-colors-callback): New defvar.
19086 (list-colors-redisplay): New function.
19087 (list-colors-display): Install list-colors-redisplay as the
19088 revert-buffer-function. (Bug#14063)
19090 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
19092 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
19093 and suffixes don't overlap (bug#14061).
19095 * case-table.el: Use lexical-binding.
19096 (case-table-get-table): New function.
19097 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
19099 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
19101 * progmodes/subword.el: Add `superword-mode' to do word motion
19102 over symbol_words (parallels and leverages `subword-mode' which
19103 does word motion inside MixedCaseWords).
19105 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
19107 * eshell/em-unix.el: Move su and sudo to...
19108 * eshell/em-tramp.el: ...Eshell tramp module.
19110 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
19112 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
19113 Change return value to be a sexp. Delay `get-buffer' to after
19114 restoring the desktop (bug#13951).
19116 2013-03-26 Leo Liu <sdl.web@gmail.com>
19118 * register.el: Move semantic tag handling back to
19119 cedet/semantic/senator.el. (Bug#14052)
19121 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
19123 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
19124 into the prompt either (bug#13963).
19126 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
19128 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
19129 part of "(error-foo)".
19131 2013-03-24 Juri Linkov <juri@jurta.org>
19133 * replace.el (list-matching-lines-prefix-face): New defcustom.
19134 (occur-1): Pass `list-matching-lines-prefix-face' to the function
19135 `occur-engine' if `face-differs-from-default-p' returns t.
19136 (occur-engine): Add `,' inside backquote construct to evaluate
19137 `prefix-face'. Propertize the prefix with the `prefix-face' face.
19138 Pass `prefix-face' to the functions `occur-context-lines' and
19139 `occur-engine-add-prefix'.
19140 (occur-engine-add-prefix, occur-context-lines): Add optional arg
19141 `prefix-face' and propertize the prefix with `prefix-face'.
19144 2013-03-24 Leo Liu <sdl.web@gmail.com>
19146 * nxml/rng-valid.el (rng-validate-while-idle)
19147 (rng-validate-quick-while-idle): Guard against deleted buffer.
19150 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
19151 is the last entry in kill-buffer-hook.
19153 * files.el (kill-buffer-hook): Doc fix.
19155 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
19157 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
19158 Make it safe-local.
19160 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
19162 2013-03-23 Leo Liu <sdl.web@gmail.com>
19164 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
19167 * nxml/rng-valid.el (rng-validate-mode)
19168 (rng-after-change-function, rng-do-some-validation):
19169 * nxml/rng-maint.el (rng-validate-buffer):
19170 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
19171 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
19172 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
19173 (nxml-extend-after-change-region): Use with-silent-modifications.
19175 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
19178 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
19179 (rng-next-error-1, rng-previous-error-1): Do not let-bind
19180 timer-idle-list. (Bug#13999)
19182 2013-03-23 Juri Linkov <juri@jurta.org>
19184 * info.el (info-index-match): New face.
19185 (Info-index, Info-apropos-matches): Add a nested subgroup to the
19186 main pattern and add text properties with the new face to matches
19187 in index entries relative to the beginning of the index entry.
19190 2013-03-21 Eric Ludlam <zappo@gnu.org>
19192 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
19193 Inhibit read only while inserting objects.
19195 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
19197 * progmodes/cfengine.el: Update docs to mention
19198 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
19199 symbol motion. Remove "_" from the word syntax.
19201 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
19203 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
19204 syntax for both `cfengine2-mode' and `cfengine3-mode'.
19206 2013-03-20 Juri Linkov <juri@jurta.org>
19208 * info.el (Info-next-reference-or-link)
19209 (Info-prev-reference-or-link): New functions.
19210 (Info-next-reference, Info-prev-reference): Use them.
19211 (Info-try-follow-nearest-node): Handle footnote navigation.
19212 (Info-fontify-node): Fontify footnotes. (Bug#13989)
19214 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
19216 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
19217 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
19219 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
19221 Suppress unnecessary non-ASCII chatter during build process.
19222 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
19223 (batch-skkdic-convert): Suppress most of the chatter.
19224 It's not needed so much now that machines are faster,
19225 and its non-ASCII component was confusing; see Dmitry Gutov in
19226 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
19228 2013-03-20 Leo Liu <sdl.web@gmail.com>
19230 * ido.el (ido-chop): Fix bug#10994.
19232 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
19234 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
19236 (whitespace-color-on, whitespace-color-off):
19237 Use `font-lock-fontify-buffer' (Bug#13817).
19239 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
19241 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
19242 remapping in mode-line.
19243 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
19245 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
19247 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
19248 value for `whitespace-line' face (Bug#13875).
19249 (whitespace-font-lock-keywords): Change description.
19250 (whitespace-color-on): Don't save `font-lock-keywords' value, save
19251 the constructed keywords instead.
19252 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
19254 2013-03-19 Leo Liu <sdl.web@gmail.com>
19256 * progmodes/compile.el (compilation-display-error): New command.
19257 (compilation-mode-map, compilation-minor-mode-map): Bind it to
19260 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
19262 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
19264 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
19266 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
19268 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
19270 * net/tramp-compat.el (tramp-compat-user-error): New defun.
19272 * net/tramp-adb.el (tramp-adb-handle-shell-command):
19273 * net/tramp-gvfs.el (top):
19274 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
19275 (tramp-handle-shell-command): Use it.
19276 (tramp-dissect-file-name): Raise an error when hostname is a
19277 method name, and neither method nor user is specified.
19279 * net/trampver.el: Update release number.
19281 2013-03-18 Leo Liu <sdl.web@gmail.com>
19283 Make sure eldoc can be turned off properly.
19284 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
19286 (eldoc-display-message-p): Revert last change.
19287 (eldoc-display-message-no-interference-p)
19288 (eldoc-print-current-symbol-info): Tweak.
19290 2013-03-18 Tassilo Horn <tsdh@gnu.org>
19292 * doc-view.el (doc-view-new-window-function): Check the new window
19293 overlay's display property instead the char property of the
19294 buffer's first char. Use `with-selected-window' instead of
19295 `save-window-excursion' with `select-window'.
19296 (doc-view-document->bitmap): Check the current doc-view overlay's
19297 display property instead the char property of the buffer's first char.
19299 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
19301 Automate the build of ja-dic.el (Bug#13984).
19302 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
19303 from the input, rather than assume that it's been done for us by the
19304 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
19305 the current date into a ja-dic.el comment, as that complicates
19306 regression testing.
19308 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19310 * whitespace.el: Fix double evaluation.
19311 (whitespace-space, whitespace-hspace, whitespace-tab)
19312 (whitespace-newline, whitespace-trailing, whitespace-line)
19313 (whitespace-space-before-tab, whitespace-indentation)
19314 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
19316 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
19317 (whitespace-color-on): Use a single font-lock-add-keywords call.
19318 Fix double-evaluation of face variables.
19320 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
19322 * net/tramp-adb.el (tramp-adb-parse-device-names):
19323 Use `start-process' instead of `call-process'. Otherwise, the
19324 function might be blocked under MS Windows. (Bug#13299)
19326 2013-03-17 Leo Liu <sdl.web@gmail.com>
19328 Extend eldoc to display info in the mode-line. (Bug#13978)
19329 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
19330 (eldoc-mode-line-string): New variable.
19331 (eldoc-minibuffer-message): New function.
19332 (eldoc-message-function): New variable.
19333 (eldoc-message): Use it.
19334 (eldoc-display-message-p)
19335 (eldoc-display-message-no-interference-p):
19336 Support eldoc-post-insert-mode.
19338 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
19339 (eval-expression): Run it.
19341 2013-03-17 Roland Winkler <winkler@gnu.org>
19343 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
19344 strings in the list of return values.
19346 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19348 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
19349 radix before checking for HMS forms.
19351 2013-03-16 Leo Liu <sdl.web@gmail.com>
19353 * progmodes/scheme.el: Add indentation and font-locking for λ.
19356 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
19358 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
19359 token before point (bug#13942).
19361 2013-03-16 Leo Liu <sdl.web@gmail.com>
19363 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
19365 2013-03-16 Eli Zaretskii <eliz@gnu.org>
19367 * startup.el (command-line-normalize-file-name): Fix handling of
19368 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
19369 <xfq.free@gmail.com> in
19370 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
19372 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
19374 Sync with Tramp 2.2.7.
19376 * net/trampver.el: Update release number.
19378 2013-03-14 Tassilo Horn <tsdh@gnu.org>
19380 * doc-view.el: Fix bug#13887.
19381 (doc-view-insert-image): Don't modify overlay associated to
19382 non-live windows, and implement horizontal centering of image in
19383 case it's smaller than the window.
19384 (doc-view-new-window-function): Force redisplay of new windows on
19387 2013-03-13 Karl Fogel <kfogel@red-bean.com>
19389 * saveplace.el (save-place-alist-to-file): Don't sort
19390 `save-place-alist', just pretty-print it (bug#13882).
19392 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
19394 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
19395 Check whether `default-file-name-coding-system' is bound.
19396 It isn't in XEmacs.
19398 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
19400 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
19401 backquotes for `obsolete' (bug#13929).
19403 * international/mule.el (find-auto-coding): Include file name in
19404 obsolescence warning (bug#13922).
19406 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
19408 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
19409 for CFEngine 3-specific indentation.
19410 (cfengine3-indent-line): Use it. Fix up category regex.
19411 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
19413 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19415 * type-break.el (type-break-file-name):
19416 * textmodes/remember.el (remember-data-file):
19417 * strokes.el (strokes-file):
19418 * shadowfile.el (shadow-initialize):
19419 * saveplace.el (save-place-file):
19420 * ps-bdf.el (bdf-cache-file):
19421 * progmodes/idlwave.el (idlwave-config-directory):
19422 * net/quickurl.el (quickurl-url-file):
19423 * international/kkc.el (kkc-init-file-name):
19424 * ido.el (ido-save-directory-list-file):
19425 * emulation/viper.el (viper-custom-file-name):
19426 * emulation/vip.el (vip-startup-file):
19427 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
19428 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
19430 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
19432 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
19433 * language/thai-word.el: Switch to UTF-8.
19435 See ChangeLog.16 for earlier changes.
19437 ;; Local Variables:
19441 Copyright (C) 2011-2014 Free Software Foundation, Inc.
19443 This file is part of GNU Emacs.
19445 GNU Emacs is free software: you can redistribute it and/or modify
19446 it under the terms of the GNU General Public License as published by
19447 the Free Software Foundation, either version 3 of the License, or
19448 (at your option) any later version.
19450 GNU Emacs is distributed in the hope that it will be useful,
19451 but WITHOUT ANY WARRANTY; without even the implied warranty of
19452 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19453 GNU General Public License for more details.
19455 You should have received a copy of the GNU General Public License
19456 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.