1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00
Commit Graph

114430 Commits

Author SHA1 Message Date
Xue Fuqiao
57b837ab5f Document negative argument of replacement commands.
* doc/emacs/search.texi (Special Isearch):
(Query Replace): Document negative argument of replacement commands.
2013-12-22 13:57:32 +08:00
Xue Fuqiao
07e9eaa2dc Document `isearch-forward-symbol-at-point'.
* doc/emacs/search.texi (Symbol Search): Document `isearch-forward-symbol-at-point'.
2013-12-22 13:36:29 +08:00
Xue Fuqiao
8d3c54a0b2 Document image-{next, previous}-file, plus some minor tweak. 2013-12-22 13:20:03 +08:00
Dmitry Gutov
6cddebc11b Integrate ruby-mode with electric-indent-mode better
* lisp/progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
extracted from `ruby-smie-rules'.
(ruby--electric-indent-chars): New variable.
(ruby--electric-indent-p): New function.
(ruby-mode): Use `electric-indent-functions' instead of
`electric-indent-chars'.
2013-12-22 06:57:00 +02:00
Xue Fuqiao
44b9b800f1 Another NEWS mark. 2013-12-22 12:55:31 +08:00
Xue Fuqiao
c9832cd810 Document `debugger-toggle-locals'.
* doc/lispref/debugging.texi (Debugger Commands): Document `debugger-toggle-locals'.
2013-12-22 11:36:04 +08:00
Xue Fuqiao
ced5cc2911 * doc/emacs/regs.texi (File Registers): Document `kmacro-to-register'. 2013-12-22 10:55:43 +08:00
Dmitry Gutov
65a1da00fe * lisp/progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
docstring.
(ruby-smie-rules): Indent plus one level after `=>'.
2013-12-22 04:31:21 +02:00
Xue Fuqiao
2ab18afbea Doc fix for `tab-stop-list'.
* doc/emacs/indent.texi (Tab Stops): Mention recent changes about `tab-stop-list'.
2013-12-22 09:56:52 +08:00
Xue Fuqiao
daef8ab140 Document `scroll-bar-adjust-thumb-portion'. 2013-12-22 09:45:13 +08:00
Xue Fuqiao
dc20a9d23d Add NEWS marks for focus-{in, out}-hook. 2013-12-22 09:17:48 +08:00
Xue Fuqiao
7899adea40 Add NEWS marks for VC. 2013-12-22 09:07:22 +08:00
Xue Fuqiao
2dc383bc06 * src/lread.c (syms_of_lread) <load_prefer_newer>: Doc fix. 2013-12-22 08:52:26 +08:00
Richard M. Stallman
b51ad4cf0a Document how to make RET not indent.
* simple.el (newline): Doc fix.
2013-12-21 17:55:59 -05:00
Kenjiro NAKAYAMA
dde4de31e0 eww: fix wrong key binding
* net/eww.el (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2013-12-21 15:50:02 -05:00
Kenjiro NAKAYAMA
5edcc2dc14 eww: support disabled and readonly text
* net/eww.el (eww-form-text): Support text form with disabled and readonly attributes.
2013-12-21 15:42:23 -05:00
Ted Zlatanov
d49fbfd670 eww: machinery to list browser history
* net/eww.el (eww-list-histories, eww-list-histories)
(eww-history-browse, eww-history-quit, eww-history-kill)
(eww-history-mode-map, eww-history-mode): New command and
functions to list browser histories.
2013-12-21 15:33:44 -05:00
Rüdiger Sonderfeld
5e1901c179 eww: minor code fixes and toolbar support
* net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
(eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
(eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
(eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
Use `user-error'.
(eww-bookmark-mode-map): Add menu.
(eww-render, eww-mode): Use `setq-local'.
(eww-tool-bar-map): New variable.
(eww-mode): Set `tool-bar-map'.
(eww-view-source): Check for `html-mode' with `fboundp'.
2013-12-21 15:13:09 -05:00
Lars Magne Ingebrigtsen
073d5cfd9e * net/shr.el (shr--extract-best-source): Don't bug out on audio elements
That have text inside.  Also remove debugging.
2013-12-21 18:54:16 +01:00
Jan Djärv
df8b4c3512 Changelog for previous checkin, missed to mark. 2013-12-21 17:12:52 +01:00
Jan Djärv
41cf3d118e Customize ns-use-srgb-colorspace on OSX >= 10.7 to use sRGB.
* etc/NEWS: Mention ns-use-srgb-colorspace.

* lisp/cus-start.el (all): Add ns-use-srgb-colorspace.

* src/nsfns.m (Fxw_color_values): Use colorUsingDefaultColorSpace.

* src/nsterm.h: Declare EmacsColor category.

* src/nsterm.m (NSColor): Implement EmacsColor category.
(ns_get_color): Use colorUsingDefaultColorSpace.
(ns_get_color, ns_term_init): Use colorForEmacsRed.
2013-12-21 17:11:55 +01:00
Chong Yidong
aac2b673c3 Don't make faces when loading Custom themes.
* custom.el (custom-theme-recalc-face): Do nothing if the face is
undefined.  Thus, theme settings for undefined faces do not take
effect until the faces are defined with defface, the same as with
theme variables.

* faces.el (face-spec-set): Use face-spec-recalc in all cases.
(face-spec-reset-face): Don't assign extra properties in temacs.
(face-spec-recalc): Apply X resources too.
2013-12-21 23:31:09 +08:00
Chong Yidong
bacb0e7791 Doc fixes for face functions.
* faces.el (face-spec-set):
* cus-face.el (custom-theme-set-faces, custom-set-faces):
* custom.el (defface): Doc fixes.

Fixes: debbugs:16203
2013-12-21 21:44:20 +08:00
Chong Yidong
c2790aecc8 * themes/tango-dark-theme.el: Minor color tweak. 2013-12-21 21:43:11 +08:00
Eli Zaretskii
7667eeb9b5 Fix compilation warning on MS-Windows in my_png_error.
src/image.c (fn_png_longjmp) [WINDOWSNT]: Mark the function as
 having the PNG_NORETURN attribute, to avoid compiler warning in
 my_png_error.
2013-12-21 11:09:48 +02:00
Chong Yidong
77221051a2 Tweak C-x TAB behavior changes, and update docs.
* lisp/indent.el (indent-rigidly-map): Add docstring, and move commands
into named functions.
(indent-rigidly-left, indent-rigidly-right)
(indent-rigidly-left-to-tab-stop)
(indent-rigidly-right-to-tab-stop): New functions.  Decide on
indentation direction based on bidi direction, and accumulate
sequential commands in a single undo boundary.
(indent-rigidly--pop-undo): New utility function.

* doc/emacs/indent.texi (Indentation Commands): Document C-x TAB changes.

* doc/lispref/text.texi (Region Indent): Note the new interactive
behavior of indent-rigidly.
2013-12-21 16:37:08 +08:00
Chong Yidong
70c8f5ca14 Re-organize NEWS. 2013-12-21 16:34:49 +08:00
YAMAMOTO Mitsuharu
5b2b60f0f8 Remove fringe background extension code on W32.
* w32term.h (struct scroll_bar): Remove member `fringe_extended_p'.

* w32term.c (w32_draw_fringe_bitmap, x_scroll_run): Remove code for
fringe background extension.
(x_scroll_bar_create): Remove variables `sb_left' and `sb_width',
because they are now always the same as `left' and `width',
respectively.  Remove code for the case that `width' and
`sb_width' are different.
2013-12-21 16:04:07 +09:00
Juanma Barranquero
e0eb0550dc * faces.el (read-face-name): Require crm.el when using crm-separator. 2013-12-21 00:06:17 +01:00
Daniel Colascione
3282bd2ea5 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
so that we don't reflow comments into the shebang line.
2013-12-20 13:41:57 -08:00
Juri Linkov
1d42e5b639 * lisp/saveplace.el (save-place-to-alist): Add `dired-filename' as
a position when `dired-directory' is non-nil.  Check integer
positions with `integerp'.
(toggle-save-place, save-places-to-alist): Add check for
`dired-directory'.
(save-place-find-file-hook): Check integer positions with
`integerp'.
(save-place-dired-hook): Use `dired-goto-file' when
`dired-filename' is found in the assoc list.  Check integer
positions with `integerp'.
(dired-initial-position-hook): Rename from `dired-initial-point-hook'.

* lisp/dired.el (dired-initial-position-hook): Rename back from
`dired-initial-point-hook'.
(dired-initial-position): Rename `dired-initial-point-hook' to
`dired-initial-position-hook'.
(dired-file-name-at-point): Doc fix.

Fixes: debbugs:15329
2013-12-20 22:20:39 +02:00
Tassilo Horn
eea2cba48e Don't duplicate descriptions if there are alternative keys. 2013-12-20 21:08:56 +01:00
Juri Linkov
24da72738b * lisp/replace.el (read-regexp-defaults-function): New defcustom.
(read-regexp-suggestions): New function.
(read-regexp): Use `read-regexp-defaults-function' to get default values.
Use `read-regexp-suggestions'.  Add non-empty default to history
for empty input.
(occur-read-regexp-defaults-function): Remove function.
(occur-read-primary-args): Use `regexp-history-last' instead of
`occur-read-regexp-defaults-function'.

* lisp/hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
(hi-lock-line-face-buffer, hi-lock-face-buffer)
(hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
`hi-lock-read-regexp-defaults-function'.  Doc fix.
(hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
with `find-tag-default-as-symbol-regexp'.  Doc fix.
(hi-lock-read-regexp-defaults): Remove function.
(hi-lock-regexp-okay): Add check for null.

* lisp/progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.

* lisp/subr.el (find-tag-default-as-symbol-regexp): New function.
(find-tag-default-as-regexp): Move symbol regexp formatting to
`find-tag-default-as-symbol-regexp'.

Fixes: debbugs:14405
2013-12-20 21:55:56 +02:00
E Sabof
137f57c81e * lisp/hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
Fixes: debbugs:14179
2013-12-20 21:47:01 +02:00
Tassilo Horn
3fbba716fb Document that =, <, <=, >, >= now accept one or many arguments.
* doc/lispref/numbers.texi (numbers): Document that =, <, <=, >, >= now accept
one or many arguments.
2013-12-20 19:41:31 +01:00
Stephen Berman
f3a66082f9 New implementation of Todo item insertion commands and key bindings.
* calendar/todo-mode.el: New implementation of item insertion
commands and key bindings.
(todo-key-prompt): New face.
(todo-insert-item): New command.
(todo-insert-item--parameters): New defconst, replacing defvar
todo-insertion-commands-args-genlist.
(todo-insert-item--param-key-alist): New defconst, replacing
defvar todo-insertion-commands-arg-key-list.
(todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
(todo-insert-item--argsleft, todo-insert-item--apply-args)
(todo-insert-item--next-param): New functions.
(todo-insert-item--args, todo-insert-item--argleft)
(todo-insert-item--argsleft, todo-insert-item--newargsleft):
New variables.
(todo-key-bindings-t): Change binding of "i" from
todo-insertion-map to todo-insert-item.
(todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
(todo-insertion-command-name, todo-insertion-commands-names)
(todo-define-insertion-command, todo-insertion-commands)
(todo-insertion-key-bindings, todo-insertion-map): Remove.
2013-12-20 18:21:12 +01:00
Stephen Berman
2f99433b94 Todo mode bug fixes and new features.
* calendar/todo-mode.el: Bug fixes and new features.
(todo-toggle-item-highlighting): Use eval-and-compile instead of
eval-when-compile.
(todo-move-category): Allow choosing a non-existing todo file to
move the category to, and create that file.
(todo-default-priority): New user option.
(todo-set-item-priority): Use it.
(todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
(desktop-restore-file-buffer): Declare.
(desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
(todo-modes-set-2): Locally set desktop-save-buffer to
todo-desktop-save-buffer.
(todo-mode, todo-archive-mode, todo-filtered-items-mode)
(auto-mode-alist): Add autoload cookie.

Fixes: debbugs:15225
2013-12-20 18:16:47 +01:00
Bozhidar Batsov
3cbfb93540 * lisp/emacs-lisp/subr-x.el: (string-remove-prefix): New function.
(string-remove-suffix): New function.
2013-12-20 18:37:10 +02:00
Bozhidar Batsov
131e4695b2 * lisp/emacs-lisp/subr-x.el: Renamed from helpers.el. 2013-12-20 18:21:45 +02:00
Tassilo Horn
f60bb26a56 Move eshell visual commands change below existing eshell outline. 2013-12-20 17:11:17 +01:00
Tassilo Horn
3e2acc2540 Mark eshell changes as documented. 2013-12-20 17:06:15 +01:00
Tassilo Horn
30aafaf516 Document S-SPC' as alternative to scrolling down with DEL'.
* doc/emacs/rmail.texi: Document `S-SPC' as alternative to scrolling down
with `DEL'.

* doc/emacs/calendar.texi: Ditto.

* doc/emacs/display.texi: Ditto.

* doc/emacs/help.texi: Ditto.

* doc/misc/info.texi: Document `S-SPC' as alternative to `DEL' for
scrolling.

* doc/misc/woman.texi: Ditto.
2013-12-20 17:03:12 +01:00
Tassilo Horn
7b4ec5497f Document toggle-frame-maximized' and toggle-frame-fullscreen'.
* doc/emacs/frames.texi: Document `toggle-frame-maximized' and
`toggle-frame-fullscreen' with their respective keys.
2013-12-20 16:35:53 +01:00
Tassilo Horn
bac0e622f4 Mark `split-window' change from command to function as ---. 2013-12-20 16:26:38 +01:00
Tassilo Horn
2cd12d2869 Document buffer name uniquification changes.
* doc/emacs/buffers.texi: Document buffer name uniquification changes.
2013-12-20 16:18:50 +01:00
Tassilo Horn
75a1e03471 Document that `electric-indent-mode' is enabled by default.
* doc/emacs/indent.texi: Document that `electric-indent-mode' is enabled by
default.
2013-12-20 15:56:23 +01:00
Tassilo Horn
98104aea41 Document `blink-cursor-blinks'.
* doc/emacs/display.texi (Cursor Display): Document `blink-cursor-blinks'.
2013-12-20 15:51:53 +01:00
Tassilo Horn
2e6ddb2c95 Mark write-region-inhibit-fsync changes as documented. 2013-12-20 15:33:52 +01:00
Tassilo Horn
6f1de4d1f1 Document *Messages* buffer changes.
* doc/emacs/buffers.texi: Update list-buffers "screeshop" to show Messages
as major-mode.

* doc/lispref/display.texi: Document `messages-buffer'.
2013-12-20 15:28:01 +01:00
Tassilo Horn
dfff928448 Document `initial-buffer-choice' changes.
* doc/emacs/entering.texi: Document `initial-buffer-choice' changes.

* doc/emacs/misc.texi (arguments): Document `initial-buffer-choice' changes.

* doc/lispref/os.texi: Document `initial-buffer-choice' changes.
2013-12-20 15:18:21 +01:00