unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: David Phillips via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: pillule@riseup.net, 50112@debbugs.gnu.org
Subject: bug#50112: 28.0.50; ediff help frame does not display text
Date: Fri, 20 Aug 2021 10:12:36 -0400	[thread overview]
Message-ID: <DD8ED695-9B41-4983-A989-0B8C66809517@cfa.harvard.edu> (raw)
In-Reply-To: <6567a97a-2ceb-cd4f-2f54-8b78e4865f5b@gmx.at>

I do have two frames (and the help frame has no content). There is a buffer named *Ediff Control Panel* with the help text in it, but it isn’t displayed in the frame labeled Ediff.  When I run ediff-buffers, hit ‘?’, switch back to the main frame, and evaluate the elisp you sent, I get ’nil’ in the mini buffer and the buffer *foo* has the help text in it. However, the help frame is still empty. I’m trying to understand what this means. It seems like the frame has the right buffer assigned to it but that it is in some weird mode so that it isn’t being rendered properly. 
 Thanks for the help!
  David



> On Aug 20, 2021, at 4:18 AM, martin rudalics <rudalics@gmx.at> wrote:
> 
> > I built emacs this morning from the git master branch.
> > The latest commit was 9b31ad36094666da6b3281025adc163829d89de8 with
> > a date stamp of Wed Aug 18 20:02:39 2021 +0300.
> > I am running the macos GUI version.
> > First I run /Applications/Emacs/Contents/MacOS/Emacs -Q
> > then I load two files and run 'ediff-buffers' to compare them.
> > ediff works just fine except that the frame with the help message
> > is an empty frame. The '?' command changes the frame size but the
> > text never renders.
> 
> Assuming that in this situation you have two frames - the main frame and
> the help frame: What does evaluating the form
> 
> (let ((buffer (window-buffer (frame-root-window (next-frame))))
>      (foo (get-buffer-create "*foo*")))
>  (with-current-buffer foo
>    (insert
>     (buffer-name buffer)
>     "\n"
>     (with-current-buffer buffer
>       (buffer-substring 1 (point-max))))))
> 
> in the main frame via M-: put into buffer *foo*?
> 
> martin






  reply	other threads:[~2021-08-20 14:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 18:39 bug#50112: 28.0.50; ediff help frame does not display text David Phillips via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-19 13:33 ` Lars Ingebrigtsen
2021-08-21 12:18   ` Alan Third
2021-08-21 12:54     ` Lars Ingebrigtsen
2021-08-21 13:20     ` David Phillips via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-20  8:18 ` martin rudalics
2021-08-20 14:12   ` David Phillips via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-08-20 15:34     ` martin rudalics
2021-08-20 15:44       ` David Phillips via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=DD8ED695-9B41-4983-A989-0B8C66809517@cfa.harvard.edu \
    --to=bug-gnu-emacs@gnu.org \
    --cc=50112@debbugs.gnu.org \
    --cc=dphillips@cfa.harvard.edu \
    --cc=pillule@riseup.net \
    --cc=rudalics@gmx.at \
    /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).