From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Lars Rustand <rustand.lars@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#68418: refill-mode interferes with org-mode headlines
Date: Sat, 13 Jan 2024 10:01:27 +0100
Message-ID: <87edelr497.fsf@gmail.com>
References: <87il3yqmkl.fsf@gmail.com> <83le8thchr.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="35726"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: mu4e 1.10.8; emacs 30.0.50
Cc: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= <salutis@me.com>
To: Eli Zaretskii <eliz@gnu.org>, 68418@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 13 10:08:22 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1rOa05-00093v-Ue
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jan 2024 10:08:21 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1rOZzq-0004Rs-Kt; Sat, 13 Jan 2024 04:08:06 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rOZzp-0004Rk-B1
 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 04:08:05 -0500
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rOZzo-00044H-7h
 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 04:08:04 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rOZzm-00021b-4i
 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 04:08:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Lars Rustand <rustand.lars@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 13 Jan 2024 09:08:02 +0000
Resent-Message-ID: <handler.68418.B68418.17051368347720@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 68418
X-GNU-PR-Package: emacs
Original-Received: via spool by 68418-submit@debbugs.gnu.org id=B68418.17051368347720
 (code B ref 68418); Sat, 13 Jan 2024 09:08:02 +0000
Original-Received: (at 68418) by debbugs.gnu.org; 13 Jan 2024 09:07:14 +0000
Original-Received: from localhost ([127.0.0.1]:38370 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rOZyz-00020S-Vd
 for submit@debbugs.gnu.org; Sat, 13 Jan 2024 04:07:14 -0500
Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:56359)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rustand.lars@gmail.com>) id 1rOZyw-00020C-7J
 for 68418@debbugs.gnu.org; Sat, 13 Jan 2024 04:07:12 -0500
Original-Received: by mail-lf1-x132.google.com with SMTP id
 2adb3069b0e04-50e9e5c97e1so9036978e87.0
 for <68418@debbugs.gnu.org>; Sat, 13 Jan 2024 01:07:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1705136825; x=1705741625; darn=debbugs.gnu.org;
 h=mime-version:message-id:in-reply-to:date:subject:cc:to:from
 :user-agent:references:from:to:cc:subject:date:message-id:reply-to;
 bh=NbOZFFP8eaysyzfWsmrD+fo2iTZwgfT5foE+ElR4GMA=;
 b=V1/LwXcuHGdD5C3+B5ebI34fhDyu+8EPLhbiUUS5BJ+SMf3urP1qfc2410xP/UI7FF
 PBB/oBOSJ88XVioeUrEyMrTetT6XQNDUGvXDy5TZJYyQbajXRkkleMjZHGyeRpf2b/kn
 /qw9m7RCi+QPEpbJxdjOO/swh6/7fHk2La7SC/U9PTbU8pOPHXIQBSkuxsEk8E65Db4g
 ktJqoyxEemb5A0yhj/Mghjmlnfc2LzXkGtjXw8nLXNrgR83Z1E/uXSmz6tSpe3XZr6VB
 TDasUfXyTlvVLwjV6BuJi5qWR6T9xvjkA9d9frDQkDKR2DboIYMI5UJvJDBU/tu2HQs6
 5mmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1705136825; x=1705741625;
 h=mime-version:message-id:in-reply-to:date:subject:cc:to:from
 :user-agent:references:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=NbOZFFP8eaysyzfWsmrD+fo2iTZwgfT5foE+ElR4GMA=;
 b=ncCa/fBYXlWTlsjV8odb6Re0hWWEmsHdOP4pN4y4aLMcfgp6SFh3uRlOL24LOIvy9I
 KXuTJQJSeVHUkGFgwvZv5Q/oCVrIRydACayPgLrYGf6SkN3V6y2WGBtlGcq6FYfbgI4r
 S0hAu4bgVfIBgJarVcCLqA8m11f6AG296/uOW3JBocaJ4rZzZ6MDcirEXu+nAo4/Y0bu
 60/ucqSOfyFKRBY2FXr7oTu1a8c002T1mOcHfYKqOLnGJG6Soj3CNG/X5VYDit4VHPVa
 vIakzTKv0MLfujzW/lKTBUy8d4uI2U9tHzJqi0B/wg25yLdNgy0tOi2HAqjkbXDSvBnE
 Yjcg==
X-Gm-Message-State: AOJu0YwsArMTqbTyzKjPSLEJPi4G4Lla4PHgUPlpHYOktXsgU5pQT3Xh
 33CURYU2kydCvmyG3OBS15k=
X-Google-Smtp-Source: AGHT+IEW/mN/2n6RRvO/R8eolKZs7PDYKg7CXq+nC9zDDwl4mnmp9d82vjIWVX7CGQ/JHfF2z8ExBw==
X-Received: by 2002:a19:2d4a:0:b0:50e:6b1e:ff9d with SMTP id
 t10-20020a192d4a000000b0050e6b1eff9dmr1126841lft.30.1705136825275; 
 Sat, 13 Jan 2024 01:07:05 -0800 (PST)
Original-Received: from localhost (78.79-160-60.customer.lyse.net. [79.160.60.78])
 by smtp.gmail.com with ESMTPSA id
 q30-20020ac2511e000000b0050e74317194sm771301lfb.146.2024.01.13.01.07.04
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 13 Jan 2024 01:07:04 -0800 (PST)
In-reply-to: <83le8thchr.fsf@gnu.org>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:278103
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/278103>


Eli Zaretskii <eliz@gnu.org> writes:

> I tried the latter (patch below), but I don't know if that gives
> good-enough results, as I don't use Org intensively enough, and
> certainly don't use refill-mode.  Can you try the patch below and
> report back?

Thanks for the patch! This does indeed seem to have fixed the problems I
was having. I don't really use Org very intensely myself, so there could
be cases that I have missed.