Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Дата
Msg-id 20141209205612.GE24487@momjian.us
обсуждение исходный текст
Ответ на Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)  (Christopher Browne <cbbrowne@gmail.com>)
Ответы Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Список pgsql-bugs
On Tue, Dec  9, 2014 at 03:53:52PM -0500, Christopher Browne wrote:
> > Based on your report, I think checking for INSIDE_EMACS being set _and_
> > TERM=dumb would be the best bet.  Do you want me to write a patch for
> > you to test?
>
>
> I'd be really inclined to search INSIDE_EMACS for "comint", as well.
>
> That indicates that the comint mode is being used.  <http://www.emacswiki.org/
> emacs/ComintMode>
>
> That should indicate a scenario where pager should be suppressed.    TERM=dumb
> would tend to agree with that; I'm not sure it is helpful to involve $TERM in
> the logic.

I don't understand.  Is COMINT an environment variable name?  I don't see
it in INSIDE_EMACS:

    TERM=term-color
    INSIDE_EMACS=24.4.1,term:0.96

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)