From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Samuel Banya" Newsgroups: gmane.emacs.help Subject: Re: Question Regarding Line Number Mode For Working With LSP Mode Date: Mon, 23 May 2022 14:43:08 -0400 Message-ID: <80ef30d5-6b40-4549-8567-3733eab1cae9@www.fastmail.com> References: <542fbc3a-f7da-477d-85e4-4d9db00f06f8@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33756"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.7.0-alpha0-591-gfe6c3a2700-fm-20220427.001-gfe6c3a27 To: "Emanuel Berg" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 23 20:44:31 2022 Return-path: Envelope-to: geh-help-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 1ntD2c-0008aK-T0 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 23 May 2022 20:44:30 +0200 Original-Received: from localhost ([::1]:35852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntD2b-0001VW-Cu for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 23 May 2022 14:44:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntD1f-0001VN-P7 for help-gnu-emacs@gnu.org; Mon, 23 May 2022 14:43:31 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:59279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntD1d-00024r-Ib for help-gnu-emacs@gnu.org; Mon, 23 May 2022 14:43:31 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0CADE5C0160 for ; Mon, 23 May 2022 14:43:29 -0400 (EDT) Original-Received: from imap50 ([10.202.2.100]) by compute5.internal (MEProxy); Mon, 23 May 2022 14:43:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1653331409; x=1653417809; bh=FZrCBukKhK Jgd4vh5/Hmaribz+N8vlpyZVao2Zxpg+0=; b=ni/2nW8Rip2FqghFjKABBh0DTx ouMtvLZECrwwl/mAORmONoH1icdFTng+1E6qJQFrmIw4++PzeSp3wz36ZtaXIoNe 7FGpKvqTT2c2tZ3kqowR5qbhtktWZ/wdDdon/X/u0yeqXcvFT5n8FJhOn8pPSWkw FlDuphlDVpXV8MvA+zYhXujAvPQWedIaQidxKRLsya463KcE9ufjkodihgNHxm+d Q/DDhklAi9s01eSrM6Qq/w18iq5kCfsLXEpbSpm1eacsfk1YxqKmjxi8K7tfltY1 iwak9QiTogpmXGDT4KRQMepEEazytZEnw8HBtjd9lyPoiZn8TBXnsMgAIkFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1653331409; x=1653417809; bh=FZrCBukKhKJgd4vh5/Hmaribz+N8 vlpyZVao2Zxpg+0=; b=EL3T94LBVlb4bYzGU3KOYE8ldI0g969VA3Uf0YTgYFEk 7CM+C5WUEKstUc9lvxV17o+yWpds7NDZxYtNESdQdnzsGXaCrkUQfjda1Jjtk7sg Ujt4LrTOP68I2Tx/d8+AKY7aOwAM3fnzRe6OpJI12kmN2opf49FkXGFnq8GAtCB2 e24me/g96iGKarPnYwTbmnZ5r0Zl4aidq4rGkzqwbfSXZ2BI0eZ6EorI35UZsoby 1yTwh3XYBoaAs9rI9i/K+5oHG7dGfxlg55BnB2sGB3LU4xdP6Lk7gP41S5OfYI7R d9x6HwP/MbTn3eH0YwHh+yhy2k46dH8aOtqx6TLmng== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrjedugdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesrgdtre erreertdenucfhrhhomhepfdfurghmuhgvlhcuuegrnhihrgdfuceoshgsrghnhigrsehf rghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnheptdfhffdtveeivddtveehvd elleetveejgeekgfduvedvvedvhefgueekfefgheetnecuffhomhgrihhnpehgihhthhhu sgdrtghomhdptghonhhfihhguhhrrghtihhonhdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehssggrnhihrgesfhgrshhtmhgrihhl rdgtohhm X-ME-Proxy: Feedback-ID: ib97947f6:Fastmail Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id CE65D1700066; Mon, 23 May 2022 14:43:28 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <542fbc3a-f7da-477d-85e4-4d9db00f06f8@www.fastmail.com> Received-SPF: pass client-ip=66.111.4.26; envelope-from=sbanya@fastmail.com; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137368 Archived-At: I think I got it fixed actually, I was able to enable line numbers in an LSP activated buffer with 'M-x display-line-numbers-mode'. Not sure why my config has that off by default but I'm assuming the LSP side of it might have nuked it or something. Just wanted to share this. On Mon, May 23, 2022, at 2:15 PM, Samuel Banya wrote: > Hey there, > > So I have been tweaking my Emacs config for a better LSP setup for JavaScript development. > > However, the newest issue I have come across is that line number mode isn't working as intended, even when I enable it manually in a related JavaScript related buffer for a '.js' file. > > Here is my related config: > https://github.com/samuelbanya/samsemacs > https://github.com/SamuelBanya/SamsEmacs/blob/main/configuration.org > > Thanks, > > Sam >