From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.bugs Subject: bug#23882: 25.1: loading some desktops from 24.5 results in horizontal scrollbar everywhere Date: Sat, 2 Jul 2016 16:19:36 +0300 Message-ID: References: <094ef993-e6c6-a097-d483-d740e3850134@gmail.com> <8360sotqht.fsf@gnu.org> <69f08a74-00e8-201b-c713-7417b983ad75@gmail.com> <83vb0os3p7.fsf@gnu.org> <83twg8s3cx.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1467465686 27064 80.91.229.3 (2 Jul 2016 13:21:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Jul 2016 13:21:26 +0000 (UTC) Cc: 23882@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 02 15:21:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bJKrC-0008HO-R8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Jul 2016 15:21:14 +0200 Original-Received: from localhost ([::1]:38585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJKrC-0007s7-64 for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Jul 2016 09:21:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJKr6-0007s1-26 for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2016 09:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJKr0-0007nZ-3S for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2016 09:21:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJKqz-0007nT-Vl for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2016 09:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bJKqz-0007Yn-Pw for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2016 09:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nikolay Kudryavtsev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jul 2016 13:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23882 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23882-submit@debbugs.gnu.org id=B23882.146746562129007 (code B ref 23882); Sat, 02 Jul 2016 13:21:01 +0000 Original-Received: (at 23882) by debbugs.gnu.org; 2 Jul 2016 13:20:21 +0000 Original-Received: from localhost ([127.0.0.1]:34388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJKqL-0007Xn-3O for submit@debbugs.gnu.org; Sat, 02 Jul 2016 09:20:21 -0400 Original-Received: from mail-lf0-f41.google.com ([209.85.215.41]:35440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJKqH-0007XY-Uz for 23882@debbugs.gnu.org; Sat, 02 Jul 2016 09:20:18 -0400 Original-Received: by mail-lf0-f41.google.com with SMTP id l188so92793596lfe.2 for <23882@debbugs.gnu.org>; Sat, 02 Jul 2016 06:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=kaxlNsqEaC9w/j93JGNTzjKmHxWrbIS1mHk9r7lweUo=; b=f2kmkpkZs+hkx/1gYqBvIqUZzpzgQoe0YLT1LUSG+mX2Xlv3lvmWMRz8wVD6t01cMR eEh3RmI5EHvMhn6lXfmD0XF1CZduYya8UY6EwzLABNkfEvjCYTqGFfH28qAMJeBb3ohD Cl/UvryZCiZvx+ps+TklrsybFOuX1Piffd3a4mBx6bTuTfXDtHgXts1wWqSmcW91SwZv oRQ+UMNkdYJ3sHw4RkDIslMJHi0i7SSdJ2gLhXvLELCo9Ogici3vsTWsXAZX1e4T30Ui o64vztxC4fAoigemJhpm2RyOVHUJ0bPsjpD3seSVbpAA5jJ2NRojs24jrkzkDY1jFXda XheQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=kaxlNsqEaC9w/j93JGNTzjKmHxWrbIS1mHk9r7lweUo=; b=nIgX422akywCz/j/mAhjlCMVD6QYeNftrKnQA02z7WnX/1+fZITxUFQ07cWTnP06cu puxX4Qf6Zl+uBck9JMj23Tke7dD4S3ua8afUIKCsXkACTw3U6GUdvznllmVMI9oNirsm e2PxoMLYeam9nX1oGfJhRMAytEuT60o/tsbswOJ7Jv28hJPQU8D+j91AUmH13STUWcgA PvdGaCCfAM1b+eci8dX4RAeB8Orb1fCI5oqHQGGNGcCv6QqmN+YVQcA2/QYTX7XoiZAm QAcgTkRfFT1eb4uV9o+GLA8SqvlD4Vt0y1o83w9Y/Bd224xWg4agZ8aj8RtHMoJQK7cg 7tTA== X-Gm-Message-State: ALyK8tIj2Nw2iYsm7BRGSbPX2ly/1T5K3nVkPPIxyt05xcZEp+vvWVtYUp+0l4IrJVGXWg== X-Received: by 10.25.21.32 with SMTP id l32mr628439lfi.229.1467465612137; Sat, 02 Jul 2016 06:20:12 -0700 (PDT) Original-Received: from [192.168.199.2] (broadband-95-84-209-126.nationalcablenetworks.ru. [95.84.209.126]) by smtp.gmail.com with ESMTPSA id n72sm3132776lfi.39.2016.07.02.06.20.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Jul 2016 06:20:11 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: <83twg8s3cx.fsf@gnu.org> 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120283 Archived-At: I've just tested removing the whole .emacs.d. If it only contains that init file(and desktop file after the first load) I still get this bug. In buggy windows horizontal-scroll-bar-mode is nil, but horizontal-scroll-bar is t. Doing M-x horizontal-scroll-bar-mode first results in "Horizontal-Scroll-Bar mode enabled" message and horizontal-scroll-bar-mode set to t. The second time it gets set to nil and the scrollbar disappears. After that I can close 25, open 24 again with this desktop, then open 25 again and there would be no problem. After finding out that, I compared the broken desktop file with a working one and found that this is caused by having (horizontal-scroll-bars . t) But then the question was, why it was only triggered with initial-buffer-choice. So, in the end I've found that there are two requirements for this bug: 1. Desktop file should contain (horizontal-scroll-bars . t) 2. (buffer) form in the desktop file should have some other name than "*scratch*". -- Best Regards, Nikolay Kudryavtsev