aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Extract better font information from the GTK >= 3.2 font chooser.Chong Yidong2012-08-151-0/+4
| | | | | | | | | | | | | | | * gtkutil.c (xg_get_font): Rename from xg_get_font_name. When using the new font chooser, use gtk_font_chooser_get_font_desc to extract the font descriptor instead of just the font name. In that case, return a font spec instead of a string. (x_last_font_name): Move to this file from xfns.c. * xfns.c (Fx_select_font): The return value can also be a font spec. Move x_last_font_name management to gtkutil.c. * xfaces.c: Make font weight and style symbols non-static. * lisp/frame.el (set-frame-font): Accept font objects.
* * lisp/textmodes/tex-mode.el (tex-insert-quote): ~ is a space.Stefan Monnier2012-08-141-0/+4
| | | | Fixes: debbugs:12137
* * lisp/man.el (Man-overstrike-face, Man-underline-face)Wolfgang Jenkner2012-08-141-0/+9
| | | | | | | | | | | | (Man-reverse-face): Remove variables. (Man-overstrike, Man-underline, Man-reverse): New faces. (Man-fontify-manpage): Use them instead of the variables. (Man-cleanup-manpage): Comment change. (Man-ansi-color-map): New variable. (Man-fontify-manpage): Use it. Call ansi-color-apply-on-region to replace ad hoc code. Fixes: debbugs:12147
* Implement ANSI SGR parameters 22-27.Wolfgang Jenkner2012-08-141-0/+15
| | | | | | | | | | | | | | | | * lisp/ansi-color.el (ansi-colors): Doc fix. (ansi-color-context, ansi-color-context-region): Doc fix. (ansi-color--find-face): New function. (ansi-color-apply, ansi-color-apply-on-region): Use it. Rename the local variable `face' to `codes' since it is now a list of ansi codes. Doc fix. (ansi-color-get-face): Remove. (ansi-color-parse-sequence): New function, derived from ansi-color-get-face. (ansi-color-apply-sequence): Use it. Rewrite, and support ansi codes 22-27. Fixes: debbugs:12146
* * lisp/subr.el (read-passwd): Allow use from a minibuffer.Stefan Monnier2012-08-141-2/+6
|
* Fix and improve GUD Tooltip mode.Eli Zaretskii2012-08-141-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | lisp/tooltip.el (tooltip-identifier-from-point): Don't treat tokens inside comments and strings as identifiers. lisp/progmodes/gud.el (gud-tooltip-print-command): Quote the expression to evaluate. This allows to evaluate expressions with embedded whitespace. (gud-tooltip-tips): Add a blank before the newline in the message-box text, for the benefit of message-box emulation on MS-Windows. lisp/progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error messages from GDB, pop them up in a tooltip to give feedback to user. (gdb-tooltip-print-1): Quote the expression to evaluate. This allows to evaluate expressions with embedded whitespace. (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command if the TTY name is nil or empty (which happens when communicating with the inferior via pipes, e.g. on MS-Windows). (gdb-internals): If GDB sends a "&\n" empty debugging message, don't send that to the GUD buffer. doc/emacs/building.texi (Debugger Operation): Correct and improve documentation of the GUD Tooltip mode.
* byte-compile-setq-default fix for bug#12195Glenn Morris2012-08-141-0/+5
| | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-setq-default): Optimize away setq-default with no args, as is done for setq.
* More doc fixes.Chong Yidong2012-08-151-0/+2
| | | | | | | | | | | | * lisp/minibuffer.el (read-file-name): Doc fix. * character.c (Fcharacterp): Doc fix (Bug#12076). * data.c (Findirect_variable): Doc fix (Bug#11040). * editfns.c (Fsave_current_buffer): Doc fix (Bug#11542). Fixes: debbugs:11542 debbugs:11040 debbugs:12076 debbugs:10881
* Doc fixes.Chong Yidong2012-08-151-0/+5
| | | | | | | | | | * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix. * src/chartab.c (Fmap_char_table): Doc fix. * src/editfns.c (Fformat): Doc fix. Fixes: debbugs:12059 debbugs:12085 debbugs:12061
* * lisp/emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.Glenn Morris2012-08-141-2/+5
|
* * net/tramp-sh.el (tramp-open-shell): Cache the shell name.Michael Albinus2012-08-141-0/+6
| | | | | (tramp-find-shell, tramp-open-connection-setup-interactive-shell): Use cached shell name.
* * progmodes/python.el (python-shell-send-string):Fabián Ezequiel Gallina2012-08-141-0/+6
| | | | | (python-shell-send-setup-code): Do not use `format' with `message'.
* * lisp/progmodes/ruby-mode.el (ruby-syntax-methods-before-regexp): New const.Dmitry Gutov2012-08-141-0/+3
| | | | | | | | (ruby-syntax-propertize-function): Use it to recognize regexps. Don't look at the text after regexp, just use the whitelist. * test/indent/ruby.rb: Rearrange examples, add new ones. Fixes: debbugs:6286
* * lisp/progmodes/ruby-mode.el: Improve percent literals.Dmitry Gutov2012-08-141-2/+15
| | | | | | | | | | | | | | (ruby-percent-literal-beg-re): New constant. (ruby-syntax-general-delimiters-goto-beg): Rename to `ruby-syntax-enclosing-percent-literal', improve literal type check. (ruby-syntax-propertize-general-delimiters): Rename to `ruby-syntax-propertize-percent-literal', it's a shorter and more popular term. Adjust comments everywhere. (ruby-syntax-propertize-percent-literal): Only propertize when not inside a simple string or comment. When the literal is unclosed, leave the text after it unpropertized. Fixes: debbugs:6286
* Fixes: debbugs:12197Andreas Schwab2012-08-141-0/+5
| | | | | * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is non-nil always load the compiled file if it exists.
* Fix highlight-regexp's use of Font Lock mode.Chong Yidong2012-08-141-0/+9
| | | | | | | | | | * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock. (hi-lock-set-pattern): When deciding whether to use font lock or overlays, look at font-lock-mode instead of font-lock-fontified. (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer) (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix. Fixes: debbugs:12168
* * subr.el (internal--after-with-selected-window): Fix typo.Daiki Ueno2012-08-141-0/+5
| | | | Fixes: debbugs:12193
* Use `completion-table-dynamic' for completion functions.Fabián Ezequiel Gallina2012-08-141-0/+10
| | | | | | | | | * progmodes/python.el (python-shell-completion--do-completion-at-point) (python-shell-completion--get-completions): Remove functions. (python-shell-completion-complete-at-point): New function. (python-completion-complete-at-point): Use it.
* * lisp/vc/vc-dir.el (vc-dir-hide-state): New command.Jambunathan K2012-08-131-0/+5
| | | | | | (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'. Fixes: debbugs:12159
* * lisp/subr.el (function-get): Refine `autoload' arg so it can alsoStefan Monnier2012-08-131-0/+5
| | | | | | | | autoload functions for gv.el. * lisp/emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only autoloads macros. Fixes: debbugs:12191
* * lisp/color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):Stefan Monnier2012-08-131-0/+6
| | | | | | | Prefer pcase-let over destructuring-bind. * lisp/vc/diff-mode.el (diff-remove-trailing-whitespace): Same. Also, remove whitespace as we go, rather than after accumulating the various places.
* * lisp/subr.el (internal--before-with-selected-window)Stefan Monnier2012-08-131-0/+7
| | | | | | (internal--after-with-selected-window): Fix typo seleted->selected. (with-selected-window): Adjust callers. Reported by Dmitry Gutov <dgutov@yandex.ru>.
* window.el: Minor dosctring enhancement (Bug#12172).Bastien Guerry2012-08-131-0/+5
| | | | | * window.el (special-display-popup-frame): Minor docstring enhancement. (Bug#12172)
* * tar-mode.el (tar-header-data-end): Only ignore size for files ofAndreas Schwab2012-08-131-0/+5
| | | | | | type 1-6. (tar-header-block-summarize, tar-get-descriptor): Handle pax extended headers.
* * files.el (hack-local-variables-filter): Remove useless eval.Andreas Schwab2012-08-131-1/+6
|
* Fix last change to with-selected-window.Martin Rudalics2012-08-131-0/+4
| | | | * subr.el (with-selected-window): Fix last change.
* * lisp/subr.el (internal--before-with-seleted-window)Stefan Monnier2012-08-121-0/+6
| | | | | (internal--after-with-seleted-window): New functions. (with-selected-window): Use them, to replace dependency on tty-top-frame.
* Merge from upstream ruby-mode.elNobuyoshi Nakada2012-08-121-7/+20
| | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary binding for `newline'. (ruby-move-to-block): When moving backward, stop at block opening, not indentation. * progmodes/ruby-mode.el (ruby-brace-to-do-end) (ruby-do-end-to-brace, ruby-toggle-block): New functions. * progmodes/ruby-mode.el (ruby-mode-map): Add binding for `ruby-toggle-block'. * test/automated/ruby-mode-tests.el (ruby-move-to-block-stops-at-opening) (ruby-toggle-block-to-do-end, ruby-toggle-block-to-brace): New test.
* * lisp/ibuffer.el (ibuffer-do-toggle-read-only):Stefan Monnier2012-08-121-0/+8
| | | | | | | * lisp/dired.el (dired-toggle-read-only): * lisp/buff-menu.el (Buffer-menu-toggle-read-only): * lisp/bindings.el (mode-line-toggle-read-only): * lisp/bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
* * descr-text.el (describe-char): Put the overlays over theAndreas Schwab2012-08-121-0/+5
| | | | "displayed as" character.
* calc/calc-units.el (math-default-units-table): Give it anJay Belanger2012-08-111-0/+9
| | | | | | | | initial value. (math-put-default-units): Add options to put composite units and unit systems in default units table. (calc-convert-units): Send composite units to `math-put-default-units' when appropriate.
* ChangeLog date fixesGlenn Morris2012-08-101-3/+1
|
* Merge from emacs-24; up to 2012-05-02T11:38:01Z!lekktu@gmail.comChong Yidong2012-08-111-0/+15
|\
| * * lisp/emacs-lisp/copyright.el (copyright-update-directory): Logic fix.Glenn Morris2012-08-091-0/+2
| |
| * Disable local eval: in some placesGlenn Morris2012-08-091-0/+7
| | | | | | | | | | | | | | * tutorial.el (help-with-tutorial): * emacs-lisp/copyright.el (copyright-update-directory): * emacs-lisp/autoload.el (autoload-find-generated-file) (autoload-find-file): Disable local eval: (for insurance).
| * hack-local-variables-filter fix for bug#12155Glenn Morris2012-08-071-0/+6
| | | | | | | | | | | | * lisp/files.el (hack-local-variables-filter): If an eval: form is not known to be safe, and enable-local-variables is :safe, then ignore the form totally, as is done for non-eval forms.
* | * lisp/emacs-lisp/rx.el (rx-constituents): Don't define as constant.Stefan Monnier2012-08-101-0/+5
| | | | | | | | (rx-form): Simplify.
* | Merge stuff from upsteam ruby-mode, part 1.Dmitry Gutov2012-08-101-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated binding (use `M-;' instead). (ruby-expr-beg, ruby-parse-partial): ?, _, and : are symbol constituents, ! is not (but kinda should be). (ruby-singleton-class-p): New function. (ruby-expr-beg, ruby-in-here-doc-p) (ruby-syntax-propertize-heredoc): Use it. (ruby-syntax-propertize-function): Adjust for changes in `ruby-syntax-propertize-heredoc'. * test/automated/ruby-mode-tests.el (ruby-should-indent) (ruby-assert-state): New functions. Add new tests. Fixes: debbugs:12169
* | * lisp/emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.Stefan Monnier2012-08-101-0/+4
| |
* | Remove some unnecessary bindings of same-window-* variables.Chong Yidong2012-08-111-0/+10
| | | | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-shell-get-process-name): Don't mess with same-window-buffer-names. * lisp/eshell/eshell.el (eshell-add-to-window-buffer-names) (eshell-remove-from-window-buffer-names): Make obsolete. (eshell-buffer-name, eshell-unload-hook): Don't use them. (eshell): Just use pop-to-buffer-same-window instead.
* | Bind M-= back to count-words-region, and let it accept a prefix arg.Chong Yidong2012-08-111-0/+8
| | | | | | | | | | | | | | | | * lisp/bindings.el: Bind M-= back to count-words-region. * lisp/simple.el (count-words-region): Accept a prefix arg for acting on the entire buffer. (count-words--buffer-message): New helper function.
* | * lisp/term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.Stefan Monnier2012-08-101-0/+9
| | | | | | | | | | | | | | | | * lisp/subr.el (eventp): `nil' is not an event, and eventp is not hot. (event-start, event-end): Use posn-at-point to return a more informative posn. (posnp): New function. * lisp/mouse.el (popup-menu-normalize-position): Use it.
* | * lisp/mouse.el (popup-menu-normalize-position): New function.Masatake YAMATO2012-08-101-5/+14
| | | | | | | | | | | | | | | | (popup-menu): Use `popup-menu-normalize-position' to normalize the form for POSITION argument. * lisp/term/x-win.el (x-menu-bar-open): Use the value returend from (posn-at-point) as position passed to `popup-menu'.
* | calccomp.el (math-compose-expr): Add extra argument indicating thatJay Belanger2012-08-091-0/+7
| | | | | | | | | | parentheses should be put around products in denominators. Give multiplication precedence over division during composition.
* | Convert several man.el defvars to defcustoms.Chong Yidong2012-08-091-0/+5
| | | | | | | | | | | | | | | | * man.el (Man-switches, Man-sed-command, Man-awk-command) (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args) (Man-untabify-command, manual-program): Convert to defcustom. Fixes: debbugs:10429
* | * lisp/vc/add-log.el (change-log-mode): Bind comment-start to nil.Chong Yidong2012-08-091-0/+2
| | | | | | | | This fixes M-q for Change Log entries which contain "(Bug#123)".
* | * descr-text.el (describe-char): Don't insert extra newlines.Chong Yidong2012-08-091-0/+3
| | | | | | | | Fixes: debbugs:10127
* | * lisp/vc/log-view.el (log-view-diff): Use use-region-p.Chong Yidong2012-08-091-0/+3
| | | | | | | | | | | | (log-view-diff-changeset, log-view-minor-wrap): Likewise. Fixes: debbugs:10133
* | * align.el (align-region): Delete temporary markers.Chong Yidong2012-08-091-0/+5
| | | | | | | | | | | | Plus some code cleanups. Fixes: debbugs:10047
* | ChangeLog merge date fixesGlenn Morris2012-08-091-1/+1
| |