From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o?= Guerra Newsgroups: gmane.emacs.bugs Subject: bug#39649: 27.0.60; tab-line doesn't scroll Date: Fri, 28 Feb 2020 19:30:58 +0100 Message-ID: References: <87lfp0lsun.fsf@mail.linkov.net> <87imk3a5sa.fsf@mail.linkov.net> <87h7zn4d99.fsf@mail.linkov.net> <87r1yoopgp.fsf@mail.linkov.net> <87d0a8bu5c.fsf@gmail.com> <87y2sup4c2.fsf@mail.linkov.net> <87h7zg7vjx.fsf@mail.linkov.net> <87pne2ilur.fsf@mail.linkov.net> <871rqhj5x2.fsf@mail.linkov.net> <87lfonzmfr.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="114730"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39649@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 28 19:32:12 2020 Return-path: 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 ) id 1j7kQm-000Tkn-Rb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 19:32:12 +0100 Original-Received: from localhost ([::1]:52372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7kQl-0005eV-Jd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 13:32:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58669) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7kQe-0005e9-3F for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 13:32:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7kQd-0006qe-21 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 13:32:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56028) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7kQc-0006qY-Sr for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 13:32:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7kQc-0005Pb-FR for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 13:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o?= Guerra Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2020 18:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39649 X-GNU-PR-Package: emacs Original-Received: via spool by 39649-submit@debbugs.gnu.org id=B39649.158291470120765 (code B ref 39649); Fri, 28 Feb 2020 18:32:02 +0000 Original-Received: (at 39649) by debbugs.gnu.org; 28 Feb 2020 18:31:41 +0000 Original-Received: from localhost ([127.0.0.1]:33768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7kQH-0005Or-1V for submit@debbugs.gnu.org; Fri, 28 Feb 2020 13:31:41 -0500 Original-Received: from mail-vs1-f49.google.com ([209.85.217.49]:36746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7kQF-0005OU-8o for 39649@debbugs.gnu.org; Fri, 28 Feb 2020 13:31:39 -0500 Original-Received: by mail-vs1-f49.google.com with SMTP id a2so2576625vso.3 for <39649@debbugs.gnu.org>; Fri, 28 Feb 2020 10:31:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/L3y6+aDYw98/Y7w70dA3Qgwikk1laVvSUziUlskHAY=; b=QUCamA8lwLzqscmVjmlZ7TqmuMMNKCRbMNg8+FcXP3EPi0L7eu9kNGJPlyAhrnN7qU vCc7YfV61k2Ne84IlogzisfiSg2KFG2sUxisCFgBiX6qn8L4TlNGb+MvoeAYA28jYRbF aag+Rqwih0hNCFRyjNrJ2thpF0Rs9ZtadpjebMY7cxGzffiI6YTFNWuydZT7YTWM9Jhz GPQi6sz6xXFn02aDs3Bk1sxaMvq04WQeIcUyUZ0sKFm9bkJQnE3pEi1LOyyzVT9nSKH/ xQIYWBawWkqKCdMBhlFRI0aJFtHHdrDRMSQT7anrNmBUmMUeXZCyQmBd9S/HqQoalhvN 2Yww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/L3y6+aDYw98/Y7w70dA3Qgwikk1laVvSUziUlskHAY=; b=W4/obF6INtvVs0l9ImvaA2eMNBxbAtKyZFDVf5sp7aFNc970OlULer9EtyUZjJnSwN wOYuBYbEY5FabAVH2wsJujLbZnKLiltoik0VQ2JcAfIL4ybOlrtMjk13+o48jXNI7LPR 3mvjxh3NQdeg/k8eowD0wUJKbbfkubs95Do02TsrdDWxNikLovyjsFkb44RJOLH5vr/s dFQI44Xi5xuh/kkjHeNVEIjUfocqtI5mEjSOMHpzPIvcuFBI83E3ijd4KFP7eYNi1IB4 xUSIOh+M4phajb9CeGnxxX7RMztVjnwjh1dXkZSN+cg+v3wsa3Xy5k5xT9Cqcnuz64HL wXxg== X-Gm-Message-State: ANhLgQ26JYGoUSx5n5SFy1XkXVvZVcF5yIgzHUaZayC07wNMk4vTIu5c r8Q9bAkHq5IU4eVTni+OTw+grOzKQiQTtQ0XvYg= X-Google-Smtp-Source: ADFU+vuvRX7jSjSIfs5+CvKYEhNlXz2kGnJINmaPW5NBqLcgU5pWahIWIU8FWkzRyVpuYgbEfzmNZp6+DyKOw99o3KQ= X-Received: by 2002:a67:c58c:: with SMTP id h12mr2919625vsk.0.1582914693666; Fri, 28 Feb 2020 10:31:33 -0800 (PST) In-Reply-To: <87lfonzmfr.fsf@mail.linkov.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176601 Archived-At: Issue no longer exists when I load your file in the end (ie. after enabling the mode and customizing tab-line-tabs-function). On Thu, 27 Feb 2020 at 23:39, Juri Linkov wrote: > > > 1. emacs -Q > > 2. M-x load-file tab-line-1.el > > 3. M-x global-tab-line-mode > > 4. M-: (setq tab-line-tabs-function #'tab-line-tabs-mode-buffers) > > 5. https://youtu.be/fQlrP0dlBbw > > Thanks, now it's clear where the problem is: > the buffer *Messages* shows that old code is loaded, > i.e. first you load the new file tab-line-1.el > (the first line in the buffer *Messages*), > but later its functions are overridden by old file > (the third line in the buffer *Messages*). > Only the new command 'test1' remains loaded, > all other functions are overridden from old file > tab-line.el. > > I believe this could be solved by changing the loading order: > > 1. emacs -Q > 2. M-x global-tab-line-mode > - this will load old file tab-line.el > 3. M-x load-file tab-line-1.el > - old functions will be overridden by new file tab-line-1.el > > Please try this.