From: Constantine Vetoshev <vetoshev@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 18601@debbugs.gnu.org
Subject: bug#18601: 24.3.94; set-fringe-mode with left fringe 0 breaks window width calculations on Mac OS
Date: Sat, 4 Oct 2014 10:45:59 -0700 [thread overview]
Message-ID: <CA+CaSqqHyVKOcJXGiHao0YJbe=0XXJOy8tk4fXQcMZKukZYrnw@mail.gmail.com> (raw)
In-Reply-To: <83vbo0gvlv.fsf@gnu.org>
On Sat, Oct 4, 2014 at 12:08 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Constantine Vetoshev <vetoshev@gmail.com>
>> (defun term-window-width ()
>> (if (and (not (featurep ‘xemacs))
>> (display-graphic-p)
>> overflow-newline-into-fringe
>> (/= (frame-parameter nil ‘right-fringe) 0)
>> (/= (frame-parameter nil ‘left-fringe) 0))
>> (window-body-width)
>> (1- (window-body-width))))
>>
>> That does make the problem go away.
>
> That's what I meant, yes.
Should this be used to patch term.el?
next prev parent reply other threads:[~2014-10-04 17:45 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-02 8:38 bug#18601: 24.3.94; set-fringe-mode with left fringe 0 breaks window width calculations on Mac OS Constantine Vetoshev
2014-10-02 18:44 ` martin rudalics
2014-10-02 19:22 ` Constantine Vetoshev
2014-10-02 19:51 ` Eli Zaretskii
2014-10-02 20:37 ` martin rudalics
2014-10-03 6:19 ` Eli Zaretskii
2014-10-03 6:55 ` martin rudalics
2014-10-03 6:54 ` martin rudalics
2014-10-03 17:55 ` Constantine Vetoshev
2014-10-03 18:36 ` Eli Zaretskii
2014-10-03 20:53 ` Constantine Vetoshev
2014-10-04 7:08 ` Eli Zaretskii
2014-10-04 17:45 ` Constantine Vetoshev [this message]
2014-10-04 18:49 ` Eli Zaretskii
2014-10-04 20:48 ` Constantine Vetoshev
2014-10-06 6:49 ` martin rudalics
2014-10-06 15:10 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+CaSqqHyVKOcJXGiHao0YJbe=0XXJOy8tk4fXQcMZKukZYrnw@mail.gmail.com' \
--to=vetoshev@gmail.com \
--cc=18601@debbugs.gnu.org \
--cc=eliz@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 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.