From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Comments in whic-func.el Date: Fri, 25 Nov 2022 14:35:07 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000042a4f905ee4b99b9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39970"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 25 14:36:56 2022 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 1oyYsx-000ABb-Jw for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Nov 2022 14:36:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyYrz-0006gV-B0; Fri, 25 Nov 2022 08:35:55 -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 ) id 1oyYru-0006Zp-RT for emacs-devel@gnu.org; Fri, 25 Nov 2022 08:35:51 -0500 Original-Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyYrs-0005Mm-IU for emacs-devel@gnu.org; Fri, 25 Nov 2022 08:35:50 -0500 Original-Received: by mail-ej1-x635.google.com with SMTP id f18so10411639ejz.5 for ; Fri, 25 Nov 2022 05:35:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=A8ZzpZqQIOHSWAQFeXIVksZoplxd4Uq5w+XTT50JY8E=; b=lj+bmRqMYyjYmYhXmY8iHf+pGtdMJgNs07aYkxCmZakuxZHNFc2AXjNI41aDND4J4M LAQ3a/LlntqvdGzvOf519qDRt6+L+zjLLULjXxkDKN4KynzGrKrKu6w1xWr93THekDmp BBYORIezL5L30fy5x/1vsfprLCyf4X9W6QX1jbTXUqCrbh1wvYCq9gcnDJgWyKo9p4XC loEhZqEbE22yv0QEZ1eEpI0FeibUqWUweOHOqv0+qlTXiF7lY21+GfIYQSDAIR7Jnxpy qj91tiHa2TPdVvSWYxP3mNc3084eaQSs7WflqBpY2S2KqS/mktF5JCk75GGfUdzrCFhd zoHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=A8ZzpZqQIOHSWAQFeXIVksZoplxd4Uq5w+XTT50JY8E=; b=eQpGyysr9dpfpwv2NeI8gkJ33uBD9r6EDIC+RiGm3YIeOHEdCQ23SquBG5O+Q/o2w9 je04PUNdbb+RWneWk0AMZnvD1r9/zNTMaRkGLQkjy1qrk2bGs56Tm3SNLl6fuWWTdkF+ dOpBv0cuFfzRorpfElugMUIgp/VGotPvmVA2EXnmHygU795Uxjv8OdK/IrZ7v4o9QmpY u2g6DYzyE21O6IuO9GJqVXyHwbuEqd1KJcNRVil9Ox7zOoAsOByOmuknhgMe3PNFm/0n 9eSsmLuA8DrqODd5l0O7Yj4/M2cOfM9KaPmfIAdTkju1BU9/uBdfZbpU++PeZWYE8mQK YFAQ== X-Gm-Message-State: ANoB5pmbLLKwJJC+eaYtTJK7X7x0B65ycSfc+sezQrwKc1hdGsdS67XC nV5OkpBLxlOH6nA0Vnao93mMTG/4d9mzI2PwDMARHVk7kh0= X-Google-Smtp-Source: AA0mqf4DZtFbmKM2sM6Xtn6NjaH0hp7GVJEp1ggOJ7YsWWPI1uHjQRx1IBb1kfZUB3HW6WsJv4C1Xi3ZIvnhy7wUL3w= X-Received: by 2002:a17:907:c24a:b0:7ac:2e16:bc31 with SMTP id tj10-20020a170907c24a00b007ac2e16bc31mr31769798ejc.242.1669383344791; Fri, 25 Nov 2022 05:35:44 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=lekktu@gmail.com; helo=mail-ej1-x635.google.com 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300480 Archived-At: --00000000000042a4f905ee4b99b9 Content-Type: text/plain; charset="UTF-8" I'm going to remove the KNOWN BUGS section of whic-func.el. AFAICS, both problems have been fixed. ;; KNOWN BUGS ;; ---------- ;; Really this package shows not "function where the current point is ;; located now", but "nearest function which defined above the current ;; point". So if your current point is located after the end of ;; function FOO but before the beginning of function BAR, FOO will be ;; displayed in the mode line. ;; - If two windows display the same buffer, both windows ;; show the same `which-func' information. As for its TODO-LIST item 1, it seems like this package should perhaps profit from new technologies? ;; TODO LIST ;; --------- ;; 1. Dependence on imenu package should be removed. Separate ;; function determination mechanism should be used to determine the end ;; of a function as well as the beginning of a function. ;; 2. This package should be realized with the help of overlay ;; properties instead of the `imenu--index-alist' variable. --00000000000042a4f905ee4b99b9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm going to remove the KNOWN BUGS section of whic-func.el. A= FAICS, both problems have been fixed.

;; KNOWN BUGS
;; ----------=
;; Really this package shows not "function where the current point= is
;; located now", but "nearest function which defined above= the current
;; point".=C2=A0 So if your current point is located a= fter the end of
;; function FOO but before the beginning of function BAR= , FOO will be
;; displayed in the mode line.
;; - If two windows disp= lay the same buffer, both windows
;; =C2=A0 show the same `which-func= 9; information.

As for its TODO-LIST item 1, it seems like this pack= age should perhaps profit from new technologies?

;; TODO LIST
;; = ---------
;; =C2=A0 =C2=A0 1. Dependence on imenu package should be remo= ved.=C2=A0 Separate
;; function determination mechanism should be used t= o determine the end
;; of a function as well as the beginning of a funct= ion.
;; =C2=A0 =C2=A0 2. This package should be realized with the help o= f overlay
;; properties instead of the `imenu--index-alist' variable= .
--00000000000042a4f905ee4b99b9--