all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2730: More info about select-frame problem
@ 2009-03-20 17:45 Fran Litterio
  2009-03-20 18:02 ` Fran Litterio
  0 siblings, 1 reply; 2+ messages in thread
From: Fran Litterio @ 2009-03-20 17:45 UTC (permalink / raw)
  To: 2730

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

Something strange is going on. My original bug report (and the patch it
contains) was motivated by a Wrong-number-of-arguments error caused when *
with-selected-frame* calls *select-frame* with two arguments. I sent the bug
report because M-x describe-function select-frame RET shows this:

select-frame is an interactive built-in function in `C source code'.

(select-frame frame)

Select the frame frame.
Subsequent editing commands apply to its selected window.
The selection of frame lasts until the next time the user does
something to select a different frame, or until the next time this
function is called.  If you are using a window system, the previously
selected frame may be restored as the selected frame after return to
the command loop, because it still may have the window system's input
focus.  On a text-only terminal, the next redisplay will display frame.

This function returns frame, or nil if frame has been deleted.

But this doesn't match the code in *src/frame.c* that defines *select-frame*
:

DEFUN ("select-frame", Fselect_frame, Sselect_frame, 1, 2, "e",
       doc: /* Select FRAME.
Subsequent editing commands apply to its selected window.
Optional argument NORECORD means to neither change the order of
recently selected windows nor the buffer list.

The selection of FRAME lasts until the next time the user does
something to select a different frame, or until the next time
this function is called.  If you are using a window system, the
previously selected frame may be restored as the selected frame
after return to the command loop, because it still may have the
window system's input focus.  On a text-only terminal, the next
redisplay will display FRAME.

This function returns FRAME, or nil if FRAME has been deleted.  */)
     (frame, norecord)
     Lisp_Object frame, norecord;
{
  return do_switch_frame (frame, 1, 0, norecord);
}

I built Emacs from up-to-date CVS sources using these commands:

$ ./configure --prefix=/usr/local --with-jpeg=no --with-png=no --with-gif=no
--with-tiff=no
$ make bootstrap
$ sudo make install
--
Francis Litterio
flitterio@gmail.com

[-- Attachment #2: Type: text/html, Size: 6003 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#2730: More info about select-frame problem
  2009-03-20 17:45 bug#2730: More info about select-frame problem Fran Litterio
@ 2009-03-20 18:02 ` Fran Litterio
  0 siblings, 0 replies; 2+ messages in thread
From: Fran Litterio @ 2009-03-20 18:02 UTC (permalink / raw)
  To: 2730

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

Please ignore this bug report. Something in my environment is preventing
"make install" from overwriting /usr/local/bin/emacs with my newly-built
version.

Sorry for the confusion.
--
Fran Litterio
flitterio@gmail.com

[-- Attachment #2: Type: text/html, Size: 294 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-20 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-20 17:45 bug#2730: More info about select-frame problem Fran Litterio
2009-03-20 18:02 ` Fran Litterio

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.