1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

Added new X reosurce, cursorBlink.

This commit is contained in:
Jan Djärv 2005-04-12 19:59:54 +00:00
parent b7461be999
commit ed0fb1f1cc
6 changed files with 30 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-04-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* NEWS: Mention cursorBlink resource.
2005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* NEWS: Mention dynamic change of keyboard-coding-system on Mac.

View File

@ -967,6 +967,9 @@ speed up Emacs with slow networking to the X server.
If the configure option `--without-xim' was used to turn off use of
XIM by default, the X resource useXIM can be used to turn it on.
+++
** The X resource cursorBlink can be used to turn off cursor blinking.
+++
** `undo-only' does an undo which does not redo any previous undo.

View File

@ -1,3 +1,8 @@
2005-04-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* startup.el (command-line): Turn off blinking cursor if
cursorBlink in resources is off or false.
2005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* term/mac-win.el (dnd): Require dnd.

View File

@ -714,10 +714,19 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
(and command-line-args
(setcdr command-line-args args)))
;; Under X Windows, this creates the X frame and deletes the terminal frame.
;; Under X Window, this creates the X frame and deletes the terminal frame.
(when (fboundp 'frame-initialize)
(frame-initialize))
;; Turn off blinking cursor if so specified in X resources. This is here
;; only because all other settings of no-blinking-cursor is here.
(unless (or noninteractive
emacs-basic-display
(and (memq window-system '(x w32 mac))
(not (member (x-get-resource "cursorBlink" "CursorBlink")
'("off" "false")))))
(setq no-blinking-cursor t))
;; If frame was created with a menu bar, set menu-bar-mode on.
(unless (or noninteractive
emacs-basic-display

View File

@ -1,3 +1,7 @@
2005-04-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xresources.texi (Table of Resources): Add cursorBlink.
2005-04-11 Luc Teirlinck <teirllm@auburn.edu>
* rmail.texi (Rmail Summary Edit): Explain numeric arguments to

View File

@ -175,6 +175,10 @@ Width in pixels of the external border.
@item @code{cursorColor} (class @code{Foreground})
Color name for text cursor (point).
@item @code{cursorBlink} (class @code{CursorBlink})
Specifies whether to make the cursor blink. The default is @samp{on}. Use
@samp{off} or @samp{false} to turn cursor blinking off.
@item @code{font} (class @code{Font})
Font name for text (or fontset name, @pxref{Fontsets}).