From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Regarding outline headings in emacs-lisp libraries Date: Sun, 19 Jul 2020 15:36:22 +0000 (UTC) Message-ID: <35aed550-71e2-45c3-aee9-d728899199e3@default> References: <875zalolt7.fsf@bernoul.li> <7f679297-5d7c-4550-9ca7-d2718c4a82e8@default> <87365oo312.fsf@bernoul.li> <87sgdnnafs.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13533"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Jonas Bernoulli , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 19 17:37:05 2020 Return-path: Envelope-to: ged-emacs-devel@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 ) id 1jxBNB-0003PB-KR for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jul 2020 17:37:05 +0200 Original-Received: from localhost ([::1]:46180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxBNA-0001Kk-Me for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jul 2020 11:37:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxBMf-0000u2-38 for emacs-devel@gnu.org; Sun, 19 Jul 2020 11:36:33 -0400 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:39348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxBMd-0004fv-AG for emacs-devel@gnu.org; Sun, 19 Jul 2020 11:36:32 -0400 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06JFIAhF093110; Sun, 19 Jul 2020 15:36:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=8TDB6xrY8xHDJs9tOMvKHcEYWzBqReGYI1lnZ/bD3ks=; b=Iq7JtB3DNzy2s/0iSo0R9eyZEw4i2Y0bqVNyXXxoDQiLmwF269uNBP0VEj4wA+GUbp1s RCwFkHK1eJZ7vqYJjpvAeBioLPOZ8dDa/MkBJH2dcdJbm7u2pvCUqhTJc749wQ74C+4d tJeNuZ08icOyPPZUJlKA4kkut9cOePPC+ktCT0flWUCwLCMpHemg90QO7Ed+M9cBVa7a AXL0UR+NZdVs8dRtNvMql3ActL21OuNK+fI1KlChNW1dNMZZhLKFc8MEoHZgWozMZrBT DhGJtDnmcQCF8ceNv70g+8ojD+pIgQQVkQBkCTBOw36o7UkS99Oj3X+07ytXge7w2N+J yA== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 32bpkauncs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 19 Jul 2020 15:36:27 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06JFI4qK041421; Sun, 19 Jul 2020 15:36:26 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 32cjsk50ga-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 19 Jul 2020 15:36:26 +0000 Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 06JFaNBP015736; Sun, 19 Jul 2020 15:36:24 GMT In-Reply-To: <87sgdnnafs.fsf@bernoul.li> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5017.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9687 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 spamscore=0 suspectscore=0 phishscore=0 malwarescore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007190118 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9687 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 priorityscore=1501 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007190118 Received-SPF: pass client-ip=141.146.126.79; envelope-from=drew.adams@oracle.com; helo=aserp2130.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/19 11:36:30 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253106 Archived-At: > > Now that `orglink.el' exists, maybe I'll switch to > > using that, who knows? But it does require loading > > Org - and dash.el, which is pretty heavyweight for > > just what it offers, no? >=20 > Org is indeed a heavy dependency. >=20 > Unless in cases where it has some big benefit I am slowly moving away > from dash in my packages. This seems to be one of the cases where I > should do that. Dash is only used once! Commendable! > You need Org >=3D 9.3 as specified in the Package-Requires. Got it. Is the dependency on Org really necessary? Seems pretty heavyweight for just the features that orglink.el provides (which is similar to what linkd.el provides). I can understand, for example, having orglink.el do more, i.e., optionally, if Org is loaded, but is a hard-require really needed for the basic behavior? Maybe consider conditionalizing some behavior on (featurep 'org)? (Just a naive suggestion, without looking at the code.)