unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#579: cursor-type -> frame parameter?
Date: Sat, 19 Jul 2008 18:14:07 -0400	[thread overview]
Message-ID: <C4FC8377-A2FF-40CE-9EEE-EE19CEE3FBD4@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2534 bytes --]

Coming from 22, I expected cursor-type to work as buffer-local variable.
That's what it's documented as, and there is no entry in NEWS  
regarding this.

However, setting cursor-type takes no effect.
Having looked at the nsfns.m code, I tried this

(set-frame-parameter nil 'cursor-type 'bar)

and voila, it does the job.

Is this intended and the same across platforms?  if so, a NEWS entry  
would be nice.  (I haven't checked the manual).




In GNU Emacs 23.0.60.12 (i386-apple-darwin9.4.0, *Step 9.0)
  of 2008-07-19 on scarlett
configured using `configure  '--with-ns''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
<help-echo> <down-mouse-1> <mouse-1> C-x b <return>
<return> <down-mouse-1> <mouse-1> ( s e t q SPC c o
l o r - t y p e C-x C-e q <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> u r s o r - t y p e C-x C-e SPC ' b o x
) C-x C-e <return> <down-mouse-1> <mouse-1> <return>
( f r a m s <backspace> e - s e t - p a r a e m <backspace>
<backspace> m e t e r C-h f f r a m e - s e t - p <tab>
<tab> <backspace> <backspace> <backspace> <backspace>
<backspace> <s-backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
s e t - f r a m e - p <tab> a <tab> <return> <down-mouse-1>
<mouse-1> <return> <return> ( s e t - f r a m e - p
a r a e m <backspace> <backspace> m e t e r SPC n i
l SPC ' c u r s o r - t y p e SPC ' b a r ) C-x C-e
<return> <return> <up> <down> <down-mouse-1> <mouse-movement>
<mouse-movement> <drag-mouse-1> s-c <menu-bar> <help-menu>
<send-emacs-bug-report>

Recent messages:
.emacs loaded
For information about GNU Emacs and the GNU system, type C-h C-a.
Entering debugger...
Back to top level.
t
box
call-interactively: Text is read-only [2 times]
Making completion list...
Type C-x 1 to delete the help window.
nil

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

             reply	other threads:[~2008-07-19 22:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9F38E474-E79E-4D36-B578-495BB0FE2C30@gmail.com>
2008-07-19 22:14 ` David Reitter [this message]
2008-08-21 22:10   ` bug#579: marked as done (cursor-type -> frame parameter?) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C4FC8377-A2FF-40CE-9EEE-EE19CEE3FBD4@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=579@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).