GNU bug report logs - #29525
Please don't default to "--unique" mode for Okular

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: Reuben Thomas <rrt@HIDDEN>; dated Fri, 1 Dec 2017 16:41:02 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

Message received at 29525 <at> debbugs.gnu.org:


Received: (at 29525) by debbugs.gnu.org; 3 Dec 2017 22:15:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 03 17:15:45 2017
Received: from localhost ([127.0.0.1]:43907 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eLcY5-0001oT-IG
	for submit <at> debbugs.gnu.org; Sun, 03 Dec 2017 17:15:45 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37640)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arash@HIDDEN>) id 1eLcY3-0001fd-6I
 for 29525 <at> debbugs.gnu.org; Sun, 03 Dec 2017 17:15:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <arash@HIDDEN>) id 1eLcXu-0007Vp-O0
 for 29525 <at> debbugs.gnu.org; Sun, 03 Dec 2017 17:15:37 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43462)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <arash@HIDDEN>)
 id 1eLcXu-0007Vj-JV; Sun, 03 Dec 2017 17:15:34 -0500
Received: from p5b326333.dip0.t-ipconnect.de ([91.50.99.51]:59021 helo=MUTANT)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82)
 (envelope-from <arash@HIDDEN>)
 id 1eLcXu-0002SN-3W; Sun, 03 Dec 2017 17:15:34 -0500
From: Arash Esbati <arash@HIDDEN>
To: Reuben Thomas <rrt@HIDDEN>
Subject: Re: bug#29525: Please don't default to "--unique" mode for Okular
References: <CAOnWdoivO_BSMb1myzKSPDyFQPdToD4YY1ORQN6nC+-5VW8jQw@HIDDEN>
 <864lpap19k.fsf@HIDDEN>
 <CAOnWdogj-rvGLUNDB1ca_fWi_z4CLw_L4CAz9PRqnB4qH10xkw@HIDDEN>
Date: Sun, 03 Dec 2017 23:15:20 +0100
In-Reply-To: <CAOnWdogj-rvGLUNDB1ca_fWi_z4CLw_L4CAz9PRqnB4qH10xkw@HIDDEN>
 (Reuben Thomas's message of "Sat, 2 Dec 2017 18:52:40 +0000")
Message-ID: <867eu3h30n.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 29525
Cc: 29525 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Reuben Thomas <rrt@HIDDEN> writes:

> On 1 December 2017 at 21:49, Arash Esbati <arash@HIDDEN> wrote:
>
>> it is also the default for Yap, dviout, SumatraPDF.  And this is the
>> problem with defaults: Never 100% satisfied customers.
>
> The problem in this case is not the default per se (though it is hard to
> work out how to configure it: the customize interface for this setting is
> overcomplicated), it is that the default is different for different
> previewers. The default should (as far as possible) be the same, so that
> changing viewers does not change the behaviour.

I agree with this, in this case we should fix this in order to get a
consistent behavior.  I have a preference for the single instance version.

> This is not exactly true: once Okular (or Evince) has been spawned, there
> is no need to run the View command again: both viewers auto-reload.

I don't Okular or Evince, so I can't tell.

> For the Customize interface, I'm not sure what to suggest. The current
> interface is far too complicated, but if it were made simpler (e.g. to have
> a "single instance" toggle) then it would not be so general. But as it
> stands it seems very hard to use without reading the source code (which
> negates the point of customize).

Personally, I think you're touching some darker corners of AUCTeX here.
If you want more complicated stuff, have a look at `TeX-command-list' or
`TeX-expand-list'.  Sometimes it's not easy to reduce complexity to a
minimum.  But again, I might be wrong -- patches are welcome.

> Arash, you mention editing .emacs; this is a shame. It's not the 1990s any
> more: I don't even have a .emacs file, I have .emacs.d/init.el;

From Emacs manual:

,----[ 51.4 The Emacs Initialization File [1] ]
| When Emacs is started, it normally tries to load a Lisp program from an
| initialization file, or init file for short.  This file, if it exists,
| specifies how to initialize Emacs for you.  Emacs looks for your init
| file using the filenames ~/.emacs, ~/.emacs.el, or ~/.emacs.d/init.el;
| you can choose to use any one of these three names (see Find Init).
`----

I don't see it saying that .emacs is obsolete or should be avoided.

> but more to the point, the default should be to say "customize foo to
> bar". To advise editing .emacs is either a) confusing, b) an admission
> that Customization isn't manageable, or c) both.

I just wanted to show you the direction; please use any interface you're
used to or like to use.

Best, Arash

Footnotes: 
[1]  https://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html




Information forwarded to bug-auctex@HIDDEN:
bug#29525; Package auctex. Full text available.

Message received at 29525 <at> debbugs.gnu.org:


Received: (at 29525) by debbugs.gnu.org; 3 Dec 2017 16:33:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 03 11:33:52 2017
Received: from localhost ([127.0.0.1]:43614 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eLXDD-0000HY-Ns
	for submit <at> debbugs.gnu.org; Sun, 03 Dec 2017 11:33:51 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49348)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mose@HIDDEN>) id 1eLXDB-0000HL-Q8
 for 29525 <at> debbugs.gnu.org; Sun, 03 Dec 2017 11:33:50 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mose@HIDDEN>) id 1eLXD3-0003SS-E0
 for 29525 <at> debbugs.gnu.org; Sun, 03 Dec 2017 11:33:44 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38798)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mose@HIDDEN>)
 id 1eLXD3-0003SI-Ag
 for 29525 <at> debbugs.gnu.org; Sun, 03 Dec 2017 11:33:41 -0500
Received: from mail-it0-f52.google.com ([209.85.214.52]:40747)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <mose@HIDDEN>) id 1eLXD2-0006N7-RJ
 for 29525 <at> debbugs.gnu.org; Sun, 03 Dec 2017 11:33:41 -0500
Received: by mail-it0-f52.google.com with SMTP id f190so1240573ita.5
 for <29525 <at> debbugs.gnu.org>; Sun, 03 Dec 2017 08:33:40 -0800 (PST)
X-Gm-Message-State: AKGB3mKSX162WHXDg3F3mpyr1htnRzn8mPIc6XWF9XkiyhtaW99l7RTs
 KFk23pSMBIZ4/O/T4XhxC5d6XwFzMais40BDacA=
X-Google-Smtp-Source: AGs4zMbxHGaIstogvCL7K5pEvTKyshQ9bmPN0hIpwCVk/Q9qFjpQm6naL880EekwUAh/QLAJPsGhPAMuPX1QVM7eLK0=
X-Received: by 10.36.107.69 with SMTP id v66mr1454797itc.10.1512318820125;
 Sun, 03 Dec 2017 08:33:40 -0800 (PST)
MIME-Version: 1.0
Received: by 10.2.138.98 with HTTP; Sun, 3 Dec 2017 08:32:59 -0800 (PST)
In-Reply-To: <CAOnWdoi1GvvBA6VwkFYZUCrk26CdeTcwuSPtW1NUZXO=ZCXrSg@HIDDEN>
References: <CAOnWdoivO_BSMb1myzKSPDyFQPdToD4YY1ORQN6nC+-5VW8jQw@HIDDEN>
 <864lpap19k.fsf@HIDDEN>
 <CAOnWdogj-rvGLUNDB1ca_fWi_z4CLw_L4CAz9PRqnB4qH10xkw@HIDDEN>
 <CAKtYQqSDcQu1s_kD8oYt8Dmnbto0k0QefbXBeVvBhf9-mBoNiA@HIDDEN>
 <CAOnWdoi1GvvBA6VwkFYZUCrk26CdeTcwuSPtW1NUZXO=ZCXrSg@HIDDEN>
From: =?UTF-8?Q?Mos=C3=A8_Giordano?= <mose@HIDDEN>
Date: Sun, 3 Dec 2017 17:32:59 +0100
X-Gmail-Original-Message-ID: <CAKtYQqQMZJJk2r=typCxhLZyMyTc8PXOkVgctB5nUaDFkoWjJw@HIDDEN>
Message-ID: <CAKtYQqQMZJJk2r=typCxhLZyMyTc8PXOkVgctB5nUaDFkoWjJw@HIDDEN>
Subject: Re: bug#29525: Please don't default to "--unique" mode for Okular
To: Reuben Thomas <rrt@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 29525
Cc: Arash Esbati <arash@HIDDEN>, 29525 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

2017-12-03 10:26 GMT+01:00 Reuben Thomas <rrt@HIDDEN>:
>> If you are working with many documents at the same time (say 3-4 or
>> even more) switching between Emacs and the wanted document can be
>> really annoying, using C-c C-v brings to focus the right instance of
>> the viewer.  This is what Evince does and is much more convenient.
>
>
> I agree, but this is a problem to solve with the window manager, not the
> application behaviour.

I don't see how it's a problem of the windows manager.  I happen to
have several programs open at the same time and often switch between
them.  For example, I'm using the terminal, than switch to Emacs and
want to see the output document.  The next window that can be reached
by ALT + TAB is the terminal, not Okular, how could the window manager
guess I want to switch directly to the document viewer?

I missed to stress one important point of C-c C-v: when forward search
is enabled --- and I guess most of us has it on --- C-c C-v moves the
viewer to the corresponding point, this isn't something that can be
achieved by simply switching to the viewer with ALT + TAB.  Thus,
removing the --unique option now would make extremely annoying using
forward search with Okular.

As I already stated, I agree that currently working with multiple
documents can be inconvenient, but breaking usage of forward search
doesn't look a solution to me.  Fixing the behavior of Okular seems a
better approach.  After that, the --unique option is surely not needed
anymore.

Bye,
Mos=C3=A8




Information forwarded to bug-auctex@HIDDEN:
bug#29525; Package auctex. Full text available.

Message received at 29525 <at> debbugs.gnu.org:


Received: (at 29525) by debbugs.gnu.org; 3 Dec 2017 09:26:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 03 04:26:11 2017
Received: from localhost ([127.0.0.1]:42434 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eLQXK-0001Ai-K9
	for submit <at> debbugs.gnu.org; Sun, 03 Dec 2017 04:26:10 -0500
Received: from mail-ot0-f177.google.com ([74.125.82.177]:44810)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rrt@HIDDEN>) id 1eLQXI-0001AW-Qu
 for 29525 <at> debbugs.gnu.org; Sun, 03 Dec 2017 04:26:09 -0500
Received: by mail-ot0-f177.google.com with SMTP id d27so12419288ote.11
 for <29525 <at> debbugs.gnu.org>; Sun, 03 Dec 2017 01:26:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=yx0eltN6592ubb1JB2zStPN3VnyIxHOsGufR1p5PzHk=;
 b=TlPxXw6S/0nOGa8781HwBLl86Xtw4HgshFGPV0G/JJM8PX+CusqCiMKNTQTku+SyoX
 jfxsA8NcAohMWDKYZOKvcQoEYr5Pl/Ykl8+Syl1fRChSl4wLsW3m21TWnFu32T2Y1KOO
 zDc4Dt1rbBxIVKlyO5yafkij40Pfwoz10YuZg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=yx0eltN6592ubb1JB2zStPN3VnyIxHOsGufR1p5PzHk=;
 b=FYafMl/bWHKXmC0h2KcLJeklMMBpn7xAjtb1IfI8AQxLFlupeKkV6j/zcTd2Q7gN5q
 ChZwCi9gvHIEwjP3hfdWzpzTxvs/bR6tQ3QcAwQd+IdkM3vw2nDNf49DR7Unz1OwXy6r
 ht52bHepbC0ef2EmjgPOdmpfYYEH8fD+7R/fIDbu4gE3kWFng+US1Lj1luvHhFPGf78i
 Svygf5+LcEj2MZgc9aNdOfTSU0CBDqNT/G9vbxJANi6VoKlhDhsdW4ngFnivXZAN/JSK
 NMLt9KbykCYfaxNNBlN/Tqn+phZN7OjbUil0Nu8o1zbOn43KAwwCNFGDKtFVMf3vyilP
 +/4A==
X-Gm-Message-State: AJaThX58G6YePiKXfVa8ol/JZs3aaT6aHDNhPF2JlwK5VcF4iG/fEfYZ
 akl4ve3Waj8oeOmdn7hzFqo181DDRcC00l0JK0/p5w==
X-Google-Smtp-Source: AGs4zMbNVlQUqmPueJrz5C5nHMhkaSOowsiMz19U6oMaGRkt+xMoChHP2UM5GrGiPwHkBy7gPelbEUKO/mZ1q4EdW8U=
X-Received: by 10.157.44.168 with SMTP id p37mr13097690otb.65.1512293162778;
 Sun, 03 Dec 2017 01:26:02 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.38.225 with HTTP; Sun, 3 Dec 2017 01:26:02 -0800 (PST)
In-Reply-To: <CAKtYQqSDcQu1s_kD8oYt8Dmnbto0k0QefbXBeVvBhf9-mBoNiA@HIDDEN>
References: <CAOnWdoivO_BSMb1myzKSPDyFQPdToD4YY1ORQN6nC+-5VW8jQw@HIDDEN>
 <864lpap19k.fsf@HIDDEN>
 <CAOnWdogj-rvGLUNDB1ca_fWi_z4CLw_L4CAz9PRqnB4qH10xkw@HIDDEN>
 <CAKtYQqSDcQu1s_kD8oYt8Dmnbto0k0QefbXBeVvBhf9-mBoNiA@HIDDEN>
From: Reuben Thomas <rrt@HIDDEN>
Date: Sun, 3 Dec 2017 09:26:02 +0000
Message-ID: <CAOnWdoi1GvvBA6VwkFYZUCrk26CdeTcwuSPtW1NUZXO=ZCXrSg@HIDDEN>
Subject: Re: bug#29525: Please don't default to "--unique" mode for Okular
To: =?UTF-8?Q?Mos=C3=A8_Giordano?= <mose@HIDDEN>
Content-Type: multipart/alternative; boundary="001a113cd722c395f8055f6c300b"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 29525
Cc: Arash Esbati <arash@HIDDEN>, 29525 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--001a113cd722c395f8055f6c300b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On 3 December 2017 at 01:13, Mos=C3=A8 Giordano <mose@HIDDEN> wrote:


> The more I think about this, the more I'm convinced that the issue you
> raised is sensible but the best solution would be to fix first
> upstream in Okular.  It'd be a good improvement.  After that, I'll be
> more than happy to remove the --unique option.
>

I agree that okular should be able to do this.

If you are working with many documents at the same time (say 3-4 or
> even more) switching between Emacs and the wanted document can be
> really annoying, using C-c C-v brings to focus the right instance of
> the viewer.  This is what Evince does and is much more convenient.
>

I agree, but this is a problem to solve with the window manager, not the
application behaviour.

Sometimes, this behaviour of Evince is annoying, because it means I can't
have two views of the same documents (as I can in Emacs, ironically!).


> Please, there is no need to put shame on anyone.
>

=E2=80=8BI apologise, I think this was misinterpreted. When in English we s=
ay
something is "a shame", this does not mean that anyone should necessarily
"be ashamed".

Well, he did suggest you to customize `TeX-view-program-list', *and*
> provided you, as a possibility, with two lines of code to add to your
> init file to accomplish the same task.  It's up to you to decide
> what's best for you.  I really don't see what's the problem here.
>

=E2=80=8BThe problem is that this attitude is still common with Emacs packa=
ge
developers, and it hurts users, especially naive users. We should only talk
about customizing. Because of this "two ways to do it" attitude we have
these problems:

1. Newer users are confused. "Should I use customize or edit .emacs
[whatever that is]?"=E2=80=8B No wonder Emacs seems confusing and complicat=
ed.

2. We provide inadequate, incomplete or poor-quality customize interfaces
(as in the present case) because "well, the user can always edit .emacs
instead".

In other programs with a user-editable configuration file, editing the
configuration file is a last resort, when there is something that cannot be
configured in the preferences dialog, or a bug in the program. This should
be true in Emacs too, for all users: customize should be easy for newer
users and convenient for advanced users.

Thanks again. At least, as you observed at the start, what I want is
possible. However, had I not been an Emacs Lisp programmer, I would have
had to ask an expert just to achieve this simple change.

--=20
https://rrt.sc3d.org

--001a113cd722c395f8055f6c300b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On 3=
 December 2017 at 01:13, Mos=C3=A8 Giordano <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mose@HIDDEN" target=3D"_blank">mose@HIDDEN</a>&gt;</span> wrot=
e:<br><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Th=
e more I think about this, the more I&#39;m convinced that the issue you<br=
>
raised is sensible but the best solution would be to fix first<br>
upstream in Okular.=C2=A0 It&#39;d be a good improvement.=C2=A0 After that,=
 I&#39;ll be<br>
more than happy to remove the --unique option.<br></blockquote><div><br></d=
iv><div><div style=3D"font-family:times new roman,serif;font-size:small" cl=
ass=3D"gmail_default">I agree that okular should be able to do this.</div><=
div style=3D"font-family:times new roman,serif;font-size:small" class=3D"gm=
ail_default"><br></div></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex">

If you are working with many documents at the same time (say 3-4 or<br>
even more) switching between Emacs and the wanted document can be<br>
really annoying, using C-c C-v brings to focus the right instance of<br>
the viewer.=C2=A0 This is what Evince does and is much more convenient.<br>=
</blockquote><div style=3D"font-family:times new roman,serif;font-size:smal=
l" class=3D"gmail_default"><br><div><div style=3D"font-family:times new rom=
an,serif;font-size:small" class=3D"gmail_default">I agree, but this is a pr=
oblem to solve with the window manager, not the application behaviour.</div=
><div style=3D"font-family:times new roman,serif;font-size:small" class=3D"=
gmail_default"><br></div><div style=3D"font-family:times new roman,serif;fo=
nt-size:small" class=3D"gmail_default">Sometimes, this behaviour of Evince =
is annoying, because it means I can&#39;t have two views of the same docume=
nts (as I can in Emacs, ironically!).<br></div></div></div><div>=C2=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=3D"gmail-">
</span>Please, there is no need to put shame on anyone.<br></blockquote><di=
v><br></div><div><div style=3D"font-family:times new roman,serif;font-size:=
small" class=3D"gmail_default">=E2=80=8BI apologise, I think this was misin=
terpreted. When in English we say something is &quot;a shame&quot;, this do=
es not mean that anyone should necessarily &quot;be ashamed&quot;.<br></div=
><div style=3D"font-family:times new roman,serif;font-size:small" class=3D"=
gmail_default"><br></div></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex"><span class=3D"gmail-"></span>Well, he did suggest you to customize `=
TeX-view-program-list&#39;, *and*<br>
provided you, as a possibility, with two lines of code to add to your<br>
init file to accomplish the same task.=C2=A0 It&#39;s up to you to decide<b=
r>
what&#39;s best for you.=C2=A0 I really don&#39;t see what&#39;s the proble=
m here.<br></blockquote><div><br></div><div><div style=3D"font-family:times=
 new roman,serif;font-size:small" class=3D"gmail_default">=E2=80=8BThe prob=
lem is that this attitude is still common with Emacs package developers, an=
d it hurts users, especially naive users. We should only talk about customi=
zing. Because of this &quot;two ways to do it&quot; attitude we have these =
problems:</div><div style=3D"font-family:times new roman,serif;font-size:sm=
all" class=3D"gmail_default"><br></div><div style=3D"font-family:times new =
roman,serif;font-size:small" class=3D"gmail_default">1. Newer users are con=
fused. &quot;Should I use customize or edit .emacs [whatever that is]?&quot=
;=E2=80=8B No wonder Emacs seems confusing and complicated.</div><div style=
=3D"font-family:times new roman,serif;font-size:small" class=3D"gmail_defau=
lt"><br></div><div style=3D"font-family:times new roman,serif;font-size:sma=
ll" class=3D"gmail_default">2. We provide inadequate, incomplete or poor-qu=
ality customize interfaces (as in the present case) because &quot;well, the=
 user can always edit .emacs instead&quot;.<br></div><div style=3D"font-fam=
ily:times new roman,serif;font-size:small" class=3D"gmail_default"><br></di=
v><div style=3D"font-family:times new roman,serif;font-size:small" class=3D=
"gmail_default">In other programs with a user-editable configuration file, =
editing the configuration file is a last resort, when there is something th=
at cannot be configured in the preferences dialog, or a bug in the program.=
 This should be true in Emacs too, for all users: customize should be easy =
for newer users and convenient for advanced users.</div><div style=3D"font-=
family:times new roman,serif;font-size:small" class=3D"gmail_default"><br><=
/div><div style=3D"font-family:times new roman,serif;font-size:small" class=
=3D"gmail_default">Thanks again. At least, as you observed at the start, wh=
at I want is possible. However, had I not been an Emacs Lisp programmer, I =
would have had to ask an expert just to achieve this simple change.<br></di=
v></div></div><br>-- <br><div class=3D"gmail_signature"><div dir=3D"ltr"><a=
 href=3D"https://rrt.sc3d.org" target=3D"_blank">https://rrt.sc3d.org</a></=
div></div>
</div></div>

--001a113cd722c395f8055f6c300b--




Information forwarded to bug-auctex@HIDDEN:
bug#29525; Package auctex. Full text available.

Message received at 29525 <at> debbugs.gnu.org:


Received: (at 29525) by debbugs.gnu.org; 3 Dec 2017 01:14:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 02 20:14:13 2017
Received: from localhost ([127.0.0.1]:42321 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eLIrF-0000qA-9O
	for submit <at> debbugs.gnu.org; Sat, 02 Dec 2017 20:14:13 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57985)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mose@HIDDEN>) id 1eLIrE-0000pz-3I
 for 29525 <at> debbugs.gnu.org; Sat, 02 Dec 2017 20:14:12 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mose@HIDDEN>) id 1eLIr5-0001OV-Pp
 for 29525 <at> debbugs.gnu.org; Sat, 02 Dec 2017 20:14:06 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56854)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mose@HIDDEN>)
 id 1eLIr5-0001O7-MW
 for 29525 <at> debbugs.gnu.org; Sat, 02 Dec 2017 20:14:03 -0500
Received: from mail-it0-f53.google.com ([209.85.214.53]:45050)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <mose@HIDDEN>) id 1eLIr5-000442-BL
 for 29525 <at> debbugs.gnu.org; Sat, 02 Dec 2017 20:14:03 -0500
Received: by mail-it0-f53.google.com with SMTP id b5so6407956itc.3
 for <29525 <at> debbugs.gnu.org>; Sat, 02 Dec 2017 17:14:03 -0800 (PST)
X-Gm-Message-State: AJaThX4R0yVhvkfsTSNJBu75vEzMI3PNGI7w+quKmx1CnjKOutAXG627
 eJgUEK+ojaQG9Z9o0gswtZkyDJt8/tRrOEDdAag=
X-Google-Smtp-Source: AGs4zMaU+UVEaUreiY8TTnSO2kp6ht8HZJBvX2gaW3+f7oKDzcJRRQcUN4ZpjtajX9JBXarI9dr/dYUuhkR3iMhMggE=
X-Received: by 10.36.228.15 with SMTP id o15mr7681452ith.46.1512263642631;
 Sat, 02 Dec 2017 17:14:02 -0800 (PST)
MIME-Version: 1.0
Received: by 10.2.138.98 with HTTP; Sat, 2 Dec 2017 17:13:22 -0800 (PST)
In-Reply-To: <CAOnWdogj-rvGLUNDB1ca_fWi_z4CLw_L4CAz9PRqnB4qH10xkw@HIDDEN>
References: <CAOnWdoivO_BSMb1myzKSPDyFQPdToD4YY1ORQN6nC+-5VW8jQw@HIDDEN>
 <864lpap19k.fsf@HIDDEN>
 <CAOnWdogj-rvGLUNDB1ca_fWi_z4CLw_L4CAz9PRqnB4qH10xkw@HIDDEN>
From: =?UTF-8?Q?Mos=C3=A8_Giordano?= <mose@HIDDEN>
Date: Sun, 3 Dec 2017 02:13:22 +0100
X-Gmail-Original-Message-ID: <CAKtYQqSDcQu1s_kD8oYt8Dmnbto0k0QefbXBeVvBhf9-mBoNiA@HIDDEN>
Message-ID: <CAKtYQqSDcQu1s_kD8oYt8Dmnbto0k0QefbXBeVvBhf9-mBoNiA@HIDDEN>
Subject: Re: bug#29525: Please don't default to "--unique" mode for Okular
To: Reuben Thomas <rrt@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 29525
Cc: Arash Esbati <arash@HIDDEN>, 29525 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

2017-12-02 19:52 GMT+01:00 Reuben Thomas <rrt@HIDDEN>:
> Thanks very much to both of you for your feedback.
>
> On 1 December 2017 at 21:49, Arash Esbati <arash@HIDDEN> wrote:
>>
>>
>> it is also the default for Yap, dviout, SumatraPDF.  And this is the
>> problem with defaults: Never 100% satisfied customers.
>
>
> The problem in this case is not the default per se (though it is hard to
> work out how to configure it: the customize interface for this setting is
> overcomplicated), it is that the default is different for different
> previewers. The default should (as far as possible) be the same, so that
> changing viewers does not change the behaviour.
>
> Mos=C3=A8 said: "Without this option you'll need to close Okular to view =
again
> (C-c C-v) the document without spawing several instances of the viewer fo=
r
> the same document."
>
> This is not exactly true: once Okular (or Evince) has been spawned, there=
 is
> no need to run the View command again: both viewers auto-reload.

You're saying that it isn't necessary, this doesn't make my previous
statement false --- I mentioned C-c C-v for a reason.  Switching to
the viewer with C-c C-v is what I do, rather than using the window
manager to get to the viewer: I have always several programs open at
the same time, Emacs' and Okular's windows are rarely the closest
ones.  Also, C-c C-a opens the viewer with TeX-view at the end of
compilation, but this is optional.

The more I think about this, the more I'm convinced that the issue you
raised is sensible but the best solution would be to fix first
upstream in Okular.  It'd be a good improvement.  After that, I'll be
more than happy to remove the --unique option.

If you are working with many documents at the same time (say 3-4 or
even more) switching between Emacs and the wanted document can be
really annoying, using C-c C-v brings to focus the right instance of
the viewer.  This is what Evince does and is much more convenient.

> For the Customize interface, I'm not sure what to suggest. The current
> interface is far too complicated, but if it were made simpler (e.g. to ha=
ve
> a "single instance" toggle) then it would not be so general.

This is an interesting suggestion but probably not so easy to adopt.

> Arash, you mention editing .emacs; this is a shame.

Please, there is no need to put shame on anyone.

> It's not the 1990s any
> more: I don't even have a .emacs file, I have .emacs.d/init.el

I honestly don't get what you mean here.

> but more to
> the point, the default should be to say "customize foo to bar". To advise
> editing .emacs is either a) confusing, b) an admission that Customization
> isn't manageable, or c) both.

Well, he did suggest you to customize `TeX-view-program-list', *and*
provided you, as a possibility, with two lines of code to add to your
init file to accomplish the same task.  It's up to you to decide
what's best for you.  I really don't see what's the problem here.

Bye,
Mos=C3=A8




Information forwarded to bug-auctex@HIDDEN:
bug#29525; Package auctex. Full text available.

Message received at 29525 <at> debbugs.gnu.org:


Received: (at 29525) by debbugs.gnu.org; 2 Dec 2017 18:52:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 02 13:52:49 2017
Received: from localhost ([127.0.0.1]:42177 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eLCu8-0003Qk-OL
	for submit <at> debbugs.gnu.org; Sat, 02 Dec 2017 13:52:49 -0500
Received: from mail-ot0-f180.google.com ([74.125.82.180]:34962)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rrt@HIDDEN>) id 1eLCu6-0003QW-O8
 for 29525 <at> debbugs.gnu.org; Sat, 02 Dec 2017 13:52:47 -0500
Received: by mail-ot0-f180.google.com with SMTP id q3so11685616oth.2
 for <29525 <at> debbugs.gnu.org>; Sat, 02 Dec 2017 10:52:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=ZE2n434d02X8H15Y7NnKx3vGkl4pI057THawB3Sq5Sc=;
 b=3vyX/i3rOCb70EfX7I3Uw96fReIfEHE/nMzI1rCO2s3LEaBkEgsYz8+JeqQG4ecg/u
 o4LjAxeB6L+xogVBKdIUs/ysFPVtEaHOqwixCJW5P1VFjz36hF2j+p8qrzx04Vahh0yP
 ptmvxrELqPhOHhvJWmvc80k+/faLyva4jD/kI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=ZE2n434d02X8H15Y7NnKx3vGkl4pI057THawB3Sq5Sc=;
 b=ge9J7lpqXjIkYyL0CFiKe8KkInClfK2RCZZcYI+si01pxGFzcUorHkwbp5BtU6uZgV
 gTxDA/lBWbSi+AmNA0yyu/GLT/GVbBSvRHSN0Pgm/JIb87iHbJd7n0OYxjVsPtF6TTNW
 0kbKM3OFvwdTn/D0AxDlSDgPzptsm8E0iaBCGNf2/VeoH63T3+/F6KtK+JmyR4byWkHs
 tc8ZmMXvcjx6LZTTD8wSsI9LIITMhv+yBNxTC8yafqAOo29uxTlOpVwKjil5I6pbrLta
 V+6lR821T8DZtIWG0UL1Piwl4NI+jZyuaCVzhWal+EfyrHekaghr4D5ZI5QDmsuXW5zW
 jzlg==
X-Gm-Message-State: AJaThX6THdJVj5DBKY/9siLj7+aWM46a8Une8+O0Ydz+k3GZSmrUHy6R
 wW/L0OplFonkstLDCzIV8Tw9gfsRBWxncAg7Dk3fqNKg
X-Google-Smtp-Source: AGs4zMaqE6ickn+p5t/nhnrnpBdM7l0cJRINNNPcV9X32tWKdmKOUt9fS0BBCX5dJKTDBnnv5wgCIcnpmkHbrbOgE0Y=
X-Received: by 10.157.44.168 with SMTP id p37mr11884280otb.65.1512240760603;
 Sat, 02 Dec 2017 10:52:40 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.38.225 with HTTP; Sat, 2 Dec 2017 10:52:40 -0800 (PST)
In-Reply-To: <864lpap19k.fsf@HIDDEN>
References: <CAOnWdoivO_BSMb1myzKSPDyFQPdToD4YY1ORQN6nC+-5VW8jQw@HIDDEN>
 <864lpap19k.fsf@HIDDEN>
From: Reuben Thomas <rrt@HIDDEN>
Date: Sat, 2 Dec 2017 18:52:40 +0000
Message-ID: <CAOnWdogj-rvGLUNDB1ca_fWi_z4CLw_L4CAz9PRqnB4qH10xkw@HIDDEN>
Subject: Re: bug#29525: Please don't default to "--unique" mode for Okular
To: Arash Esbati <arash@HIDDEN>
Content-Type: multipart/alternative; boundary="001a113cd72259de96055f5ffdfc"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 29525
Cc: 29525 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--001a113cd72259de96055f5ffdfc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

=E2=80=8B=E2=80=8BThanks very much to both of you for your feedback.=E2=80=
=8B=E2=80=8B

On 1 December 2017 at 21:49, Arash Esbati <arash@HIDDEN> wrote:

>
> it is also the default for Yap, dviout, SumatraPDF.  And this is the
> problem with defaults: Never 100% satisfied customers.


The problem in this case is not the default per se (though it is hard to
work out how to configure it: the customize interface for this setting is
overcomplicated), it is that the default is different for different
previewers. The default should (as far as possible) be the same, so that
changing viewers does not change the behaviour.

=E2=80=8BMos=C3=A8 said: "Without this option you'll need to close Okular t=
o view again
(C-c C-v) the document without spawing several instances of the viewer for
the same document.=E2=80=8B"

This is not exactly true: once Okular (or Evince) has been spawned, there
is no need to run the View command again: both viewers auto-reload.

=E2=80=8BSo I would be interested to know for how many viewers it's possibl=
e to
have this workflow:

1. Start a new instance of a viewer (C-c C-v).

2. Edit the document and reprocess; auto-reload.

If this is possible in most viewers, I suggest it should be the default
setting.

On the other hand, if most viewers use a single instance model, then single
instance should be the default for all viewers that support it.

For the Customize interface, I'm not sure what to suggest. The current
interface is far too complicated, but if it were made simpler (e.g. to have
a "single instance" toggle) then it would not be so general. But as it
stands it seems very hard to use without reading the source code (which
negates the point of customize).

Arash, you mention editing .emacs; this is a shame. It's not the 1990s any
more: I don't even have a .emacs file, I have .emacs.d/init.el; but more to
the point, the default should be to say "customize foo to bar". To advise
editing .emacs is either a) confusing, b) an admission that Customization
isn't manageable, or c) both.

--=20
https://rrt.sc3d.org

--001a113cd72259de96055f5ffdfc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div=
 style=3D"font-family:times new roman,serif;font-size:small" class=3D"gmail=
_default">=E2=80=8B=E2=80=8BThanks very much to both of you for your feedba=
ck.=E2=80=8B=E2=80=8B</div></div><div class=3D"gmail_quote"><br></div><div =
class=3D"gmail_quote">On 1 December 2017 at 21:49, Arash Esbati <span dir=
=3D"ltr">&lt;<a href=3D"mailto:arash@HIDDEN" target=3D"_blank">arash@HIDDEN=
rg</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x"><br>
it is also the default for Yap, dviout, SumatraPDF.=C2=A0 And this is the<b=
r>
problem with defaults: Never 100% satisfied customers.</blockquote><div><br=
></div><div><div style=3D"font-family:times new roman,serif;font-size:small=
" class=3D"gmail_default">The problem in this case is not the default per s=
e (though it is hard to work out how to configure it: the customize interfa=
ce for this setting is overcomplicated), it is that the default is differen=
t for different previewers. The default should (as far as possible) be the =
same, so that changing viewers does not change the behaviour.<br></div></di=
v></div></div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extr=
a"><div style=3D"font-family:times new roman,serif;font-size:small" class=
=3D"gmail_default">=E2=80=8BMos=C3=A8 said: &quot;Without this option you&#=
39;ll need to close Okular to view again (C-c
C-v) the document without spawing several instances of the viewer for
the same document.=E2=80=8B&quot;</div><div style=3D"font-family:times new =
roman,serif;font-size:small" class=3D"gmail_default"><br></div><div style=
=3D"font-family:times new roman,serif;font-size:small" class=3D"gmail_defau=
lt">This is not exactly true: once Okular (or Evince) has been spawned, the=
re is no need to run the View command again: both viewers auto-reload.<br><=
/div></div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">=
<div style=3D"font-family:times new roman,serif;font-size:small" class=3D"g=
mail_default">=E2=80=8BSo I would be interested to know for how many viewer=
s it&#39;s possible to have this workflow:</div><div style=3D"font-family:t=
imes new roman,serif;font-size:small" class=3D"gmail_default"><br></div><di=
v style=3D"font-family:times new roman,serif;font-size:small" class=3D"gmai=
l_default">1. Start a new instance of a viewer (C-c C-v).<br></div><div sty=
le=3D"font-family:times new roman,serif;font-size:small" class=3D"gmail_def=
ault"><br></div><div style=3D"font-family:times new roman,serif;font-size:s=
mall" class=3D"gmail_default">2. Edit the document and reprocess; auto-relo=
ad.</div><div style=3D"font-family:times new roman,serif;font-size:small" c=
lass=3D"gmail_default"><br></div><div style=3D"font-family:times new roman,=
serif;font-size:small" class=3D"gmail_default">If this is possible in most =
viewers, I suggest it should be the default setting.</div><div style=3D"fon=
t-family:times new roman,serif;font-size:small" class=3D"gmail_default"><br=
></div><div style=3D"font-family:times new roman,serif;font-size:small" cla=
ss=3D"gmail_default">On the other hand, if most viewers use a single instan=
ce model, then single instance should be the default for all viewers that s=
upport it.</div><div style=3D"font-family:times new roman,serif;font-size:s=
mall" class=3D"gmail_default"><br></div><div style=3D"font-family:times new=
 roman,serif;font-size:small" class=3D"gmail_default">For the Customize int=
erface, I&#39;m not sure what to suggest. The current interface is far too =
complicated, but if it were made simpler (e.g. to have a &quot;single insta=
nce&quot; toggle) then it would not be so general. But as it stands it seem=
s very hard to use without reading the source code (which negates the point=
 of customize).</div><div style=3D"font-family:times new roman,serif;font-s=
ize:small" class=3D"gmail_default"><br></div><div style=3D"font-family:time=
s new roman,serif;font-size:small" class=3D"gmail_default">Arash, you menti=
on editing .emacs; this is a shame. It&#39;s not the 1990s any more: I don&=
#39;t even have a .emacs file, I have .emacs.d/init.el; but more to the poi=
nt, the default should be to say &quot;customize foo to bar&quot;. To advis=
e editing .emacs is either a) confusing, b) an admission that Customization=
 isn&#39;t manageable, or c) both.<br></div></div><div class=3D"gmail_extra=
"><br>-- <br><div class=3D"gmail_signature"><div dir=3D"ltr"><a href=3D"htt=
ps://rrt.sc3d.org" target=3D"_blank">https://rrt.sc3d.org</a></div></div>
</div></div>

--001a113cd72259de96055f5ffdfc--




Information forwarded to bug-auctex@HIDDEN:
bug#29525; Package auctex. Full text available.

Message received at 29525 <at> debbugs.gnu.org:


Received: (at 29525) by debbugs.gnu.org; 1 Dec 2017 21:49:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 01 16:49:34 2017
Received: from localhost ([127.0.0.1]:40669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eKtBe-0005xp-KB
	for submit <at> debbugs.gnu.org; Fri, 01 Dec 2017 16:49:34 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arash@HIDDEN>) id 1eKtBc-0005xd-UX
 for 29525 <at> debbugs.gnu.org; Fri, 01 Dec 2017 16:49:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <arash@HIDDEN>) id 1eKtBT-0000FD-MM
 for 29525 <at> debbugs.gnu.org; Fri, 01 Dec 2017 16:49:27 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37268)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <arash@HIDDEN>)
 id 1eKtBT-0000F2-JW; Fri, 01 Dec 2017 16:49:23 -0500
Received: from p4fe3ead6.dip0.t-ipconnect.de ([79.227.234.214]:57681
 helo=MUTANT)
 by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
 (Exim 4.82) (envelope-from <arash@HIDDEN>)
 id 1eKtBT-0000S1-29; Fri, 01 Dec 2017 16:49:23 -0500
From: Arash Esbati <arash@HIDDEN>
To: Reuben Thomas <rrt@HIDDEN>
Subject: Re: bug#29525: Please don't default to "--unique" mode for Okular
References: <CAOnWdoivO_BSMb1myzKSPDyFQPdToD4YY1ORQN6nC+-5VW8jQw@HIDDEN>
Date: Fri, 01 Dec 2017 22:49:11 +0100
In-Reply-To: <CAOnWdoivO_BSMb1myzKSPDyFQPdToD4YY1ORQN6nC+-5VW8jQw@HIDDEN>
 (Reuben Thomas's message of "Thu, 30 Nov 2017 21:57:36 +0000")
Message-ID: <864lpap19k.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 29525
Cc: 29525 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Reuben Thomas <rrt@HIDDEN> writes:

> I noticed that Emacs seemed only ever to start one instance of Okular,
> which makes it impossible to view multiple files side-by-side. I tracked
> this down to its use of --unique. While there may well be users who prefer
> this style, I suggest that it shouldn't be the default in AUCTeX, because
> it's not the default for other viewers.

Hi Reuben,

it is also the default for Yap, dviout, SumatraPDF.  And this is the
problem with defaults: Never 100% satisfied customers.  But this is
Emacs, you can customize everything :-)  Just set your preference in
`TeX-view-program-list' in order to overwrite AUCTeX's default which is
defined in `TeX-view-program-list-builtin'.  E.g., in your .emacs with:

    (setq TeX-view-program-list
          '((Okular" ("okular %o"
                      (mode-io-correlate "#src:%n%a")) "okular")))

Best, Arash




Information forwarded to bug-auctex@HIDDEN:
bug#29525; Package auctex. Full text available.

Message received at 29525 <at> debbugs.gnu.org:


Received: (at 29525) by debbugs.gnu.org; 1 Dec 2017 18:53:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 01 13:53:07 2017
Received: from localhost ([127.0.0.1]:40429 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eKqQs-0006HP-Sl
	for submit <at> debbugs.gnu.org; Fri, 01 Dec 2017 13:53:07 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37895)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mose@HIDDEN>) id 1eKqQq-0006Gm-MF
 for 29525 <at> debbugs.gnu.org; Fri, 01 Dec 2017 13:53:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mose@HIDDEN>) id 1eKqQi-0007M5-SI
 for 29525 <at> debbugs.gnu.org; Fri, 01 Dec 2017 13:52:59 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33242)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mose@HIDDEN>)
 id 1eKqQi-0007Ls-PV
 for 29525 <at> debbugs.gnu.org; Fri, 01 Dec 2017 13:52:56 -0500
Received: from mail-it0-f49.google.com ([209.85.214.49]:42262)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <mose@HIDDEN>) id 1eKqQi-0005Jw-E4
 for 29525 <at> debbugs.gnu.org; Fri, 01 Dec 2017 13:52:56 -0500
Received: by mail-it0-f49.google.com with SMTP id p139so3541155itb.1
 for <29525 <at> debbugs.gnu.org>; Fri, 01 Dec 2017 10:52:56 -0800 (PST)
X-Gm-Message-State: AKGB3mJ8I3Z3abFnIKSS1wQ7uHskc70nBS4QdnhXdnF/szakurY6CDfQ
 /CHauNEmoQF+FfCFu6bvrBuKy1VS0YNnKDsg5hc=
X-Google-Smtp-Source: AGs4zMa1q2GCJWR1ysLt5FVWRwGbqWVQkKwKyVWiFDsKPJ1DrJvLhG/JDeYGkZmk/flMLRTHt2YTqjagk5je5JiUAA4=
X-Received: by 10.36.228.68 with SMTP id o65mr3329511ith.128.1512154375543;
 Fri, 01 Dec 2017 10:52:55 -0800 (PST)
MIME-Version: 1.0
Received: by 10.2.138.98 with HTTP; Fri, 1 Dec 2017 10:52:14 -0800 (PST)
In-Reply-To: <CAOnWdoivO_BSMb1myzKSPDyFQPdToD4YY1ORQN6nC+-5VW8jQw@HIDDEN>
References: <CAOnWdoivO_BSMb1myzKSPDyFQPdToD4YY1ORQN6nC+-5VW8jQw@HIDDEN>
From: =?UTF-8?Q?Mos=C3=A8_Giordano?= <mose@HIDDEN>
Date: Fri, 1 Dec 2017 19:52:14 +0100
X-Gmail-Original-Message-ID: <CAKtYQqT_BX4JU9KS9Hw70L7d4ePnx1pHj_w9+CQ2=k=49nKG=g@HIDDEN>
Message-ID: <CAKtYQqT_BX4JU9KS9Hw70L7d4ePnx1pHj_w9+CQ2=k=49nKG=g@HIDDEN>
Subject: Re: bug#29525: Please don't default to "--unique" mode for Okular
To: Reuben Thomas <rrt@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 29525
Cc: 29525 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Hi Reuben,

2017-11-30 22:57 GMT+01:00 Reuben Thomas <rrt@HIDDEN>:
> I noticed that Emacs seemed only ever to start one instance of Okular, wh=
ich
> makes it impossible to view multiple files side-by-side. I tracked this d=
own
> to its use of --unique. While there may well be users who prefer this sty=
le,

Without this option you'll need to close Okular to view again (C-c
C-v) the document without spawing several instances of the viewer for
the same document.

> I suggest that it shouldn't be the default in AUCTeX, because it's not th=
e
> default for other viewers.

In this regard Evince is smarter than Okular, doesn't create a new
instance for the same document if already open.

I'm not saying the default shouldn't be changed, but I personally like
it because I more often work on a single document rather than multiple
at once.  I'd like to hear comments from other users on this.

Bye,
Mos=C3=A8




Information forwarded to bug-auctex@HIDDEN:
bug#29525; Package auctex. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Dec 2017 16:40:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 01 11:40:08 2017
Received: from localhost ([127.0.0.1]:40299 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eKoMB-000351-R2
	for submit <at> debbugs.gnu.org; Fri, 01 Dec 2017 11:40:08 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39010)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rrt@HIDDEN>) id 1eKoM9-000344-KK
 for submit <at> debbugs.gnu.org; Fri, 01 Dec 2017 11:40:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rrt@HIDDEN>) id 1eKoM3-0005qB-8R
 for submit <at> debbugs.gnu.org; Fri, 01 Dec 2017 11:40:00 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_20,DATE_IN_PAST_12_24,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:43446)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rrt@HIDDEN>) id 1eKoM3-0005q3-5K
 for submit <at> debbugs.gnu.org; Fri, 01 Dec 2017 11:39:59 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58173)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rrt@HIDDEN>) id 1eKoM1-0007Mt-S6
 for bug-auctex@HIDDEN; Fri, 01 Dec 2017 11:39:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rrt@HIDDEN>) id 1eKoM0-0005nI-Ll
 for bug-auctex@HIDDEN; Fri, 01 Dec 2017 11:39:57 -0500
Received: from mail-oi0-x244.google.com ([2607:f8b0:4003:c06::244]:34419)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <rrt@HIDDEN>) id 1eKoM0-0005mc-Fn
 for bug-auctex@HIDDEN; Fri, 01 Dec 2017 11:39:56 -0500
Received: by mail-oi0-x244.google.com with SMTP id u193so7555175oie.1
 for <bug-auctex@HIDDEN>; Fri, 01 Dec 2017 08:39:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google;
 h=mime-version:from:date:message-id:subject:to;
 bh=nBLxVu1b4X4CibYmNJGtkEwI4znYNZ6cN0ah4nqFGIc=;
 b=BXi6p5HGT4CI6vTRoZC3LDlMMh9aF7JXpvpIXLp6o5pgDlhJsg+LSEDMcxo2sQnXyy
 rNe05AiJMEVZgn+NMk3jWBZE9Fs0BnuUPl75uT/JQRGMs3KgFV7UdSHcEqE4jhzXWFNO
 lmSb5T4wrqCFnHR2178nuaWlmWnkTzWM+ezyk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=nBLxVu1b4X4CibYmNJGtkEwI4znYNZ6cN0ah4nqFGIc=;
 b=kRubtdJSj9zor+zg4PAx7dtG0Dmz13jUXIMZ4H+Gs4F1rkT1d7cRPXk07OkKpJ/qjH
 UN8i5PsNwSdFblV49BK0SA4aEIhC92iNOBJvo9drCQcdG0DpD7sTtGHYXjLhbiQ1YQVn
 mWehfV2CL3VX5Tb3+3+jEY4Wd0Xg6J6BhB3bk+W8vOrgX+8anxBKMVBW0JJyspcGnpZS
 LrwKcOY1oEAN8XymAy98PN8o5ot7oLx16jPEVG/hwpBtATk2MCzu5/oT++z0z0zkM5rK
 a/uh+wG6KE2yE+G+rcl3GRgEgU5+JJQeeKs7fNObcu0jOAsd/SWJ1FiBdVDipcEck5fU
 uyTg==
X-Gm-Message-State: AJaThX6n9qnTVuUek0GB+IupJ4isbuXVafXA0kmdCOGNQS5y2uuzEl94
 1i8rnB4M6/f9/0L5FHsC3mKj3meFnydnaPDRRpzrwg==
X-Google-Smtp-Source: AGs4zMZyJXK2BOdb1sKe3XD3v6JmiASCbGJqs1mTsCaOcmcms3wNe6iaysAae7buX/MMa0iKIQoM9oavJ7g+aF5EXuk=
X-Received: by 10.202.221.8 with SMTP id u8mr6014280oig.121.1512079057125;
 Thu, 30 Nov 2017 13:57:37 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.38.225 with HTTP; Thu, 30 Nov 2017 13:57:36 -0800 (PST)
From: Reuben Thomas <rrt@HIDDEN>
Date: Thu, 30 Nov 2017 21:57:36 +0000
Message-ID: <CAOnWdoivO_BSMb1myzKSPDyFQPdToD4YY1ORQN6nC+-5VW8jQw@HIDDEN>
Subject: Please don't default to "--unique" mode for Okular
To: bug-auctex <bug-auctex@HIDDEN>
Content-Type: multipart/alternative; boundary="001a113d527c129fdb055f3a5713"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.3 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--001a113d527c129fdb055f3a5713
Content-Type: text/plain; charset="UTF-8"

I'm a long-time user of AUCTeX (thanks, maintainers, for all your work on
it!), and I just started using Okular as my previewer (having found that
Evince 3.18 kept crashing whenever a PDF was updated, most frustrating;
nothing to do with AUCTeX though!).

I noticed that Emacs seemed only ever to start one instance of Okular,
which makes it impossible to view multiple files side-by-side. I tracked
this down to its use of --unique. While there may well be users who prefer
this style, I suggest that it shouldn't be the default in AUCTeX, because
it's not the default for other viewers.

-- 
https://rrt.sc3d.org

--001a113d527c129fdb055f3a5713
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:times ne=
w roman,serif;font-size:small">I&#39;m a long-time user of AUCTeX (thanks, =
maintainers, for all your work on it!), and I just started using Okular as =
my previewer (having found that Evince 3.18 kept crashing whenever a PDF wa=
s updated, most frustrating; nothing to do with AUCTeX though!).</div><div =
class=3D"gmail_default" style=3D"font-family:times new roman,serif;font-siz=
e:small"><br></div><div class=3D"gmail_default" style=3D"font-family:times =
new roman,serif;font-size:small">I noticed that Emacs seemed only ever to s=
tart one instance of Okular, which makes it impossible to view multiple fil=
es side-by-side. I tracked this down to its use of --unique. While there ma=
y well be users who prefer this style, I suggest that it shouldn&#39;t be t=
he default in AUCTeX, because it&#39;s not the default for other viewers.</=
div><br>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_signa=
ture"><div dir=3D"ltr"><a href=3D"https://rrt.sc3d.org" target=3D"_blank">h=
ttps://rrt.sc3d.org</a></div></div>
</div>

--001a113d527c129fdb055f3a5713--




Acknowledgement sent to Reuben Thomas <rrt@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#29525; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 3 Dec 2017 22:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.