From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GChcJ3Pj2F7eKwAA0tVLHw (envelope-from ) for ; Thu, 04 Jun 2020 12:05:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gLo9I3Pj2F51AwAA1q6Kng (envelope-from ) for ; Thu, 04 Jun 2020 12:05:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D846D940B2B for ; Thu, 4 Jun 2020 12:05:06 +0000 (UTC) Received: from localhost ([::1]:53248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgocK-00052T-JB for larch@yhetil.org; Thu, 04 Jun 2020 08:05:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgoby-0004zi-4w for emacs-orgmode@gnu.org; Thu, 04 Jun 2020 08:04:42 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:39989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgobw-0001db-EE for emacs-orgmode@gnu.org; Thu, 04 Jun 2020 08:04:41 -0400 Received: by mail-wr1-x42f.google.com with SMTP id h5so5799271wrc.7 for ; Thu, 04 Jun 2020 05:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:message-id:date:mime-version; bh=PwnJGK4FKO+QEBc7pFPhgY2Rf0OI3UeHs0wblvPQzLU=; b=raF/JRxAXfG4p9AgWivBks6MEMQDGRSFXEshNnWnQ7jykkpdXY/TcCCboxEwu/yIDw vLX8ZD4VHBhH4ah866KWluB4MA/zbMkcm+fBXgPmybBTeYubMzBYWpowuxeBgn4j//30 w6QvPs7BhJux4tlg/J/Of2P/H48SNwKC+lFx5+H1/1gD0iH5gOcOyip8JzcsfT030z99 VeXpNKgs08qXKsijAt1Xnis5dMZu0fedgrJf74jCCDcWuTgokUn/VuOiocchfqhEP67Y 4TGY4J9URH6lz+7oH/pko7/8FmLYzdZw5ymdd0b3u9LbTK7aSkO7dO04b53DI99hjXEx +r1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:message-id:date :mime-version; bh=PwnJGK4FKO+QEBc7pFPhgY2Rf0OI3UeHs0wblvPQzLU=; b=NBL+kgyTPJlLNM1W+hgU9r3mrEt/zrZmVxxnV0Z3j4nrOPLVCsSi9yejqB3610SQJf x4u0QoAI2+L26kHUjEYSfDCA/KtDcB3wt86wVByIdLcM14E3Pg5B1+qtQQhUJX1YUZ1i T7yQRJwK+eUD1TqTI4VpsB6Qam3YAxJ/xXdePh09z3DiB4+V4ySOTfyJkYBCpKxsEzPc 5OzbLXe3c0MuWGzss0AegHYib5dsJjsb2PUVZNroj+HZE8aVMiLGy1c6Dm4Drh+UxLUB BO0yfwUbvAPEPvNVcS482gUecQZNlM6Z9WpWXeXanyp1BwkZdwfvoK6hM8G0bdCWlEir 2UCg== X-Gm-Message-State: AOAM532FmYPg9htZOwGkU/KsMIMCVFZCSkbzLQXGVJHoSlyj2b5s+z2h LMZyhMfpHAdEMk8qXND5kGBNgaI= X-Google-Smtp-Source: ABdhPJxzf5EHXhMfSgQJnhkWLjPHD9FhQGDVobKAmlRBu5Tn+s4OMfizJSkb9GpS5IH+WQ7xjaMvNg== X-Received: by 2002:a5d:4cd1:: with SMTP id c17mr4068838wrt.199.1591272278033; Thu, 04 Jun 2020 05:04:38 -0700 (PDT) Received: from localhost (070-207.dynamic.dsl.fonira.net. [178.251.70.207]) by smtp.gmail.com with ESMTPSA id e12sm6843513wro.52.2020.06.04.05.04.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 05:04:37 -0700 (PDT) User-agent: mu4e 1.4.8; emacs 26.3 From: Dominik Schrempf To: "emacs-orgmode\@gnu.org" Subject: Necessity of `org-fill-paragraph' Message-ID: <87a71jyr3m.fsf@gmail.com> Date: Thu, 04 Jun 2020 14:04:29 +0200 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=dominik.schrempf@gmail.com; helo=mail-wr1-x42f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=raF/JRxA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: VDCBfPrvEUIm Hello, I am using a global keybinding for =M-q=, so that I can fill and unfill paragraphs with one key stroke (unfill.el): : (global-set-key (kbd "s-q") 'unfill-toggle) For a long time, I thought that =fill-paragraph= was broken in Org mode, because it doesn't work well on code blocks, on lists, and on many other things [1]. Just now, I realized that Org mode uses a specialized version of `fill-paragraph`, called `org-fill-paragraph`. Hence, the aforementioned global key binding breaks behavior in Org mode, although the function =unfill-toggle= is just a wrapper around =fill-paragraph=. Is it necessary to have the specialized function =org-fill-paragraph=? Is it possible to use the canonical =fill-paragraph=? Thanks, Dominik [1] https://github.com/syl20bnr/spacemacs/issues/13384