all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: On removing sequence_number from window structure
Date: Sat, 09 Feb 2013 02:30:19 +0200	[thread overview]
Message-ID: <87sj56cp8c.fsf@mail.jurta.org> (raw)
In-Reply-To: <5114CC9C.9040204@gmx.at> (martin rudalics's message of "Fri, 08 Feb 2013 10:59:56 +0100")

>> you can add something like this for debugging purposes:
>>
>> (set-window-parameter nil 'window-number (incf global-window-counter))
>>
>> to a hook run during window creation.
>
> No, since the parameter would not be used as the printed representation

Can't you then use the new window parameter for the modeline like below
instead of hacking on the internal representation:

   (concat            ; WINDOW
    "   #" (format "%s" (window-parameter (selected-window) 'window-number)))



  parent reply	other threads:[~2013-02-09  0:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-02  8:50 On removing sequence_number from window structure martin rudalics
2013-02-02 17:32 ` Dmitry Antipov
2013-02-02 17:50   ` martin rudalics
2013-02-08  8:17 ` Juri Linkov
2013-02-08  9:55   ` Eli Zaretskii
2013-02-08  9:59   ` martin rudalics
2013-02-08 15:17     ` Stefan Monnier
2013-02-08 15:33       ` Drew Adams
2013-02-09  0:30     ` Juri Linkov [this message]
2013-02-09  9:21       ` martin rudalics
2013-02-09 14:20         ` Stefan Monnier
2013-02-09 17:08           ` martin rudalics
2013-02-10  9:57             ` Juri Linkov
2013-02-10 13:33               ` martin rudalics

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=87sj56cp8c.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --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 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.