Re: [code] How to access buffer's title/name?

From: Mitchell <>
Date: Wed, 29 Apr 2020 00:01:37 -0400 (EDT)

Hi David,

On Wed, 29 Apr 2020, David von Tamar wrote:

> Hi everyone, it seems I can't find a way to access something quite trivial: the buffers' names as shown in the UI.
> I'm going to match a newly created buffer's name with "%[.+%]", and apply a special theme on all message/output buffers if they match. I've prepared the event subscription, I just need access to the buffer's title. I've noticed there's "_type" but I'm not sure how guaranteed this property is in terms of API stability.

You can use `buffer._type`. It's been around since the beginning, I believe. I cannot see it changing.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Wed 29 Apr 2020 - 00:01:37 EDT

This archive was generated by hypermail 2.2.0 : Wed 29 Apr 2020 - 06:27:06 EDT